@worldvision/ui-components v1.1.7
WorldVision UI components
https://wvidigital.github.io/WVUnited-React-UI-Components
Table of Contents
Installation & Usage
Prerequisites
- Clone the repository
- Install yarn
Installing dependencies
yarnStorybook
Use following command to serve a storybook server:
yarn storybookStorybook server will be started at http://localhost:9001
Development
To link this package, run following command in the @worldvision/ui-components root folder:
yarn linkRun following to start webpack in watch mode:
yarn devThis 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-componentsTo confirm that this has worked, you can check the
node_modules/@worldvision/ui-componentsfolder if this symlinks to your localui-componentsfolder.
Start the consumer/app server and then you're ready to go!
Deployment
Run following command to deploy to GitHub pages
yarn deployThe deployed storybook will be available under https://wvidigital.github.io/WVUnited-React-UI-Components.
API
Theme
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.
Components
Full list of components here.
List of legacy components here.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago