Releases: croz-ltd/tiller
Releases · croz-ltd/tiller
1.17.0
🚨 Breaking changes
- Renamed
testId
todata-testid
to remove console errors on all components using it - Restructured and/or changed token configuration structure for
Tooltip
,Badge
,ButtonGroups
,Card
,DataTable
,
Dropdown
,IconButton
,Placeholder
,ProgressBar
,SidebarNavigation
,TopNavigation
andToggle
(see all changes here)
🐛 Bug Fixes
- Fixed console errors for
testId
prop by renaming it todata-testid
(#272) - Fixed
SidebarNavigation
andTopNavigation
inconsistencies by fixing incorrect prop drilling onSidebarNavigation.Dropdown
andTopNavigation.Dropdown
subcomponents (#299)
⚡ Component Improvements
- Expanded
className
prop to more components and fixed class merging/overriding withtailwind-merge
(#122) - Added automatic
data-testid
prop value assigning to all field components based on theirname
prop orvalue
prop forCheckboxGroupField.Item
andRadioGroupField.Item
(#272) - Improved tooltip appearance by adjusting font and adding a
light
theme option viacolor
prop (#297) - Added
onSelect
prop toTopNavigation.Item
andSidebarNavigation.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
🚨 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)