Skip to content

Commit 2539a2f

Browse files
committed
add interface
1 parent 3835f11 commit 2539a2f

File tree

15 files changed

+18
-79
lines changed

15 files changed

+18
-79
lines changed

packages/react-core/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ exports[`ClipboardCopy should match snapshot (auto-generated) 1`] = `
1414
class="pf-v5-c-form-control"
1515
>
1616
<input
17-
aria-expanded="false"
1817
aria-invalid="false"
1918
aria-label="'Copyable input'"
2019
data-ouia-component-id="OUIA-Generated-TextInputBase-1"

packages/react-core/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ exports[`With popover opened 1`] = `
1919
class="pf-v5-c-form-control"
2020
>
2121
<input
22-
aria-expanded="false"
2322
aria-invalid="false"
2423
aria-label="Date picker"
2524
data-ouia-component-id="OUIA-Generated-TextInputBase-4"
@@ -170,7 +169,6 @@ exports[`With popover opened 1`] = `
170169
class="pf-v5-c-form-control"
171170
>
172171
<input
173-
aria-expanded="false"
174172
aria-invalid="false"
175173
aria-label="Select year"
176174
data-ouia-component-id="OUIA-Generated-TextInputBase-5"
@@ -795,7 +793,6 @@ exports[`disabled date picker 1`] = `
795793
class="pf-v5-c-form-control pf-m-disabled"
796794
>
797795
<input
798-
aria-expanded="false"
799796
aria-invalid="false"
800797
aria-label="disabled date picker"
801798
data-ouia-component-id="OUIA-Generated-TextInputBase-1"

packages/react-core/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ exports[`simple fileupload 1`] = `
2020
>
2121
<input
2222
aria-describedby="simple-text-file-browse-button"
23-
aria-expanded="false"
2423
aria-invalid="false"
2524
aria-label="Drag a file here or browse to upload"
2625
data-ouia-component-id="OUIA-Generated-TextInputBase-1"

packages/react-core/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ exports[`simple fileuploadfield 1`] = `
1919
>
2020
<input
2121
aria-describedby="custom-file-upload-browse-button"
22-
aria-expanded="false"
2322
aria-invalid="false"
2423
aria-label="Do something custom with this!"
2524
data-ouia-component-id="OUIA-Generated-TextInputBase-1"

packages/react-core/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
3737
class="pf-v5-c-form-control"
3838
>
3939
<input
40-
aria-expanded="false"
4140
aria-invalid="false"
4241
data-ouia-component-id="OUIA-Generated-TextInputBase-9"
4342
data-ouia-component-type="PF5/TextInput"
@@ -82,7 +81,6 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
8281
class="pf-v5-c-form-control"
8382
>
8483
<input
85-
aria-expanded="false"
8684
aria-invalid="false"
8785
data-ouia-component-id="OUIA-Generated-TextInputBase-10"
8886
data-ouia-component-type="PF5/TextInput"
@@ -186,7 +184,6 @@ exports[`LoginForm LoginForm with show password 1`] = `
186184
class="pf-v5-c-form-control"
187185
>
188186
<input
189-
aria-expanded="false"
190187
aria-invalid="false"
191188
data-ouia-component-id="OUIA-Generated-TextInputBase-11"
192189
data-ouia-component-type="PF5/TextInput"
@@ -237,7 +234,6 @@ exports[`LoginForm LoginForm with show password 1`] = `
237234
class="pf-v5-c-form-control"
238235
>
239236
<input
240-
aria-expanded="false"
241237
aria-invalid="false"
242238
data-ouia-component-id="OUIA-Generated-TextInputBase-12"
243239
data-ouia-component-type="PF5/TextInput"
@@ -343,7 +339,6 @@ exports[`LoginForm should render Login form 1`] = `
343339
class="pf-v5-c-form-control"
344340
>
345341
<input
346-
aria-expanded="false"
347342
aria-invalid="false"
348343
data-ouia-component-id="OUIA-Generated-TextInputBase-1"
349344
data-ouia-component-type="PF5/TextInput"
@@ -388,7 +383,6 @@ exports[`LoginForm should render Login form 1`] = `
388383
class="pf-v5-c-form-control"
389384
>
390385
<input
391-
aria-expanded="false"
392386
aria-invalid="false"
393387
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
394388
data-ouia-component-type="PF5/TextInput"

packages/react-core/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ exports[`numberInput disables lower threshold 1`] = `
4747
class="pf-v5-c-form-control pf-m-readonly"
4848
>
4949
<input
50-
aria-expanded="false"
5150
aria-invalid="false"
5251
aria-label="Input"
5352
data-ouia-component-id="OUIA-Generated-TextInputBase-7"
@@ -141,7 +140,6 @@ exports[`numberInput disables upper threshold 1`] = `
141140
class="pf-v5-c-form-control pf-m-readonly"
142141
>
143142
<input
144-
aria-expanded="false"
145143
aria-invalid="false"
146144
aria-label="Input"
147145
data-ouia-component-id="OUIA-Generated-TextInputBase-8"
@@ -237,7 +235,6 @@ exports[`numberInput passes button props successfully 1`] = `
237235
class="pf-v5-c-form-control pf-m-readonly"
238236
>
239237
<input
240-
aria-expanded="false"
241238
aria-invalid="false"
242239
aria-label="Input"
243240
data-ouia-component-id="OUIA-Generated-TextInputBase-13"
@@ -332,7 +329,6 @@ exports[`numberInput passes input props successfully 1`] = `
332329
class="pf-v5-c-form-control"
333330
>
334331
<input
335-
aria-expanded="false"
336332
aria-invalid="false"
337333
aria-label="Input"
338334
data-ouia-component-id="OUIA-Generated-TextInputBase-12"
@@ -427,7 +423,6 @@ exports[`numberInput renders custom width 1`] = `
427423
class="pf-v5-c-form-control pf-m-readonly"
428424
>
429425
<input
430-
aria-expanded="false"
431426
aria-invalid="false"
432427
aria-label="Input"
433428
data-ouia-component-id="OUIA-Generated-TextInputBase-11"
@@ -522,7 +517,6 @@ exports[`numberInput renders defaults & extra props 1`] = `
522517
class="pf-v5-c-form-control pf-m-readonly"
523518
>
524519
<input
525-
aria-expanded="false"
526520
aria-invalid="false"
527521
aria-label="Input"
528522
data-ouia-component-id="OUIA-Generated-TextInputBase-1"
@@ -617,7 +611,6 @@ exports[`numberInput renders disabled 1`] = `
617611
class="pf-v5-c-form-control pf-m-readonly pf-m-disabled"
618612
>
619613
<input
620-
aria-expanded="false"
621614
aria-invalid="false"
622615
aria-label="Input"
623616
data-ouia-component-id="OUIA-Generated-TextInputBase-6"
@@ -713,7 +706,6 @@ exports[`numberInput renders error validated 1`] = `
713706
class="pf-v5-c-form-control pf-m-readonly pf-m-error"
714707
>
715708
<input
716-
aria-expanded="false"
717709
aria-invalid="true"
718710
aria-label="Input"
719711
data-ouia-component-id="OUIA-Generated-TextInputBase-3"
@@ -828,7 +820,6 @@ exports[`numberInput renders success validated 1`] = `
828820
class="pf-v5-c-form-control pf-m-readonly pf-m-success"
829821
>
830822
<input
831-
aria-expanded="false"
832823
aria-invalid="false"
833824
aria-label="Input"
834825
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
@@ -948,7 +939,6 @@ exports[`numberInput renders unit & position 1`] = `
948939
class="pf-v5-c-form-control pf-m-readonly"
949940
>
950941
<input
951-
aria-expanded="false"
952942
aria-invalid="false"
953943
aria-label="Input"
954944
data-ouia-component-id="OUIA-Generated-TextInputBase-10"
@@ -1042,7 +1032,6 @@ exports[`numberInput renders unit 1`] = `
10421032
class="pf-v5-c-form-control pf-m-readonly"
10431033
>
10441034
<input
1045-
aria-expanded="false"
10461035
aria-invalid="false"
10471036
aria-label="Input"
10481037
data-ouia-component-id="OUIA-Generated-TextInputBase-9"
@@ -1141,7 +1130,6 @@ exports[`numberInput renders value 1`] = `
11411130
class="pf-v5-c-form-control pf-m-readonly"
11421131
>
11431132
<input
1144-
aria-expanded="false"
11451133
aria-invalid="false"
11461134
aria-label="Input"
11471135
data-ouia-component-id="OUIA-Generated-TextInputBase-5"
@@ -1235,7 +1223,6 @@ exports[`numberInput renders warning validated 1`] = `
12351223
class="pf-v5-c-form-control pf-m-readonly pf-m-warning"
12361224
>
12371225
<input
1238-
aria-expanded="false"
12391226
aria-invalid="false"
12401227
aria-label="Input"
12411228
data-ouia-component-id="OUIA-Generated-TextInputBase-4"

packages/react-core/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ exports[`Navigation should match snapshot (auto-generated) 1`] = `
7575
class="pf-v5-c-form-control"
7676
>
7777
<input
78-
aria-expanded="false"
7978
aria-invalid="false"
8079
aria-label="Current page"
8180
data-ouia-component-id="OUIA-Generated-TextInputBase-1"

packages/react-core/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ exports[`Pagination API verify inset2xl inset breakpoints 1`] = `
134134
class="pf-v5-c-form-control"
135135
>
136136
<input
137-
aria-expanded="false"
138137
aria-invalid="false"
139138
aria-label="Current page"
140139
data-ouia-component-id="OUIA-Generated-TextInputBase-45"
@@ -343,7 +342,6 @@ exports[`Pagination API verify insetLg inset breakpoints 1`] = `
343342
class="pf-v5-c-form-control"
344343
>
345344
<input
346-
aria-expanded="false"
347345
aria-invalid="false"
348346
aria-label="Current page"
349347
data-ouia-component-id="OUIA-Generated-TextInputBase-43"
@@ -552,7 +550,6 @@ exports[`Pagination API verify insetMd inset breakpoints 1`] = `
552550
class="pf-v5-c-form-control"
553551
>
554552
<input
555-
aria-expanded="false"
556553
aria-invalid="false"
557554
aria-label="Current page"
558555
data-ouia-component-id="OUIA-Generated-TextInputBase-42"
@@ -761,7 +758,6 @@ exports[`Pagination API verify insetNone inset breakpoints 1`] = `
761758
class="pf-v5-c-form-control"
762759
>
763760
<input
764-
aria-expanded="false"
765761
aria-invalid="false"
766762
aria-label="Current page"
767763
data-ouia-component-id="OUIA-Generated-TextInputBase-40"
@@ -970,7 +966,6 @@ exports[`Pagination API verify insetSm inset breakpoints 1`] = `
970966
class="pf-v5-c-form-control"
971967
>
972968
<input
973-
aria-expanded="false"
974969
aria-invalid="false"
975970
aria-label="Current page"
976971
data-ouia-component-id="OUIA-Generated-TextInputBase-41"
@@ -1179,7 +1174,6 @@ exports[`Pagination API verify insetXl inset breakpoints 1`] = `
11791174
class="pf-v5-c-form-control"
11801175
>
11811176
<input
1182-
aria-expanded="false"
11831177
aria-invalid="false"
11841178
aria-label="Current page"
11851179
data-ouia-component-id="OUIA-Generated-TextInputBase-44"
@@ -1374,7 +1368,6 @@ exports[`Pagination component render custom pagination toggle 1`] = `
13741368
class="pf-v5-c-form-control"
13751369
>
13761370
<input
1377-
aria-expanded="false"
13781371
aria-invalid="false"
13791372
aria-label="Current page"
13801373
data-ouia-component-id="OUIA-Generated-TextInputBase-13"
@@ -1587,7 +1580,6 @@ exports[`Pagination component render custom perPageOptions 1`] = `
15871580
class="pf-v5-c-form-control"
15881581
>
15891582
<input
1590-
aria-expanded="false"
15911583
aria-invalid="false"
15921584
aria-label="Current page"
15931585
data-ouia-component-id="OUIA-Generated-TextInputBase-9"
@@ -1798,7 +1790,6 @@ exports[`Pagination component render custom start end 1`] = `
17981790
class="pf-v5-c-form-control"
17991791
>
18001792
<input
1801-
aria-expanded="false"
18021793
aria-invalid="false"
18031794
aria-label="Current page"
18041795
data-ouia-component-id="OUIA-Generated-TextInputBase-11"
@@ -1968,7 +1959,6 @@ exports[`Pagination component render empty per page options 1`] = `
19681959
class="pf-v5-c-form-control"
19691960
>
19701961
<input
1971-
aria-expanded="false"
19721962
aria-invalid="false"
19731963
aria-label="Current page"
19741964
data-ouia-component-id="OUIA-Generated-TextInputBase-10"
@@ -2179,7 +2169,6 @@ exports[`Pagination component render last page 1`] = `
21792169
class="pf-v5-c-form-control"
21802170
>
21812171
<input
2182-
aria-expanded="false"
21832172
aria-invalid="false"
21842173
aria-label="Current page"
21852174
data-ouia-component-id="OUIA-Generated-TextInputBase-8"
@@ -2394,7 +2383,6 @@ exports[`Pagination component render limited number of pages 1`] = `
23942383
class="pf-v5-c-form-control pf-m-disabled"
23952384
>
23962385
<input
2397-
aria-expanded="false"
23982386
aria-invalid="false"
23992387
aria-label="Current page"
24002388
data-ouia-component-id="OUIA-Generated-TextInputBase-6"
@@ -2598,7 +2586,6 @@ exports[`Pagination component render should render correctly bottom 1`] = `
25982586
class="pf-v5-c-form-control"
25992587
>
26002588
<input
2601-
aria-expanded="false"
26022589
aria-invalid="false"
26032590
aria-label="Current page"
26042591
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
@@ -2799,7 +2786,6 @@ exports[`Pagination component render should render correctly bottom sticky 1`] =
27992786
class="pf-v5-c-form-control"
28002787
>
28012788
<input
2802-
aria-expanded="false"
28032789
aria-invalid="false"
28042790
aria-label="Current page"
28052791
data-ouia-component-id="OUIA-Generated-TextInputBase-4"
@@ -3144,7 +3130,6 @@ exports[`Pagination component render should render correctly disabled 1`] = `
31443130
class="pf-v5-c-form-control pf-m-disabled"
31453131
>
31463132
<input
3147-
aria-expanded="false"
31483133
aria-invalid="false"
31493134
aria-label="Current page"
31503135
data-ouia-component-id="OUIA-Generated-TextInputBase-5"
@@ -3360,7 +3345,6 @@ exports[`Pagination component render should render correctly sticky 1`] = `
33603345
class="pf-v5-c-form-control"
33613346
>
33623347
<input
3363-
aria-expanded="false"
33643348
aria-invalid="false"
33653349
aria-label="Current page"
33663350
data-ouia-component-id="OUIA-Generated-TextInputBase-3"
@@ -3573,7 +3557,6 @@ exports[`Pagination component render should render correctly top 1`] = `
35733557
class="pf-v5-c-form-control"
35743558
>
35753559
<input
3576-
aria-expanded="false"
35773560
aria-invalid="false"
35783561
aria-label="Current page"
35793562
data-ouia-component-id="OUIA-Generated-TextInputBase-1"
@@ -3786,7 +3769,6 @@ exports[`Pagination component render titles 1`] = `
37863769
class="pf-v5-c-form-control"
37873770
>
37883771
<input
3789-
aria-expanded="false"
37903772
aria-invalid="false"
37913773
aria-label="Current page"
37923774
data-ouia-component-id="OUIA-Generated-TextInputBase-12"
@@ -3999,7 +3981,6 @@ exports[`Pagination component render up drop direction 1`] = `
39993981
class="pf-v5-c-form-control"
40003982
>
40013983
<input
4002-
aria-expanded="false"
40033984
aria-invalid="false"
40043985
aria-label="Current page"
40053986
data-ouia-component-id="OUIA-Generated-TextInputBase-14"
@@ -4212,7 +4193,6 @@ exports[`Pagination component render zero results 1`] = `
42124193
class="pf-v5-c-form-control pf-m-disabled"
42134194
>
42144195
<input
4215-
aria-expanded="false"
42164196
aria-invalid="false"
42174197
aria-label="Current page"
42184198
data-ouia-component-id="OUIA-Generated-TextInputBase-7"

packages/react-core/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
333333
class="pf-v5-c-form-control"
334334
>
335335
<input
336-
aria-expanded="false"
337336
aria-invalid="false"
338337
data-ouia-component-id="OUIA-Generated-TextInputBase-1"
339338
data-ouia-component-type="PF5/TextInput"
@@ -370,7 +369,6 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
370369
class="pf-v5-c-form-control"
371370
>
372371
<input
373-
aria-expanded="false"
374372
aria-invalid="false"
375373
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
376374
data-ouia-component-type="PF5/TextInput"
@@ -407,7 +405,6 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
407405
class="pf-v5-c-form-control"
408406
>
409407
<input
410-
aria-expanded="false"
411408
aria-invalid="false"
412409
data-ouia-component-id="OUIA-Generated-TextInputBase-3"
413410
data-ouia-component-type="PF5/TextInput"

0 commit comments

Comments
 (0)