@patternfly/patternfly 6.3.0-prerelease.6 → 6.3.0-prerelease.61
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/README.md +22 -14
- package/assets/images/icon-help.hbs +3 -0
- package/assets/images/icon-outlined-star.hbs +3 -0
- package/assets/images/icon-star.hbs +3 -0
- package/base/normalize.scss +4 -0
- package/base/patternfly-common.css +46 -11
- package/base/patternfly-common.scss +58 -13
- package/base/patternfly-variables.css +1172 -1
- package/base/patternfly-variables.scss +10 -0
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +13 -1
- package/base/tokens/tokens-default.scss +60 -2
- package/base/tokens/tokens-highcontrast-dark.scss +396 -0
- package/base/tokens/tokens-highcontrast.scss +703 -0
- package/base/tokens/tokens-local.scss +1 -0
- package/base/tokens/tokens-palette.scss +9 -1
- package/components/Accordion/accordion.css +102 -6
- package/components/Accordion/accordion.scss +112 -10
- package/components/Alert/alert-group.css +67 -33
- package/components/Alert/alert-group.scss +95 -48
- package/components/Badge/badge.css +2 -0
- package/components/Badge/badge.scss +2 -0
- package/components/Banner/banner.css +4 -0
- package/components/Banner/banner.scss +4 -0
- package/components/Button/button.css +187 -9
- package/components/Button/button.scss +195 -13
- package/components/CalendarMonth/calendar-month.css +16 -0
- package/components/CalendarMonth/calendar-month.scss +16 -0
- package/components/Card/card.css +5 -4
- package/components/Card/card.scss +5 -4
- package/components/CodeBlock/code-block.css +3 -0
- package/components/CodeBlock/code-block.scss +3 -0
- package/components/CodeEditor/code-editor.css +8 -3
- package/components/CodeEditor/code-editor.scss +11 -6
- package/components/DataList/data-list.css +2 -2
- package/components/DataList/data-list.scss +2 -2
- package/components/DatePicker/date-picker.css +3 -0
- package/components/DatePicker/date-picker.scss +4 -0
- package/components/Drawer/drawer.css +44 -41
- package/components/Drawer/drawer.scss +42 -36
- package/components/DualListSelector/dual-list-selector.css +55 -1
- package/components/DualListSelector/dual-list-selector.scss +63 -1
- package/components/ExpandableSection/expandable-section.css +63 -1
- package/components/ExpandableSection/expandable-section.scss +76 -2
- package/components/FileUpload/file-upload.css +3 -3
- package/components/FileUpload/file-upload.scss +3 -3
- package/components/Form/form.css +40 -1
- package/components/Form/form.scss +47 -1
- package/components/FormControl/form-control.css +16 -0
- package/components/FormControl/form-control.scss +9 -0
- package/components/InputGroup/input-group.css +80 -0
- package/components/InputGroup/input-group.scss +95 -0
- package/components/Label/label.css +20 -11
- package/components/Label/label.scss +21 -11
- package/components/Login/login.css +3 -0
- package/components/Login/login.scss +3 -0
- package/components/Menu/menu.css +42 -4
- package/components/Menu/menu.scss +39 -6
- package/components/MenuToggle/menu-toggle.css +51 -10
- package/components/MenuToggle/menu-toggle.scss +61 -9
- package/components/ModalBox/modal-box.css +3 -0
- package/components/ModalBox/modal-box.scss +3 -0
- package/components/Nav/nav.css +39 -8
- package/components/Nav/nav.scss +42 -9
- package/components/Page/page.css +124 -26
- package/components/Page/page.scss +86 -16
- package/components/Pagination/pagination.css +14 -1
- package/components/Pagination/pagination.scss +14 -1
- package/components/Panel/panel.css +14 -1
- package/components/Panel/panel.scss +14 -1
- package/components/Popover/popover.css +4 -0
- package/components/Popover/popover.scss +4 -0
- package/components/Progress/progress.css +26 -0
- package/components/Progress/progress.scss +22 -1
- package/components/ProgressStepper/progress-stepper.scss +1 -0
- package/components/SimpleList/simple-list.css +15 -0
- package/components/SimpleList/simple-list.scss +17 -1
- package/components/Skeleton/skeleton.css +22 -2
- package/components/Skeleton/skeleton.scss +25 -3
- package/components/Spinner/spinner.css +5 -0
- package/components/Spinner/spinner.scss +6 -0
- package/components/Table/table-grid.css +51 -5
- package/components/Table/table-grid.scss +22 -1
- package/components/Table/table.css +124 -2
- package/components/Table/table.scss +171 -3
- package/components/Tabs/tabs.css +32 -15
- package/components/Tabs/tabs.scss +34 -14
- package/components/TextInputGroup/text-input-group.css +23 -0
- package/components/TextInputGroup/text-input-group.scss +16 -1
- package/components/Timestamp/timestamp.css +4 -0
- package/components/Timestamp/timestamp.scss +7 -0
- package/components/TreeView/tree-view.css +54 -0
- package/components/TreeView/tree-view.scss +59 -2
- package/components/Truncate/truncate.css +1 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +33 -6
- package/components/Wizard/wizard.scss +38 -8
- package/components/_index.css +1404 -195
- package/docs/components/Alert/examples/Alert.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.md +159 -6
- package/docs/components/Card/examples/Card.md +8 -8
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +24 -32
- package/docs/components/CodeBlock/examples/CodeBlock.md +10 -10
- package/docs/components/CodeEditor/examples/CodeEditor.md +29 -5
- package/docs/components/DataList/examples/DataList.md +83 -207
- package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
- package/docs/components/DualListSelector/examples/DualListSelector.md +642 -319
- package/docs/components/EmptyState/examples/EmptyState.md +6 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +26 -15
- package/docs/components/Form/examples/Form.md +1178 -113
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/InlineEdit/examples/InlineEdit.md +2 -6
- package/docs/components/InputGroup/examples/InputGroup.md +5 -1
- package/docs/components/Label/examples/Label.md +2 -2
- package/docs/components/Login/examples/Login.md +22 -22
- package/docs/components/Masthead/examples/masthead.md +90 -12
- package/docs/components/Menu/examples/Menu.md +122 -6
- package/docs/components/MenuToggle/examples/MenuToggle.md +93 -55
- package/docs/components/ModalBox/examples/ModalBox.md +13 -1
- package/docs/components/OverflowMenu/examples/overflow-menu.md +5 -5
- package/docs/components/Page/examples/Page.md +147 -14
- package/docs/components/Pagination/examples/Pagination.md +123 -12
- package/docs/components/Popover/examples/Popover.md +0 -4
- package/docs/components/Progress/examples/Progress.md +222 -210
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
- package/docs/components/Skeleton/examples/Skeleton.md +21 -7
- package/docs/components/Slider/examples/Slider.md +2 -2
- package/docs/components/Spinner/examples/Spinner.md +10 -0
- package/docs/components/Table/examples/Table.md +7699 -4896
- package/docs/components/Tabs/examples/Tabs.md +1214 -6729
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +168 -49
- package/docs/components/Title/examples/Title.md +8 -8
- package/docs/components/Toolbar/examples/Toolbar.md +7 -7
- package/docs/components/Wizard/examples/Wizard.md +583 -0
- package/docs/demos/AboutModal/examples/AboutModal.md +22 -3
- package/docs/demos/Alert/examples/Alert.md +66 -9
- package/docs/demos/BackToTop/examples/BackToTop.md +22 -3
- package/docs/demos/Banner/examples/Banner.md +47 -6
- package/docs/demos/Card/examples/Card.md +13 -67
- package/docs/demos/CardView/examples/CardView.md +24 -5
- package/docs/demos/Dashboard/examples/Dashboard.md +34 -27
- package/docs/demos/DataList/examples/DataList.md +628 -192
- package/docs/demos/DescriptionList/examples/DescriptionList.md +79 -50
- package/docs/demos/Drawer/examples/Drawer.md +110 -53
- package/docs/demos/Form/examples/BasicForms.md +146 -26
- package/docs/demos/JumpLinks/examples/JumpLinks.md +132 -18
- package/docs/demos/Masthead/examples/Masthead.md +170 -18
- package/docs/demos/Modal/examples/Modal.md +171 -21
- package/docs/demos/Nav/examples/Nav.md +111 -16
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +114 -19
- package/docs/demos/Page/examples/Page.md +309 -43
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +886 -415
- package/docs/demos/Skeleton/examples/Skeleton.md +25 -4
- package/docs/demos/Table/examples/Table.md +480 -177
- package/docs/demos/Tabs/examples/Tabs.md +139 -594
- package/docs/demos/Toolbar/examples/Toolbar.md +72 -34
- package/docs/demos/Wizard/examples/Wizard.md +198 -27
- package/package.json +12 -7
- package/patternfly-base-no-globals.css +1217 -12
- package/patternfly-base.css +1221 -12
- package/patternfly-no-globals.css +2851 -437
- package/patternfly.css +2853 -435
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +54 -0
|
@@ -16,7 +16,7 @@ cssPrefix: pf-v6-c-text-input-group
|
|
|
16
16
|
class="pf-v6-c-text-input-group__text-input"
|
|
17
17
|
type="text"
|
|
18
18
|
value
|
|
19
|
-
aria-label="
|
|
19
|
+
aria-label="Basic"
|
|
20
20
|
/>
|
|
21
21
|
</span>
|
|
22
22
|
</div>
|
|
@@ -35,7 +35,7 @@ cssPrefix: pf-v6-c-text-input-group
|
|
|
35
35
|
type="text"
|
|
36
36
|
disabled
|
|
37
37
|
value="Disabled"
|
|
38
|
-
aria-label="Disabled
|
|
38
|
+
aria-label="Disabled"
|
|
39
39
|
/>
|
|
40
40
|
</span>
|
|
41
41
|
</div>
|
|
@@ -56,7 +56,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
56
56
|
class="pf-v6-c-text-input-group__text-input"
|
|
57
57
|
type="text"
|
|
58
58
|
value="Text input group with plain styling"
|
|
59
|
-
aria-label="
|
|
59
|
+
aria-label="Plain"
|
|
60
60
|
/>
|
|
61
61
|
</span>
|
|
62
62
|
</div>
|
|
@@ -78,7 +78,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
78
78
|
type="text"
|
|
79
79
|
placeholder="placeholder"
|
|
80
80
|
value
|
|
81
|
-
aria-label="
|
|
81
|
+
aria-label="Utilities and icon with placeholder"
|
|
82
82
|
/>
|
|
83
83
|
</span>
|
|
84
84
|
</div>
|
|
@@ -86,7 +86,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
86
86
|
<button
|
|
87
87
|
class="pf-v6-c-button pf-m-plain"
|
|
88
88
|
type="button"
|
|
89
|
-
aria-label="Clear
|
|
89
|
+
aria-label="Clear utilities and icon with placeholder example"
|
|
90
90
|
>
|
|
91
91
|
<span class="pf-v6-c-button__icon">
|
|
92
92
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -107,7 +107,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
107
107
|
class="pf-v6-c-text-input-group__text-input"
|
|
108
108
|
type="text"
|
|
109
109
|
value="Success validation"
|
|
110
|
-
aria-label="
|
|
110
|
+
aria-label="Success validation"
|
|
111
111
|
/>
|
|
112
112
|
<span class="pf-v6-c-text-input-group__icon pf-m-status">
|
|
113
113
|
<i aria-hidden="true" class="fas fa-check-circle"></i>
|
|
@@ -126,7 +126,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
126
126
|
class="pf-v6-c-text-input-group__text-input"
|
|
127
127
|
type="text"
|
|
128
128
|
value="Warning validation with icon at start"
|
|
129
|
-
aria-label="
|
|
129
|
+
aria-label="Warning validation"
|
|
130
130
|
/>
|
|
131
131
|
<span class="pf-v6-c-text-input-group__icon pf-m-status">
|
|
132
132
|
<i aria-hidden="true" class="fas fa-exclamation-triangle"></i>
|
|
@@ -145,6 +145,34 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
145
145
|
class="pf-v6-c-text-input-group__text-input"
|
|
146
146
|
type="text"
|
|
147
147
|
value="Error validation with icon at start and utilities"
|
|
148
|
+
aria-label="Error validation"
|
|
149
|
+
/>
|
|
150
|
+
<span class="pf-v6-c-text-input-group__icon pf-m-status">
|
|
151
|
+
<i aria-hidden="true" class="fas fa-exclamation-circle"></i>
|
|
152
|
+
</span>
|
|
153
|
+
</span>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="pf-v6-c-text-input-group__utilities">
|
|
156
|
+
<button
|
|
157
|
+
class="pf-v6-c-button pf-m-plain"
|
|
158
|
+
type="button"
|
|
159
|
+
aria-label="Clear error validation example"
|
|
160
|
+
>
|
|
161
|
+
<span class="pf-v6-c-button__text">
|
|
162
|
+
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
163
|
+
</span>
|
|
164
|
+
</button>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<br />
|
|
169
|
+
<div class="pf-v6-c-text-input-group pf-m-error">
|
|
170
|
+
<div class="pf-v6-c-text-input-group__main">
|
|
171
|
+
<span class="pf-v6-c-text-input-group__text">
|
|
172
|
+
<input
|
|
173
|
+
class="pf-v6-c-text-input-group__text-input"
|
|
174
|
+
type="text"
|
|
175
|
+
value="Error validation with no icon but with utilities"
|
|
148
176
|
aria-label="Type to filter"
|
|
149
177
|
/>
|
|
150
178
|
<span class="pf-v6-c-text-input-group__icon pf-m-status">
|
|
@@ -334,7 +362,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
334
362
|
class="pf-v6-c-text-input-group__text-input"
|
|
335
363
|
type="text"
|
|
336
364
|
value
|
|
337
|
-
aria-label="
|
|
365
|
+
aria-label="Filters"
|
|
338
366
|
/>
|
|
339
367
|
</span>
|
|
340
368
|
</div>
|
|
@@ -342,7 +370,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
342
370
|
<button
|
|
343
371
|
class="pf-v6-c-button pf-m-plain"
|
|
344
372
|
type="button"
|
|
345
|
-
aria-label="Clear
|
|
373
|
+
aria-label="Clear filter example"
|
|
346
374
|
>
|
|
347
375
|
<span class="pf-v6-c-button__icon">
|
|
348
376
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -695,7 +723,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
695
723
|
class="pf-v6-c-text-input-group__text-input"
|
|
696
724
|
type="text"
|
|
697
725
|
value
|
|
698
|
-
aria-label="
|
|
726
|
+
aria-label="Filters expanded"
|
|
699
727
|
/>
|
|
700
728
|
</span>
|
|
701
729
|
</div>
|
|
@@ -703,7 +731,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
703
731
|
<button
|
|
704
732
|
class="pf-v6-c-button pf-m-plain"
|
|
705
733
|
type="button"
|
|
706
|
-
aria-label="Clear
|
|
734
|
+
aria-label="Clear filters expanded example"
|
|
707
735
|
>
|
|
708
736
|
<span class="pf-v6-c-button__icon">
|
|
709
737
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -741,6 +769,8 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
741
769
|
|
|
742
770
|
### Search input group
|
|
743
771
|
|
|
772
|
+
The React implementation can be found in the [search input](/components/search-input) component.
|
|
773
|
+
|
|
744
774
|
```html
|
|
745
775
|
<div class="pf-v6-c-text-input-group">
|
|
746
776
|
<div class="pf-v6-c-text-input-group__main pf-m-icon">
|
|
@@ -753,7 +783,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
753
783
|
type="text"
|
|
754
784
|
placeholder="Find by name"
|
|
755
785
|
value
|
|
756
|
-
aria-label="Search input"
|
|
786
|
+
aria-label="Search input group"
|
|
757
787
|
/>
|
|
758
788
|
</span>
|
|
759
789
|
</div>
|
|
@@ -775,7 +805,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
775
805
|
type="text"
|
|
776
806
|
placeholder="Find by name"
|
|
777
807
|
value="Joh"
|
|
778
|
-
aria-label="Search input"
|
|
808
|
+
aria-label="Search input group no match"
|
|
779
809
|
/>
|
|
780
810
|
</span>
|
|
781
811
|
</div>
|
|
@@ -783,7 +813,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
783
813
|
<button
|
|
784
814
|
class="pf-v6-c-button pf-m-plain"
|
|
785
815
|
type="button"
|
|
786
|
-
aria-label="Clear input"
|
|
816
|
+
aria-label="Clear search input group no match"
|
|
787
817
|
>
|
|
788
818
|
<span class="pf-v6-c-button__icon">
|
|
789
819
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -808,16 +838,19 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
808
838
|
type="text"
|
|
809
839
|
placeholder="Find by name"
|
|
810
840
|
value="John Doe"
|
|
811
|
-
aria-label="Search input"
|
|
841
|
+
aria-label="Search input group match with result count"
|
|
812
842
|
/>
|
|
813
843
|
</span>
|
|
814
844
|
</div>
|
|
815
845
|
<div class="pf-v6-c-text-input-group__utilities">
|
|
816
|
-
<span class="pf-v6-c-badge pf-m-read">
|
|
846
|
+
<span class="pf-v6-c-badge pf-m-read">
|
|
847
|
+
<span aria-hidden="true">3</span>
|
|
848
|
+
<span class="pf-v6-screen-reader">3 matching results</span>
|
|
849
|
+
</span>
|
|
817
850
|
<button
|
|
818
851
|
class="pf-v6-c-button pf-m-plain"
|
|
819
852
|
type="button"
|
|
820
|
-
aria-label="Clear input"
|
|
853
|
+
aria-label="Clear search input group match with result count"
|
|
821
854
|
>
|
|
822
855
|
<span class="pf-v6-c-button__icon">
|
|
823
856
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -842,16 +875,36 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
842
875
|
type="text"
|
|
843
876
|
placeholder="Find by name"
|
|
844
877
|
value="John Doe"
|
|
845
|
-
aria-label="Search input"
|
|
878
|
+
aria-label="Search input group match with navigable options"
|
|
846
879
|
/>
|
|
847
880
|
</span>
|
|
848
881
|
</div>
|
|
849
882
|
<div class="pf-v6-c-text-input-group__utilities">
|
|
850
|
-
<span class="pf-v6-c-badge pf-m-read">
|
|
883
|
+
<span class="pf-v6-c-badge pf-m-read">
|
|
884
|
+
<span aria-hidden="true">1 / 3</span>
|
|
885
|
+
<span class="pf-v6-screen-reader">Showing result 1 / 3</span>
|
|
886
|
+
</span>
|
|
887
|
+
<div class="pf-v6-c-text-input-group__group">
|
|
888
|
+
<button
|
|
889
|
+
class="pf-v6-c-button pf-m-plain"
|
|
890
|
+
type="button"
|
|
891
|
+
aria-label="Previous"
|
|
892
|
+
disabled
|
|
893
|
+
>
|
|
894
|
+
<span class="pf-v6-c-button__icon">
|
|
895
|
+
<i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
|
|
896
|
+
</span>
|
|
897
|
+
</button>
|
|
898
|
+
<button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Next">
|
|
899
|
+
<span class="pf-v6-c-button__icon">
|
|
900
|
+
<i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
|
|
901
|
+
</span>
|
|
902
|
+
</button>
|
|
903
|
+
</div>
|
|
851
904
|
<button
|
|
852
905
|
class="pf-v6-c-button pf-m-plain"
|
|
853
906
|
type="button"
|
|
854
|
-
aria-label="Clear input"
|
|
907
|
+
aria-label="Clear search input group match with navigable options"
|
|
855
908
|
>
|
|
856
909
|
<span class="pf-v6-c-button__icon">
|
|
857
910
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -867,25 +920,56 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
867
920
|
```html
|
|
868
921
|
<h3>Collapsed</h3>
|
|
869
922
|
<br />
|
|
870
|
-
<div class="pf-v6-c-input-group pf-m-plain">
|
|
871
|
-
<div class="pf-v6-c-input-group__item pf-m-
|
|
923
|
+
<div class="pf-v6-c-input-group pf-m-search-expandable pf-m-plain">
|
|
924
|
+
<div class="pf-v6-c-input-group__item pf-m-search-input">
|
|
925
|
+
<div class="pf-v6-c-text-input-group">
|
|
926
|
+
<div class="pf-v6-c-text-input-group__main pf-m-icon">
|
|
927
|
+
<span class="pf-v6-c-text-input-group__text">
|
|
928
|
+
<span class="pf-v6-c-text-input-group__icon">
|
|
929
|
+
<i class="fas fa-fw fa-search"></i>
|
|
930
|
+
</span>
|
|
931
|
+
<input
|
|
932
|
+
class="pf-v6-c-text-input-group__text-input"
|
|
933
|
+
type="text"
|
|
934
|
+
placeholder="Search"
|
|
935
|
+
value
|
|
936
|
+
aria-label="Search input group collapsed"
|
|
937
|
+
/>
|
|
938
|
+
</span>
|
|
939
|
+
</div>
|
|
940
|
+
</div>
|
|
941
|
+
</div>
|
|
942
|
+
<div class="pf-v6-c-input-group__item pf-m-search-expand pf-m-plain">
|
|
872
943
|
<button
|
|
873
944
|
class="pf-v6-c-button pf-m-plain"
|
|
874
945
|
type="button"
|
|
875
|
-
aria-label="Open search"
|
|
946
|
+
aria-label="Open search input group collapsed"
|
|
876
947
|
>
|
|
877
948
|
<span class="pf-v6-c-button__icon">
|
|
878
949
|
<i class="fas fa-search fa-fw" aria-hidden="true"></i>
|
|
879
950
|
</span>
|
|
880
951
|
</button>
|
|
881
952
|
</div>
|
|
953
|
+
<div class="pf-v6-c-input-group__item pf-m-search-action pf-m-plain">
|
|
954
|
+
<button
|
|
955
|
+
class="pf-v6-c-button pf-m-plain"
|
|
956
|
+
type="button"
|
|
957
|
+
aria-label="Close search input group expandable"
|
|
958
|
+
>
|
|
959
|
+
<span class="pf-v6-c-button__icon">
|
|
960
|
+
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
961
|
+
</span>
|
|
962
|
+
</button>
|
|
963
|
+
</div>
|
|
882
964
|
</div>
|
|
883
965
|
<br />
|
|
884
966
|
<br />
|
|
885
967
|
<h3>Expanded</h3>
|
|
886
968
|
<br />
|
|
887
|
-
<div
|
|
888
|
-
|
|
969
|
+
<div
|
|
970
|
+
class="pf-v6-c-input-group pf-m-expanded pf-m-search-expandable pf-m-plain"
|
|
971
|
+
>
|
|
972
|
+
<div class="pf-v6-c-input-group__item pf-m-search-input">
|
|
889
973
|
<div class="pf-v6-c-text-input-group">
|
|
890
974
|
<div class="pf-v6-c-text-input-group__main pf-m-icon">
|
|
891
975
|
<span class="pf-v6-c-text-input-group__text">
|
|
@@ -897,14 +981,29 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
897
981
|
type="text"
|
|
898
982
|
placeholder="Search"
|
|
899
983
|
value
|
|
900
|
-
aria-label="Search input"
|
|
984
|
+
aria-label="Search input group expanded"
|
|
901
985
|
/>
|
|
902
986
|
</span>
|
|
903
987
|
</div>
|
|
904
988
|
</div>
|
|
905
989
|
</div>
|
|
906
|
-
<div class="pf-v6-c-input-group__item pf-m-plain">
|
|
907
|
-
<button
|
|
990
|
+
<div class="pf-v6-c-input-group__item pf-m-search-expand pf-m-plain">
|
|
991
|
+
<button
|
|
992
|
+
class="pf-v6-c-button pf-m-plain"
|
|
993
|
+
type="button"
|
|
994
|
+
aria-label="Open search input group collapsed"
|
|
995
|
+
>
|
|
996
|
+
<span class="pf-v6-c-button__icon">
|
|
997
|
+
<i class="fas fa-search fa-fw" aria-hidden="true"></i>
|
|
998
|
+
</span>
|
|
999
|
+
</button>
|
|
1000
|
+
</div>
|
|
1001
|
+
<div class="pf-v6-c-input-group__item pf-m-search-action pf-m-plain">
|
|
1002
|
+
<button
|
|
1003
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1004
|
+
type="button"
|
|
1005
|
+
aria-label="Close search input group expandable"
|
|
1006
|
+
>
|
|
908
1007
|
<span class="pf-v6-c-button__icon">
|
|
909
1008
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
910
1009
|
</span>
|
|
@@ -930,7 +1029,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
930
1029
|
type="text"
|
|
931
1030
|
placeholder="Find by name"
|
|
932
1031
|
value
|
|
933
|
-
aria-label="Search input"
|
|
1032
|
+
aria-label="Search input group with submit button"
|
|
934
1033
|
/>
|
|
935
1034
|
</span>
|
|
936
1035
|
</div>
|
|
@@ -940,7 +1039,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
940
1039
|
<button
|
|
941
1040
|
class="pf-v6-c-button pf-m-control"
|
|
942
1041
|
type="submit"
|
|
943
|
-
aria-label="
|
|
1042
|
+
aria-label="Submit search input group"
|
|
944
1043
|
>
|
|
945
1044
|
<span class="pf-v6-c-button__icon">
|
|
946
1045
|
<i class="fas fa-arrow-right" aria-hidden="true"></i>
|
|
@@ -966,7 +1065,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
966
1065
|
class="pf-v6-c-text-input-group__text-input"
|
|
967
1066
|
type="text"
|
|
968
1067
|
value="username:root firstname:ned"
|
|
969
|
-
aria-label="Search input"
|
|
1068
|
+
aria-label="Search input group advanced search"
|
|
970
1069
|
/>
|
|
971
1070
|
</span>
|
|
972
1071
|
</div>
|
|
@@ -974,7 +1073,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
974
1073
|
<button
|
|
975
1074
|
class="pf-v6-c-button pf-m-plain"
|
|
976
1075
|
type="button"
|
|
977
|
-
aria-label="Clear input"
|
|
1076
|
+
aria-label="Clear advance search input group collapsed"
|
|
978
1077
|
>
|
|
979
1078
|
<span class="pf-v6-c-button__icon">
|
|
980
1079
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -988,7 +1087,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
988
1087
|
class="pf-v6-c-button pf-m-control"
|
|
989
1088
|
type="button"
|
|
990
1089
|
aria-expanded="false"
|
|
991
|
-
aria-label="Advanced search"
|
|
1090
|
+
aria-label="Advanced search collapsed"
|
|
992
1091
|
>
|
|
993
1092
|
<span class="pf-v6-c-button__icon">
|
|
994
1093
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
@@ -999,7 +1098,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
999
1098
|
<button
|
|
1000
1099
|
class="pf-v6-c-button pf-m-control"
|
|
1001
1100
|
type="submit"
|
|
1002
|
-
aria-label="Search"
|
|
1101
|
+
aria-label="Search advance search input group collapsed"
|
|
1003
1102
|
>
|
|
1004
1103
|
<span class="pf-v6-c-button__icon">
|
|
1005
1104
|
<i class="fas fa-arrow-right" aria-hidden="true"></i>
|
|
@@ -1025,7 +1124,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1025
1124
|
class="pf-v6-c-text-input-group__text-input"
|
|
1026
1125
|
type="text"
|
|
1027
1126
|
value="username:root firstname:ned"
|
|
1028
|
-
aria-label="Search input"
|
|
1127
|
+
aria-label="Search input group advanced search expanded"
|
|
1029
1128
|
/>
|
|
1030
1129
|
</span>
|
|
1031
1130
|
</div>
|
|
@@ -1033,7 +1132,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1033
1132
|
<button
|
|
1034
1133
|
class="pf-v6-c-button pf-m-plain"
|
|
1035
1134
|
type="button"
|
|
1036
|
-
aria-label="Clear input"
|
|
1135
|
+
aria-label="Clear advance search input group expanded"
|
|
1037
1136
|
>
|
|
1038
1137
|
<span class="pf-v6-c-button__icon">
|
|
1039
1138
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -1047,7 +1146,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1047
1146
|
class="pf-v6-c-button pf-m-expanded pf-m-control"
|
|
1048
1147
|
type="button"
|
|
1049
1148
|
aria-expanded="true"
|
|
1050
|
-
aria-label="Advanced search"
|
|
1149
|
+
aria-label="Advanced search expanded"
|
|
1051
1150
|
>
|
|
1052
1151
|
<span class="pf-v6-c-button__icon">
|
|
1053
1152
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
@@ -1058,7 +1157,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1058
1157
|
<button
|
|
1059
1158
|
class="pf-v6-c-button pf-m-control"
|
|
1060
1159
|
type="submit"
|
|
1061
|
-
aria-label="Search"
|
|
1160
|
+
aria-label="Search advance search input group expanded"
|
|
1062
1161
|
>
|
|
1063
1162
|
<span class="pf-v6-c-button__icon">
|
|
1064
1163
|
<i class="fas fa-arrow-right" aria-hidden="true"></i>
|
|
@@ -1143,10 +1242,20 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1143
1242
|
</div>
|
|
1144
1243
|
<div class="pf-v6-c-form__group pf-m-action">
|
|
1145
1244
|
<div class="pf-v6-c-form__actions">
|
|
1146
|
-
<button
|
|
1245
|
+
<button
|
|
1246
|
+
class="pf-v6-c-button pf-m-primary"
|
|
1247
|
+
id="submit-advanced-search-expanded"
|
|
1248
|
+
type="submit"
|
|
1249
|
+
aria-labelledby="submit-advanced-search-expanded search-input-group-advanced-search-expanded"
|
|
1250
|
+
>
|
|
1147
1251
|
<span class="pf-v6-c-button__text">Submit</span>
|
|
1148
1252
|
</button>
|
|
1149
|
-
<button
|
|
1253
|
+
<button
|
|
1254
|
+
class="pf-v6-c-button pf-m-link"
|
|
1255
|
+
id="reset-advanced-search-expanded"
|
|
1256
|
+
type="reset"
|
|
1257
|
+
aria-labelledby="reset-advanced-search-expanded search-input-group-advanced-search-expanded"
|
|
1258
|
+
>
|
|
1150
1259
|
<span class="pf-v6-c-button__text">Reset</span>
|
|
1151
1260
|
</button>
|
|
1152
1261
|
</div>
|
|
@@ -1171,7 +1280,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1171
1280
|
class="pf-v6-c-text-input-group__text-input"
|
|
1172
1281
|
type="text"
|
|
1173
1282
|
value="app"
|
|
1174
|
-
aria-label="Search input"
|
|
1283
|
+
aria-label="Search input group autocomplete"
|
|
1175
1284
|
/>
|
|
1176
1285
|
</span>
|
|
1177
1286
|
</div>
|
|
@@ -1179,7 +1288,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1179
1288
|
<button
|
|
1180
1289
|
class="pf-v6-c-button pf-m-plain"
|
|
1181
1290
|
type="button"
|
|
1182
|
-
aria-label="Clear input"
|
|
1291
|
+
aria-label="Clear autocomplete search input group"
|
|
1183
1292
|
>
|
|
1184
1293
|
<span class="pf-v6-c-button__icon">
|
|
1185
1294
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -1247,7 +1356,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1247
1356
|
<button
|
|
1248
1357
|
class="pf-v6-c-button pf-m-plain"
|
|
1249
1358
|
type="button"
|
|
1250
|
-
aria-label="Clear input"
|
|
1359
|
+
aria-label="Clear autocomple search input group last option hint"
|
|
1251
1360
|
>
|
|
1252
1361
|
<span class="pf-v6-c-button__icon">
|
|
1253
1362
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -1288,7 +1397,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1288
1397
|
class="pf-v6-c-text-input-group__text-input"
|
|
1289
1398
|
type="text"
|
|
1290
1399
|
value="username:root firstname:n"
|
|
1291
|
-
aria-label="Search input"
|
|
1400
|
+
aria-label="Search input group advanced search expanded with autocomplete"
|
|
1292
1401
|
/>
|
|
1293
1402
|
</span>
|
|
1294
1403
|
</div>
|
|
@@ -1296,7 +1405,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1296
1405
|
<button
|
|
1297
1406
|
class="pf-v6-c-button pf-m-plain"
|
|
1298
1407
|
type="button"
|
|
1299
|
-
aria-label="Clear input"
|
|
1408
|
+
aria-label="Clear advance search input group expanded with autocomplete"
|
|
1300
1409
|
>
|
|
1301
1410
|
<span class="pf-v6-c-button__icon">
|
|
1302
1411
|
<i class="fas fa-times fa-fw" aria-hidden="true"></i>
|
|
@@ -1310,7 +1419,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1310
1419
|
class="pf-v6-c-button pf-m-expanded pf-m-control"
|
|
1311
1420
|
type="button"
|
|
1312
1421
|
aria-expanded="true"
|
|
1313
|
-
aria-label="Advanced search"
|
|
1422
|
+
aria-label="Advanced search expanded with autocomplete"
|
|
1314
1423
|
>
|
|
1315
1424
|
<span class="pf-v6-c-button__icon">
|
|
1316
1425
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
@@ -1321,7 +1430,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1321
1430
|
<button
|
|
1322
1431
|
class="pf-v6-c-button pf-m-control"
|
|
1323
1432
|
type="submit"
|
|
1324
|
-
aria-label="Search"
|
|
1433
|
+
aria-label="Search advanced search input group expanded with autocomplete"
|
|
1325
1434
|
>
|
|
1326
1435
|
<span class="pf-v6-c-button__icon">
|
|
1327
1436
|
<i class="fas fa-arrow-right" aria-hidden="true"></i>
|
|
@@ -1406,10 +1515,20 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1406
1515
|
</div>
|
|
1407
1516
|
<div class="pf-v6-c-form__group pf-m-action">
|
|
1408
1517
|
<div class="pf-v6-c-form__actions">
|
|
1409
|
-
<button
|
|
1518
|
+
<button
|
|
1519
|
+
class="pf-v6-c-button pf-m-primary"
|
|
1520
|
+
id="submit-advanced-search-expanded-with-autocomplete"
|
|
1521
|
+
type="submit"
|
|
1522
|
+
aria-labelledby="submit-advanced-search-expanded-with-autocomplete search-input-group-advanced-search-expanded-with-autocomplete"
|
|
1523
|
+
>
|
|
1410
1524
|
<span class="pf-v6-c-button__text">Submit</span>
|
|
1411
1525
|
</button>
|
|
1412
|
-
<button
|
|
1526
|
+
<button
|
|
1527
|
+
class="pf-v6-c-button pf-m-link"
|
|
1528
|
+
id="reset-advanced-search-expanded-with-autocomplete"
|
|
1529
|
+
type="submit"
|
|
1530
|
+
aria-labelledby="reset-advanced-search-expanded-with-autocomplete search-input-group-advanced-search-expanded-with-autocomplete"
|
|
1531
|
+
>
|
|
1413
1532
|
<span class="pf-v6-c-button__text">Reset</span>
|
|
1414
1533
|
</button>
|
|
1415
1534
|
</div>
|
|
@@ -19,12 +19,12 @@ cssPrefix: pf-v6-c-title
|
|
|
19
19
|
### Heading level modifiers
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
<
|
|
22
|
+
<h1 class="pf-v6-c-title pf-m-h1">H1-styled title</h1>
|
|
23
|
+
<h2 class="pf-v6-c-title pf-m-h2">H2-styled title</h2>
|
|
24
|
+
<h3 class="pf-v6-c-title pf-m-h3">H3-styled title</h3>
|
|
25
|
+
<h4 class="pf-v6-c-title pf-m-h4">H4-styled title</h4>
|
|
26
|
+
<h5 class="pf-v6-c-title pf-m-h5">H5-styled title</h5>
|
|
27
|
+
<h6 class="pf-v6-c-title pf-m-h6">H6-styled title</h6>
|
|
28
28
|
|
|
29
29
|
```
|
|
30
30
|
|
|
@@ -33,7 +33,7 @@ cssPrefix: pf-v6-c-title
|
|
|
33
33
|
```html
|
|
34
34
|
<h1 class="pf-v6-c-title pf-m-2xl pf-m-page-title">2xl page title</h1>
|
|
35
35
|
|
|
36
|
-
<
|
|
36
|
+
<h1 class="pf-v6-c-title pf-m-h1 pf-m-page-title">H1 page title</h1>
|
|
37
37
|
|
|
38
38
|
```
|
|
39
39
|
|
|
@@ -58,7 +58,7 @@ The content component defines margin on headers. To regain the same spacing use,
|
|
|
58
58
|
|
|
59
59
|
| Class | Applied | Outcome |
|
|
60
60
|
| -- | -- | -- |
|
|
61
|
-
| `.pf-v6-c-title` |
|
|
61
|
+
| `.pf-v6-c-title` | `h1-h6` | Initiates a title. Always use it with a modifier class. |
|
|
62
62
|
| `.pf-m-4xl` | `.pf-v6-c-title` | Modifies for 4xl size |
|
|
63
63
|
| `.pf-m-3xl` | `.pf-v6-c-title` | Modifies for 3xl size |
|
|
64
64
|
| `.pf-m-2xl` | `.pf-v6-c-title` | Modifies for 2xl size |
|
|
@@ -589,7 +589,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
589
589
|
<div class="pf-v6-c-toolbar__group pf-m-toggle-group">
|
|
590
590
|
<div class="pf-v6-c-toolbar__toggle">
|
|
591
591
|
<button
|
|
592
|
-
class="pf-v6-c-menu-toggle pf-m-
|
|
592
|
+
class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
|
|
593
593
|
type="button"
|
|
594
594
|
aria-expanded="true"
|
|
595
595
|
aria-label="Show filters"
|
|
@@ -1196,7 +1196,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
1196
1196
|
<div class="pf-v6-c-toolbar__group pf-m-toggle-group">
|
|
1197
1197
|
<div class="pf-v6-c-toolbar__toggle">
|
|
1198
1198
|
<button
|
|
1199
|
-
class="pf-v6-c-menu-toggle pf-m-
|
|
1199
|
+
class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
|
|
1200
1200
|
type="button"
|
|
1201
1201
|
aria-expanded="true"
|
|
1202
1202
|
aria-label="Show filters"
|
|
@@ -1667,7 +1667,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
1667
1667
|
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
1668
1668
|
type="button"
|
|
1669
1669
|
aria-expanded="false"
|
|
1670
|
-
aria-label="
|
|
1670
|
+
aria-label="Toggle options"
|
|
1671
1671
|
id="toolbar-selected-filters-example-overflow-toggle"
|
|
1672
1672
|
>
|
|
1673
1673
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
@@ -1919,7 +1919,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
1919
1919
|
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
1920
1920
|
type="button"
|
|
1921
1921
|
aria-expanded="false"
|
|
1922
|
-
aria-label="
|
|
1922
|
+
aria-label="Toggle options"
|
|
1923
1923
|
id="toolbar-stacked-example-overflow-toggle"
|
|
1924
1924
|
>
|
|
1925
1925
|
<span class="pf-v6-c-menu-toggle__icon">
|
|
@@ -1972,7 +1972,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
1972
1972
|
<div class="pf-v6-c-pagination__total-items">37 items</div>
|
|
1973
1973
|
<div class="pf-v6-c-pagination__page-menu">
|
|
1974
1974
|
<button
|
|
1975
|
-
class="pf-v6-c-menu-toggle pf-m-
|
|
1975
|
+
class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
|
|
1976
1976
|
type="button"
|
|
1977
1977
|
aria-expanded="false"
|
|
1978
1978
|
aria-label="Menu toggle"
|
|
@@ -2071,7 +2071,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
2071
2071
|
<div class="pf-v6-c-toolbar__group pf-m-toggle-group">
|
|
2072
2072
|
<div class="pf-v6-c-toolbar__toggle">
|
|
2073
2073
|
<button
|
|
2074
|
-
class="pf-v6-c-menu-toggle pf-m-
|
|
2074
|
+
class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
|
|
2075
2075
|
type="button"
|
|
2076
2076
|
aria-expanded="true"
|
|
2077
2077
|
aria-label="Show filters"
|
|
@@ -2393,7 +2393,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
2393
2393
|
<div class="pf-v6-c-pagination__total-items">37 items</div>
|
|
2394
2394
|
<div class="pf-v6-c-pagination__page-menu">
|
|
2395
2395
|
<button
|
|
2396
|
-
class="pf-v6-c-menu-toggle pf-m-
|
|
2396
|
+
class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
|
|
2397
2397
|
type="button"
|
|
2398
2398
|
aria-expanded="false"
|
|
2399
2399
|
aria-label="Menu toggle"
|