Releases: croz-ltd/tiller
Releases · croz-ltd/tiller
1.16.0
🚨 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)
1.15.1
1.15.0
🐛 Bug Fixes
- Fixed visual inconsistencies between disabled input components, specifically
Input
andSelect
(#273) - Fixed duplication of
RichTextEditor
'sinitialHtml
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-exporteddefaultIntlDictionary
(#236)- to ensure translations are displayed correctly, the necessary keys must be included in the dictionary provided to the
IntlProvider
(more info here)
- to ensure translations are displayed correctly, the necessary keys must be included in the dictionary provided to the
📚 Docs Improvements
- Updated documentation for
Intl
(docs) with newly-addedRichTextEditor
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
- the defaultIntlDictionary (with all required component translations) can now be imported from the
1.14.2
1.14.1
1.14.0
🐛 Bug Fixes
- Fixed
DataTable
not supporting rendering one or more optional columns (#240) - Fixed downshift console errors from
Select
caused by incorrect application of thegetMenuProps
function on the component (#250) - Fixed registration of icon props for
openExpanderIcon
andcloseExpanderIcon
onDropdownMenu
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 bydefaultSortBy
prop) via newretainDefaultSortBy
prop (#236) - Added ability of conditionally rendering the expander on
DataTable
by introducingpredicate
andpredicateFallback
props to theDataTable.Expander
subcomponent (#252) - Added
testId
prop to Button, Badge and form components which sets thedata-testid
prop for components, while resorting to the same value as theid
prop if not defined (#253)
1.13.0
1.12.0
1.11.0
1.10.0
✨ Component Additions
- Introduced a new customizable
FileBrowser
component to thedata-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
andpostLoadDelay
props toDragZone(Field)
for fine-tuning loader behaviour (by introducing fade in and fade out delays) during file uploads (#220)