v54.0.0
EuiDataGrid
now allows limiting the number of visible cell actions with a newcolumns.visibleCellActions
prop (defaults to 2). All additional actions will be shown in the cell expansion popover. (#5675)- Added a new
gridStyle.rowClasses
API toEuiDataGrid
, which allows adding custom classes/styling to specific row indices, primarily for the purpose of highlighting rows (#5732) - Added
alert
icon indicator andaria-invalid
when the following form controls areisInvalid
:EuiFieldNumber
,EuiFieldPassword
,EuiFieldText
,EuiSelect
,EuiSuperSelect
,EuiFieldSearch
,EuiColorPicker
(#5738) - Added
isInvalid
prop toEuiFormControlLayout
to render thealert
icon (#5738) - Added
isDropdown
prop toEuiFormControlLayout
to create and control anarrowDown
icon (#5738) - Added
color
as toEuiFormControlLayout
'sicon
object (#5738)
Bug fixes
- Fixed
EuiSuperSelect
border-radius withappend
orprepend
(#5738) - Fixed
EuiSuperSelect
not respectingreadOnly
(#5738) - Fixed
EuiDataGrid
cell focus sometimes not being restored for keyboard users when cell expansion popovers were closed (#5761)
Breaking changes
- Removed the
closePopover()
callback passed toEuiDataGrid
'scellActions
render functions. UsecloseCellPopover()
passed byEuiDataGrid
'sref
prop instead. (#5734)
CSS-in-JS conversions
- Converted
EuiAvatar
to CSS-in-JS styling (#5670)