What's Changed
- fix(VerticalNavigation): badge display in d2ee505
- chore(VerticalNavigation): links badge type as number in 6eda322
- chore(Avatar): allow default value for
chipColor
throughapp.config.ts
in 570b82d - fix(Radio/Checkbox): remove ring offset on focus in a56dbea
- chore(Notification): add
progressColor
andprogressVariant
props by @benjamincanac in #219 - chore(CommandPalette): handle loading state by @benjamincanac in #221
- chore(Dropdown): use
ULinkCustom
(fixes close on link clicks) in 55f115f - chore(Notification): move padding to
app.config
in 6d3309c - chore(VerticalNavigation)!: split preset in 19923cb
- chore(SelectMenu): add
searchablePlaceholder
prop in b7099aa - chore(deps): switch to
pnpm
by @benjamincanac in #228 - chore(Avatar)!: remove
chipVariant
prop in 1f22f84 - chore(Notification)!: rename
progressColor
tocolor
and style icon in 1b61ec7 - chore(Avatar): dark variant for chip background color in 589f86e
- feat!: handle color states on form elements by @benjamincanac in #234
Migration Guide
As this library is quite new, some breaking changes are necessary to make it granular and more flexible. If you didn't override the preset through your app.config.ts
file, most of the changes won't affect you (except for the form elements).
We'll do our best to keep the breaking changes as minimal as possible in the future and will document them properly.
Avatar
chipVariant
prop has been removed and chip now useschip.background
preset classchip.background
preset class now defaults to500
in light mode
InputGroup
- Component has been renamed to
FormGroup
and now has its own documentation page error
prop has been added with its own preset classerror
- Component now uses a render function to dynamically set the
color
prop of children tored
label
,labelWrapper
andrequired
preset classes have been moved inlabel
object
Input
/ Textarea
/ Select
/ SelectMenu
rounded
preset class has been moved from variants to the root of the preset to be customizable globallyplaceholder
preset class has been moved from variants to the root of the preset to be customizable globallyappearance
prop has been removed in favor ofcolor
(defaults towhite
) andvariant
(defaults tooutline
) to followBadge
andButton
convention, this gives us color states for now will allow us to define other variants in the futurepadded
prop has been added to remove padding easily
SelectMenu
searchablePlaceholder
prop has been added
Notification
padding
preset class has been addedcolor
prop has been added to style progress bar and icondefault.icon
preset class has been added to set a default icon on all your notificationsicon
,avatar
andprogress
preset classes have been turned into an objectavatar.size
preset class now defaults tomd
to be centered
Vertical Navigation
ring
,width
,rounded
,font
andsize
preset classes have been pulled out ofbase
to customize component with granularity
New Contributors
- @okisdev made their first contribution in #216
- @sumitkolhe made their first contribution in #211
Full Changelog: v2.1.0...v2.2.0