grommet v2.14.0 Release Notes
Release Date: 2020-06-12 // almost 4 years ago-
General:
- ๐ New CheckBoxGroup component.
- ๐ New DataChart component.
- ๐ Changed Button to have kind behavior for default and secondary kind.
- ๐ Fixed Preact Compatibility.
- ๐ Allowed theme to specify the size, height, and weight of an input.
- ๐ Fixed Clock countdown timer.
- ๐ Fixed missing forwardRef for DataTable, Diagram, Image, Menu, TableBody, TableCell, and Tabs.
- โจ Enhanced focus theme styling to have outline and shadow props.
- โ Added disabled theme styling to MaskedInput.
- ๐ Fixed scrolling issues with TextInput.
- ๐ Changed Select and TextInput to accept
a11yTitle
prop as aria-label. - ๐ Fixed an issue with caller controlling state in DropButton.
- โ Added
rotateLeft
androtateRight
to Box animation. - ๐ Changed RangeInput to support bounds.
- ๐ Fixed
onKeyDown
event for TextArea.
RadioButtonGroup:
- ๐ Changed RadioButtonGroup to support numeric and boolean values.
- ๐ Fix the responsive behavior of RadioButtonGroup.
Form:
- ๐ Changed Form and FormField to fix some issues with state and events.
- โก๏ธ Updated FormField to allow for disabled state styling via the theme.
- โ Added
background
andborder
options in FormField theme.
Accordion:
- ๐ Changed hover, focus, and border in Accordion theme.
- โ Added hover color theming for Accordion.
Menu:
- โ Added color theme styling for Menu icons.
- ๐ Fixed
dropProps
in Menu to work with RTL.
Select:
- ๐ Fixed
onClick
propagation in Select component. - ๐ Fixed display of Select value when equal to zero.
- ๐ Fixed an issue with Select multiple.
- ๐ Fixed console error thrown by Select component.
- ๐ Fixed an issue with
onSearch
being called multiple times.
Tab/Tabs:
- โ Added
icon
andreverse
props to Tab. - ๐ Fixed focus toggling on Tab.
- โ Added
responsive
prop to Tabs. - โ Added
alignControls
prop to Tabs. - โ Added tabs header border theming to Tabs.
TypeScript:
- ๐ Fixed AnnounceContext to accept timeout as a parameter.
- ๐ Fixed TypeScript declaration of onChange in Form.
- ๐ Improved DataTable types.
- โ Added extend type to Text.
Hooks:
- Removing HOC from List.
- ๐ Changed SelectContainer to use hooks.
- ๐ Changed Collapsible to use hooks.
- โ Removed higher-order components.
- ๐ Changed Video to use hooks.
- ๐ Changed Select to fix an issue with callback hooks.
Dev:
- ๐ฆ Replaced css package with PostCSS.
- โ Remove recompose dependency.
- ๐ Fixed security warning from the markdown-to-jsx package by updating to 6.11.4.
- โ Add jest-axe library for advanced accessibility testing.
- ๐ Fixed and cleaned code coverage references.