Releases: elastic/eui
Releases ยท elastic/eui
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)
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)