From 5910e818d1be1ca9086621c0083ac02612a95e54 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Tue, 1 Dec 2020 09:19:39 -0700 Subject: [PATCH] Upgrade EUI to 30.5.1 --- package.json | 2 +- .../__snapshots__/palette.stories.storyshot | 287 +------- .../font_picker.stories.storyshot | 109 +-- .../palette_picker.stories.storyshot | 621 +----------------- .../text_style_picker.stories.storyshot | 90 +-- .../__snapshots__/edit_var.stories.storyshot | 332 +--------- .../extended_template.stories.storyshot | 195 +----- .../public/components/search_bar.tsx | 2 +- .../__snapshots__/icon_select.test.js.snap | 1 + .../add_tooltip_field_popover.test.tsx.snap | 2 + yarn.lock | 17 +- 11 files changed, 46 insertions(+), 1612 deletions(-) diff --git a/package.json b/package.json index 56a5e4c3c860d..9b4c99747c67f 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@elastic/datemath": "link:packages/elastic-datemath", "@elastic/elasticsearch": "7.10.0-rc.1", "@elastic/ems-client": "7.11.0", - "@elastic/eui": "30.4.2", + "@elastic/eui": "30.5.1", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/node-crypto": "1.2.1", diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot index fccf5d2b56651..f0d673eaf316d 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot @@ -10,7 +10,7 @@ exports[`Storyshots arguments/Palette default 1`] = ` } >
- -
-
- - Select an option: - - - - - - - - - - - - - - - - - - - , is selected - - -
- - -
-
-
-
+ />
`; diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot b/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot index 12daa9c98377d..560ac717913f7 100644 --- a/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot @@ -2,7 +2,7 @@ exports[`Storyshots components/FontPicker default 1`] = `
- -
-
- - Select an option: - , is selected - -
-
-
+ />
`; exports[`Storyshots components/FontPicker with value 1`] = `
- -
-
- - Select an option: -
- American Typewriter -
- , is selected -
- -
- - -
-
-
-
+ />
`; diff --git a/x-pack/plugins/canvas/public/components/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot b/x-pack/plugins/canvas/public/components/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot index dc9c7f4c492cf..680f792f4d1b9 100644 --- a/x-pack/plugins/canvas/public/components/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot @@ -9,7 +9,7 @@ exports[`Storyshots components/Color/PalettePicker clearable 1`] = ` } >
- -
-
- - Select an option: None, is selected - - -
- - -
-
-
-
+ />
`; @@ -75,7 +32,7 @@ exports[`Storyshots components/Color/PalettePicker default 1`] = ` } >
- -
-
- - Select an option: - - - - - - - - - - - - - - - - - - - , is selected - - -
- - -
-
-
-
+ />
`; @@ -381,7 +55,7 @@ exports[`Storyshots components/Color/PalettePicker interactive 1`] = ` } >
- -
-
- - Select an option: - - - - - - - - - - - - - - - - - - - , is selected - - -
- - -
-
-
-
+ />
`; diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot b/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot index 90f94b5141874..0dd682a534899 100644 --- a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot @@ -18,7 +18,7 @@ exports[`Storyshots components/TextStylePicker default 1`] = ` className="euiFlexItem" >
- -
-
- - Select an option: - , is selected - -
-
-
+ />
- -
-
- - Select an option: - , is selected - -
-
-
+ />
- -
-
- - Select an option: -
- - - - - - Boolean - -
- , is selected -
- -
- - -
-
-
-
+ />
@@ -442,7 +363,7 @@ Array [ className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- - - - - - Number - -
- , is selected -
- -
- - -
-
-
-
+ />
@@ -746,7 +588,7 @@ Array [ className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- - - - - - String - -
- , is selected -
- -
- - -
-
-
-
+ />
@@ -1026,7 +789,7 @@ Array [ className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- - - - - - String - -
- , is selected -
- -
- - -
-
-
-
+ />
diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot index e41e48b9d199f..9e0e5544fa7a0 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot +++ b/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot @@ -293,7 +293,7 @@ exports[`Storyshots arguments/ContainerStyle extended 1`] = ` className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- , is selected - - -
- - -
-
-
-
+ />
@@ -757,7 +696,7 @@ exports[`Storyshots arguments/ContainerStyle/components border form 1`] = ` className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- , is selected - - -
- - -
-
-
-
+ />
@@ -1233,7 +1111,7 @@ exports[`Storyshots arguments/ContainerStyle/components extended template 1`] = className="euiFormRow__fieldWrapper" >
- -
-
- - Select an option: -
- , is selected - - -
- - -
-
-
-
+ />
diff --git a/x-pack/plugins/global_search_bar/public/components/search_bar.tsx b/x-pack/plugins/global_search_bar/public/components/search_bar.tsx index 3746e636066a9..e6ca328966023 100644 --- a/x-pack/plugins/global_search_bar/public/components/search_bar.tsx +++ b/x-pack/plugins/global_search_bar/public/components/search_bar.tsx @@ -252,6 +252,7 @@ export function SearchBar({ return ( } searchProps={{ - onSearch: () => undefined, onKeyUpCapture: (e: React.KeyboardEvent) => setSearchValue(e.currentTarget.value), 'data-test-subj': 'nav-search-input', diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap b/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap index 8fa69e1a5b467..c0505426d1f63 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap +++ b/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap @@ -44,6 +44,7 @@ exports[`Should render icon select 1`] = ` clickOutsideDisables={true} >