npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@manifesto-tech/tpximpact-design-system

v3.0.0

Published

Thoughtful, pattern-driven design system using [atomic design](https://atomicdesign.bradfrost.com/) principles; built with [Storybook](https://storybook.js.org) and [Vue3](https://v3.vuejs.org).

Downloads

77

Readme

TPXimpact Design System

Thoughtful, pattern-driven design system using atomic design principles; built with Storybook and Vue3.

What's included?

This repository contains the components you need to start building user interfaces for the TPXimpact website and services.

Guidance

Visit the design system for an overview of the available components, and guidelines around how and when to use them.

Installing the TPXimpact design system

To install the design system and its' components into your project:

npm install @manifesto-tech/tpximpact-design-system

! This package will move account after in the future, changing the package name

Importing components

If you're using a transpiler or bundler such as Babel or Webpack, you can use the import syntax to import Vue components into your main Javascript file.

For example:

import TpxNavigationBar from "@manifesto-tech/tpximpact-design-system/components/organisms/navigation-bar/navigation-bar.vue";

Alternatively, if you do not wish to use Vue.js in your application then you can copy over the mark-up directly into your project. Where there is supporting JavaScript this can be initiated by importing the corresponding typescript file like so:

import TpxNavigationBarUtils from '@manifesto-tech/tpximpact-design-system/components/organisms/navigation-bar/navigation-bar.utils';
...
TpxNavigationBarUtils.init();

Importing styles

To reference our styles you will need a pipeline set up to compile Sass files into CSS.

You can import the parts of the design system that you need, for example, to include the styling for the headings atom you would import this as follows:

@use "node_modules/@manifesto-tech/tpximpact-design-system/components/atoms/type/heading.scss";

We would recommend that you also reference the base styles at least once in your project as this contains the relevant single classes and components that are used to support the majority of the stories within this package:

@use "node_modules/@manifesto-tech/tpximpact-design-system/styles/base";

Importing assets

This library comes with a few supporting images such as the logo and favicon, these can be copied from node_modules/@manifesto-tech/tpximpact-design-system/images/ if needed.


Local Development

If you have this repository checked out then you can get set-up and running by running the following:

Install packages and dependencies using:

npm install

To run the storybook and view the design system, run:

npm run storybook

Prerequisites

We found that older versions of npm and node have some difficulties installing and running the site, we would recommend using a pretty recent version of node. We have tested this across macOS and Windows using node 16.13.2 pretty reliably.

Windows

For Windows users, NVM is a pretty neat way to manage different versions of node if you're needing to keep an older version active for other projects: https://github.com/coreybutler/nvm-windows