From a885425ff8c8de96a009edff170d60df54ad6de8 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Fri, 15 Feb 2019 11:45:56 -0700 Subject: [PATCH] Upgrade to EUI 7.1.0 --- package.json | 2 +- .../vis/__snapshots__/range_control.test.js.snap | 1 + .../__snapshots__/advanced_settings.test.js.snap | 8 ++++++++ .../search/__snapshots__/search.test.js.snap | 2 ++ x-pack/package.json | 2 +- .../__snapshots__/extend_index_management.test.js.snap | 2 ++ .../__snapshots__/request_trial_extension.test.js.snap | 6 +++--- .../__snapshots__/revert_to_basic.test.js.snap | 6 +++--- .../__jest__/__snapshots__/start_trial.test.js.snap | 6 +++--- .../__snapshots__/collection_enabled.test.js.snap | 2 ++ .../__snapshots__/collection_interval.test.js.snap | 4 ++++ .../__tests__/__snapshots__/empty_state.test.tsx.snap | 2 +- yarn.lock | 10 +++++----- 13 files changed, 36 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index d60a07f23714d..fe4a25d7a8efd 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ }, "dependencies": { "@elastic/datemath": "5.0.2", - "@elastic/eui": "6.10.1", + "@elastic/eui": "7.1.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.2", diff --git a/src/legacy/core_plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.js.snap b/src/legacy/core_plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.js.snap index 37d0d7b134252..19b7a7aeb64ca 100644 --- a/src/legacy/core_plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.js.snap +++ b/src/legacy/core_plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.js.snap @@ -16,6 +16,7 @@ exports[`disabled 1`] = ` min={1} showInput={false} showLabels={false} + showRange={false} showTicks={false} showValue={false} /> diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/__snapshots__/advanced_settings.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/__snapshots__/advanced_settings.test.js.snap index 5a6e3023b24a0..9979a95335281 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/__snapshots__/advanced_settings.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/__snapshots__/advanced_settings.test.js.snap @@ -35,6 +35,7 @@ exports[`AdvancedSettings should render normally 1`] = ` "_clauses": Array [], "_indexedClauses": Object { "field": Object {}, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -42,6 +43,7 @@ exports[`AdvancedSettings should render normally 1`] = ` "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "", } @@ -324,6 +326,7 @@ exports[`AdvancedSettings should render normally 1`] = ` "_clauses": Array [], "_indexedClauses": Object { "field": Object {}, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -331,6 +334,7 @@ exports[`AdvancedSettings should render normally 1`] = ` "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "", } @@ -392,6 +396,7 @@ exports[`AdvancedSettings should render specific setting if given setting key 1` }, ], }, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -399,6 +404,7 @@ exports[`AdvancedSettings should render specific setting if given setting key 1` "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "ariaName:\\"test string setting\\"", } @@ -481,6 +487,7 @@ exports[`AdvancedSettings should render specific setting if given setting key 1` }, ], }, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -488,6 +495,7 @@ exports[`AdvancedSettings should render specific setting if given setting key 1` "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "ariaName:\\"test string setting\\"", } diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap index 70ad5b3819a88..24f8729cafee1 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap @@ -45,6 +45,7 @@ exports[`Search should render normally 1`] = ` "_clauses": Array [], "_indexedClauses": Object { "field": Object {}, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -52,6 +53,7 @@ exports[`Search should render normally 1`] = ` "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "", } diff --git a/x-pack/package.json b/x-pack/package.json index a66196b4efacf..d27e8d5168385 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -119,7 +119,7 @@ }, "dependencies": { "@elastic/datemath": "5.0.2", - "@elastic/eui": "6.10.1", + "@elastic/eui": "7.1.0", "@elastic/node-crypto": "0.1.2", "@elastic/numeral": "2.3.2", "@kbn/babel-preset": "1.0.0", 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 f65e8d27e2821..18b216e60d07f 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 @@ -25,6 +25,7 @@ Object { }, ], }, + "group": Array [], "is": Object {}, "term": Array [], }, @@ -32,6 +33,7 @@ Object { "syntax": Object { "parse": [Function], "print": [Function], + "printClause": [Function], }, "text": "ilm.step:ERROR", }, diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap index c27bfcd83014c..ae37f4357b578 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`RequestTrialExtension component should display when license is active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; +exports[`RequestTrialExtension component should display when license is active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; -exports[`RequestTrialExtension component should display when license is not active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; +exports[`RequestTrialExtension component should display when license is not active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; -exports[`RequestTrialExtension component should display when platinum license is not active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; +exports[`RequestTrialExtension component should display when platinum license is not active and trial has been used 1`] = `"
Extend your trial

If you’d like to continuing using security, machine learning, and our other awesome Platinum features, request an extension now.

Extend trial
"`; diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap index e3169e480db0c..290c43ba514ab 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`RevertToBasic component should display when license is about to expire 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; +exports[`RevertToBasic component should display when license is about to expire 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; -exports[`RevertToBasic component should display when license is expired 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; +exports[`RevertToBasic component should display when license is expired 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; -exports[`RevertToBasic component should display when trial is active 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; +exports[`RevertToBasic component should display when trial is active 1`] = `"
Revert to Basic license

You’ll revert to our free features and lose access to security, machine learning and other Platinum features.

"`; diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap index 3556be8618676..277033f3ee111 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`StartTrial component when trial is allowed display for basic license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; +exports[`StartTrial component when trial is allowed display for basic license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; -exports[`StartTrial component when trial is allowed should display for expired platinum license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; +exports[`StartTrial component when trial is allowed should display for expired platinum license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; -exports[`StartTrial component when trial is allowed should display for gold license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; +exports[`StartTrial component when trial is allowed should display for gold license 1`] = `"
Start a 30-day trial

Experience what security, machine learning, and all our other Platinum features have to offer.

"`; 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 8f90369da73f3..9d22bac8b99fd 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 @@ -194,6 +194,7 @@ exports[`ExplainCollectionEnabled should explain about xpack.monitoring.collecti @@ -214,6 +215,7 @@ exports[`ExplainCollectionEnabled should explain about xpack.monitoring.collecti 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 b20745f9c558b..b3f407e566b64 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 @@ -370,6 +370,7 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh @@ -390,6 +391,7 @@ exports[`ExplainCollectionInterval collection interval setting updates should sh @@ -698,6 +700,7 @@ exports[`ExplainCollectionInterval should explain about xpack.monitoring.collect @@ -718,6 +721,7 @@ exports[`ExplainCollectionInterval should explain about xpack.monitoring.collect diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap b/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap index 4cdf51212a6b2..fb6859664e3ff 100644 --- a/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap @@ -225,7 +225,7 @@ exports[`EmptyState component doesn't render child components when count is fals