@patternfly/patternfly 6.0.0-alpha.97 → 6.0.0-alpha.99
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/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +20 -6
- package/components/MenuToggle/menu-toggle.scss +32 -6
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +35 -35
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +57 -57
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/Banner/examples/Banner.md +1 -1
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/DataList/examples/DataList.md +179 -280
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
- package/docs/demos/Masthead/examples/Masthead.md +4 -8
- package/docs/demos/Nav/examples/Nav.md +45 -149
- package/docs/demos/Page/examples/Page.md +3 -37
- package/docs/demos/Page/examples/Penta.md +119 -40
- package/docs/demos/Table/examples/Table.md +1531 -4970
- package/docs/demos/Tabs/examples/Tabs.md +118 -174
- package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +363 -465
- package/patternfly-theme-dark-unversioned.css +363 -465
- package/patternfly.css +363 -465
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Inline edit
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-inline-edit
|
|
5
5
|
---## Introduction
|
|
6
6
|
|
|
7
|
-
**Inline edit** is a utilitarian component that has two core elements, `.pf-
|
|
7
|
+
**Inline edit** is a utilitarian component that has two core elements, `.pf-v6-c-inline-edit__value` and `.pf-v6-c-inline-edit__input` and is based on a simple concept. When **value** is visible, **input** is hidden, and vice versa.
|
|
8
8
|
|
|
9
9
|
### Generic groups
|
|
10
10
|
|
|
11
|
-
`.pf-
|
|
11
|
+
`.pf-v6-c-inline-edit__group`s provide basic layout support and have several available modifiers (`.pf-m-action-group`, `.pf-m-icon-group`).
|
|
12
12
|
|
|
13
13
|
### Actions
|
|
14
14
|
|
|
15
|
-
**Actions** (`.pf-
|
|
15
|
+
**Actions** (`.pf-v6-c-inline-edit__action`) are hidden by default and exposed when a region of `.pf-v6-c-inline-edit` becomes active. The default visibility of an **action** or **action group** can be inversed by adding `.pf-m-enable-editable`. `.pf-m-enable-editable` flags an element or group of elements as the controlling agents for enabling editable content and therefore is visible by default and hidden when inline editing is enabled.
|
|
16
16
|
|
|
17
17
|
## Examples
|
|
18
18
|
|
|
19
|
-
Inline edit **toggle** can be placed anywhere within `.pf-
|
|
19
|
+
Inline edit **toggle** can be placed anywhere within `.pf-v6-c-inline-edit`. It initiates the editability of elements. When an element becomes editable, **toggle** is hidden.
|
|
20
20
|
|
|
21
21
|
### Inline edit toggle
|
|
22
22
|
|
|
@@ -37,7 +37,7 @@ Inline edit **toggle** can be placed anywhere within `.pf-v5-c-inline-edit`. It
|
|
|
37
37
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Inline edit **value** can be placed anywhere within `.pf-
|
|
40
|
+
Inline edit **value** can be placed anywhere within `.pf-v6-c-inline-edit`. It is visible by default and hidden when inline edit becomes **editable**.
|
|
41
41
|
|
|
42
42
|
### Inline edit value
|
|
43
43
|
|
|
@@ -428,13 +428,19 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
428
428
|
id="inline-edit-table-row-example"
|
|
429
429
|
>
|
|
430
430
|
<caption class="pf-v6-c-table__caption">This is the table caption</caption>
|
|
431
|
+
|
|
431
432
|
<thead class="pf-v6-c-table__thead">
|
|
432
433
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
433
434
|
<th class="pf-v6-c-table__th" role="columnheader">Text input</th>
|
|
435
|
+
|
|
434
436
|
<th class="pf-v6-c-table__th" role="columnheader">Disabled text input</th>
|
|
437
|
+
|
|
435
438
|
<th class="pf-v6-c-table__th" role="columnheader">Checkboxes</th>
|
|
439
|
+
|
|
436
440
|
<th class="pf-v6-c-table__th" role="columnheader">Radios</th>
|
|
441
|
+
|
|
437
442
|
<th class="pf-v6-c-table__th" role="columnheader">Number</th>
|
|
443
|
+
|
|
438
444
|
<td class="pf-v6-c-table__td"></td>
|
|
439
445
|
|
|
440
446
|
<td class="pf-v6-c-table__td"></td>
|
|
@@ -460,6 +466,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
460
466
|
</span>
|
|
461
467
|
</div>
|
|
462
468
|
</th>
|
|
469
|
+
|
|
463
470
|
<td
|
|
464
471
|
class="pf-v6-c-table__td"
|
|
465
472
|
role="cell"
|
|
@@ -568,7 +575,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
568
575
|
</div>
|
|
569
576
|
</td>
|
|
570
577
|
<td
|
|
571
|
-
class="pf-v6-c-table__td pf-
|
|
578
|
+
class="pf-v6-c-table__td pf-v6-c-table__inline-edit-action"
|
|
572
579
|
role="cell"
|
|
573
580
|
>
|
|
574
581
|
<div
|
|
@@ -605,64 +612,18 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
605
612
|
</button>
|
|
606
613
|
</div>
|
|
607
614
|
</td>
|
|
615
|
+
|
|
608
616
|
<td class="pf-v6-c-table__td pf-v6-c-table__action" role="cell">
|
|
609
|
-
<
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
>
|
|
617
|
+
<button
|
|
618
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
619
|
+
type="button"
|
|
620
|
+
aria-expanded="false"
|
|
621
|
+
aria-label="Table actions"
|
|
622
|
+
>
|
|
623
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
617
624
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
618
|
-
</
|
|
619
|
-
|
|
620
|
-
class="pf-v6-c-dropdown__menu pf-m-align-right"
|
|
621
|
-
aria-labelledby="inline-edit-table-row-example-row-1--dropdown-kebab-button"
|
|
622
|
-
hidden
|
|
623
|
-
role="menu"
|
|
624
|
-
>
|
|
625
|
-
<li role="none">
|
|
626
|
-
<a
|
|
627
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
628
|
-
role="menuitem"
|
|
629
|
-
href="#"
|
|
630
|
-
>Link</a>
|
|
631
|
-
</li>
|
|
632
|
-
<li role="none">
|
|
633
|
-
<button
|
|
634
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
635
|
-
role="menuitem"
|
|
636
|
-
type="button"
|
|
637
|
-
>Action</button>
|
|
638
|
-
</li>
|
|
639
|
-
<li role="none">
|
|
640
|
-
<a
|
|
641
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
642
|
-
role="menuitem"
|
|
643
|
-
href="#"
|
|
644
|
-
aria-disabled="true"
|
|
645
|
-
tabindex="-1"
|
|
646
|
-
>Disabled link</a>
|
|
647
|
-
</li>
|
|
648
|
-
<li role="none">
|
|
649
|
-
<button
|
|
650
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
651
|
-
role="menuitem"
|
|
652
|
-
type="button"
|
|
653
|
-
disabled
|
|
654
|
-
>Disabled action</button>
|
|
655
|
-
</li>
|
|
656
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
657
|
-
<li role="none">
|
|
658
|
-
<a
|
|
659
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
660
|
-
role="menuitem"
|
|
661
|
-
href="#"
|
|
662
|
-
>Separated link</a>
|
|
663
|
-
</li>
|
|
664
|
-
</ul>
|
|
665
|
-
</div>
|
|
625
|
+
</span>
|
|
626
|
+
</button>
|
|
666
627
|
</td>
|
|
667
628
|
</tr>
|
|
668
629
|
|
|
@@ -684,6 +645,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
684
645
|
</span>
|
|
685
646
|
</div>
|
|
686
647
|
</th>
|
|
648
|
+
|
|
687
649
|
<td
|
|
688
650
|
class="pf-v6-c-table__td"
|
|
689
651
|
role="cell"
|
|
@@ -792,7 +754,7 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
792
754
|
</div>
|
|
793
755
|
</td>
|
|
794
756
|
<td
|
|
795
|
-
class="pf-v6-c-table__td pf-
|
|
757
|
+
class="pf-v6-c-table__td pf-v6-c-table__inline-edit-action"
|
|
796
758
|
role="cell"
|
|
797
759
|
>
|
|
798
760
|
<div
|
|
@@ -829,64 +791,18 @@ Inline edit **action-group** contains save and cancel actions and is only visibl
|
|
|
829
791
|
</button>
|
|
830
792
|
</div>
|
|
831
793
|
</td>
|
|
794
|
+
|
|
832
795
|
<td class="pf-v6-c-table__td pf-v6-c-table__action" role="cell">
|
|
833
|
-
<
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
>
|
|
796
|
+
<button
|
|
797
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
798
|
+
type="button"
|
|
799
|
+
aria-expanded="false"
|
|
800
|
+
aria-label="Table actions"
|
|
801
|
+
>
|
|
802
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
841
803
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
842
|
-
</
|
|
843
|
-
|
|
844
|
-
class="pf-v6-c-dropdown__menu pf-m-align-right"
|
|
845
|
-
aria-labelledby="inline-edit-table-row-example-row-2--dropdown-kebab-button"
|
|
846
|
-
hidden
|
|
847
|
-
role="menu"
|
|
848
|
-
>
|
|
849
|
-
<li role="none">
|
|
850
|
-
<a
|
|
851
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
852
|
-
role="menuitem"
|
|
853
|
-
href="#"
|
|
854
|
-
>Link</a>
|
|
855
|
-
</li>
|
|
856
|
-
<li role="none">
|
|
857
|
-
<button
|
|
858
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
859
|
-
role="menuitem"
|
|
860
|
-
type="button"
|
|
861
|
-
>Action</button>
|
|
862
|
-
</li>
|
|
863
|
-
<li role="none">
|
|
864
|
-
<a
|
|
865
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
866
|
-
role="menuitem"
|
|
867
|
-
href="#"
|
|
868
|
-
aria-disabled="true"
|
|
869
|
-
tabindex="-1"
|
|
870
|
-
>Disabled link</a>
|
|
871
|
-
</li>
|
|
872
|
-
<li role="none">
|
|
873
|
-
<button
|
|
874
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
875
|
-
role="menuitem"
|
|
876
|
-
type="button"
|
|
877
|
-
disabled
|
|
878
|
-
>Disabled action</button>
|
|
879
|
-
</li>
|
|
880
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
881
|
-
<li role="none">
|
|
882
|
-
<a
|
|
883
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
884
|
-
role="menuitem"
|
|
885
|
-
href="#"
|
|
886
|
-
>Separated link</a>
|
|
887
|
-
</li>
|
|
888
|
-
</ul>
|
|
889
|
-
</div>
|
|
804
|
+
</span>
|
|
805
|
+
</button>
|
|
890
806
|
</td>
|
|
891
807
|
</tr>
|
|
892
808
|
</tbody>
|
|
@@ -904,31 +820,31 @@ All accessibility requirements for inputs apply to elements within inline edit.
|
|
|
904
820
|
| Attribute | Applied to | Outcome |
|
|
905
821
|
| -- | -- | -- |
|
|
906
822
|
| `id` | `[labelling element]` | Provides a reference for toggle button and/or editable content. |
|
|
907
|
-
| `aria-label="descriptive text"` | `.pf-
|
|
908
|
-
| `aria-labelledby="[labelling element] [toggle button id]"` | `.pf-
|
|
823
|
+
| `aria-label="descriptive text"` | `.pf-v6-c-inline-edit__toggle > button` | Provides an accessible description for toggle button. **Required** |
|
|
824
|
+
| `aria-labelledby="[labelling element] [toggle button id]"` | `.pf-v6-c-inline-edit__toggle > button` | Provides an accessible description for toggle button. **Required** |
|
|
909
825
|
| `aria-label="descriptive text"` | `[radio button group]` | Provides an accessible description for radio groups. **Required** |
|
|
910
|
-
| `contenteditable="true"` | `.pf-
|
|
911
|
-
| `role="textbox"` | `.pf-
|
|
826
|
+
| `contenteditable="true"` | `.pf-v6-c-inline-edit__editable-text` | Ensures the text node is editable. |
|
|
827
|
+
| `role="textbox"` | `.pf-v6-c-inline-edit__editable-text` | Identifies an element that allows the input of free-form text. |
|
|
912
828
|
| `role="radiogroup"` | `[radio button group]` | Provides an accessible role for radio buttons groups. **Required** |
|
|
913
829
|
|
|
914
830
|
### Usage
|
|
915
831
|
|
|
916
832
|
| Class | Applied to | Outcome |
|
|
917
833
|
| -- | -- | -- |
|
|
918
|
-
| `.pf-
|
|
919
|
-
| `.pf-
|
|
920
|
-
| `.pf-
|
|
921
|
-
| `.pf-
|
|
922
|
-
| `.pf-
|
|
923
|
-
| `.pf-
|
|
924
|
-
| `.pf-m-inline-editable` | `.pf-
|
|
925
|
-
| `.pf-m-action-group` | `.pf-
|
|
926
|
-
| `.pf-m-icon-group` | `.pf-
|
|
927
|
-
| `.pf-m-column` | `.pf-
|
|
928
|
-
| `.pf-m-footer` | `.pf-
|
|
929
|
-
| `.pf-m-bold` | `.pf-
|
|
930
|
-
| `.pf-m-valid` | `.pf-
|
|
931
|
-
| `.pf-m-enable-editable` | `.pf-
|
|
834
|
+
| `.pf-v6-c-inline-edit` | `<form>`, `<div>` | Initiates the inline edit component. **Required** |
|
|
835
|
+
| `.pf-v6-c-inline-edit__value` | `*` | Initiates an inline edit value. **Required** |
|
|
836
|
+
| `.pf-v6-c-inline-edit__input` | `*` | Initiates an inline edit input. **Required** |
|
|
837
|
+
| `.pf-v6-c-inline-edit__editable-text` | `*` | Initiates an inline editable text element. |
|
|
838
|
+
| `.pf-v6-c-inline-edit__label` | `*` | Initiates an inline edit label. |
|
|
839
|
+
| `.pf-v6-c-inline-edit__action` | `*` | Initiates an inline edit action (visible when inline edit region is active). **Required** |
|
|
840
|
+
| `.pf-m-inline-editable` | `.pf-v6-c-inline-edit`, `.pf-v6-c-inline-edit [block level element]` | Modifies an inline edit region for editable state. |
|
|
841
|
+
| `.pf-m-action-group` | `.pf-v6-c-inline-edit__group` | Modifies group for action group. |
|
|
842
|
+
| `.pf-m-icon-group` | `.pf-v6-c-inline-edit__group` | Modifies an action group item spacing. |
|
|
843
|
+
| `.pf-m-column` | `.pf-v6-c-inline-edit__group` | Modifies an action group flex direction. |
|
|
844
|
+
| `.pf-m-footer` | `.pf-v6-c-inline-edit__group` | Modifies an inline edit group margin-top. |
|
|
845
|
+
| `.pf-m-bold` | `.pf-v6-c-inline-edit__label` | Modifies an inline edit label's `font-weight`. |
|
|
846
|
+
| `.pf-m-valid` | `.pf-v6-c-inline-edit__action` | Modifies the action button state. |
|
|
847
|
+
| `.pf-m-enable-editable` | `.pf-v6-c-inline-edit__action` | Exposes an inline edit action by default. |
|
|
932
848
|
|
|
933
849
|
```
|
|
934
850
|
-->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Input group
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-input-group
|
|
5
5
|
---### Overview
|
|
6
6
|
|
|
7
7
|
Use the input group to extend form controls by adding text, buttons, selects, etc. The input group handles border overlap.
|
|
@@ -287,20 +287,20 @@ Use the input group to extend form controls by adding text, buttons, selects, et
|
|
|
287
287
|
|
|
288
288
|
### Accessibility
|
|
289
289
|
|
|
290
|
-
When using the `.pf-
|
|
290
|
+
When using the `.pf-v6-c-input-group` always ensure labels are used outside the input group with the `.pf-v6-screen-reader` class applied. You can also make use of the `aria-describedby`, `aria-label`, or `aria-labelledby` attributes. For more information on accessibility and forms see the [form component](/components/form).
|
|
291
291
|
|
|
292
292
|
| Attribute | Applied to | Outcome |
|
|
293
293
|
| -- | -- | -- |
|
|
294
|
-
| `aria-describedby` | `.pf-
|
|
294
|
+
| `aria-describedby` | `.pf-v6-c-form-control` | When using `.pf-v6-c-input-group__text` or `.pf-v6-c-input-group__action` make use of this on the input field. |
|
|
295
295
|
|
|
296
296
|
### Usage
|
|
297
297
|
|
|
298
298
|
| Class | Applied to | Outcome |
|
|
299
299
|
| -- | -- | -- |
|
|
300
|
-
| `.pf-
|
|
301
|
-
| `.pf-
|
|
302
|
-
| `.pf-
|
|
303
|
-
| `.pf-m-plain` | `.pf-
|
|
304
|
-
| `.pf-m-box` | `.pf-
|
|
305
|
-
| `.pf-m-fill` | `.pf-
|
|
306
|
-
| `.pf-m-disabled` | `.pf-
|
|
300
|
+
| `.pf-v6-c-input-group` | `<div>` | Initiates the input group. **Required** |
|
|
301
|
+
| `.pf-v6-c-input-group__item` | `<div>` | Initiates the input group item. |
|
|
302
|
+
| `.pf-v6-c-input-group__text` | `<span>` | Initiates input group text. This should be used within `.pf-v6-c-input-group__item` to contain text. |
|
|
303
|
+
| `.pf-m-plain` | `.pf-v6-c-input-group__item` | Removes the border from the input group element. |
|
|
304
|
+
| `.pf-m-box` | `.pf-v6-c-input-group__item` | Adds appropriate styling for items that are not form controls. |
|
|
305
|
+
| `.pf-m-fill` | `.pf-v6-c-input-group__item` | Allows the input group element to stretch to fill available space. |
|
|
306
|
+
| `.pf-m-disabled` | `.pf-v6-c-input-group__item` | Adds disabled styling to match a disabled input within the input group. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Jump links
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-jump-links
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Horizontal default
|
|
@@ -616,26 +616,26 @@ cssPrefix: pf-v5-c-jump-links
|
|
|
616
616
|
|
|
617
617
|
| Attribute | Applied to | Outcome |
|
|
618
618
|
| -- | -- | -- |
|
|
619
|
-
| `aria-label` | `.pf-
|
|
619
|
+
| `aria-label` | `.pf-v6-c-jump-links` | Provides an accessible name for the jump links. |
|
|
620
620
|
|
|
621
621
|
### Usage
|
|
622
622
|
|
|
623
623
|
| Class | Applied to | Outcome |
|
|
624
624
|
| -- | -- | -- |
|
|
625
|
-
| `.pf-
|
|
626
|
-
| `.pf-
|
|
627
|
-
| `.pf-
|
|
628
|
-
| `.pf-
|
|
629
|
-
| `.pf-
|
|
630
|
-
| `.pf-
|
|
631
|
-
| `.pf-
|
|
632
|
-
| `.pf-
|
|
633
|
-
| `.pf-
|
|
634
|
-
| `.pf-
|
|
635
|
-
| `.pf-
|
|
636
|
-
| `.pf-m-vertical` | `.pf-
|
|
637
|
-
| `.pf-m-center` | `.pf-
|
|
638
|
-
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-
|
|
639
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-
|
|
640
|
-
| `.pf-m-expanded` | `.pf-
|
|
641
|
-
| `.pf-m-current` | `.pf-
|
|
625
|
+
| `.pf-v6-c-jump-links` | `<div>` | Initiates the jump links container. |
|
|
626
|
+
| `.pf-v6-c-jump-links__header` | `<div>` | Initiates the jump links header. |
|
|
627
|
+
| `.pf-v6-c-jump-links__toggle` | `<div>` | Initiates the jump links expandable toggle. |
|
|
628
|
+
| `.pf-v6-c-jump-links__toggle-text` | `<span>` | Initiates the jump links expandable toggle text. |
|
|
629
|
+
| `.pf-v6-c-jump-links__toggle-icon` | `<span>` | Initiates the jump links expandable toggle icon. |
|
|
630
|
+
| `.pf-v6-c-jump-links__label` | `<div>` | Initiates the jump links label. |
|
|
631
|
+
| `.pf-v6-c-jump-links__main` | `<div>` | Initiates the jump links main container for when a label and list is used in the horizontal variation. |
|
|
632
|
+
| `.pf-v6-c-jump-links__list` | `<ul>` | Initiates the jump links list. |
|
|
633
|
+
| `.pf-v6-c-jump-links__item` | `<li>` | Initiates the jump links list item. |
|
|
634
|
+
| `.pf-v6-c-jump-links__link` | `<button>` | Initiates the jump links link. |
|
|
635
|
+
| `.pf-v6-c-jump-links__link-text` | `<div>` | Initiates the jump links link text. |
|
|
636
|
+
| `.pf-m-vertical` | `.pf-v6-c-jump-links` | Modifies the jump links component to be vertical. |
|
|
637
|
+
| `.pf-m-center` | `.pf-v6-c-jump-links` | Modifies the jump links component to center its list and label. |
|
|
638
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be expandable via a toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** works with vertical jump links only. |
|
|
639
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-jump-links` | Modifies the jump links component to be non-expandable at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
640
|
+
| `.pf-m-expanded` | `.pf-v6-c-jump-links` | Modifies the expandable jump links component for the expanded state. |
|
|
641
|
+
| `.pf-m-current` | `.pf-v6-c-jump-links__item`| Modifies the jump links item to be current. |
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
margin: -4px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
#ws-core-c-label-filled .pf-
|
|
9
|
-
#ws-core-c-label-outline .pf-
|
|
10
|
-
#ws-core-c-label-compact .pf-
|
|
11
|
-
#ws-core-c-label-overflow .pf-
|
|
8
|
+
#ws-core-c-label-filled .pf-v6-c-label,
|
|
9
|
+
#ws-core-c-label-outline .pf-v6-c-label,
|
|
10
|
+
#ws-core-c-label-compact .pf-v6-c-label,
|
|
11
|
+
#ws-core-c-label-overflow .pf-v6-c-label {
|
|
12
12
|
margin: 4px;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Label
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: ['pf-
|
|
4
|
+
cssPrefix: ['pf-v6-c-label','pf-v6-c-label-group']
|
|
5
5
|
---import './Label.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -5046,7 +5046,7 @@ The contents of a label group can be modified by removing labels or adding new o
|
|
|
5046
5046
|
|
|
5047
5047
|
In addition to the JavaScript management of [editable labels](/components/label#editable), dynamic label groups also need:
|
|
5048
5048
|
|
|
5049
|
-
* `.pf-
|
|
5049
|
+
* `.pf-v6-c-label-group.pf-m-editable` onClick event should (excluding labels within) set focus on `.pf-v6-c-label-group__textarea`
|
|
5050
5050
|
|
|
5051
5051
|
### Editable labels, dynamic label group
|
|
5052
5052
|
|
|
@@ -5621,56 +5621,56 @@ In addition to the JavaScript management of [editable labels](/components/label#
|
|
|
5621
5621
|
|
|
5622
5622
|
| Class | Applied to | Outcome |
|
|
5623
5623
|
| -- | -- | -- |
|
|
5624
|
-
| `.pf-
|
|
5625
|
-
| `.pf-
|
|
5626
|
-
| `.pf-
|
|
5627
|
-
| `.pf-
|
|
5628
|
-
| `.pf-
|
|
5629
|
-
| `.pf-
|
|
5630
|
-
| `.pf-m-filled` | `.pf-
|
|
5631
|
-
| `.pf-m-outline` | `.pf-
|
|
5632
|
-
| `.pf-m-compact` | `.pf-
|
|
5633
|
-
| `.pf-m-overflow` | `.pf-
|
|
5634
|
-
| `.pf-m-add` | `.pf-
|
|
5635
|
-
| `.pf-m-blue` | `.pf-
|
|
5636
|
-
| `.pf-m-green` | `.pf-
|
|
5637
|
-
| `.pf-m-orange` | `.pf-
|
|
5638
|
-
| `.pf-m-red` | `.pf-
|
|
5639
|
-
| `.pf-m-purple` | `.pf-
|
|
5640
|
-
| `.pf-m-cyan` | `.pf-
|
|
5641
|
-
| `.pf-m-gold` | `.pf-
|
|
5642
|
-
| `.pf-m-success` | `.pf-
|
|
5643
|
-
| `.pf-m-warning` | `.pf-
|
|
5644
|
-
| `.pf-m-danger` | `.pf-
|
|
5645
|
-
| `.pf-m-info` | `.pf-
|
|
5646
|
-
| `.pf-m-custom` | `.pf-
|
|
5647
|
-
| `.pf-m-editable` | `.pf-
|
|
5648
|
-
| `.pf-m-editable-active` | `.pf-
|
|
5649
|
-
| `--pf-
|
|
5624
|
+
| `.pf-v6-c-label` | `<span>`, `<button>` | Initiates a label. Without a color modifier, the label's default style is grey. Use a color modifier to change the label color. Use a `<button>` if the label is an overflow label used in the label group. **Required. Note: always use with either `.pf-m-filled` or `.pf-m-outline`.** |
|
|
5625
|
+
| `.pf-v6-c-label__content` | `<span>`, `<a>`, `<button>` | Creates a content wrapper. Use as an `<a>` element if the label serves as a link. Use a `<button>` if the label serves as an action. **Required** |
|
|
5626
|
+
| `.pf-v6-c-label__icon` | `<span>` | Initiates a label icon. |
|
|
5627
|
+
| `.pf-v6-c-label__text` | `<span>` | Initiates label text. **Required** |
|
|
5628
|
+
| `.pf-v6-c-label__editable-text` | `<button>`, `<input>` | Initiates editable label text. See the [editable](#editable) example for details about handling behavior in Javascript.|
|
|
5629
|
+
| `.pf-v6-c-label__actions` | `<span>` | Creates a wrapper for label actions. **Required for removable labels** |
|
|
5630
|
+
| `.pf-m-filled` | `.pf-v6-c-label` | Modifies label for filled styles. |
|
|
5631
|
+
| `.pf-m-outline` | `.pf-v6-c-label` | Modifies label for outline styles. |
|
|
5632
|
+
| `.pf-m-compact` | `.pf-v6-c-label` | Modifies label for compact styles. |
|
|
5633
|
+
| `.pf-m-overflow` | `.pf-v6-c-label` | Modifies label for overflow styles for use in a label group. |
|
|
5634
|
+
| `.pf-m-add` | `.pf-v6-c-label` | Modifies label for add styles for use in a label group. |
|
|
5635
|
+
| `.pf-m-blue` | `.pf-v6-c-label` | Modifies the label to have blue colored styling. |
|
|
5636
|
+
| `.pf-m-green` | `.pf-v6-c-label` | Modifies the label to have green colored styling. |
|
|
5637
|
+
| `.pf-m-orange` | `.pf-v6-c-label` | Modifies the label to have orange colored styling. |
|
|
5638
|
+
| `.pf-m-red` | `.pf-v6-c-label` | Modifies the label to have red colored styling. |
|
|
5639
|
+
| `.pf-m-purple` | `.pf-v6-c-label` | Modifies the label to have purple colored styling. |
|
|
5640
|
+
| `.pf-m-cyan` | `.pf-v6-c-label` | Modifies the label to have cyan colored styling. |
|
|
5641
|
+
| `.pf-m-gold` | `.pf-v6-c-label` | Modifies the label to have gold colored styling. |
|
|
5642
|
+
| `.pf-m-success` | `.pf-v6-c-label` | Modifies the label to have success colored styling. |
|
|
5643
|
+
| `.pf-m-warning` | `.pf-v6-c-label` | Modifies the label to have warning colored styling. |
|
|
5644
|
+
| `.pf-m-danger` | `.pf-v6-c-label` | Modifies the label to have danger colored styling. |
|
|
5645
|
+
| `.pf-m-info` | `.pf-v6-c-label` | Modifies the label to have info colored styling. |
|
|
5646
|
+
| `.pf-m-custom` | `.pf-v6-c-label` | Modifies the label to have custom colored styling. |
|
|
5647
|
+
| `.pf-m-editable` | `.pf-v6-c-label` | Modifies label for editable styles. |
|
|
5648
|
+
| `.pf-m-editable-active` | `.pf-v6-c-label.pf-m-editable` | Modifies editable label for active styles. |
|
|
5649
|
+
| `--pf-v6-c-label__text--MaxWidth` | `.pf-v6-c-label` | Modifiex the max width of the text before text will truncate. |
|
|
5650
5650
|
|
|
5651
5651
|
### Label group accessibility
|
|
5652
5652
|
|
|
5653
5653
|
| Attribute | Applied to | Outcome |
|
|
5654
5654
|
| -- | -- | -- |
|
|
5655
|
-
| `role="list"` | `.pf-
|
|
5656
|
-
| `aria-label="[button label text]"` | `.pf-
|
|
5657
|
-
| `aria-labelledby="[id value of .pf-
|
|
5658
|
-
| `aria-label="[label text]"` | `.pf-
|
|
5659
|
-
| `row="1"` | `.pf-
|
|
5660
|
-
| `tabindex="0"` | `.pf-
|
|
5655
|
+
| `role="list"` | `.pf-v6-c-label-group__list` | Indicates that the label group list is a list element. This role is redundant since `.pf-v6-c-label-group__list` is a `<ul>` but is required for screen readers to announce the list properly. **Required** |
|
|
5656
|
+
| `aria-label="[button label text]"` | `.pf-v6-c-label-group__close > button` | Provides an accessible name for a label group close button when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
|
|
5657
|
+
| `aria-labelledby="[id value of .pf-v6-c-label-group__close > button] [id value of .pf-v6-c-label-group__label]"` | `.pf-v6-c-label-group__close > button` | Provides an accessible name for the button. **Required** |
|
|
5658
|
+
| `aria-label="[label text]"` | `.pf-v6-c-label-group__textarea` | Provides an accessible name for the textarea. **Required** |
|
|
5659
|
+
| `row="1"` | `.pf-v6-c-label-group__textarea` | Indicates that the label group textarea is one row. **Required** |
|
|
5660
|
+
| `tabindex="0"` | `.pf-v6-c-label-group__textarea` | Inserts the label group textarea into the tab order of the page so that it is focusable. **Required** |
|
|
5661
5661
|
|
|
5662
5662
|
### Label group usage
|
|
5663
5663
|
|
|
5664
5664
|
| Class | Applied to | Outcome |
|
|
5665
5665
|
| -- | -- | -- |
|
|
5666
|
-
| `.pf-
|
|
5667
|
-
| `.pf-
|
|
5668
|
-
| `.pf-
|
|
5669
|
-
| `.pf-
|
|
5670
|
-
| `.pf-
|
|
5671
|
-
| `.pf-
|
|
5672
|
-
| `.pf-
|
|
5673
|
-
| `.pf-
|
|
5674
|
-
| `.pf-m-editable` | `.pf-
|
|
5675
|
-
| `.pf-m-category` | `.pf-
|
|
5676
|
-
| `.pf-m-textarea` | `.pf-
|
|
5666
|
+
| `.pf-v6-c-label-group` | `<div>` | Initiates the label group component. **Required.** |
|
|
5667
|
+
| `.pf-v6-c-label-group__list` | `<ul>` | Initiates the container for a list of labels. **Required.** |
|
|
5668
|
+
| `.pf-v6-c-label-group__list-item` | `<li>` | Initiates the list item inside of the label group. **Required.** |
|
|
5669
|
+
| `.pf-v6-c-label-group__main` | `<div>` | Initiates the main element in the label group. **Required when label and list are present** |
|
|
5670
|
+
| `.pf-v6-c-label-group__textarea` | `<textarea>` | Initiates the textarea element in the label group. **Required when label group is editable** |
|
|
5671
|
+
| `.pf-v6-c-label-group__label` | `<span>` | Initiates the label to be used in the label group. |
|
|
5672
|
+
| `.pf-v6-c-label-group__close` | `<div>` | Initiates the container used for the button to remove the label group. |
|
|
5673
|
+
| `.pf-v6-c-button` | `.pf-v6-c-label-group__close <button>` | Initiates the button used to remove the label group. |
|
|
5674
|
+
| `.pf-m-editable` | `.pf-v6-c-label-group` | Modifies the label group to support editable styling. |
|
|
5675
|
+
| `.pf-m-category` | `.pf-v6-c-label-group` | Modifies the label group to support category styling. |
|
|
5676
|
+
| `.pf-m-textarea` | `.pf-v6-c-label-group__list-item` | Modifies the label group list item to support textarea. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: List
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-list
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Unordered
|
|
@@ -165,8 +165,8 @@ Non-inline lists can be nested up to any level.
|
|
|
165
165
|
|
|
166
166
|
| Class | Applied to | Outcome |
|
|
167
167
|
| -- | -- | -- |
|
|
168
|
-
| `.pf-
|
|
169
|
-
| `.pf-m-inline` | `.pf-
|
|
170
|
-
| `.pf-m-plain` | `.pf-
|
|
171
|
-
| `.pf-m-bordered` | `.pf-
|
|
172
|
-
| `.pf-m-icon-lg` | `.pf-
|
|
168
|
+
| `.pf-v6-c-list` | `<ul>, <ol>` | Initiates a list. **Required** |
|
|
169
|
+
| `.pf-m-inline` | `.pf-v6-c-list` | Displays list items inline. |
|
|
170
|
+
| `.pf-m-plain` | `.pf-v6-c-list` | Removes the list marker and base indentation. |
|
|
171
|
+
| `.pf-m-bordered` | `.pf-v6-c-list` | Add horizontal divider between items in a list. |
|
|
172
|
+
| `.pf-m-icon-lg` | `.pf-v6-c-list` | Show all the icons or logos in the list large. |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
#ws-core-e-log-viewer-with-popover-open .pf-
|
|
5
|
+
#ws-core-e-log-viewer-with-popover-open .pf-v6-c-popover {
|
|
6
6
|
display: none;
|
|
7
7
|
position: absolute;
|
|
8
8
|
z-index: 9999;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@media screen and (min-width: 992px) {
|
|
14
|
-
#ws-core-e-log-viewer-with-popover-open .pf-
|
|
14
|
+
#ws-core-e-log-viewer-with-popover-open .pf-v6-c-popover {
|
|
15
15
|
display: block;
|
|
16
16
|
}
|
|
17
17
|
}
|