Skip to content

@swiftuijs/ui 0.1.2

Choose a tag to compare

@oe oe released this 04 Oct 18:01
· 7 commits to main since this release

This patch improves presentation motion and fixes responsive overlays, including full-width phone sheets in portrait and short-screen landscape.

  • Paired entry/exit animations for sheets, alerts, confirmation dialogs, menus, context menus and popovers; navigation honors its transition settings.
  • Reduced Motion stops loops and pauses automatic animation sequences while preserving manual controls.
  • Safe-area padding, scrolling for short-screen alerts and long menus, correctly anchored nested popovers/menus, and predictable submenu focus.
  • Clear motion and responsive guides, with live examples and platform limitations. Documentation navigation now keeps GitHub and project resources visible.
npm install @swiftuijs/ui@0.1.2

Requires React 18.2+ or 19, matching react-dom, and a bundler that supports CSS imports. Import @swiftuijs/ui/style/index.css once at the application root. Only @swiftuijs/ui is published; the workspace, docs app and Storybook remain private.

Validation includes 425 UI tests, 312 component browser checks, 20 Kitchensink checks, 36 documentation browser checks and React 18.2/18.3/19 packed-consumer checks for declarations, SSR, hydration and interaction. Browser acceptance covers Chromium; real-device Safari and Firefox still need application-specific validation. Motion curves and optional glass are CSS adaptations, not native physics springs or optical refraction. Text/number interpolation and automatic matched geometry remain unsupported.