v93.1.0
- Added
index
glyph toEuiIcon
(#7498) - Updated
EuiHighlight
to accept an array ofsearch
strings, which allows highlighting multiple, separate words within its children. This new type and behavior only works ifhighlightAll
is also set to true. (#7496) - Updated
EuiContextMenu
with a newpanels.items.renderItem
property, which allows rendering completely custom items next to standardEuiContextMenuItem
objects (#7510) EuiSuperDatePicker
updates:- Updated
EuiSuperDatePicker
with a newcanRoundRelativeUnits
prop, which defaults to true (current behavior). To preserve displaying the unit that users select for relative time, set this to false. (#7502) - Updated
EuiSuperDatePicker
with a newrefreshIntervalUnits
prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501) - Updated
EuiAutoRefresh
andEuiRefreshInterval
with a newintervalUnits
prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501) - Updated
onRefreshChange
to pass back a newintervalUnits
key that contains the current interval unit format (seconds, minutes, or hours). (#7501) - Updated
EuiSuperDatePicker
with a newrefreshMinInterval
prop, which accepts a minimum number in milliseconds (#7516) - Updated
EuiAutoRefresh
andEuiRefreshInterval
with a newminInterval
prop, which accepts a minimum number in milliseconds (#7516)
- Updated
Bug fixes
- Fixed
EuiHighlight
to not parsesearch
strings as regexes (#7496) - Fixed
EuiSuperDatePicker
submit bug when used within<form>
elements (#7504) - Fixed an
EuiTreeView
bug wherearia-expanded
was being applied to items without expandable children (#7513)
CSS-in-JS conversions
- Converted
EuiTreeView
to Emotion. Updates as part of the conversion: (#7513)- Removed
.euiTreeView__wrapper
div node - Enforced consistent
icon
size based ondisplay
size
- Removed