Skip to content

[EuiDatePicker] Remove legacy string refs from react-datepicker dropdowns - #9960

Merged
weronikaolejniczak merged 2 commits into
elastic:mainfrom
ChrisJamesC:fix/react19-datepicker-string-refs
Aug 27, 2026
Merged

weronikaolejniczak merged 2 commits into
elastic:mainfrom
ChrisJamesC:fix/react19-datepicker-string-refs

Conversation

@ChrisJamesC

Copy link
Copy Markdown
Contributor

Summary

What: Removes three legacy string refs (ref="options") from the vendored react-datepicker dropdown components.

Why: Fixes #9009. On React 19, opening the month, year, or month/year dropdown throws during render:

Uncaught Error: Expected ref to be a function, an object returned by React.createRef(), or undefined/null.

React 19 removed legacy string refs. Because the throw happens in markRef during updateClassComponent, React unmounts the whole tree — so this takes down the consuming application, not just the date picker.

How: The offending props are in packages/eui/src/components/date_picker/react-datepicker/src/:

File Element
month_dropdown.js <MonthDropdownOptions ref="options">
year_dropdown.js <YearDropdownOptions ref="options">
month_year_dropdown.js <MonthYearDropdownOptions ref="options">

All three are dead code rather than something needing migration to callback refs — this.refs is not read anywhere in the package:

$ grep -rn 'this\.refs' packages/eui/src/
(no matches)

They appear to be residue from the upstream fork in #5339. Deleting them is therefore behaviour-preserving, which is why this is a deletion rather than a useRef/callback-ref migration.

Worth noting for reviewers: these files match an ESLint ignore pattern, so react/no-string-refs never had a chance to flag them. That's likely why they survived this long.

API Changes

None — no public prop, type, or token changes.

component / parent prop / child change description
— — — No public API change

Screenshots

Not applicable — no visual change. On React 16–18 the rendered output is byte-identical (all 42 existing date_picker snapshots pass unmodified). On React 19 the difference is "throws" vs. "works", which isn't meaningfully screenshottable.

Impact Assessment

  • 🔴 Breaking changes — None. No public API surface is touched.
  • 💅 Visual changes — None. Snapshots unchanged.
  • 🧪 Test impact — None. No HTML structure, class name, or default value changes.
  • 🔧 Hard to integrate — No Kibana changes required.

Impact level: 🟢 None

Release Readiness

  • Documentation — no documented behaviour changes.
  • Figma — no design changes.
  • Migration guide — no breaking or visual changes.
  • Adoption plan — bug fix, not a new feature.

QA instructions for reviewer

On React 16–18 (current supported range), this should be a no-op:

  • Open the EuiDatePicker docs or Storybook.
  • Confirm the month and year dropdowns still open, scroll, and select correctly (dropdownMode="scroll", the default).
  • Confirm dropdownMode="select" is unaffected.
  • Confirm EuiSuperDatePicker's absolute tab still works.

To verify the actual fix, a React 19 environment is required: render <EuiDatePicker showMonthDropdown showYearDropdown /> and open either dropdown. Before this change it throws; after, it behaves normally.

Checklist before marking Ready for Review

  • Filled out all sections above

  • QA: Tested light/dark modes, high contrast, mobile, Chrome/Safari/Edge/Firefox, keyboard-only, screen reader — not done; deletion of an unread ref with no rendered-output change

  • QA: Tested in CodeSandbox and Kibana — not done, happy to if the team wants it

  • QA: Tested docs changes — no docs changes

  • Tests: yarn test-unit src/components/date_picker — 18/18 suites, 188 passed, 1 skipped, 42 snapshots unchanged

    No new regression test: EUI's Jest environment runs React 18, where string refs still work, so the failure this fixes cannot be reproduced in the current test setup. A meaningful regression test depends on the React 19 test environment tracked in [Epic] React 19 support #8720.

  • Changelog: Added

  • Breaking changes: Added breaking change label — not applicable


Scope note: this does not make EUI React 19 compatible overall (#8720, #7774). It removes one hard crash. EuiFieldSearch (#9587) is still open, and the <StrictMode> work in #7774 is unaffected by this change.

@ChrisJamesC
ChrisJamesC requested a review from a team as a code owner August 27, 2026 09:11
@github-actions

Copy link
Copy Markdown

👋 Since this is a community submitted pull request, a Buildkite build has not been started automatically. Would an Elastic organization member please verify the contents of this pull request and kick off a build manually?

@github-actions github-actions Bot added the community contribution (Don't delete - used for automation) label Aug 27, 2026
ChrisJamesC added a commit to ChrisJamesC/eui that referenced this pull request Aug 27, 2026
…owns

React 19 removed support for legacy string refs. Rendering the month,
year, or month-year dropdown therefore throws "Expected ref to be a
function, an object returned by React.createRef(), or undefined/null"
and unmounts the surrounding tree, making EuiDatePicker unusable on
React 19 whenever showMonthDropdown / showYearDropdown is enabled.

The `ref="options"` props are dead code: `this.refs` is not read
anywhere in packages/eui/src, so removing them is behaviour-preserving.
Existing date_picker snapshots are unchanged.

Fixes elastic#9009

Co-Authored-By: Claude Opus 5 <[email protected]>
@ChrisJamesC
ChrisJamesC force-pushed the fix/react19-datepicker-string-refs branch from bd1259b to 24fee02 Compare August 27, 2026 10:22
@weronikaolejniczak

Copy link
Copy Markdown
Contributor

Hi @ChrisJamesC 👋🏻 we only accept community contributions for issues labelled as "help wanted". I encourage to look at that list and choose a task from it!

@ChrisJamesC

Copy link
Copy Markdown
Contributor Author

@weronikaolejniczak would there be a chance to consider this change as it fixes the date picker breaking in react 19?
I'd be happy to open an issue that would be labelled as "help wanted" if it can help.

This PR is only deleting 3 lines of dead code.

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

@ChrisJamesC if this is an issue that is personally affecting you when using EUI, we're happy to open the PR for review.

@ChrisJamesC

Copy link
Copy Markdown
Contributor Author

Thanks a lot for your consideration of my answer.

This is indeed an issue that's preventing us from using Elastic UI in our project that was upgraded with react-19.

Unfortunately we noticed only after the migration as the error makes the app crash when clicking specifically on the date picker month selector.

@github-actions

Copy link
Copy Markdown

👋 Since this is a community submitted pull request, a Buildkite build has not been started automatically. Would an Elastic organization member please verify the contents of this pull request and kick off a build manually?

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

I understand, thank you for the context @ChrisJamesC I'll review it now.

@ChrisJamesC

Copy link
Copy Markdown
Contributor Author

Thanks a lot @weronikaolejniczak !

I'll follow the process better for next contributions.

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

I think we are missing a string ref in month_dropdown_options.jsx and the month dropdown still crashes on React 19.

`ref={month}` is a string ref in expression form — `month` is the month
name from `monthNames.map()`, not a callback or ref object. React 19
throws on it just as it does on the `ref="options"` literals, so the
month dropdown still crashed after the previous commit.

Like the others, it is dead: `this.refs` is not read anywhere in
packages/eui/src.

Thanks @weronikaolejniczak for catching it.

Co-Authored-By: Claude Opus 5 <[email protected]>
@weronikaolejniczak

Copy link
Copy Markdown
Contributor

buildkite test this

@ChrisJamesC

Copy link
Copy Markdown
Contributor Author

You're right, and I've pushed a fix.

month_dropdown_options.jsx had ref={month}, where month is the month name string from monthNames.map((month, i) => …). Same legacy string ref, just written as an expression rather than a literal, which is why my original sweep for ref="…" missed it. Once the class-component refs were gone, this became the next thing to throw — hence the dropdown still crashing.

I've now checked every ref= in the vendored fork. The rest are callback refs, forwardRef, or this.setReadViewRef. The only other string refs are the commented-out ref={"upcoming"} / ref={"previous"} in year_dropdown_options.jsx, which are inert.

Like the others, this one is dead — this.refs isn't read anywhere in packages/eui/src — so removing it is behaviour-preserving.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

@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.

CI passes (i.e. no regression for versions we currently support) 🟢 Tested locally, both dropdowns work in Vite + React 19 🟢

Image Image

We're good to go! Thank you for the contribution and for understanding. In the future, if you'd like to work on an issue that isn't labelled "help wanted" what would help us is a sync in comments. Explain the need to have this issue fixed and let us know you'd like to propose a solution.

@weronikaolejniczak
weronikaolejniczak merged commit 630d5be into elastic:main Aug 27, 2026
1 check passed
@ChrisJamesC

Copy link
Copy Markdown
Contributor Author

@weronikaolejniczak thank you a lot.

For my own planning, what's your release schedule so I can know when to expect to get this fix? I have a local patch in the meantime.

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

@ChrisJamesC this should land in a release next week. I cannot say exactly when but we try to release weekly on Monday.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community contribution (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[React 19][EuiDatepicker] Errors out in React 19

2 participants