v3.2.1
Patch release that externalizes react-aria from the @lenso/ui bundle and fixes SwitchGroup horizontal layout.
Patch release: @lenso/ui no longer bundles its own copy of react-aria. The react-aria subpaths are now externalized in the Rollup build, so they resolve to the version installed in your project — preventing a duplicated, vendored copy of react-aria from shipping inside @lenso/ui. This release also fixes SwitchGroup horizontal layout by rendering the missing switch-group__items wrapper.
Installation
Update to the latest version:
npm i @lenso/tokens@latest @lenso/ui@latestUsing AI assistants? Simply prompt "Hey Cursor, update HeroUI to the latest version" and your AI assistant will automatically compare versions and apply the necessary changes. Learn more about the HeroUI MCP Server.
Bug Fixes
- @lenso/ui: Externalize the
react-ariasubpaths in the Rollup build alongside the other@react-*andreact-aria-componentsexternals, so@lenso/uino longer vendors its own copy ofreact-aria. Consumers now resolve to the singlereact-ariainstalled in their project, avoiding duplicate-instance bugs and unnecessary bundle bloat (#6653). - SwitchGroup: Render the missing
switch-group__itemswrapper soorientation="horizontal"lays out switches in a row instead of stacking vertically (#6655).
Links
Contributors
Thanks to everyone who contributed to this release!
HeroUI contributors