From efedad1b3e36460cd6ac5e73837e333c54d75861 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Wed, 25 Jun 2025 16:55:46 +0200 Subject: [PATCH] Upgrade EUI to v104.0.2 (#224855) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `103.1.0` ⏩ `104.0.2` [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 - updates flat tooltip prop usages on **EuiCopy** to use new `tooltipProp` ## Package updates ### `@elastic/eui` ## [`v104.0.2`](https://github.com/elastic/eui/releases/v104.0.2) **Bug fixes** - Fixed missing JSON token exports for `euiColorBackgroundBaseInteractiveSelectHover` and `euiColorBorderStrongText` ([#8819](https://github.com/elastic/eui/pull/8819)) ## [`v104.0.1`](https://github.com/elastic/eui/releases/v104.0.1) **Bug fixes** - Fixed a wrong path in the module declaration for the JSON token exports that would trigger typescript errors ([#8818](https://github.com/elastic/eui/pull/8818)) ## [`v104.0.0`](https://github.com/elastic/eui/releases/v104.0.0) - Added data vis text color tokens: ([#8793](https://github.com/elastic/eui/pull/8793)) - `colors.vis.euiColorVisText0` - `colors.vis.euiColorVisText1` - `colors.vis.euiColorVisText2` - `colors.vis.euiColorVisText3` - `colors.vis.euiColorVisText4` - `colors.vis.euiColorVisText5` - `colors.vis.euiColorVisText6` - `colors.vis.euiColorVisText7` - `colors.vis.euiColorVisText8` - `colors.vis.euiColorVisText9` - Updated and aligned background hover styles for `EuiTable` and `EuiDataGrid` ([#8769](https://github.com/elastic/eui/pull/8769)) **Deprecations** - Deprecated `euiPaletteForLightBackground` and `euiPaletteForDarkBackground` palettes. Use the newly added data vis color tokens instead. ([#8793](https://github.com/elastic/eui/pull/8793)) **Breaking changes** - Removed tokens: ([#8793](https://github.com/elastic/eui/pull/8793)) - `colors.vis.euiColorVisAsTextLight1` - `colors.vis.euiColorVisAsTextLight0` - `colors.vis.euiColorVisAsTextLight2` - `colors.vis.euiColorVisAsTextLight3` - `colors.vis.euiColorVisAsTextLight4` - `colors.vis.euiColorVisAsTextLight5` - `colors.vis.euiColorVisAsTextLight6` - `colors.vis.euiColorVisAsTextDark1` - `colors.vis.euiColorVisAsTextDark0` - `colors.vis.euiColorVisAsTextDark2` - `colors.vis.euiColorVisAsTextDark3` - `colors.vis.euiColorVisAsTextDark4` - `colors.vis.euiColorVisAsTextDark5` - `colors.vis.euiColorVisAsTextDark6` - Removed `xl` size from `EuiTabs` ([#8762](https://github.com/elastic/eui/pull/8762)) - Added `tooltipProps` to `EuiCopy` which replaces spreading all props to `EuiToolTip` ([#8758](https://github.com/elastic/eui/pull/8758)) --------- Co-authored-by: Elastic Machine --- package.json | 6 ++-- src/dev/license_checker/config.ts | 6 ++-- .../editor_footer/history_starred_queries.tsx | 2 +- .../reporting_panel_content.tsx | 5 ++- .../public/components/url_panel_content.tsx | 2 +- .../components/detail_panel_copy/index.tsx | 7 +++- yarn.lock | 36 +++++++++---------- 7 files changed, 36 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 5b2fa2d9b636..39f15d6613e0 100644 --- a/package.json +++ b/package.json @@ -127,9 +127,9 @@ "@elastic/ecs": "^8.11.5", "@elastic/elasticsearch": "9.0.2", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "103.1.0", - "@elastic/eui-amsterdam": "npm:@elastic/eui@103.1.0-amsterdam.0", - "@elastic/eui-theme-borealis": "2.0.0", + "@elastic/eui": "104.0.2", + "@elastic/eui-amsterdam": "npm:@elastic/eui@104.0.0-amsterdam.0", + "@elastic/eui-theme-borealis": "3.0.0", "@elastic/filesaver": "1.1.2", "@elastic/monaco-esql": "^3.1.2", "@elastic/node-crypto": "^1.2.3", diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 9d94afeef9ce..b200f6d7bead 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -88,11 +88,11 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.6.3': ['Elastic License 2.0'], - '@elastic/eui@103.1.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], - '@elastic/eui-amsterdam@103.1.0-amsterdam.0': [ + '@elastic/eui@104.0.2': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui-amsterdam@104.0.0-amsterdam.0': [ 'Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0', ], - '@elastic/eui-theme-borealis@2.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui-theme-borealis@3.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry 'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary '@bufbuild/protobuf@2.5.2': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) diff --git a/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx index 987fbde5738f..5e23d3fb53e3 100644 --- a/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx +++ b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx @@ -298,7 +298,7 @@ export function QueryList({ diff --git a/src/platform/packages/private/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx b/src/platform/packages/private/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx index 38ca43cacf2a..2d013031ae7e 100644 --- a/src/platform/packages/private/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx +++ b/src/platform/packages/private/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx @@ -140,7 +140,10 @@ class ReportingPanelContentUi extends Component return ; } return ( - + {(copy) => ( {(copy) => ( + {(copy) => (