grommet v2.15.1 Release Notes
Release Date: 2020-10-08 // over 3 years ago-
General:
- ⬇️ Reduced bundle size of grommet.min.js.
- 🛠 Fixed bug on InfiniteScroll when
replace
andshow
are larger thanstep
. - ➕ Added icon and styling for FormField error or info messages.
- 🛠 Fixed
dropProps
functionality for DateInput. - 👍 Allow
active
to pass as a prop to Tab. - ➕ Added
align
options to Drop's stretch prop. - 🛠 Fixed issue on Box with row-responsive between
border
. - 🛠 Fixed
onClick
event for List and handle focus. - 🛠 Fix ability to customize text size for Avatar on the theme.
- ➕ Added
font.family
to the theme for Paragraph and Text components. - ⚡️ Updated
theme.global.active
typing.
Calendar:
- 🛠 Fixes incorrect month display on Calendar when switching months.
- ➕ Added support for customizing calendar dates and sizing.
- 🛠 Fixes incorrect date display when selecting a date more than a year apart.
TextInput:
- TextInput
onSuggestionSelect
is used for the suggestion feature instead ofonSelect
. - 👍 Allowed TextInput the use of
onSelect
for listening to select events. - ➕ Added
plain='full'
option for omitting padding on plain.
DataTable:
- ➕ Added
fill
prop which allows the table to dynamically respond to the available real estate. - ➕ Added
pin
prop which allows the first column, header, and/or footer to be pinned. - 🛠 Fixed calculation of minimum value in DataTable when there are negative values.
- 🔄 Changed DataTable to add
sort.external
. - ➕ Added
icons.sortable
to DataTable theme. - 🔄 Changed DataTable to have
select
andonSelect
props. - ➕ Added support to nested object in sort and aggregate.
- ⚡️ Updated theme to add more options for header cells of DataTable.
- 🛠 Fix
background
prop andbackground.pinned
theme incompatibilities. - 👍 Allows DataTable footer to be pinned on Safari.