Skip to content

Releases: elastic/eui

v93.0.0

05 Feb 17:41
Compare
Choose a tag to compare

Bug fixes

  • Fixed EuiTextTruncate component to clean up timer from side effect on unmount (#7495)

Breaking changes

  • Removed deprecated anchorClassName prop from EuiPopover. Use className instead (#7488)
  • Removed deprecated buttonRef prop from EuiPopover. Use popoverRef instead (#7488)
  • Removed deprecated toolTipTitle and toolTipPosition props from EuiContextMenuItem. Use toolTipProps.title and toolTipProps.position instead (#7489)
  • Removed deprecated internal setSelection ref method from EuiInMemoryTable and EuiBasicTable. Use the new controlled selection.selected prop API instead. (#7491)
  • EuiTourStep's className and style props now apply to the anchoring element instead of to the popover panel, to match EuiPopover behavior. (#7497)
    • Convert your existing usages to panelClassName and panelStyle respectively instead.

Performance

  • Improved the amount of recomputed styles being generated by EuiCode and EuiCodeBlock (#7486)

CSS-in-JS conversions

  • Converted EuiSearchBar to Emotion (#7490)
  • Converted EuiEmptyPrompt to Emotion (#7494)
  • Added euiBorderColor and useEuiBorderColorCSS style utilities (#7494)

v92.2.1

29 Jan 22:31
Compare
Choose a tag to compare

Bug fixes

  • Removed unintentional i18n tokens in prior release that should not have been exported

v92.2.0

29 Jan 22:30
Compare
Choose a tag to compare
  • Updated EuiFlyoutResizable with new optional onResize callback (#7464)

Bug fixes

  • Fixed an issue in EuiResizableContainer where onResizeEnd could become a stale closure when renders occured between resize start and end, resulting in an outdated version of a consumer's onResizeEnd callback being called (#7468)
  • Fixed EuiTextArea to correctly fire onChange callbacks on clear button click (#7473)
  • Fixed EuiContextMenu's panel titles & items to not show underlines on hover for non-interactive elements (#7474)

Deprecations

  • Remove unused public EuiHue and EuiSaturation subcomponent exports. Use the parent EuiColorPicker component instead (#7460)
  • Remove unused public EuiCommentTimeline subcomponent export. Use the parent EuiComment or EuiCommentList components instead. (#7467)

v92.1.1

17 Jan 16:15
Compare
Choose a tag to compare

Bug fixes

  • Minor EuiDataGrid cell performance fixes (#7465)

v92.1.0

16 Jan 18:23
Compare
Choose a tag to compare
  • Updated EuiResizableButton to allow customizing the indicator style with either handle (default) or border (#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 EuiSteps (#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

08 Jan 19:15
Compare
Choose a tag to compare

v92.0.0

  • Updated generic types of EuiBasicTable, EuiInMemoryTable and EuiSearchBar.Query.execute to add extends 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 accept isClearable and icon 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

  • Removed deprecated EuiNotificationEvent. We recommend copying the component to your application if necessary (#7434)
  • Removed deprecated EuiControlBar. We recommend using EuiBottomBar instead (#7435)

v91.3.1

20 Dec 17:13
Compare
Choose a tag to compare

Bug fixes

  • Moved EuiDataGrid's header cells' dataGridHeaderCellActionButton test subject attribute from to the clickable button, for easier E2E testing (#7427)
  • Fixed EuiBasicTable/EuiInMemoryTable actions to correctly show as disabled when rows are being selected (#7428)

v91.3.0

18 Dec 19:35
Compare
Choose a tag to compare
  • Added esqlVis, pipeBreaks, and pipeNoBreaks icon glyphs. (#7399)
  • Updated EuiDataGridSchemaDetector's comparator arguments to include entry indexes (#7406)

v91.2.0

04 Dec 22:23
Compare
Choose a tag to compare
  • Added endpoint glyph to EuiIcon (#7383)

Bug fixes

  • Fixed a bug with EuiSelectables with custom truncationProps, where scrollbar widths were not being accounted for (#7392)

v91.1.0

29 Nov 18:10
Compare
Choose a tag to compare
  • 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 with target set to to _blank (#7352)
  • Updated EuiListGroupItem with a new external 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 - use EuiImage for image display within text instead (#7360)
  • Improved EuiBasicTable/EuiInMemoryTables mobile UI for custom actions (#7361)
  • Added a new EuiDataGridToolbarControl subcomponent, which is useful for rendering your own custom EuiDataGrid 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 passing false to textProps, 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 to boxesVertical (#7371)
  • Updated the actions column in EuiBasicTable and EuiInMemoryTables. Alongside name, the description, href, and data-test-subj properties now also accept an optional callback that the current item will be passed to (#7373)
  • Updated EuiContextMenuItem with a new toolTipProps prop (#7373)
  • EuiSelectable now allows configurable text truncation via listProps.truncationProps (#7388)
  • EuiTextTruncate now supports a new calculationDelayMs prop for working around font loading or layout shifting scenarios (#7388)

Bug fixes

  • Fixed incorrect EuiPopover positioning calculations when hasArrow 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 and EuiInMemoryTable 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 EuiBreadcrumbs with popoverContent (#7375)
  • Fixed EuiFormRows with hasEmptyLabelSpace being very slightly off in vertical alignment (#7380)

Deprecations

  • Deprecated EuiContextMenuItem's toolTipTitle prop. Use toolTipProps.title instead (#7373)
  • Deprecated EuiContextMenuItem's toolTipPosition prop. Use toolTipProps.position instead (#7373)

Accessibility

  • Fixed custom EuiBasicTable/EuiInMemoryTable rendering nested interactive custom actions (#7361)
  • Fixed EuiBasicTable and EuiInMemoryTable actions not correctly reading out action descriptions to screen readers (#7373)
  • Fixed EuiBasicTable and EuiInMemoryTable primary actions not visibly appearing on keyboard focus (#7373)