grommet v2.16.0 Release Notes
Release Date: 2020-11-25 // about 4 years ago-
General:
- ๐ NEW Tip component.
- โ Added
tip
prop to button. - โ Added
clear
prop to Select that clears all selections. - ๐
Button kind automatically set to
plain
style when it has children. - โ Added support for width object on
width
prop on Box. - ๐ Fixed Text truncation when
align="end"
. - โ Added
fill
prop to Heading. - 0๏ธโฃ Accessibility fix for AnnounceContext default id.
- โ Added
disabled
prop to Button children. - โ Added
dropProps
anddropHeight
props for Drop customization on MaskedInput. - โ Added support for
border
on Grid. - ๐ Fixed rgb and rgba linear-gradient backgrounds.
- โ Added
weight
prop to Anchor. - โ Added touched option for
onChange
in Form. - โ Added new theme
extend
for List and List item. - ๐ Fixed
background-contrast
to support dark and light more accurately. - ๐ Changed InfiniteScroll to handle variable item heights.
- โ Added support for dark and light mode to Drop and Layer.
- ๐ Fixed keyboard focus when Layer is a modal.
- ๐ Fixed
onClickOutside
for non-modal Layer. - โจ Enhanced CheckBoxGroup theming with
checkBoxGroup.container
. - ๐ Fixed issue with TextInput when there is a non-string placeholder.
- ๐ Fixed Select allow multiple values to be selected when using search.
Calendar:
- โจ Enhanced Calendar logic when using
range
. - ๐ Fixed timezone handling.
- โ Added
activeDate
prop.
Clock:
- โ Added more theme sizes to analog Clock.
- ๐ Fixed Clock when size prop is undefined or incomplete.
DataChart:
- ๐ Fixed a color issue when type: 'bars' and the color is set in a property.
- ๐ Changed DataChart to be more resilient to invalid properties when using type: 'bars'.
DataTable:
- ๐ Fixed generation of medium granularity x-axis labels.
- Accessibility fix of
aria-label
. - โ Added support for hover styling on DataTable when resizing.
DateInput:
โ Added support for trimming adjacent days in the 6th row.
๐ Fixed DateInput resetting in Forms.Dev:
Storybook stories organization by component type.
Previous changes from v2.15.2
-
- ๐ Only relevant for users that use
radioButton.extend
on the theme. Fixed RadioButton theme, so thatradioButton.extend
is not applied to two DOM elements. PreviouslyradioButton.extend
applied to the radio button itself and to the container around the radio button that includes the label. From now on,radioButton.extend
only applies to the styling of the radio button itself, andradioButton.container.extend
applies to the whole container (including the label).
To maintain any previous styling done with radioButton.extend, add your styling toradioButton.container.extend
as well.
- ๐ Only relevant for users that use