From 3a165855d5a3dd94fc556c869278ff6903c2782d Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:06:11 -0700 Subject: [PATCH] Upgrade EUI to v93.4.0 (#178890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `v93.3.0`⏩ `v93.4.0` --- ## [`v93.4.0`](https://github.com/elastic/eui/releases/v93.4.0) - Added the following properties to `EuiButtonGroup`'s `options` configs: `toolTipContent`, `toolTipProps`, and `title`. These new properties allow wrapping buttons in `EuiToolTips`, and additionally customizing or disabling the native browser `title` tooltip. ([#7461](https://github.com/elastic/eui/pull/7461)) - Enhanced `EuiResizeObserver` and `useResizeObserver`'s performance to not trigger page reflows on resize event ([#7575](https://github.com/elastic/eui/pull/7575)) - Updated `EuiSuperUpdateButton` to support custom button text via an optional `children` prop ([#7576](https://github.com/elastic/eui/pull/7576)) **Bug fixes** - Fixed `EuiFlyout` to not repeatedly remove/add a body class on resize ([#7462](https://github.com/elastic/eui/pull/7462)) - Fixed `EuiToast` title text to wrap instead of overflowing out of the container ([#7568](https://github.com/elastic/eui/pull/7568)) - Fixed a visual bug with `EuiHeaderBreadcrumbs` with popovers ([#7580](https://github.com/elastic/eui/pull/7580)) **Deprecations** - Deprecated `euiPalettePositive` and `euiPaletteNegative` in favour of a more culturally inclusive `euiPaletteGreen` and `euiPaletteRed` ([#7570](https://github.com/elastic/eui/pull/7570)) - Deprecated all charts theme exports in favor of `@elastic/charts` exports: ([#7572](https://github.com/elastic/eui/pull/7572)) - Deprecated `EUI_CHARTS_THEME_` in favor of `_THEME` from `@elastic/charts`. ([#7572](https://github.com/elastic/eui/pull/7572)) - Deprecated `EUI_SPARKLINE_THEME_PARTIAL` in favor of `useSparklineOverrides` theme from the kibana `charts` plugin `theme` service. **Accessibility** - Updated `EuiModal` to set an `aria-modal` attribute and a default `dialog` role ([#7564](https://github.com/elastic/eui/pull/7564)) - Updated `EuiConfirmModal` to set a default `alertdialog` role ([#7564](https://github.com/elastic/eui/pull/7564)) - Fixed `EuiModal` and `EuiConfirmModal` to properly trap Safari+VoiceOver's virtual cursor ([#7564](https://github.com/elastic/eui/pull/7564)) --- package.json | 2 +- .../ui/header/__snapshots__/header.test.tsx.snap | 2 +- .../__snapshots__/modal_service.test.tsx.snap | 6 ++++++ .../__snapshots__/list_header.test.tsx.snap | 2 ++ .../__snapshots__/edit_modal.test.tsx.snap | 2 ++ src/core/public/styles/_base.scss | 1 - src/dev/license_checker/config.ts | 2 +- .../charts/public/services/palettes/palettes.tsx | 8 ++++---- .../internal_dashboard_top_nav.tsx | 4 ++-- .../apps/dashboard/group1/url_field_formatter.ts | 1 + .../maps/public/classes/styles/color_palettes.ts | 12 ++++++------ .../scatterplot_matrix_vega_lite_spec.ts | 6 +++--- .../application/memory_usage/memory_item_colors.ts | 4 ++-- .../lens_attributes/heatmap_attributes.ts | 4 ++-- .../inventory_view/lib/get_color_palette.ts | 8 ++++---- .../components/header_actions/header_actions.tsx | 14 ++++++++++++-- .../__snapshots__/index.test.tsx.snap | 6 ++++++ .../timelines/bulk_add_to_timeline.cy.ts | 7 ++++++- .../cypress/screens/hosts/events.ts | 6 ++++++ .../cypress/tasks/alerts.ts | 5 +++-- .../cypress/tasks/common/event_table.ts | 10 +++++----- .../cypress/tasks/hosts/events.ts | 7 +++++++ yarn.lock | 8 ++++---- 23 files changed, 86 insertions(+), 41 deletions(-) diff --git a/package.json b/package.json index d6a952f436b47..aed319d891fd6 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@elastic/ecs": "^8.11.1", "@elastic/elasticsearch": "^8.12.2", "@elastic/ems-client": "8.5.1", - "@elastic/eui": "93.3.0", + "@elastic/eui": "93.4.0", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", diff --git a/packages/core/chrome/core-chrome-browser-internal/src/ui/header/__snapshots__/header.test.tsx.snap b/packages/core/chrome/core-chrome-browser-internal/src/ui/header/__snapshots__/header.test.tsx.snap index 209e2f1d0c113..f0bae81571603 100644 --- a/packages/core/chrome/core-chrome-browser-internal/src/ui/header/__snapshots__/header.test.tsx.snap +++ b/packages/core/chrome/core-chrome-browser-internal/src/ui/header/__snapshots__/header.test.tsx.snap @@ -194,7 +194,7 @@ Array [ > diff --git a/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap b/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap index c93fae64cf361..ce53f3fbae63c 100644 --- a/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap +++ b/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap @@ -129,7 +129,9 @@ exports[`ModalService openConfirm() renders a mountpoint confirm message 2`] = ` data-eui="EuiFocusTrap" >