Skip to content

1.16.0

Latest
Compare
Choose a tag to compare
@fbeceic fbeceic released this 17 Dec 15:51
· 1 commit to master since this release
8c3fbe6

🚨 Breaking changes

  1. TreeSelect - placeholder prop now only accepts a string type instead of React.ReactNode to align with the new typing enhancements
  2. TreeSelect - itemToString prop has been made mandatory to ensure proper functionality of the component

🐛 Bug Fixes

  • Fixed an issue where Select and SelectField 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 the filter 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 the itemToString function)
    • moved styles into newly added TreeSelect tokens (the component no longer loads Select'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 the type prop's look and feel
    • iconProps - enables modifying size, className and variant props of default main and dismiss icons
    • improved visuals for better UX
  • Changed the title prop type on TopNavigation and SidebarNavigation components to React.ReactNode for greater flexibility in usage (#287)