Skip to content

0.3.0

Choose a tag to compare

@JakeLin JakeLin released this 11 Nov 12:01
· 19 commits to main since this release

[0.3.0] - 2025-11-11

Major Improvements

  • @ainativekit/ui is now optional - DevTools works standalone without requiring @ainativekit/ui
    • Includes minimal built-in theme support (~2KB CSS)
    • Auto-detects and enhances when @ainativekit/ui is available
    • Zero-configuration experience for both standalone and enhanced usage

Added

  • Built-in theme CSS - Minimal design system CSS variables bundled with DevTools
    • Essential color variables (bg, text, icon, border, brand)
    • Light and dark theme support via data-theme attribute
    • Covers all DevTools UI components and common widget patterns
  • Optional peer dependency support - Uses peerDependenciesMeta to mark @ainativekit/ui as optional
    • npm/yarn/pnpm won't warn if @ainativekit/ui is not installed
    • Works with modern package managers (npm 7+, yarn 2+, pnpm 6+)

Changed

  • @ainativekit/ui dependency - Changed from required to optional peer dependency
    • Still recommended for full design system integration
    • DevTools provides basic theming without it
    • No breaking changes for existing users

Documentation

  • Updated README with standalone and enhanced usage examples
  • Clarified @ainativekit/ui is optional but recommended
  • Added comparison between standalone and enhanced modes
  • Updated requirements section to reflect optional dependencies

Bundle Size

  • Standalone mode: ~2KB CSS overhead for theme support
  • Enhanced mode: Same as before when using @ainativekit/ui
  • No runtime performance impact