Skip to content

Commit e060ac1

Browse files
authored
chore: snap update (ant-design#58117)
1 parent 0fef8d7 commit e060ac1

19 files changed

Lines changed: 0 additions & 233 deletions

File tree

components/form/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,6 @@ exports[`renders components/form/demo/custom-feedback-icons.tsx extend context c
20462046
>
20472047
<button
20482048
class="ant-mentions-clear-icon ant-mentions-clear-icon-has-suffix"
2049-
tabindex="-1"
20502049
type="button"
20512050
>
20522051
<span
@@ -31132,7 +31131,6 @@ exports[`renders components/form/demo/validate-static.tsx extend context correct
3113231131
>
3113331132
<button
3113431133
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
31135-
tabindex="-1"
3113631134
type="button"
3113731135
>
3113831136
<span
@@ -31323,7 +31321,6 @@ exports[`renders components/form/demo/validate-static.tsx extend context correct
3132331321
>
3132431322
<button
3132531323
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
31326-
tabindex="-1"
3132731324
type="button"
3132831325
>
3132931326
<span
@@ -31833,7 +31830,6 @@ exports[`renders components/form/demo/validate-static.tsx extend context correct
3183331830
>
3183431831
<button
3183531832
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
31836-
tabindex="-1"
3183731833
type="button"
3183831834
>
3183931835
<span

components/form/__tests__/__snapshots__/demo.test.tsx.snap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,6 @@ exports[`renders components/form/demo/custom-feedback-icons.tsx correctly 1`] =
15431543
>
15441544
<button
15451545
class="ant-mentions-clear-icon ant-mentions-clear-icon-has-suffix"
1546-
tabindex="-1"
15471546
type="button"
15481547
>
15491548
<span
@@ -13384,7 +13383,6 @@ exports[`renders components/form/demo/validate-static.tsx correctly 1`] = `
1338413383
>
1338513384
<button
1338613385
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
13387-
tabindex="-1"
1338813386
type="button"
1338913387
>
1339013388
<span
@@ -13575,7 +13573,6 @@ exports[`renders components/form/demo/validate-static.tsx correctly 1`] = `
1357513573
>
1357613574
<button
1357713575
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
13578-
tabindex="-1"
1357913576
type="button"
1358013577
>
1358113578
<span
@@ -14085,7 +14082,6 @@ exports[`renders components/form/demo/validate-static.tsx correctly 1`] = `
1408514082
>
1408614083
<button
1408714084
class="ant-input-clear-icon ant-input-clear-icon-hidden ant-input-clear-icon-has-suffix"
14088-
tabindex="-1"
1408914085
type="button"
1409014086
>
1409114087
<span

components/input/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5341,7 +5341,6 @@ Array [
53415341
>
53425342
<button
53435343
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5344-
tabindex="-1"
53455344
type="button"
53465345
>
53475346
<span
@@ -5381,7 +5380,6 @@ Array [
53815380
>
53825381
<button
53835382
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5384-
tabindex="-1"
53855383
type="button"
53865384
>
53875385
<span
@@ -5483,7 +5481,6 @@ exports[`renders components/input/demo/borderless-debug.tsx extend context corre
54835481
>
54845482
<button
54855483
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5486-
tabindex="-1"
54875484
type="button"
54885485
>
54895486
<span
@@ -5523,7 +5520,6 @@ exports[`renders components/input/demo/borderless-debug.tsx extend context corre
55235520
>
55245521
<button
55255522
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5526-
tabindex="-1"
55275523
type="button"
55285524
>
55295525
<span
@@ -5600,7 +5596,6 @@ exports[`renders components/input/demo/borderless-debug.tsx extend context corre
56005596
>
56015597
<button
56025598
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5603-
tabindex="-1"
56045599
type="button"
56055600
>
56065601
<span
@@ -5734,7 +5729,6 @@ exports[`renders components/input/demo/compact-style.tsx extend context correctl
57345729
>
57355730
<button
57365731
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5737-
tabindex="-1"
57385732
type="button"
57395733
>
57405734
<span
@@ -6441,7 +6435,6 @@ exports[`renders components/input/demo/filled-debug.tsx extend context correctly
64416435
>
64426436
<button
64436437
class="ant-input-clear-icon ant-input-clear-icon-hidden"
6444-
tabindex="-1"
64456438
type="button"
64466439
>
64476440
<span
@@ -6928,7 +6921,6 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
69286921
>
69296922
<button
69306923
class="ant-input-clear-icon"
6931-
tabindex="-1"
69326924
type="button"
69336925
>
69346926
<span
@@ -7000,7 +6992,6 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
70006992
>
70016993
<button
70026994
class="ant-input-clear-icon"
7003-
tabindex="-1"
70046995
type="button"
70056996
>
70066997
<span
@@ -11204,7 +11195,6 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
1120411195
>
1120511196
<button
1120611197
class="ant-input-clear-icon ant-input-clear-icon-hidden"
11207-
tabindex="-1"
1120811198
type="button"
1120911199
>
1121011200
<span
@@ -11288,7 +11278,6 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
1128811278
>
1128911279
<button
1129011280
class="ant-input-clear-icon ant-input-clear-icon-hidden"
11291-
tabindex="-1"
1129211281
type="button"
1129311282
>
1129411283
<span
@@ -11407,7 +11396,6 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
1140711396
>
1140811397
<button
1140911398
class="ant-input-clear-icon ant-input-clear-icon-hidden"
11410-
tabindex="-1"
1141111399
type="button"
1141211400
>
1141311401
<span
@@ -12205,7 +12193,6 @@ Array [
1220512193
>
1220612194
<button
1220712195
class="ant-input-clear-icon ant-input-clear-icon-hidden"
12208-
tabindex="-1"
1220912196
type="button"
1221012197
>
1221112198
<span

components/input/__tests__/__snapshots__/demo-semantic.test.tsx.snap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ exports[`renders components/input/demo/_semantic_input.tsx correctly 1`] = `
4646
>
4747
<button
4848
class="ant-input-clear-icon ant-input-clear-icon-has-suffix semantic-mark-clear"
49-
tabindex="-1"
5049
type="button"
5150
>
5251
<span
@@ -1122,7 +1121,6 @@ exports[`renders components/input/demo/_semantic_password.tsx correctly 1`] = `
11221121
>
11231122
<button
11241123
class="ant-input-clear-icon ant-input-clear-icon-has-suffix semantic-mark-clear"
1125-
tabindex="-1"
11261124
type="button"
11271125
>
11281126
<span
@@ -1828,7 +1826,6 @@ exports[`renders components/input/demo/_semantic_search.tsx correctly 1`] = `
18281826
>
18291827
<button
18301828
class="ant-input-clear-icon ant-input-clear-icon-has-suffix semantic-mark-clear"
1831-
tabindex="-1"
18321829
type="button"
18331830
>
18341831
<span
@@ -2792,7 +2789,6 @@ exports[`renders components/input/demo/_semantic_textarea.tsx correctly 1`] = `
27922789
>
27932790
<button
27942791
class="ant-input-clear-icon ant-input-clear-icon-has-suffix semantic-mark-clear"
2795-
tabindex="-1"
27962792
type="button"
27972793
>
27982794
<span

components/input/__tests__/__snapshots__/demo.test.tsx.snap

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,6 @@ Array [
11721172
>
11731173
<button
11741174
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1175-
tabindex="-1"
11761175
type="button"
11771176
>
11781177
<span
@@ -1212,7 +1211,6 @@ Array [
12121211
>
12131212
<button
12141213
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1215-
tabindex="-1"
12161214
type="button"
12171215
>
12181216
<span
@@ -1305,7 +1303,6 @@ exports[`renders components/input/demo/borderless-debug.tsx correctly 1`] = `
13051303
>
13061304
<button
13071305
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1308-
tabindex="-1"
13091306
type="button"
13101307
>
13111308
<span
@@ -1345,7 +1342,6 @@ exports[`renders components/input/demo/borderless-debug.tsx correctly 1`] = `
13451342
>
13461343
<button
13471344
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1348-
tabindex="-1"
13491345
type="button"
13501346
>
13511347
<span
@@ -1422,7 +1418,6 @@ exports[`renders components/input/demo/borderless-debug.tsx correctly 1`] = `
14221418
>
14231419
<button
14241420
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1425-
tabindex="-1"
14261421
type="button"
14271422
>
14281423
<span
@@ -1554,7 +1549,6 @@ exports[`renders components/input/demo/compact-style.tsx correctly 1`] = `
15541549
>
15551550
<button
15561551
class="ant-input-clear-icon ant-input-clear-icon-hidden"
1557-
tabindex="-1"
15581552
type="button"
15591553
>
15601554
<span
@@ -2173,7 +2167,6 @@ exports[`renders components/input/demo/filled-debug.tsx correctly 1`] = `
21732167
>
21742168
<button
21752169
class="ant-input-clear-icon ant-input-clear-icon-hidden"
2176-
tabindex="-1"
21772170
type="button"
21782171
>
21792172
<span
@@ -2533,7 +2526,6 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
25332526
>
25342527
<button
25352528
class="ant-input-clear-icon"
2536-
tabindex="-1"
25372529
type="button"
25382530
>
25392531
<span
@@ -2605,7 +2597,6 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
26052597
>
26062598
<button
26072599
class="ant-input-clear-icon"
2608-
tabindex="-1"
26092600
type="button"
26102601
>
26112602
<span
@@ -4445,7 +4436,6 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
44454436
>
44464437
<button
44474438
class="ant-input-clear-icon ant-input-clear-icon-hidden"
4448-
tabindex="-1"
44494439
type="button"
44504440
>
44514441
<span
@@ -4529,7 +4519,6 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
45294519
>
45304520
<button
45314521
class="ant-input-clear-icon ant-input-clear-icon-hidden"
4532-
tabindex="-1"
45334522
type="button"
45344523
>
45354524
<span
@@ -4648,7 +4637,6 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
46484637
>
46494638
<button
46504639
class="ant-input-clear-icon ant-input-clear-icon-hidden"
4651-
tabindex="-1"
46524640
type="button"
46534641
>
46544642
<span
@@ -5432,7 +5420,6 @@ Array [
54325420
>
54335421
<button
54345422
class="ant-input-clear-icon ant-input-clear-icon-hidden"
5435-
tabindex="-1"
54365423
type="button"
54375424
>
54385425
<span

components/input/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ exports[`Input allowClear should change type when click 1`] = `
116116
>
117117
<button
118118
class="ant-input-clear-icon"
119-
tabindex="-1"
120119
type="button"
121120
>
122121
<span
@@ -158,7 +157,6 @@ exports[`Input allowClear should change type when click 2`] = `
158157
>
159158
<button
160159
class="ant-input-clear-icon ant-input-clear-icon-hidden"
161-
tabindex="-1"
162160
type="button"
163161
>
164162
<span
@@ -200,7 +198,6 @@ exports[`Input allowClear should not show icon if defaultValue is undefined, nul
200198
>
201199
<button
202200
class="ant-input-clear-icon ant-input-clear-icon-hidden"
203-
tabindex="-1"
204201
type="button"
205202
>
206203
<span
@@ -242,7 +239,6 @@ exports[`Input allowClear should not show icon if defaultValue is undefined, nul
242239
>
243240
<button
244241
class="ant-input-clear-icon ant-input-clear-icon-hidden"
245-
tabindex="-1"
246242
type="button"
247243
>
248244
<span
@@ -284,7 +280,6 @@ exports[`Input allowClear should not show icon if defaultValue is undefined, nul
284280
>
285281
<button
286282
class="ant-input-clear-icon ant-input-clear-icon-hidden"
287-
tabindex="-1"
288283
type="button"
289284
>
290285
<span
@@ -326,7 +321,6 @@ exports[`Input allowClear should not show icon if value is undefined, null or em
326321
>
327322
<button
328323
class="ant-input-clear-icon ant-input-clear-icon-hidden"
329-
tabindex="-1"
330324
type="button"
331325
>
332326
<span
@@ -368,7 +362,6 @@ exports[`Input allowClear should not show icon if value is undefined, null or em
368362
>
369363
<button
370364
class="ant-input-clear-icon ant-input-clear-icon-hidden"
371-
tabindex="-1"
372365
type="button"
373366
>
374367
<span
@@ -410,7 +403,6 @@ exports[`Input allowClear should not show icon if value is undefined, null or em
410403
>
411404
<button
412405
class="ant-input-clear-icon ant-input-clear-icon-hidden"
413-
tabindex="-1"
414406
type="button"
415407
>
416408
<span

0 commit comments

Comments
 (0)