v2.2.0
What's Changed
- fix(VerticalNavigation): badge display in d2ee505
- chore(VerticalNavigation): links badge type as number in 6eda322
- chore(Avatar): allow default value for
chipColorthroughapp.config.tsin 570b82d - fix(Radio/Checkbox): remove ring offset on focus in a56dbea
- chore(Notification): add
progressColorandprogressVariantprops 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.configin 6d3309c - chore(VerticalNavigation)!: split preset in 19923cb
- chore(SelectMenu): add
searchablePlaceholderprop in b7099aa - chore(deps): switch to
pnpmby @benjamincanac in #228 - chore(Avatar)!: remove
chipVariantprop in 1f22f84 - chore(Notification)!: rename
progressColortocolorand 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
chipVariantprop has been removed and chip now useschip.backgroundpreset classchip.backgroundpreset class now defaults to500in light mode
InputGroup
- Component has been renamed to
FormGroupand now has its own documentation page errorprop has been added with its own preset classerror- Component now uses a render function to dynamically set the
colorprop of children tored label,labelWrapperandrequiredpreset classes have been moved inlabelobject
Input / Textarea / Select / SelectMenu
roundedpreset class has been moved from variants to the root of the preset to be customizable globallyplaceholderpreset class has been moved from variants to the root of the preset to be customizable globallyappearanceprop has been removed in favor ofcolor(defaults towhite) andvariant(defaults tooutline) to followBadgeandButtonconvention, this gives us color states for now will allow us to define other variants in the futurepaddedprop has been added to remove padding easily
SelectMenu
searchablePlaceholderprop has been added
Notification
paddingpreset class has been addedcolorprop has been added to style progress bar and icondefault.iconpreset class has been added to set a default icon on all your notificationsicon,avatarandprogresspreset classes have been turned into an objectavatar.sizepreset class now defaults tomdto be centered
Vertical Navigation
ring,width,rounded,fontandsizepreset classes have been pulled out ofbaseto 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