Skip to content

[eslint] Update button-group-no-invalid-children rule to support selection variant and add button-group-selection-require-id rule - #9950

Merged
mgadewoll merged 7 commits into
elastic:mainfrom
mgadewoll:buttongroup/eslint-no-invalid-children-selection
Aug 25, 2026

Conversation

@mgadewoll

@mgadewoll mgadewoll commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Note

This PR is related to #9929 which adds variant="selection" to EuiButtonGroup.
This PR should be rebased after merging the implementation PR.

  • What:
    • Extends the existing button-group-no-invalid-children ESLint rule with validation for variant="selection"
    • Adds a new button-group-selection-require-id rule that enforces a required id prop on each child button
  • Why: Part of the button group redesign work. selection variant behaves the same as segmented variants an we want to enforce expected children usage.
  • How:
    • Extends button-group-no-invalid-children to support checks on variant="selection"
    • Adds new rule button-group-selection-require-id which checks if button group children with variant="selection" each have an required id`
  • Refactors shared constants and utils for button group rule into a centralized place

Examples - button-group-no-invalid-children for variant="selection"

✅ valid

// EuiButton children only
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButton id="bold">Bold</EuiButton>
  <EuiButton id="italic">Italic</EuiButton>
</EuiButtonGroup>

// EuiButtonIcon children only
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButtonIcon id="bold" iconType="bold" aria-label="Bold" />
  <EuiButtonIcon id="italic" iconType="italic" aria-label="Italic" />
</EuiButtonGroup>

// EuiToolTip wrapping a valid button
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButton id="bold">Bold</EuiButton>
  <EuiToolTip content="Italic text">
    <EuiButton id="italic">Italic</EuiButton>
  </EuiToolTip>
</EuiButtonGroup>

❌ invalid

// EuiButtonEmpty is not valid for selection
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButtonEmpty color="text">Cancel</EuiButtonEmpty>
</EuiButtonGroup>

// mixing EuiButton and EuiButtonIcon is not allowed
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButton id="bold">Bold</EuiButton>
  <EuiButtonIcon id="italic" iconType="italic" aria-label="Italic" />
</EuiButtonGroup>

Examples - button-group-selection-require-id

✅ valid

<EuiButtonGroup legend="Format" variant="selection">
  <EuiButton id="bold">Bold</EuiButton>
  <EuiToolTip content="Italic">
    <EuiButton id="italic">Italic</EuiButton>
  </EuiToolTip>
  <EuiPopover button={<EuiButton id="more">More</EuiButton>} isOpen={false} closePopover={() => {}}>
    Panel content
  </EuiPopover>
</EuiButtonGroup>

❌ invalid

// missing id on direct child
<EuiButtonGroup legend="Format" variant="selection">
  <EuiButton>Bold</EuiButton>
</EuiButtonGroup>

// missing id on button inside EuiToolTip
<EuiButtonGroup legend="Format" variant="selection">
  <EuiToolTip content="Italic">
    <EuiButton>Italic</EuiButton>
  </EuiToolTip>
</EuiButtonGroup>

// missing id on EuiPopover trigger
<EuiButtonGroup legend="Format" variant="selection">
  <EuiPopover button={<EuiButton>More</EuiButton>} isOpen={false} closePopover={() => {}}>
    Panel content
  </EuiPopover>
</EuiButtonGroup>

What the rules validate for variant="selection"

  1. button-group-no-invalid-children:
  • Valid direct children: EuiButton, EuiButtonIcon
  • Valid wrappers: same as other variants (EuiToolTip, EuiPopover, EuiCopy)
  • Mixed types: reports invalidMixedTypes when both EuiButton and EuiButtonIcon appear in the same group
  1. button-group-selection-require-id:
  • Reports missingId for any EuiButton/EuiButtonIcon without an explicit id attribute
  • Spread props ({...props}) are skipped conservatively (id may be passed via the spread)
  • Only fires for variant="selection" (static string); dynamic variants are skipped

API Changes

⚪ No API changes

Screenshots

Screenshot 2026-08-24 at 17 43 55 Screenshot 2026-08-24 at 17 43 15

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

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: {link to Figma or issue}
  • Migration guide: {steps or link, for breaking/visual changes or deprecations}
  • Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}

QA instructions for reviewer

  • CI passes
  • verify locally the rules apply and flag invalid usages
    • checkout the PR
    • run yarn workspace @elastic/eslint-plugin-eui build on root
    • run yarn workspace @elastic/eui build:workspaces on root
    • add a testing code example (e.g. see above) and run yarn workspace @elastic/eui lint on root

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.

@mgadewoll mgadewoll self-assigned this Aug 24, 2026

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

This PR updates the @elastic/eslint-plugin-eui rules that validate EuiButtonGroup Children API usage to support the new variant="selection" behavior and to enforce that selection children provide ids.

Changes:

  • Extend button-group-no-invalid-children validation to include variant="selection" and enforce the same “no mixed EuiButton/EuiButtonIcon types” rule as segmented.
  • Add button-group-selection-require-id to require id on EuiButton/EuiButtonIcon children (including supported wrappers) when variant="selection".
  • Refactor shared constants/utilities into centralized utils/ modules and update docs/changelog.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/eslint-plugin/src/utils/collect_jsx_children.ts New shared helper to collect JSX element “leaf” children via walkJsxChildren.
packages/eslint-plugin/src/utils/button_group_constants.ts Centralizes button-group-related constants (valid buttons/wrappers).
packages/eslint-plugin/src/rules/button_group_selection_require_id.ts New rule enforcing required id on selection-variant children (and supported wrapper patterns).
packages/eslint-plugin/src/rules/button_group_selection_require_id.test.ts Adds unit coverage for the new button-group-selection-require-id rule.
packages/eslint-plugin/src/rules/button_group_no_invalid_children.ts Updates existing rule to validate variant="selection" and generalizes mixed-type error messaging.
packages/eslint-plugin/src/rules/button_group_no_invalid_children.test.ts Updates/extends tests for selection variant validation and new mixed-type message shape.
packages/eslint-plugin/src/index.ts Registers the new rule and enables it in the recommended config.
packages/eslint-plugin/README.md Documents selection-variant behavior for both rules, including examples.
packages/eslint-plugin/changelogs/upcoming/9950.md Changelog entry for the rule update + new rule.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mgadewoll
mgadewoll marked this pull request as ready for review August 25, 2026 06:26
@mgadewoll
mgadewoll requested a review from a team as a code owner August 25, 2026 06:26

@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 🟢 Only one non-blocking comment.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @mgadewoll

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @mgadewoll

@mgadewoll
mgadewoll merged commit 8c87f60 into elastic:main Aug 25, 2026
1 check passed
AmirmAfzal pushed a commit to AmirmAfzal/eui that referenced this pull request Aug 27, 2026
…lection variant and add `button-group-selection-require-id` rule (elastic#9950)
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Sep 4, 2026
## Dependency updates

`@elastic/eui` - 119.1.0 ⏩ 120.0.0
`@elastic/eui-test-helpers` - 1.4.0 ⏩ 1.5.0
`@elastic/eslint-plugin-eui` - 2.16.0 ⏩ 3.0.0
`@elastic/eui-illustrations` - 1.0.1 ⏩ 1.0.2

> [!WARNING]
> Removed unused `EuiIcon` types
([#9884](elastic/eui#9884)): `branchUser`,
`continuityAboveBelow`, `continuityBelow`, `function`, `magnet`,
`pageSelect`, `securitySignalResolved`, `tear`.

## Package updates

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

- Updated `EuiButtonGroup` (Children API only):
([#9929](elastic/eui#9929))
    - Added `variant="selection"` to render the group as selection group
- Added `type` prop (values `'single' | 'multi'`) to switch between
single or multi selection
- Added `display` prop (values: `'regular' | 'highlighted' | 'inverse'`)
to render different visual variants
    - Added `idSelected` prop for single-state selection
    - Added `idToSelectedMap` prop for multi-state selection
    - Added `onChange` prop which returns the selected child button `id`
- Added `cloudBolt`, `cloudRain`, `cloudSun`, `kubernetesNamespace`,
`productTimelion`, `productTSVB`, `push`, `transitionRightIn`, and
`transitionRightOut` glyphs to `EuiIcon`
([#9923](elastic/eui#9923))
- Updated the `cube`, `memory`, and `wrench` glyphs in `EuiIcon` with
redesigned artwork ([#9923](elastic/eui#9923))
- Updated search synonyms for the `bolt`, `memory`, `plugs`, and
`wrench` glyphs in `EuiIcon`
([#9923](elastic/eui#9923))
- Updated `EuiResizableContainer` collapse buttons to use the
`transition*` glyphs in place of the `menu*` glyphs
([#9923](elastic/eui#9923))
- Hid undocumented `swatchInput` from glyph docs by categorizing it as
`internal` ([#9884](elastic/eui#9884))

**Bug fixes**

- Fixed `EuiDatePicker` throwing an error in React 19 when opening the
month or year dropdown
([#9960](elastic/eui#9960))
- Fixed the icon documentation listing glyphs and Elastic logos out of
alphabetical order ([#9923](elastic/eui#9923))

**Deprecations**

- Updated deprecated icon alias mappings:
([#9974](elastic/eui#9974))
    - `folderClosed` and `folderClose` → `folder`
- Deprecated the `cloudDrizzle`, `cloudStormy`, `cloudSunny`,
`kqlFunction`, `namespace`, `visTimelion`, and `visVisualBuilder`
`EuiIcon` types in favor of `cloudRain`, `cloudBolt`, `cloudSun`,
`push`, `kubernetesNamespace`, `productTimelion`, and `productTSVB`
respectively. The deprecated types now render the new glyphs, no longer
appear in the icon documentation, and will be removed in a future
release ([#9923](elastic/eui#9923))
- Deprecated the `menuDown` and `menuUp` `EuiIcon` types in favor of
`transitionBottomOut` and `transitionTopOut` respectively. The
deprecated types now render the new glyphs, no longer appear in the icon
documentation, and will be removed in a future release
([#9923](elastic/eui#9923))
- Deprecated `EuiIcon` types with no replacement:
([#9884](elastic/eui#9884))
    - `article`
    - `dotInCircle`
    - `kubernetesNode`
    - `scale`
    - `securitySignalDetected`
- Deprecated `EuiIcon` types with a contextual replacement:
([#9884](elastic/eui#9884))
- `folderExclamation` — `linkSlash` (unlink) or `hourglass` (Cases
status)
- `stopFill` / `stopSlash` — `EuiColorPickerSwatch` for color chips or
`stop` otherwise
- Deprecated `EuiIcon` types (use the replacements):
([#9884](elastic/eui#9884))
    - `analyzeEvent` → `cube`
    - `annotation` → `flag`
    - `anomalySwimLane` → `chartHeatmap`
    - `apps` → `grid`
    - `container` → `package`
    - `continuityAbove` → `upload`
    - `continuityWithin` → `maximize`
    - `esqlVis` → `query`
    - `fold` → `minimize`
    - `frameNext` → `chevronSingleRight`
    - `framePrevious` → `chevronSingleLeft`
    - `help` → `question`
    - `index` → `table`
    - `ip` → `tokenIP`
    - `logstashFilter` → `filter`
    - `logstashInput` → `download`
    - `logstashOutput` → `upload`
    - `payment` → `money`
    - `sessionViewer` → `commandLine`
    - `singleMetricViewer` → `chartArea`
    - `spaces` → `grid`
    - `starEmptySpace` → `star`
    - `starFillSpace` → `starFill`
    - `starMinusEmpty` → `star`
    - `starMinusFill` → `starFill`
    - `starPlusEmpty` → `star`
    - `starPlusFill` → `starFill`
    - `stats` → `chartLine`
    - `string` → `tokenString`
    - `tableOfContents` → `listBullet`
    - `unfold` → `maximize`
    - `visGoal` → `chartGauge`
    - `wordWrap` → `lineBreak`
    - `wordWrapDisabled` → `lineBreakSlash`

**Breaking changes**

- Removed unused `EuiIcon` types:
([#9884](elastic/eui#9884))
    - `branchUser`
    - `continuityAboveBelow`
    - `continuityBelow`
    - `function`
    - `magnet`
    - `pageSelect`
    - `securitySignalResolved`
    - `tear`

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

- Updated `button-group-no-invalid-children` rule to support checking
button groups with `variant="selection"`
([#9950](elastic/eui#9950))
- Added new `button-group-selection-require-id` rule to enforce a
required `id` prop on each child button of `EuiButtonGroup` with
`variant="selection"`
([#9950](elastic/eui#9950))
- Updated `@elastic/eui/no-deprecated-icon-aliases` with the newly
deprecated `cloudDrizzle`, `cloudStormy`, `cloudSunny`, `kqlFunction`,
`menuDown`, `menuUp`, `namespace`, `visTimelion`, and `visVisualBuilder`
icon aliases ([#9923](elastic/eui#9923))
- Updated `button-group-no-invalid-children` rule to support segmented
variant checks ([#9890](elastic/eui#9890))
- Updated `no-deprecated-icon-aliases` with icons that have no
replacement: ([#9884](elastic/eui#9884))
    - `article`
    - `dotInCircle`
    - `kubernetesNode`
    - `scale`
    - `securitySignalDetected`
- Updated `no-deprecated-icon-aliases` with icons that have a contextual
replacement (warn only, no autofix):
([#9884](elastic/eui#9884))
- `folderExclamation` - `linkSlash` (unlink) or `hourglass` (Kibana
Cases status)
- `stopFill` / `stopSlash` - `EuiColorPickerSwatch` for color chips or
`stop` otherwise
- Updated `no-deprecated-icon-aliases` with new icon aliases:
([#9884](elastic/eui#9884))
    - `analyzeEvent` → `cube`
    - `annotation` → `flag`
    - `anomalySwimLane` → `chartHeatmap`
    - `apps` → `grid`
    - `container` → `package`
    - `continuityAbove` → `upload`
    - `continuityWithin` → `maximize`
    - `esqlVis` → `query`
    - `fold` → `minimize`
    - `frameNext` → `chevronSingleRight`
    - `framePrevious` → `chevronSingleLeft`
    - `help` → `question`
    - `index` → `table`
    - `ip` → `tokenIP`
    - `logstashFilter` → `filter`
    - `logstashInput` → `download`
    - `logstashOutput` → `upload`
    - `payment` → `money`
    - `sessionViewer` → `commandLine`
    - `singleMetricViewer` → `chartArea`
    - `spaces` → `grid`
    - `starEmptySpace` → `star`
    - `starFillSpace` → `starFill`
    - `starMinusEmpty` → `star`
    - `starMinusFill` → `starFill`
    - `starPlusEmpty` → `star`
    - `starPlusFill` → `starFill`
    - `stats` → `chartLine`
    - `string` → `tokenString`
    - `tableOfContents` → `listBullet`
    - `unfold` → `maximize`
    - `visGoal` → `chartGauge`
    - `wordWrap` → `lineBreak`
    - `wordWrapDisabled` → `lineBreakSlash`
- Updated `starFilledSpace`, `starMinusFilled` and `starPlusFilled`
mappings to `starFill`
([#9884](elastic/eui#9884))

**Deprecations**

- Updated deprecated icon alias mappings:
([#9974](elastic/eui#9974))
    - `folderClosed` and `folderClose` → `folder`

**Breaking changes**

- Removed the `push` icon alias from
`@elastic/eui/no-deprecated-icon-aliases`. `push` is now a supported
`EuiIcon` glyph again and is no longer autofixed to `send`
([#9923](elastic/eui#9923))

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

**Bug fixes**

- Fixed illustrations rendering cropped when more than one was inlined
on the same page ([#9973](elastic/eui#9973))

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

- Added `EuiRangeObject`, a Playwright Component Object for
`EuiRange`/`EuiDualRange`
([#9957](elastic/eui#9957))
- Added `EuiDraggableObject` with `reorder(steps)`
([#9936](elastic/eui#9936))
- Added `EuiBasicTableObject` with `rows` and `cells(field)`
([#9933](elastic/eui#9933))
- Added `EuiFilterButtonObject`, a Playwright Component Object for
`EuiFilterButton` ([#9942](elastic/eui#9942))
juliaElastic pushed a commit to juliaElastic/kibana that referenced this pull request Sep 4, 2026
## Dependency updates

`@elastic/eui` - 119.1.0 ⏩ 120.0.0
`@elastic/eui-test-helpers` - 1.4.0 ⏩ 1.5.0
`@elastic/eslint-plugin-eui` - 2.16.0 ⏩ 3.0.0
`@elastic/eui-illustrations` - 1.0.1 ⏩ 1.0.2

> [!WARNING]
> Removed unused `EuiIcon` types
([elastic#9884](elastic/eui#9884)): `branchUser`,
`continuityAboveBelow`, `continuityBelow`, `function`, `magnet`,
`pageSelect`, `securitySignalResolved`, `tear`.

## Package updates

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

- Updated `EuiButtonGroup` (Children API only):
([elastic#9929](elastic/eui#9929))
    - Added `variant="selection"` to render the group as selection group
- Added `type` prop (values `'single' | 'multi'`) to switch between
single or multi selection
- Added `display` prop (values: `'regular' | 'highlighted' | 'inverse'`)
to render different visual variants
    - Added `idSelected` prop for single-state selection
    - Added `idToSelectedMap` prop for multi-state selection
    - Added `onChange` prop which returns the selected child button `id`
- Added `cloudBolt`, `cloudRain`, `cloudSun`, `kubernetesNamespace`,
`productTimelion`, `productTSVB`, `push`, `transitionRightIn`, and
`transitionRightOut` glyphs to `EuiIcon`
([elastic#9923](elastic/eui#9923))
- Updated the `cube`, `memory`, and `wrench` glyphs in `EuiIcon` with
redesigned artwork ([elastic#9923](elastic/eui#9923))
- Updated search synonyms for the `bolt`, `memory`, `plugs`, and
`wrench` glyphs in `EuiIcon`
([elastic#9923](elastic/eui#9923))
- Updated `EuiResizableContainer` collapse buttons to use the
`transition*` glyphs in place of the `menu*` glyphs
([elastic#9923](elastic/eui#9923))
- Hid undocumented `swatchInput` from glyph docs by categorizing it as
`internal` ([elastic#9884](elastic/eui#9884))

**Bug fixes**

- Fixed `EuiDatePicker` throwing an error in React 19 when opening the
month or year dropdown
([elastic#9960](elastic/eui#9960))
- Fixed the icon documentation listing glyphs and Elastic logos out of
alphabetical order ([elastic#9923](elastic/eui#9923))

**Deprecations**

- Updated deprecated icon alias mappings:
([elastic#9974](elastic/eui#9974))
    - `folderClosed` and `folderClose` → `folder`
- Deprecated the `cloudDrizzle`, `cloudStormy`, `cloudSunny`,
`kqlFunction`, `namespace`, `visTimelion`, and `visVisualBuilder`
`EuiIcon` types in favor of `cloudRain`, `cloudBolt`, `cloudSun`,
`push`, `kubernetesNamespace`, `productTimelion`, and `productTSVB`
respectively. The deprecated types now render the new glyphs, no longer
appear in the icon documentation, and will be removed in a future
release ([elastic#9923](elastic/eui#9923))
- Deprecated the `menuDown` and `menuUp` `EuiIcon` types in favor of
`transitionBottomOut` and `transitionTopOut` respectively. The
deprecated types now render the new glyphs, no longer appear in the icon
documentation, and will be removed in a future release
([elastic#9923](elastic/eui#9923))
- Deprecated `EuiIcon` types with no replacement:
([elastic#9884](elastic/eui#9884))
    - `article`
    - `dotInCircle`
    - `kubernetesNode`
    - `scale`
    - `securitySignalDetected`
- Deprecated `EuiIcon` types with a contextual replacement:
([elastic#9884](elastic/eui#9884))
- `folderExclamation` — `linkSlash` (unlink) or `hourglass` (Cases
status)
- `stopFill` / `stopSlash` — `EuiColorPickerSwatch` for color chips or
`stop` otherwise
- Deprecated `EuiIcon` types (use the replacements):
([elastic#9884](elastic/eui#9884))
    - `analyzeEvent` → `cube`
    - `annotation` → `flag`
    - `anomalySwimLane` → `chartHeatmap`
    - `apps` → `grid`
    - `container` → `package`
    - `continuityAbove` → `upload`
    - `continuityWithin` → `maximize`
    - `esqlVis` → `query`
    - `fold` → `minimize`
    - `frameNext` → `chevronSingleRight`
    - `framePrevious` → `chevronSingleLeft`
    - `help` → `question`
    - `index` → `table`
    - `ip` → `tokenIP`
    - `logstashFilter` → `filter`
    - `logstashInput` → `download`
    - `logstashOutput` → `upload`
    - `payment` → `money`
    - `sessionViewer` → `commandLine`
    - `singleMetricViewer` → `chartArea`
    - `spaces` → `grid`
    - `starEmptySpace` → `star`
    - `starFillSpace` → `starFill`
    - `starMinusEmpty` → `star`
    - `starMinusFill` → `starFill`
    - `starPlusEmpty` → `star`
    - `starPlusFill` → `starFill`
    - `stats` → `chartLine`
    - `string` → `tokenString`
    - `tableOfContents` → `listBullet`
    - `unfold` → `maximize`
    - `visGoal` → `chartGauge`
    - `wordWrap` → `lineBreak`
    - `wordWrapDisabled` → `lineBreakSlash`

**Breaking changes**

- Removed unused `EuiIcon` types:
([elastic#9884](elastic/eui#9884))
    - `branchUser`
    - `continuityAboveBelow`
    - `continuityBelow`
    - `function`
    - `magnet`
    - `pageSelect`
    - `securitySignalResolved`
    - `tear`

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

- Updated `button-group-no-invalid-children` rule to support checking
button groups with `variant="selection"`
([elastic#9950](elastic/eui#9950))
- Added new `button-group-selection-require-id` rule to enforce a
required `id` prop on each child button of `EuiButtonGroup` with
`variant="selection"`
([elastic#9950](elastic/eui#9950))
- Updated `@elastic/eui/no-deprecated-icon-aliases` with the newly
deprecated `cloudDrizzle`, `cloudStormy`, `cloudSunny`, `kqlFunction`,
`menuDown`, `menuUp`, `namespace`, `visTimelion`, and `visVisualBuilder`
icon aliases ([elastic#9923](elastic/eui#9923))
- Updated `button-group-no-invalid-children` rule to support segmented
variant checks ([elastic#9890](elastic/eui#9890))
- Updated `no-deprecated-icon-aliases` with icons that have no
replacement: ([elastic#9884](elastic/eui#9884))
    - `article`
    - `dotInCircle`
    - `kubernetesNode`
    - `scale`
    - `securitySignalDetected`
- Updated `no-deprecated-icon-aliases` with icons that have a contextual
replacement (warn only, no autofix):
([elastic#9884](elastic/eui#9884))
- `folderExclamation` - `linkSlash` (unlink) or `hourglass` (Kibana
Cases status)
- `stopFill` / `stopSlash` - `EuiColorPickerSwatch` for color chips or
`stop` otherwise
- Updated `no-deprecated-icon-aliases` with new icon aliases:
([elastic#9884](elastic/eui#9884))
    - `analyzeEvent` → `cube`
    - `annotation` → `flag`
    - `anomalySwimLane` → `chartHeatmap`
    - `apps` → `grid`
    - `container` → `package`
    - `continuityAbove` → `upload`
    - `continuityWithin` → `maximize`
    - `esqlVis` → `query`
    - `fold` → `minimize`
    - `frameNext` → `chevronSingleRight`
    - `framePrevious` → `chevronSingleLeft`
    - `help` → `question`
    - `index` → `table`
    - `ip` → `tokenIP`
    - `logstashFilter` → `filter`
    - `logstashInput` → `download`
    - `logstashOutput` → `upload`
    - `payment` → `money`
    - `sessionViewer` → `commandLine`
    - `singleMetricViewer` → `chartArea`
    - `spaces` → `grid`
    - `starEmptySpace` → `star`
    - `starFillSpace` → `starFill`
    - `starMinusEmpty` → `star`
    - `starMinusFill` → `starFill`
    - `starPlusEmpty` → `star`
    - `starPlusFill` → `starFill`
    - `stats` → `chartLine`
    - `string` → `tokenString`
    - `tableOfContents` → `listBullet`
    - `unfold` → `maximize`
    - `visGoal` → `chartGauge`
    - `wordWrap` → `lineBreak`
    - `wordWrapDisabled` → `lineBreakSlash`
- Updated `starFilledSpace`, `starMinusFilled` and `starPlusFilled`
mappings to `starFill`
([elastic#9884](elastic/eui#9884))

**Deprecations**

- Updated deprecated icon alias mappings:
([elastic#9974](elastic/eui#9974))
    - `folderClosed` and `folderClose` → `folder`

**Breaking changes**

- Removed the `push` icon alias from
`@elastic/eui/no-deprecated-icon-aliases`. `push` is now a supported
`EuiIcon` glyph again and is no longer autofixed to `send`
([elastic#9923](elastic/eui#9923))

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

**Bug fixes**

- Fixed illustrations rendering cropped when more than one was inlined
on the same page ([elastic#9973](elastic/eui#9973))

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

- Added `EuiRangeObject`, a Playwright Component Object for
`EuiRange`/`EuiDualRange`
([elastic#9957](elastic/eui#9957))
- Added `EuiDraggableObject` with `reorder(steps)`
([elastic#9936](elastic/eui#9936))
- Added `EuiBasicTableObject` with `rows` and `cells(field)`
([elastic#9933](elastic/eui#9933))
- Added `EuiFilterButtonObject`, a Playwright Component Object for
`EuiFilterButton` ([elastic#9942](elastic/eui#9942))
weronikaolejniczak pushed a commit to boriskirov/eui that referenced this pull request Nov 11, 2026
…lection variant and add `button-group-selection-require-id` rule (elastic#9950)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants