v0.3.1
🚀 addon-ui v0.3.1 Release
Highlights
-
🚀 Migration to storybook-react-rsbuild
- Moved Storybook to the Rsbuild-powered framework for faster development and builds.
- Updated dependencies and Storybook configuration for Rsbuild compatibility.
-
🧩 Package rename: adnbn-ui → addon-ui
- Public package name changed. Update all imports and references accordingly.
Fixes
- 🛠️ UI Provider
- Fixed initialization and context propagation in the UI provider, improving stability and compatibility.
Migration Guide
1) Update imports 📦
- Was:
- import { ... } from "adnbn-ui"
- import { defineConfig } from "adnbn-ui/config"
- import plugin from "adnbn-ui/plugin"
- Now:
- import { ... } from "addon-ui"
- import { defineConfig } from "addon-ui/config"
- import plugin from "addon-ui/plugin"
If a monorepo or lock file still pins the old name, update resolutions accordingly.
2) Storybook with Rsbuild 📚
- Ensure
storybook-react-rsbuildand Storybook 9 are installed. - Use the React + Rsbuild framework preset.
- Remove legacy builders (Webpack/Vite) if explicitly configured.
- Scripts remain standard:
storybook:storybook dev -p 6006build-storybook:storybook build
3) Virtual modules (if used)
- Updated identifiers:
addon-ui-configaddon-ui-style.scss
- Check any explicit references in custom bundler configuration.
Breaking Changes ⚠️
- Package rename adnbn-ui → addon-ui: all imports and configurations must be updated.
- Migrating to Rsbuild may affect certain Storybook presets/addons. Verify compatibility with Storybook 9 + Rsbuild.
Notes 📝
- Version: 0.3.0
- Dependencies: Storybook 9.x,
storybook-react-rsbuild, React 16.8+ (compatible with 19).