Skip to content

v0.2.0 — 81 Registry Items, CLI Audit & Density Scales

Choose a tag to compare

@sleepy-daemon sleepy-daemon released this 08 Nov 20:27
· 126 commits to main since this release

🚀 Nativra v0.2.0 — 81 Registry Items, CLI Audit & Density Scales

✨ New in v0.2.0

  • 8 New Mobile Components (39 Total):
    • chip (Chip) — Interactive filter, selection, and removable tag chips
    • date-picker (DatePicker) — Native-feeling calendar & preset date selector
    • header-bar (HeaderBar) — Mobile top navigation bar with back & trailing actions
    • bottom-tab-bar (BottomTabBar) — Bottom navigation dock with active pill & badge counts
    • action-tile (ActionTile) — Quick-action icon tiles (Scan, Send, Split)
    • stat-tile (StatTile) — Compact KPI metric tile with trend delta badge
    • pagination-dots (PaginationDots) — Carousel & onboarding step indicator dots
    • error-boundary (ErrorBoundary) — Mobile crash recovery boundary card
  • 3 New Mobile Ergonomics & A11y Hooks (7 Total):
    • use-debounced-press (useDebouncedPress) — Prevents accidental double-taps on navigation/checkout
    • use-reduced-motion (useReducedMotion) — Subscribes to OS Reduce Motion preference
    • use-screen-reader (useScreenReader) — Detects iOS VoiceOver / Android TalkBack + live announcements
  • New CLI Command — npx nativra-cli audit:
    • Scans your React Native/Expo codebase for Nativra adoption, hardcoded hex colors, legacy <Touchable*> primitives, and screen-reader accessibility coverage, outputting a 0–100% Health Score (with --json support for CI).
  • Theme Engine Upgrades (@nativra/theme-engine):
    • Added Density Presets (compact | regular | comfortable), Font Scale Tiers (sm | md | lg | xl), a 12-Variant Typography Scale with tabular numerals, and WCAG AAA High-Contrast Mode.
  • Interactive Docs Showcase (https://nativra.vercel.app):
    • Added an interactive Bento Component Showcase on the homepage and an interactive Typography, Density & Spacing Visualizer on the Theming page.