Skip to content

[8.19] Upgrade EUI to v103.0.0 (#223414)#224244

Merged
JasonStoltz merged 1 commit intoelastic:8.19from
JasonStoltz:backport/8.19/pr-223414
Jun 18, 2025
Merged

[8.19] Upgrade EUI to v103.0.0 (#223414)#224244
JasonStoltz merged 1 commit intoelastic:8.19from
JasonStoltz:backport/8.19/pr-223414

Conversation

@JasonStoltz
Copy link
Member

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

`102.3.0` ⏩ `103.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

[elastic#8736](elastic/eui#8736),
[elastic#8732](elastic/eui#8732), and
[elastic#8732](elastic/eui#8732) include a number of
small style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and
`EuiListGroupItem`.

[elastic#8756](elastic/eui#8756) and
[elastic#8744](elastic/eui#8744) rename a couple of
icons:

`questionInCircle` -> `question`
`iInCircle` > `info`

In both cases, the old name is **backwards-compatible** (unless
importing directly from `assets` folder (see more in the release notes
regarding that). However, the old name will eventually be deprecated as
a part of a larger set of deprecations.

**No action is required at this time to handle this renaming. We will
issue a dedicated PR to Kibana to replace the old names with the new
names in the future**

[elastic#8725](elastic/eui#8725) adds Sky Blue, Yellow,
and Orange palettes to EUI's [color
palettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),
as well as new tokens for Risk, Neutral, and Warning.

**[Breaking change]** Please note that as part of this change, the
following tokens have been renamed:
`euiColorVisNeutral0` -> `euiColorVisBase0`
`euiColorVisWarning0` -> `euiColorVisWarning1`

The original tokens still exist, but have been updated to use new colors
in a way that would be breaking. This PR updates the existing references
in 0b21d2d.

## Package updates

### `@elastic/eui`

## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)

- Replaced `question` icon glyph
([elastic#8756](elastic/eui#8756))
- Updated `EuiResizableCollapseButton` to use an empty button
([elastic#8736](elastic/eui#8736))
- Added `info` icon glyph
([elastic#8744](elastic/eui#8744))
- Removed uppercase styling from `EuiText` `h6` headings to match
`EuiTitle` ([elastic#8732](elastic/eui#8732))
- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes
for consistency ([elastic#8732](elastic/eui#8732))
- Updated the `font-weight` of default `EuiFilterButton` and
`EuiButtonGroupButton` to `450`
([elastic#8734](elastic/eui#8734))
- Added color pallete functions and related hooks:
([elastic#8725](elastic/eui#8725))
  - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`
  - `euiPaletteYellow`, `useEuiPaletteYellow`
  - `euiPaletteOrange`, `useEuiPaletteOrange`
- Added new tokens on `colors.vis`:
([elastic#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([elastic#8725](elastic/eui#8725))
- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage
values ([elastic#8705](elastic/eui#8705))

**Bug fixes**

- Fixed visual positioning issue for notifications in
`EuiHeaderSectionItemButton`
([elastic#8736](elastic/eui#8736))
- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a
visible selected state
([elastic#8736](elastic/eui#8736))
- Fixed handling of unregistered code block languages in
`EuiMarkdownFormat` ([elastic#8729](elastic/eui#8729))

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([elastic#8725](elastic/eui#8725))

### `@elastic/eui-theme-borealis`

##
[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)

- Added new tokens on `colors.vis`:
([elastic#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([elastic#8725](elastic/eui#8725))

**Bug fixes**

- Fixed missing source map warnings emitted by some bundlers by
excluding source maps from being published
([elastic#8764](elastic/eui#8764))
- To align with `@elastic/eui` and many other popular packages, we made
a call to not ship source maps anymore

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([elastic#8725](elastic/eui#8725))

<!--ONMERGE {"backportTargets":["8.19","9.0"]} ONMERGE-->

---------

Co-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 61ea2f3)

# Conflicts:
#	package.json
#	src/dev/license_checker/config.ts
#	x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap
#	x-pack/platform/plugins/shared/security/server/__snapshots__/prompt_page.test.tsx.snap
#	x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap
#	x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap
#	x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx
#	x-pack/solutions/observability/plugins/apm/public/utils/http_status_code_to_color.ts
#	x-pack/solutions/security/plugins/security_solution/public/explore/network/components/embeddables/__mocks__/mock.ts
#	x-pack/solutions/security/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
#	yarn.lock
@JasonStoltz JasonStoltz added the backport This PR is a backport of another PR label Jun 17, 2025
@JasonStoltz JasonStoltz enabled auto-merge (squash) June 17, 2025 12:40
@elasticmachine
Copy link
Contributor

elasticmachine commented Jun 17, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #21 / alerting api integration security and spaces enabled - Group 2 Alerts alerts alert deletion schedule alert deletion superuser at space1 should delete the correct of alerts - all category inactive alerts
  • [job] [logs] Jest Tests #21 / UseInfiniteFindCaseUserActions calls the API with correct parameters

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
controls 551.9KB 553.7KB +1.9KB
dashboard 696.9KB 698.7KB +1.9KB
infra 1.7MB 1.7MB +1.9KB
kubernetesSecurity 276.9KB 278.8KB +1.9KB
maps 3.1MB 3.1MB +1.9KB
ml 5.5MB 5.5MB +1.9KB
visTypeVega 2.1MB 2.1MB +1.9KB
total +13.1KB

Page load bundle

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

id before after diff
kbnUiSharedDeps-npmDll 6.1MB 6.1MB +2.1KB

History

@JasonStoltz JasonStoltz requested a review from a team June 17, 2025 21:18
@JasonStoltz JasonStoltz merged commit c09eaa5 into elastic:8.19 Jun 18, 2025
11 checks passed
@JasonStoltz JasonStoltz deleted the backport/8.19/pr-223414 branch June 18, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants