Skip to content

Releases: croz-ltd/tiller

1.16.0

17 Dec 15:51
8c3fbe6
Compare
Choose a tag to compare

🚨 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)

1.15.1

09 Dec 15:49
ca57b31
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed propagating visibleItemCount on SidebarNavigation (#284)

1.15.0

10 Oct 14:04
1a609ad
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed visual inconsistencies between disabled input components, specifically Input and Select (#273)
  • Fixed duplication of RichTextEditor's initialHtml prop on dev environments (#274)
  • Fixed unresponsiveness of RichTextEditor's table, link and list functionalities (#277)

⚡ Component Improvements

  • Added localization for all RichTextEditor's text elements by adding new translations to the now-exported defaultIntlDictionary (#236)
    • to ensure translations are displayed correctly, the necessary keys must be included in the dictionary provided to the IntlProvider (more info here)

📚 Docs Improvements

  • Updated documentation for Intl (docs) with newly-added RichTextEditor translation keys (#236)
    • the defaultIntlDictionary (with all required component translations) can now be imported from the @tiller-ds/intl module for usage and/or merging with custom dictionaries

1.14.2

20 Jun 07:35
3a2192d
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed DataTable crashing if rendered with primary/secondary rows (#268)

1.14.1

17 Jun 09:15
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed DataTable crashing if rendered with one child in a row (#266)

1.14.0

06 Jun 07:11
418dd0a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed DataTable not supporting rendering one or more optional columns (#240)
  • Fixed downshift console errors from Select caused by incorrect application of the getMenuProps function on the component (#250)
  • Fixed registration of icon props for openExpanderIcon and closeExpanderIcon on DropdownMenu by passing on the props and resorting to defaults if not defined (#251)
  • Fixed conflicting class names when highlightToday prop is enabled on date input components which render a date picker (#254)
  • Fixed console warnings from @reach/tabs library related to styles file inclusion (#261)

⚡ Component Improvements

  • Added ability of retaining original data sorting on DataTable (defined by defaultSortBy prop) via new retainDefaultSortBy prop (#236)
  • Added ability of conditionally rendering the expander on DataTable by introducing predicate and predicateFallback props to the DataTable.Expander subcomponent (#252)
  • Added testId prop to Button, Badge and form components which sets the data-testid prop for components, while resorting to the same value as the id prop if not defined (#253)

1.13.0

02 May 07:32
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed DataTable when sorting arrow icon is present even if canSort prop is set to false (#239)
  • Fixed Breadcrumbs rendering icon between non-rendered elements (#241)

⚡ Component Improvements

  • Allow onOpen function in Modal to be called without arguments (#235)
  • Remove clear button from input fields when they are disabled (#229)

1.12.0

02 May 07:29
4b89ae8
Compare
Choose a tag to compare

⚡ Component Improvements

  • Improved StackedLayout autohide header functionality, so it can be controlled via tokens (#237)

1.11.0

26 Mar 14:41
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed DateInput(Field) not closing its date picker when pressing the Tab key to switch focus (#219)
  • Fixed Pagination page number buttons accidentally submitting the form if rendered inside of it (#228)

⚡ Component Improvements

  • Added dangerouslyBypassFocusLock prop to Modal which removes strict focus from the component on render, enabling other components to receive focus (#217)
  • Improved FileBrowser context by providing additional currentPath parameter to fetchDirectory function prop (#230)

1.10.0

18 Mar 08:01
Compare
Choose a tag to compare

✨ Component Additions

  • Introduced a new customizable FileBrowser component to the data-display module which enables different usages (#216):
    • using a default out-of-the-box display (which requires minimum code)
    • using the FileBrowser.Table component with access to context logic (which includes customizable icons, breadcrumbs and loader displays)
    • using a custom display component, also with access to context logic required for modularity

⚡ Component Improvements

  • Added preLoadDelay and postLoadDelay props to DragZone(Field) for fine-tuning loader behaviour (by introducing fade in and fade out delays) during file uploads (#220)