v2.3.0
✨ Highlights
- New
Table
component: https://ui.nuxtlabs.com/data/table
🚨 Breaking Changes
Toggle
icon-on
/icon-off
props have been renamed toon-icon
/off-icon
ui.toggle.default.iconOn
/ui.toggle.default.iconOff
have been renamed toui.toggle.default. onIcon
/ui.toggle.default.offIcon
in preset
CommandPalette
close
prop has been renamed toclose-button
ui.commandPalette.default.close
has been renamed toui.commandPalette.default.closeButton
in presetempty
prop has been renamed toempty-state
ui.commandPalette.default.empty
has been renamed toui.commandPalette.default.emptyState
in preset
Notification
close
prop has been renamed toclose-button
ui.notification.default.close
has been renamed toui.notification.default.closeButton
in presetui.notification.default.action
has been renamed toui.notification.default. actionButton
in preset
Input
pointer-events-none
class has been moved fromui.input.icon.leading.wrapper
/ui.input.icon.trailing.wrapper
toui.input.icon.leading.pointer
/ui.input.icon.trailing.pointer
in preset
SelectMenu
inline-flex
class has been removed from wrapper so it might cause some alignment issues
🚀 What's Changed
- chore(Toggle): improve component display
- chore(SelectMenu): handle
multiple
default display - fix(Button): invalid padding when using
square
prop - chore(Toggle)!: rename icons to
onIcon
/offIcon
for consistency - chore(CommandPalette)!: rename props to
emptyState
andcloseButton
for consistency - chore(Notification)!: rename to
closeButton
andactionButton
for consistency - feat: add
Table
component by @benjamincanac in #237 - chore(Dropdown):
hover
mode with padding instead of offset by @smarroufin in #242 - chore(SelectMenu)!: remove
inline-flex
from wrapper to behave like other form elements - chore: uniformize icons in
Button
/Input
/Select
/SelectMenu
+loading
state inSelect
/SelectMenu
- chore: add
leading
andtrailing
slots inButton
/Input
/Select
/SelectMenu
- fix(defineShortcuts): err with input autocomplete that triggers
keydown
events - chore(Input)!: move pointer class inside its own preset class
- chore(Badge): handle
color
override like buttons - fix(Avatar): placeholder font size
- fix(Table): override of
sortButton
andemptyState
props - fix(CommandPalette): override of
closeButton
andemptyState
props - fix: use
cloneVNode
when altering props in render functions
New Contributors
Full Changelog: v2.2.1...v2.3.0