Releases: elastic/eui
Releases Β· elastic/eui
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
v91.3.1
v91.3.0
v91.2.0
v91.1.0
- Updated
EuiDataGrid
cell actions to display above cells instead of within them, to avoid content clipping issues (#7343) - Updated
EuiDataGrid
cell expansion popovers to sit on top of cells instead of below/next to them (#7343) - Updated
EuiListGroupItem
to render an external icon and screen reader affordance for links withtarget
set to to_blank
(#7352) - Updated
EuiListGroupItem
with a newexternal
prop, which allows enabling or disabling the new external link icon (#7352) - Updated
EuiText
to no longer set any opinionated styles on child<img>
tags - useEuiImage
for image display within text instead (#7360) - Improved
EuiBasicTable
/EuiInMemoryTable
s mobile UI for custom actions (#7361) - Added a new
EuiDataGridToolbarControl
subcomponent, which is useful for rendering your own customEuiDataGrid
toolbar buttons while matching the look of the default controls (#7369) - Updated
EuiDataGrid
's toolbar controls to show active/current counts in badges, and updated the Columns button icon (#7369) - Updated
EuiButtonEmpty
to allow passingfalse
totextProps
, which allows rendering custom button content without an extra text wrapper (#7369) - Updated
EuiDataGrid
column header cells to show the sort arrow after the heading text, instead of before (#7371) - Updated
EuiDataGrid
's column header actions icon from a chevron toboxesVertical
(#7371) - Updated the actions column in
EuiBasicTable
andEuiInMemoryTable
s. Alongsidename
, thedescription
,href
, anddata-test-subj
properties now also accept an optional callback that the currentitem
will be passed to (#7373) - Updated
EuiContextMenuItem
with a newtoolTipProps
prop (#7373) EuiSelectable
now allows configurable text truncation vialistProps.truncationProps
(#7388)EuiTextTruncate
now supports a newcalculationDelayMs
prop for working around font loading or layout shifting scenarios (#7388)
Bug fixes
- Fixed incorrect
EuiPopover
positioning calculations whenhasArrow
was set to false (#7343) - Fixed
EuiSuperSelect
to render options with falsy values (false, 0, and ''), but not nullish values (undefined or null) (#7362) - Fixed
EuiSuperSelect
's typing to allow non-string values (e.g., booleans or numbers) (#7362) - Fixed
EuiDataGrid
's numeric and currency column heading cells to be correctly right-aligned (#7371) - Fixed
EuiBasicTable
andEuiInMemoryTable
actions not showing tooltip descriptions when rendered in the all actions popover menu (#7373) - Fixed missing underlines on
EuiContextMenu
link hover (#7373) - Fixed visual text truncation of
EuiBreadcrumb
s withpopoverContent
(#7375) - Fixed
EuiFormRow
s withhasEmptyLabelSpace
being very slightly off in vertical alignment (#7380)
Deprecations
- Deprecated
EuiContextMenuItem
'stoolTipTitle
prop. UsetoolTipProps.title
instead (#7373) - Deprecated
EuiContextMenuItem
'stoolTipPosition
prop. UsetoolTipProps.position
instead (#7373)
Accessibility
- Fixed custom
EuiBasicTable
/EuiInMemoryTable
rendering nested interactive custom actions (#7361) - Fixed
EuiBasicTable
andEuiInMemoryTable
actions not correctly reading out action descriptions to screen readers (#7373) - Fixed
EuiBasicTable
andEuiInMemoryTable
primary actions not visibly appearing on keyboard focus (#7373)