🚨 Breaking changes
TreeSelect
-placeholder
prop now only accepts astring
type instead ofReact.ReactNode
to align with the new typing enhancementsTreeSelect
-itemToString
prop has been made mandatory to ensure proper functionality of the component
🐛 Bug Fixes
- Fixed an issue where
Select
andSelectField
components did not handle a return value of 0 correctly (#291)
⚡ Component Improvements
-
Revamped
TreeSelect
by introducing typing support and improved functionality with additional props (#282)itemToString
- converts an item into a string representation to display the selected item as text in the input field (also used for filtering the options if thefilter
prop is not provided)filter
- determines how options are filtered as the user types into the input field (If this prop is undefined, filtering falls back to using theitemToString
function)- moved styles into newly added
TreeSelect
tokens (the component no longer loadsSelect
's tokens) - introduced the
testId
prop for easier testing - for full prop details and usage, see TreeSelect prop docs
-
Enhanced
Notification
component with more customization options (#283)type
- changes the default look and feel of the notification (success
/info
/danger
/warning
)disableAccent
- disables the accent background color that follows thetype
prop's look and feeliconProps
- enables modifyingsize
,className
andvariant
props of default main and dismiss icons- improved visuals for better UX
-
Changed the
title
prop type onTopNavigation
andSidebarNavigation
components toReact.ReactNode
for greater flexibility in usage (#287)