Releases: nuxt/ui
v3.3.3
🚀 Features
🐛 Bug Fixes
- components: broken types for
update:model-valueevent (#4853) (7133f50) - Form: default slot types (#4758) (a32cc37)
- Form: update
Forminterface to accept RegExp (#4821) (0c2d390) - InputMenu/Select/SelectMenu: show placeholder when model value is falsy (#4825) (90b5daf)
- InputMenu: prevent
focus-outsideevent on content (77b6b9a) - Link: ensure target
_blankis flagged as external for Inertia (#4746) (520b277) - Table: ensure
colspancalc forloadingandemptystates (#4826) (bdcc8c4)
New Contributors
- @cco3 made their first contribution in #4808
- @fabianmerino made their first contribution in #4826
Full Changelog: v3.3.2...v3.3.3
v2.22.2
🐛 Bug Fixes
- Meter: correct vertical alignment of progress bar (#4735) (875be4b)
- SelectMenu/InputMenu: ensure object compare with
byprop (#4791) (44382cd)
New Contributors
- @DanielPagani made their first contribution in #4735
Full Changelog: v2.22.1...v2.22.2
v4.0.0-alpha.0
📚 Documentation
You can check out the new docs for v4 on https://ui4.nuxt.com while in alpha.
🚨 Breaking Changes
- components: upgrade
ai-sdkto v5 (#4698) (9545fdd) - FieldGroup: rename from
ButtonGroup(#4596) (8aa96d1) - components: import
@nuxt/ui-procomponents (#4675) (f6ae153) - Marquee: rename from
PageMarquee(#4741) (0a4d9b4) - PageAccordion: remove in favor of
Accordion(#4734) (1c63aab)
Read the migration guide to v4.
Full Changelog: v3.3.2...v4.0.0-alpha.0
v3.3.2
This release ensures the
[email protected]dependency is installed. The2.1.0version is somehow broken at the moment: heroui-inc/tailwind-variants#259 / heroui-inc/tailwind-variants#258
Full Changelog: v3.3.1...v3.3.2
v3.3.1
🚀 Features
- Form: support error RegExp in exposed methods (#4608) (b8b74a0)
- Tree: add
item-wrapperslot (#4521) (411d937) - useOverlay: return promise on
openmethod (#4592) (58aac86)
🐛 Bug Fixes
- Drawer: improve closing animation with
insetprop (#4676) (9da1527) - FileUpload: handle wildcard in dropzone
dataTypes(#4671) (729bed4) - FileUpload: improve file removal a11y (#4607) (f90bba0)
- FileUpload: open dialog on keyup (#4629) (8e9265e)
- FileUpload: prevent default on keydown (#4633) (68d8a98)
- Input: incorrect rendering of type
date/timeon iOS (#4715) (93cc83c) - InputMenu/Select/SelectMenu: add display value fallback when no items found (#4689) (34ca811)
- Select/InputMenu: handle focus via label inside a FormField (#4696) (55dbcd2)
- Tabs: add missing Badge import (#4594) (fbec29c)
- Toast: add type for progress
uiprop (#4677) (a8af85c) - Tooltip: render only if
textorkbdsare present (#4568) (5e39cbb)
New Contributors
- @calmyournerves made their first contribution in #4594
- @dev1-dylan made their first contribution in #4652
- @kazupon made their first contribution in #4674
- @cyrilf made their first contribution in #4597
Full Changelog: v3.3.0...v3.3.1
v3.3.0
✨ Highlights
☁️ New FileUpload Component
Introducing a powerful new FileUpload component that makes file uploads effortless with built-in drag-and-drop and validation support (#4564).
Learn more: https://ui.nuxt.com/components/file-upload
🎨 Global Default Variants
Configure global defaults for color and size across all components to reduce boilerplate and ensure consistent styling (#4400).
export default defineNuxtConfig({
modules: ['@nuxt/ui'],
css: ['~/assets/css/main.css'],
ui: {
theme: {
defaultVariants: {
color: 'neutral',
size: 'sm'
}
}
}
})Learn more: https://ui.nuxt.com/getting-started/installation/nuxt#themedefaultvariants
📊 Enhanced Table Component
Major improvements to the Table component bring enhanced functionality and better user experience:
- Footer support for column summaries (#4194)
- Context menu support (#4259)
- Colspan and rowspan support (#4460)
- Row hover events for better interactivity (#2435)
- Custom styles in table and column meta (#4513)
Learn more: https://ui.nuxt.com/components/table
🚀 Features
- CommandPalette: add
footerslot (#4457) (63730d6) - Drawer: add
nestedprop (e2695ee), closes #4320 - FileUpload: new component (#4564) (35dbe6c)
- Input/Textarea: add
default-valueprop (#4404) (fb9e7bb) - InputMenu: emit
remove-tagevent (#4511) (6ca7c8b) - InputTags: add
max-lengthprop (b96a1cc), closes #4405 - Kbd: add
colorprop &softvariant (#4549) (f336600) - module: add
theme.defaultVariantsoption (#4400) (35f90b9) - Popover: add
referenceprop (b00e07f) - Table: add
footersupport to display column summary (#4194) (c355cac) - Table: add
styleto table and columnmeta(#4513) (1db21d1) - Table: add row
hoverevent (f903ec3), closes #2435 - Table: add support for
colspanandrowspan(#4460) (7ef1933) - Table: add support for context menu (f62c5ec), closes #4259
- Tabs: add badge on items (#4553) (62ab016)
- Toast: progress bar with Progress component (ec569e4)
- Tooltip: add
referenceprop (69a7b95), closes #4430
🐛 Bug Fixes
- Button/Link: merge
active-class/inactive-classwith app config (#4446) (9debce7) - Button: add
activestyles to behave likehoveron mobile (df8f202), closes #991 - Carousel/Tree: add type to button elements for accessibility (#4493) (fc24e03)
- Carousel: add
aria-currentattribute to active dot (#4447) (1ba8a55) - Carousel: improve accessibility (55e06e9), closes #4494
- Carousel: resolve plugins with page transitions (#4380) (3b67d54)
- ColorPicker: update color conversion logic (#4550) (6b6ec8c)
- CommandPalette: remove
rtl:space-x-reversefrom label (#4576) (4682ded) - defineShortcuts: allow extra keys to be combined with
shift(#4456) (772631c) - defineShortcuts: always pass event to shotcut handler (#4516) (ef473c3)
- FormField: improve
errortype with boolean (a4d0ca7), closes #4496 - FormField: resolve minor accessibility and rendering issues (#4515) (c64c4cd)
- InputMenu/SelectMenu: filter null items in search (488707e)
- InputMenu/SelectMenu: improve display value without
valueKey(4d4234d), closes #4528 - InputMenu/SelectMenu: only filter non-null fields (c92f908), closes #4509
- InputMenu: reset search term on mounted (cb160e6), closes #3993
- module: merge user's options when installing modules (78f92a2)
- NavigationMenu/Tabs: display badge when not undefined (b22891a)
- NavigationMenu/Tabs: proxy fallthrough attributes (836f748)
- RadioGroup: improve type safety for normalizeItem function (#4535) (bb99345)
- Table: add
scopeattribute to headers (#4417) (347694b) - Table: handle reactive columns (#4412) (4ce6540)
- theme: colors autocomplete in app config (752e2b6)
- Toast: only show progress when open (1d052ec), closes #4464
- Tooltip: display separator only with
textandkbds(#4570) (63476e5) - useLocale: ensure inject defaults to
en(df1abf1), closes #4579 - useLocale: prevent hydration error when switching locale (15c7991)
- useOverlay: don't use
patchwhen passing props toopen(#4497) (5ad7dab) - useOverlay: improve props handling by mer...
v2.22.1
🐛 Bug Fixes
Full Changelog: v2.22.0...v2.22.1
v3.2.0
✨ Highlights
🏷️ New InputTags Component
A powerful new component for managing multiple input values with a clean, tag-based interface (#4261).
Learn more: https://ui.nuxt.com/components/input-tags
⏱️ New Timeline Component
Introducing the Timeline component for displaying chronological sequences and process flows (#4215).
Learn more: https://ui.nuxt.com/components/timeline
🚨 Breaking Changes
- useOverlay: correct spelling of
unmountfunction (#4051)
🚀 Features
- Avatar: add
chipprop (#4224) (03ac395) - Carousel: allow customization of active dot color (#4229) (2ee1c5a)
- CommandPalette: handle
childrenin items (#4226) (59c26ec) - extendLocale: new composable (0f558fc), closes #3729
- Form: expose loading state to default slot (#4247) (ea0c459)
- InputTags: new component (#4261) (54bb228)
- Modal/Slideover: add
actionsslot (#4358) (8156971) - Modal/Slideover: add
closemethod in slots (#4219) (5835eb5) - Select/SelectMenu/Tabs: expose trigger refs (7a2bd4e), closes #4292
- Select/SelectMenu: handle dynamic
autofocus(1a4de49), closes #4324 - Table: add
body-top/body-bottomslots (#4354) (595fc64) - Timeline: new component (#4215) (8017767)
🐛 Bug Fixes
- Card/Drawer/Modal: prevent scrollbars overflow (#4368) (c3adc38)
- components: remove default
mdsize on buttons (#4357) (be41aed) - defineShortcuts: allow
meta_-shortcut (#4321) (4e7c1c9) - Form: conditionally type form data via
transformprop (#4188) (37abcc6) - Form: expose reactive fields (#4386) (1a8feb7)
- InputMenu/SelectMenu: dynamic
emptysize (ba3c6e8), closes #4377 - Modal/Slideover: don't emit
close:preventoncloseAutoFocus(150b334) - NavigationMenu: nested accordion context at every level (#4363) (2fa8db6)
- NavigationMenu: set content
max-heightinhorizontalorientation (62bc7b2), closes #4208 - Pagination: match default button
size(#4350) (4dd56c8) - Select/SelectMenu: display falsy values (7df7ee3)
- Select/SelectMenu: prevent empty string display when multiple (483e473)
- SelectMenu: dynamic input size (b0364b9)
- Table: use
tras separator (#4083) (edca3bc) - Toast: calc height on next tick (3bf5acb), closes #4265
- Toaster: smoother visibility transition for stacked toasts (#4367) (abfd0ed)
- useOverlay: correct spelling of
unmountfunction (#4051) (546df57) - useOverlay: set props to original props when
defaultOpenis set (#4308) (66355ba) - useOverlay: use original props when not provided to
open(#4269) (bf56e15)
🌐 Locales
👋 New Contributors
- @JosephAnson made their first contribution in #4219
- @ra-jeev made their first contribution in #4252
- @tankosinn made their first contribution in #4188
- @dan-hale made their first contribution in #4247
- @syvixor made their first contribution in #4325
- @aa900031 made their first contribution in #4261
- @cram0 made their first contribution in #4334
- @larseberhardt made their first contribution in #4083
- @Sepush made their first contribution in #4368
- @Bobakanoosh made their first contribution in #4386
Full Changelog: v3.1.3...v3.2.0
v3.1.3
🚨 Breaking Changes
- NavigationMenu: revert new
collapsiblefield
In previous patch, we introduced a new collapsible field in items to display children in collapsed state as well as making the parent element respect its link attributes. However, it didn't feel right so we removed it in favor of 1e2a10b, 9cf9f25 and f2682fd.
- Parent items now respect their link attributes and clicking the trailing icon arrow expand/collapse its children.
- You can force a parent to behave like before (without link attributes) using
type: 'trigger'. - When
collapsed, you can use thepopover/tooltipprops or item fields:
🚀 Features
- Modal/Slideover: add
after:enterevent (#4187) (d9e9fea) - NavigationMenu: add
tooltipandpopoverprops (f2682fd), closes #4186 - NavigationMenu: add
triggertype in items (9cf9f25) - NavigationMenu: handle
verticalorientation with Accordion instead of Collapsible (1e2a10b), closes #4072 #3911 - Popover: add
anchorslot (#4119) (473513c)
🐛 Bug Fixes
- CheckboxGroup/RadioGroup: variant
tableborders in RTL mode (#4192) (43d281f) - CommandPalette: add
presentationrole to viewport (2ba94db) - ContextMenu/DropdownMenu: wrap groups in a viewport (dcf34a7), closes #3315
- Drawer: improve title & description accessibility (41087d4), closes #4199
- icons: update
loadingicon (#4163) (fe4e1f8) - Input/Textarea: define model modifiers types (#4195) (3243fb8)
- InputMenu/Select/SelectMenu: manual viewport to display scrollbars (f95abf8), closes #4069
- NavigationMenu: incorrect hover when disabled and active (d0be599)
- NavigationMenu: only display
tooltipwhen collapsed (44f536f) - NavigationMenu: revert new
collapsiblefield (3c78e2f) - Textarea: missing imports (#4207) (6aab62e)
- theme: define
old-neutralcolor as static (#4193) (dae9f0b) - Tooltip: increase padding for consistency (0634a75)
🌐 Locales
- locale: add Kyrgyz language (#4189) (4053047)
- locale: add Lithuanian language (#4171) (d86956e)
- locale: add Malay language (#4160) (c00f6e8)
- locale: add Mongolian language (#4214) (44ea02c)
👋 New Contributors
- @syhmi made their first contribution in #4160
- @zikju made their first contribution in #4171
- @aloky made their first contribution in #4189
- @alireza-ab made their first contribution in #4192
- @alectrocute made their first contribution in #4163
- @scottcarlton made their first contribution in #4207
- @byambajav-m made their first contribution in #4214
Full Changelog: v3.1.2...v3.1.3
v3.1.2
🚀 Features
- Badge: add
squareprop (#4008) (894e8a6) - CheckboxGroup: add
tablevariant (#3997) (1b6ab27) - components: add
uifield in items (#4060) (b9adc83) - InputNumber: add
increment-disabled/decrement-disabledprops (#4141) (c7fba2e) - NavigationMenu: add
collapsiblefield in items (2be60cd), closes #3353 #3911 - NavigationMenu: handle
tooltipin items (46c2987), closes #4050 - Slider: handle
tooltiparound thumbs (d140acc), closes #1469 - Toast: add
progressprop to hide progress bar (#4125) (92632e9)
🐛 Bug Fixes
- Badge/Button: handle zero value in label correctly (#4108) (f244d15)
- ButtonGroup: add
z-indexon focused element (204953b) - Calendar: wrong color for today date with
neutralcolor (7d51a9e), closes #4084 #3629 - Checkbox/RadioGroup: render correct element without
variant(f2fd778), closes #3998 - CheckboxGroup: relative
UCheckboximport (7551a85), closes #4090 - ColorPicker: make thumb touch draggable (#4101) (cc20a26)
- components:
classshould have priority overuiprop (e6e510b) - FormField: block form field injection after use (#4150) (d79da9d)
- FormField: use
divforerrorandhelpslots (459a041) - inertia: link always render as anchor tag (#3989) (e81464a)
- inertia: make
useAppConfigreactive (12303a8) - Input/Textarea: handle generic types (3c8d6cd), closes nuxt/ui-pro#887
- InputNumber: handle inside button group (2e4c308), closes #4155
- Link: consistent behavior between nuxt, vue and inertia (#4134) (67da90a)
- module: configure
@nuxt/fontswith default weights (276268d) - NavigationMenu: arrow position conflict (#4137) (0dc4678)
- Select: support more primitive types in
valuefield (#4105) (09b4699) - Slider: handle generic types (d7a4d02)
- Stepper: use
divtag fortitle&description(a57844e), closes #4096 - Tabs: prevent trigger truncate without parent width (06e5689), closes #4056
- Tabs: set
focus:outline-nonewithlinkvariant (999a0f8) - templates: dont write unused variants in theme files (d3df3bb)
- Toaster: allow
baseslot override (c63d2f3) - vue: make
useAppConfigreactive (869c070), closes #3952
🌐 Locales
👋 New Contributors
- @jvbianchi made their first contribution in #3989
- @mkalino1 made their first contribution in #4101
- @kacijan made their first contribution in #4140
- @J-Michalek made their first contribution in #4060
Full Changelog: v3.1.1...v3.1.2