jakebresnehan / hsds-react

Help Scout Design System (HSDS) — React Component Library

Home Page:https://helpscout.gitbook.io/hsds-react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HSDS: React

Build Status Coverage Status npm version node npm

React components for Help Scout's Design System

Live Demo

Check out HSDS's Storybook:

https://hsds-react.netlify.com/

Install

npm install @helpscout/hsds-react --save

Getting Started

After cloning this repo down, run:

npm install

Once everything is installed, run:

npm start

Check out HSDS's Storybook at http://localhost:8900/ in your browser!

Testing

To run Jest in watch mode, run:

npm run dev

To execute all the tests (with Coverage reporting), run:

npm run test

Publishing

To publish and release a new version of HSDS, run the following command:

npm run release

You'll be presented with a CLI prompt with options. Pick the one you want, and that's it! The script will take care of the rest (from testing to publishing).

Deploying Storybook

To deploy the Storybook, run the following command:

npm run deploy

Blue?

On Nov 8, 2018, we rebranded Blue to HSDS: React 🎉.

The original Blue library will still exist on npm, and is still installable via:

npm install @helpscout/blue --save

However, continued development of this component library will continue under HSDS: React, which is installable via:

npm install @helpscout/hsds-react --save

A big thanks to all the folks involved in Blue! Blue will always be your boy 💙 .

About

Help Scout Design System (HSDS) — React Component Library

https://helpscout.gitbook.io/hsds-react/

License:MIT License


Languages

Language:JavaScript 75.0%Language:TypeScript 23.5%Language:CSS 1.4%Language:Shell 0.0%