Repository navigation
raqam@0.2.0
·
125 commits
to main
since this release
Minor Changes
-
d1c28e3: Phase 5 — Polish and release:
- Bundle optimization:
raqam/corereduced to < 2 KB gzipped; removedisNonLatinDigitfrom core exports (still available via directraqam/core/normalizerimport in tests); split tsup config soraqam/core(the server-safe entry) does not receive a"use client"banner "use client"directive: Fixed — now correctly prepended todist/index.js,dist/index.cjs,dist/react.js,dist/react.cjsvia post-build step (esbuild 0.25+ strips source-level directives from bundled output)- Storybook: Added
preview.tswithlayout: "centered", table-of-contents, and control matchers; newHookAPI.stories.tsxdemonstratinguseNumberFieldState+useNumberFieldhook pair directly - react-hook-form integration: Upgraded
Validation.stories.tsxto use realreact-hook-formControllerpattern (was previously simulated); addedreact-hook-formas devDependency - Documentation site: Complete Starlight docs in
docs/covering Getting Started, full API reference (useNumberFieldState, useNumberField, NumberField components, useNumberFieldFormat, presets), guides (Locales & i18n, RTL, Next.js App Router, Accessibility), and recipes (react-hook-form, Formik, Tailwind CSS, shadcn/ui, Financial App, Persian E-commerce) - Package scripts: Added
docs:dev,docs:build,release:beta
- Bundle optimization: