From 6ccedf58cac40854b83d9e047ee8cae80be0d007 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Mon, 7 Apr 2025 22:04:40 +0200 Subject: [PATCH 1/4] chore: upgrade `@elastic/eui` to `101.2.0-classic.0` --- package.json | 2 +- src/dev/license_checker/config.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8716a374166c1..510323bb85c86 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@elastic/ecs": "^8.11.5", "@elastic/elasticsearch": "^8.17.1", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "101.1.0-classic.0", + "@elastic/eui": "101.2.0-classic.1", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "^1.2.3", "@elastic/numeral": "^2.5.1", diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index e39a728c226ab..1e903b614978c 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -88,7 +88,7 @@ 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@101.1.0-classic.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui@101.2.0-classic.1': ['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@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) diff --git a/yarn.lock b/yarn.lock index 2d368e23e2258..4fe4193b2fbc5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2166,10 +2166,10 @@ chroma-js "^2.4.2" lodash "^4.17.21" -"@elastic/eui@101.1.0-classic.0": - version "101.1.0-classic.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-101.1.0-classic.0.tgz#8d3a5e99cf71b3f55122990bcc5f3ad09c06eb9f" - integrity sha512-xfhO04LRDU4VHyo09LQGynqhe/OLzw38gw+S0qTHP4z2T/8FxPJNyThKvCzOqb8DsEsrYSttKhnmK7TfiWk2cA== +"@elastic/eui@101.2.0-classic.1": + version "101.2.0-classic.1" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-101.2.0-classic.1.tgz#0822269e50859c13ae5fc85c6312bf436435ec2c" + integrity sha512-ebKSvHkjOe3m0hn+Lwqr8UCDcech2WoyGAas5Yp5xaLRzgf51cqG5SctLhenJeWotf+AuLkA9py3oJ25vacCzw== dependencies: "@elastic/eui-theme-common" "0.1.0" "@elastic/prismjs-esql" "^1.0.0" From bc20699ddb1daabdb142f1a15bd0b86916c50117 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Mon, 7 Apr 2025 22:04:54 +0200 Subject: [PATCH 2/4] test: update snapshots --- .../documents_panel.test.tsx.snap | 3 +++ .../field_item_button.test.tsx.snap | 2 ++ .../src/user_tooltip.test.tsx | 1 + .../__snapshots__/code_editor.test.tsx.snap | 1 + .../vis/__snapshots__/form_row.test.tsx.snap | 2 ++ .../__snapshots__/agg.test.tsx.snap | 1 + .../__snapshots__/label_options.test.tsx.snap | 2 ++ .../value_axes_panel.test.tsx.snap | 5 ++++ .../top_nav_menu_item.test.tsx.snap | 1 + .../__snapshots__/relationships.test.tsx.snap | 6 +++++ .../__snapshots__/table.test.tsx.snap | 1 + ...get_alert_panels_by_category.test.tsx.snap | 8 ++++++ .../get_alert_panels_by_node.test.tsx.snap | 8 ++++++ .../__snapshots__/tooltip.test.js.snap | 25 +++++++++++++++++++ .../__snapshots__/scaling_form.test.tsx.snap | 1 + ...single_layer_source_settings.test.tsx.snap | 4 +++ .../label_position_editor.test.tsx.snap | 2 ++ .../marker_size_legend.test.tsx.snap | 7 ++++++ .../custom_icon_modal.test.tsx.snap | 2 ++ .../dynamic_color_property.test.tsx.snap | 5 ++++ .../dynamic_icon_property.test.tsx.snap | 2 ++ .../__snapshots__/layer_control.test.tsx.snap | 12 +++++++++ .../__snapshots__/list.test.tsx.snap | 6 +++++ .../__snapshots__/prompt_page.test.tsx.snap | 4 +-- .../unauthenticated_page.test.tsx.snap | 4 +-- .../reset_session_page.test.tsx.snap | 4 +-- .../sticky_properties.test.tsx.snap | 5 ++++ .../shared/timestamp_tooltip/index.test.tsx | 1 + .../common/timestamp_tooltip.test.tsx | 1 + .../integration_link.test.tsx.snap | 2 ++ .../__snapshots__/helpers.test.tsx.snap | 1 + .../__snapshots__/index.test.tsx.snap | 4 +++ 32 files changed, 127 insertions(+), 6 deletions(-) diff --git a/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap index 60e12ce396b1f..94a578f7e0dcf 100644 --- a/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap +++ b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap @@ -24,6 +24,7 @@ exports[`DocumentsPanel renders 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -55,6 +56,7 @@ exports[`DocumentsPanel renders 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -86,6 +88,7 @@ exports[`DocumentsPanel renders 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap index 3bedc4320df4f..c707a2c97e716 100644 --- a/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap +++ b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap @@ -342,6 +342,7 @@ exports[`UnifiedFieldList FieldItemButton renders properly with an action when d @@ -397,6 +398,7 @@ exports[`UnifiedFieldList FieldItemButton renders properly with an action when s diff --git a/src/platform/packages/shared/kbn-user-profile-components/src/user_tooltip.test.tsx b/src/platform/packages/shared/kbn-user-profile-components/src/user_tooltip.test.tsx index f8a8b5a0133c6..0d073488eee5c 100644 --- a/src/platform/packages/shared/kbn-user-profile-components/src/user_tooltip.test.tsx +++ b/src/platform/packages/shared/kbn-user-profile-components/src/user_tooltip.test.tsx @@ -80,6 +80,7 @@ describe('UserToolTip', () => { } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/src/platform/packages/shared/shared-ux/code_editor/impl/__snapshots__/code_editor.test.tsx.snap b/src/platform/packages/shared/shared-ux/code_editor/impl/__snapshots__/code_editor.test.tsx.snap index 787c5e348e51a..a1dabca50e691 100644 --- a/src/platform/packages/shared/shared-ux/code_editor/impl/__snapshots__/code_editor.test.tsx.snap +++ b/src/platform/packages/shared/shared-ux/code_editor/impl/__snapshots__/code_editor.test.tsx.snap @@ -171,6 +171,7 @@ exports[` is rendered 1`] = ` } data-test-subj="codeEditorAccessibilityOverlay" delay="regular" + disableScreenReaderOutput={false} display="block" position="top" > diff --git a/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap index 5424c28c05001..5c21c1cd77002 100644 --- a/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap +++ b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap @@ -9,6 +9,7 @@ exports[`renders control with warning 1`] = ` @@ -36,6 +37,7 @@ exports[`renders disabled control with tooltip 1`] = ` anchorClassName="eui-displayBlock" content="I am disabled for testing purposes" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap index bb8f47ec614b4..f0249b7b8c7a5 100644 --- a/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap +++ b/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap @@ -18,6 +18,7 @@ exports[`DefaultEditorAgg component should init with the default set of props 1` diff --git a/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap index 69715d98f122c..7d668e7a3444d 100644 --- a/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap +++ b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap @@ -40,6 +40,7 @@ exports[`LabelOptions component should init with the default set of props 1`] = @@ -69,6 +70,7 @@ exports[`LabelOptions component should init with the default set of props 1`] = diff --git a/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap index 8fb9df4fbb33e..2632fa7bdf557 100644 --- a/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap +++ b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap @@ -29,6 +29,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] @@ -54,6 +55,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] @@ -70,6 +72,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] @@ -160,6 +163,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] @@ -176,6 +180,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] diff --git a/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap b/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap index 4edea39255c04..31cb735acb74c 100644 --- a/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap +++ b/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap @@ -4,6 +4,7 @@ exports[`TopNavMenu Should render an icon-only item 1`] = ` diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap index 124f4b4f2e285..52c598076340d 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap @@ -14,6 +14,7 @@ exports[`Relationships should render dashboards normally 1`] = ` @@ -175,6 +176,7 @@ exports[`Relationships should render errors 1`] = ` @@ -219,6 +221,7 @@ exports[`Relationships should render index patterns normally 1`] = ` @@ -385,6 +388,7 @@ exports[`Relationships should render invalid relations 1`] = ` @@ -570,6 +574,7 @@ exports[`Relationships should render searches normally 1`] = ` @@ -737,6 +742,7 @@ exports[`Relationships should render visualizations normally 1`] = ` diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap index a3bcf4da52544..107e7cd2f3739 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap @@ -35,6 +35,7 @@ exports[`Table should render normally 1`] = ` diff --git a/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap index 1ed3850227b76..422871c40db1e 100644 --- a/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap +++ b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap @@ -42,6 +42,7 @@ Array [ @@ -181,6 +182,7 @@ Array [ @@ -206,6 +208,7 @@ Array [ @@ -448,6 +451,7 @@ Array [ @@ -473,6 +477,7 @@ Array [ @@ -504,6 +509,7 @@ Array [ @@ -535,6 +541,7 @@ Array [ @@ -560,6 +567,7 @@ Array [ diff --git a/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap index b576b029f1a70..1d7ac286a08ab 100644 --- a/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap +++ b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap @@ -44,6 +44,7 @@ Array [ @@ -72,6 +73,7 @@ Array [ @@ -251,6 +253,7 @@ Array [ @@ -273,6 +276,7 @@ Array [ @@ -295,6 +299,7 @@ Array [ @@ -323,6 +328,7 @@ Array [ @@ -345,6 +351,7 @@ Array [ @@ -367,6 +374,7 @@ Array [ diff --git a/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap index 2edd5c1ab0cf2..9e61e09c1b503 100644 --- a/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap +++ b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap @@ -8,6 +8,7 @@ exports[`setupMode SetupModeTooltip allInternalCollection should render for apm @@ -31,6 +32,7 @@ exports[`setupMode SetupModeTooltip allInternalCollection should render for beat @@ -54,6 +56,7 @@ exports[`setupMode SetupModeTooltip allInternalCollection should render for elas @@ -77,6 +80,7 @@ exports[`setupMode SetupModeTooltip allInternalCollection should render for kiba @@ -100,6 +104,7 @@ exports[`setupMode SetupModeTooltip allInternalCollection should render for logs @@ -123,6 +128,7 @@ exports[`setupMode SetupModeTooltip allMonitoredByMetricbeat should render for a @@ -146,6 +152,7 @@ exports[`setupMode SetupModeTooltip allMonitoredByMetricbeat should render for b @@ -169,6 +176,7 @@ exports[`setupMode SetupModeTooltip allMonitoredByMetricbeat should render for e @@ -192,6 +200,7 @@ exports[`setupMode SetupModeTooltip allMonitoredByMetricbeat should render for k @@ -215,6 +224,7 @@ exports[`setupMode SetupModeTooltip allMonitoredByMetricbeat should render for l @@ -238,6 +248,7 @@ exports[`setupMode SetupModeTooltip internalCollectionOn should render for apm 1 @@ -261,6 +272,7 @@ exports[`setupMode SetupModeTooltip internalCollectionOn should render for beats @@ -284,6 +296,7 @@ exports[`setupMode SetupModeTooltip internalCollectionOn should render for elast @@ -307,6 +320,7 @@ exports[`setupMode SetupModeTooltip internalCollectionOn should render for kiban @@ -330,6 +344,7 @@ exports[`setupMode SetupModeTooltip internalCollectionOn should render for logst @@ -353,6 +368,7 @@ exports[`setupMode SetupModeTooltip no detectable instances should render for ap @@ -376,6 +392,7 @@ exports[`setupMode SetupModeTooltip no detectable instances should render for be @@ -399,6 +416,7 @@ exports[`setupMode SetupModeTooltip no detectable instances should render for el @@ -422,6 +440,7 @@ exports[`setupMode SetupModeTooltip no detectable instances should render for ki @@ -445,6 +464,7 @@ exports[`setupMode SetupModeTooltip no detectable instances should render for lo @@ -468,6 +488,7 @@ exports[`setupMode SetupModeTooltip only detectable instances should render for @@ -491,6 +512,7 @@ exports[`setupMode SetupModeTooltip only detectable instances should render for @@ -514,6 +536,7 @@ exports[`setupMode SetupModeTooltip only detectable instances should render for @@ -537,6 +560,7 @@ exports[`setupMode SetupModeTooltip only detectable instances should render for @@ -560,6 +584,7 @@ exports[`setupMode SetupModeTooltip only detectable instances should render for diff --git a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap index 7f1b6c751cd04..6ff0a7e3d9c33 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap @@ -33,6 +33,7 @@ exports[`scaling form should disable clusters option when clustering is not supp diff --git a/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap index c3062f6c75734..5c0cb3c7c954a 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap @@ -23,6 +23,7 @@ exports[`should not render fields-editor when there is no layername 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -75,6 +76,7 @@ exports[`should render with fields 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -119,6 +121,7 @@ exports[`should render with fields 1`] = ` } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -164,6 +167,7 @@ exports[`should render without fields 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap index 45a3c4f3b07e8..f7bf55a3a0296 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap @@ -35,6 +35,7 @@ exports[`should render as disabled when label is not set 1`] = ` anchorClassName="mapStyleFormDisabledTooltip" content="Set 'Label' to enable" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -73,6 +74,7 @@ exports[`should render as disabled when label position is disabled 1`] = ` anchorClassName="mapStyleFormDisabledTooltip" content="simulated disabled error" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap index 05b21d7b3fa80..b194204228d82 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap @@ -12,6 +12,7 @@ exports[`Should invert legend 1`] = ` @@ -118,6 +119,7 @@ exports[`should render a custom icon modal with an existing icon 1`] = ` diff --git a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap index f94b63e02163d..7e6e90bfc1cb6 100644 --- a/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap +++ b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap @@ -32,6 +32,7 @@ exports[`renderLegendDetailRow categorical Should render categorical legend with @@ -53,6 +54,7 @@ exports[`LayerControl is rendered 1`] = ` @@ -70,6 +72,7 @@ exports[`LayerControl is rendered 1`] = ` @@ -114,6 +117,7 @@ exports[`LayerControl isLayerTOCOpen Should render expand button 1`] = ` @@ -129,6 +133,7 @@ exports[`LayerControl isLayerTOCOpen Should render expand button with error icon @@ -144,6 +149,7 @@ exports[`LayerControl isLayerTOCOpen Should render expand button with loading ic @@ -191,6 +197,7 @@ exports[`LayerControl isReadOnly 1`] = ` @@ -208,6 +215,7 @@ exports[`LayerControl isReadOnly 1`] = ` @@ -225,6 +233,7 @@ exports[`LayerControl isReadOnly 1`] = ` @@ -285,6 +294,7 @@ exports[`LayerControl should disable buttons when flyout is open 1`] = ` @@ -302,6 +312,7 @@ exports[`LayerControl should disable buttons when flyout is open 1`] = ` @@ -319,6 +330,7 @@ exports[`LayerControl should disable buttons when flyout is open 1`] = ` diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap index 52a2378435623..b282465efc7d6 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap +++ b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap @@ -84,6 +84,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -112,6 +113,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -210,6 +212,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -238,6 +241,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -336,6 +340,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -364,6 +369,7 @@ exports[`CustomUrlList renders a list of custom URLs 1`] = ` /> } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/x-pack/platform/plugins/shared/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/server/__snapshots__/prompt_page.test.tsx.snap index cf29b948b4c00..5c1070e970d79 100644 --- a/x-pack/platform/plugins/shared/security/server/__snapshots__/prompt_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/server/__snapshots__/prompt_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; -exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; diff --git a/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap index 26c993e7628d0..062ab1f09ce9b 100644 --- a/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; -exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; diff --git a/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap index 0169bfc5f01be..66a79a19af491 100644 --- a/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; -exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; diff --git a/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap index f8799874408e3..ea981a56c7f28 100644 --- a/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap +++ b/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap @@ -29,6 +29,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -40,6 +41,7 @@ exports[`StickyProperties should render entire component 1`] = ` @@ -66,6 +68,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -96,6 +99,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -126,6 +130,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > diff --git a/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx index cb872dc4814c8..056183ad6ecb5 100644 --- a/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx @@ -28,6 +28,7 @@ describe('TimestampTooltip', () => { diff --git a/x-pack/solutions/observability/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx b/x-pack/solutions/observability/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx index abff44fa4609c..1321959a517a0 100644 --- a/x-pack/solutions/observability/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx +++ b/x-pack/solutions/observability/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx @@ -32,6 +32,7 @@ describe('TimestampTooltip', () => { diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/integration_link.test.tsx.snap b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/integration_link.test.tsx.snap index 36418673f69e5..b3cf58f2983bb 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/integration_link.test.tsx.snap +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/integration_link.test.tsx.snap @@ -10,6 +10,7 @@ exports[`IntegrationLink component renders a disabled link when href is undefine @@ -43,6 +44,7 @@ exports[`IntegrationLink component renders without errors 1`] = ` diff --git a/x-pack/solutions/security/plugins/security_solution/public/common/components/tables/__snapshots__/helpers.test.tsx.snap b/x-pack/solutions/security/plugins/security_solution/public/common/components/tables/__snapshots__/helpers.test.tsx.snap index e3b4f43293c23..760ba658ad40e 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/common/components/tables/__snapshots__/helpers.test.tsx.snap +++ b/x-pack/solutions/security/plugins/security_solution/public/common/components/tables/__snapshots__/helpers.test.tsx.snap @@ -54,6 +54,7 @@ exports[`Table Helpers OverflowField it returns correctly against snapshot 1`] = diff --git a/x-pack/solutions/security/plugins/security_solution/public/common/components/text_field_value/__snapshots__/index.test.tsx.snap b/x-pack/solutions/security/plugins/security_solution/public/common/components/text_field_value/__snapshots__/index.test.tsx.snap index 5b7cb664c358b..58dc6d27afa3a 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/common/components/text_field_value/__snapshots__/index.test.tsx.snap +++ b/x-pack/solutions/security/plugins/security_solution/public/common/components/text_field_value/__snapshots__/index.test.tsx.snap @@ -21,6 +21,7 @@ exports[`text_field_value TextFieldValue should render long text correctly, when } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -51,6 +52,7 @@ exports[`text_field_value TextFieldValue should render long text correctly, when } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -81,6 +83,7 @@ exports[`text_field_value TextFieldValue should render small text correctly, whe } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > @@ -111,6 +114,7 @@ exports[`text_field_value TextFieldValue should render small text correctly, whe } delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="top" > From 28f263e5f616790292ac07c1ac394557096cb0c1 Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Tue, 8 Apr 2025 18:37:50 +0200 Subject: [PATCH 3/4] chore: upgrade `@elastic/eui` to `101.3.0-classic.0` --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 510323bb85c86..a08cc471d6094 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@elastic/ecs": "^8.11.5", "@elastic/elasticsearch": "^8.17.1", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "101.2.0-classic.1", + "@elastic/eui": "101.3.0-classic.0", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "^1.2.3", "@elastic/numeral": "^2.5.1", diff --git a/yarn.lock b/yarn.lock index 4fe4193b2fbc5..7387ae139c758 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2166,10 +2166,10 @@ chroma-js "^2.4.2" lodash "^4.17.21" -"@elastic/eui@101.2.0-classic.1": - version "101.2.0-classic.1" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-101.2.0-classic.1.tgz#0822269e50859c13ae5fc85c6312bf436435ec2c" - integrity sha512-ebKSvHkjOe3m0hn+Lwqr8UCDcech2WoyGAas5Yp5xaLRzgf51cqG5SctLhenJeWotf+AuLkA9py3oJ25vacCzw== +"@elastic/eui@101.3.0-classic.0": + version "101.3.0-classic.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-101.3.0-classic.0.tgz#c7b0632b062257342210850a958d2e353e829026" + integrity sha512-REt71u2yfnVyXX3+2MWLk3VzBdHAbCeSiPcs5MHY6h4TQR1WsD8+qs9RGFFfvW9ZSXTtyimrwOjQFt6Ph64s2Q== dependencies: "@elastic/eui-theme-common" "0.1.0" "@elastic/prismjs-esql" "^1.0.0" From 644cf74a8a22661de80bfdaaa2022dec9177a10c Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Wed, 9 Apr 2025 11:21:49 +0200 Subject: [PATCH 4/4] chore: update snapshot tests --- .../__snapshots__/page_template.test.tsx.snap | 2 +- .../__snapshots__/table_cell.test.tsx.snap | 2 ++ .../__snapshots__/recently_accessed.test.js.snap | 2 ++ .../__snapshots__/header.test.tsx.snap | 2 +- .../__snapshots__/list_header.test.tsx.snap | 16 ++++++++-------- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap index 78bccf0fef079..d60e1ee620713 100644 --- a/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap @@ -32,7 +32,7 @@ exports[`KibanaPageTemplate render basic template 1`] = `
@@ -158,6 +159,7 @@ exports[`Doc table cell component renders a cell with filter buttons if it is fi className="kbnDocTableCell__filterButton" content="Filter out value" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="bottom" > diff --git a/src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap b/src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap index 613395ce2fecf..9ab05c5c0b05c 100644 --- a/src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap +++ b/src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap @@ -44,6 +44,7 @@ exports[`render 1`] = ` anchorClassName="homRecentlyAccessed__anchor" content="label0" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="bottom" > @@ -79,6 +80,7 @@ exports[`render 1`] = ` anchorClassName="homRecentlyAccessed__anchor" content="label1" delay="regular" + disableScreenReaderOutput={false} display="inlineBlock" position="bottom" > diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap index 81e3d2122ebfa..1c18f93985625 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap @@ -20,7 +20,7 @@ exports[`Intro component renders correctly 1`] = `