Skip to content

Update Emotion dependencies (main)#219585

Merged
tsullivan merged 21 commits intomainfrom
renovate/main-emotion-dependencies
Feb 2, 2026
Merged

Update Emotion dependencies (main)#219585
tsullivan merged 21 commits intomainfrom
renovate/main-emotion-dependencies

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Apr 29, 2025

This PR contains the following updates:

Package Type Update Change
@emotion/cache (source) dependencies minor 11.11.0 -> 11.14.0
@emotion/css (source) peerDependencies minor ^11.11.0 -> ^11.13.5
@emotion/css (source) dependencies minor 11.11.0 -> 11.13.5
@emotion/react (source) peerDependencies minor ^11.0.0 -> ^11.14.0
@emotion/react (source) dependencies minor 11.11.1 -> 11.14.0
@emotion/serialize (source) dependencies minor 1.1.2 -> 1.3.3
@emotion/styled (source) dependencies minor 11.11.0 -> 11.14.1

Release Notes

emotion-js/emotion (@​emotion/cache)

v11.14.0

Compare Source

Minor Changes
  • #​3277 8dc1a6d Thanks @​Andarist! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.

v11.13.5

Compare Source

Patch Changes
  • #​3270 77d930d Thanks @​emmatown! - Fix inconsistent hashes using development vs production bundles/exports conditions when using @emotion/babel-plugin with sourceMap: true (the default). This is particularly visible when using Emotion with the Next.js Pages router where the development condition is used when bundling code but not when importing external code with Node.js.

  • Updated dependencies [77d930d]:

v11.13.1

Compare Source

Patch Changes

v11.13.0

Compare Source

Minor Changes
  • #​3198 d8ff8a5 Thanks @​Andarist! - Migrated away from relying on process.env.NODE_ENV checks to differentiate between production and development builds.

    Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.

    Default files should continue to work in all environments.

  • #​3215 a9f6912 Thanks @​Andarist! - Added edge-light and workerd conditions to package.json manifest to better serve users using Vercel Edge and Cloudflare Workers.

Patch Changes

v11.12.0

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Risks

Things to test for during review of this PR. Check off the item we have verified during review

  • Ensure no change of auto labeling functionality for development instances
  • Ensure no change of auto labeling functionality for production build instances

@elastic-renovate-prod elastic-renovate-prod bot added the backport:all-open Backport to all branches that could still receive a release label Apr 29, 2025
@elastic-renovate-prod elastic-renovate-prod bot added release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// labels Apr 29, 2025
@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team as a code owner April 29, 2025 15:38
@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team April 29, 2025 15:38
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

Copy link
Copy Markdown
Contributor

@jeramysoucy jeramysoucy left a comment

Choose a reason for hiding this comment

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

Approving to unblock. Deferring review to owning team @elastic/appex-sharedux

@jeramysoucy
Copy link
Copy Markdown
Contributor

/ci

@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-emotion-dependencies branch from 1cf1997 to af0c092 Compare September 8, 2025 20:32
@tsullivan
Copy link
Copy Markdown
Member

/ci

@tsullivan tsullivan self-assigned this Sep 10, 2025
@tsullivan tsullivan requested review from a team as code owners September 17, 2025 17:26
@tsullivan tsullivan marked this pull request as draft September 17, 2025 17:42
@tsullivan
Copy link
Copy Markdown
Member

Converting to draft because of npm issues.

@elastic-renovate-prod elastic-renovate-prod bot changed the title Update Emotion dependencies (main) Update Emotion dependencies (main) - autoclosed Sep 17, 2025
@elastic-renovate-prod elastic-renovate-prod bot deleted the renovate/main-emotion-dependencies branch September 17, 2025 18:46
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update Emotion dependencies (main) - autoclosed Update Emotion dependencies (main) Sep 18, 2025
@kowalczyk-krzysztof
Copy link
Copy Markdown
Member

/ci

@tsullivan
Copy link
Copy Markdown
Member

It appears many Jest tests that rely on Enzyme fail because of this issue: emotion-js/emotion#1204

Thanks @kowalczyk-krzysztof

@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-emotion-dependencies branch 2 times, most recently from 4d19c52 to 04779c6 Compare January 12, 2026 17:03
@tsullivan tsullivan force-pushed the renovate/main-emotion-dependencies branch from 28cd2fc to 8dcf6b2 Compare January 12, 2026 20:43
@tsullivan tsullivan marked this pull request as ready for review January 12, 2026 20:44
@tsullivan tsullivan requested review from a team as code owners January 12, 2026 20:44
Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

ML changes LGTM (code review of 2 snapshot files)

@tsullivan tsullivan requested a review from csr January 28, 2026 21:16
Copy link
Copy Markdown
Contributor

@christineweng christineweng left a comment

Choose a reason for hiding this comment

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

x-pack/platform/plugins/shared/cases/public/components/link_icon/snapshots/index.test.tsx.snap LGTM

Copy link
Copy Markdown
Contributor

@opauloh opauloh left a comment

Choose a reason for hiding this comment

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

Session Viewer and Kubernetes Security changes LGTM

Copy link
Copy Markdown
Contributor

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

DataDiscovery changes LGTM

Copy link
Copy Markdown
Member

@pickypg pickypg left a comment

Choose a reason for hiding this comment

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

LGT Stack Monitoring

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.1MB 3.1MB +30.0B
cases 1.4MB 1.4MB +3.0B
contentConnectors 467.3KB 467.3KB +3.0B
embeddableAlertsTable 1018.0KB 1018.0KB +3.0B
enterpriseSearch 955.1KB 955.1KB +3.0B
fleet 2.2MB 2.2MB +5.0B
infra 1.2MB 1.2MB +10.0B
logsShared 193.0KB 193.0KB +3.0B
metricsDataAccess 77.8KB 77.8KB -9.0B
ml 5.6MB 5.6MB +3.0B
observability 1.8MB 1.8MB +3.0B
observabilityShared 36.5KB 36.5KB +5.0B
osquery 1.1MB 1.1MB +5.0B
searchIndices 215.9KB 215.9KB +3.0B
searchPlayground 246.2KB 246.2KB +3.0B
searchQueryRules 130.3KB 130.3KB -1.0B
securitySolution 10.9MB 10.9MB +14.0B
securitySolutionEss 49.2KB 49.2KB +10.0B
securitySolutionServerless 71.3KB 71.3KB +40.0B
streamsApp 1.6MB 1.6MB +5.0B
synthetics 1.0MB 1.0MB +5.0B
triggersActionsUi 1.6MB 1.6MB +5.0B
unifiedDocViewer 381.5KB 381.5KB +3.0B
ux 134.6KB 134.6KB +3.0B
total +157.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
elasticAssistant 313.8KB 313.8KB +3.0B
exploratoryView 40.0KB 40.0KB +5.0B
kbnUiSharedDeps-npmDll 6.5MB 6.5MB +66.0B
total +74.0B

History

cc @tsullivan

Copy link
Copy Markdown
Contributor

@baileycash-elastic baileycash-elastic left a comment

Choose a reason for hiding this comment

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

actionable-obs changes lgtm!

@tsullivan tsullivan enabled auto-merge (squash) February 2, 2026 02:12
@tsullivan tsullivan merged commit e5dbe95 into main Feb 2, 2026
16 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2, 9.3

https://github.com/elastic/kibana/actions/runs/21595043722

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts
9.3 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 219585

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 3, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 219585 locally
cc: @tsullivan

1 similar comment
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 219585 locally
cc: @tsullivan

tsullivan added a commit that referenced this pull request Feb 4, 2026
@tsullivan tsullivan added the backport:skip This PR does not require backporting label Feb 4, 2026
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 4, 2026
@tsullivan tsullivan removed the backport:all-open Backport to all branches that could still receive a release label Feb 4, 2026
@tsullivan
Copy link
Copy Markdown
Member

Reversion PR: #251711

tsullivan added a commit that referenced this pull request Feb 4, 2026
jbudz pushed a commit that referenced this pull request Feb 4, 2026
Reverts #219585

We found that the Emotion upgrade caused instability to integrations
using EUI flyouts. Presumably, this is happening in places where the UI
is cleaning up DOM nodes that include flyouts, without updating the
flyout state manager.



https://github.com/user-attachments/assets/eb17f798-1904-4e6a-8774-e53c0e0d8013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Duty:Core release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.