v91.0.0
- Updated the background color of
EuiPopover
s in dark mode to increase visibility & contrast against other page/panel backgrounds (#7310) - Memoized
EuiDataGrid
to prevent unneeded re-renders (#7324) - Added a configurable
role
prop toEuiAccordion
(#7326) - Added a configurable
role
prop toEuiGlobalToastList
(#7328) - For greater flexibility,
EuiSuperDatePicker
now allows users to paste ISO 8601, RFC 2822, and Unix timestamps in theAbsolute
tab input, in addition to timestamps in thedateFormat
prop (#7331) - Plain text
EuiComboBox
es now behave more like a normal text field/input. Backspacing will no longer delete the entire value, and selected values can now be double clicked and copied. (#7332) EuiDataGrid
's display settings popover now allows users to clear the "Lines per row" input before typing in a new number (#7338)- Improved the UX of
EuiSuperDatePicker
's Absolute tab for users manually typing in timestamps (#7341) - Updated
EuiI18n
s with multipletokens
to accept dynamicvalues
(#7341)
Bug fixes
- Fixed
EuiComboBox
'sonSearchChange
callback to pass the correcthasMatchingOptions
value (#7334) - Fixed an
EuiSelectableTemplateSitewide
bug where thepopoverButton
behavior would break if passed a non-DOM React wrapper (#7339)
Deprecations
EuiPopover
: deprecatedanchorClassName
. UseclassName
instead (#7311)EuiPopover
: deprecatedbuttonRef
. UsepopoverRef
instead (#7311)EuiPopover
: removed extra.euiPopover__anchor
div wrapper. Target.euiPopover
instead if necessary (#7311)- Deprecated
EuiButtonGroup
'sname
prop. This can safely be removed. (#7325)
Breaking changes
- Removed deprecated
euiPaletteComplimentary
- useeuiPaletteComplementary
Instead (#7333)
Accessibility
- Updated
type="single"
EuiButtonGroup
s to render standard buttons instead of radio buttons under the hood, per recent a11y recommendations (#7325) EuiAccordion
now defaults to a less screenreader-noisygroup
role instead ofregion
. If your accordion contains significant enough content to be a document landmark role, you may re-configure it back toregion
. (#7326)- Reduced screen reader noisiness when sorting
EuiDataGrid
columns via toolbar (#7327) EuiGlobalToastList
now defaults to alog
role. If your toasts will always require immediate user action, consider (with caution) using thealert
role instead. (#7328)
CSS-in-JS conversions
- Updated
$euiFontFamily
and$euiCodeFontFamily
to match Emotion fonts (#7332)