From 0c63c75a2fb9d59e9a8c24d9900431a46bff49dc Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Sat, 30 Sep 2023 21:29:19 -0700 Subject: [PATCH] Update downstream snapshots --- .../color_palette_picker.test.tsx.snap | 470 ++++--- .../__snapshots__/auto_refresh.test.tsx.snap | 188 ++- .../super_date_picker.test.tsx.snap | 128 +- .../range/__snapshots__/range.test.tsx.snap | 116 +- .../__snapshots__/super_select.test.tsx.snap | 904 +++++++------ .../__snapshots__/suggest.test.tsx.snap | 1132 ++++++++--------- 6 files changed, 1425 insertions(+), 1513 deletions(-) diff --git a/src/components/color_picker/color_palette_picker/__snapshots__/color_palette_picker.test.tsx.snap b/src/components/color_picker/color_palette_picker/__snapshots__/color_palette_picker.test.tsx.snap index 067050cba811..d07cfa458eb7 100644 --- a/src/components/color_picker/color_palette_picker/__snapshots__/color_palette_picker.test.tsx.snap +++ b/src/components/color_picker/color_palette_picker/__snapshots__/color_palette_picker.test.tsx.snap @@ -7,37 +7,35 @@ exports[`EuiColorPalettePicker is rendered 1`] = `
-
- + +
+
@@ -52,39 +50,37 @@ exports[`EuiColorPalettePicker is rendered with a selected custom text 1`] = `
-
- + +
+
- -
- -
+ aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="arrowDown" + /> +
@@ -99,67 +95,65 @@ exports[`EuiColorPalettePicker is rendered with a selected fixed palette 1`] = `
-
- + +
-
- -
+ + +
+ +
@@ -174,47 +168,45 @@ exports[`EuiColorPalettePicker is rendered with a selected gradient palette 1`]
-
- + +
+
- -
- - -
+
@@ -229,47 +221,45 @@ exports[`EuiColorPalettePicker is rendered with a selected gradient palette with
-
- + +
+
- -
- - -
+
@@ -284,39 +274,37 @@ exports[`EuiColorPalettePicker is rendered with the prop selectionDisplay set as
-
- + +
+
- -
- -
+ aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="arrowDown" + /> +
@@ -331,66 +319,64 @@ exports[`EuiColorPalettePicker more props are propagated to each option 1`] = `
-
- + +
-
- -
+ + +
+ +
diff --git a/src/components/date_picker/auto_refresh/__snapshots__/auto_refresh.test.tsx.snap b/src/components/date_picker/auto_refresh/__snapshots__/auto_refresh.test.tsx.snap index 3abd2bb1b976..d8ff3642f68a 100644 --- a/src/components/date_picker/auto_refresh/__snapshots__/auto_refresh.test.tsx.snap +++ b/src/components/date_picker/auto_refresh/__snapshots__/auto_refresh.test.tsx.snap @@ -7,44 +7,42 @@ exports[`EuiAutoRefresh is rendered 1`] = `
-
-
+ -
- -
+ + +
+
@@ -58,43 +56,41 @@ exports[`EuiAutoRefresh isPaused is false 1`] = `
-
-
+ -
- -
+ + +
+
@@ -108,43 +104,41 @@ exports[`EuiAutoRefresh refreshInterval is rendered 1`] = `
-
-
+ -
- -
+ + +
+
diff --git a/src/components/date_picker/super_date_picker/__snapshots__/super_date_picker.test.tsx.snap b/src/components/date_picker/super_date_picker/__snapshots__/super_date_picker.test.tsx.snap index 354b88ed7b6b..b3841a152677 100644 --- a/src/components/date_picker/super_date_picker/__snapshots__/super_date_picker.test.tsx.snap +++ b/src/components/date_picker/super_date_picker/__snapshots__/super_date_picker.test.tsx.snap @@ -155,43 +155,41 @@ exports[`EuiSuperDatePicker props isAutoRefreshOnly is rendered 1`] = `
-
-
+ -
- -
+ + +
+
@@ -210,45 +208,43 @@ exports[`EuiSuperDatePicker props isAutoRefreshOnly passes required props 1`] =
-
-
+ -
- -
+ + +
+
diff --git a/src/components/form/range/__snapshots__/range.test.tsx.snap b/src/components/form/range/__snapshots__/range.test.tsx.snap index 7a12e16e7e8a..321d8d80cea0 100644 --- a/src/components/form/range/__snapshots__/range.test.tsx.snap +++ b/src/components/form/range/__snapshots__/range.test.tsx.snap @@ -346,34 +346,32 @@ exports[`EuiRange props loading should display when showInput="inputWithPopover"
-
+
+
- -
- -
@@ -421,26 +419,24 @@ exports[`EuiRange props slider should display in popover 1`] = `
-
+
-
- -
+
@@ -465,7 +461,7 @@ exports[`EuiRange props slider should display in popover 1`] = ` data-popover-panel="true" data-test-subj="test" role="dialog" - style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000; inline-size: 0px;" >

-

+
diff --git a/src/components/form/super_select/__snapshots__/super_select.test.tsx.snap b/src/components/form/super_select/__snapshots__/super_select.test.tsx.snap index ed347f1ab88d..6ae3b34d89b0 100644 --- a/src/components/form/super_select/__snapshots__/super_select.test.tsx.snap +++ b/src/components/form/super_select/__snapshots__/super_select.test.tsx.snap @@ -7,37 +7,35 @@ exports[`EuiSuperSelect is rendered 1`] = `
-
- + +
+
@@ -52,37 +50,35 @@ exports[`EuiSuperSelect props compressed is rendered 1`] = `
-
- + +
+
@@ -97,36 +93,34 @@ exports[`EuiSuperSelect props custom display is propagated to dropdown 1`] = `
-
- + +
+
@@ -145,7 +139,7 @@ exports[`EuiSuperSelect props custom display is propagated to dropdown 1`] = ` class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-isAttached-bottom" data-popover-panel="true" role="dialog" - style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000; inline-size: 0px;" >
-
-

- You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. -

-
+ You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. +

+
+ - + -
+ +
-
- + +
+
@@ -285,49 +275,47 @@ exports[`EuiSuperSelect props is rendered with a prepend and append 1`] = `
-
- + +
+
- +
-
+
@@ -340,38 +328,36 @@ exports[`EuiSuperSelect props more props are propogated to each option 1`] = `
-
- + +
+
- -
- -
+ aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="arrowDown" + /> +
@@ -390,7 +376,7 @@ exports[`EuiSuperSelect props more props are propogated to each option 1`] = ` class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-isAttached-bottom" data-popover-panel="true" role="dialog" - style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000; inline-size: 0px;" >
-
-

- You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. -

-
+ You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. +

+
+ - + -
+ +
-
- + +
+
@@ -536,7 +518,7 @@ exports[`EuiSuperSelect props options are rendered when select is open 1`] = ` class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-isAttached-bottom" data-popover-panel="true" role="dialog" - style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000; inline-size: 0px;" >
-
-

- You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. -

-
+ You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. +

+
+ - + -
+ +
-
- + +
+
- -
- -
+ aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="arrowDown" + /> +
@@ -681,7 +659,7 @@ exports[`EuiSuperSelect props renders popoverProps on the underlying EuiPopover class="euiPanel euiPanel--plain euiPopover__panel goes-on-popover-panel emotion-euiPanel-grow-m-plain-euiPopover__panel-isAttached-bottom" data-popover-panel="true" role="dialog" - style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: 0px; left: -22px; will-change: transform, opacity; z-index: 2000; inline-size: 0px;" >
-
-

- You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. -

-
+ You are in a form selector and must select a single option. Use the Up and Down arrow keys to navigate or Escape to close. +

+
+ - + -
+ +
-
- + +
+
@@ -820,37 +794,35 @@ exports[`EuiSuperSelect props valueSelected is rendered 1`] = `
-
- + +
+
- -
- -
+ aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="arrowDown" + /> +
diff --git a/src/components/suggest/__snapshots__/suggest.test.tsx.snap b/src/components/suggest/__snapshots__/suggest.test.tsx.snap index 2f0772cdab8c..60eedbc96fb4 100644 --- a/src/components/suggest/__snapshots__/suggest.test.tsx.snap +++ b/src/components/suggest/__snapshots__/suggest.test.tsx.snap @@ -10,49 +10,47 @@ exports[`EuiSuggest is rendered 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -68,54 +66,52 @@ exports[`EuiSuggest props append 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
- - Appended - +
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+ Appended +
+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -131,49 +127,47 @@ exports[`EuiSuggest props isVirtualized 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -189,49 +183,47 @@ exports[`EuiSuggest props maxHeight 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -247,49 +239,47 @@ exports[`EuiSuggest props options common 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -305,49 +295,47 @@ exports[`EuiSuggest props options standard 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -363,71 +351,69 @@ exports[`EuiSuggest props remaining EuiFieldSearch props are spread to the searc
-
+
-
- -
- - + +
+ -
+ +
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -443,58 +429,56 @@ exports[`EuiSuggest props status status: loading is rendered 1`] = `
-
+
-
- - -
- -
+ +
+ +
+
-

- State: loading. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: loading. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -510,58 +494,56 @@ exports[`EuiSuggest props status status: saved is rendered 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
- - - +
-

- State: saved. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+ +
+

+ State: saved. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -577,49 +559,47 @@ exports[`EuiSuggest props status status: unchanged is rendered 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -635,58 +615,56 @@ exports[`EuiSuggest props status status: unsaved is rendered 1`] = `
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
- - - +
-

- State: unsaved. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+ +
+

+ State: unsaved. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -702,58 +680,56 @@ exports[`EuiSuggest props tooltipContent tooltipContent for status: loading is r
-
+
-
- - -
- -
+ +
+ +
+
-

- State: loading. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: loading. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -769,58 +745,56 @@ exports[`EuiSuggest props tooltipContent tooltipContent for status: saved is ren
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
- - - +
-

- State: saved. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+ +
+

+ State: saved. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -836,49 +810,47 @@ exports[`EuiSuggest props tooltipContent tooltipContent for status: unchanged is
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
+
-

- State: unchanged. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+

+ State: unchanged. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +

@@ -894,58 +866,56 @@ exports[`EuiSuggest props tooltipContent tooltipContent for status: unsaved is r
-
+
-
- -
- + aria-hidden="true" + class="euiFormControlLayoutCustomIcon__icon" + data-euiicon-type="search" + /> +
- - - +
-

- State: unsaved. - - Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. -

+ +
+

+ State: unsaved. + + Use the Up and Down arrow keys to move focus over options. Press Enter to select. Press Escape to collapse options. +