Releases: elastic/eui
Releases Β· elastic/eui
v93.1.1
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
v93.0.0
Bug fixes
- Fixed
EuiTextTruncate
component to clean up timer from side effect on unmount (#7495)
Breaking changes
- Removed deprecated
anchorClassName
prop fromEuiPopover
. UseclassName
instead (#7488) - Removed deprecated
buttonRef
prop fromEuiPopover
. UsepopoverRef
instead (#7488) - Removed deprecated
toolTipTitle
andtoolTipPosition
props fromEuiContextMenuItem
. UsetoolTipProps.title
andtoolTipProps.position
instead (#7489) - Removed deprecated internal
setSelection
ref method fromEuiInMemoryTable
andEuiBasicTable
. Use the new controlledselection.selected
prop API instead. (#7491) EuiTourStep
'sclassName
andstyle
props now apply to the anchoring element instead of to the popover panel, to matchEuiPopover
behavior. (#7497)- Convert your existing usages to
panelClassName
andpanelStyle
respectively instead.
- Convert your existing usages to
Performance
- Improved the amount of recomputed styles being generated by
EuiCode
andEuiCodeBlock
(#7486)
CSS-in-JS conversions
v92.2.1
v92.2.0
- Updated
EuiFlyoutResizable
with new optionalonResize
callback (#7464)
Bug fixes
- Fixed an issue in
EuiResizableContainer
whereonResizeEnd
could become a stale closure when renders occured between resize start and end, resulting in an outdated version of a consumer'sonResizeEnd
callback being called (#7468) - Fixed
EuiTextArea
to correctly fireonChange
callbacks on clear button click (#7473) - Fixed
EuiContextMenu
's panel titles & items to not show underlines on hover for non-interactive elements (#7474)
Deprecations
v92.1.1
v92.1.0
- Updated
EuiResizableButton
to allow customizing theindicator
style with eitherhandle
(default) orborder
(#7455) - Enhanced
EuiResizableContainer
to preserve the drag/resize event when the user's mouse leaves the parent container and re-enters (#7456)
Bug fixes
- Fixed an
EuiTreeView
JSX Typescript error (#7452) - Fixed a color console warning being generated by disabled
EuiStep
s (#7454)
Accessibility
EuiDataGrid
's keyboard/screenreader experience has been tweaked to be more consistent for varying complex data: (#7448)- Headers are now always navigable by arrow key, regardless of whether the header cells contain interactive content
- Non-expandable cells containing any amount of interactive content now must be entered via Enter or F2 keypress
- Expandable cells continue to be toggled via Enter or F2 keypress
EuiDataGrid
now provides a direct screen reader hint for Enter key behavior for expandable & interactive cells (#7448)
v92.0.0
v92.0.0
- Updated generic types of
EuiBasicTable
,EuiInMemoryTable
andEuiSearchBar.Query.execute
to addextends object
constraint (#7340)- This change should have no impact on your applications since the updated types only affect properties that exclusively accept object values.
- Added a new
EuiFlyoutResizable
component (#7439) - Updated
EuiTextArea
to acceptisClearable
andicon
as props (#7449)
Bug fixes
EuiRange
/EuiDualRange
's track ticks & highlights now update their positions on resize (#7442)
Deprecations
- Updated
EuiFilterButton
to remove the second.euiFilterButton__textShift
span wrapper. Target.euiFilterButton__text
instead (#7444)
Breaking changes