@patternfly/patternfly 5.0.0-alpha.66 → 5.0.0-alpha.68
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/base/_variables.scss +1 -1
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-variables.css +2 -2
- package/components/AboutModalBox/about-modal-box.css +2 -2
- package/components/Accordion/accordion.css +1 -1
- package/components/Alert/alert.css +1 -1
- package/components/AppLauncher/app-launcher.css +1 -1
- package/components/Badge/badge.css +1 -1
- package/components/Banner/banner.css +3 -3
- package/components/Button/button.css +2 -2
- package/components/CalendarMonth/calendar-month.css +3 -3
- package/components/Card/card.css +2 -2
- package/components/Chip/chip.css +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +3 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/ContextSelector/context-selector.css +5 -5
- package/components/DataList/data-list.css +1 -1
- package/components/DatePicker/date-picker.css +1 -1
- package/components/DragDrop/drag-drop.css +1 -1
- package/components/Drawer/drawer.css +2 -2
- package/components/Dropdown/dropdown.css +3 -3
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/Form/form.css +1 -1
- package/components/FormControl/form-control.css +3 -3
- package/components/HelperText/helper-text.css +1 -1
- package/components/Hint/hint.css +1 -1
- package/components/InputGroup/input-group.css +2 -4
- package/components/InputGroup/input-group.scss +0 -4
- package/components/Label/label.css +1 -1
- package/components/LogViewer/log-viewer.css +2 -2
- package/components/Login/login.css +5 -5
- package/components/Masthead/masthead.css +3 -3
- package/components/Menu/menu.css +1 -1
- package/components/MenuToggle/menu-toggle.css +2 -2
- package/components/ModalBox/modal-box.css +1 -1
- package/components/Nav/nav.css +6 -6
- package/components/NotificationBadge/notification-badge.css +1 -1
- package/components/NotificationDrawer/notification-drawer.css +1 -1
- package/components/NumberInput/number-input.css +4 -2
- package/components/NumberInput/number-input.scss +5 -2
- package/components/OptionsMenu/options-menu.css +2 -2
- package/components/Page/page.css +14 -14
- package/components/Pagination/pagination.css +6 -4
- package/components/Pagination/pagination.scss +7 -1
- package/components/Panel/panel.css +1 -1
- package/components/Popover/popover.css +1 -1
- package/components/Progress/progress.css +1 -1
- package/components/Select/select.css +2 -2
- package/components/SimpleList/simple-list.css +1 -1
- package/components/Skeleton/skeleton.css +1 -1
- package/components/Switch/switch.css +1 -1
- package/components/Table/table.css +2 -2
- package/components/Tabs/tabs.css +1 -1
- package/components/TextInputGroup/text-input-group.css +1 -1
- package/components/Tile/tile.css +1 -1
- package/components/ToggleGroup/toggle-group.css +1 -1
- package/components/Tooltip/tooltip.css +1 -1
- package/components/TreeView/tree-view.css +1 -1
- package/components/Wizard/wizard.css +3 -3
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +4 -4
- package/docs/components/DatePicker/examples/DatePicker.md +6 -1
- package/docs/components/FileUpload/examples/FileUpload.md +21 -16
- package/docs/components/Form/examples/Form.md +51 -31
- package/docs/components/FormControl/examples/FormControl.md +1 -1
- package/docs/components/InlineEdit/examples/InlineEdit.md +11 -156
- package/docs/components/InputGroup/examples/InputGroup.md +9 -4
- package/docs/components/Login/examples/Login.md +20 -17
- package/docs/components/NumberInput/examples/NumberInput.md +7 -2
- package/docs/components/Pagination/examples/Pagination.md +1 -1
- package/docs/components/Select/examples/Select.md +4 -2
- package/docs/components/Wizard/examples/Wizard.md +7 -70
- package/docs/demos/Alert/examples/Alert.md +26 -8
- package/docs/demos/Button/examples/Button.md +12 -12
- package/docs/demos/Form/examples/BasicForms.md +18 -18
- package/docs/demos/HelperText/examples/HelperText.md +18 -3
- package/docs/demos/Modal/examples/Modal.md +6 -6
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/docs/demos/Toolbar/examples/Toolbar.md +11 -1
- package/docs/demos/Wizard/examples/Wizard.md +0 -56
- package/package.json +1 -1
- package/patternfly-addons.css +78 -78
- package/patternfly-base-no-globals-theme-dark-unversioned.css +3 -3
- package/patternfly-base-no-globals.css +3 -3
- package/patternfly-base-theme-dark-unversioned.css +3 -3
- package/patternfly-base.css +3 -3
- package/patternfly-charts-theme-dark-unversioned.css +1 -1
- package/patternfly-charts-theme-dark.css +1 -1
- package/patternfly-charts.css +1 -1
- package/patternfly-charts.scss +1 -1
- package/patternfly-no-globals.css +314 -312
- package/patternfly-theme-dark-unversioned.css +314 -312
- package/patternfly.css +314 -312
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +2 -2
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/utilities/BackgroundColor/BackgroundColor.css +30 -30
- package/utilities/Text/text.css +48 -48
|
@@ -21,12 +21,12 @@ cssPrefix: pf-v5-c-form
|
|
|
21
21
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="pf-v5-c-form__group-control">
|
|
24
|
-
<div class="pf-v5-c-form-control">
|
|
24
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
25
25
|
<input
|
|
26
|
+
required
|
|
26
27
|
type="text"
|
|
27
28
|
id="form-vertical-name"
|
|
28
29
|
name="form-vertical-name"
|
|
29
|
-
required
|
|
30
30
|
/>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -44,12 +44,12 @@ cssPrefix: pf-v5-c-form
|
|
|
44
44
|
<span class="pf-v5-c-form__label-text">Name</span> <span class="pf-v5-c-form__label-required" aria-hidden="true">*</span></label>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="pf-v5-c-form__group-control">
|
|
47
|
-
<div class="pf-v5-c-form-control">
|
|
47
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
48
48
|
<input
|
|
49
|
+
required
|
|
49
50
|
type="text"
|
|
50
51
|
id="form-horizontal-name"
|
|
51
52
|
name="form-horizontal-name"
|
|
52
|
-
required
|
|
53
53
|
/>
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
@@ -146,12 +146,12 @@ cssPrefix: pf-v5-c-form
|
|
|
146
146
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
147
147
|
</div>
|
|
148
148
|
<div class="pf-v5-c-form__group-control">
|
|
149
|
-
<div class="pf-v5-c-form-control">
|
|
149
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
150
150
|
<input
|
|
151
|
+
required
|
|
151
152
|
type="text"
|
|
152
153
|
id="form-horizontal-custom-breakpoint-name"
|
|
153
154
|
name="form-horizontal-custom-breakpoint-name"
|
|
154
|
-
required
|
|
155
155
|
/>
|
|
156
156
|
</div>
|
|
157
157
|
</div>
|
|
@@ -173,12 +173,12 @@ cssPrefix: pf-v5-c-form
|
|
|
173
173
|
<span class="pf-v5-c-form__label-text">Form section 1 inputs</span></label>
|
|
174
174
|
</div>
|
|
175
175
|
<div class="pf-v5-c-form__group-control">
|
|
176
|
-
<div class="pf-v5-c-form-control">
|
|
176
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
177
177
|
<input
|
|
178
|
+
required
|
|
178
179
|
type="text"
|
|
179
180
|
id="form-section-example-section-1-input"
|
|
180
181
|
name="form-section-example-section-1-input"
|
|
181
|
-
required
|
|
182
182
|
/>
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
@@ -191,12 +191,12 @@ cssPrefix: pf-v5-c-form
|
|
|
191
191
|
<span class="pf-v5-c-form__label-text">Form section 1 inputs</span></label>
|
|
192
192
|
</div>
|
|
193
193
|
<div class="pf-v5-c-form__group-control">
|
|
194
|
-
<div class="pf-v5-c-form-control">
|
|
194
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
195
195
|
<input
|
|
196
|
+
required
|
|
196
197
|
type="text"
|
|
197
198
|
id="form-section-example-section-1-input-2"
|
|
198
199
|
name="form-section-example-section-1-input-2"
|
|
199
|
-
required
|
|
200
200
|
/>
|
|
201
201
|
</div>
|
|
202
202
|
</div>
|
|
@@ -220,12 +220,12 @@ cssPrefix: pf-v5-c-form
|
|
|
220
220
|
<span class="pf-v5-c-form__label-text">Form section 2 inputs</span></label>
|
|
221
221
|
</div>
|
|
222
222
|
<div class="pf-v5-c-form__group-control">
|
|
223
|
-
<div class="pf-v5-c-form-control">
|
|
223
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
224
224
|
<input
|
|
225
|
+
required
|
|
225
226
|
type="text"
|
|
226
227
|
id="form-section-example-section-2-input"
|
|
227
228
|
name="form-section-example-section-2-input"
|
|
228
|
-
required
|
|
229
229
|
/>
|
|
230
230
|
</div>
|
|
231
231
|
</div>
|
|
@@ -238,12 +238,12 @@ cssPrefix: pf-v5-c-form
|
|
|
238
238
|
<span class="pf-v5-c-form__label-text">Form section 2 inputs</span></label>
|
|
239
239
|
</div>
|
|
240
240
|
<div class="pf-v5-c-form__group-control">
|
|
241
|
-
<div class="pf-v5-c-form-control">
|
|
241
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
242
242
|
<input
|
|
243
|
+
required
|
|
243
244
|
type="text"
|
|
244
245
|
id="form-section-example-section-2-input-2"
|
|
245
246
|
name="form-section-example-section-2-input-2"
|
|
246
|
-
required
|
|
247
247
|
/>
|
|
248
248
|
</div>
|
|
249
249
|
</div>
|
|
@@ -262,7 +262,7 @@ cssPrefix: pf-v5-c-form
|
|
|
262
262
|
<span class="pf-v5-c-form__label-text">Name</span> <span class="pf-v5-c-form__label-required" aria-hidden="true">*</span></label>
|
|
263
263
|
</div>
|
|
264
264
|
<div class="pf-v5-c-form__group-control">
|
|
265
|
-
<div class="pf-v5-c-form-control">
|
|
265
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
266
266
|
<input
|
|
267
267
|
required
|
|
268
268
|
type="text"
|
|
@@ -296,6 +296,11 @@ cssPrefix: pf-v5-c-form
|
|
|
296
296
|
name="form-help-text-email"
|
|
297
297
|
aria-describedby="form-help-text-email-helper"
|
|
298
298
|
/>
|
|
299
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
300
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
301
|
+
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
299
304
|
</div>
|
|
300
305
|
<div class="pf-v5-c-form__helper-text" aria-live="polite">
|
|
301
306
|
<div class="pf-v5-c-helper-text">
|
|
@@ -316,7 +321,7 @@ cssPrefix: pf-v5-c-form
|
|
|
316
321
|
<span class="pf-v5-c-form__label-text">Address</span> <span class="pf-v5-c-form__label-required" aria-hidden="true">*</span></label>
|
|
317
322
|
</div>
|
|
318
323
|
<div class="pf-v5-c-form__group-control">
|
|
319
|
-
<div class="pf-v5-c-form-control">
|
|
324
|
+
<div class="pf-v5-c-form-control pf-m-required pf-m-error">
|
|
320
325
|
<input
|
|
321
326
|
required
|
|
322
327
|
type="text"
|
|
@@ -325,6 +330,11 @@ cssPrefix: pf-v5-c-form
|
|
|
325
330
|
aria-invalid="true"
|
|
326
331
|
aria-describedby="-address-helper"
|
|
327
332
|
/>
|
|
333
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
334
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
335
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
328
338
|
</div>
|
|
329
339
|
<div class="pf-v5-c-form__helper-text" aria-live="polite">
|
|
330
340
|
<div class="pf-v5-c-helper-text">
|
|
@@ -353,6 +363,11 @@ cssPrefix: pf-v5-c-form
|
|
|
353
363
|
name="form-help-text-comment"
|
|
354
364
|
aria-describedby="form-help-text-comment-helper"
|
|
355
365
|
/>
|
|
366
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
367
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
368
|
+
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
356
371
|
</div>
|
|
357
372
|
<div class="pf-v5-c-form__helper-text" aria-live="polite">
|
|
358
373
|
<div class="pf-v5-c-helper-text">
|
|
@@ -373,13 +388,18 @@ cssPrefix: pf-v5-c-form
|
|
|
373
388
|
<span class="pf-v5-c-form__label-text">Information</span></label>
|
|
374
389
|
</div>
|
|
375
390
|
<div class="pf-v5-c-form__group-control">
|
|
376
|
-
<div class="pf-v5-c-form-control">
|
|
391
|
+
<div class="pf-v5-c-form-control pf-m-error pf-m-resize-both">
|
|
377
392
|
<textarea
|
|
378
393
|
id="form-help-text-info"
|
|
379
394
|
name="form-help-text-info"
|
|
380
395
|
aria-invalid="true"
|
|
381
396
|
aria-describedby="form-help-text-info-helper"
|
|
382
397
|
></textarea>
|
|
398
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
399
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
400
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
401
|
+
</div>
|
|
402
|
+
</div>
|
|
383
403
|
</div>
|
|
384
404
|
<div class="pf-v5-c-form__helper-text" aria-live="polite">
|
|
385
405
|
<div class="pf-v5-c-helper-text">
|
|
@@ -421,12 +441,12 @@ cssPrefix: pf-v5-c-form
|
|
|
421
441
|
<div class="pf-v5-c-form__group-label-info">info</div>
|
|
422
442
|
</div>
|
|
423
443
|
<div class="pf-v5-c-form__group-control">
|
|
424
|
-
<div class="pf-v5-c-form-control">
|
|
444
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
425
445
|
<input
|
|
446
|
+
required
|
|
426
447
|
type="text"
|
|
427
448
|
id="form-additional-info-name"
|
|
428
449
|
name="form-additional-info-name"
|
|
429
|
-
required
|
|
430
450
|
/>
|
|
431
451
|
</div>
|
|
432
452
|
</div>
|
|
@@ -490,12 +510,12 @@ cssPrefix: pf-v5-c-form
|
|
|
490
510
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
491
511
|
</div>
|
|
492
512
|
<div class="pf-v5-c-form__group-control">
|
|
493
|
-
<div class="pf-v5-c-form-control">
|
|
513
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
494
514
|
<input
|
|
515
|
+
required
|
|
495
516
|
type="text"
|
|
496
517
|
id="form-field-group-field-group-label1"
|
|
497
518
|
name="form-field-group-field-group-label1"
|
|
498
|
-
required
|
|
499
519
|
/>
|
|
500
520
|
</div>
|
|
501
521
|
</div>
|
|
@@ -515,12 +535,12 @@ cssPrefix: pf-v5-c-form
|
|
|
515
535
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
516
536
|
</div>
|
|
517
537
|
<div class="pf-v5-c-form__group-control">
|
|
518
|
-
<div class="pf-v5-c-form-control">
|
|
538
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
519
539
|
<input
|
|
540
|
+
required
|
|
520
541
|
type="text"
|
|
521
542
|
id="form-field-group-field-group-label2"
|
|
522
543
|
name="form-field-group-field-group-label2"
|
|
523
|
-
required
|
|
524
544
|
/>
|
|
525
545
|
</div>
|
|
526
546
|
</div>
|
|
@@ -623,12 +643,12 @@ cssPrefix: pf-v5-c-form
|
|
|
623
643
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
624
644
|
</div>
|
|
625
645
|
<div class="pf-v5-c-form__group-control">
|
|
626
|
-
<div class="pf-v5-c-form-control">
|
|
646
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
627
647
|
<input
|
|
648
|
+
required
|
|
628
649
|
type="text"
|
|
629
650
|
id="form-expandable-field-groupsform-expandable-field-groups-field-group-2-label1"
|
|
630
651
|
name="form-expandable-field-groupsform-expandable-field-groups-field-group-2-label1"
|
|
631
|
-
required
|
|
632
652
|
/>
|
|
633
653
|
</div>
|
|
634
654
|
</div>
|
|
@@ -648,12 +668,12 @@ cssPrefix: pf-v5-c-form
|
|
|
648
668
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
649
669
|
</div>
|
|
650
670
|
<div class="pf-v5-c-form__group-control">
|
|
651
|
-
<div class="pf-v5-c-form-control">
|
|
671
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
652
672
|
<input
|
|
673
|
+
required
|
|
653
674
|
type="text"
|
|
654
675
|
id="form-expandable-field-groupsform-expandable-field-groups-field-group-2-label2"
|
|
655
676
|
name="form-expandable-field-groupsform-expandable-field-groups-field-group-2-label2"
|
|
656
|
-
required
|
|
657
677
|
/>
|
|
658
678
|
</div>
|
|
659
679
|
</div>
|
|
@@ -692,12 +712,12 @@ cssPrefix: pf-v5-c-form
|
|
|
692
712
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
693
713
|
</div>
|
|
694
714
|
<div class="pf-v5-c-form__group-control">
|
|
695
|
-
<div class="pf-v5-c-form-control">
|
|
715
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
696
716
|
<input
|
|
717
|
+
required
|
|
697
718
|
type="text"
|
|
698
719
|
id="form-expandable-field-groupsform-expandable-field-groups-field-group-3-label1"
|
|
699
720
|
name="form-expandable-field-groupsform-expandable-field-groups-field-group-3-label1"
|
|
700
|
-
required
|
|
701
721
|
/>
|
|
702
722
|
</div>
|
|
703
723
|
</div>
|
|
@@ -720,12 +740,12 @@ cssPrefix: pf-v5-c-form
|
|
|
720
740
|
><i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i></span>
|
|
721
741
|
</div>
|
|
722
742
|
<div class="pf-v5-c-form__group-control">
|
|
723
|
-
<div class="pf-v5-c-form-control">
|
|
743
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
724
744
|
<input
|
|
745
|
+
required
|
|
725
746
|
type="text"
|
|
726
747
|
id="form-expandable-field-groupsform-expandable-field-groups-field-group-3-label2"
|
|
727
748
|
name="form-expandable-field-groupsform-expandable-field-groups-field-group-3-label2"
|
|
728
|
-
required
|
|
729
749
|
/>
|
|
730
750
|
</div>
|
|
731
751
|
</div>
|
|
@@ -377,13 +377,18 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
377
377
|
<div class="pf-v5-c-inline-edit__value">Static value</div>
|
|
378
378
|
<div class="pf-v5-c-inline-edit__group">
|
|
379
379
|
<div class="pf-v5-c-inline-edit__input">
|
|
380
|
-
<div class="pf-v5-c-form-control">
|
|
380
|
+
<div class="pf-v5-c-form-control pf-m-required pf-m-error">
|
|
381
381
|
<input
|
|
382
382
|
required
|
|
383
383
|
value="Invalid state"
|
|
384
384
|
aria-invalid="true"
|
|
385
385
|
aria-label="Error state input example"
|
|
386
386
|
/>
|
|
387
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
388
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
389
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
390
|
+
</div>
|
|
391
|
+
</div>
|
|
387
392
|
</div>
|
|
388
393
|
</div>
|
|
389
394
|
<div class="pf-v5-c-inline-edit__group pf-m-action-group pf-m-icon-group">
|
|
@@ -464,13 +469,13 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
464
469
|
class="pf-v5-c-inline-edit__value"
|
|
465
470
|
>Text input disabled, description content</div>
|
|
466
471
|
<div class="pf-v5-c-inline-edit__input">
|
|
467
|
-
<div class="pf-v5-c-form-control">
|
|
472
|
+
<div class="pf-v5-c-form-control pf-m-disabled">
|
|
468
473
|
<input
|
|
474
|
+
disabled
|
|
469
475
|
type="text"
|
|
470
476
|
value="Text input disabled, description content"
|
|
471
477
|
id="bulk-edit-table-example-row-1-text-input-disabled"
|
|
472
478
|
aria-label="Disabled text input"
|
|
473
|
-
disabled
|
|
474
479
|
/>
|
|
475
480
|
</div>
|
|
476
481
|
</div>
|
|
@@ -673,13 +678,13 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
673
678
|
class="pf-v5-c-inline-edit__value"
|
|
674
679
|
>Text input disabled, description content</div>
|
|
675
680
|
<div class="pf-v5-c-inline-edit__input">
|
|
676
|
-
<div class="pf-v5-c-form-control">
|
|
681
|
+
<div class="pf-v5-c-form-control pf-m-disabled">
|
|
677
682
|
<input
|
|
683
|
+
disabled
|
|
678
684
|
type="text"
|
|
679
685
|
value="Text input disabled, description content"
|
|
680
686
|
id="bulk-edit-table-example-row-2-text-input-disabled"
|
|
681
687
|
aria-label="Disabled text input"
|
|
682
|
-
disabled
|
|
683
688
|
/>
|
|
684
689
|
</div>
|
|
685
690
|
</div>
|
|
@@ -895,154 +900,4 @@ All accessibility requirements for inputs apply to elements within inline edit.
|
|
|
895
900
|
| `.pf-m-valid` | `.pf-v5-c-inline-edit__action` | Modifies the action button state. |
|
|
896
901
|
| `.pf-m-enable-editable` | `.pf-v5-c-inline-edit__action` | Exposes an inline edit action by default. |
|
|
897
902
|
|
|
898
|
-
|
|
899
|
-
### Bulk edit dl (default)
|
|
900
|
-
```hbs
|
|
901
|
-
{{#> inline-edit inline-edit--type="form" inline-edit--id="bulk-edit-dl-example-default"}}
|
|
902
|
-
{{#> inline-edit-dl}}{{/inline-edit-dl}}
|
|
903
|
-
{{/inline-edit}}
|
|
904
|
-
```
|
|
905
|
-
|
|
906
|
-
### Bulk edit dl (active)
|
|
907
|
-
```hbs
|
|
908
|
-
{{#> inline-edit inline-edit--type="form" inline-edit--id="bulk-edit-dl-example-active" inline-edit--modifier="pf-m-inline-editable"}}
|
|
909
|
-
{{#> inline-edit-dl}}{{/inline-edit-dl}}
|
|
910
|
-
{{/inline-edit}}
|
|
911
|
-
```
|
|
912
|
-
|
|
913
|
-
### Inline edit dl example
|
|
914
|
-
```hbs
|
|
915
|
-
{{#> list list--type="dl" list--modifier="pf-m-2-col" list--attribute=(concat 'aria-label="Inline edit description list example"')}}
|
|
916
|
-
<div>
|
|
917
|
-
<dt>Name</dt>
|
|
918
|
-
<dd>main</dd>
|
|
919
|
-
</div>
|
|
920
|
-
{{#> inline-edit inline-edit--id="inline-edit-dl-example-1"}}
|
|
921
|
-
<dt>
|
|
922
|
-
{{#> inline-edit-group}}
|
|
923
|
-
{{#> inline-edit-label}}
|
|
924
|
-
Description
|
|
925
|
-
{{/inline-edit-label}}
|
|
926
|
-
{{#> inline-edit-toggle}}
|
|
927
|
-
{{#> button button--modifier="pf-m-plain" button--attribute=(concat 'id="' inline-edit--id '-edit-button" aria-label="Edit" aria-labelledby="' inline-edit--id '-edit-button"')}}
|
|
928
|
-
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
|
929
|
-
{{/button}}
|
|
930
|
-
{{/inline-edit-toggle}}
|
|
931
|
-
{{/inline-edit-group}}
|
|
932
|
-
</dt>
|
|
933
|
-
<dd>
|
|
934
|
-
{{#> inline-edit-value}}
|
|
935
|
-
test cluster
|
|
936
|
-
{{/inline-edit-value}}
|
|
937
|
-
{{#> inline-edit-input}}
|
|
938
|
-
{{> form-control controlType="input" input="true" form-control--attribute=(concat 'type="text" value="Text input description content" id="' inline-edit--id '-input"')}}
|
|
939
|
-
{{/inline-edit-input}}
|
|
940
|
-
</dd>
|
|
941
|
-
{{/inline-edit}}
|
|
942
|
-
|
|
943
|
-
{{#> inline-edit inline-edit--id="inline-edit-dl-example-2" inline-edit--modifier="pf-m-inline-editable"}}
|
|
944
|
-
<dt>
|
|
945
|
-
{{#> inline-edit-group}}
|
|
946
|
-
{{#> inline-edit-label}}
|
|
947
|
-
Description (editable)
|
|
948
|
-
{{/inline-edit-label}}
|
|
949
|
-
{{#> inline-edit-toggle}}
|
|
950
|
-
{{#> button button--modifier="pf-m-plain" button--attribute=(concat 'id="' inline-edit--id '-edit-button" aria-label="Edit" aria-labelledby="' inline-edit--id '-label ' inline-edit--id '-edit-button"')}}
|
|
951
|
-
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
|
952
|
-
{{/button}}
|
|
953
|
-
{{/inline-edit-toggle}}
|
|
954
|
-
{{/inline-edit-group}}
|
|
955
|
-
</dt>
|
|
956
|
-
<dd>
|
|
957
|
-
{{#> inline-edit-value}}
|
|
958
|
-
Text input description content
|
|
959
|
-
{{/inline-edit-value}}
|
|
960
|
-
{{#> inline-edit-input}}
|
|
961
|
-
{{> form-control controlType="input" input="true" form-control--attribute=(concat 'type="text" value="Text input description content" id="' inline-edit--id '-input"')}}
|
|
962
|
-
{{/inline-edit-input}}
|
|
963
|
-
</dd>
|
|
964
|
-
{{/inline-edit}}
|
|
965
|
-
|
|
966
|
-
<div>
|
|
967
|
-
<dt>Tags</dt>
|
|
968
|
-
<dd>
|
|
969
|
-
{{#> chip chip--type="div" chip--modifier="pf-m-read-only"}}
|
|
970
|
-
{{#> chip-content}}
|
|
971
|
-
{{#> chip-text}}
|
|
972
|
-
alertmanager=main
|
|
973
|
-
{{/chip-text}}
|
|
974
|
-
{{/chip-content}}
|
|
975
|
-
{{/chip}}
|
|
976
|
-
</dd>
|
|
977
|
-
</div>
|
|
978
|
-
|
|
979
|
-
{{#> inline-edit inline-edit--id="inline-edit-dl-example-3"}}
|
|
980
|
-
<dt>
|
|
981
|
-
{{#> inline-edit-group}}
|
|
982
|
-
{{#> inline-edit-label}}
|
|
983
|
-
Value
|
|
984
|
-
{{/inline-edit-label}}
|
|
985
|
-
{{#> inline-edit-toggle}}
|
|
986
|
-
{{#> button button--modifier="pf-m-plain" button--attribute=(concat 'id="' inline-edit--id '-edit-button" aria-label="Edit" aria-labelledby="' inline-edit--id '-label ' inline-edit--id '-edit-button"')}}
|
|
987
|
-
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
|
988
|
-
{{/button}}
|
|
989
|
-
{{/inline-edit-toggle}}
|
|
990
|
-
{{/inline-edit-group}}
|
|
991
|
-
</dt>
|
|
992
|
-
<dd>
|
|
993
|
-
{{#> inline-edit-value}}
|
|
994
|
-
True
|
|
995
|
-
{{/inline-edit-value}}
|
|
996
|
-
{{#> inline-edit-group inline-edit-group--attribute='role="radiogroup" aria-label="Radio group example"' inline-edit-group--modifier="pf-m-column"}}
|
|
997
|
-
{{#> inline-edit-input}}
|
|
998
|
-
{{#> radio}}
|
|
999
|
-
{{#> radio-input radio-input--attribute=(concat 'id="' inline-edit--id '-radio1" name="' inline-edit--id '-input"')}}{{/radio-input}}
|
|
1000
|
-
{{#> radio-label radio-label--attribute=(concat 'for="' inline-edit--id '-radio1"')}}True{{/radio-label}}
|
|
1001
|
-
{{/radio}}
|
|
1002
|
-
{{/inline-edit-input}}
|
|
1003
|
-
{{#> inline-edit-input}}
|
|
1004
|
-
{{#> radio}}
|
|
1005
|
-
{{#> radio-input radio-input--attribute=(concat 'id="' inline-edit--id '-radio2" name="' inline-edit--id '-input"')}}{{/radio-input}}
|
|
1006
|
-
{{#> radio-label radio-label--attribute=(concat 'for="' inline-edit--id '-radio2"')}}False{{/radio-label}}
|
|
1007
|
-
{{/radio}}
|
|
1008
|
-
{{/inline-edit-input}}
|
|
1009
|
-
{{/inline-edit-group}}
|
|
1010
|
-
</dd>
|
|
1011
|
-
{{/inline-edit}}
|
|
1012
|
-
|
|
1013
|
-
{{#> inline-edit inline-edit--id="inline-edit-dl-example-4" inline-edit--modifier="pf-m-inline-editable"}}
|
|
1014
|
-
<dt>
|
|
1015
|
-
{{#> inline-edit-group}}
|
|
1016
|
-
{{#> inline-edit-label}}
|
|
1017
|
-
Value
|
|
1018
|
-
{{/inline-edit-label}}
|
|
1019
|
-
{{#> inline-edit-toggle}}
|
|
1020
|
-
{{#> button button--modifier="pf-m-plain" button--attribute=(concat 'id="' inline-edit--id '-edit-button" aria-label="Edit" aria-labelledby="' inline-edit--id '-label ' inline-edit--id '-edit-button"')}}
|
|
1021
|
-
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
|
1022
|
-
{{/button}}
|
|
1023
|
-
{{/inline-edit-toggle}}
|
|
1024
|
-
{{/inline-edit-group}}
|
|
1025
|
-
</dt>
|
|
1026
|
-
<dd>
|
|
1027
|
-
{{#> inline-edit-value}}
|
|
1028
|
-
True
|
|
1029
|
-
{{/inline-edit-value}}
|
|
1030
|
-
{{#> inline-edit-group inline-edit-group--attribute='role="radiogroup" aria-label="Radio group example"' inline-edit-group--modifier="pf-m-column"}}
|
|
1031
|
-
{{#> inline-edit-input}}
|
|
1032
|
-
{{#> radio}}
|
|
1033
|
-
{{#> radio-input radio-input--attribute=(concat 'id="' inline-edit--id '-radio1" name="' inline-edit--id '-input"')}}{{/radio-input}}
|
|
1034
|
-
{{#> radio-label radio-label--attribute=(concat 'for="' inline-edit--id '-radio1"')}}True{{/radio-label}}
|
|
1035
|
-
{{/radio}}
|
|
1036
|
-
{{/inline-edit-input}}
|
|
1037
|
-
{{#> inline-edit-input}}
|
|
1038
|
-
{{#> radio}}
|
|
1039
|
-
{{#> radio-input radio-input--attribute=(concat 'id="' inline-edit--id '-radio2" name="' inline-edit--id '-input"')}}{{/radio-input}}
|
|
1040
|
-
{{#> radio-label radio-label--attribute=(concat 'for="' inline-edit--id '-radio2"')}}False{{/radio-label}}
|
|
1041
|
-
{{/radio}}
|
|
1042
|
-
{{/inline-edit-input}}
|
|
1043
|
-
{{/inline-edit-group}}
|
|
1044
|
-
</dd>
|
|
1045
|
-
{{/inline-edit}}
|
|
1046
|
-
{{/list}}
|
|
1047
|
-
```
|
|
1048
|
-
-->
|
|
903
|
+
-->
|
|
@@ -20,7 +20,7 @@ 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
|
-
<div class="pf-v5-c-form-control">
|
|
23
|
+
<div class="pf-v5-c-form-control pf-m-resize-both">
|
|
24
24
|
<textarea
|
|
25
25
|
name="textarea1"
|
|
26
26
|
id="textarea1"
|
|
@@ -36,7 +36,7 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
36
36
|
<br />
|
|
37
37
|
<div class="pf-v5-c-input-group">
|
|
38
38
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
39
|
-
<div class="pf-v5-c-form-control">
|
|
39
|
+
<div class="pf-v5-c-form-control pf-m-resize-both">
|
|
40
40
|
<textarea
|
|
41
41
|
name="textarea2"
|
|
42
42
|
id="textarea2"
|
|
@@ -66,7 +66,7 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
66
66
|
<button class="pf-v5-c-button pf-m-control" type="button">Button</button>
|
|
67
67
|
</div>
|
|
68
68
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
69
|
-
<div class="pf-v5-c-form-control">
|
|
69
|
+
<div class="pf-v5-c-form-control pf-m-resize-both">
|
|
70
70
|
<textarea
|
|
71
71
|
name="textarea3"
|
|
72
72
|
id="textarea3"
|
|
@@ -203,7 +203,7 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
203
203
|
</span>
|
|
204
204
|
</div>
|
|
205
205
|
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
206
|
-
<div class="pf-v5-c-form-control">
|
|
206
|
+
<div class="pf-v5-c-form-control pf-m-required pf-m-error">
|
|
207
207
|
<input
|
|
208
208
|
required
|
|
209
209
|
type="email"
|
|
@@ -212,6 +212,11 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
212
212
|
aria-invalid="true"
|
|
213
213
|
aria-label="Error state username example"
|
|
214
214
|
/>
|
|
215
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
216
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
217
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
215
220
|
</div>
|
|
216
221
|
</div>
|
|
217
222
|
</div>
|
|
@@ -48,7 +48,7 @@ wrapperTag: div
|
|
|
48
48
|
aria-hidden="true"
|
|
49
49
|
>*</span></label>
|
|
50
50
|
|
|
51
|
-
<div class="pf-v5-c-form-control">
|
|
51
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
52
52
|
<input
|
|
53
53
|
required
|
|
54
54
|
input="true"
|
|
@@ -64,10 +64,9 @@ wrapperTag: div
|
|
|
64
64
|
aria-hidden="true"
|
|
65
65
|
>*</span></label>
|
|
66
66
|
|
|
67
|
-
<div class="pf-v5-c-form-control">
|
|
67
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
68
68
|
<input
|
|
69
69
|
required
|
|
70
|
-
input="true"
|
|
71
70
|
type="password"
|
|
72
71
|
id="login-demo-form-password"
|
|
73
72
|
name="login-demo-form-password"
|
|
@@ -261,7 +260,7 @@ wrapperTag: div
|
|
|
261
260
|
aria-hidden="true"
|
|
262
261
|
>*</span></label>
|
|
263
262
|
|
|
264
|
-
<div class="pf-v5-c-form-control">
|
|
263
|
+
<div class="pf-v5-c-form-control pf-m-required pf-m-error">
|
|
265
264
|
<input
|
|
266
265
|
required
|
|
267
266
|
type="text"
|
|
@@ -269,6 +268,11 @@ wrapperTag: div
|
|
|
269
268
|
name="invalid-login-demo-form-username"
|
|
270
269
|
aria-invalid="true"
|
|
271
270
|
/>
|
|
271
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
272
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
273
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
272
276
|
</div>
|
|
273
277
|
</div>
|
|
274
278
|
<div class="pf-v5-c-form__group"><label
|
|
@@ -280,7 +284,7 @@ wrapperTag: div
|
|
|
280
284
|
aria-hidden="true"
|
|
281
285
|
>*</span></label>
|
|
282
286
|
|
|
283
|
-
<div class="pf-v5-c-form-control">
|
|
287
|
+
<div class="pf-v5-c-form-control pf-m-required pf-m-error">
|
|
284
288
|
<input
|
|
285
289
|
required
|
|
286
290
|
type="password"
|
|
@@ -288,6 +292,11 @@ wrapperTag: div
|
|
|
288
292
|
name="invalid-login-demo-form-password"
|
|
289
293
|
aria-invalid="true"
|
|
290
294
|
/>
|
|
295
|
+
<div class="pf-v5-c-form-control__utilities">
|
|
296
|
+
<div class="pf-v5-c-form-control__icon pf-m-status">
|
|
297
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
298
|
+
</div>
|
|
299
|
+
</div>
|
|
291
300
|
</div>
|
|
292
301
|
</div>
|
|
293
302
|
<div class="pf-v5-c-form__group">
|
|
@@ -474,10 +483,9 @@ wrapperTag: div
|
|
|
474
483
|
aria-hidden="true"
|
|
475
484
|
>*</span></label>
|
|
476
485
|
|
|
477
|
-
<div class="pf-v5-c-form-control">
|
|
486
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
478
487
|
<input
|
|
479
488
|
required
|
|
480
|
-
input="true"
|
|
481
489
|
type="text"
|
|
482
490
|
id="login-demo-form-username"
|
|
483
491
|
name="login-demo-form-username"
|
|
@@ -491,10 +499,9 @@ wrapperTag: div
|
|
|
491
499
|
>*</span></label>
|
|
492
500
|
|
|
493
501
|
<div class="pf-v5-c-input-group">
|
|
494
|
-
<div class="pf-v5-c-form-control">
|
|
502
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
495
503
|
<input
|
|
496
504
|
required
|
|
497
|
-
input="true"
|
|
498
505
|
type="password"
|
|
499
506
|
id="login-demo-form-password"
|
|
500
507
|
name="login-demo-form-password"
|
|
@@ -702,10 +709,9 @@ wrapperTag: div
|
|
|
702
709
|
aria-hidden="true"
|
|
703
710
|
>*</span></label>
|
|
704
711
|
|
|
705
|
-
<div class="pf-v5-c-form-control">
|
|
712
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
706
713
|
<input
|
|
707
714
|
required
|
|
708
|
-
input="true"
|
|
709
715
|
type="text"
|
|
710
716
|
id="login-demo-form-username"
|
|
711
717
|
name="login-demo-form-username"
|
|
@@ -719,10 +725,9 @@ wrapperTag: div
|
|
|
719
725
|
>*</span></label>
|
|
720
726
|
|
|
721
727
|
<div class="pf-v5-c-input-group">
|
|
722
|
-
<div class="pf-v5-c-form-control">
|
|
728
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
723
729
|
<input
|
|
724
730
|
required
|
|
725
|
-
input="true"
|
|
726
731
|
type="text"
|
|
727
732
|
id="login-demo-form-password"
|
|
728
733
|
name="login-demo-form-password"
|
|
@@ -969,10 +974,9 @@ wrapperTag: div
|
|
|
969
974
|
aria-hidden="true"
|
|
970
975
|
>*</span></label>
|
|
971
976
|
|
|
972
|
-
<div class="pf-v5-c-form-control">
|
|
977
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
973
978
|
<input
|
|
974
979
|
required
|
|
975
|
-
input="true"
|
|
976
980
|
type="text"
|
|
977
981
|
id="login-demo-form-username"
|
|
978
982
|
name="login-demo-form-username"
|
|
@@ -985,10 +989,9 @@ wrapperTag: div
|
|
|
985
989
|
aria-hidden="true"
|
|
986
990
|
>*</span></label>
|
|
987
991
|
|
|
988
|
-
<div class="pf-v5-c-form-control">
|
|
992
|
+
<div class="pf-v5-c-form-control pf-m-required">
|
|
989
993
|
<input
|
|
990
994
|
required
|
|
991
|
-
input="true"
|
|
992
995
|
type="password"
|
|
993
996
|
id="login-demo-form-password"
|
|
994
997
|
name="login-demo-form-password"
|