Contents of this repository have been moved to WVUnited React App (private repo).
https://wvidigital.github.io/WVUnited-React-UI-Components
- Clone the repository
- Install yarn
yarn
Use following command to serve a storybook server:
yarn storybook
Storybook server will be started at http://localhost:9001
To link this package, run following command in the @worldvision/ui-components root folder:
yarn link
Run following to start webpack in watch mode:
yarn dev
This is important to keep running while developing on the consumer/app. Everytime a file changes, webpack creates a new build and the app will show the latest updates.
Move to the the consumer/app's repository's root folder and run following command:
yarn link @worldvision/ui-components
To confirm that this has worked, you can check the
node_modules/@worldvision/ui-components
folder if this symlinks to your localui-components
folder.
Start the consumer/app server and then you're ready to go!
Run following command to deploy to GitHub pages
yarn deploy
The deployed storybook will be available under https://wvidigital.github.io/WVUnited-React-UI-Components.
This repository contains a foundational theme scheme of:
- 🎨 A palette of colors
- 🚀 A scale of spaces
- 🖥 Typography
- ✨ And more
Our current theme can be found here.
These constrains are based on design principles which allows us to keep our design consistent across components.
Full list of components here.
List of legacy components here.