Contributing
Use this page as the short contribution path. The repository-level guides still define the detailed conventions.
Workflow
- Create a focused branch.
- Make the implementation change.
- Add or update tests and Storybook stories when behavior changes.
- Update documentation for public APIs, examples, or token changes.
- Run focused checks locally.
- Open a pull request.
Component Changes
When adding or changing a component, keep Web and Native behavior aligned where the platform allows it.
Expected updates:
- component implementation;
- public types;
- unit tests;
- Storybook stories;
- API docs when exports change;
- VitePress docs when public usage changes.
Token Changes
Token changes should preserve the layer model:
text
Primitive colors
-> Semantic tokens
-> Component tokens
-> Renderer componentsPrefer adding semantic meaning before exposing raw palette values to product code.
Useful Commands
bash
pnpm docs:build
pnpm --filter @vellira-ui/react test
pnpm --filter @vellira-ui/react-native test
pnpm check:public-api