v2.9.0
版本发布时间: 2023-10-02 23:47:19
nuxt/ui最新发布版本:v3.0.0-alpha.6(2024-10-09 22:34:23)
Read our updated documentation on https://ui.nuxt.com
:sparkles: Highlights
This release focuses on performance and DX:
-
Props having a validator are now typed to provide autocomplete
-
Lodash has been completely removed from
@nuxt/ui
-
Overall bundle size has been greatly reduced by only loading the config of the components used
-
app.config.ts
now also uses tailwind-merge like theui
prop to smartly merge classes
Like #509 in https://github.com/nuxt/ui/releases/tag/v2.8.0, breaking changes might occur but it's highly unlikely as you'd already rewrite the entire config line anyway. You can still go back to the old behaviour by setting the strategy to override
either in the app.config.ts
for the config or specifically in the ui
prop.
Everything is explained in #692, I'd recommend reading it.
:rocket: Features
- FormGroup: add slots (#714) (2fc9385)
-
Link: add
active
prop to override default behaviour (#732) (8257a11) -
Link: add
as
prop (#535) (e404912) -
module: use
tailwind-merge
forapp.config
& move config to components & type props (#692) (34d2f57) -
module: remove
lodash-es
(#648) (d6476d1) -
Table: add ability to custom style for
td
andtr
(#741) (874447c)
:bug: Bug Fixes
- Accordion: close other items in circular order (#735) (6887f73)
- FormGroup: use explicit label instead of implicit label (#638) (681f0e5)
-
Pagination: handle
max > 5
andmax
equal total pages (#728) (a071e4b) - Range: fix track pseudo-elements for mozilla (#636) (8955595)
- SelectMenu: handle numbers (0544a01), closes #574
-
Table: add missing classes in
app.config.ts
(a603ea5), closes #655 - Table: select all rows without select listener (#652) (83d609d)
- Tabs: add visible focus indicator on active tabs (#690) (be734fc)
-
Tabs: allow custom keys in
TabItem
(#671) (15e418e) -
Tabs: prevent focus of
TabPanel
withtabindex="-1"
(cbb2f28)
:wave: New Contributors
- @farnabaz made their first contribution in https://github.com/nuxt/ui/pull/664
- @Sma11X made their first contribution in https://github.com/nuxt/ui/pull/652
- @iBobik made their first contribution in https://github.com/nuxt/ui/pull/671
- @Flowko made their first contribution in https://github.com/nuxt/ui/pull/648
- @HigherOrderLogic made their first contribution in https://github.com/nuxt/ui/pull/690
- @Levy-from-Odessa made their first contribution in https://github.com/nuxt/ui/pull/714
Full Changelog: https://github.com/nuxt/ui/compare/v2.8.1...v2.9.0