Skip to content

[Flyouts] Enhancements for Flyout Menu actions - #9856

Merged
tsullivan merged 31 commits into
elastic:mainfrom
tsullivan:flyouts/menu-actions-work
Aug 5, 2026
Merged

tsullivan merged 31 commits into
elastic:mainfrom
tsullivan:flyouts/menu-actions-work

Conversation

@tsullivan

@tsullivan tsullivan commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

Closes #9855
Closes #9304

Summary

What: Follow-up enhancements to the EuiFlyoutMenu control bar:

  • New leadingActions and trailingActions slots, accepting the new EuiFlyoutMenuAction type with toolTipContent / toolTipProps support.
  • Automatic dividers between control groups (back/history, built-in controls vs. leadingActions, trailingActions vs. the close button).
  • Pagination can optionally render jump-to-beginning/end buttons via pagination.onFirst / pagination.onLast, which also flips the Prev/Next chevrons to the horizontal axis.
  • History trigger icon changed to clockCounter.
  • customActions / EuiFlyoutMenuCustomAction are deprecated in favor of trailingActions / EuiFlyoutMenuAction.

How / notes for reviewers:

  • Deprecation instead of removal. customActions is kept as a compatibility alias so this can ship in a patch. When both are supplied, trailingActions wins.
  • Prev/Next icon axis flips with jump controls. Once onFirst or onLast is present, the row reads as a horizontal track, so Prev/Next default to chevronSingleLeft / chevronSingleRight.
  • Dividers use a border, not a background, so they stay visible in Windows high contrast themes, where they also stretch to the full height of the menu bar (bleeding over the container's block padding) instead of being shortened.

API Changes

component / parent prop / child change description
EuiFlyoutMenu leadingActions Added EuiFlyoutMenuAction[] rendered at the inline-start of the menu bar, after built-in controls, separated by an automatic divider
EuiFlyoutMenu trailingActions Added EuiFlyoutMenuAction[] rendered at the inline-end of the menu bar, before the close button
EuiFlyoutMenu customActions Deprecated Use trailingActions instead; still honored as an alias, but trailingActions takes precedence when both are supplied
EuiFlyoutMenu historyItems Changed The history popover now requires at least 2 items; with a single item only the back button renders
EuiFlyoutMenu onFirst / onLast Added Optional callbacks to render jump-to-beginning/end buttons in the pagination control, which also flips the Prev/Next icons

Screenshots

Before After
image image
image image

Demos

Flyout.Menu.Pagination.Demo.mp4
Flyout.Menu.History.Navigation.mp4
Flyout.Menu.Dark.Mode.High.Contrast.mp4

Impact Assessment

Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.

  • [ ] 🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?
  • 💅 Visual changes — May impact style overrides; could require visual testing. Explain and estimate impact.
  • 🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).
  • 🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.

Impact level: 🟢 None / 🟢 Low / 🟡 Moderate / 🔴 High

Release Readiness

QA instructions for reviewer

Checklist before marking Ready for Review

Reviewer checklist

  • Approved Impact Assessment — Acceptable to merge given the consumer impact.
  • Approved Release Readiness — Docs, Figma, and migration info are sufficient to ship.

- Update [`packages/eui/src/components/flyout/flyout_menu.tsx`](packages/eui/src/components/flyout/flyout_menu.tsx) with a shared `EuiFlyoutMenuAction` type supporting EUI-standard `toolTipContent` and `toolTipProps`, plus `leadingActions` and `trailingActions` props.
- Keep `customActions` as a deprecated compatibility alias for `trailingActions`; prefer `trailingActions` if both are supplied. Export the new type from [`packages/eui/src/components/flyout/index.ts`](packages/eui/src/components/flyout/index.ts).
- Refactor action rendering so both slots preserve required accessible labels/click behavior and wrap buttons in `EuiToolTip` only when tooltip content is supplied.
- Build an inline-start cluster that renders pagination or back/history first, then `leadingActions`, with logical spacing in [`packages/eui/src/components/flyout/flyout_menu.styles.ts`](packages/eui/src/components/flyout/flyout_menu.styles.ts). This matches the pagination PNG and also allows leading actions without pagination.
- Change the history trigger to `clockCounter` and add a translatable “Recently visited” tooltip, while retaining its accessible history label and popover behavior.
- Extend [`packages/eui/src/components/flyout/use_flyout_menu.ts`](packages/eui/src/components/flyout/use_flyout_menu.ts) so either new action slot counts as meaningful content in automatic display mode.

- Use “control-group divider” in prose and a local `euiFlyoutMenu__divider` style in code. EUI consistently calls these compact vertical lines “dividers”; “rule” is reserved for the horizontal `EuiHorizontalRule`, and there is no reusable `EuiVerticalRule` component or shared vertical-divider mixin.
- Model the styling on the private `dividerStyles` helper in [`packages/eui/src/components/form/form_control_layout/form_control_layout.styles.ts`](packages/eui/src/components/form/form_control_layout/form_control_layout.styles.ts): use a centered, shortened `::before` pseudo-element rather than a full-height border on the action container. Use logical properties, `block-size: ${euiTheme.size.l}`, `pointer-events: none`, and `border-inline-start: ${euiTheme.border.width.thin} solid ${euiTheme.border.color}`.
- Treat the form-control helper as a pattern, not a direct dependency. The explicit short divider in [`packages/eui/src/components/markdown_editor/markdown_editor_toolbar.styles.ts`](packages/eui/src/components/markdown_editor/markdown_editor_toolbar.styles.ts) provides the toolbar sizing/spacing precedent, while [`packages/eui/src/components/button/split_button/split_button.styles.ts`](packages/eui/src/components/button/split_button/split_button.styles.ts) confirms that a border should be used instead of a background so the divider remains visible in Windows high-contrast mode.
- Add dividers only when both adjacent groups exist:
  - Between built-in leading controls (pagination or back/history) and `leadingActions`.
  - Between effective trailing actions (`trailingActions` or deprecated `customActions`) and the built-in close control, only when the close control is visible.
- Attach the pseudo-element to a conditional boundary style or wrapper rather than adding separator semantics to the DOM. For the trailing boundary, account for the absolutely positioned close button by applying the divider modifier to the existing close spacer/action boundary and preserving enough inline spacing for the close hit area.
- Keep all placement RTL-safe with `inset-inline-*`, `margin-inline-*`, and `border-inline-*`; do not use physical left/right properties. If implementation constraints require a real divider element instead of a pseudo-element, follow the split-button precedent and mark it `aria-hidden="true"` rather than giving a decorative line `role="separator"`.
@tsullivan tsullivan changed the title Flyouts] Enhancements for Follow-up work in Flyout Menu actions plan for flyout menu action follow-up [Flyouts] Enhancements for Follow-up work in Flyout Menu actions Jul 30, 2026
@tsullivan tsullivan changed the title [Flyouts] Enhancements for Follow-up work in Flyout Menu actions [Flyouts] Enhancements for Flyout Menu actions Jul 30, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
8 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiflyout (8 differences)

StoryBeforeAfterDiff
playground desktop
playground mobile
push flyouts desktop
push flyouts mobile
menu bar example desktop
menu bar example mobile
pagination example desktop
pagination example mobile

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
6 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiflyout (6 differences)

StoryBeforeAfterDiff
playground desktop
playground mobile
push flyouts desktop
push flyouts mobile
pagination example desktop
pagination example mobile

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
6 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiflyout (6 differences)

StoryBeforeAfterDiff
playground desktop
playground mobile
push flyouts desktop
push flyouts mobile
pagination example desktop
pagination example mobile

@tsullivan
tsullivan marked this pull request as ready for review July 31, 2026 21:17
@tsullivan
tsullivan requested a review from a team as a code owner July 31, 2026 21:17
Copilot AI review requested due to automatic review settings July 31, 2026 21:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enhances the EuiFlyoutMenu control bar API and UX, adding first-class leading/trailing action slots with tooltip support, improved pagination controls (including optional jump-to-first/last), and refined history behavior/dividers to better match managed flyout navigation patterns.

Changes:

  • Added leadingActions/trailingActions (with new EuiFlyoutMenuAction type) and deprecated customActions as a compatibility alias.
  • Updated menu rendering logic and managed flyout integration to only show the history popover when there are at least 2 history items, and to keep pagination visible for total >= 1.
  • Introduced control-group dividers, new pagination icon overrides/jump controls, and updated docs/stories/tests/changelog accordingly.

Reviewed changes

Copilot reviewed 19 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/website/docs/components/containers/flyout/_flyout_menu.mdx Updates docs example to use trailingActions, documents tooltips/dividers/deprecation and history-popover threshold.
packages/website/docs/components/containers/flyout/_flyout_menu_pagination.mdx Documents pagination behavior and shows leadingActions grouped with pagination.
packages/eui/src/components/flyout/use_flyout_menu.ts Updates “auto” menu-content detection for new action slots, pagination totals, and history threshold.
packages/eui/src/components/flyout/use_flyout_menu.test.ts Adds coverage for new menu-content detection rules (history threshold, actions, pagination totals).
packages/eui/src/components/flyout/manager/flyout_manager.stories.tsx Updates Storybook controls/examples from customActions to trailingActions.
packages/eui/src/components/flyout/manager/flyout_managed.tsx Aligns pagination visibility behavior to total >= 1.
packages/eui/src/components/flyout/manager/flyout_managed.test.tsx Refactors tests to assert forwarded flyoutMenuProps and adds coverage for new manager-derived menu behavior.
packages/eui/src/components/flyout/manager/mocks/index.ts Tightens mock typing for historyItems.
packages/eui/src/components/flyout/index.ts Exports the new EuiFlyoutMenuAction type.
packages/eui/src/components/flyout/flyout.test.tsx Updates tests to trailingActions and adds managed-history popover threshold coverage.
packages/eui/src/components/flyout/flyout.stories.tsx Updates flyout story controls/examples to trailingActions and demonstrates tooltips.
packages/eui/src/components/flyout/flyout_menu.tsx Implements new actions API, tooltips, dividers, pagination enhancements, and history icon/threshold updates.
packages/eui/src/components/flyout/flyout_menu.test.tsx Adds extensive coverage for new actions/tooltips/dividers/pagination/history behavior.
packages/eui/src/components/flyout/flyout_menu.styles.ts Adds styling for dividers and high-contrast behavior; adjusts action alignment.
packages/eui/src/components/flyout/flyout_menu.stories.tsx Expands menu stories into a configurable playground plus prop-based pagination variants.
packages/eui/src/components/flyout/const.ts Adds MIN_HISTORY_ITEMS constant and updates menu display-mode documentation comment.
packages/eui/src/components/context_menu/context_menu_item.test.tsx Stabilizes tooltip-related tests by resetting the tooltip manager and expands assertions.
packages/eui/src/components/context_menu/snapshots/context_menu_item.test.tsx.snap Removes the old tooltip snapshot that no longer matches refactored tests.
packages/eui/changelogs/upcoming/9856.md Adds changelog entry for new flyout menu actions/pagination/history/divider changes and deprecations.
Suppressed comments (1)

packages/eui/src/components/flyout/flyout_menu.tsx:95

  • The JSDoc default for nextIconType is incomplete: when onFirst or onLast is provided, the implementation switches the default Next icon to chevronSingleRight (unless overridden).
  /**
   * Icon type for the Next button.
   * @default chevronSingleDown
   */
  nextIconType?: IconType;

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@weronikaolejniczak
weronikaolejniczak self-requested a review August 3, 2026 10:08

**Deprecations**

- Deprecated `customActions` and `EuiFlyoutMenuCustomAction` in `EuiFlyoutMenu`; use `trailingActions` and `EuiFlyoutMenuAction` instead

@weronikaolejniczak weronikaolejniczak Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsullivan we should add this to our deprecation schedule to be removed, maybe in 3 months?

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
1 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euidatagrid (1 difference)

StoryBeforeAfterDiff
no toolbar mobile

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
1 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euidatagrid (1 difference)

StoryBeforeAfterDiff
toolbar visibility options desktop

@tsullivan

tsullivan commented Aug 4, 2026 •

Copy link
Copy Markdown
Member Author

Thanks @weronikaolejniczak !

Only one visual doubt, actions don't seem to have a gap:

I will bring this up with Design. Looking back, the documentation indicates we should allow up to 2 registered actions, but the visuals always just show a max of 1.

image

These are XS icon buttons that don't provide a lot of clickable space but now they're right next to each other which could easily lead to misclicks and users being frustrated

Noted this in a task for future accessibility review: https://github.com/elastic/kibana-team/issues/3719#issue-4842094256

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
1 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euidatagrid (1 difference)

StoryBeforeAfterDiff
compact desktop

@weronikaolejniczak weronikaolejniczak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🟢 Thanks for addressing my comments, Tim!

Usually we don't add i18n token changes on a PR that introduces them but instead on the release PR but I also don't have anything against doing it here.

I'll add a "skip-vrt" label because the failing story is a flake and unrelated.

@weronikaolejniczak weronikaolejniczak added the skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) label Aug 5, 2026
@weronikaolejniczak

Copy link
Copy Markdown
Contributor

buildkite test this

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@tsullivan
tsullivan merged commit 52e07fa into elastic:main Aug 5, 2026
4 checks passed
acstll added a commit to elastic/kibana that referenced this pull request Aug 13, 2026
## Dependency updates

`@elastic/eui` - 118.0.0 ⏩ 119.0.0
`@elastic/eslint-plugin-eui` - 2.15.0 ⏩ 2.16.0
`@elastic/eui-test-helpers` - 1.2.0 ⏩ 1.3.0

## Changes

- Added 3 new `EuiFlyoutMenu` i18n tokens
(`euiFlyoutMenu.history.tooltip`, `euiFlyoutMenu.pagination.first`,
`euiFlyoutMenu.pagination.last`) to `i18n_eui_mapping.tsx` and all
translation files
- Replaced removed `plusInCircle` icon alias with `plusCircle` in the ML
plugin (data frame analytics, anomaly detection jobs, and trained models
menus)

## Package updates

### `@elastic/eslint-plugin-eui`
[v2.16.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added new `@elastic/eui/no-nested-copy-tooltip` rule to improve
`EuiCopy` usage ([#9852](elastic/eui#9852))
- Updated `@elastic/eui/tooltip-button-icon-wrap` with an exception for
`EuiCopy` usage covered by `@elastic/eui/no-nested-copy-tooltip`
([#9852](elastic/eui#9852))
- Added `button-group-no-invalid-children` rule
([#9849](elastic/eui#9849))
- Added `no-deprecated-icon-aliases` rule
([#9815](elastic/eui#9815))

### `@elastic/eui`
[v119.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Bundled icon glyph files into `dist/svgs/` and added
`dist/eui-icons.json` manifest (mapping icon filename stems to SVG
content strings) ([#9873](elastic/eui#9873))
- Added `hasAriaDisabled` prop to `EuiContextMenuItem`
([#9870](elastic/eui#9870))
- Updated `EuiButtonGroup`:
([#9845](elastic/eui#9845))
- Added new render API via `children` prop that allows passing button
components as children
  - Added `variant` prop (usable only with `children` prop)
- Added `gutterSize` prop (usable only with `children` and
`variant="default"` prop)
- Updated `EuiButton`, `EuiButtonEmpty` and `EuiButtonIcon` to consume a
`EuiButtonContext` allowing the group to control common props
([#9845](elastic/eui#9845))
- Updated `EuiFlyoutMenu`:
([#9856](elastic/eui#9856))
- Added `leadingActions` and `trailingActions` props, which accept the
new `EuiFlyoutMenuAction` type supporting `toolTipContent` and
`toolTipProps`
  - Changed the history trigger icon to `clockCounter`
  - Added control-group dividers between built-in controls
- Added `onFirst`, `onLast` to `pagination`, which render optional
buttons for jumping to the beginning and end of the list.
- Deprecated additional `EuiIcon` types that are not represented in
Figma ([#9815](elastic/eui#9815))

**Bug fixes**

- Fixed the missing type declaration for the `focusEuiToolTipTrigger`
test helper ([#9870](elastic/eui#9870))
- Fixed generated icon IDs to remain stable during server-side rendering
([#9866](elastic/eui#9866))
- Fixed a visual bug in `EuiButtonGroup` that rendered duplicate borders
on disabled buttons ([#9845](elastic/eui#9845))
- The `EuiFlyoutMenu` history popover now only appears when
`historyItems` has more than one entry. When there is a single entry in
history, only the Back button is shown.
([#9856](elastic/eui#9856))
- Fixed `EuiFlyoutMenu` pagination controls disappearing when
`pagination.total` is `1`; the controls now render (as "1 of 1" with
both Prev/Next disabled) for any `total` of at least `1`
([#9856](elastic/eui#9856))

**Deprecations**

- Deprecated `customActions` and `EuiFlyoutMenuCustomAction` in
`EuiFlyoutMenu`; use `trailingActions` and `EuiFlyoutMenuAction` instead
([#9856](elastic/eui#9856))

**Breaking changes**

- Removed most deprecated `EuiIcon` types and their icon assets. 16
widely-used deprecated aliases (e.g. `alert`, `search`, `visPie`) remain
temporarily and will be removed in a future release
([#9832](elastic/eui#9832))
([#9815](elastic/eui#9815))

### `@elastic/eui-test-helpers`
[v1.3.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiDataGridObject` with `rows`, `cell()`, `cells()`,
`doActionOnColumn()` and `openFullScreenMode()`/`closeFullScreenMode()`
([#9874](elastic/eui#9874))
- Added `EuiSuperSelectObject` with `selectOptionByValue()`,
`selectOptionByLabel()` and `getSelectedValue()`
([#9874](elastic/eui#9874))
- Added `EuiGlobalToastListObject` with a `toasts` locator and
`closeAll()` ([#9874](elastic/eui#9874))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
qn895 pushed a commit to qn895/kibana that referenced this pull request Aug 13, 2026
## Dependency updates

`@elastic/eui` - 118.0.0 ⏩ 119.0.0
`@elastic/eslint-plugin-eui` - 2.15.0 ⏩ 2.16.0
`@elastic/eui-test-helpers` - 1.2.0 ⏩ 1.3.0

## Changes

- Added 3 new `EuiFlyoutMenu` i18n tokens
(`euiFlyoutMenu.history.tooltip`, `euiFlyoutMenu.pagination.first`,
`euiFlyoutMenu.pagination.last`) to `i18n_eui_mapping.tsx` and all
translation files
- Replaced removed `plusInCircle` icon alias with `plusCircle` in the ML
plugin (data frame analytics, anomaly detection jobs, and trained models
menus)

## Package updates

### `@elastic/eslint-plugin-eui`
[v2.16.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added new `@elastic/eui/no-nested-copy-tooltip` rule to improve
`EuiCopy` usage ([elastic#9852](elastic/eui#9852))
- Updated `@elastic/eui/tooltip-button-icon-wrap` with an exception for
`EuiCopy` usage covered by `@elastic/eui/no-nested-copy-tooltip`
([elastic#9852](elastic/eui#9852))
- Added `button-group-no-invalid-children` rule
([elastic#9849](elastic/eui#9849))
- Added `no-deprecated-icon-aliases` rule
([elastic#9815](elastic/eui#9815))

### `@elastic/eui`
[v119.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Bundled icon glyph files into `dist/svgs/` and added
`dist/eui-icons.json` manifest (mapping icon filename stems to SVG
content strings) ([elastic#9873](elastic/eui#9873))
- Added `hasAriaDisabled` prop to `EuiContextMenuItem`
([elastic#9870](elastic/eui#9870))
- Updated `EuiButtonGroup`:
([elastic#9845](elastic/eui#9845))
- Added new render API via `children` prop that allows passing button
components as children
  - Added `variant` prop (usable only with `children` prop)
- Added `gutterSize` prop (usable only with `children` and
`variant="default"` prop)
- Updated `EuiButton`, `EuiButtonEmpty` and `EuiButtonIcon` to consume a
`EuiButtonContext` allowing the group to control common props
([elastic#9845](elastic/eui#9845))
- Updated `EuiFlyoutMenu`:
([elastic#9856](elastic/eui#9856))
- Added `leadingActions` and `trailingActions` props, which accept the
new `EuiFlyoutMenuAction` type supporting `toolTipContent` and
`toolTipProps`
  - Changed the history trigger icon to `clockCounter`
  - Added control-group dividers between built-in controls
- Added `onFirst`, `onLast` to `pagination`, which render optional
buttons for jumping to the beginning and end of the list.
- Deprecated additional `EuiIcon` types that are not represented in
Figma ([elastic#9815](elastic/eui#9815))

**Bug fixes**

- Fixed the missing type declaration for the `focusEuiToolTipTrigger`
test helper ([elastic#9870](elastic/eui#9870))
- Fixed generated icon IDs to remain stable during server-side rendering
([elastic#9866](elastic/eui#9866))
- Fixed a visual bug in `EuiButtonGroup` that rendered duplicate borders
on disabled buttons ([elastic#9845](elastic/eui#9845))
- The `EuiFlyoutMenu` history popover now only appears when
`historyItems` has more than one entry. When there is a single entry in
history, only the Back button is shown.
([elastic#9856](elastic/eui#9856))
- Fixed `EuiFlyoutMenu` pagination controls disappearing when
`pagination.total` is `1`; the controls now render (as "1 of 1" with
both Prev/Next disabled) for any `total` of at least `1`
([elastic#9856](elastic/eui#9856))

**Deprecations**

- Deprecated `customActions` and `EuiFlyoutMenuCustomAction` in
`EuiFlyoutMenu`; use `trailingActions` and `EuiFlyoutMenuAction` instead
([elastic#9856](elastic/eui#9856))

**Breaking changes**

- Removed most deprecated `EuiIcon` types and their icon assets. 16
widely-used deprecated aliases (e.g. `alert`, `search`, `visPie`) remain
temporarily and will be removed in a future release
([elastic#9832](elastic/eui#9832))
([elastic#9815](elastic/eui#9815))

### `@elastic/eui-test-helpers`
[v1.3.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiDataGridObject` with `rows`, `cell()`, `cells()`,
`doActionOnColumn()` and `openFullScreenMode()`/`closeFullScreenMode()`
([elastic#9874](elastic/eui#9874))
- Added `EuiSuperSelectObject` with `selectOptionByValue()`,
`selectOptionByLabel()` and `getSelectedValue()`
([elastic#9874](elastic/eui#9874))
- Added `EuiGlobalToastListObject` with a `toasts` locator and
`closeAll()` ([elastic#9874](elastic/eui#9874))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 18, 2026
## Dependency updates

`@elastic/eui` - 118.0.0 ⏩ 119.0.0
`@elastic/eslint-plugin-eui` - 2.15.0 ⏩ 2.16.0
`@elastic/eui-test-helpers` - 1.2.0 ⏩ 1.3.0

## Changes

- Added 3 new `EuiFlyoutMenu` i18n tokens
(`euiFlyoutMenu.history.tooltip`, `euiFlyoutMenu.pagination.first`,
`euiFlyoutMenu.pagination.last`) to `i18n_eui_mapping.tsx` and all
translation files
- Replaced removed `plusInCircle` icon alias with `plusCircle` in the ML
plugin (data frame analytics, anomaly detection jobs, and trained models
menus)

## Package updates

### `@elastic/eslint-plugin-eui`
[v2.16.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added new `@elastic/eui/no-nested-copy-tooltip` rule to improve
`EuiCopy` usage ([elastic#9852](elastic/eui#9852))
- Updated `@elastic/eui/tooltip-button-icon-wrap` with an exception for
`EuiCopy` usage covered by `@elastic/eui/no-nested-copy-tooltip`
([elastic#9852](elastic/eui#9852))
- Added `button-group-no-invalid-children` rule
([elastic#9849](elastic/eui#9849))
- Added `no-deprecated-icon-aliases` rule
([elastic#9815](elastic/eui#9815))

### `@elastic/eui`
[v119.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Bundled icon glyph files into `dist/svgs/` and added
`dist/eui-icons.json` manifest (mapping icon filename stems to SVG
content strings) ([elastic#9873](elastic/eui#9873))
- Added `hasAriaDisabled` prop to `EuiContextMenuItem`
([elastic#9870](elastic/eui#9870))
- Updated `EuiButtonGroup`:
([elastic#9845](elastic/eui#9845))
- Added new render API via `children` prop that allows passing button
components as children
  - Added `variant` prop (usable only with `children` prop)
- Added `gutterSize` prop (usable only with `children` and
`variant="default"` prop)
- Updated `EuiButton`, `EuiButtonEmpty` and `EuiButtonIcon` to consume a
`EuiButtonContext` allowing the group to control common props
([elastic#9845](elastic/eui#9845))
- Updated `EuiFlyoutMenu`:
([elastic#9856](elastic/eui#9856))
- Added `leadingActions` and `trailingActions` props, which accept the
new `EuiFlyoutMenuAction` type supporting `toolTipContent` and
`toolTipProps`
  - Changed the history trigger icon to `clockCounter`
  - Added control-group dividers between built-in controls
- Added `onFirst`, `onLast` to `pagination`, which render optional
buttons for jumping to the beginning and end of the list.
- Deprecated additional `EuiIcon` types that are not represented in
Figma ([elastic#9815](elastic/eui#9815))

**Bug fixes**

- Fixed the missing type declaration for the `focusEuiToolTipTrigger`
test helper ([elastic#9870](elastic/eui#9870))
- Fixed generated icon IDs to remain stable during server-side rendering
([elastic#9866](elastic/eui#9866))
- Fixed a visual bug in `EuiButtonGroup` that rendered duplicate borders
on disabled buttons ([elastic#9845](elastic/eui#9845))
- The `EuiFlyoutMenu` history popover now only appears when
`historyItems` has more than one entry. When there is a single entry in
history, only the Back button is shown.
([elastic#9856](elastic/eui#9856))
- Fixed `EuiFlyoutMenu` pagination controls disappearing when
`pagination.total` is `1`; the controls now render (as "1 of 1" with
both Prev/Next disabled) for any `total` of at least `1`
([elastic#9856](elastic/eui#9856))

**Deprecations**

- Deprecated `customActions` and `EuiFlyoutMenuCustomAction` in
`EuiFlyoutMenu`; use `trailingActions` and `EuiFlyoutMenuAction` instead
([elastic#9856](elastic/eui#9856))

**Breaking changes**

- Removed most deprecated `EuiIcon` types and their icon assets. 16
widely-used deprecated aliases (e.g. `alert`, `search`, `visPie`) remain
temporarily and will be removed in a future release
([elastic#9832](elastic/eui#9832))
([elastic#9815](elastic/eui#9815))

### `@elastic/eui-test-helpers`
[v1.3.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiDataGridObject` with `rows`, `cell()`, `cells()`,
`doActionOnColumn()` and `openFullScreenMode()`/`closeFullScreenMode()`
([elastic#9874](elastic/eui#9874))
- Added `EuiSuperSelectObject` with `selectOptionByValue()`,
`selectOptionByLabel()` and `getSelectedValue()`
([elastic#9874](elastic/eui#9874))
- Added `EuiGlobalToastListObject` with a `toasts` locator and
`closeAll()` ([elastic#9874](elastic/eui#9874))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 18, 2026
## Dependency updates

`@elastic/eui` - 118.0.0 ⏩ 119.0.0
`@elastic/eslint-plugin-eui` - 2.15.0 ⏩ 2.16.0
`@elastic/eui-test-helpers` - 1.2.0 ⏩ 1.3.0

## Changes

- Added 3 new `EuiFlyoutMenu` i18n tokens
(`euiFlyoutMenu.history.tooltip`, `euiFlyoutMenu.pagination.first`,
`euiFlyoutMenu.pagination.last`) to `i18n_eui_mapping.tsx` and all
translation files
- Replaced removed `plusInCircle` icon alias with `plusCircle` in the ML
plugin (data frame analytics, anomaly detection jobs, and trained models
menus)

## Package updates

### `@elastic/eslint-plugin-eui`
[v2.16.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added new `@elastic/eui/no-nested-copy-tooltip` rule to improve
`EuiCopy` usage ([elastic#9852](elastic/eui#9852))
- Updated `@elastic/eui/tooltip-button-icon-wrap` with an exception for
`EuiCopy` usage covered by `@elastic/eui/no-nested-copy-tooltip`
([elastic#9852](elastic/eui#9852))
- Added `button-group-no-invalid-children` rule
([elastic#9849](elastic/eui#9849))
- Added `no-deprecated-icon-aliases` rule
([elastic#9815](elastic/eui#9815))

### `@elastic/eui`
[v119.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Bundled icon glyph files into `dist/svgs/` and added
`dist/eui-icons.json` manifest (mapping icon filename stems to SVG
content strings) ([elastic#9873](elastic/eui#9873))
- Added `hasAriaDisabled` prop to `EuiContextMenuItem`
([elastic#9870](elastic/eui#9870))
- Updated `EuiButtonGroup`:
([elastic#9845](elastic/eui#9845))
- Added new render API via `children` prop that allows passing button
components as children
  - Added `variant` prop (usable only with `children` prop)
- Added `gutterSize` prop (usable only with `children` and
`variant="default"` prop)
- Updated `EuiButton`, `EuiButtonEmpty` and `EuiButtonIcon` to consume a
`EuiButtonContext` allowing the group to control common props
([elastic#9845](elastic/eui#9845))
- Updated `EuiFlyoutMenu`:
([elastic#9856](elastic/eui#9856))
- Added `leadingActions` and `trailingActions` props, which accept the
new `EuiFlyoutMenuAction` type supporting `toolTipContent` and
`toolTipProps`
  - Changed the history trigger icon to `clockCounter`
  - Added control-group dividers between built-in controls
- Added `onFirst`, `onLast` to `pagination`, which render optional
buttons for jumping to the beginning and end of the list.
- Deprecated additional `EuiIcon` types that are not represented in
Figma ([elastic#9815](elastic/eui#9815))

**Bug fixes**

- Fixed the missing type declaration for the `focusEuiToolTipTrigger`
test helper ([elastic#9870](elastic/eui#9870))
- Fixed generated icon IDs to remain stable during server-side rendering
([elastic#9866](elastic/eui#9866))
- Fixed a visual bug in `EuiButtonGroup` that rendered duplicate borders
on disabled buttons ([elastic#9845](elastic/eui#9845))
- The `EuiFlyoutMenu` history popover now only appears when
`historyItems` has more than one entry. When there is a single entry in
history, only the Back button is shown.
([elastic#9856](elastic/eui#9856))
- Fixed `EuiFlyoutMenu` pagination controls disappearing when
`pagination.total` is `1`; the controls now render (as "1 of 1" with
both Prev/Next disabled) for any `total` of at least `1`
([elastic#9856](elastic/eui#9856))

**Deprecations**

- Deprecated `customActions` and `EuiFlyoutMenuCustomAction` in
`EuiFlyoutMenu`; use `trailingActions` and `EuiFlyoutMenuAction` instead
([elastic#9856](elastic/eui#9856))

**Breaking changes**

- Removed most deprecated `EuiIcon` types and their icon assets. 16
widely-used deprecated aliases (e.g. `alert`, `search`, `visPie`) remain
temporarily and will be removed in a future release
([elastic#9832](elastic/eui#9832))
([elastic#9815](elastic/eui#9815))

### `@elastic/eui-test-helpers`
[v1.3.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiDataGridObject` with `rows`, `cell()`, `cells()`,
`doActionOnColumn()` and `openFullScreenMode()`/`closeFullScreenMode()`
([elastic#9874](elastic/eui#9874))
- Added `EuiSuperSelectObject` with `selectOptionByValue()`,
`selectOptionByLabel()` and `getSelectedValue()`
([elastic#9874](elastic/eui#9874))
- Added `EuiGlobalToastListObject` with a `toasts` locator and
`closeAll()` ([elastic#9874](elastic/eui#9874))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR)

Projects

None yet

4 participants