@ikim-ui/ui-components
v0.1.3
Published
IKIM UI components
Readme
IKIM UI Components
React component library for IKIM UI projects.
Features
- Reusable React components
- Storybook for documentation and demos
- Component-related utility functions and hooks
Project Structure
This project uses Vite as the build tool. Components are located in src/components/, each with its own directory containing the component file and a story file. We should add a test file for each component in the future.
Build the components from the root directory:
yarn buildThis generates a dist directory with transpiled components:
file.js: Minified JavaScriptfile.d.ts: TypeScript declarationsfile.js.mapandfile.d.ts.map: Source mapsfile.d.ts.map: TypeScript declarations source map
Publishing
Update version:
yarn version [major | minor | patch]Publish to GitLab registry:
yarn publishDevelopment
Prerequisites:
- Node.js (version X.X+)
- Yarn 2.0+
Setup:
yarn installRun Storybook:
yarn sb-devAccess at http://localhost:6006
