Skip to content

Releases: croz-ltd/tiller

1.17.0

03 Feb 13:53
de32fac
Compare
Choose a tag to compare

🚨 Breaking changes

  1. Renamed testId to data-testid to remove console errors on all components using it
  2. Restructured and/or changed token configuration structure for Tooltip, Badge, ButtonGroups, Card, DataTable,
    Dropdown, IconButton, Placeholder, ProgressBar, SidebarNavigation, TopNavigation and Toggle
    (see all changes here)

🐛 Bug Fixes

  • Fixed console errors for testId prop by renaming it to data-testid (#272)
  • Fixed SidebarNavigation and TopNavigation inconsistencies by fixing incorrect prop drilling on SidebarNavigation.Dropdown and TopNavigation.Dropdown subcomponents (#299)

⚡ Component Improvements

  • Expanded className prop to more components and fixed class merging/overriding with tailwind-merge (#122)
  • Added automatic data-testid prop value assigning to all field components based on their name prop or value prop for CheckboxGroupField.Item and RadioGroupField.Item (#272)
  • Improved tooltip appearance by adjusting font and adding a light theme option via color prop (#297)
  • Added onSelect prop to TopNavigation.Item and SidebarNavigation.Item for custom additional action execution when clicking on an item (#299)
  • Minimized stutter when clicking the DropdownMenu on screen edge (#295)

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)