Skip to content

Commit f600952

Browse files
chore(eui): update snapshot tests
1 parent 0c327f9 commit f600952

19 files changed

Lines changed: 108 additions & 108 deletions

File tree

packages/eui/src/components/color_picker/__snapshots__/color_picker.test.tsx.snap

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`EuiColorPicker color empty string 1`] = `
1212
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
1313
>
1414
<div
15-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
15+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
1616
>
1717
<span
1818
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -35,7 +35,7 @@ exports[`EuiColorPicker color empty string 1`] = `
3535
value=""
3636
/>
3737
<div
38-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
38+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
3939
>
4040
<span
4141
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -64,7 +64,7 @@ exports[`EuiColorPicker color null 1`] = `
6464
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
6565
>
6666
<div
67-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
67+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
6868
>
6969
<span
7070
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -87,7 +87,7 @@ exports[`EuiColorPicker color null 1`] = `
8787
value=""
8888
/>
8989
<div
90-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
90+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
9191
>
9292
<span
9393
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -116,7 +116,7 @@ exports[`EuiColorPicker color valid string 1`] = `
116116
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
117117
>
118118
<div
119-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
119+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
120120
>
121121
<span
122122
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -138,7 +138,7 @@ exports[`EuiColorPicker color valid string 1`] = `
138138
value="#FFFFFF"
139139
/>
140140
<div
141-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
141+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
142142
>
143143
<span
144144
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -167,7 +167,7 @@ exports[`EuiColorPicker compressed 1`] = `
167167
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
168168
>
169169
<div
170-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-absolute-left"
170+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-absolute-paddingTop-left"
171171
>
172172
<span
173173
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -189,7 +189,7 @@ exports[`EuiColorPicker compressed 1`] = `
189189
value="#FFEEDD"
190190
/>
191191
<div
192-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-absolute-right"
192+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-absolute-paddingTop-right"
193193
>
194194
<span
195195
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -218,7 +218,7 @@ exports[`EuiColorPicker disabled 1`] = `
218218
style="--euiFormControlLeftIconsCount: 1;"
219219
>
220220
<div
221-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left-disabled"
221+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left-disabled"
222222
>
223223
<span
224224
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -257,7 +257,7 @@ exports[`EuiColorPicker fullWidth 1`] = `
257257
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
258258
>
259259
<div
260-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
260+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
261261
>
262262
<span
263263
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -279,7 +279,7 @@ exports[`EuiColorPicker fullWidth 1`] = `
279279
value="#FFEEDD"
280280
/>
281281
<div
282-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
282+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
283283
>
284284
<span
285285
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -498,7 +498,7 @@ exports[`EuiColorPicker isClearable 1`] = `
498498
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 2;"
499499
>
500500
<div
501-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
501+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
502502
>
503503
<span
504504
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -520,7 +520,7 @@ exports[`EuiColorPicker isClearable 1`] = `
520520
value="#FFEEDD"
521521
/>
522522
<div
523-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
523+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
524524
>
525525
<button
526526
aria-label="Clear input"
@@ -559,7 +559,7 @@ exports[`EuiColorPicker placeholder 1`] = `
559559
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
560560
>
561561
<div
562-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
562+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
563563
>
564564
<span
565565
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -582,7 +582,7 @@ exports[`EuiColorPicker placeholder 1`] = `
582582
value=""
583583
/>
584584
<div
585-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
585+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
586586
>
587587
<span
588588
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -620,7 +620,7 @@ exports[`EuiColorPicker prepend and append 1`] = `
620620
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
621621
>
622622
<div
623-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
623+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
624624
>
625625
<span
626626
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -642,7 +642,7 @@ exports[`EuiColorPicker prepend and append 1`] = `
642642
value="#FFEEDD"
643643
/>
644644
<div
645-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
645+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
646646
>
647647
<span
648648
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -680,7 +680,7 @@ exports[`EuiColorPicker readOnly 1`] = `
680680
style="--euiFormControlLeftIconsCount: 1;"
681681
>
682682
<div
683-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
683+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
684684
>
685685
<span
686686
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -719,7 +719,7 @@ exports[`EuiColorPicker renders 1`] = `
719719
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
720720
>
721721
<div
722-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
722+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
723723
>
724724
<span
725725
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -741,7 +741,7 @@ exports[`EuiColorPicker renders 1`] = `
741741
value="#FFEEDD"
742742
/>
743743
<div
744-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
744+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
745745
>
746746
<span
747747
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -770,7 +770,7 @@ exports[`EuiColorPicker showAlpha 1`] = `
770770
style="--euiFormControlLeftIconsCount: 1; --euiFormControlRightIconsCount: 1;"
771771
>
772772
<div
773-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
773+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
774774
>
775775
<span
776776
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon-euiColorPicker__swatchInputIcon"
@@ -792,7 +792,7 @@ exports[`EuiColorPicker showAlpha 1`] = `
792792
value="#FFEEDD"
793793
/>
794794
<div
795-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
795+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
796796
>
797797
<span
798798
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"

packages/eui/src/components/color_picker/color_palette_picker/__snapshots__/color_palette_picker.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ exports[`EuiColorPalettePicker is rendered 1`] = `
2323
type="button"
2424
/>
2525
<div
26-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
26+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
2727
>
2828
<span
2929
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -65,7 +65,7 @@ exports[`EuiColorPalettePicker is rendered with a selected custom text 1`] = `
6565
Plain text as a custom option
6666
</button>
6767
<div
68-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
68+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
6969
>
7070
<span
7171
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -135,7 +135,7 @@ exports[`EuiColorPalettePicker is rendered with a selected fixed palette 1`] = `
135135
</span>
136136
</button>
137137
<div
138-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
138+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
139139
>
140140
<span
141141
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -185,7 +185,7 @@ exports[`EuiColorPalettePicker is rendered with a selected gradient palette 1`]
185185
/>
186186
</button>
187187
<div
188-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
188+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
189189
>
190190
<span
191191
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -235,7 +235,7 @@ exports[`EuiColorPalettePicker is rendered with a selected gradient palette with
235235
/>
236236
</button>
237237
<div
238-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
238+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
239239
>
240240
<span
241241
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -277,7 +277,7 @@ exports[`EuiColorPalettePicker is rendered with the prop selectionDisplay set as
277277
Palette 1
278278
</button>
279279
<div
280-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
280+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
281281
>
282282
<span
283283
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -348,7 +348,7 @@ exports[`EuiColorPalettePicker more props are propagated to each option 1`] = `
348348
</span>
349349
</button>
350350
<div
351-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
351+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
352352
>
353353
<span
354354
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"

packages/eui/src/components/combo_box/__snapshots__/combo_box.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports[`EuiComboBox renders 1`] = `
3737
/>
3838
</div>
3939
<div
40-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
40+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
4141
>
4242
<button
4343
aria-label="Open list of options"
@@ -104,7 +104,7 @@ exports[`EuiComboBox renders the options list dropdown 1`] = `
104104
</span>
105105
</div>
106106
<div
107-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-right"
107+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-right"
108108
>
109109
<button
110110
aria-label="Close list of options"

packages/eui/src/components/date_picker/__snapshots__/date_picker.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ exports[`EuiDatePicker renders 1`] = `
970970
style="--euiFormControlLeftIconsCount: 1;"
971971
>
972972
<div
973-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-left"
973+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-absolute-paddingTop-left"
974974
>
975975
<span
976976
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"

packages/eui/src/components/date_picker/__snapshots__/date_picker_range.test.tsx.snap

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports[`EuiDatePickerRange is rendered 1`] = `
1313
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
1414
>
1515
<div
16-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
16+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
1717
>
1818
<span
1919
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -78,7 +78,7 @@ exports[`EuiDatePickerRange props compressed 1`] = `
7878
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
7979
>
8080
<div
81-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-static"
81+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-compressed-static-compressed-compressed"
8282
>
8383
<span
8484
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -143,7 +143,7 @@ exports[`EuiDatePickerRange props disabled 1`] = `
143143
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
144144
>
145145
<div
146-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-disabled"
146+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed-disabled"
147147
>
148148
<span
149149
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -210,7 +210,7 @@ exports[`EuiDatePickerRange props fullWidth 1`] = `
210210
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
211211
>
212212
<div
213-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
213+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
214214
>
215215
<span
216216
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -1333,7 +1333,7 @@ exports[`EuiDatePickerRange props isInvalid 1`] = `
13331333
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited-invalid"
13341334
>
13351335
<div
1336-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1336+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
13371337
>
13381338
<span
13391339
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -1385,7 +1385,7 @@ exports[`EuiDatePickerRange props isInvalid 1`] = `
13851385
</div>
13861386
</div>
13871387
<div
1388-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1388+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
13891389
>
13901390
<span
13911391
color="danger"
@@ -1408,7 +1408,7 @@ exports[`EuiDatePickerRange props isLoading 1`] = `
14081408
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
14091409
>
14101410
<div
1411-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1411+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
14121412
>
14131413
<span
14141414
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -1458,7 +1458,7 @@ exports[`EuiDatePickerRange props isLoading 1`] = `
14581458
</div>
14591459
</div>
14601460
<div
1461-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1461+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
14621462
>
14631463
<span
14641464
aria-label="Loading"
@@ -1482,7 +1482,7 @@ exports[`EuiDatePickerRange props readOnly 1`] = `
14821482
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
14831483
>
14841484
<div
1485-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1485+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
14861486
>
14871487
<span
14881488
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"
@@ -1551,7 +1551,7 @@ exports[`EuiDatePickerRange uses individual EuiDatePicker props 1`] = `
15511551
class="euiFormControlLayout__childrenWrapper emotion-euiFormControlLayout__childrenWrapper-inGroup-prependOnly-appendOnly-delimited"
15521552
>
15531553
<div
1554-
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static"
1554+
class="euiFormControlLayoutIcons emotion-euiFormControlLayoutIcons-static-uncompressed"
15551555
>
15561556
<span
15571557
class="euiFormControlLayoutCustomIcon emotion-euiFormControlLayoutCustomIcon"

0 commit comments

Comments
 (0)