Repository navigation
Conversation
b8306e9 to
436e9d8
Compare
| const { container } = render( | ||
| <EuiCheckboxDisplay {...requiredProps} disabled /> | ||
| ); | ||
|
|
||
| const wrapper = container.querySelector('.euiCheckboxDisplay')!; | ||
|
|
||
| const classes = Array.from(wrapper.classList) as string[]; | ||
| expect(classes.some((clx) => clx.includes('disabled'))).toBe(true); | ||
| expect(classes.some((clx) => clx.includes('unselected'))).toBe(true); |
There was a problem hiding this comment.
[Not a change request but a discussion topic]
I know this approach is very common, and EUI uses it a ton. I've been thinking about this recently and want to share a few thoughts. None of them are strictly related to your changes, though.
The approach we currently use is far from what RTL recommends, and there are better, modern component testing techniques.
- Class name assertion could be done with
expect(element).toHaveClass(), but our version of@testing-library/jest-domis too old to support partial class name matching. This would make the assertions way cleaner. - We build our tests around implementation details and not the actual behavior and logic. We assert that the Emotion style declaration/label is called
disabledandunselected, while ignoring the actual CSS properties they include.
I've been experimenting with replacing tests like these with Emotion's toHaveStyleRule utility, which usually works great, but in EUI it's flaky, because our global requiredProps include css`color: red`;, which affects all assertions on the color property. As for the actual values being asserted, we can easily access the EuiTheme object with:
const theme = renderHook(useEuiTheme).result.current.euiTheme;which could eventually become a utility function to make the testing process even easier.
While asserting the actual styles sounds cool and like the right thing to do, I find it tricky to find the right balance. What CSS properties should be asserted to not overdo it in every single test? Well, I think that asserting the ones that are dynamic and have the most meaning for a particular test case is the right strategy, but it certainly will vary. We have VRTs and end-to-end tests that will detect some of the mistakes, too.
Speaking of VRTs, an argument could be made that they should be on the front line of keeping components styled the expected way. I partially agree with that statement, but I think there's more to it and the whole topic of having a balance between component unit tests, end-to-end tests and visual regression tests is something we should spend some time on.
This comment isn't the best place to discuss this, but I wanted to post it here for visibility. I'm going to create a GitHub discussion on this topic and share it internally.
There was a problem hiding this comment.
@tkajtoch Thanks for sharing your thoughts! 🙇♀️ I agree that this implementation is not ideal.
The intention behind this approach was the following:
We're checking visual render using VRT. That means unit tests don't have to specifically verify that all styles are correct. We'd rather want to verify that the props work correctly, meaning that a prop renders a specific variant of the component, mainly verifying the DOM output.
There are two main ways to do this: snapshots and asserting on specific markers in the DOM.
Instead of adding more bloat with snapshots, I went with targeting specific DOM features that should be present to identify the rendered variation. Asserting the Emotion class is not actually meant to check the applied styles per se but it's rather confirming that the right overall output for the passed prop is rendered. But I agree, that using those classes is definitely not at all perfect 🫠
💭 That being said, considering we're verifying the rendered icon and check visual output via VRT, we could also choose to omit checking the classes altogether here imho (besides for "disabled" maybe).
There was a problem hiding this comment.
I'm completely fine leaving this as-is in this PR. It's a testing strategy seen all across EUI and it does test what it needs, just maybe not in a perfect way :D
EuiCheckboxDisplay componentEuiCheckboxControl component
💚 Build SucceededHistory
cc @mgadewoll |
💚 Build Succeeded
History
cc @mgadewoll |
tkajtoch
left a comment
There was a problem hiding this comment.
Code changes look good. I verified that there are no regressions against main 🚢
## Dependency updates `@elastic/eui` - v115.0.0 ⏩ v116.0.0 `@elastic/eui-theme-borealis` - v7.0.0 ⏩ v8.0.0 `@elastic/eui-theme-common` - v9.0.0 ⏩ v10.0.0 ## Package updates ### EUI changelog 📖 Find the full changelog for the included EUI updates [here](https://github.com/elastic/eui/releases/tag/v116.0.0) <details><summary>Toggle to see the full EUI changelog</summary> <br /> `@elastic/eui` `v116.0.0` - Updated `EuiSuperSelect` to not open the listbox if no `options` are passed. ([#9645](elastic/eui#9645)) - Added `external` prop on `EuiContextMenuItem` to control rendering an icon for external links ([#9606](elastic/eui#9606)) - Updated `EuiSuperSelectItem` to use `EuiListItemLayout` ([#9603](elastic/eui#9603)) - Updated `EuiListGroupItem` to use `EuiListItemLayout` ([#9579](elastic/eui#9579)) - Updated `EuiSelectableListItem` to use the shared `EuiListItemLayout` component to align layout and styles between list components ([#9532](elastic/eui#9532)) - Updated `EuiSelectableTemplateSitewide` option text spacing from `4px` to `2px` ([#9532](elastic/eui#9532)) - Added a padding on `EuiDataGrid`s column actions popover ([#9515](elastic/eui#9515)) - Updated `EuiSelectableList` and `EuiSelectableListItem` styles ([#9411](elastic/eui#9411)) - Updated `EuiSelectableListItem` to use `EuiCheckboxControl` for `singleSelection=false` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableList` overflow scroll styles to use `animation-timeline` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableSearch`'s `compressed` default value to `true` ([#9411](elastic/eui#9411)) - Updated `EuiContextMenuItem` to use `EuiListItemLayout` ([#9600](elastic/eui#9600)) - Added `EuiContextMenuPanelTitle` component and changed the back button to be a standalone icon button instead of the entire title element ([#9600](elastic/eui#9600)) - Added `height` prop on `EuiContextMenu` and `EuiContextMenuPanel`. When set, the panel will be scrollable if overflown. ([#9600](elastic/eui#9600)) - Added `EuiCheckboxControl` component which renders the presentational-only control element ([#9401](elastic/eui#9401)) - Updated `EuiCheckbox` to use `EuiCheckboxControl` ([#9401](elastic/eui#9401)) - Updated `EuiComboBox`'s listbox and list item styles by using `EuiListItemLayout` ([#9538](elastic/eui#9538)) - Updated the rendered output element of `EuiComboBoxOptionsList`'s list items from `button` to `li` ([#9538](elastic/eui#9538)) - Updated `EuiComboBox` to exclude disabled options from list navigation (aligning with native `<select>` behavior) ([#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([#9538](elastic/eui#9538)) - Added opt-in `onFocusBadge` prop on `EuiComboBox` and `EuiComboBoxOptionsList`. By default the "Enter" badge is not shown anymore. ([#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList`'s list item `id` to use a stable array index to ensure `aria-activedescendant` isn't stale. ([#9538](elastic/eui#9538)) **Bug fixes** - Fixed `EuiComboBox` opening the popover on focus when `noSuggestions=true` ([#9515](elastic/eui#9515)) **Deprecations** - Deprecated `layoutAlign` prop on `EuiContextMenuItem` ([#9600](elastic/eui#9600)) **Breaking changes** - Removed `itemLayoutAlign` prop from `EuiSuperSelect` ([#9603](elastic/eui#9603)) - Removed `hasDividers` prop on `EuiSuperSelectItem` ([#9603](elastic/eui#9603)) - Removed support for `EuiContextMenuItemProps` on `EuiSuperSelectItem` (uses `EuiListItemLayoutProps` instead) ([#9603](elastic/eui#9603)) - Removed `gutterSize` and `flush` props on `EuiListGroup` ([#9579](elastic/eui#9579)) - Removed `size` prop on `EuiListGroup` and `EuiListGroupItem` ([#9579](elastic/eui#9579)) - Removed component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` - Removed `paddingSize` prop from `EuiSelectableListItem` ([#9411](elastic/eui#9411)) - Removed `size` prop from `EuiContextMenu`, `EuiContextMenuPanel` and `EuiContextMenuItem` (uses previous `s` size statically) ([#9600](elastic/eui#9600)) **Accessibility** - Improved the accessibility of `EuiSuperSelect` by fixing the value of `aria-activedescendant` to reflect the current navigated option instead of the selected one ([#9603](elastic/eui#9603)) - Improved the accessibility of `EuiContextMenuPanel` and `EuiContextMenuItem` by adding roles `menu`/`menuitem` and `aria-haspopup` for nested panels. ([#9600](elastic/eui#9600)) `@elastic/eui-theme-borealis` `v8.0.0` **Breaking changes** - Removed component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` `@elastic/eui-theme-common` `v10.0.0` **Breaking changes** - Removed types for component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` </details> This PR introduces changes to EUI selection list components that update their visual styles and align them between them. The updated components are: - `EuiSelectable` - `EuiComboBox` - `EuiListGroup` - `EuiContextMenu` - `EuiSuperSelect` >[!tip] See this [QA document ](https://docs.google.com/document/d/1lz6zlIfEanLDpAGcngWqODNy9eloS--TFfQJ0pZIYe0/edit?usp=sharing)for a detailed overview of the API and visual changes on EUI side. ## Changes in this PR The changes in this PR can be categorized in 3 main groups: 1. **prop updates**: - updated usages of `paddingSize` on `EuiSelectableList`. It was changed to apply a padding on the list container instead of controlling child list item paddings - updated usages of `EuiSelectable` inside `EuiPopover` to match the new expected design to apply a padding on either the entire popover container via `panelPaddingSize` (if it only contains a `EuiSelectable` or otherwise on the `EuiSelectableList` container - cleanup usages of removed props component | prop | comment -- | -- | -- EuiSelectable | paddingSize | Updated. Adds a padding on the list container instead of controlling list item padding. EuiSelectableListItem | paddingSize | Removed. EuiSelectableSearch | compressed | Updated. Changed the default value to true. EuiComboBoxList | onFocusBadge | Added. Conditionally render a badge on keyboard navigation that indicates Enter key should be pressed for selection. EuiListGroup, EuiListGroupItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiListGroup | gutterSize | Removed. Styles are handled strictly internally. EuiListGroup | flush | Removed. Not required anymore since size was removed. EuiContextMenu, EuiContextMenuPanel, EuiContextMenuItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiContextMenu, EuiContextMenuPanel | height | Added. When set, it enables a scrollable context menu panel. EuiContextMenuItem | layoutAlign | Deprecated. Will be removed in the future. Item alignment will be handled strictly internally and match layoutAlign=”center”. EuiContextMenuItem | external | Added. The default is undefined. It controls if an icon should be rendered when the item renders as external link. It renders the icon by default. EuiSuperSelect, EuiSuperSelectItem | hasDividers | Removed. New design specs don’t expect dividers. EuiSuperSelect | itemLayoutAlign | Removed. Item alignment is handled strictly internally. Matches previous itemLayoutAlign=”center”. 2. test and snapshot updates due to DOM render changes - EUI implemented a shared list item component `EuiListItemLayout` (which ensures shared styles and behavior across components) that results in updated DOM output - fixed/updated ARIA attributes - `EuiComboBox` option elements were updated to render `div role="option"` instead of `button` - `EuiSelectable` and `EuiComboBox` now use `VariableSizeList` instead of `FixedSizeList` component internally from `react-window` 3. Custom implementation cleanup - removal/adjustment of (some) custom styles ### Screenshots >[!important] While this PR updated all usages required due to prop changes, it is not possible to visually verify all usages of the above mentioned affected components due to the large amount of usages across the entirety of Kibana.⚠️ PLEASE ENSURE TO REVIEW YOUR OWNED UIs and verify nothing is unexpectedly broken. The visual comparison examples shared below are **A SMALL SELECTION, NOT A COMPLETE SET OF IMPLEMENTATIONS**. **EuiSelectable** | feature | before | after | |---|---|---| | Space selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 43" src="https://github.com/user-attachments/assets/7198381a-bf74-433c-985c-1d23e741b83c" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 47" src="https://github.com/user-attachments/assets/1a84643c-2796-44a7-8154-c9b7c9d9df20" /> | | Discover > Data view selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 14" src="https://github.com/user-attachments/assets/36d92a1c-6248-4c94-a6bc-b21059c422c5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 10" src="https://github.com/user-attachments/assets/b69bf4dd-fc4a-4585-9630-dd6345e2f6bc" /> | | Dashboards > Overview > tags filter | <img width="1324" height="736" alt="Screenshot 2026-04-10 at 11 14 19" src="https://github.com/user-attachments/assets/b940a39d-a268-4d09-931e-cb3995400ba6" /> | <img width="1250" height="762" alt="Screenshot 2026-04-24 at 09 10 14" src="https://github.com/user-attachments/assets/63c659c7-57b4-46cb-ae35-74683bf6862a" /> | | Dashboard > options list control | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 36" src="https://github.com/user-attachments/assets/67d19756-b219-44e7-9d9e-c03d42d7e9bc" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 25" src="https://github.com/user-attachments/assets/d28c31f8-0de8-4bec-86f3-6d40de85dbba" /> | | Dashboards > Create Visualization > Visualization selection | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 22" src="https://github.com/user-attachments/assets/fc9b6268-bdde-43cb-8440-cfc358b1621e" /> | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 16" src="https://github.com/user-attachments/assets/063ba070-745b-4edb-9471-3fe81183fcbb" /> | | Stack management > Index Management > Index templates | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 41" src="https://github.com/user-attachments/assets/9db9bea6-3fd3-40b7-b709-8591966215e5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 22" src="https://github.com/user-attachments/assets/4e2776c7-1dfd-46da-92b8-1ff86e187331" /> | | Stack management > Data set quality > Integrations filter | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 05" src="https://github.com/user-attachments/assets/9e824be9-e1c5-4353-8465-348274a43de9" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 00" src="https://github.com/user-attachments/assets/81379b76-a957-4a1e-9621-d0401074ad97" /> | | Stack management > Data views > Field type filter | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 28" src="https://github.com/user-attachments/assets/988a0145-59e1-4ab9-b8cf-5e25d4244ea4" /> | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 24" src="https://github.com/user-attachments/assets/f7713c82-2514-4163-8170-067c871fac57" /> | | Elasticsearch > Playground > Add data | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 42" src="https://github.com/user-attachments/assets/19383bad-75e7-4e20-84d1-b49f4a075ab3" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 40" src="https://github.com/user-attachments/assets/1ccedb5c-e67a-4712-b27a-df17e9332a3a" /> | | Observability > Cases > Assignees filter | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 24 08" src="https://github.com/user-attachments/assets/2d62bfad-985b-4b4c-91f7-6958834a44b4" /> | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 23 57" src="https://github.com/user-attachments/assets/9d0f4deb-7444-4063-8b73-d28d10e7132a" /> | | Security > Detection rules > Installed rules > Last response filter | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 26" src="https://github.com/user-attachments/assets/ad983a5a-1f2b-4938-835f-4c2b77653024" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 22" src="https://github.com/user-attachments/assets/954f58d2-b2ce-43b2-bac0-ef7ffaa61276" /> | **EuiComboBox** | feature | before | after | |---|---|---| | Discover > Add filter > select a field | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 32" src="https://github.com/user-attachments/assets/6a6c7519-36ce-4e38-8de5-f321aa548d1b" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 12" src="https://github.com/user-attachments/assets/177673a7-6428-4ab7-a9a0-b5f760f60282" /> | | Maps > Edit layer > Layer styles | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 34" src="https://github.com/user-attachments/assets/9b546a84-1f54-4242-9f79-ec5d530f16ec" /> | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 40" src="https://github.com/user-attachments/assets/51746b65-70c9-4c98-a1a9-b52bc5dca858" /> | | Stack management > Roles > create role | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 55" src="https://github.com/user-attachments/assets/be86f6d7-47ee-41ee-9d0b-72a787f09f80" /> | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 50" src="https://github.com/user-attachments/assets/6424da49-0606-4fd0-8c0d-dca64010b783" /> | | Stack management > Content connectors > Create connector | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 10" src="https://github.com/user-attachments/assets/2f3ad88e-0cb1-4f6c-a457-a8a687b216ba" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 07" src="https://github.com/user-attachments/assets/10a436dc-9d5d-46bc-9aeb-aabda8383ee6" /> | | Elasticsearch > search applications > create | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 11" src="https://github.com/user-attachments/assets/5b75b49b-7e4b-4acc-bb72-f37e7988f17b" /> | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 09" src="https://github.com/user-attachments/assets/fc43b5be-27f4-41b1-be97-9811ae940842" /> | | Observability > Metrics Explorer | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 51" src="https://github.com/user-attachments/assets/b0666ec3-be15-4c30-ab57-54316401df79" /> | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 49" src="https://github.com/user-attachments/assets/a7112f58-428f-4f44-a888-577d3239166c" /> | **EuiListGroup** | feature | before | after | |---|---|---| | Classic Kibana side nav | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 33" src="https://github.com/user-attachments/assets/21e4f692-5024-4ccd-953d-8e53db69b272" /> | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 03" src="https://github.com/user-attachments/assets/5b7c71c8-950a-4115-8a39-b5a2c4408861" /> | | Classic Kibana Security side nav | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 43 12" src="https://github.com/user-attachments/assets/7eaf48b5-7120-4467-8638-6012aab55445" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 42 41" src="https://github.com/user-attachments/assets/8d6cdf24-45a6-42fb-aa4b-2f7dcb79158a" /> | | Stack management > Saved objects > copy to spaces | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 27" src="https://github.com/user-attachments/assets/5e1e358c-c896-431e-9da1-d6699cd197ef" /> | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 24" src="https://github.com/user-attachments/assets/379a89e2-0921-4469-963a-be7b54386b46" /> | **EuiContextMenu** | feature | before | after | |---|---|---| | Header help menu | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 35 00" src="https://github.com/user-attachments/assets/1e1140a4-7991-4c2d-b181-7cb975aac284" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 34 47" src="https://github.com/user-attachments/assets/18a91106-afd6-4367-9faa-327bccbb6f9a" /> | | Discover > Query menu | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 03 35" src="https://github.com/user-attachments/assets/7b81bab8-2bde-45fa-ab9a-a1033e1e31c5" /> | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 02 45" src="https://github.com/user-attachments/assets/fcf04539-8a9b-4cf9-b0fd-f24b0c35288c" /> | | Discover > Query menu subpanel | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 37" src="https://github.com/user-attachments/assets/eeb287f3-2155-41e7-b98e-1d85d8bc802e" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 32" src="https://github.com/user-attachments/assets/7b9a8514-4b87-4928-89d3-5ed0555929f3" /> | | Discover > Filter by field type | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 15" src="https://github.com/user-attachments/assets/64f3fbed-61e6-4b17-b9bd-96dd2015dc62" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 02" src="https://github.com/user-attachments/assets/73e362de-b302-4bad-a55e-9b9709699f48" /> | | Discover > More menu | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 43" src="https://github.com/user-attachments/assets/861ef10e-022f-4ee9-8f04-5385330544e0" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 42" src="https://github.com/user-attachments/assets/915ad9aa-b35b-4cbc-a84e-de95353f8971" /> | | Discover > Opened tabs menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 36" src="https://github.com/user-attachments/assets/f9b75086-8954-46d2-9d20-6c39287fd9b4" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 31" src="https://github.com/user-attachments/assets/06987bbc-896e-4750-b467-37aa36ba82e8" /> | | Dashboards > Add menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 28" src="https://github.com/user-attachments/assets/332f8e31-1145-4286-8c79-a431707039a2" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 25" src="https://github.com/user-attachments/assets/66c51a2c-83fd-4c30-9550-a22076dd16c1" /> | | Dashboards > panel settings menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 33" src="https://github.com/user-attachments/assets/a75ee739-87e8-4346-9b0f-3b072af70322" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 30" src="https://github.com/user-attachments/assets/e6eb6232-250e-4750-bd74-0c8182104d72" /> | | Security > Rules > Create Rule | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 27" src="https://github.com/user-attachments/assets/f553ba9c-9f4e-403a-a717-bc6d077d3565" /> | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 24" src="https://github.com/user-attachments/assets/836bd729-cb56-481d-917d-c2f311388ed3" /> | | Observability > Infrastructure > Infrastructure inventory | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 49" src="https://github.com/user-attachments/assets/588fe78d-6edd-4457-abce-79588ee0ac8f" /> | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 47" src="https://github.com/user-attachments/assets/47dac7f7-d4ac-4441-8969-91c142c2e793" /> | | ML > Anomaly explorer > job menu | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 26" src="https://github.com/user-attachments/assets/094d16fe-bad8-4173-975c-948faa5d3779" /> | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 22" src="https://github.com/user-attachments/assets/6f0bd7ae-5a98-4eec-8326-a5ec51e829b8" /> | **EuiSuperSelect** | feature | before | after | |---|---|---| | Security > Entity analytics > Priviledged user monitoring | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 28" src="https://github.com/user-attachments/assets/ef9417ee-395b-4c6a-b61a-594a2e328a5c" /> | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 27" src="https://github.com/user-attachments/assets/cdfbe256-c77c-4890-9efc-921ec583a7c4" /> | | Observability > Synthetics > Settings > Create private location | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 49 51" src="https://github.com/user-attachments/assets/174d1896-915f-40ae-95b0-8f64f659582a" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 48 27" src="https://github.com/user-attachments/assets/64d494a1-eb13-41b7-b8b0-832dc4a8a28f" /> | | Agent build > New agent | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 38" src="https://github.com/user-attachments/assets/9e247e14-97ea-40be-a371-c7d058b371b7" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 33" src="https://github.com/user-attachments/assets/2b90e431-14f2-48b6-9960-57df41f7e71b" /> | | Agent build > New tool | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 16" src="https://github.com/user-attachments/assets/1d9f9690-8176-40c6-85ec-0387666ffa37" /> | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 14" src="https://github.com/user-attachments/assets/a64ae1ec-0767-4785-9b2d-d417c807a784" /> | | Dev tools > config | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 52" src="https://github.com/user-attachments/assets/8dd1c131-642a-42db-b046-f89924e98dd3" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 49" src="https://github.com/user-attachments/assets/89ccadfb-f2ef-46ee-91f7-498e216457c9" /> | | Elasticsearch > index management > create index | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 48" src="https://github.com/user-attachments/assets/8927968f-160d-4000-a58e-e5eccf436594" /> | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 45" src="https://github.com/user-attachments/assets/f1387fbc-003c-4a17-aa0a-17e4317b3d08" /> | --------- Co-authored-by: kibanamachine <[email protected]>
`@elastic/eui` - v115.0.0 ⏩ v116.0.0 `@elastic/eui-theme-borealis` - v7.0.0 ⏩ v8.0.0 `@elastic/eui-theme-common` - v9.0.0 ⏩ v10.0.0 📖 Find the full changelog for the included EUI updates [here](https://github.com/elastic/eui/releases/tag/v116.0.0) <details><summary>Toggle to see the full EUI changelog</summary> <br /> `@elastic/eui` `v116.0.0` - Updated `EuiSuperSelect` to not open the listbox if no `options` are passed. ([#9645](elastic/eui#9645)) - Added `external` prop on `EuiContextMenuItem` to control rendering an icon for external links ([#9606](elastic/eui#9606)) - Updated `EuiSuperSelectItem` to use `EuiListItemLayout` ([#9603](elastic/eui#9603)) - Updated `EuiListGroupItem` to use `EuiListItemLayout` ([#9579](elastic/eui#9579)) - Updated `EuiSelectableListItem` to use the shared `EuiListItemLayout` component to align layout and styles between list components ([#9532](elastic/eui#9532)) - Updated `EuiSelectableTemplateSitewide` option text spacing from `4px` to `2px` ([#9532](elastic/eui#9532)) - Added a padding on `EuiDataGrid`s column actions popover ([#9515](elastic/eui#9515)) - Updated `EuiSelectableList` and `EuiSelectableListItem` styles ([#9411](elastic/eui#9411)) - Updated `EuiSelectableListItem` to use `EuiCheckboxControl` for `singleSelection=false` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableList` overflow scroll styles to use `animation-timeline` ([#9411](elastic/eui#9411)) - Updated `EuiSelectableSearch`'s `compressed` default value to `true` ([#9411](elastic/eui#9411)) - Updated `EuiContextMenuItem` to use `EuiListItemLayout` ([#9600](elastic/eui#9600)) - Added `EuiContextMenuPanelTitle` component and changed the back button to be a standalone icon button instead of the entire title element ([#9600](elastic/eui#9600)) - Added `height` prop on `EuiContextMenu` and `EuiContextMenuPanel`. When set, the panel will be scrollable if overflown. ([#9600](elastic/eui#9600)) - Added `EuiCheckboxControl` component which renders the presentational-only control element ([#9401](elastic/eui#9401)) - Updated `EuiCheckbox` to use `EuiCheckboxControl` ([#9401](elastic/eui#9401)) - Updated `EuiComboBox`'s listbox and list item styles by using `EuiListItemLayout` ([#9538](elastic/eui#9538)) - Updated the rendered output element of `EuiComboBoxOptionsList`'s list items from `button` to `li` ([#9538](elastic/eui#9538)) - Updated `EuiComboBox` to exclude disabled options from list navigation (aligning with native `<select>` behavior) ([#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([#9538](elastic/eui#9538)) - Added opt-in `onFocusBadge` prop on `EuiComboBox` and `EuiComboBoxOptionsList`. By default the "Enter" badge is not shown anymore. ([#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList`'s list item `id` to use a stable array index to ensure `aria-activedescendant` isn't stale. ([#9538](elastic/eui#9538)) **Bug fixes** - Fixed `EuiComboBox` opening the popover on focus when `noSuggestions=true` ([#9515](elastic/eui#9515)) **Deprecations** - Deprecated `layoutAlign` prop on `EuiContextMenuItem` ([#9600](elastic/eui#9600)) **Breaking changes** - Removed `itemLayoutAlign` prop from `EuiSuperSelect` ([#9603](elastic/eui#9603)) - Removed `hasDividers` prop on `EuiSuperSelectItem` ([#9603](elastic/eui#9603)) - Removed support for `EuiContextMenuItemProps` on `EuiSuperSelectItem` (uses `EuiListItemLayoutProps` instead) ([#9603](elastic/eui#9603)) - Removed `gutterSize` and `flush` props on `EuiListGroup` ([#9579](elastic/eui#9579)) - Removed `size` prop on `EuiListGroup` and `EuiListGroupItem` ([#9579](elastic/eui#9579)) - Removed component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` - Removed `paddingSize` prop from `EuiSelectableListItem` ([#9411](elastic/eui#9411)) - Removed `size` prop from `EuiContextMenu`, `EuiContextMenuPanel` and `EuiContextMenuItem` (uses previous `s` size statically) ([#9600](elastic/eui#9600)) **Accessibility** - Improved the accessibility of `EuiSuperSelect` by fixing the value of `aria-activedescendant` to reflect the current navigated option instead of the selected one ([#9603](elastic/eui#9603)) - Improved the accessibility of `EuiContextMenuPanel` and `EuiContextMenuItem` by adding roles `menu`/`menuitem` and `aria-haspopup` for nested panels. ([#9600](elastic/eui#9600)) `@elastic/eui-theme-borealis` `v8.0.0` **Breaking changes** - Removed component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` `@elastic/eui-theme-common` `v10.0.0` **Breaking changes** - Removed types for component tokens: ([#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` </details> This PR introduces changes to EUI selection list components that update their visual styles and align them between them. The updated components are: - `EuiSelectable` - `EuiComboBox` - `EuiListGroup` - `EuiContextMenu` - `EuiSuperSelect` >[!tip] See this [QA document ](https://docs.google.com/document/d/1lz6zlIfEanLDpAGcngWqODNy9eloS--TFfQJ0pZIYe0/edit?usp=sharing)for a detailed overview of the API and visual changes on EUI side. The changes in this PR can be categorized in 3 main groups: 1. **prop updates**: - updated usages of `paddingSize` on `EuiSelectableList`. It was changed to apply a padding on the list container instead of controlling child list item paddings - updated usages of `EuiSelectable` inside `EuiPopover` to match the new expected design to apply a padding on either the entire popover container via `panelPaddingSize` (if it only contains a `EuiSelectable` or otherwise on the `EuiSelectableList` container - cleanup usages of removed props component | prop | comment -- | -- | -- EuiSelectable | paddingSize | Updated. Adds a padding on the list container instead of controlling list item padding. EuiSelectableListItem | paddingSize | Removed. EuiSelectableSearch | compressed | Updated. Changed the default value to true. EuiComboBoxList | onFocusBadge | Added. Conditionally render a badge on keyboard navigation that indicates Enter key should be pressed for selection. EuiListGroup, EuiListGroupItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiListGroup | gutterSize | Removed. Styles are handled strictly internally. EuiListGroup | flush | Removed. Not required anymore since size was removed. EuiContextMenu, EuiContextMenuPanel, EuiContextMenuItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiContextMenu, EuiContextMenuPanel | height | Added. When set, it enables a scrollable context menu panel. EuiContextMenuItem | layoutAlign | Deprecated. Will be removed in the future. Item alignment will be handled strictly internally and match layoutAlign=”center”. EuiContextMenuItem | external | Added. The default is undefined. It controls if an icon should be rendered when the item renders as external link. It renders the icon by default. EuiSuperSelect, EuiSuperSelectItem | hasDividers | Removed. New design specs don’t expect dividers. EuiSuperSelect | itemLayoutAlign | Removed. Item alignment is handled strictly internally. Matches previous itemLayoutAlign=”center”. 2. test and snapshot updates due to DOM render changes - EUI implemented a shared list item component `EuiListItemLayout` (which ensures shared styles and behavior across components) that results in updated DOM output - fixed/updated ARIA attributes - `EuiComboBox` option elements were updated to render `div role="option"` instead of `button` - `EuiSelectable` and `EuiComboBox` now use `VariableSizeList` instead of `FixedSizeList` component internally from `react-window` 3. Custom implementation cleanup - removal/adjustment of (some) custom styles >[!important] While this PR updated all usages required due to prop changes, it is not possible to visually verify all usages of the above mentioned affected components due to the large amount of usages across the entirety of Kibana.⚠️ PLEASE ENSURE TO REVIEW YOUR OWNED UIs and verify nothing is unexpectedly broken. The visual comparison examples shared below are **A SMALL SELECTION, NOT A COMPLETE SET OF IMPLEMENTATIONS**. **EuiSelectable** | feature | before | after | |---|---|---| | Space selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 43" src="https://github.com/user-attachments/assets/7198381a-bf74-433c-985c-1d23e741b83c" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 47" src="https://github.com/user-attachments/assets/1a84643c-2796-44a7-8154-c9b7c9d9df20" /> | | Discover > Data view selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 14" src="https://github.com/user-attachments/assets/36d92a1c-6248-4c94-a6bc-b21059c422c5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 10" src="https://github.com/user-attachments/assets/b69bf4dd-fc4a-4585-9630-dd6345e2f6bc" /> | | Dashboards > Overview > tags filter | <img width="1324" height="736" alt="Screenshot 2026-04-10 at 11 14 19" src="https://github.com/user-attachments/assets/b940a39d-a268-4d09-931e-cb3995400ba6" /> | <img width="1250" height="762" alt="Screenshot 2026-04-24 at 09 10 14" src="https://github.com/user-attachments/assets/63c659c7-57b4-46cb-ae35-74683bf6862a" /> | | Dashboard > options list control | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 36" src="https://github.com/user-attachments/assets/67d19756-b219-44e7-9d9e-c03d42d7e9bc" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 25" src="https://github.com/user-attachments/assets/d28c31f8-0de8-4bec-86f3-6d40de85dbba" /> | | Dashboards > Create Visualization > Visualization selection | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 22" src="https://github.com/user-attachments/assets/fc9b6268-bdde-43cb-8440-cfc358b1621e" /> | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 16" src="https://github.com/user-attachments/assets/063ba070-745b-4edb-9471-3fe81183fcbb" /> | | Stack management > Index Management > Index templates | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 41" src="https://github.com/user-attachments/assets/9db9bea6-3fd3-40b7-b709-8591966215e5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 22" src="https://github.com/user-attachments/assets/4e2776c7-1dfd-46da-92b8-1ff86e187331" /> | | Stack management > Data set quality > Integrations filter | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 05" src="https://github.com/user-attachments/assets/9e824be9-e1c5-4353-8465-348274a43de9" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 00" src="https://github.com/user-attachments/assets/81379b76-a957-4a1e-9621-d0401074ad97" /> | | Stack management > Data views > Field type filter | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 28" src="https://github.com/user-attachments/assets/988a0145-59e1-4ab9-b8cf-5e25d4244ea4" /> | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 24" src="https://github.com/user-attachments/assets/f7713c82-2514-4163-8170-067c871fac57" /> | | Elasticsearch > Playground > Add data | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 42" src="https://github.com/user-attachments/assets/19383bad-75e7-4e20-84d1-b49f4a075ab3" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 40" src="https://github.com/user-attachments/assets/1ccedb5c-e67a-4712-b27a-df17e9332a3a" /> | | Observability > Cases > Assignees filter | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 24 08" src="https://github.com/user-attachments/assets/2d62bfad-985b-4b4c-91f7-6958834a44b4" /> | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 23 57" src="https://github.com/user-attachments/assets/9d0f4deb-7444-4063-8b73-d28d10e7132a" /> | | Security > Detection rules > Installed rules > Last response filter | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 26" src="https://github.com/user-attachments/assets/ad983a5a-1f2b-4938-835f-4c2b77653024" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 22" src="https://github.com/user-attachments/assets/954f58d2-b2ce-43b2-bac0-ef7ffaa61276" /> | **EuiComboBox** | feature | before | after | |---|---|---| | Discover > Add filter > select a field | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 32" src="https://github.com/user-attachments/assets/6a6c7519-36ce-4e38-8de5-f321aa548d1b" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 12" src="https://github.com/user-attachments/assets/177673a7-6428-4ab7-a9a0-b5f760f60282" /> | | Maps > Edit layer > Layer styles | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 34" src="https://github.com/user-attachments/assets/9b546a84-1f54-4242-9f79-ec5d530f16ec" /> | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 40" src="https://github.com/user-attachments/assets/51746b65-70c9-4c98-a1a9-b52bc5dca858" /> | | Stack management > Roles > create role | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 55" src="https://github.com/user-attachments/assets/be86f6d7-47ee-41ee-9d0b-72a787f09f80" /> | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 50" src="https://github.com/user-attachments/assets/6424da49-0606-4fd0-8c0d-dca64010b783" /> | | Stack management > Content connectors > Create connector | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 10" src="https://github.com/user-attachments/assets/2f3ad88e-0cb1-4f6c-a457-a8a687b216ba" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 07" src="https://github.com/user-attachments/assets/10a436dc-9d5d-46bc-9aeb-aabda8383ee6" /> | | Elasticsearch > search applications > create | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 11" src="https://github.com/user-attachments/assets/5b75b49b-7e4b-4acc-bb72-f37e7988f17b" /> | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 09" src="https://github.com/user-attachments/assets/fc43b5be-27f4-41b1-be97-9811ae940842" /> | | Observability > Metrics Explorer | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 51" src="https://github.com/user-attachments/assets/b0666ec3-be15-4c30-ab57-54316401df79" /> | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 49" src="https://github.com/user-attachments/assets/a7112f58-428f-4f44-a888-577d3239166c" /> | **EuiListGroup** | feature | before | after | |---|---|---| | Classic Kibana side nav | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 33" src="https://github.com/user-attachments/assets/21e4f692-5024-4ccd-953d-8e53db69b272" /> | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 03" src="https://github.com/user-attachments/assets/5b7c71c8-950a-4115-8a39-b5a2c4408861" /> | | Classic Kibana Security side nav | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 43 12" src="https://github.com/user-attachments/assets/7eaf48b5-7120-4467-8638-6012aab55445" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 42 41" src="https://github.com/user-attachments/assets/8d6cdf24-45a6-42fb-aa4b-2f7dcb79158a" /> | | Stack management > Saved objects > copy to spaces | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 27" src="https://github.com/user-attachments/assets/5e1e358c-c896-431e-9da1-d6699cd197ef" /> | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 24" src="https://github.com/user-attachments/assets/379a89e2-0921-4469-963a-be7b54386b46" /> | **EuiContextMenu** | feature | before | after | |---|---|---| | Header help menu | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 35 00" src="https://github.com/user-attachments/assets/1e1140a4-7991-4c2d-b181-7cb975aac284" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 34 47" src="https://github.com/user-attachments/assets/18a91106-afd6-4367-9faa-327bccbb6f9a" /> | | Discover > Query menu | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 03 35" src="https://github.com/user-attachments/assets/7b81bab8-2bde-45fa-ab9a-a1033e1e31c5" /> | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 02 45" src="https://github.com/user-attachments/assets/fcf04539-8a9b-4cf9-b0fd-f24b0c35288c" /> | | Discover > Query menu subpanel | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 37" src="https://github.com/user-attachments/assets/eeb287f3-2155-41e7-b98e-1d85d8bc802e" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 32" src="https://github.com/user-attachments/assets/7b9a8514-4b87-4928-89d3-5ed0555929f3" /> | | Discover > Filter by field type | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 15" src="https://github.com/user-attachments/assets/64f3fbed-61e6-4b17-b9bd-96dd2015dc62" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 02" src="https://github.com/user-attachments/assets/73e362de-b302-4bad-a55e-9b9709699f48" /> | | Discover > More menu | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 43" src="https://github.com/user-attachments/assets/861ef10e-022f-4ee9-8f04-5385330544e0" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 42" src="https://github.com/user-attachments/assets/915ad9aa-b35b-4cbc-a84e-de95353f8971" /> | | Discover > Opened tabs menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 36" src="https://github.com/user-attachments/assets/f9b75086-8954-46d2-9d20-6c39287fd9b4" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 31" src="https://github.com/user-attachments/assets/06987bbc-896e-4750-b467-37aa36ba82e8" /> | | Dashboards > Add menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 28" src="https://github.com/user-attachments/assets/332f8e31-1145-4286-8c79-a431707039a2" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 25" src="https://github.com/user-attachments/assets/66c51a2c-83fd-4c30-9550-a22076dd16c1" /> | | Dashboards > panel settings menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 33" src="https://github.com/user-attachments/assets/a75ee739-87e8-4346-9b0f-3b072af70322" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 30" src="https://github.com/user-attachments/assets/e6eb6232-250e-4750-bd74-0c8182104d72" /> | | Security > Rules > Create Rule | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 27" src="https://github.com/user-attachments/assets/f553ba9c-9f4e-403a-a717-bc6d077d3565" /> | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 24" src="https://github.com/user-attachments/assets/836bd729-cb56-481d-917d-c2f311388ed3" /> | | Observability > Infrastructure > Infrastructure inventory | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 49" src="https://github.com/user-attachments/assets/588fe78d-6edd-4457-abce-79588ee0ac8f" /> | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 47" src="https://github.com/user-attachments/assets/47dac7f7-d4ac-4441-8969-91c142c2e793" /> | | ML > Anomaly explorer > job menu | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 26" src="https://github.com/user-attachments/assets/094d16fe-bad8-4173-975c-948faa5d3779" /> | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 22" src="https://github.com/user-attachments/assets/6f0bd7ae-5a98-4eec-8326-a5ec51e829b8" /> | **EuiSuperSelect** | feature | before | after | |---|---|---| | Security > Entity analytics > Priviledged user monitoring | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 28" src="https://github.com/user-attachments/assets/ef9417ee-395b-4c6a-b61a-594a2e328a5c" /> | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 27" src="https://github.com/user-attachments/assets/cdfbe256-c77c-4890-9efc-921ec583a7c4" /> | | Observability > Synthetics > Settings > Create private location | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 49 51" src="https://github.com/user-attachments/assets/174d1896-915f-40ae-95b0-8f64f659582a" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 48 27" src="https://github.com/user-attachments/assets/64d494a1-eb13-41b7-b8b0-832dc4a8a28f" /> | | Agent build > New agent | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 38" src="https://github.com/user-attachments/assets/9e247e14-97ea-40be-a371-c7d058b371b7" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 33" src="https://github.com/user-attachments/assets/2b90e431-14f2-48b6-9960-57df41f7e71b" /> | | Agent build > New tool | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 16" src="https://github.com/user-attachments/assets/1d9f9690-8176-40c6-85ec-0387666ffa37" /> | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 14" src="https://github.com/user-attachments/assets/a64ae1ec-0767-4785-9b2d-d417c807a784" /> | | Dev tools > config | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 52" src="https://github.com/user-attachments/assets/8dd1c131-642a-42db-b046-f89924e98dd3" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 49" src="https://github.com/user-attachments/assets/89ccadfb-f2ef-46ee-91f7-498e216457c9" /> | | Elasticsearch > index management > create index | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 48" src="https://github.com/user-attachments/assets/8927968f-160d-4000-a58e-e5eccf436594" /> | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 45" src="https://github.com/user-attachments/assets/f1387fbc-003c-4a17-aa0a-17e4317b3d08" /> | --------- Co-authored-by: kibanamachine <[email protected]>
## Dependency updates `@elastic/eui` - v115.0.0 ⏩ v116.0.0 `@elastic/eui-theme-borealis` - v7.0.0 ⏩ v8.0.0 `@elastic/eui-theme-common` - v9.0.0 ⏩ v10.0.0 ## Package updates ### EUI changelog 📖 Find the full changelog for the included EUI updates [here](https://github.com/elastic/eui/releases/tag/v116.0.0) <details><summary>Toggle to see the full EUI changelog</summary> <br /> `@elastic/eui` `v116.0.0` - Updated `EuiSuperSelect` to not open the listbox if no `options` are passed. ([elastic#9645](elastic/eui#9645)) - Added `external` prop on `EuiContextMenuItem` to control rendering an icon for external links ([elastic#9606](elastic/eui#9606)) - Updated `EuiSuperSelectItem` to use `EuiListItemLayout` ([elastic#9603](elastic/eui#9603)) - Updated `EuiListGroupItem` to use `EuiListItemLayout` ([elastic#9579](elastic/eui#9579)) - Updated `EuiSelectableListItem` to use the shared `EuiListItemLayout` component to align layout and styles between list components ([elastic#9532](elastic/eui#9532)) - Updated `EuiSelectableTemplateSitewide` option text spacing from `4px` to `2px` ([elastic#9532](elastic/eui#9532)) - Added a padding on `EuiDataGrid`s column actions popover ([elastic#9515](elastic/eui#9515)) - Updated `EuiSelectableList` and `EuiSelectableListItem` styles ([elastic#9411](elastic/eui#9411)) - Updated `EuiSelectableListItem` to use `EuiCheckboxControl` for `singleSelection=false` ([elastic#9411](elastic/eui#9411)) - Updated `EuiSelectableList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([elastic#9411](elastic/eui#9411)) - Updated `EuiSelectableList` overflow scroll styles to use `animation-timeline` ([elastic#9411](elastic/eui#9411)) - Updated `EuiSelectableSearch`'s `compressed` default value to `true` ([elastic#9411](elastic/eui#9411)) - Updated `EuiContextMenuItem` to use `EuiListItemLayout` ([elastic#9600](elastic/eui#9600)) - Added `EuiContextMenuPanelTitle` component and changed the back button to be a standalone icon button instead of the entire title element ([elastic#9600](elastic/eui#9600)) - Added `height` prop on `EuiContextMenu` and `EuiContextMenuPanel`. When set, the panel will be scrollable if overflown. ([elastic#9600](elastic/eui#9600)) - Added `EuiCheckboxControl` component which renders the presentational-only control element ([elastic#9401](elastic/eui#9401)) - Updated `EuiCheckbox` to use `EuiCheckboxControl` ([elastic#9401](elastic/eui#9401)) - Updated `EuiComboBox`'s listbox and list item styles by using `EuiListItemLayout` ([elastic#9538](elastic/eui#9538)) - Updated the rendered output element of `EuiComboBoxOptionsList`'s list items from `button` to `li` ([elastic#9538](elastic/eui#9538)) - Updated `EuiComboBox` to exclude disabled options from list navigation (aligning with native `<select>` behavior) ([elastic#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList` to use `VariableSizeList` instead of `FixedSizeList` from `react-window` ([elastic#9538](elastic/eui#9538)) - Added opt-in `onFocusBadge` prop on `EuiComboBox` and `EuiComboBoxOptionsList`. By default the "Enter" badge is not shown anymore. ([elastic#9538](elastic/eui#9538)) - Updated `EuiComboBoxOptionsList`'s list item `id` to use a stable array index to ensure `aria-activedescendant` isn't stale. ([elastic#9538](elastic/eui#9538)) **Bug fixes** - Fixed `EuiComboBox` opening the popover on focus when `noSuggestions=true` ([elastic#9515](elastic/eui#9515)) **Deprecations** - Deprecated `layoutAlign` prop on `EuiContextMenuItem` ([elastic#9600](elastic/eui#9600)) **Breaking changes** - Removed `itemLayoutAlign` prop from `EuiSuperSelect` ([elastic#9603](elastic/eui#9603)) - Removed `hasDividers` prop on `EuiSuperSelectItem` ([elastic#9603](elastic/eui#9603)) - Removed support for `EuiContextMenuItemProps` on `EuiSuperSelectItem` (uses `EuiListItemLayoutProps` instead) ([elastic#9603](elastic/eui#9603)) - Removed `gutterSize` and `flush` props on `EuiListGroup` ([elastic#9579](elastic/eui#9579)) - Removed `size` prop on `EuiListGroup` and `EuiListGroupItem` ([elastic#9579](elastic/eui#9579)) - Removed component tokens: ([elastic#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` - Removed `paddingSize` prop from `EuiSelectableListItem` ([elastic#9411](elastic/eui#9411)) - Removed `size` prop from `EuiContextMenu`, `EuiContextMenuPanel` and `EuiContextMenuItem` (uses previous `s` size statically) ([elastic#9600](elastic/eui#9600)) **Accessibility** - Improved the accessibility of `EuiSuperSelect` by fixing the value of `aria-activedescendant` to reflect the current navigated option instead of the selected one ([elastic#9603](elastic/eui#9603)) - Improved the accessibility of `EuiContextMenuPanel` and `EuiContextMenuItem` by adding roles `menu`/`menuitem` and `aria-haspopup` for nested panels. ([elastic#9600](elastic/eui#9600)) `@elastic/eui-theme-borealis` `v8.0.0` **Breaking changes** - Removed component tokens: ([elastic#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` `@elastic/eui-theme-common` `v10.0.0` **Breaking changes** - Removed types for component tokens: ([elastic#9579](elastic/eui#9579)) - `components.listGroupItemBackgroundPrimaryActive` - `components.listGroupItemBackgroundSubduedActive` - `components.listGroupItemBackgroundHover` - `components.listGroupItemBackgroundPrimaryHover` </details> This PR introduces changes to EUI selection list components that update their visual styles and align them between them. The updated components are: - `EuiSelectable` - `EuiComboBox` - `EuiListGroup` - `EuiContextMenu` - `EuiSuperSelect` >[!tip] See this [QA document ](https://docs.google.com/document/d/1lz6zlIfEanLDpAGcngWqODNy9eloS--TFfQJ0pZIYe0/edit?usp=sharing)for a detailed overview of the API and visual changes on EUI side. ## Changes in this PR The changes in this PR can be categorized in 3 main groups: 1. **prop updates**: - updated usages of `paddingSize` on `EuiSelectableList`. It was changed to apply a padding on the list container instead of controlling child list item paddings - updated usages of `EuiSelectable` inside `EuiPopover` to match the new expected design to apply a padding on either the entire popover container via `panelPaddingSize` (if it only contains a `EuiSelectable` or otherwise on the `EuiSelectableList` container - cleanup usages of removed props component | prop | comment -- | -- | -- EuiSelectable | paddingSize | Updated. Adds a padding on the list container instead of controlling list item padding. EuiSelectableListItem | paddingSize | Removed. EuiSelectableSearch | compressed | Updated. Changed the default value to true. EuiComboBoxList | onFocusBadge | Added. Conditionally render a badge on keyboard navigation that indicates Enter key should be pressed for selection. EuiListGroup, EuiListGroupItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiListGroup | gutterSize | Removed. Styles are handled strictly internally. EuiListGroup | flush | Removed. Not required anymore since size was removed. EuiContextMenu, EuiContextMenuPanel, EuiContextMenuItem | size | Removed. Styles are handled strictly internally. Matches previous size=”s”. EuiContextMenu, EuiContextMenuPanel | height | Added. When set, it enables a scrollable context menu panel. EuiContextMenuItem | layoutAlign | Deprecated. Will be removed in the future. Item alignment will be handled strictly internally and match layoutAlign=”center”. EuiContextMenuItem | external | Added. The default is undefined. It controls if an icon should be rendered when the item renders as external link. It renders the icon by default. EuiSuperSelect, EuiSuperSelectItem | hasDividers | Removed. New design specs don’t expect dividers. EuiSuperSelect | itemLayoutAlign | Removed. Item alignment is handled strictly internally. Matches previous itemLayoutAlign=”center”. 2. test and snapshot updates due to DOM render changes - EUI implemented a shared list item component `EuiListItemLayout` (which ensures shared styles and behavior across components) that results in updated DOM output - fixed/updated ARIA attributes - `EuiComboBox` option elements were updated to render `div role="option"` instead of `button` - `EuiSelectable` and `EuiComboBox` now use `VariableSizeList` instead of `FixedSizeList` component internally from `react-window` 3. Custom implementation cleanup - removal/adjustment of (some) custom styles ### Screenshots >[!important] While this PR updated all usages required due to prop changes, it is not possible to visually verify all usages of the above mentioned affected components due to the large amount of usages across the entirety of Kibana.⚠️ PLEASE ENSURE TO REVIEW YOUR OWNED UIs and verify nothing is unexpectedly broken. The visual comparison examples shared below are **A SMALL SELECTION, NOT A COMPLETE SET OF IMPLEMENTATIONS**. **EuiSelectable** | feature | before | after | |---|---|---| | Space selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 43" src="https://github.com/user-attachments/assets/7198381a-bf74-433c-985c-1d23e741b83c" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 10 13 47" src="https://github.com/user-attachments/assets/1a84643c-2796-44a7-8154-c9b7c9d9df20" /> | | Discover > Data view selector | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 14" src="https://github.com/user-attachments/assets/36d92a1c-6248-4c94-a6bc-b21059c422c5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 33 10" src="https://github.com/user-attachments/assets/b69bf4dd-fc4a-4585-9630-dd6345e2f6bc" /> | | Dashboards > Overview > tags filter | <img width="1324" height="736" alt="Screenshot 2026-04-10 at 11 14 19" src="https://github.com/user-attachments/assets/b940a39d-a268-4d09-931e-cb3995400ba6" /> | <img width="1250" height="762" alt="Screenshot 2026-04-24 at 09 10 14" src="https://github.com/user-attachments/assets/63c659c7-57b4-46cb-ae35-74683bf6862a" /> | | Dashboard > options list control | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 36" src="https://github.com/user-attachments/assets/67d19756-b219-44e7-9d9e-c03d42d7e9bc" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 12 36 25" src="https://github.com/user-attachments/assets/d28c31f8-0de8-4bec-86f3-6d40de85dbba" /> | | Dashboards > Create Visualization > Visualization selection | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 22" src="https://github.com/user-attachments/assets/fc9b6268-bdde-43cb-8440-cfc358b1621e" /> | <img width="1249" height="667" alt="Screenshot 2026-04-21 at 11 33 16" src="https://github.com/user-attachments/assets/063ba070-745b-4edb-9471-3fe81183fcbb" /> | | Stack management > Index Management > Index templates | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 41" src="https://github.com/user-attachments/assets/9db9bea6-3fd3-40b7-b709-8591966215e5" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 14 44 22" src="https://github.com/user-attachments/assets/4e2776c7-1dfd-46da-92b8-1ff86e187331" /> | | Stack management > Data set quality > Integrations filter | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 05" src="https://github.com/user-attachments/assets/9e824be9-e1c5-4353-8465-348274a43de9" /> | <img width="1325" height="1328" alt="Screenshot 2026-04-02 at 16 11 00" src="https://github.com/user-attachments/assets/81379b76-a957-4a1e-9621-d0401074ad97" /> | | Stack management > Data views > Field type filter | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 28" src="https://github.com/user-attachments/assets/988a0145-59e1-4ab9-b8cf-5e25d4244ea4" /> | <img width="1249" height="901" alt="Screenshot 2026-04-22 at 09 01 24" src="https://github.com/user-attachments/assets/f7713c82-2514-4163-8170-067c871fac57" /> | | Elasticsearch > Playground > Add data | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 42" src="https://github.com/user-attachments/assets/19383bad-75e7-4e20-84d1-b49f4a075ab3" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 46 40" src="https://github.com/user-attachments/assets/1ccedb5c-e67a-4712-b27a-df17e9332a3a" /> | | Observability > Cases > Assignees filter | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 24 08" src="https://github.com/user-attachments/assets/2d62bfad-985b-4b4c-91f7-6958834a44b4" /> | <img width="1250" height="799" alt="Screenshot 2026-04-24 at 09 23 57" src="https://github.com/user-attachments/assets/9d0f4deb-7444-4063-8b73-d28d10e7132a" /> | | Security > Detection rules > Installed rules > Last response filter | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 26" src="https://github.com/user-attachments/assets/ad983a5a-1f2b-4938-835f-4c2b77653024" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 35 22" src="https://github.com/user-attachments/assets/954f58d2-b2ce-43b2-bac0-ef7ffaa61276" /> | **EuiComboBox** | feature | before | after | |---|---|---| | Discover > Add filter > select a field | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 32" src="https://github.com/user-attachments/assets/6a6c7519-36ce-4e38-8de5-f321aa548d1b" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 10 05 12" src="https://github.com/user-attachments/assets/177673a7-6428-4ab7-a9a0-b5f760f60282" /> | | Maps > Edit layer > Layer styles | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 34" src="https://github.com/user-attachments/assets/9b546a84-1f54-4242-9f79-ec5d530f16ec" /> | <img width="1250" height="871" alt="Screenshot 2026-04-24 at 10 05 40" src="https://github.com/user-attachments/assets/51746b65-70c9-4c98-a1a9-b52bc5dca858" /> | | Stack management > Roles > create role | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 55" src="https://github.com/user-attachments/assets/be86f6d7-47ee-41ee-9d0b-72a787f09f80" /> | <img width="1324" height="1326" alt="Screenshot 2026-04-10 at 11 28 50" src="https://github.com/user-attachments/assets/6424da49-0606-4fd0-8c0d-dca64010b783" /> | | Stack management > Content connectors > Create connector | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 10" src="https://github.com/user-attachments/assets/2f3ad88e-0cb1-4f6c-a457-a8a687b216ba" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 05 07" src="https://github.com/user-attachments/assets/10a436dc-9d5d-46bc-9aeb-aabda8383ee6" /> | | Elasticsearch > search applications > create | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 11" src="https://github.com/user-attachments/assets/5b75b49b-7e4b-4acc-bb72-f37e7988f17b" /> | <img width="1250" height="707" alt="Screenshot 2026-04-24 at 10 40 09" src="https://github.com/user-attachments/assets/fc43b5be-27f4-41b1-be97-9811ae940842" /> | | Observability > Metrics Explorer | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 51" src="https://github.com/user-attachments/assets/b0666ec3-be15-4c30-ab57-54316401df79" /> | <img width="1250" height="808" alt="Screenshot 2026-04-24 at 10 45 49" src="https://github.com/user-attachments/assets/a7112f58-428f-4f44-a888-577d3239166c" /> | **EuiListGroup** | feature | before | after | |---|---|---| | Classic Kibana side nav | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 33" src="https://github.com/user-attachments/assets/21e4f692-5024-4ccd-953d-8e53db69b272" /> | <img width="293" height="1327" alt="Screenshot 2026-04-17 at 10 54 03" src="https://github.com/user-attachments/assets/5b7c71c8-950a-4115-8a39-b5a2c4408861" /> | | Classic Kibana Security side nav | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 43 12" src="https://github.com/user-attachments/assets/7eaf48b5-7120-4467-8638-6012aab55445" /> | <img width="1249" height="801" alt="Screenshot 2026-04-21 at 11 42 41" src="https://github.com/user-attachments/assets/8d6cdf24-45a6-42fb-aa4b-2f7dcb79158a" /> | | Stack management > Saved objects > copy to spaces | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 27" src="https://github.com/user-attachments/assets/5e1e358c-c896-431e-9da1-d6699cd197ef" /> | <img width="1248" height="706" alt="Screenshot 2026-04-22 at 10 13 24" src="https://github.com/user-attachments/assets/379a89e2-0921-4469-963a-be7b54386b46" /> | **EuiContextMenu** | feature | before | after | |---|---|---| | Header help menu | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 35 00" src="https://github.com/user-attachments/assets/1e1140a4-7991-4c2d-b181-7cb975aac284" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 18 34 47" src="https://github.com/user-attachments/assets/18a91106-afd6-4367-9faa-327bccbb6f9a" /> | | Discover > Query menu | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 03 35" src="https://github.com/user-attachments/assets/7b81bab8-2bde-45fa-ab9a-a1033e1e31c5" /> | <img width="1330" height="585" alt="Screenshot 2026-04-17 at 12 02 45" src="https://github.com/user-attachments/assets/fcf04539-8a9b-4cf9-b0fd-f24b0c35288c" /> | | Discover > Query menu subpanel | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 37" src="https://github.com/user-attachments/assets/eeb287f3-2155-41e7-b98e-1d85d8bc802e" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 16 11 32" src="https://github.com/user-attachments/assets/7b9a8514-4b87-4928-89d3-5ed0555929f3" /> | | Discover > Filter by field type | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 15" src="https://github.com/user-attachments/assets/64f3fbed-61e6-4b17-b9bd-96dd2015dc62" /> | <img width="1250" height="710" alt="Screenshot 2026-04-24 at 09 50 02" src="https://github.com/user-attachments/assets/73e362de-b302-4bad-a55e-9b9709699f48" /> | | Discover > More menu | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 43" src="https://github.com/user-attachments/assets/861ef10e-022f-4ee9-8f04-5385330544e0" /> | <img width="1249" height="598" alt="Screenshot 2026-04-21 at 09 59 42" src="https://github.com/user-attachments/assets/915ad9aa-b35b-4cbc-a84e-de95353f8971" /> | | Discover > Opened tabs menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 36" src="https://github.com/user-attachments/assets/f9b75086-8954-46d2-9d20-6c39287fd9b4" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 07 31" src="https://github.com/user-attachments/assets/06987bbc-896e-4750-b467-37aa36ba82e8" /> | | Dashboards > Add menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 28" src="https://github.com/user-attachments/assets/332f8e31-1145-4286-8c79-a431707039a2" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 10 13 25" src="https://github.com/user-attachments/assets/66c51a2c-83fd-4c30-9550-a22076dd16c1" /> | | Dashboards > panel settings menu | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 33" src="https://github.com/user-attachments/assets/a75ee739-87e8-4346-9b0f-3b072af70322" /> | <img width="1249" height="629" alt="Screenshot 2026-04-21 at 11 19 30" src="https://github.com/user-attachments/assets/e6eb6232-250e-4750-bd74-0c8182104d72" /> | | Security > Rules > Create Rule | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 27" src="https://github.com/user-attachments/assets/f553ba9c-9f4e-403a-a717-bc6d077d3565" /> | <img width="1248" height="564" alt="Screenshot 2026-04-22 at 14 36 24" src="https://github.com/user-attachments/assets/836bd729-cb56-481d-917d-c2f311388ed3" /> | | Observability > Infrastructure > Infrastructure inventory | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 49" src="https://github.com/user-attachments/assets/588fe78d-6edd-4457-abce-79588ee0ac8f" /> | <img width="1250" height="988" alt="Screenshot 2026-04-24 at 09 26 47" src="https://github.com/user-attachments/assets/47dac7f7-d4ac-4441-8969-91c142c2e793" /> | | ML > Anomaly explorer > job menu | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 26" src="https://github.com/user-attachments/assets/094d16fe-bad8-4173-975c-948faa5d3779" /> | <img width="1250" height="690" alt="Screenshot 2026-04-24 at 10 20 22" src="https://github.com/user-attachments/assets/6f0bd7ae-5a98-4eec-8326-a5ec51e829b8" /> | **EuiSuperSelect** | feature | before | after | |---|---|---| | Security > Entity analytics > Priviledged user monitoring | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 28" src="https://github.com/user-attachments/assets/ef9417ee-395b-4c6a-b61a-594a2e328a5c" /> | <img width="1248" height="1326" alt="Screenshot 2026-04-22 at 14 30 27" src="https://github.com/user-attachments/assets/cdfbe256-c77c-4890-9efc-921ec583a7c4" /> | | Observability > Synthetics > Settings > Create private location | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 49 51" src="https://github.com/user-attachments/assets/174d1896-915f-40ae-95b0-8f64f659582a" /> | <img width="1248" height="684" alt="Screenshot 2026-04-22 at 14 48 27" src="https://github.com/user-attachments/assets/64d494a1-eb13-41b7-b8b0-832dc4a8a28f" /> | | Agent build > New agent | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 38" src="https://github.com/user-attachments/assets/9e247e14-97ea-40be-a371-c7d058b371b7" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 33 33" src="https://github.com/user-attachments/assets/2b90e431-14f2-48b6-9960-57df41f7e71b" /> | | Agent build > New tool | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 16" src="https://github.com/user-attachments/assets/1d9f9690-8176-40c6-85ec-0387666ffa37" /> | <img width="1250" height="648" alt="Screenshot 2026-04-24 at 10 35 14" src="https://github.com/user-attachments/assets/a64ae1ec-0767-4785-9b2d-d417c807a784" /> | | Dev tools > config | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 52" src="https://github.com/user-attachments/assets/8dd1c131-642a-42db-b046-f89924e98dd3" /> | <img width="1250" height="1327" alt="Screenshot 2026-04-24 at 10 37 49" src="https://github.com/user-attachments/assets/89ccadfb-f2ef-46ee-91f7-498e216457c9" /> | | Elasticsearch > index management > create index | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 48" src="https://github.com/user-attachments/assets/8927968f-160d-4000-a58e-e5eccf436594" /> | <img width="1250" height="933" alt="Screenshot 2026-04-24 at 10 41 45" src="https://github.com/user-attachments/assets/f1387fbc-003c-4a17-aa0a-17e4317b3d08" /> | --------- Co-authored-by: kibanamachine <[email protected]>
Summary
Important
This PR merges into a feature branch: feat/selectable-ui-enhancements
This PR introduces the new (sub)component
EuiCheckboxControlwhich renders the presentational parts ofEuiCheckboxonly (checkbox state icons), whileEuiCheckboximplementsEuiCheckboxControland applies full functionality.This update allows to use visual checkbox elements without applied checkbox semantics and functionality, e.g. inside of list options as visual selection indicators.
Additionally this separation between display and functional component allows us to support additional visual states (e.g. "excluded") for presentational use in lists without exposing this in
EuiCheckbox.Component API
checkedbooleanfalseindeterminatebooleanfalseexcludedbooleanfalsedisabledbooleanfalseWhy are we making this change?
💅 UI improvements: This update is part of the Selectable UI enhancements. It enables the usage of visual checkboxes inside selectable list items.
Screenshots #
Impact to users
🟢 No updates are required. This is a new component that replaces internals of
EuiCheckbox.QA
Figma: https://www.figma.com/design/8q2TDWWDXUwKM8aAZ5KQLT/List-controls-unification?node-id=5110-9547&m=dev
EuiCheckboxrenders correctly and that there are no regressions with productionGeneral checklist
@defaultif default values are missing) and playground toggles