@hazelcast/ui — React component library and design system.
- React 19, TypeScript, SCSS modules
- Storybook 8 for component development (
npm run dev) - Jest + Testing Library for unit tests (
npm test) - ESLint + Prettier
npm run dev # Storybook on :6006
npm test # Jest
npm run lint # ESLint
npm run compile # Build to lib/
src/components/— all UI componentssrc/hooks/— shared hookssrc/utils/— utilities__stories__/— Storybook stories__tests__/— Jest tests
- Minimize comments — only add them where the logic is non-obvious. Do not add section headers, label-style comments (e.g.
// Colors,// Sizes), or comments that restate what the code already says.
- Components export from
src/index.ts - Stories live in
__stories__/, tests in__tests__/ - CSS modules (
.module.scss) per component - Lint-staged runs on commit (ESLint)