v.4.5.0
Enhancements
- Added
showTotalsInFooterprop toDataTablefor control over placement of “Totals” row (#2200) - Added
hasFocusableParenttoSpinner(#2176)
Bug fixes
- Fixed tabs that don’t wrap correctly on small screens in pre-iOS 13 Safari (#2232)
- Fixed
BulkActionscheckbox losing on selection focus (#2138) - Moved rendering of the portal component’s node within the node created by the theme provider component to enable theming through CSS Custom Properties (#2224)
- Fixed a bug which caused the
Popoveroverlay to remain in the DOM if it was updated during exiting (#2246) - Fixed
Breadcrumbsto useaccessibilityLabelprop when passed in (#2254)
Documentation
- Added accessibility documentation for the date picker component (#2242)
- Added accessibility documentation for the empty state component (#2244)
Code quality
-
Improved code quality for the theme provider component (#2225):
- updated type for
themeprop toThemeConfigto distinguish from the typeThemewhich is shared over context. AThemecontains only the logo properties, whileThemeConfigcan contain acolorsproperty. - converted
ThemeProviderto use hooks - created symmetry in context between app provider and test provider
- added better tests for default topBar colors
- fixed an issue where
colorToHslareturned HSLA strings instead of HSLA objects when given HSL or HSLA strings - fixed an issue with
colorToHslawhere RGB colors with no saturation could result in a divide by zero error - fixed an issue where
colorToHslainconsistently returned an alpha value - fixed an issue where
lightenColoranddarkenColorwould lighten or darken absolute lightness values (0, 100)
- updated type for