Repository navigation
v4.12.0 #7210
benjamincanac
announced in
Announcements
v4.12.0
#7210
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
✨ Highlights
📊 Chart component
A new
Chartcomponent built on TanStack Charts rendersline,area,baranddonutcharts as an SVG on the server. Series colors follow your theme and color mode through the new--ui-chart-*CSS variables:Note
@tanstack/chartsis an optional peer dependency, install it to use the component. When the props are not enough, thedefinitionprop takes a full TanStack chart definition.🌐 Automatic locale with
@nuxtjs/i18nWhen
@nuxtjs/i18nis installed, theAppcomponent now follows the current i18n locale, and only the Nuxt UI locales matching youri18n.localesare bundled. You can drop theimport * as localespattern, which shipped every locale in the entry chunk:Tip
An explicit
localeprop still wins, see the i18n guide.⚡ Lighter and faster pages
Overlays that render nothing until they open are now lazy loaded and preloaded once the browser is idle, so they no longer weigh on the entry chunk. This covers the menu of
Header,SidebarandDashboardSidebar, the command palette and Fuse.js inDashboardSearchandContentSearch, and the toasts inToaster.Components also import Reka UI primitives by name instead of from
reka-ui/namespaced, which grouped every primitive used anywhere in the app into a single chunk. In an app where one page renders aPopoverand aDropdownMenuand another theCalendar, date and time inputs and aContextMenu, the first page now loads:Note
UButtonalso mounts about 38% faster and each item of an openDropdownMenuabout 30% faster, since link props are now picked without a reactive proxy.🚀 Features
@nuxtjs/i18nlocale (#7152) (43ba8a0)yearsPerPageprop (#7138) (cc4acae)autoOpenprop (#7049) (dad748e)maxprop (#7145) (63a0c05)loopprop (#7128) (a96f56f)asprop (#7048) (623d6d2)openandpressOpenDelayprops (#7148) (73c489b)rejectevent for dropped files (#7164) (c8f5ffc)v-model(#6927) (a352073)startingValueandallowInvalidprops (#7146) (d856ec3)@nuxt/ui/components/prose(#7143) (5c302c3)viewportprop (#7123) (4a3464e)promptprop (#7172) (8c92e5f)breakpointprop (#7155) (2113daa)closeOnClickto actions (#7147) (378873a)🐛 Bug Fixes
nonceprop (#7137) (9271533)undefinedselection when an item is toggled off (#7170) (14f13af)noBodyStyles(#7150) (04f253e)after:leaveandafter:enterwhen the animation ends (#7107) (5cd317b)dropzoneprop reactive (#7055) (f4322e7)statetype (#7165) (a59a3a3)aria-labelof controls and pages (#7151) (d2d3da0)smbreakpoint (#7156) (608a3d3)defaultColumncell and header (#7198) (da9125c)disabledto tree item (#7139) (db30f7f)🔥 Performances
reka-ui/namespaced(#7176) (896d609)💚 Contributors
Full Changelog: v4.11.3...v4.12.0
This discussion was created from the release v4.12.0.
All reactions