@patternfly/patternfly 5.0.0-alpha.53 → 5.0.0-alpha.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/FormControl/form-control.css +164 -214
- package/components/FormControl/form-control.scss +175 -281
- package/components/FormControl/themes/dark/form-control.scss +1 -2
- package/components/NumberInput/number-input.css +0 -1
- package/components/NumberInput/number-input.scss +0 -1
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -28
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +52 -46
- package/docs/components/DatePicker/examples/DatePicker.md +55 -49
- package/docs/components/FileUpload/examples/FileUpload.md +105 -93
- package/docs/components/Form/examples/Form.md +165 -145
- package/docs/components/FormControl/examples/FormControl.md +439 -475
- package/docs/components/InlineEdit/examples/InlineEdit.md +87 -76
- package/docs/components/InputGroup/examples/InputGroup.md +84 -74
- package/docs/components/Login/examples/Login.md +92 -82
- package/docs/components/NumberInput/examples/NumberInput.md +99 -87
- package/docs/components/Pagination/examples/Pagination.md +100 -89
- package/docs/components/Select/examples/Select.md +77 -68
- package/docs/components/Slider/examples/Slider.md +31 -44
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +60 -52
- package/docs/components/Toolbar/examples/Toolbar.md +18 -16
- package/docs/components/Wizard/examples/Wizard.md +280 -245
- package/docs/demos/Alert/examples/Alert.md +69 -57
- package/docs/demos/Button/examples/Button.md +54 -48
- package/docs/demos/CardView/examples/CardView.md +9 -8
- package/docs/demos/DataList/examples/DataList.md +36 -32
- package/docs/demos/Form/examples/BasicForms.md +247 -227
- package/docs/demos/HelperText/examples/HelperText.md +37 -33
- package/docs/demos/Modal/examples/Modal.md +14 -21
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +11 -10
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -40
- package/docs/demos/Table/examples/Table.md +99 -88
- package/docs/demos/Toolbar/examples/Toolbar.md +28 -25
- package/docs/demos/Wizard/examples/Wizard.md +448 -392
- package/package.json +3 -3
- package/patternfly-no-globals.css +161 -212
- package/patternfly.css +161 -212
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/docs/components/FormControl/examples/FormControl.css +0 -5
|
@@ -123,12 +123,13 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
123
123
|
</div>
|
|
124
124
|
<div class="pf-v5-c-inline-edit__group">
|
|
125
125
|
<div class="pf-v5-c-inline-edit__input">
|
|
126
|
-
<
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
<div class="pf-v5-c-form-control">
|
|
127
|
+
<input
|
|
128
|
+
type="text"
|
|
129
|
+
value="Static value"
|
|
130
|
+
aria-label="Editable text input"
|
|
131
|
+
/>
|
|
132
|
+
</div>
|
|
132
133
|
</div>
|
|
133
134
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
134
135
|
<div class="pf-v5-c-inline-edit__action pf-m-valid">
|
|
@@ -181,12 +182,13 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
181
182
|
</div>
|
|
182
183
|
<div class="pf-v5-c-inline-edit__group">
|
|
183
184
|
<div class="pf-v5-c-inline-edit__input">
|
|
184
|
-
<
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
185
|
+
<div class="pf-v5-c-form-control">
|
|
186
|
+
<input
|
|
187
|
+
type="text"
|
|
188
|
+
value="Static value"
|
|
189
|
+
aria-label="Editable text input"
|
|
190
|
+
/>
|
|
191
|
+
</div>
|
|
190
192
|
</div>
|
|
191
193
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
192
194
|
<div class="pf-v5-c-inline-edit__action pf-m-valid">
|
|
@@ -252,13 +254,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
252
254
|
<div class="pf-v5-c-inline-edit__value">Static value</div>
|
|
253
255
|
<div class="pf-v5-c-inline-edit__group">
|
|
254
256
|
<div class="pf-v5-c-inline-edit__input">
|
|
255
|
-
<
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
<div class="pf-v5-c-form-control">
|
|
258
|
+
<input
|
|
259
|
+
type="text"
|
|
260
|
+
id="single-inline-edit-with-label-example-input"
|
|
261
|
+
value="Static value"
|
|
262
|
+
aria-label="Editable text input"
|
|
263
|
+
/>
|
|
264
|
+
</div>
|
|
262
265
|
</div>
|
|
263
266
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
264
267
|
<div class="pf-v5-c-inline-edit__action pf-m-valid">
|
|
@@ -313,12 +316,13 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
313
316
|
<div class="pf-v5-c-inline-edit__value">Static value</div>
|
|
314
317
|
<div class="pf-v5-c-inline-edit__group">
|
|
315
318
|
<div class="pf-v5-c-inline-edit__input">
|
|
316
|
-
<
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
<div class="pf-v5-c-form-control">
|
|
320
|
+
<input
|
|
321
|
+
type="text"
|
|
322
|
+
value="Static value"
|
|
323
|
+
aria-label="Editable text input"
|
|
324
|
+
/>
|
|
325
|
+
</div>
|
|
322
326
|
</div>
|
|
323
327
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
324
328
|
<div class="pf-v5-c-inline-edit__action pf-m-valid">
|
|
@@ -373,13 +377,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
373
377
|
<div class="pf-v5-c-inline-edit__value">Static value</div>
|
|
374
378
|
<div class="pf-v5-c-inline-edit__group">
|
|
375
379
|
<div class="pf-v5-c-inline-edit__input">
|
|
376
|
-
<
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
<div class="pf-v5-c-form-control">
|
|
381
|
+
<input
|
|
382
|
+
required
|
|
383
|
+
value="Invalid state"
|
|
384
|
+
aria-invalid="true"
|
|
385
|
+
aria-label="Error state input example"
|
|
386
|
+
/>
|
|
387
|
+
</div>
|
|
383
388
|
</div>
|
|
384
389
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
385
390
|
<div class="pf-v5-c-inline-edit__action">
|
|
@@ -436,13 +441,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
436
441
|
<th role="columnheader" data-label="Text input">
|
|
437
442
|
<div class="pf-v5-c-inline-edit__value">Text input description content</div>
|
|
438
443
|
<div class="pf-v5-c-inline-edit__input">
|
|
439
|
-
<
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
<div class="pf-v5-c-form-control">
|
|
445
|
+
<input
|
|
446
|
+
type="text"
|
|
447
|
+
value="Text input description content"
|
|
448
|
+
id="bulk-edit-table-example-row-1-text-input"
|
|
449
|
+
aria-label="Text input"
|
|
450
|
+
/>
|
|
451
|
+
</div>
|
|
446
452
|
</div>
|
|
447
453
|
</th>
|
|
448
454
|
<td role="cell" data-label="Disabled text input">
|
|
@@ -450,14 +456,15 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
450
456
|
class="pf-v5-c-inline-edit__value"
|
|
451
457
|
>Text input disabled, description content</div>
|
|
452
458
|
<div class="pf-v5-c-inline-edit__input">
|
|
453
|
-
<
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
<div class="pf-v5-c-form-control">
|
|
460
|
+
<input
|
|
461
|
+
type="text"
|
|
462
|
+
value="Text input disabled, description content"
|
|
463
|
+
id="bulk-edit-table-example-row-1-text-input-disabled"
|
|
464
|
+
aria-label="Disabled text input"
|
|
465
|
+
disabled
|
|
466
|
+
/>
|
|
467
|
+
</div>
|
|
461
468
|
</div>
|
|
462
469
|
</td>
|
|
463
470
|
<td role="cell" data-label="Checkboxes">
|
|
@@ -537,13 +544,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
537
544
|
<td role="cell" data-label="Number">
|
|
538
545
|
<div class="pf-v5-c-inline-edit__value">2</div>
|
|
539
546
|
<div class="pf-v5-c-inline-edit__input">
|
|
540
|
-
<
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
+
<div class="pf-v5-c-form-control">
|
|
548
|
+
<input
|
|
549
|
+
type="number"
|
|
550
|
+
value="2"
|
|
551
|
+
id="bulk-edit-table-example-row-1-number-input"
|
|
552
|
+
aria-label="Number input"
|
|
553
|
+
/>
|
|
554
|
+
</div>
|
|
547
555
|
</div>
|
|
548
556
|
</td>
|
|
549
557
|
<td class="pf-v5-c-table__inline-edit-action" role="cell">
|
|
@@ -631,13 +639,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
631
639
|
<th role="columnheader" data-label="Text input">
|
|
632
640
|
<div class="pf-v5-c-inline-edit__value">Text input description content</div>
|
|
633
641
|
<div class="pf-v5-c-inline-edit__input">
|
|
634
|
-
<
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
642
|
+
<div class="pf-v5-c-form-control">
|
|
643
|
+
<input
|
|
644
|
+
type="text"
|
|
645
|
+
value="Text input description content"
|
|
646
|
+
id="bulk-edit-table-example-row-2-text-input"
|
|
647
|
+
aria-label="Text input"
|
|
648
|
+
/>
|
|
649
|
+
</div>
|
|
641
650
|
</div>
|
|
642
651
|
</th>
|
|
643
652
|
<td role="cell" data-label="Disabled text input">
|
|
@@ -645,14 +654,15 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
645
654
|
class="pf-v5-c-inline-edit__value"
|
|
646
655
|
>Text input disabled, description content</div>
|
|
647
656
|
<div class="pf-v5-c-inline-edit__input">
|
|
648
|
-
<
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
657
|
+
<div class="pf-v5-c-form-control">
|
|
658
|
+
<input
|
|
659
|
+
type="text"
|
|
660
|
+
value="Text input disabled, description content"
|
|
661
|
+
id="bulk-edit-table-example-row-2-text-input-disabled"
|
|
662
|
+
aria-label="Disabled text input"
|
|
663
|
+
disabled
|
|
664
|
+
/>
|
|
665
|
+
</div>
|
|
656
666
|
</div>
|
|
657
667
|
</td>
|
|
658
668
|
<td role="cell" data-label="Checkboxes">
|
|
@@ -732,13 +742,14 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
732
742
|
<td role="cell" data-label="Number">
|
|
733
743
|
<div class="pf-v5-c-inline-edit__value">2</div>
|
|
734
744
|
<div class="pf-v5-c-inline-edit__input">
|
|
735
|
-
<
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
745
|
+
<div class="pf-v5-c-form-control">
|
|
746
|
+
<input
|
|
747
|
+
type="number"
|
|
748
|
+
value="2"
|
|
749
|
+
id="bulk-edit-table-example-row-2-number-input"
|
|
750
|
+
aria-label="Number input"
|
|
751
|
+
/>
|
|
752
|
+
</div>
|
|
742
753
|
</div>
|
|
743
754
|
</td>
|
|
744
755
|
<td class="pf-v5-c-table__inline-edit-action" role="cell">
|
|
@@ -20,13 +20,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
20
20
|
>Button</button>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
<div class="pf-v5-c-form-control">
|
|
24
|
+
<textarea
|
|
25
|
+
name="textarea1"
|
|
26
|
+
id="textarea1"
|
|
27
|
+
aria-label="Textarea with buttons"
|
|
28
|
+
aria-describedby="textAreaButton1"
|
|
29
|
+
></textarea>
|
|
30
|
+
</div>
|
|
30
31
|
</div>
|
|
31
32
|
<div class="pf-v5-c-input-group__item">
|
|
32
33
|
<button class="pf-v5-c-button pf-m-control" type="button">Button</button>
|
|
@@ -35,13 +36,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
35
36
|
<br />
|
|
36
37
|
<div class="pf-v5-c-input-group">
|
|
37
38
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
<div class="pf-v5-c-form-control">
|
|
40
|
+
<textarea
|
|
41
|
+
name="textarea2"
|
|
42
|
+
id="textarea2"
|
|
43
|
+
aria-label="Textarea with button"
|
|
44
|
+
aria-describedby="textAreaButton2"
|
|
45
|
+
></textarea>
|
|
46
|
+
</div>
|
|
45
47
|
</div>
|
|
46
48
|
<div class="pf-v5-c-input-group__item">
|
|
47
49
|
<button
|
|
@@ -64,13 +66,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
64
66
|
<button class="pf-v5-c-button pf-m-control" type="button">Button</button>
|
|
65
67
|
</div>
|
|
66
68
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
<div class="pf-v5-c-form-control">
|
|
70
|
+
<textarea
|
|
71
|
+
name="textarea3"
|
|
72
|
+
id="textarea3"
|
|
73
|
+
aria-label="Textarea with buttons"
|
|
74
|
+
aria-describedby="textAreaButton3"
|
|
75
|
+
></textarea>
|
|
76
|
+
</div>
|
|
74
77
|
</div>
|
|
75
78
|
<div class="pf-v5-c-input-group__item">
|
|
76
79
|
<button class="pf-v5-c-button pf-m-control" type="button">Button</button>
|
|
@@ -136,14 +139,15 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
136
139
|
</div>
|
|
137
140
|
</div>
|
|
138
141
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
139
|
-
<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
<div class="pf-v5-c-form-control">
|
|
143
|
+
<input
|
|
144
|
+
type="text"
|
|
145
|
+
id="textInput4"
|
|
146
|
+
name="textInput4"
|
|
147
|
+
aria-label="Input with select and button"
|
|
148
|
+
aria-describedby="inputSelectButton1"
|
|
149
|
+
/>
|
|
150
|
+
</div>
|
|
147
151
|
</div>
|
|
148
152
|
<div class="pf-v5-c-input-group__item">
|
|
149
153
|
<button
|
|
@@ -161,13 +165,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
161
165
|
</span>
|
|
162
166
|
</div>
|
|
163
167
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
164
|
-
<
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
<div class="pf-v5-c-form-control">
|
|
169
|
+
<input
|
|
170
|
+
type="number"
|
|
171
|
+
id="textInput5"
|
|
172
|
+
name="textInput5"
|
|
173
|
+
aria-label=" Dollar amount input example"
|
|
174
|
+
/>
|
|
175
|
+
</div>
|
|
171
176
|
</div>
|
|
172
177
|
<div class="pf-v5-c-input-group__item pf-m-box">
|
|
173
178
|
<span class="pf-v5-c-input-group__text">.00</span>
|
|
@@ -176,14 +181,15 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
176
181
|
<br />
|
|
177
182
|
<div class="pf-v5-c-input-group">
|
|
178
183
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
179
|
-
<
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
<div class="pf-v5-c-form-control">
|
|
185
|
+
<input
|
|
186
|
+
type="email"
|
|
187
|
+
id="textInput6"
|
|
188
|
+
name="textInput6"
|
|
189
|
+
aria-label="Email input field"
|
|
190
|
+
aria-describedby="email-example"
|
|
191
|
+
/>
|
|
192
|
+
</div>
|
|
187
193
|
</div>
|
|
188
194
|
<div class="pf-v5-c-input-group__item pf-m-box">
|
|
189
195
|
<span class="pf-v5-c-input-group__text" id="email-example">@example.com</span>
|
|
@@ -197,27 +203,29 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
197
203
|
</span>
|
|
198
204
|
</div>
|
|
199
205
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
200
|
-
<
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
<div class="pf-v5-c-form-control">
|
|
207
|
+
<input
|
|
208
|
+
required
|
|
209
|
+
type="email"
|
|
210
|
+
id="textInput7"
|
|
211
|
+
name="textInput7"
|
|
212
|
+
aria-invalid="true"
|
|
213
|
+
aria-label="Error state username example"
|
|
214
|
+
/>
|
|
215
|
+
</div>
|
|
209
216
|
</div>
|
|
210
217
|
</div>
|
|
211
218
|
<br />
|
|
212
219
|
<div class="pf-v5-c-input-group">
|
|
213
220
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
214
|
-
<
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
<div class="pf-v5-c-form-control">
|
|
222
|
+
<input
|
|
223
|
+
type="text"
|
|
224
|
+
id="textInput13"
|
|
225
|
+
name="textInput13"
|
|
226
|
+
aria-label="Input example with popover"
|
|
227
|
+
/>
|
|
228
|
+
</div>
|
|
221
229
|
</div>
|
|
222
230
|
<div class="pf-v5-c-input-group__item">
|
|
223
231
|
<button
|
|
@@ -232,13 +240,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
232
240
|
<br />
|
|
233
241
|
<div class="pf-v5-c-input-group">
|
|
234
242
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
235
|
-
<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
243
|
+
<div class="pf-v5-c-form-control">
|
|
244
|
+
<input
|
|
245
|
+
type="text"
|
|
246
|
+
id="textInput12"
|
|
247
|
+
name="textInput12"
|
|
248
|
+
aria-label="Input example with popover"
|
|
249
|
+
/>
|
|
250
|
+
</div>
|
|
242
251
|
</div>
|
|
243
252
|
<div class="pf-v5-c-input-group__item pf-m-plain">
|
|
244
253
|
<button
|
|
@@ -253,13 +262,14 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
253
262
|
<br />
|
|
254
263
|
<div class="pf-v5-c-input-group">
|
|
255
264
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
256
|
-
<
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
265
|
+
<div class="pf-v5-c-form-control">
|
|
266
|
+
<input
|
|
267
|
+
type="number"
|
|
268
|
+
id="textInput14"
|
|
269
|
+
name="textInput14"
|
|
270
|
+
aria-label="Input example with plain unit"
|
|
271
|
+
/>
|
|
272
|
+
</div>
|
|
263
273
|
</div>
|
|
264
274
|
<div class="pf-v5-c-input-group__item pf-m-box pf-m-plain">
|
|
265
275
|
<span class="pf-v5-c-input-group__text">%</span>
|