@kelvininc/ui-components
v2.0.1
Published
Kelvin UI Components
Readme
Kelvin UI Components
Kelvin UI Components provides a set of reusable, high quality framework-agnostic UI components, this means you can use with React or if you prefer, the components are also available as W3C compliant WebComponents.
This is not just a library of UI components as it's also a style guide where you can see how the component looks and behaves by interacting with it, to showcase this we use Storybook, a free open-source tool.
Our Storybook is publicly available here
Migration Guide
If you are upgrading to the new design token system, please refer to the Migration Guide for detailed instructions on how to update your application.
Technological Stack
Getting Started
Development
To start a Stencil development server, run:
pnpm startProduction
To build the component for production, run:
pnpm buildTo run the tests for the components, run:
pnpm test # or test:watch to watch for changesContributing
Component naming
When creating new components, always use kv as the tag prefix for your component (E.g: <kv-datepicker>).
Merge flow
- Create a branch using
devas your source branch - Develop the component and write tests for it
- Check if your code has any linting issues using
pnpm lint - Run the tests using
pnpm test - Create a pull request pointing to
dev
