Skip to content

v0.1.3

Choose a tag to compare

@thanhbinhbent thanhbinhbent released this 07 Apr 08:52
· 32 commits to main since this release
9fc306e

0.1.3

Theme system

  • Expanded token set from 5 to 19 tokens — primaryHover, primaryActive, primarySubtle, disabled, background, surface, border, radius, success, warning, danger, fontFamily, shadowSm, shadowMd
  • All CSS variables declared in .kite-flyui-host with full light/dark defaults
  • lightTheme and darkTheme presets exported as typed constants
  • createTheme() factory for defining named brand themes

Components

  • All 4 components (KiteLogo, KiteLoader, KitePageLoader, Loading) now support forwardRef, full HTML attribute pass-through, className merge, and style merge
  • KiteLogo — accessible in icon-only mode (role="img", auto aria-label)
  • Loader components — corrected aria-busy to boolean
  • Fullscreen loader uses 100dvh instead of 100vh (mobile browser fix)

Package

  • Removed react/react-dom from dependencies (were duplicating peerDependencies, causing potential dual-React issues)
  • Dist types now expose all 19 theme tokens with JSDoc, proper ForwardRefExoticComponent types, and clean size unions

Docs

  • Theming guide added to Storybook with full token reference table and usage examples
  • All story files updated with complete theme prop documentation