grommet v2.16.0 Release Notes

Release Date: 2020-11-25 // over 3 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 and dropHeight 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 that radioButton.extend is not applied to two DOM elements. Previously radioButton.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, and radioButton.container.extend applies to the whole container (including the label).
      To maintain any previous styling done with radioButton.extend, add your styling to radioButton.container.extend as well.