From cf11d1070edc5cf2fabdc4368fb1653a47d4ba6a Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Thu, 15 Oct 2020 14:30:40 -0600 Subject: [PATCH 1/5] Upgraded eui to v29.5.0; snapshot updates --- package.json | 2 +- packages/kbn-ui-framework/package.json | 2 +- packages/kbn-ui-shared-deps/package.json | 2 +- .../collapsible_nav.test.tsx.snap | 36 +- .../header/__snapshots__/header.test.tsx.snap | 2 +- .../flyout_service.test.tsx.snap | 4 +- .../__snapshots__/modal_service.test.tsx.snap | 6 +- .../dashboard_empty_screen.test.tsx.snap | 2 +- .../__snapshots__/no_results.test.js.snap | 4 +- .../__snapshots__/field_name.test.tsx.snap | 6 +- .../saved_objects_installer.test.js.snap | 2 +- .../table/__snapshots__/table.test.tsx.snap | 2 +- .../url/__snapshots__/url.test.tsx.snap | 6 +- .../warning_call_out.test.tsx.snap | 6 +- .../inspector_panel.test.tsx.snap | 2 +- .../exit_full_screen_button.test.tsx.snap | 4 +- .../__snapshots__/split_panel.test.tsx.snap | 2 +- .../__snapshots__/header.test.tsx.snap | 4 +- .../__snapshots__/intro.test.tsx.snap | 2 +- .../not_found_errors.test.tsx.snap | 8 +- .../legend/__snapshots__/legend.test.tsx.snap | 4 +- .../visualization_noresults.test.js.snap | 2 +- .../visualization_requesterror.test.js.snap | 2 +- .../__snapshots__/new_vis_modal.test.tsx.snap | 64 ++-- .../plugins/kbn_tp_run_pipeline/package.json | 2 +- .../kbn_sample_panel_action/package.json | 2 +- .../kbn_tp_custom_visualizations/package.json | 2 +- x-pack/package.json | 2 +- .../__test__/__snapshots__/List.test.tsx.snap | 24 +- .../service_overview.test.tsx.snap | 14 +- .../TransactionActionMenu.test.tsx.snap | 2 +- .../dropdown_filter.stories.storyshot | 10 +- .../time_filter.stories.storyshot | 20 +- .../__snapshots__/palette.stories.storyshot | 2 +- .../extended_template.stories.storyshot | 4 +- .../date_format.stories.storyshot | 6 +- .../number_format.stories.storyshot | 6 +- .../__snapshots__/asset.stories.storyshot | 16 +- .../asset_manager.stories.storyshot | 26 +- .../__snapshots__/color_dot.stories.storyshot | 8 +- .../color_manager.stories.storyshot | 16 +- .../color_palette.stories.storyshot | 6 +- .../color_picker.stories.storyshot | 20 +- .../custom_element_modal.stories.storyshot | 22 +- .../datasource_component.stories.storyshot | 8 +- .../element_card.stories.storyshot | 6 +- .../file_upload.stories.storyshot | 2 +- .../font_picker.stories.storyshot | 4 +- .../__snapshots__/item_grid.stories.storyshot | 12 +- .../keyboard_shortcuts_doc.stories.storyshot | 2 +- .../palette_picker.stories.storyshot | 6 +- .../element_controls.stories.storyshot | 4 +- .../element_grid.stories.storyshot | 12 +- .../saved_elements_modal.stories.storyshot | 36 +- .../sidebar_header.stories.storyshot | 8 +- .../__snapshots__/tag.stories.storyshot | 4 +- .../__snapshots__/tag_list.stories.storyshot | 6 +- .../text_style_picker.stories.storyshot | 32 +- .../__snapshots__/toolbar.stories.storyshot | 14 +- .../delete_var.stories.storyshot | 4 +- .../__snapshots__/edit_var.stories.storyshot | 46 +-- .../var_config.stories.storyshot | 4 +- .../element_menu.stories.storyshot | 2 +- .../__snapshots__/pdf_panel.stories.storyshot | 2 +- .../workpad_templates.stories.storyshot | 22 +- .../extended_template.stories.storyshot | 18 +- .../extended_template.stories.storyshot | 8 +- .../simple_template.stories.storyshot | 2 +- .../__snapshots__/shareable.test.tsx.snap | 10 +- .../__snapshots__/canvas.stories.storyshot | 24 +- .../__tests__/__snapshots__/app.test.tsx.snap | 2 +- .../__snapshots__/footer.stories.storyshot | 16 +- .../page_controls.stories.storyshot | 12 +- .../__snapshots__/title.stories.storyshot | 6 +- .../autoplay_settings.stories.storyshot | 12 +- .../__snapshots__/settings.stories.storyshot | 4 +- .../toolbar_settings.stories.storyshot | 12 +- .../__snapshots__/settings.test.tsx.snap | 46 +-- .../__snapshots__/search_bar.test.tsx.snap | 2 +- .../extend_index_management.test.tsx.snap | 2 +- .../__snapshots__/policy_table.test.tsx.snap | 4 +- .../__snapshots__/license_status.test.js.snap | 4 +- .../upload_license.test.tsx.snap | 14 +- .../upgrade_failure.test.js.snap | 6 +- .../tiled_vector_layer.test.tsx.snap | 2 +- .../__snapshots__/cells.test.js.snap | 4 +- .../__snapshots__/no_data.test.js.snap | 4 +- .../__snapshots__/summary_status.test.js.snap | 30 +- .../remote_cluster_form.test.js.snap | 24 +- .../report_info_button.test.tsx.snap | 10 +- .../overwritten_session_page.test.tsx.snap | 2 +- .../api_keys_grid_page.test.tsx.snap | 4 +- .../roles_grid_page.test.tsx.snap | 2 +- .../reset_session_page.test.tsx.snap | 2 +- .../connectors_dropdown.test.tsx | 2 +- .../trusted_app_deletion_dialog.test.tsx.snap | 6 +- .../__snapshots__/index.test.tsx.snap | 22 +- .../__snapshots__/index.test.tsx.snap | 348 +++++++++--------- .../__snapshots__/cert_search.test.tsx.snap | 4 +- .../__snapshots__/cert_status.test.tsx.snap | 2 +- .../fingerprint_col.test.tsx.snap | 4 +- .../uptime_date_picker.test.tsx.snap | 6 +- .../__snapshots__/donut_chart.test.tsx.snap | 10 +- .../__snapshots__/license_info.test.tsx.snap | 2 +- .../__snapshots__/ml_flyout.test.tsx.snap | 4 +- .../__snapshots__/expanded_row.test.tsx.snap | 2 +- .../monitor_status.bar.test.tsx.snap | 2 +- .../ssl_certificate.test.tsx.snap | 2 +- .../location_status_tags.test.tsx.snap | 4 +- .../location_missing.test.tsx.snap | 2 +- .../__snapshots__/empty_state.test.tsx.snap | 8 +- .../filter_popover.test.tsx.snap | 2 +- .../__snapshots__/monitor_list.test.tsx.snap | 18 +- .../monitor_list_status_column.test.tsx.snap | 2 +- .../__snapshots__/page_header.test.tsx.snap | 24 +- yarn.lock | 8 +- 116 files changed, 696 insertions(+), 698 deletions(-) diff --git a/package.json b/package.json index 8a87598aec56d..b965f50cd468c 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "dependencies": { "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "7.9.1", - "@elastic/eui": "29.3.0", + "@elastic/eui": "29.5.0", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "^2.5.0", "@elastic/request-crypto": "1.1.4", diff --git a/packages/kbn-ui-framework/package.json b/packages/kbn-ui-framework/package.json index 21d25311420ca..d954ae0823caf 100644 --- a/packages/kbn-ui-framework/package.json +++ b/packages/kbn-ui-framework/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@babel/core": "^7.11.6", - "@elastic/eui": "29.3.0", + "@elastic/eui": "29.5.0", "@kbn/babel-preset": "1.0.0", "@kbn/optimizer": "1.0.0", "babel-loader": "^8.0.6", diff --git a/packages/kbn-ui-shared-deps/package.json b/packages/kbn-ui-shared-deps/package.json index 0a154c537fec1..980d9d02317b6 100644 --- a/packages/kbn-ui-shared-deps/package.json +++ b/packages/kbn-ui-shared-deps/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@elastic/charts": "23.2.1", - "@elastic/eui": "29.3.0", + "@elastic/eui": "29.5.0", "@elastic/numeral": "^2.5.0", "@kbn/i18n": "1.0.0", "@kbn/monaco": "1.0.0", diff --git a/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav.test.tsx.snap index 47b8aaefaf86a..cf734f33cc3e4 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav.test.tsx.snap @@ -585,7 +585,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` className="euiListGroupItem__icon" type="home" > -
@@ -671,7 +671,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` size="m" type="arrowRight" > -
-
-
@@ -1215,7 +1215,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` size="m" type="arrowRight" > -
-
@@ -1466,7 +1466,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` size="m" type="arrowRight" > -
-
@@ -1678,7 +1678,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` size="m" type="arrowRight" > -
-
@@ -1900,7 +1900,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` data-test-subj="collapsible-nav-lock" type="button" > -
@@ -1935,7 +1935,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` className="euiListGroupItem__icon" type="lockOpen" > -
@@ -1994,7 +1994,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` size="m" type="cross" > -
-
@@ -2916,7 +2916,7 @@ exports[`CollapsibleNav renders the default nav 3`] = ` size="m" type="arrowRight" > -
-
@@ -3088,7 +3088,7 @@ exports[`CollapsibleNav renders the default nav 3`] = ` className="euiListGroupItem__icon" type="lock" > -
@@ -3147,7 +3147,7 @@ exports[`CollapsibleNav renders the default nav 3`] = ` size="m" type="cross" > -
-
Flyout content
"`; +exports[`FlyoutService openFlyout() renders a flyout to the DOM 2`] = `"
Flyout content
"`; exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 1`] = ` Array [ @@ -59,4 +59,4 @@ Array [ ] `; -exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 2`] = `"
Flyout content 2
"`; +exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 2`] = `"
Flyout content 2
"`; diff --git a/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap b/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap index aea52eb8e7ab7..7e79725c20307 100644 --- a/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap +++ b/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap @@ -31,7 +31,7 @@ Array [ ] `; -exports[`ModalService openConfirm() renders a mountpoint confirm message 2`] = `"
Modal content
"`; +exports[`ModalService openConfirm() renders a mountpoint confirm message 2`] = `"
Modal content
"`; exports[`ModalService openConfirm() renders a string confirm message 1`] = ` Array [ @@ -53,7 +53,7 @@ Array [ ] `; -exports[`ModalService openConfirm() renders a string confirm message 2`] = `"

Some message

"`; +exports[`ModalService openConfirm() renders a string confirm message 2`] = `"

Some message

"`; exports[`ModalService openConfirm() with a currently active confirm replaces the current confirm with the new one 1`] = ` Array [ @@ -145,7 +145,7 @@ Array [ ] `; -exports[`ModalService openModal() renders a modal to the DOM 2`] = `"
Modal content
"`; +exports[`ModalService openModal() renders a modal to the DOM 2`] = `"
Modal content
"`; exports[`ModalService openModal() with a currently active confirm replaces the current confirm with the new one 1`] = ` Array [ diff --git a/src/plugins/dashboard/public/application/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/plugins/dashboard/public/application/__snapshots__/dashboard_empty_screen.test.tsx.snap index 201c6e83a4a44..d523bd2ea5b52 100644 --- a/src/plugins/dashboard/public/application/__snapshots__/dashboard_empty_screen.test.tsx.snap +++ b/src/plugins/dashboard/public/application/__snapshots__/dashboard_empty_screen.test.tsx.snap @@ -704,7 +704,7 @@ exports[`DashboardEmptyScreen renders correctly with visualize paragraph 1`] = ` size="m" type="plusInCircle" > -
-