From 1f6160416b1f5a200bb2135f3ae14451ed425aaf Mon Sep 17 00:00:00 2001 From: Caroline Horn <549577+cchaos@users.noreply.github.com> Date: Fri, 27 Sep 2019 18:16:57 -0400 Subject: [PATCH] Update EUI to 14.3.0 (#46824) * Update EUI to 14.3.0 and update snaps * TS Colors fix --- package.json | 2 +- .../fatal_errors_screen.test.tsx.snap | 2 -- .../instruction_set.test.js.snap | 3 --- .../saved_objects_installer.test.js.snap | 4 ---- .../__snapshots__/empty_state.test.js.snap | 1 - .../step_time_field.test.js.snap | 2 -- .../__snapshots__/call_outs.test.js.snap | 1 - .../__snapshots__/flyout.test.js.snap | 8 ------- .../__snapshots__/relationships.test.js.snap | 21 ++++--------------- .../__snapshots__/call_outs.test.js.snap | 1 - .../disabled_call_out.test.js.snap | 1 - .../warning_call_out.test.js.snap | 1 - .../vis/editors/default/components/agg.tsx | 4 ++-- .../plugins/kbn_tp_run_pipeline/package.json | 2 +- .../kbn_tp_custom_visualizations/package.json | 2 +- .../kbn_tp_embeddable_explorer/package.json | 2 +- .../kbn_tp_sample_panel_action/package.json | 2 +- .../kbn_tp_visualize_embedding/package.json | 2 +- .../extend_index_management.test.js.snap | 1 - .../__snapshots__/upload_license.test.js.snap | 4 ---- .../__snapshots__/alert_call_out.test.js.snap | 1 - .../__snapshots__/layer_errors.test.js.snap | 1 - .../annotations_table.test.js.snap | 2 -- .../rule_editor_flyout.test.js.snap | 3 --- .../__snapshots__/overview.test.js.snap | 2 -- .../logs/__snapshots__/logs.test.js.snap | 4 ---- .../logs/__snapshots__/reason.test.js.snap | 8 ------- ...pace_aware_privilege_section.test.tsx.snap | 1 - .../confirm_delete_modal.test.tsx.snap | 1 - .../advanced_settings_subtitle.test.tsx.snap | 1 - .../__snapshots__/checkup_tab.test.tsx.snap | 3 --- .../checklist_step.test.tsx.snap | 1 - .../__snapshots__/warning_step.test.tsx.snap | 1 - ...w_page_parsing_error_callout.test.tsx.snap | 2 -- x-pack/package.json | 2 +- yarn.lock | 8 +++---- 36 files changed, 17 insertions(+), 90 deletions(-) diff --git a/package.json b/package.json index 8ff76d7374fd7..b2bf9682e273f 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@babel/register": "^7.5.5", "@elastic/charts": "^12.0.2", "@elastic/datemath": "5.0.2", - "@elastic/eui": "14.2.0", + "@elastic/eui": "14.3.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.3", diff --git a/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap b/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap index 197516205cbe9..1757284a81a7e 100644 --- a/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap +++ b/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap @@ -69,7 +69,6 @@ exports[`rendering render matches snapshot 1`] = ` color="danger" iconType="alert" key="0" - size="m" title="foo" > , @@ -410,7 +409,6 @@ exports[`statusCheckState failed status check - no data 1`] = ` /> , @@ -637,7 +635,6 @@ exports[`statusCheckState successful status check 1`] = ` /> , diff --git a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap index 002264b0f2749..07744dd0f6f4b 100644 --- a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap @@ -149,7 +149,6 @@ exports[`bulkCreate should display error message when bulkCreate request fails 1 , @@ -276,7 +275,6 @@ exports[`bulkCreate should display error message when bulkCreate request fails 1
, @@ -612,7 +609,6 @@ exports[`bulkCreate should display success message when bulkCreate is successful
,
- +

Here are the saved objects related to MyDashboard. Deleting this dashboard affects its parent objects, but not its children.

@@ -200,7 +197,6 @@ exports[`Relationships should render errors 1`] = `
- +

Here are the saved objects related to MyIndexPattern*. Deleting this index-pattern affects its parent objects, but not its children.

@@ -419,10 +412,7 @@ exports[`Relationships should render searches normally 1`] = `
- +

Here are the saved objects related to MySearch. Deleting this search affects its parent objects, but not its children.

@@ -589,10 +579,7 @@ exports[`Relationships should render visualizations normally 1`] = `
- +

Here are the saved objects related to MyViz. Deleting this visualization affects its parent objects, but not its children.

diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/call_outs/__snapshots__/call_outs.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/call_outs/__snapshots__/call_outs.test.js.snap index e333c95f663fb..250dd985f0efb 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/call_outs/__snapshots__/call_outs.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/call_outs/__snapshots__/call_outs.test.js.snap @@ -5,7 +5,6 @@ exports[`CallOuts should render normally 1`] = `

diff --git a/x-pack/legacy/plugins/maps/public/connected_components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap b/x-pack/legacy/plugins/maps/public/connected_components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap index 5e14de8c4a3dd..1fdc3a1bfdf17 100644 --- a/x-pack/legacy/plugins/maps/public/connected_components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap +++ b/x-pack/legacy/plugins/maps/public/connected_components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap @@ -4,7 +4,6 @@ exports[`Should render errors when layer has errors 1`] = `

@@ -35,7 +34,6 @@ exports[`Logs should render with a no cluster found reason 1`] = `

@@ -62,7 +60,6 @@ exports[`Logs should render with a no index found reason 1`] = `

@@ -89,7 +86,6 @@ exports[`Logs should render with a no index pattern found reason 1`] = `

@@ -116,7 +112,6 @@ exports[`Logs should render with a no node found reason 1`] = `

@@ -143,7 +138,6 @@ exports[`Logs should render with a no type found reason 1`] = `

@@ -170,7 +164,6 @@ exports[`Logs should render with a time period reason 1`] = `

@@ -187,7 +180,6 @@ exports[`Logs should render with a time period reason for both scenarios 1`] = `

diff --git a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap index 7f7003250f87b..07034aca18ec2 100644 --- a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap +++ b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap @@ -5,7 +5,6 @@ exports[` with user profile disabling "manageSpaces" color="danger" data-test-subj="userCannotManageSpacesCallout" iconType="alert" - size="m" title={

@@ -27,7 +26,6 @@ exports[`OverviewPageParsingErrorCallout renders without errors when an error wi

diff --git a/x-pack/package.json b/x-pack/package.json index ebea523725dd5..2d60842f528fb 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -183,7 +183,7 @@ "@babel/runtime": "^7.5.5", "@elastic/ctags-langserver": "^0.1.10", "@elastic/datemath": "5.0.2", - "@elastic/eui": "14.2.0", + "@elastic/eui": "14.3.0", "@elastic/javascript-typescript-langserver": "^0.3.3", "@elastic/lsp-extension": "^0.1.2", "@elastic/maki": "6.1.0", diff --git a/yarn.lock b/yarn.lock index 874990b01248a..083d91f3d3303 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1019,10 +1019,10 @@ tabbable "^1.1.0" uuid "^3.1.0" -"@elastic/eui@14.2.0": - version "14.2.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.2.0.tgz#d6368250e7261c63c06443d3cf3f7cf800916ff2" - integrity sha512-6nCV/Q2Ek3zTUj549+cFFx5rpx4ZZ2pjmspPsBhUwsn685qzAPsCv4WB40u4mWBZtMRZagBN2q2M2YxZHSPBLw== +"@elastic/eui@14.3.0": + version "14.3.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.3.0.tgz#256e1af8f6b15717904f8959742a23b3495ff0bb" + integrity sha512-gAbPNezBmndInYqqw6EvRYLn2VMYQgYuPQYA5UZ7TyHzwvoBiMpUw5nFzYhS2A/Xcmq/ON5Mu8RY3LGRAVBOvQ== dependencies: "@types/lodash" "^4.14.116" "@types/numeral" "^0.0.25"