From 1580afea26282e24cc10a3133e5b6bf43545930c Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Mon, 22 Apr 2019 10:49:02 -0600 Subject: [PATCH] Upgrade EUI to 10.1.0 --- package.json | 2 +- .../data/__snapshots__/data_view.test.js.snap | 254 +++++++++--------- .../__snapshots__/add_panel.test.js.snap | 1 - .../__snapshots__/clone_modal.test.js.snap | 5 +- .../open_search_panel.test.js.snap | 1 - .../__snapshots__/add_data.test.js.snap | 33 +-- .../__snapshots__/home.test.js.snap | 30 --- .../recently_accessed.test.js.snap | 7 +- .../__snapshots__/footer.test.js.snap | 5 +- .../instruction_set.test.js.snap | 6 - .../__snapshots__/introduction.test.js.snap | 5 - .../saved_objects_installer.test.js.snap | 27 +- .../__snapshots__/empty_state.test.js.snap | 1 - .../__snapshots__/header.test.js.snap | 21 +- .../__snapshots__/loading_state.test.js.snap | 1 - .../__snapshots__/header.test.js.snap | 2 - .../loading_indices.test.js.snap | 8 +- .../__snapshots__/status_message.test.js.snap | 12 - .../step_time_field.test.js.snap | 5 +- .../__snapshots__/header.test.js.snap | 3 - .../__snapshots__/time_field.test.js.snap | 5 +- .../__snapshots__/header.test.js.snap | 6 +- .../__snapshots__/header.test.js.snap | 6 +- .../__snapshots__/objects_table.test.js.snap | 5 +- .../__snapshots__/flyout.test.js.snap | 15 +- .../__snapshots__/header.test.js.snap | 7 +- .../__snapshots__/relationships.test.js.snap | 25 +- .../field/__snapshots__/field.test.js.snap | 26 -- .../form/__snapshots__/form.test.js.snap | 30 +-- .../__snapshots__/page_title.test.js.snap | 5 +- .../__snapshots__/new_vis_modal.test.tsx.snap | 12 +- .../__snapshots__/server_status.test.js.snap | 10 +- .../label_template_flyout.test.js.snap | 5 +- .../url_template_flyout.test.js.snap | 5 +- .../inspector_panel.test.js.snap | 1 - .../language_switcher.test.tsx.snap | 10 +- .../plugins/kbn_tp_run_pipeline/package.json | 2 +- .../kbn_tp_custom_visualizations/package.json | 2 +- .../kbn_tp_sample_panel_action/package.json | 2 +- .../kbn_tp_visualize_embedding/package.json | 2 +- x-pack/package.json | 2 +- .../__test__/__snapshots__/Home.test.js.snap | 1 - .../extend_index_management.test.js.snap | 3 - .../telemetry_opt_in.test.js.snap | 5 - .../__snapshots__/upload_license.test.js.snap | 233 +++++++--------- .../pipeline_editor.test.js.snap | 6 - .../upgrade_failure.test.js.snap | 48 +--- .../upgrade_failure_title.test.js.snap | 5 +- .../__snapshots__/view.test.js.snap | 2 - .../source_settings.test.js.snap | 1 - .../__snapshots__/view.test.js.snap | 1 - .../__snapshots__/view.test.js.snap | 2 - .../toc_entry/__snapshots__/view.test.js.snap | 5 +- .../actions_section.test.js.snap | 15 +- .../rule_editor_flyout.test.js.snap | 49 +--- .../__snapshots__/scope_section.test.js.snap | 25 +- .../edit_condition_link.test.js.snap | 15 +- .../validate_job_view.test.js.snap | 20 +- .../__snapshots__/editor.test.js.snap | 6 - .../__snapshots__/settings.test.js.snap | 5 +- .../__snapshots__/calendar_form.test.js.snap | 10 +- .../imported_events.test.js.snap | 5 +- .../list/__snapshots__/header.test.js.snap | 12 +- .../add_item_popover.test.js.snap | 3 - .../edit/__snapshots__/header.test.js.snap | 61 +---- .../list/__snapshots__/header.test.js.snap | 12 +- .../__snapshots__/overview.test.js.snap | 3 - .../__snapshots__/ccr_shard.test.js.snap | 8 +- .../logs/__snapshots__/logs.test.js.snap | 12 +- .../__snapshots__/detail_drawer.test.js.snap | 50 +--- .../__snapshots__/metric.test.js.snap | 1 - .../__test__/__snapshots__/queue.test.js.snap | 2 - .../statement_list_heading.test.js.snap | 1 - .../__snapshots__/no_data.test.js.snap | 2 +- .../collection_enabled.test.js.snap | 12 +- .../collection_interval.test.js.snap | 34 +-- .../__snapshots__/page_loading.test.js.snap | 2 +- .../report_info_button.test.tsx.snap | 104 ++++--- .../disabled_login_form.test.tsx.snap | 4 - .../__snapshots__/login_page.test.tsx.snap | 10 - .../collapsible_panel.test.tsx.snap | 5 +- .../elasticsearch_privileges.test.tsx.snap | 2 - .../simple_privilege_section.test.tsx.snap | 40 +-- .../privilege_space_form.test.tsx.snap | 33 +-- .../privilege_display.tsx | 4 +- .../confirm_delete_modal.test.tsx.snap | 7 +- .../advanced_settings_title.test.tsx.snap | 1 - .../secure_space_message.test.tsx.snap | 2 - .../enabled_features.test.tsx.snap | 3 - .../__snapshots__/section_panel.test.tsx.snap | 1 - .../spaces_grid_pages.test.tsx.snap | 2 - .../spaces_description.test.tsx.snap | 2 - .../space_selector.test.tsx.snap | 4 - .../__snapshots__/checkup_tab.test.tsx.snap | 3 - .../checklist_step.test.tsx.snap | 1 - .../__snapshots__/error_list.test.tsx.snap | 1 - .../monitor_charts.test.tsx.snap | 2 - .../__snapshots__/monitor_list.test.tsx.snap | 1 - .../__snapshots__/ping_list.test.tsx.snap | 1 - .../__snapshots__/snapshot.test.tsx.snap | 2 - .../__snapshots__/empty_state.test.tsx.snap | 46 +--- .../opt_in_details_component.test.js.snap | 11 +- .../__snapshots__/telemetry_form.test.js.snap | 5 +- yarn.lock | 8 +- 104 files changed, 449 insertions(+), 1145 deletions(-) diff --git a/package.json b/package.json index e2e5a56577367..ea8c43b4142b6 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@babel/polyfill": "^7.2.5", "@babel/register": "^7.0.0", "@elastic/datemath": "5.0.2", - "@elastic/eui": "9.9.0", + "@elastic/eui": "10.1.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.3", diff --git a/src/legacy/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap b/src/legacy/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap index 522a12b4ec84f..dc1f6c17c93e4 100644 --- a/src/legacy/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap +++ b/src/legacy/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap @@ -128,84 +128,81 @@ exports[`Inspector Data View component should render empty state 1`] = `
- -

+

+ +

+ +

+ + } + iconColor="subdued" + title={ +

-

- - } - iconColor="subdued" - title={ -

- -

- } - > -
+ } > - - - -

- +

- No data available - -

- - -
- - -
-

- The element did not provide any data. + No data available -

-
-
- - -
- +

+
+ +
+ + +
+

+ + The element did not provide any data. + +

+
+
+ + +
+ +

@@ -340,79 +337,80 @@ exports[`Inspector Data View component should render loading state 1`] = `
- -
- -
- -
- -
+ + + + + + + +
-
-
+ +
-
- - -
- - -
-

- - Gathering data - -

-
-
-
- -
- -
- + className="euiText euiText--medium" + > +

+ + Gathering data + +

+
+ +
+ +
+ +
+ +
diff --git a/src/legacy/core_plugins/kibana/public/dashboard/top_nav/__snapshots__/add_panel.test.js.snap b/src/legacy/core_plugins/kibana/public/dashboard/top_nav/__snapshots__/add_panel.test.js.snap index 7a09d6ad9eb8c..493f4f65df776 100644 --- a/src/legacy/core_plugins/kibana/public/dashboard/top_nav/__snapshots__/add_panel.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/dashboard/top_nav/__snapshots__/add_panel.test.js.snap @@ -15,7 +15,6 @@ exports[`render 1`] = ` >

- +

- +

@@ -219,7 +215,6 @@ exports[`apmUiEnabled 1`] = ` className="homAddData__footerItem" > - +

@@ -474,7 +464,6 @@ exports[`isNewKibanaInstance 1`] = ` className="homAddData__footerItem homAddData__footerItem--highlight" > - +

@@ -771,7 +755,6 @@ exports[`mlEnabled 1`] = ` className="homAddData__footerItem" > - +

@@ -1065,7 +1042,6 @@ exports[`render 1`] = ` className="homAddData__footerItem" >

@@ -142,7 +139,6 @@ exports[`home directories should render ADMIN directory entry in "Manage" panel >

@@ -272,7 +266,6 @@ exports[`home directories should render DATA directory entry in "Explore Data" p >

@@ -402,7 +393,6 @@ exports[`home isNewKibanaInstance should safely handle execeptions 1`] = ` >

@@ -519,7 +507,6 @@ exports[`home isNewKibanaInstance should set isNewKibanaInstance to false when t >

@@ -636,7 +621,6 @@ exports[`home isNewKibanaInstance should set isNewKibanaInstance to true when th >

@@ -753,7 +735,6 @@ exports[`home should render home component 1`] = ` >

@@ -870,7 +849,6 @@ exports[`home welcome should show the normal home page if loading fails 1`] = ` >

@@ -987,7 +963,6 @@ exports[`home welcome should show the normal home page if welcome screen is disa >

@@ -1111,7 +1084,6 @@ exports[`home welcome stores skip welcome setting if skipped 1`] = ` >

diff --git a/src/legacy/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap b/src/legacy/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap index 44a08f06984f5..69de8583b996a 100644 --- a/src/legacy/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap @@ -8,12 +8,10 @@ exports[`render 1`] = ` >

- + - +

title1 @@ -96,7 +95,6 @@ exports[`statusCheckState checking status 1`] = ` >

title1 @@ -215,7 +213,6 @@ exports[`statusCheckState failed status check - error 1`] = ` >

title1 @@ -339,7 +336,6 @@ exports[`statusCheckState failed status check - no data 1`] = ` >

title1 @@ -463,7 +459,6 @@ exports[`statusCheckState initial state - no check has been attempted 1`] = ` >

title1 @@ -582,7 +577,6 @@ exports[`statusCheckState successful status check 1`] = ` >

title1 diff --git a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/introduction.test.js.snap b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/introduction.test.js.snap index 79aafa88977d9..8a3f139c08912 100644 --- a/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/introduction.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/home/components/tutorial/__snapshots__/introduction.test.js.snap @@ -12,7 +12,6 @@ exports[`props exportedFieldsUrl 1`] = ` >

Great tutorial @@ -70,7 +69,6 @@ exports[`props iconType 1`] = ` >

Great tutorial @@ -101,7 +99,6 @@ exports[`props isBeta 1`] = ` >

Great tutorial @@ -136,7 +133,6 @@ exports[`props previewUrl 1`] = ` >

Great tutorial @@ -176,7 +172,6 @@ exports[`render 1`] = ` >

Great tutorial 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 a7c1c2ddea898..05d968c3d4e3f 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 @@ -127,10 +127,7 @@ exports[`bulkCreate should display error message when bulkCreate request fails 1 justifyContent="spaceBetween" > - +

Imports index pattern, visualizations and pre-defined dashboards.

@@ -209,7 +206,6 @@ exports[`bulkCreate should display error message when bulkCreate request fails 1

- +

@@ -445,10 +438,7 @@ exports[`bulkCreate should display success message when bulkCreate is successful justifyContent="spaceBetween" > - +

Imports index pattern, visualizations and pre-defined dashboards.

@@ -565,7 +555,6 @@ exports[`bulkCreate should display success message when bulkCreate is successful

- +

@@ -687,10 +673,7 @@ exports[`renders 1`] = ` justifyContent="spaceBetween" > - +

Imports index pattern, visualizations and pre-defined dashboards.

diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/__jest__/__snapshots__/empty_state.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/__jest__/__snapshots__/empty_state.test.js.snap index 7d13961480ea6..af5e95b2ffcd9 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/__jest__/__snapshots__/empty_state.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/__jest__/__snapshots__/empty_state.test.js.snap @@ -43,7 +43,6 @@ exports[`EmptyState should render normally 1`] = ` , "needToIndex": - +

- +

- +

- + - +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

@@ -132,7 +131,6 @@ exports[`Field for array setting should render as read only with help text if ov hasEmptyLabelSpace={false} helpText={ @@ -510,7 +507,6 @@ exports[`Field for boolean setting should render as read only with help text if size="s" /> @@ -553,7 +549,6 @@ exports[`Field for boolean setting should render as read only with help text if hasEmptyLabelSpace={false} helpText={ @@ -941,7 +935,6 @@ exports[`Field for image setting should render as read only with help text if ov size="s" /> @@ -984,7 +977,6 @@ exports[`Field for image setting should render as read only with help text if ov hasEmptyLabelSpace={false} helpText={ @@ -1297,7 +1288,6 @@ exports[`Field for json setting should render as read only if saving is disabled size="s" /> @@ -1407,7 +1397,6 @@ exports[`Field for json setting should render as read only with help text if ove size="s" /> @@ -1454,7 +1443,6 @@ exports[`Field for json setting should render as read only with help text if ove hasEmptyLabelSpace={false} helpText={ @@ -1751,7 +1738,6 @@ exports[`Field for json setting should render user value if there is user value size="s" /> @@ -1963,7 +1949,6 @@ exports[`Field for markdown setting should render as read only with help text if size="s" /> @@ -2006,7 +1991,6 @@ exports[`Field for markdown setting should render as read only with help text if hasEmptyLabelSpace={false} helpText={ @@ -2448,7 +2431,6 @@ exports[`Field for number setting should render as read only with help text if o size="s" /> @@ -2491,7 +2473,6 @@ exports[`Field for number setting should render as read only with help text if o hasEmptyLabelSpace={false} helpText={ @@ -2882,7 +2862,6 @@ exports[`Field for select setting should render as read only with help text if o size="s" /> @@ -2925,7 +2904,6 @@ exports[`Field for select setting should render as read only with help text if o hasEmptyLabelSpace={false} helpText={ @@ -3367,7 +3344,6 @@ exports[`Field for string setting should render as read only with help text if o size="s" /> @@ -3410,7 +3386,6 @@ exports[`Field for string setting should render as read only with help text if o hasEmptyLabelSpace={false} helpText={ diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap index 4381cf40410f8..0fa95c561001f 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap @@ -40,10 +40,7 @@ exports[`Form should render normally 1`] = ` paddingSize="l" > - + @@ -104,10 +101,7 @@ exports[`Form should render normally 1`] = ` paddingSize="l" > - + @@ -150,10 +144,7 @@ exports[`Form should render normally 1`] = ` paddingSize="l" > - + @@ -230,10 +221,7 @@ exports[`Form should render read-only when saving is disabled 1`] = ` paddingSize="l" > - + @@ -294,10 +282,7 @@ exports[`Form should render read-only when saving is disabled 1`] = ` paddingSize="l" > - + @@ -340,10 +325,7 @@ exports[`Form should render read-only when saving is disabled 1`] = ` paddingSize="l" > - + diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/__snapshots__/page_title.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/__snapshots__/page_title.test.js.snap index 11dd3b48d737c..8dd4e501067b5 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/__snapshots__/page_title.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/__snapshots__/page_title.test.js.snap @@ -1,10 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`PageTitle should render normally 1`] = ` - +

diff --git a/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap b/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap index b638849ae0d62..12ef4a16924ba 100644 --- a/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap +++ b/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap @@ -1375,7 +1375,6 @@ exports[`NewVisModal filter for visualization types should render as expected 1` >

- +
@@ -2802,7 +2798,6 @@ exports[`NewVisModal should render as expected 1`] = ` >

- +
diff --git a/src/legacy/core_plugins/status_page/public/components/__snapshots__/server_status.test.js.snap b/src/legacy/core_plugins/status_page/public/components/__snapshots__/server_status.test.js.snap index 8665e14c0f89d..af852a367edf9 100644 --- a/src/legacy/core_plugins/status_page/public/components/__snapshots__/server_status.test.js.snap +++ b/src/legacy/core_plugins/status_page/public/components/__snapshots__/server_status.test.js.snap @@ -13,10 +13,7 @@ exports[`render 1`] = ` - +

- +

My Computer

diff --git a/src/legacy/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/label_template_flyout.test.js.snap b/src/legacy/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/label_template_flyout.test.js.snap index 6ae7fabf65adf..c3f57a8f32873 100644 --- a/src/legacy/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/label_template_flyout.test.js.snap +++ b/src/legacy/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/label_template_flyout.test.js.snap @@ -12,10 +12,7 @@ exports[`LabelTemplateFlyout should render normally 1`] = ` size="m" > - +

- +

- +

- +

APM diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap b/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap index 95f01e49c3789..4132c02df8633 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap +++ b/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap @@ -243,7 +243,6 @@ exports[`ilm summary extension should return extension when index has lifecycle >

-
-
- Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. -
-
-
    -
  • - Watcher will be disabled -
  • -
+
+
+
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. +
+
+
    +
  • + Watcher will be disabled +
  • +
+
@@ -426,23 +429,27 @@ exports[`UploadLicense should display a modal when license requires acknowledgem class="euiModalBody" >
-
-
- Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. -
-
-
    -
  • - Watcher will be disabled -
  • -
+
+
+
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. +
+
+
    +
  • + Watcher will be disabled +
  • +
+
@@ -536,23 +543,27 @@ exports[`UploadLicense should display a modal when license requires acknowledgem class="euiModalBody" >
-
-
- Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. -
-
-
    -
  • - Watcher will be disabled -
  • -
+
+
+
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. +
+
+
    +
  • + Watcher will be disabled +
  • +
+
@@ -688,45 +699,41 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
- -
-
- -
- Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. -
-
- -
-
    -
  • - Watcher will be disabled -
  • -
-
-
+
+
+ +
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below. +
+
+ +
+
    +
  • + Watcher will be disabled +
  • +
+
+
+
-
- + +
@@ -823,10 +830,7 @@ exports[`UploadLicense should display a modal when license requires acknowledgem - +
@@ -870,10 +874,7 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
- +
@@ -1227,7 +1228,6 @@ exports[`UploadLicense should display an error when ES says license is expired 1 >

- +
@@ -1320,7 +1317,6 @@ exports[`UploadLicense should display an error when ES says license is expired 1
- +
@@ -1722,7 +1715,6 @@ exports[`UploadLicense should display an error when ES says license is invalid 1 >

- +
@@ -1815,7 +1804,6 @@ exports[`UploadLicense should display an error when ES says license is invalid 1
- +
@@ -2217,7 +2202,6 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`] >

- +
@@ -2310,7 +2291,6 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`]
- +
@@ -2712,7 +2689,6 @@ exports[`UploadLicense should display error when ES returns error 1`] = ` >

- +
@@ -2805,7 +2778,6 @@ exports[`UploadLicense should display error when ES returns error 1`] = `
- +
diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap b/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap index 85610976df6f0..65985b3fa337a 100644 --- a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap +++ b/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap @@ -16,7 +16,6 @@ exports[`PipelineEditor component includes required error message for falsy pipe >

Create Pipeline @@ -341,7 +340,6 @@ exports[`PipelineEditor component invalidates form for invalid pipeline id input >

Create Pipeline @@ -665,7 +663,6 @@ exports[`PipelineEditor component invalidates form for pipeline id with spaces 1 >

Create Pipeline @@ -989,7 +986,6 @@ exports[`PipelineEditor component matches snapshot for clone pipeline 1`] = ` >

Clone Pipeline "pipelineToClone" @@ -1301,7 +1297,6 @@ exports[`PipelineEditor component matches snapshot for create pipeline 1`] = ` >

Create Pipeline @@ -1621,7 +1616,6 @@ exports[`PipelineEditor component matches snapshot for edit pipeline 1`] = ` >

Edit Pipeline "pipelineId" diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap b/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap index ebb35547c8691..6ea56a87a9423 100644 --- a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap +++ b/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap @@ -160,15 +160,11 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = ` > - + - +

@@ -243,10 +236,7 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = ` className="euiSpacer euiSpacer--m" /> - +
@@ -528,15 +518,11 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1` > - + - +

@@ -611,10 +594,7 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1` className="euiSpacer euiSpacer--m" /> - +
@@ -896,15 +876,11 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`] > - + - +

@@ -979,10 +952,7 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`] className="euiSpacer euiSpacer--m" /> - +
diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap b/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap index 272dbeeb1beab..df4503b34c964 100644 --- a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap +++ b/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap @@ -13,10 +13,7 @@ exports[`UpgradeFailureTitle component renders component as expected 1`] = ` - +

the Title

diff --git a/x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap b/x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap index 4aeb2969a4829..7143b45311ee6 100644 --- a/x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap +++ b/x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap @@ -35,7 +35,6 @@ exports[`LayerPanel is rendered 1`] = `

layer 1 @@ -57,7 +56,6 @@ exports[`LayerPanel is rendered 1`] = ` >
diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap b/x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap index f46356ae3e0bb..73041b29b290b 100644 --- a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap +++ b/x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap @@ -21,7 +21,6 @@ exports[`LayerControl is rendered 1`] = `

- +
- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- +

- + - + - + - + - + } > - + - +

- +

+

@@ -25,10 +22,7 @@ exports[`CalendarForm CalendarId shown as title when editing 1`] = ` exports[`CalendarForm Renders calendar form 1`] = ` - +

- +

- +

- +

- +

- +

A test filter list

@@ -131,10 +124,7 @@ exports[`EditFilterListHeader renders the header when creating a new filter list - +

- + - +

- + - +

- +

- +

A test filter list

@@ -445,10 +412,7 @@ exports[`EditFilterListHeader renders the header when editing an existing used f
- + - + - +

- +

+

September 27, 2018 9:32:09 AM diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap b/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap index b3ea570c16a61..de06a73e7f8c2 100644 --- a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap @@ -83,16 +83,12 @@ exports[`Logs should render a link to filter by cluster uuid and node uuid 1`] = exports[`Logs should render a reason if the logs are disabled 1`] = `
- +

Recent Logs

@@ -145,16 +141,12 @@ Array [ exports[`Logs should render normally 1`] = `

- +

Recent Logs

diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap index e437f3abdc1d0..a1ddea5de2347 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap @@ -22,10 +22,7 @@ exports[`DetailDrawer component If vertices shows basic info and no stats for if /> - +

if

@@ -34,10 +31,7 @@ exports[`DetailDrawer component If vertices shows basic info and no stats for if - +

- +

grok filter

@@ -99,10 +90,7 @@ exports[`DetailDrawer component Plugin vertices Plugin does not have explicit ID - +

- +

grok filter

@@ -460,10 +445,7 @@ exports[`DetailDrawer component Plugin vertices Plugin has explicit ID shows bas - +

- +

queue

@@ -818,10 +797,7 @@ exports[`DetailDrawer component Queue vertices shows basic info and no stats for - +

- +

- + `; diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap index 5c94e665fd779..08edf8c1232a9 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap @@ -8,7 +8,6 @@ exports[`Metric component does not render warning badge when no warning present diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap index 08f13e9ddf868..a6ea9380e8c3e 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap @@ -11,8 +11,6 @@ exports[`Queue component renders default elements 1`] = ` />

Filters diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap index 0a772140d6775..a4ed9a6fa987f 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap @@ -127,7 +127,7 @@ exports[`NoData should show text next to the spinner while checking a setting 1`
-
diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap index aafbeb9970b6b..6e75c8b77891d 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap @@ -116,7 +116,6 @@ exports[`ExplainCollectionEnabled should explain about xpack.monitoring.collecti

- +
@@ -165,10 +160,7 @@ exports[`ExplainCollectionEnabled should explain about xpack.monitoring.collecti className="euiHorizontalRule euiHorizontalRule--half euiHorizontalRule--marginLarge" /> - +
diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap index 2ab3c6b3aa7b4..31f58bd46455e 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap @@ -117,7 +117,6 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh >

- +
@@ -164,7 +160,7 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh -
@@ -289,7 +285,6 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh

- +
@@ -338,10 +329,7 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh className="euiHorizontalRule euiHorizontalRule--half euiHorizontalRule--marginLarge" /> - +
@@ -469,7 +457,7 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh className="euiButton__spinner" size="m" > -
@@ -612,7 +600,6 @@ exports[`ExplainCollectionInterval should explain about xpack.monitoring.collect

- +
@@ -661,10 +644,7 @@ exports[`ExplainCollectionInterval should explain about xpack.monitoring.collect className="euiHorizontalRule euiHorizontalRule--half euiHorizontalRule--marginLarge" /> - +
diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap b/x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap index 5fbf0ea2d0007..8107f3985a378 100644 --- a/x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap @@ -22,7 +22,7 @@ exports[`PageLoading should show a simple page loading component 1`] = `
-
diff --git a/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap b/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap index d4d7165a8454e..85e9f7dad9298 100644 --- a/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap +++ b/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap @@ -188,9 +188,13 @@ Array [ class="euiFlyoutBody" >
- Could not fetch the job info +
+ Could not fetch the job info +
@@ -248,9 +252,13 @@ Array [ class="euiFlyoutBody" >
- Could not fetch the job info +
+ Could not fetch the job info +

@@ -327,7 +335,6 @@ Array [ >

- -
- Could not fetch the job info -
-
+ +
+ Could not fetch the job info +
+
+

@@ -444,7 +452,6 @@ Array [ >

- -
- Could not fetch the job info -
-
+ +
+ Could not fetch the job info +
+
+

, @@ -619,8 +627,12 @@ Array [ class="euiFlyoutBody" >
+ class="euiFlyoutBody__overflow" + > +
+

@@ -677,8 +689,12 @@ Array [ class="euiFlyoutBody" >
+ class="euiFlyoutBody__overflow" + > +
+
@@ -754,7 +770,6 @@ Array [ >

- -
- + +
+ +

@@ -869,7 +885,6 @@ Array [ >

- -
- + +
+ +

, diff --git a/x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap b/x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap index 876db4aed014f..4fb149160472d 100644 --- a/x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap +++ b/x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap @@ -8,8 +8,6 @@ exports[`DisabledLoginForm renders as expected 1`] = ` >

@@ -106,7 +104,6 @@ exports[`LoginPage disabled form states renders as expected when an unknown logi

@@ -188,7 +184,6 @@ exports[`LoginPage disabled form states renders as expected when secure cookies

@@ -270,7 +264,6 @@ exports[`LoginPage disabled form states renders as expected when xpack is not av

@@ -352,7 +344,6 @@ exports[`LoginPage enabled form state renders as expected 1`] = `

diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap index 60247b0d713cc..b4d2e8418437c 100644 --- a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap +++ b/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap @@ -14,10 +14,7 @@ exports[`it renders without blowing up 1`] = ` - +

diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap index f0dd5923d7499..f50382003f87a 100644 --- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap +++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap @@ -41,10 +41,7 @@ exports[` renders without crashing 1`] = ` options={ Array [ Object { - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` "value": "none", }, Object { - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` "value": "custom", }, Object { - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` "value": "read", }, Object { - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` >

renders without crashing 1`] = ` Array [ Object { "disabled": false, - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` }, Object { "disabled": true, - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` "value": "basePrivilege_read", }, Object { - "dropdownDisplay": + "dropdownDisplay": renders without crashing 1`] = ` />

, - "inputDisplay": + "inputDisplay": renders without crashing 1`] = ` />

Customize by feature @@ -294,7 +274,6 @@ exports[` renders without crashing 1`] = ` size="xs" />

diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx index d8bb01b01af82..af8a201cec716 100644 --- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx +++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import { EuiIcon, EuiIconTip, EuiText, EuiTextProps, IconType } from '@elastic/eui'; +import { EuiIcon, EuiIconTip, EuiText, IconType, PropsOf } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import _ from 'lodash'; import React, { ReactNode, SFC } from 'react'; @@ -13,7 +13,7 @@ import { } from '../../../../../../../lib/kibana_privilege_calculator'; import { NO_PRIVILEGE_VALUE } from '../../../../lib/constants'; -interface Props extends EuiTextProps { +interface Props extends PropsOf { privilege: string | string[] | undefined; explanation?: PrivilegeExplanation; iconType?: IconType; diff --git a/x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap index aef0c720e7e01..b3a491749f5a4 100644 --- a/x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap +++ b/x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap @@ -26,8 +26,6 @@ exports[`ConfirmDeleteModal renders as expected 1`] = `

- +

diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap index 65d08ae68369f..6d07edc9bbdb2 100644 --- a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap +++ b/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap @@ -16,7 +16,6 @@ exports[`it renders without blowing up 1`] = ` >

diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap b/x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap index 3568a124dc9a5..8cce2a376746a 100644 --- a/x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap +++ b/x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap @@ -9,8 +9,6 @@ exports[`SpacesDescription renders without crashing 1`] = ` >

Organize your dashboards and other saved objects into meaningful categories. diff --git a/x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap b/x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap index 7d99e0cde8087..84ed864c36231 100644 --- a/x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap +++ b/x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap @@ -26,7 +26,6 @@ exports[`it renders without crashing 1`] = `

@@ -71,8 +69,6 @@ exports[`it renders without crashing 1`] = `

Loading… @@ -132,22 +131,18 @@ exports[`EmptyState component doesn't render child components when count is fals > - +
-
@@ -158,7 +153,6 @@ exports[`EmptyState component doesn't render child components when count is fals

- +

- +
@@ -670,7 +655,6 @@ exports[`EmptyState component renders error message when an error occurs 1`] = ` title={

Error @@ -683,19 +667,14 @@ exports[`EmptyState component renders error message when an error occurs 1`] = ` > - +

- +
@@ -851,7 +827,6 @@ exports[`EmptyState component renders loading state if no errors or doc count 1`

Loading… @@ -866,22 +841,18 @@ exports[`EmptyState component renders loading state if no errors or doc count 1` > - +
-
@@ -892,7 +863,6 @@ exports[`EmptyState component renders loading state if no errors or doc count 1`

- +

- + - + diff --git a/yarn.lock b/yarn.lock index b064e9b222c87..f3e6cb053007e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1331,10 +1331,10 @@ tabbable "^1.1.0" uuid "^3.1.0" -"@elastic/eui@9.9.0": - version "9.9.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-9.9.0.tgz#bbe1a3d3cb22f1198e05665ca52cd48335a73b53" - integrity sha512-T6Cr68Il8tfbke/361UUW6gyQXEQwAvmDIUYOZSqCjsYjSq6JTFbwzQ6ezRD11RMN2vn8CPUwPVP5JAGNUXz8Q== +"@elastic/eui@10.1.0": + version "10.1.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-10.1.0.tgz#55c116f1ac66d5dfc7fc4ea0503a0d0d8d0430c7" + integrity sha512-AXr2HQ8JVTLN4vezwfueSCvAHjT2yIxSY6F6gXW2Uh7FqILXBa8Qfs7YAOpTTKIJ5tzW4GMYM9xx23RUPeusRw== dependencies: "@types/lodash" "^4.14.116" "@types/numeral" "^0.0.25"