v2.8.0
版本发布时间: 2023-09-07 21:49:42
nuxt/ui最新发布版本:v3.0.0-alpha.6(2024-10-09 22:34:23)
:sparkles: Highlights
NuxtLabs UI is now Nuxt UI, this rebranding involves the transfer of the repository from nuxtlabs
to nuxt
GitHub organization. Both packages are now @nuxt/ui
and @nuxt/ui-edge
, previous @nuxthq
ones will be deprecated.
The documentation has also been moved to https://ui.nuxt.com and got itself a brand new landing page.
https://github.com/nuxt/ui/assets/739984/fc716da0-3b5e-44f6-8c56-3bb2bc769777
:rotating_light: Breaking Changes
- use
tailwind-merge
for class merging (#509)
Everything is explained in the PR description, I'd strongly recommend reading it.
:rocket: Features
-
Avatar: add
icon
prop as fallback (df3b202) -
Avatar: handle
icon
default fromapp.config.ts
(55daed0) -
ButtonGroup: add
orientation
prop (#603) (b3bc6e2) -
Form: add
valibot
support (#615) (ab5153a) - Form: improve form control and input validation trigger (#487) (6d7973f)
-
Modal: add
fullscreen
prop (#523) (7e2bebd) -
module: add
DEFAULT
shade toprimary
color (#493) (c6056ed) -
module: use
tailwind-merge
for class merging (#509) (8880bdc) - Table: support nested keys in columns (#503) (858886a)
- Tabs: control selected index (#490) (aaf09ad)
:bug: Bug Fixes
-
Alert: fix wrong type of
actions
(#507) (b243e8c) -
AvatarGroup: add
justify-end
to wrapper to prevent right align (e578b0d) -
AvatarGroup: pass default
size
to max avatar (e49c673) -
Badge: allow
label
as number (7c157ce) - Button: add missing prop types (#508) (a8a1c15)
- Form: use safeParseAsync for zod (#497) (8b19b18)
-
Popover: handle
hover
mode with padding like dropdown (dc951ff) -
Radio: put back
id
for label selection (9b3a22e) -
SelectMenu: invalid
gap
values (998314e) - Table: empty state is displayed if null (#517) (44ba758)
- Table: missing component imports (#608) (d936316)
-
Tabs: recompute marker position when
v-model
changes (#524) (fdce429) - Tooltip: hide on touch devices (#580) (f1ed007)
Full Changelog: https://github.com/nuxt/ui/compare/v2.7.0...v2.8.0