Skip to content

Commit 41c8801

Browse files
committed
chore: update snapshots after rebasing onto main
1 parent 43ba659 commit 41c8801

16 files changed

Lines changed: 335 additions & 1503 deletions

src/components/__tests__/Appbar/__snapshots__/Appbar.test.tsx.snap

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
195195
[
196196
{
197197
"margin": 6,
198-
"overflow": "hidden",
199198
},
200199
{
201200
"backgroundColor": undefined,
@@ -235,17 +234,10 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
235234
centered={true}
236235
collapsable={false}
237236
focusable={true}
238-
hitSlop={
239-
{
240-
"bottom": 6,
241-
"left": 6,
242-
"right": 6,
243-
"top": 6,
244-
}
245-
}
246237
onBlur={[Function]}
247238
onClick={[Function]}
248239
onFocus={[Function]}
240+
onLayout={[Function]}
249241
onResponderGrant={[Function]}
250242
onResponderMove={[Function]}
251243
onResponderRelease={[Function]}
@@ -264,6 +256,12 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
264256
"flexGrow": 1,
265257
"justifyContent": "center",
266258
},
259+
{
260+
"borderRadius": 20,
261+
},
262+
{
263+
"overflow": "hidden",
264+
},
267265
undefined,
268266
],
269267
]
@@ -365,7 +363,6 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
365363
[
366364
{
367365
"margin": 6,
368-
"overflow": "hidden",
369366
},
370367
{
371368
"backgroundColor": undefined,
@@ -405,17 +402,10 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
405402
centered={true}
406403
collapsable={false}
407404
focusable={true}
408-
hitSlop={
409-
{
410-
"bottom": 6,
411-
"left": 6,
412-
"right": 6,
413-
"top": 6,
414-
}
415-
}
416405
onBlur={[Function]}
417406
onClick={[Function]}
418407
onFocus={[Function]}
408+
onLayout={[Function]}
419409
onResponderGrant={[Function]}
420410
onResponderMove={[Function]}
421411
onResponderRelease={[Function]}
@@ -434,6 +424,12 @@ exports[`Appbar does not pass any additional props to Searchbar 1`] = `
434424
"flexGrow": 1,
435425
"justifyContent": "center",
436426
},
427+
{
428+
"borderRadius": 20,
429+
},
430+
{
431+
"overflow": "hidden",
432+
},
437433
undefined,
438434
],
439435
]
@@ -589,7 +585,6 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
589585
[
590586
{
591587
"margin": 6,
592-
"overflow": "hidden",
593588
},
594589
{
595590
"backgroundColor": undefined,
@@ -629,17 +624,10 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
629624
centered={true}
630625
collapsable={false}
631626
focusable={true}
632-
hitSlop={
633-
{
634-
"bottom": 6,
635-
"left": 6,
636-
"right": 6,
637-
"top": 6,
638-
}
639-
}
640627
onBlur={[Function]}
641628
onClick={[Function]}
642629
onFocus={[Function]}
630+
onLayout={[Function]}
643631
onResponderGrant={[Function]}
644632
onResponderMove={[Function]}
645633
onResponderRelease={[Function]}
@@ -658,6 +646,12 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
658646
"flexGrow": 1,
659647
"justifyContent": "center",
660648
},
649+
{
650+
"borderRadius": 20,
651+
},
652+
{
653+
"overflow": "hidden",
654+
},
661655
undefined,
662656
],
663657
]
@@ -817,7 +811,6 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
817811
[
818812
{
819813
"margin": 6,
820-
"overflow": "hidden",
821814
},
822815
{
823816
"backgroundColor": undefined,
@@ -856,17 +849,10 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
856849
centered={true}
857850
collapsable={false}
858851
focusable={true}
859-
hitSlop={
860-
{
861-
"bottom": 6,
862-
"left": 6,
863-
"right": 6,
864-
"top": 6,
865-
}
866-
}
867852
onBlur={[Function]}
868853
onClick={[Function]}
869854
onFocus={[Function]}
855+
onLayout={[Function]}
870856
onResponderGrant={[Function]}
871857
onResponderMove={[Function]}
872858
onResponderRelease={[Function]}
@@ -885,6 +871,12 @@ exports[`Appbar passes additional props to AppbarBackAction, AppbarContent and A
885871
"flexGrow": 1,
886872
"justifyContent": "center",
887873
},
874+
{
875+
"borderRadius": 20,
876+
},
877+
{
878+
"overflow": "hidden",
879+
},
888880
undefined,
889881
],
890882
]

src/components/__tests__/__snapshots__/Banner.test.tsx.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ exports[`render visible banner, with custom theme 1`] = `
301301
onBlur={[Function]}
302302
onClick={[Function]}
303303
onFocus={[Function]}
304+
onLayout={[Function]}
304305
onResponderGrant={[Function]}
305306
onResponderMove={[Function]}
306307
onResponderRelease={[Function]}
@@ -913,6 +914,7 @@ exports[`renders visible banner, with action buttons and with image 1`] = `
913914
onBlur={[Function]}
914915
onClick={[Function]}
915916
onFocus={[Function]}
917+
onLayout={[Function]}
916918
onResponderGrant={[Function]}
917919
onResponderMove={[Function]}
918920
onResponderRelease={[Function]}
@@ -1307,6 +1309,7 @@ exports[`renders visible banner, with action buttons and without image 1`] = `
13071309
onBlur={[Function]}
13081310
onClick={[Function]}
13091311
onFocus={[Function]}
1312+
onLayout={[Function]}
13101313
onResponderGrant={[Function]}
13111314
onResponderMove={[Function]}
13121315
onResponderRelease={[Function]}
@@ -1517,6 +1520,7 @@ exports[`renders visible banner, with action buttons and without image 1`] = `
15171520
onBlur={[Function]}
15181521
onClick={[Function]}
15191522
onFocus={[Function]}
1523+
onLayout={[Function]}
15201524
onResponderGrant={[Function]}
15211525
onResponderMove={[Function]}
15221526
onResponderRelease={[Function]}

src/components/__tests__/__snapshots__/Button.test.tsx.snap

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ exports[`renders button with an accessibility hint 1`] = `
121121
onBlur={[Function]}
122122
onClick={[Function]}
123123
onFocus={[Function]}
124+
onLayout={[Function]}
124125
onResponderGrant={[Function]}
125126
onResponderMove={[Function]}
126127
onResponderRelease={[Function]}
@@ -329,6 +330,7 @@ exports[`renders button with an accessibility label 1`] = `
329330
onBlur={[Function]}
330331
onClick={[Function]}
331332
onFocus={[Function]}
333+
onLayout={[Function]}
332334
onResponderGrant={[Function]}
333335
onResponderMove={[Function]}
334336
onResponderRelease={[Function]}
@@ -536,6 +538,7 @@ exports[`renders button with button color 1`] = `
536538
onBlur={[Function]}
537539
onClick={[Function]}
538540
onFocus={[Function]}
541+
onLayout={[Function]}
539542
onResponderGrant={[Function]}
540543
onResponderMove={[Function]}
541544
onResponderRelease={[Function]}
@@ -743,6 +746,7 @@ exports[`renders button with color 1`] = `
743746
onBlur={[Function]}
744747
onClick={[Function]}
745748
onFocus={[Function]}
749+
onLayout={[Function]}
746750
onResponderGrant={[Function]}
747751
onResponderMove={[Function]}
748752
onResponderRelease={[Function]}
@@ -950,6 +954,7 @@ exports[`renders button with custom testID 1`] = `
950954
onBlur={[Function]}
951955
onClick={[Function]}
952956
onFocus={[Function]}
957+
onLayout={[Function]}
953958
onResponderGrant={[Function]}
954959
onResponderMove={[Function]}
955960
onResponderRelease={[Function]}
@@ -1157,6 +1162,7 @@ exports[`renders button with icon 1`] = `
11571162
onBlur={[Function]}
11581163
onClick={[Function]}
11591164
onFocus={[Function]}
1165+
onLayout={[Function]}
11601166
onResponderGrant={[Function]}
11611167
onResponderMove={[Function]}
11621168
onResponderRelease={[Function]}
@@ -1413,6 +1419,7 @@ exports[`renders button with icon in reverse order 1`] = `
14131419
onBlur={[Function]}
14141420
onClick={[Function]}
14151421
onFocus={[Function]}
1422+
onLayout={[Function]}
14161423
onResponderGrant={[Function]}
14171424
onResponderMove={[Function]}
14181425
onResponderRelease={[Function]}
@@ -1671,6 +1678,7 @@ exports[`renders contained contained with mode 1`] = `
16711678
onBlur={[Function]}
16721679
onClick={[Function]}
16731680
onFocus={[Function]}
1681+
onLayout={[Function]}
16741682
onResponderGrant={[Function]}
16751683
onResponderMove={[Function]}
16761684
onResponderRelease={[Function]}
@@ -1879,6 +1887,7 @@ exports[`renders disabled button 1`] = `
18791887
onBlur={[Function]}
18801888
onClick={[Function]}
18811889
onFocus={[Function]}
1890+
onLayout={[Function]}
18821891
onResponderGrant={[Function]}
18831892
onResponderMove={[Function]}
18841893
onResponderRelease={[Function]}
@@ -2086,6 +2095,7 @@ exports[`renders loading button 1`] = `
20862095
onBlur={[Function]}
20872096
onClick={[Function]}
20882097
onFocus={[Function]}
2098+
onLayout={[Function]}
20892099
onResponderGrant={[Function]}
20902100
onResponderMove={[Function]}
20912101
onResponderRelease={[Function]}
@@ -2497,6 +2507,7 @@ exports[`renders outlined button with mode 1`] = `
24972507
onBlur={[Function]}
24982508
onClick={[Function]}
24992509
onFocus={[Function]}
2510+
onLayout={[Function]}
25002511
onResponderGrant={[Function]}
25012512
onResponderMove={[Function]}
25022513
onResponderRelease={[Function]}
@@ -2705,6 +2716,7 @@ exports[`renders text button by default 1`] = `
27052716
onBlur={[Function]}
27062717
onClick={[Function]}
27072718
onFocus={[Function]}
2719+
onLayout={[Function]}
27082720
onResponderGrant={[Function]}
27092721
onResponderMove={[Function]}
27102722
onResponderRelease={[Function]}
@@ -2912,6 +2924,7 @@ exports[`renders text button with mode 1`] = `
29122924
onBlur={[Function]}
29132925
onClick={[Function]}
29142926
onFocus={[Function]}
2927+
onLayout={[Function]}
29152928
onResponderGrant={[Function]}
29162929
onResponderMove={[Function]}
29172930
onResponderRelease={[Function]}

0 commit comments

Comments
 (0)