diff --git a/package.json b/package.json index 592681146f7b2..997c585d179b1 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@babel/polyfill": "^7.2.5", "@babel/register": "^7.0.0", "@elastic/datemath": "5.0.2", - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.3", diff --git a/src/legacy/ui/public/visualize/components/__snapshots__/visualization_requesterror.test.js.snap b/src/legacy/ui/public/visualize/components/__snapshots__/visualization_requesterror.test.js.snap index dfe8b4b139c90..1502725f04c39 100644 --- a/src/legacy/ui/public/visualize/components/__snapshots__/visualization_requesterror.test.js.snap +++ b/src/legacy/ui/public/visualize/components/__snapshots__/visualization_requesterror.test.js.snap @@ -20,7 +20,7 @@ exports[`VisualizationRequestError should render according to snapshot 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json index af09a16920006..32f39ad098f4d 100644 --- a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json +++ b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json @@ -7,7 +7,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "react": "^16.8.0", "react-dom": "^16.8.0" } diff --git a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json index 03949bff691e8..105d54f68dfe0 100644 --- a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json +++ b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json @@ -7,7 +7,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "react": "^16.8.0" } } diff --git a/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json b/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json index be07b2dd8fe13..5eb55adf291fe 100644 --- a/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json +++ b/test/plugin_functional/plugins/kbn_tp_sample_panel_action/package.json @@ -8,7 +8,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "react": "^16.8.0" }, "scripts": { diff --git a/test/plugin_functional/plugins/kbn_tp_visualize_embedding/package.json b/test/plugin_functional/plugins/kbn_tp_visualize_embedding/package.json index 88e27b346f2b8..496d036979cbc 100644 --- a/test/plugin_functional/plugins/kbn_tp_visualize_embedding/package.json +++ b/test/plugin_functional/plugins/kbn_tp_visualize_embedding/package.json @@ -7,7 +7,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "react": "^16.8.0", "react-dom": "^16.8.0" } diff --git a/x-pack/package.json b/x-pack/package.json index 131c0a8bb85ef..d36792b69add0 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -165,7 +165,7 @@ "@babel/register": "^7.0.0", "@babel/runtime": "^7.3.4", "@elastic/datemath": "5.0.2", - "@elastic/eui": "10.1.0", + "@elastic/eui": "10.3.1", "@elastic/javascript-typescript-langserver": "^0.1.23", "@elastic/lsp-extension": "^0.1.1", "@elastic/node-crypto": "0.1.2", diff --git a/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot b/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot index 64cbf4a2e7563..45f32e571f2ce 100644 --- a/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot +++ b/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot @@ -163,7 +163,7 @@ Array [ xmlns="http://www.w3.org/2000/svg" > diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap index c6aeef84094b0..f899ec85fb0b2 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`AddLicense component when license is active should display correct verbiage 1`] = `"
Update your license

If you already have a new license, upload it now.

Update license
"`; +exports[`AddLicense component when license is active should display correct verbiage 1`] = `"
Update your license

If you already have a new license, upload it now.

Update license
"`; -exports[`AddLicense component when license is expired should display with correct verbiage 1`] = `"
Update your license

If you already have a new license, upload it now.

Update license
"`; +exports[`AddLicense component when license is expired should display with correct verbiage 1`] = `"
Update your license

If you already have a new license, upload it now.

Update license
"`; diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap index ab3d8319261bc..4784586c92083 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`LicenseStatus component should display display warning is expired 1`] = `"

Your Platinum license has expired

Your license expired on
"`; +exports[`LicenseStatus component should display display warning is expired 1`] = `"

Your Platinum license has expired

Your license expired on
"`; exports[`LicenseStatus component should display normally when license is active 1`] = `"

Your Gold license is active

Your license will expire on October 12, 2099 7:00 PM EST
"`; 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 5b7d5126e501f..0af06743c94ba 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 eab0dada04de0..c85fd7d15ed40 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 ab78cc599cd40..1ad7113bfbfdf 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/license_management/__jest__/__snapshots__/upload_license.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap index c8ea2e3f13f8c..7ce269bab1891 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap @@ -1366,7 +1366,7 @@ exports[`UploadLicense should display an error when ES says license is expired 1 } >
- - -
@@ -1853,7 +1827,7 @@ exports[`UploadLicense should display an error when ES says license is invalid 1 } >
- - -
@@ -2340,7 +2288,7 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`] } >
- - -
@@ -2827,7 +2749,7 @@ exports[`UploadLicense should display error when ES returns error 1`] = ` } >
- - -
diff --git a/x-pack/plugins/license_management/__jest__/add_license.test.js b/x-pack/plugins/license_management/__jest__/add_license.test.js index 8a6f7023c8461..a0f4ebdd39b0e 100644 --- a/x-pack/plugins/license_management/__jest__/add_license.test.js +++ b/x-pack/plugins/license_management/__jest__/add_license.test.js @@ -6,6 +6,7 @@ import { AddLicense } from '../public/sections/license_dashboard/add_license'; import { createMockLicense, getComponent } from './util'; +jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); describe('AddLicense component when license is active', () => { test('should display correct verbiage', () => { diff --git a/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js b/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js index d8bb63b91b402..74e1084fb0e78 100644 --- a/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js +++ b/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js @@ -6,6 +6,7 @@ import { RequestTrialExtension } from '../public/sections/license_dashboard/request_trial_extension'; import { createMockLicense, getComponent } from './util'; +jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); describe('RequestTrialExtension component', () => { test('should not display when license is active and trial has not been used', () => { diff --git a/x-pack/plugins/license_management/__jest__/revert_to_basic.test.js b/x-pack/plugins/license_management/__jest__/revert_to_basic.test.js index 96f1ab559e41a..33a5727974109 100644 --- a/x-pack/plugins/license_management/__jest__/revert_to_basic.test.js +++ b/x-pack/plugins/license_management/__jest__/revert_to_basic.test.js @@ -6,6 +6,7 @@ import { RevertToBasic } from '../public/sections/license_dashboard/revert_to_basic'; import { createMockLicense, getComponent } from './util'; +jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); describe('RevertToBasic component', () => { test('should display when trial is active', () => { diff --git a/x-pack/plugins/license_management/__jest__/start_trial.test.js b/x-pack/plugins/license_management/__jest__/start_trial.test.js index 5e29ef3b15ddd..e9c3721a8f56b 100644 --- a/x-pack/plugins/license_management/__jest__/start_trial.test.js +++ b/x-pack/plugins/license_management/__jest__/start_trial.test.js @@ -6,6 +6,7 @@ import { StartTrial } from '../public/sections/license_dashboard/start_trial'; import { createMockLicense, getComponent } from './util'; +jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); describe('StartTrial component when trial is allowed', () => { test('display for basic license', () => { 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 6ea56a87a9423..6380281055164 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 @@ -202,7 +202,7 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -560,7 +560,7 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1` xmlns="http://www.w3.org/2000/svg" > @@ -918,7 +918,7 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`] xmlns="http://www.w3.org/2000/svg" > diff --git a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap b/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap index 94803003ed3d0..805cf8ee6dc55 100644 --- a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap @@ -16,11 +16,14 @@ exports[`Summary Status Component should allow label to be optional 1`] = `
-

+

Status

Status: @@ -47,9 +50,12 @@ exports[`Summary Status Component should allow label to be optional 1`] = `

-

+

127.0.0.1:9300 @@ -66,11 +72,14 @@ exports[`Summary Status Component should allow label to be optional 1`] = `

-

+

Documents

24.8k @@ -98,11 +107,14 @@ exports[`Summary Status Component should allow status to be optional 1`] = `

-

+

Free Disk Space

173.9 GB @@ -119,11 +131,14 @@ exports[`Summary Status Component should allow status to be optional 1`] = `

-

+

Documents

24.8k @@ -150,11 +165,14 @@ exports[`Summary Status Component should render metrics in a summary bar 1`] = `

-

+

Status

Status: @@ -181,11 +199,14 @@ exports[`Summary Status Component should render metrics in a summary bar 1`] = `

-

+

Free Disk Space

173.9 GB @@ -202,11 +223,14 @@ exports[`Summary Status Component should render metrics in a summary bar 1`] = `

-

+

Documents

24.8k diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js b/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js index e48921d4e16f1..27b63877abb4d 100644 --- a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js +++ b/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js @@ -7,6 +7,7 @@ import React from 'react'; import { renderWithIntl } from '../../../../../test_utils/enzyme_helpers'; import { SummaryStatus } from './summary_status'; +jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); describe('Summary Status Component', () => { it('should render metrics in a summary bar', () => { diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap b/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap index c8362b91b80a8..2d3351ec1c0d2 100644 --- a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap +++ b/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap @@ -7,7 +7,7 @@ exports[`FilterBar renders 1`] = ` diff --git a/yarn.lock b/yarn.lock index c21ff6323a89b..8f8ffa1e0745d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1351,10 +1351,10 @@ tabbable "^1.1.0" uuid "^3.1.0" -"@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== +"@elastic/eui@10.3.1": + version "10.3.1" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-10.3.1.tgz#311b26b94d5d6ec75c1d9eb0e36db04b18832e8e" + integrity sha512-fd1omBkJCxCHVqzTIn3+13nF0ROBHriaHSw/0QSRI4M7qQOyBF+o4m4C9wrIKYAZG5lemWvz0COzWrzDNto/+w== dependencies: "@types/lodash" "^4.14.116" "@types/numeral" "^0.0.25"