@patternfly/patternfly 6.0.0-alpha.90 → 6.0.0-alpha.92
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/patternfly-common.css +10 -10
- package/base/patternfly-globals.css +3 -3
- package/base/patternfly-icons.css +1 -1
- package/base/patternfly-themes.css +53 -53
- package/base/patternfly-variables.css +236 -245
- package/base/tokens/_tokens-font.scss +0 -11
- package/components/AboutModalBox/about-modal-box.css +102 -102
- package/components/Accordion/accordion.css +118 -118
- package/components/ActionList/action-list.css +16 -16
- package/components/Alert/alert-group.css +50 -50
- package/components/Alert/alert.css +161 -161
- package/components/AppLauncher/app-launcher.css +167 -167
- package/components/Avatar/avatar.css +116 -116
- package/components/BackToTop/back-to-top.css +21 -21
- package/components/Backdrop/backdrop.css +9 -9
- package/components/BackgroundImage/background-image.css +15 -15
- package/components/Badge/badge.css +35 -35
- package/components/Banner/banner.css +114 -114
- package/components/Brand/brand.css +28 -28
- package/components/Breadcrumb/breadcrumb.css +62 -62
- package/components/Button/button.css +514 -514
- package/components/CalendarMonth/calendar-month.css +144 -144
- package/components/Card/card.css +230 -230
- package/components/Check/check.css +43 -43
- package/components/Chip/chip-group.css +60 -60
- package/components/Chip/chip.css +83 -83
- package/components/ClipboardCopy/clipboard-copy.css +71 -71
- package/components/CodeBlock/code-block.css +35 -35
- package/components/CodeEditor/code-editor.css +121 -121
- package/components/Content/content.css +216 -216
- package/components/ContextSelector/context-selector.css +251 -251
- package/components/DataList/data-list-grid.css +182 -182
- package/components/DataList/data-list.css +468 -468
- package/components/DatePicker/date-picker.css +35 -35
- package/components/DescriptionList/description-list-order.css +90 -90
- package/components/DescriptionList/description-list.css +193 -193
- package/components/Divider/divider.css +143 -143
- package/components/DragDrop/drag-drop.css +46 -46
- package/components/Drawer/drawer.css +474 -474
- package/components/Dropdown/dropdown.css +457 -457
- package/components/DualListSelector/dual-list-selector.css +199 -199
- package/components/EmptyState/empty-state.css +104 -104
- package/components/ExpandableSection/expandable-section.css +113 -113
- package/components/FileUpload/file-upload.css +32 -32
- package/components/Form/form.css +281 -281
- package/components/FormControl/form-control.css +197 -197
- package/components/HelperText/helper-text.css +51 -51
- package/components/Hint/hint.css +46 -46
- package/components/Icon/icon.css +218 -218
- package/components/InlineEdit/inline-edit.css +43 -43
- package/components/InputGroup/input-group.css +52 -52
- package/components/JumpLinks/jump-links.css +183 -183
- package/components/Label/label-group.css +86 -86
- package/components/Label/label.css +438 -438
- package/components/List/list.css +53 -53
- package/components/LogViewer/log-viewer.css +138 -138
- package/components/Login/login.css +139 -139
- package/components/Masthead/masthead.css +319 -319
- package/components/Menu/menu.css +415 -415
- package/components/MenuToggle/menu-toggle.css +275 -275
- package/components/ModalBox/modal-box.css +121 -121
- package/components/MultipleFileUpload/multiple-file-upload.css +163 -163
- package/components/Nav/nav.css +225 -225
- package/components/NotificationBadge/notification-badge.css +66 -66
- package/components/NotificationDrawer/notification-drawer.css +179 -179
- package/components/NumberInput/number-input.css +20 -20
- package/components/OptionsMenu/options-menu.css +190 -190
- package/components/OverflowMenu/overflow-menu.css +19 -19
- package/components/Page/page.css +598 -598
- package/components/Pagination/pagination.css +220 -220
- package/components/Panel/panel.css +72 -72
- package/components/Popover/popover.css +148 -148
- package/components/Progress/progress.css +80 -80
- package/components/ProgressStepper/progress-stepper.css +514 -514
- package/components/Radio/radio.css +44 -44
- package/components/Select/select.css +423 -423
- package/components/Sidebar/sidebar.css +166 -166
- package/components/SimpleList/simple-list.css +53 -53
- package/components/Skeleton/skeleton.css +112 -112
- package/components/SkipToContent/skip-to-content.css +8 -8
- package/components/Slider/slider.css +144 -144
- package/components/Spinner/spinner.css +36 -36
- package/components/Switch/switch.css +89 -89
- package/components/TabContent/tab-content.css +34 -34
- package/components/Table/table-grid.css +911 -911
- package/components/Table/table-scrollable.css +38 -38
- package/components/Table/table-tree-view.css +497 -497
- package/components/Table/table.css +660 -660
- package/components/Tabs/tabs.css +616 -616
- package/components/TextInputGroup/text-input-group.css +88 -88
- package/components/Tile/tile.css +68 -68
- package/components/Timestamp/timestamp.css +29 -29
- package/components/Title/title.css +87 -87
- package/components/ToggleGroup/toggle-group.css +86 -86
- package/components/Toolbar/toolbar.css +2279 -2279
- package/components/Tooltip/tooltip.css +85 -85
- package/components/TreeView/tree-view.css +363 -363
- package/components/Truncate/truncate.css +15 -15
- package/components/Wizard/wizard.css +272 -272
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +11 -11
- package/docs/components/Accordion/examples/Accordion.md +188 -188
- package/docs/components/ActionList/examples/ActionList.md +55 -55
- package/docs/components/Alert/examples/Alert.md +222 -222
- package/docs/components/AppLauncher/deprecated/application-launcher.md +146 -146
- package/docs/components/Avatar/examples/Avatar.md +6 -6
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +1 -1
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +2 -2
- package/docs/components/Badge/examples/Badge.md +17 -17
- package/docs/components/Banner/examples/Banner.md +42 -42
- package/docs/components/Brand/examples/Brand.md +4 -4
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +90 -90
- package/docs/components/Button/examples/Button.md +364 -364
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +436 -436
- package/docs/components/Card/examples/Card.md +515 -515
- package/docs/components/Check/examples/Check.md +37 -37
- package/docs/components/Chip/examples/Chip.md +216 -216
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +82 -82
- package/docs/components/CodeBlock/examples/CodeBlock.md +39 -39
- package/docs/components/CodeEditor/examples/CodeEditor.md +85 -85
- package/docs/components/Content/examples/Content.md +1 -1
- package/docs/components/ContextSelector/deprecated/context-selector.md +160 -160
- package/docs/components/DataList/examples/DataList.md +666 -666
- package/docs/components/DatePicker/examples/DatePicker.md +54 -54
- package/docs/components/DescriptionList/examples/DescriptionList.md +737 -737
- package/docs/components/Divider/examples/Divider.md +18 -18
- package/docs/components/DragDrop/examples/DragDrop.md +27 -27
- package/docs/components/Drawer/examples/Drawer.md +225 -225
- package/docs/components/Dropdown/deprecated/Dropdown.md +541 -541
- package/docs/components/DualListSelector/examples/DualListSelector.md +1012 -1012
- package/docs/components/EmptyState/examples/EmptyState.md +100 -100
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +47 -47
- package/docs/components/FileUpload/examples/FileUpload.md +94 -94
- package/docs/components/Form/examples/Form.md +226 -226
- package/docs/components/FormControl/examples/FormControl.md +65 -65
- package/docs/components/HelperText/examples/HelperText.md +72 -72
- package/docs/components/Hint/examples/Hint.md +44 -44
- package/docs/components/Icon/examples/Icon.md +85 -85
- package/docs/components/InlineEdit/examples/InlineEdit.md +209 -209
- package/docs/components/InputGroup/examples/InputGroup.md +73 -73
- package/docs/components/JumpLinks/examples/JumpLinks.md +285 -285
- package/docs/components/Label/examples/Label.md +1717 -1717
- package/docs/components/List/examples/List.md +30 -30
- package/docs/components/LogViewer/examples/LogViewer.md +1785 -1785
- package/docs/components/Login/examples/Login.md +287 -287
- package/docs/components/Masthead/examples/masthead.md +39 -39
- package/docs/components/Menu/examples/Menu.md +2377 -2377
- package/docs/components/MenuToggle/examples/MenuToggle.md +242 -242
- package/docs/components/ModalBox/examples/ModalBox.md +119 -119
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +192 -192
- package/docs/components/Nav/examples/Navigation.md +856 -856
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +42 -42
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +659 -659
- package/docs/components/NumberInput/examples/NumberInput.md +127 -127
- package/docs/components/OptionsMenu/deprecated/options-menu.md +178 -178
- package/docs/components/OverflowMenu/examples/overflow-menu.md +97 -97
- package/docs/components/Page/deprecated/PageHeader.md +85 -85
- package/docs/components/Page/examples/Page.md +90 -90
- package/docs/components/Pagination/examples/Pagination.md +285 -285
- package/docs/components/Panel/examples/Panel.md +38 -38
- package/docs/components/Popover/examples/Popover.md +169 -169
- package/docs/components/Progress/examples/Progress.md +145 -145
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +295 -295
- package/docs/components/Radio/examples/Radio.md +33 -33
- package/docs/components/Select/deprecated/Select.md +736 -736
- package/docs/components/Sidebar/examples/Sidebar.md +65 -65
- package/docs/components/SimpleList/examples/SimpleList.md +39 -39
- package/docs/components/Skeleton/examples/Skeleton.md +29 -29
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -3
- package/docs/components/Slider/examples/Slider.md +213 -213
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +58 -58
- package/docs/components/TabContent/examples/TabContent.md +24 -24
- package/docs/components/Table/examples/Table.md +6982 -6982
- package/docs/components/Tabs/examples/Tabs.md +2114 -2114
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +373 -373
- package/docs/components/Tile/examples/Tile.md +131 -131
- package/docs/components/Timestamp/examples/Timestamp.md +10 -10
- package/docs/components/Title/examples/Title.md +12 -12
- package/docs/components/ToggleGroup/examples/toggle-group.md +116 -116
- package/docs/components/Toolbar/examples/Toolbar.md +611 -611
- package/docs/components/Tooltip/examples/Tooltip.md +27 -27
- package/docs/components/TreeView/examples/TreeView.md +1166 -1166
- package/docs/components/Truncate/examples/Truncate.md +7 -7
- package/docs/components/Wizard/examples/Wizard.md +522 -522
- package/docs/demos/AboutModal/examples/AboutModal.md +106 -106
- package/docs/demos/Alert/examples/Alert.md +391 -391
- package/docs/demos/BackToTop/examples/BackToTop.md +175 -175
- package/docs/demos/Banner/examples/Banner.md +364 -364
- package/docs/demos/Button/examples/Button.md +50 -50
- package/docs/demos/Card/examples/Card.md +1054 -1054
- package/docs/demos/CardView/examples/CardView.md +378 -378
- package/docs/demos/ContextSelector/examples/ContextSelector.md +449 -449
- package/docs/demos/Dashboard/examples/Dashboard.md +541 -541
- package/docs/demos/DataList/examples/DataList.md +1148 -1148
- package/docs/demos/DescriptionList/examples/DescriptionList.md +544 -544
- package/docs/demos/Drawer/examples/Drawer.md +531 -531
- package/docs/demos/Form/examples/BasicForms.md +444 -444
- package/docs/demos/HelperText/examples/HelperText.md +51 -51
- package/docs/demos/JumpLinks/examples/JumpLinks.md +596 -596
- package/docs/demos/Masthead/examples/Masthead.md +763 -763
- package/docs/demos/Modal/examples/Modal.md +645 -645
- package/docs/demos/Nav/examples/Nav.md +649 -649
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1570 -1570
- package/docs/demos/Page/examples/Page.md +1330 -1330
- package/docs/demos/Page/examples/Penta.md +217 -217
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +23 -23
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +108 -108
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1890 -1890
- package/docs/demos/Skeleton/examples/Skeleton.md +176 -176
- package/docs/demos/Table/examples/Table.md +4580 -4580
- package/docs/demos/Tabs/examples/Tabs.md +1040 -1040
- package/docs/demos/Toolbar/examples/Toolbar.md +961 -961
- package/docs/demos/Wizard/examples/Wizard.md +1574 -1574
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -2
- package/docs/layouts/Flex/examples/Flex.md +290 -290
- package/docs/layouts/Gallery/examples/Gallery.md +48 -48
- package/docs/layouts/Grid/examples/Grid.md +121 -121
- package/docs/layouts/Level/examples/Level.md +11 -11
- package/docs/layouts/Split/examples/Split.md +23 -23
- package/docs/layouts/Stack/examples/Stack.md +8 -8
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -3
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/Display/examples/Display.md +16 -16
- package/docs/utilities/Flex/examples/Flex.md +53 -53
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +16 -16
- package/layouts/Bullseye/bullseye.css +3 -3
- package/layouts/Flex/flex.css +1276 -1276
- package/layouts/Gallery/gallery.css +34 -34
- package/layouts/Grid/grid.css +531 -531
- package/layouts/Level/level.css +4 -4
- package/layouts/Split/split.css +6 -6
- package/layouts/Stack/stack.css +5 -5
- package/package.json +5 -5
- package/patternfly-addons.css +2989 -2989
- package/patternfly-base-no-globals-theme-dark-unversioned.css +269 -278
- package/patternfly-base-no-globals.css +284 -293
- package/patternfly-base-theme-dark-unversioned.css +271 -280
- package/patternfly-base.css +286 -295
- package/patternfly-charts-theme-dark-unversioned.css +66 -66
- package/patternfly-charts-theme-dark.css +66 -66
- package/patternfly-charts.css +320 -320
- package/patternfly-no-globals.css +20217 -20226
- package/patternfly-theme-dark-unversioned.css +20209 -20218
- package/patternfly.css +20219 -20228
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +1 -1
- package/utilities/Accessibility/accessibility.css +18 -18
- package/utilities/Alignment/alignment.css +24 -24
- package/utilities/BackgroundColor/BackgroundColor.css +252 -252
- package/utilities/BoxShadow/box-shadow.css +42 -42
- package/utilities/Display/display.css +54 -54
- package/utilities/Flex/flex.css +228 -228
- package/utilities/Float/float.css +12 -12
- package/utilities/Sizing/sizing.css +216 -216
- package/utilities/Spacing/spacing.css +1512 -1512
- package/utilities/Text/text.css +631 -631
|
@@ -11,54 +11,54 @@ deprecated: true
|
|
|
11
11
|
### Single select
|
|
12
12
|
|
|
13
13
|
```html
|
|
14
|
-
<div class="pf-
|
|
14
|
+
<div class="pf-v6-c-select">
|
|
15
15
|
<span id="select-single-label" hidden>Choose one</span>
|
|
16
16
|
|
|
17
17
|
<button
|
|
18
|
-
class="pf-
|
|
18
|
+
class="pf-v6-c-select__toggle"
|
|
19
19
|
type="button"
|
|
20
20
|
id="select-single-toggle"
|
|
21
21
|
aria-haspopup="true"
|
|
22
22
|
aria-expanded="false"
|
|
23
23
|
aria-labelledby="select-single-label select-single-toggle"
|
|
24
24
|
>
|
|
25
|
-
<div class="pf-
|
|
26
|
-
<span class="pf-
|
|
25
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
26
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
27
27
|
</div>
|
|
28
|
-
<span class="pf-
|
|
28
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
29
29
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
30
30
|
</span>
|
|
31
31
|
</button>
|
|
32
32
|
|
|
33
33
|
<ul
|
|
34
|
-
class="pf-
|
|
34
|
+
class="pf-v6-c-select__menu"
|
|
35
35
|
role="listbox"
|
|
36
36
|
aria-labelledby="select-single-label"
|
|
37
37
|
hidden
|
|
38
38
|
>
|
|
39
39
|
<li role="presentation">
|
|
40
|
-
<button class="pf-
|
|
40
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
41
41
|
</li>
|
|
42
42
|
<li role="presentation">
|
|
43
43
|
<button
|
|
44
|
-
class="pf-
|
|
44
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
45
45
|
role="option"
|
|
46
46
|
aria-selected="true"
|
|
47
47
|
>
|
|
48
48
|
Stopped
|
|
49
|
-
<span class="pf-
|
|
49
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
50
50
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
51
51
|
</span>
|
|
52
52
|
</button>
|
|
53
53
|
</li>
|
|
54
54
|
<li role="presentation">
|
|
55
|
-
<button class="pf-
|
|
55
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
56
56
|
</li>
|
|
57
57
|
<li role="presentation">
|
|
58
|
-
<button class="pf-
|
|
58
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
59
59
|
</li>
|
|
60
60
|
<li role="presentation">
|
|
61
|
-
<button class="pf-
|
|
61
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
62
62
|
</li>
|
|
63
63
|
</ul>
|
|
64
64
|
</div>
|
|
@@ -68,53 +68,53 @@ deprecated: true
|
|
|
68
68
|
### Single expanded
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
|
-
<div class="pf-
|
|
71
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
72
72
|
<span id="select-single-expanded-label" hidden>Choose one</span>
|
|
73
73
|
|
|
74
74
|
<button
|
|
75
|
-
class="pf-
|
|
75
|
+
class="pf-v6-c-select__toggle"
|
|
76
76
|
type="button"
|
|
77
77
|
id="select-single-expanded-toggle"
|
|
78
78
|
aria-haspopup="true"
|
|
79
79
|
aria-expanded="true"
|
|
80
80
|
aria-labelledby="select-single-expanded-label select-single-expanded-toggle"
|
|
81
81
|
>
|
|
82
|
-
<div class="pf-
|
|
83
|
-
<span class="pf-
|
|
82
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
83
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
84
84
|
</div>
|
|
85
|
-
<span class="pf-
|
|
85
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
86
86
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
87
87
|
</span>
|
|
88
88
|
</button>
|
|
89
89
|
|
|
90
90
|
<ul
|
|
91
|
-
class="pf-
|
|
91
|
+
class="pf-v6-c-select__menu"
|
|
92
92
|
role="listbox"
|
|
93
93
|
aria-labelledby="select-single-expanded-label"
|
|
94
94
|
>
|
|
95
95
|
<li role="presentation">
|
|
96
|
-
<button class="pf-
|
|
96
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
97
97
|
</li>
|
|
98
98
|
<li role="presentation">
|
|
99
99
|
<button
|
|
100
|
-
class="pf-
|
|
100
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
101
101
|
role="option"
|
|
102
102
|
aria-selected="true"
|
|
103
103
|
>
|
|
104
104
|
Stopped
|
|
105
|
-
<span class="pf-
|
|
105
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
106
106
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
107
107
|
</span>
|
|
108
108
|
</button>
|
|
109
109
|
</li>
|
|
110
110
|
<li role="presentation">
|
|
111
|
-
<button class="pf-
|
|
111
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
112
112
|
</li>
|
|
113
113
|
<li role="presentation">
|
|
114
|
-
<button class="pf-
|
|
114
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
115
115
|
</li>
|
|
116
116
|
<li role="presentation">
|
|
117
|
-
<button class="pf-
|
|
117
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
118
118
|
</li>
|
|
119
119
|
</ul>
|
|
120
120
|
</div>
|
|
@@ -124,53 +124,53 @@ deprecated: true
|
|
|
124
124
|
### Single with top expanded
|
|
125
125
|
|
|
126
126
|
```html
|
|
127
|
-
<div class="pf-
|
|
127
|
+
<div class="pf-v6-c-select pf-m-expanded pf-m-top">
|
|
128
128
|
<span id="select-single-top-expanded-label" hidden>Choose one</span>
|
|
129
129
|
|
|
130
130
|
<button
|
|
131
|
-
class="pf-
|
|
131
|
+
class="pf-v6-c-select__toggle"
|
|
132
132
|
type="button"
|
|
133
133
|
id="select-single-top-expanded-toggle"
|
|
134
134
|
aria-haspopup="true"
|
|
135
135
|
aria-expanded="true"
|
|
136
136
|
aria-labelledby="select-single-top-expanded-label select-single-top-expanded-toggle"
|
|
137
137
|
>
|
|
138
|
-
<div class="pf-
|
|
139
|
-
<span class="pf-
|
|
138
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
139
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
140
140
|
</div>
|
|
141
|
-
<span class="pf-
|
|
141
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
142
142
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
143
143
|
</span>
|
|
144
144
|
</button>
|
|
145
145
|
|
|
146
146
|
<ul
|
|
147
|
-
class="pf-
|
|
147
|
+
class="pf-v6-c-select__menu"
|
|
148
148
|
role="listbox"
|
|
149
149
|
aria-labelledby="select-single-top-expanded-label"
|
|
150
150
|
>
|
|
151
151
|
<li role="presentation">
|
|
152
|
-
<button class="pf-
|
|
152
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
153
153
|
</li>
|
|
154
154
|
<li role="presentation">
|
|
155
155
|
<button
|
|
156
|
-
class="pf-
|
|
156
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
157
157
|
role="option"
|
|
158
158
|
aria-selected="true"
|
|
159
159
|
>
|
|
160
160
|
Stopped
|
|
161
|
-
<span class="pf-
|
|
161
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
162
162
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
163
163
|
</span>
|
|
164
164
|
</button>
|
|
165
165
|
</li>
|
|
166
166
|
<li role="presentation">
|
|
167
|
-
<button class="pf-
|
|
167
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
168
168
|
</li>
|
|
169
169
|
<li role="presentation">
|
|
170
|
-
<button class="pf-
|
|
170
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
171
171
|
</li>
|
|
172
172
|
<li role="presentation">
|
|
173
|
-
<button class="pf-
|
|
173
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
174
174
|
</li>
|
|
175
175
|
</ul>
|
|
176
176
|
</div>
|
|
@@ -180,53 +180,53 @@ deprecated: true
|
|
|
180
180
|
### Single expanded and selected
|
|
181
181
|
|
|
182
182
|
```html
|
|
183
|
-
<div class="pf-
|
|
183
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
184
184
|
<span id="select-single-expanded-selected-label" hidden>Choose one</span>
|
|
185
185
|
|
|
186
186
|
<button
|
|
187
|
-
class="pf-
|
|
187
|
+
class="pf-v6-c-select__toggle"
|
|
188
188
|
type="button"
|
|
189
189
|
id="select-single-expanded-selected-toggle"
|
|
190
190
|
aria-haspopup="true"
|
|
191
191
|
aria-expanded="true"
|
|
192
192
|
aria-labelledby="select-single-expanded-selected-label select-single-expanded-selected-toggle"
|
|
193
193
|
>
|
|
194
|
-
<div class="pf-
|
|
195
|
-
<span class="pf-
|
|
194
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
195
|
+
<span class="pf-v6-c-select__toggle-text">April</span>
|
|
196
196
|
</div>
|
|
197
|
-
<span class="pf-
|
|
197
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
198
198
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
199
199
|
</span>
|
|
200
200
|
</button>
|
|
201
201
|
|
|
202
202
|
<ul
|
|
203
|
-
class="pf-
|
|
203
|
+
class="pf-v6-c-select__menu"
|
|
204
204
|
role="listbox"
|
|
205
205
|
aria-labelledby="select-single-expanded-selected-label"
|
|
206
206
|
>
|
|
207
207
|
<li role="presentation">
|
|
208
|
-
<button class="pf-
|
|
208
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
209
209
|
</li>
|
|
210
210
|
<li role="presentation">
|
|
211
211
|
<button
|
|
212
|
-
class="pf-
|
|
212
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
213
213
|
role="option"
|
|
214
214
|
aria-selected="true"
|
|
215
215
|
>
|
|
216
216
|
Stopped
|
|
217
|
-
<span class="pf-
|
|
217
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
218
218
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
219
219
|
</span>
|
|
220
220
|
</button>
|
|
221
221
|
</li>
|
|
222
222
|
<li role="presentation">
|
|
223
|
-
<button class="pf-
|
|
223
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
224
224
|
</li>
|
|
225
225
|
<li role="presentation">
|
|
226
|
-
<button class="pf-
|
|
226
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
227
227
|
</li>
|
|
228
228
|
<li role="presentation">
|
|
229
|
-
<button class="pf-
|
|
229
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
230
230
|
</li>
|
|
231
231
|
</ul>
|
|
232
232
|
</div>
|
|
@@ -256,11 +256,11 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
256
256
|
### Disabled
|
|
257
257
|
|
|
258
258
|
```html
|
|
259
|
-
<div class="pf-
|
|
259
|
+
<div class="pf-v6-c-select">
|
|
260
260
|
<span id="select-disabled-label" hidden>Choose one</span>
|
|
261
261
|
|
|
262
262
|
<button
|
|
263
|
-
class="pf-
|
|
263
|
+
class="pf-v6-c-select__toggle"
|
|
264
264
|
type="button"
|
|
265
265
|
id="select-disabled-toggle"
|
|
266
266
|
aria-haspopup="true"
|
|
@@ -268,43 +268,43 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
268
268
|
aria-labelledby="select-disabled-label select-disabled-toggle"
|
|
269
269
|
disabled
|
|
270
270
|
>
|
|
271
|
-
<div class="pf-
|
|
272
|
-
<span class="pf-
|
|
271
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
272
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
273
273
|
</div>
|
|
274
|
-
<span class="pf-
|
|
274
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
275
275
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
276
276
|
</span>
|
|
277
277
|
</button>
|
|
278
278
|
|
|
279
279
|
<ul
|
|
280
|
-
class="pf-
|
|
280
|
+
class="pf-v6-c-select__menu"
|
|
281
281
|
role="listbox"
|
|
282
282
|
aria-labelledby="select-disabled-label"
|
|
283
283
|
hidden
|
|
284
284
|
>
|
|
285
285
|
<li role="presentation">
|
|
286
|
-
<button class="pf-
|
|
286
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
287
287
|
</li>
|
|
288
288
|
<li role="presentation">
|
|
289
289
|
<button
|
|
290
|
-
class="pf-
|
|
290
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
291
291
|
role="option"
|
|
292
292
|
aria-selected="true"
|
|
293
293
|
>
|
|
294
294
|
Stopped
|
|
295
|
-
<span class="pf-
|
|
295
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
296
296
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
297
297
|
</span>
|
|
298
298
|
</button>
|
|
299
299
|
</li>
|
|
300
300
|
<li role="presentation">
|
|
301
|
-
<button class="pf-
|
|
301
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
302
302
|
</li>
|
|
303
303
|
<li role="presentation">
|
|
304
|
-
<button class="pf-
|
|
304
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
305
305
|
</li>
|
|
306
306
|
<li role="presentation">
|
|
307
|
-
<button class="pf-
|
|
307
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
308
308
|
</li>
|
|
309
309
|
</ul>
|
|
310
310
|
</div>
|
|
@@ -314,57 +314,57 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
314
314
|
### Success
|
|
315
315
|
|
|
316
316
|
```html
|
|
317
|
-
<div class="pf-
|
|
317
|
+
<div class="pf-v6-c-select pf-m-success">
|
|
318
318
|
<span id="select-success-label" hidden>Choose one</span>
|
|
319
319
|
|
|
320
320
|
<button
|
|
321
|
-
class="pf-
|
|
321
|
+
class="pf-v6-c-select__toggle"
|
|
322
322
|
type="button"
|
|
323
323
|
id="select-success-toggle"
|
|
324
324
|
aria-haspopup="true"
|
|
325
325
|
aria-expanded="false"
|
|
326
326
|
aria-labelledby="select-success-label select-success-toggle"
|
|
327
327
|
>
|
|
328
|
-
<div class="pf-
|
|
329
|
-
<span class="pf-
|
|
328
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
329
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
330
330
|
</div>
|
|
331
|
-
<span class="pf-
|
|
331
|
+
<span class="pf-v6-c-select__toggle-status-icon">
|
|
332
332
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
333
333
|
</span>
|
|
334
|
-
<span class="pf-
|
|
334
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
335
335
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
336
336
|
</span>
|
|
337
337
|
</button>
|
|
338
338
|
|
|
339
339
|
<ul
|
|
340
|
-
class="pf-
|
|
340
|
+
class="pf-v6-c-select__menu"
|
|
341
341
|
role="listbox"
|
|
342
342
|
aria-labelledby="select-success-label"
|
|
343
343
|
hidden
|
|
344
344
|
>
|
|
345
345
|
<li role="presentation">
|
|
346
|
-
<button class="pf-
|
|
346
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
347
347
|
</li>
|
|
348
348
|
<li role="presentation">
|
|
349
349
|
<button
|
|
350
|
-
class="pf-
|
|
350
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
351
351
|
role="option"
|
|
352
352
|
aria-selected="true"
|
|
353
353
|
>
|
|
354
354
|
Stopped
|
|
355
|
-
<span class="pf-
|
|
355
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
356
356
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
357
357
|
</span>
|
|
358
358
|
</button>
|
|
359
359
|
</li>
|
|
360
360
|
<li role="presentation">
|
|
361
|
-
<button class="pf-
|
|
361
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
362
362
|
</li>
|
|
363
363
|
<li role="presentation">
|
|
364
|
-
<button class="pf-
|
|
364
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
365
365
|
</li>
|
|
366
366
|
<li role="presentation">
|
|
367
|
-
<button class="pf-
|
|
367
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
368
368
|
</li>
|
|
369
369
|
</ul>
|
|
370
370
|
</div>
|
|
@@ -374,57 +374,57 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
374
374
|
### Warning
|
|
375
375
|
|
|
376
376
|
```html
|
|
377
|
-
<div class="pf-
|
|
377
|
+
<div class="pf-v6-c-select pf-m-warning">
|
|
378
378
|
<span id="select-warning-label" hidden>Choose one</span>
|
|
379
379
|
|
|
380
380
|
<button
|
|
381
|
-
class="pf-
|
|
381
|
+
class="pf-v6-c-select__toggle"
|
|
382
382
|
type="button"
|
|
383
383
|
id="select-warning-toggle"
|
|
384
384
|
aria-haspopup="true"
|
|
385
385
|
aria-expanded="false"
|
|
386
386
|
aria-labelledby="select-warning-label select-warning-toggle"
|
|
387
387
|
>
|
|
388
|
-
<div class="pf-
|
|
389
|
-
<span class="pf-
|
|
388
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
389
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
390
390
|
</div>
|
|
391
|
-
<span class="pf-
|
|
391
|
+
<span class="pf-v6-c-select__toggle-status-icon">
|
|
392
392
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
393
393
|
</span>
|
|
394
|
-
<span class="pf-
|
|
394
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
395
395
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
396
396
|
</span>
|
|
397
397
|
</button>
|
|
398
398
|
|
|
399
399
|
<ul
|
|
400
|
-
class="pf-
|
|
400
|
+
class="pf-v6-c-select__menu"
|
|
401
401
|
role="listbox"
|
|
402
402
|
aria-labelledby="select-warning-label"
|
|
403
403
|
hidden
|
|
404
404
|
>
|
|
405
405
|
<li role="presentation">
|
|
406
|
-
<button class="pf-
|
|
406
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
407
407
|
</li>
|
|
408
408
|
<li role="presentation">
|
|
409
409
|
<button
|
|
410
|
-
class="pf-
|
|
410
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
411
411
|
role="option"
|
|
412
412
|
aria-selected="true"
|
|
413
413
|
>
|
|
414
414
|
Stopped
|
|
415
|
-
<span class="pf-
|
|
415
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
416
416
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
417
417
|
</span>
|
|
418
418
|
</button>
|
|
419
419
|
</li>
|
|
420
420
|
<li role="presentation">
|
|
421
|
-
<button class="pf-
|
|
421
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
422
422
|
</li>
|
|
423
423
|
<li role="presentation">
|
|
424
|
-
<button class="pf-
|
|
424
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
425
425
|
</li>
|
|
426
426
|
<li role="presentation">
|
|
427
|
-
<button class="pf-
|
|
427
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
428
428
|
</li>
|
|
429
429
|
</ul>
|
|
430
430
|
</div>
|
|
@@ -434,11 +434,11 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
434
434
|
### Invalid
|
|
435
435
|
|
|
436
436
|
```html
|
|
437
|
-
<div class="pf-
|
|
437
|
+
<div class="pf-v6-c-select pf-m-invalid">
|
|
438
438
|
<span id="select-invalid-label" hidden>Choose one</span>
|
|
439
439
|
|
|
440
440
|
<button
|
|
441
|
-
class="pf-
|
|
441
|
+
class="pf-v6-c-select__toggle"
|
|
442
442
|
type="button"
|
|
443
443
|
id="select-invalid-toggle"
|
|
444
444
|
aria-haspopup="true"
|
|
@@ -446,46 +446,46 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
446
446
|
aria-labelledby="select-invalid-label select-invalid-toggle"
|
|
447
447
|
aria-invalid="true"
|
|
448
448
|
>
|
|
449
|
-
<div class="pf-
|
|
450
|
-
<span class="pf-
|
|
449
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
450
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
451
451
|
</div>
|
|
452
|
-
<span class="pf-
|
|
452
|
+
<span class="pf-v6-c-select__toggle-status-icon">
|
|
453
453
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
454
454
|
</span>
|
|
455
|
-
<span class="pf-
|
|
455
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
456
456
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
457
457
|
</span>
|
|
458
458
|
</button>
|
|
459
459
|
|
|
460
460
|
<ul
|
|
461
|
-
class="pf-
|
|
461
|
+
class="pf-v6-c-select__menu"
|
|
462
462
|
role="listbox"
|
|
463
463
|
aria-labelledby="select-invalid-label"
|
|
464
464
|
hidden
|
|
465
465
|
>
|
|
466
466
|
<li role="presentation">
|
|
467
|
-
<button class="pf-
|
|
467
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
468
468
|
</li>
|
|
469
469
|
<li role="presentation">
|
|
470
470
|
<button
|
|
471
|
-
class="pf-
|
|
471
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
472
472
|
role="option"
|
|
473
473
|
aria-selected="true"
|
|
474
474
|
>
|
|
475
475
|
Stopped
|
|
476
|
-
<span class="pf-
|
|
476
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
477
477
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
478
478
|
</span>
|
|
479
479
|
</button>
|
|
480
480
|
</li>
|
|
481
481
|
<li role="presentation">
|
|
482
|
-
<button class="pf-
|
|
482
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
483
483
|
</li>
|
|
484
484
|
<li role="presentation">
|
|
485
|
-
<button class="pf-
|
|
485
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
486
486
|
</li>
|
|
487
487
|
<li role="presentation">
|
|
488
|
-
<button class="pf-
|
|
488
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
489
489
|
</li>
|
|
490
490
|
</ul>
|
|
491
491
|
</div>
|
|
@@ -523,12 +523,12 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
523
523
|
### Single with typeahead
|
|
524
524
|
|
|
525
525
|
```html
|
|
526
|
-
<div class="pf-
|
|
526
|
+
<div class="pf-v6-c-select">
|
|
527
527
|
<span id="select-single-typeahead-label" hidden>Choose a state</span>
|
|
528
528
|
|
|
529
|
-
<div class="pf-
|
|
530
|
-
<div class="pf-
|
|
531
|
-
<span class="pf-
|
|
529
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
530
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
531
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
532
532
|
<input
|
|
533
533
|
type="text"
|
|
534
534
|
id="select-single-typeahead-typeahead"
|
|
@@ -539,7 +539,7 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
539
539
|
</span>
|
|
540
540
|
</div>
|
|
541
541
|
<button
|
|
542
|
-
class="pf-
|
|
542
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
543
543
|
type="button"
|
|
544
544
|
id="select-single-typeahead-toggle"
|
|
545
545
|
aria-haspopup="true"
|
|
@@ -548,51 +548,51 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
548
548
|
aria-label="Select"
|
|
549
549
|
>
|
|
550
550
|
<i
|
|
551
|
-
class="fas fa-caret-down pf-
|
|
551
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
552
552
|
aria-hidden="true"
|
|
553
553
|
></i>
|
|
554
554
|
</button>
|
|
555
555
|
</div>
|
|
556
556
|
|
|
557
557
|
<ul
|
|
558
|
-
class="pf-
|
|
558
|
+
class="pf-v6-c-select__menu"
|
|
559
559
|
aria-labelledby="select-single-typeahead-label"
|
|
560
560
|
role="listbox"
|
|
561
561
|
hidden
|
|
562
562
|
>
|
|
563
563
|
<li role="presentation">
|
|
564
|
-
<button class="pf-
|
|
564
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
565
565
|
</li>
|
|
566
566
|
<li role="presentation">
|
|
567
|
-
<button class="pf-
|
|
567
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
568
568
|
</li>
|
|
569
569
|
<li role="presentation">
|
|
570
|
-
<button class="pf-
|
|
570
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
571
571
|
New
|
|
572
572
|
Jersey
|
|
573
573
|
</button>
|
|
574
574
|
</li>
|
|
575
575
|
<li role="presentation">
|
|
576
576
|
<button
|
|
577
|
-
class="pf-
|
|
577
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
578
578
|
role="option"
|
|
579
579
|
aria-selected="true"
|
|
580
580
|
>
|
|
581
581
|
New
|
|
582
582
|
Mexico
|
|
583
|
-
<span class="pf-
|
|
583
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
584
584
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
585
585
|
</span>
|
|
586
586
|
</button>
|
|
587
587
|
</li>
|
|
588
588
|
<li role="presentation">
|
|
589
|
-
<button class="pf-
|
|
589
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
590
590
|
New
|
|
591
591
|
York
|
|
592
592
|
</button>
|
|
593
593
|
</li>
|
|
594
594
|
<li role="presentation">
|
|
595
|
-
<button class="pf-
|
|
595
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
596
596
|
</li>
|
|
597
597
|
</ul>
|
|
598
598
|
</div>
|
|
@@ -602,12 +602,12 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
602
602
|
### Single with typeahead expanded
|
|
603
603
|
|
|
604
604
|
```html
|
|
605
|
-
<div class="pf-
|
|
605
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
606
606
|
<span id="select-single-typeahead-expanded-label" hidden>Choose a state</span>
|
|
607
607
|
|
|
608
|
-
<div class="pf-
|
|
609
|
-
<div class="pf-
|
|
610
|
-
<span class="pf-
|
|
608
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
609
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
610
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
611
611
|
<input
|
|
612
612
|
type="text"
|
|
613
613
|
id="select-single-typeahead-expanded-typeahead"
|
|
@@ -618,14 +618,14 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
618
618
|
</span>
|
|
619
619
|
</div>
|
|
620
620
|
<button
|
|
621
|
-
class="pf-
|
|
621
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-clear"
|
|
622
622
|
type="button"
|
|
623
623
|
aria-label="Clear all"
|
|
624
624
|
>
|
|
625
625
|
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
626
626
|
</button>
|
|
627
627
|
<button
|
|
628
|
-
class="pf-
|
|
628
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
629
629
|
type="button"
|
|
630
630
|
id="select-single-typeahead-expanded-toggle"
|
|
631
631
|
aria-haspopup="true"
|
|
@@ -634,39 +634,39 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
634
634
|
aria-label="Select"
|
|
635
635
|
>
|
|
636
636
|
<i
|
|
637
|
-
class="fas fa-caret-down pf-
|
|
637
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
638
638
|
aria-hidden="true"
|
|
639
639
|
></i>
|
|
640
640
|
</button>
|
|
641
641
|
</div>
|
|
642
642
|
|
|
643
643
|
<ul
|
|
644
|
-
class="pf-
|
|
644
|
+
class="pf-v6-c-select__menu"
|
|
645
645
|
aria-labelledby="select-single-typeahead-expanded-label"
|
|
646
646
|
role="listbox"
|
|
647
647
|
>
|
|
648
648
|
<li role="presentation">
|
|
649
|
-
<button class="pf-
|
|
650
|
-
<mark class="pf-
|
|
649
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
650
|
+
<mark class="pf-v6-c-select__menu-item--match">New</mark>
|
|
651
651
|
Jersey
|
|
652
652
|
</button>
|
|
653
653
|
</li>
|
|
654
654
|
<li role="presentation">
|
|
655
655
|
<button
|
|
656
|
-
class="pf-
|
|
656
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
657
657
|
role="option"
|
|
658
658
|
aria-selected="true"
|
|
659
659
|
>
|
|
660
|
-
<mark class="pf-
|
|
660
|
+
<mark class="pf-v6-c-select__menu-item--match">New</mark>
|
|
661
661
|
Mexico
|
|
662
|
-
<span class="pf-
|
|
662
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
663
663
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
664
664
|
</span>
|
|
665
665
|
</button>
|
|
666
666
|
</li>
|
|
667
667
|
<li role="presentation">
|
|
668
|
-
<button class="pf-
|
|
669
|
-
<mark class="pf-
|
|
668
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
669
|
+
<mark class="pf-v6-c-select__menu-item--match">New</mark>
|
|
670
670
|
York
|
|
671
671
|
</button>
|
|
672
672
|
</li>
|
|
@@ -678,15 +678,15 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
678
678
|
### Single with typeahead expanded and selected
|
|
679
679
|
|
|
680
680
|
```html
|
|
681
|
-
<div class="pf-
|
|
681
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
682
682
|
<span
|
|
683
683
|
id="select-single-typeahead-expanded-selected-label"
|
|
684
684
|
hidden
|
|
685
685
|
>Choose a state</span>
|
|
686
686
|
|
|
687
|
-
<div class="pf-
|
|
688
|
-
<div class="pf-
|
|
689
|
-
<span class="pf-
|
|
687
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
688
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
689
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
690
690
|
<input
|
|
691
691
|
type="text"
|
|
692
692
|
id="select-single-typeahead-expanded-selected-typeahead"
|
|
@@ -697,14 +697,14 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
697
697
|
</span>
|
|
698
698
|
</div>
|
|
699
699
|
<button
|
|
700
|
-
class="pf-
|
|
700
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-clear"
|
|
701
701
|
type="button"
|
|
702
702
|
aria-label="Clear all"
|
|
703
703
|
>
|
|
704
704
|
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
705
705
|
</button>
|
|
706
706
|
<button
|
|
707
|
-
class="pf-
|
|
707
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
708
708
|
type="button"
|
|
709
709
|
id="select-single-typeahead-expanded-selected-toggle"
|
|
710
710
|
aria-haspopup="true"
|
|
@@ -713,50 +713,50 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
713
713
|
aria-label="Select"
|
|
714
714
|
>
|
|
715
715
|
<i
|
|
716
|
-
class="fas fa-caret-down pf-
|
|
716
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
717
717
|
aria-hidden="true"
|
|
718
718
|
></i>
|
|
719
719
|
</button>
|
|
720
720
|
</div>
|
|
721
721
|
|
|
722
722
|
<ul
|
|
723
|
-
class="pf-
|
|
723
|
+
class="pf-v6-c-select__menu"
|
|
724
724
|
aria-labelledby="select-single-typeahead-expanded-selected-label"
|
|
725
725
|
role="listbox"
|
|
726
726
|
>
|
|
727
727
|
<li role="presentation">
|
|
728
|
-
<button class="pf-
|
|
728
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
729
729
|
</li>
|
|
730
730
|
<li role="presentation">
|
|
731
|
-
<button class="pf-
|
|
731
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
732
732
|
</li>
|
|
733
733
|
<li role="presentation">
|
|
734
|
-
<button class="pf-
|
|
734
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
735
735
|
New
|
|
736
736
|
Jersey
|
|
737
737
|
</button>
|
|
738
738
|
</li>
|
|
739
739
|
<li role="presentation">
|
|
740
740
|
<button
|
|
741
|
-
class="pf-
|
|
741
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
742
742
|
role="option"
|
|
743
743
|
aria-selected="true"
|
|
744
744
|
>
|
|
745
745
|
New
|
|
746
746
|
Mexico
|
|
747
|
-
<span class="pf-
|
|
747
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
748
748
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
749
749
|
</span>
|
|
750
750
|
</button>
|
|
751
751
|
</li>
|
|
752
752
|
<li role="presentation">
|
|
753
|
-
<button class="pf-
|
|
753
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
754
754
|
New
|
|
755
755
|
York
|
|
756
756
|
</button>
|
|
757
757
|
</li>
|
|
758
758
|
<li role="presentation">
|
|
759
|
-
<button class="pf-
|
|
759
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
760
760
|
</li>
|
|
761
761
|
</ul>
|
|
762
762
|
</div>
|
|
@@ -766,13 +766,13 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
766
766
|
### Disabled with typeahead
|
|
767
767
|
|
|
768
768
|
```html
|
|
769
|
-
<div class="pf-
|
|
769
|
+
<div class="pf-v6-c-select">
|
|
770
770
|
<span id="select-single-typeahead-disabled-label" hidden>Choose a state</span>
|
|
771
771
|
|
|
772
|
-
<div class="pf-
|
|
773
|
-
<div class="pf-
|
|
772
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead pf-m-disabled">
|
|
773
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
774
774
|
<span
|
|
775
|
-
class="pf-
|
|
775
|
+
class="pf-v6-c-form-control pf-m-disabled pf-v5-c-select__toggle-typeahead"
|
|
776
776
|
>
|
|
777
777
|
<input
|
|
778
778
|
disabled
|
|
@@ -784,7 +784,7 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
784
784
|
</span>
|
|
785
785
|
</div>
|
|
786
786
|
<button
|
|
787
|
-
class="pf-
|
|
787
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
788
788
|
type="button"
|
|
789
789
|
id="select-single-typeahead-disabled-toggle"
|
|
790
790
|
aria-haspopup="true"
|
|
@@ -794,51 +794,51 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
794
794
|
disabled
|
|
795
795
|
>
|
|
796
796
|
<i
|
|
797
|
-
class="fas fa-caret-down pf-
|
|
797
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
798
798
|
aria-hidden="true"
|
|
799
799
|
></i>
|
|
800
800
|
</button>
|
|
801
801
|
</div>
|
|
802
802
|
|
|
803
803
|
<ul
|
|
804
|
-
class="pf-
|
|
804
|
+
class="pf-v6-c-select__menu"
|
|
805
805
|
aria-labelledby="select-single-typeahead-disabled-label"
|
|
806
806
|
role="listbox"
|
|
807
807
|
hidden
|
|
808
808
|
>
|
|
809
809
|
<li role="presentation">
|
|
810
|
-
<button class="pf-
|
|
810
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
811
811
|
</li>
|
|
812
812
|
<li role="presentation">
|
|
813
|
-
<button class="pf-
|
|
813
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
814
814
|
</li>
|
|
815
815
|
<li role="presentation">
|
|
816
|
-
<button class="pf-
|
|
816
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
817
817
|
New
|
|
818
818
|
Jersey
|
|
819
819
|
</button>
|
|
820
820
|
</li>
|
|
821
821
|
<li role="presentation">
|
|
822
822
|
<button
|
|
823
|
-
class="pf-
|
|
823
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
824
824
|
role="option"
|
|
825
825
|
aria-selected="true"
|
|
826
826
|
>
|
|
827
827
|
New
|
|
828
828
|
Mexico
|
|
829
|
-
<span class="pf-
|
|
829
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
830
830
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
831
831
|
</span>
|
|
832
832
|
</button>
|
|
833
833
|
</li>
|
|
834
834
|
<li role="presentation">
|
|
835
|
-
<button class="pf-
|
|
835
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
836
836
|
New
|
|
837
837
|
York
|
|
838
838
|
</button>
|
|
839
839
|
</li>
|
|
840
840
|
<li role="presentation">
|
|
841
|
-
<button class="pf-
|
|
841
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
842
842
|
</li>
|
|
843
843
|
</ul>
|
|
844
844
|
</div>
|
|
@@ -848,12 +848,12 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
848
848
|
### Invalid with typeahead
|
|
849
849
|
|
|
850
850
|
```html
|
|
851
|
-
<div class="pf-
|
|
851
|
+
<div class="pf-v6-c-select pf-m-invalid">
|
|
852
852
|
<span id="select-single-typeahead-invalid-label" hidden>Choose a state</span>
|
|
853
853
|
|
|
854
|
-
<div class="pf-
|
|
855
|
-
<div class="pf-
|
|
856
|
-
<span class="pf-
|
|
854
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
855
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
856
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
857
857
|
<input
|
|
858
858
|
type="text"
|
|
859
859
|
id="select-single-typeahead-invalid-typeahead"
|
|
@@ -864,11 +864,11 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
864
864
|
/>
|
|
865
865
|
</span>
|
|
866
866
|
</div>
|
|
867
|
-
<span class="pf-
|
|
867
|
+
<span class="pf-v6-c-select__toggle-status-icon">
|
|
868
868
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
869
869
|
</span>
|
|
870
870
|
<button
|
|
871
|
-
class="pf-
|
|
871
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
872
872
|
type="button"
|
|
873
873
|
id="select-single-typeahead-invalid-toggle"
|
|
874
874
|
aria-haspopup="true"
|
|
@@ -877,51 +877,51 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
877
877
|
aria-label="Select"
|
|
878
878
|
>
|
|
879
879
|
<i
|
|
880
|
-
class="fas fa-caret-down pf-
|
|
880
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
881
881
|
aria-hidden="true"
|
|
882
882
|
></i>
|
|
883
883
|
</button>
|
|
884
884
|
</div>
|
|
885
885
|
|
|
886
886
|
<ul
|
|
887
|
-
class="pf-
|
|
887
|
+
class="pf-v6-c-select__menu"
|
|
888
888
|
aria-labelledby="select-single-typeahead-invalid-label"
|
|
889
889
|
role="listbox"
|
|
890
890
|
hidden
|
|
891
891
|
>
|
|
892
892
|
<li role="presentation">
|
|
893
|
-
<button class="pf-
|
|
893
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
894
894
|
</li>
|
|
895
895
|
<li role="presentation">
|
|
896
|
-
<button class="pf-
|
|
896
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
897
897
|
</li>
|
|
898
898
|
<li role="presentation">
|
|
899
|
-
<button class="pf-
|
|
899
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
900
900
|
New
|
|
901
901
|
Jersey
|
|
902
902
|
</button>
|
|
903
903
|
</li>
|
|
904
904
|
<li role="presentation">
|
|
905
905
|
<button
|
|
906
|
-
class="pf-
|
|
906
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
907
907
|
role="option"
|
|
908
908
|
aria-selected="true"
|
|
909
909
|
>
|
|
910
910
|
New
|
|
911
911
|
Mexico
|
|
912
|
-
<span class="pf-
|
|
912
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
913
913
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
914
914
|
</span>
|
|
915
915
|
</button>
|
|
916
916
|
</li>
|
|
917
917
|
<li role="presentation">
|
|
918
|
-
<button class="pf-
|
|
918
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
919
919
|
New
|
|
920
920
|
York
|
|
921
921
|
</button>
|
|
922
922
|
</li>
|
|
923
923
|
<li role="presentation">
|
|
924
|
-
<button class="pf-
|
|
924
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
925
925
|
</li>
|
|
926
926
|
</ul>
|
|
927
927
|
</div>
|
|
@@ -958,12 +958,12 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
958
958
|
### Select multi with typeahead
|
|
959
959
|
|
|
960
960
|
```html
|
|
961
|
-
<div class="pf-
|
|
961
|
+
<div class="pf-v6-c-select">
|
|
962
962
|
<span id="select-multi-typeahead-label" hidden>Choose states</span>
|
|
963
963
|
|
|
964
|
-
<div class="pf-
|
|
965
|
-
<div class="pf-
|
|
966
|
-
<span class="pf-
|
|
964
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
965
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
966
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
967
967
|
<input
|
|
968
968
|
type="text"
|
|
969
969
|
id="select-multi-typeahead-typeahead"
|
|
@@ -974,7 +974,7 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
974
974
|
</span>
|
|
975
975
|
</div>
|
|
976
976
|
<button
|
|
977
|
-
class="pf-
|
|
977
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
978
978
|
type="button"
|
|
979
979
|
id="select-multi-typeahead-toggle"
|
|
980
980
|
aria-haspopup="true"
|
|
@@ -983,38 +983,38 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
983
983
|
aria-label="Select"
|
|
984
984
|
>
|
|
985
985
|
<i
|
|
986
|
-
class="fas fa-caret-down pf-
|
|
986
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
987
987
|
aria-hidden="true"
|
|
988
988
|
></i>
|
|
989
989
|
</button>
|
|
990
990
|
</div>
|
|
991
991
|
|
|
992
992
|
<ul
|
|
993
|
-
class="pf-
|
|
993
|
+
class="pf-v6-c-select__menu"
|
|
994
994
|
aria-labelledby="select-multi-typeahead-label"
|
|
995
995
|
role="listbox"
|
|
996
996
|
hidden
|
|
997
997
|
>
|
|
998
998
|
<li role="presentation">
|
|
999
|
-
<button class="pf-
|
|
999
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
1000
1000
|
</li>
|
|
1001
1001
|
<li role="presentation">
|
|
1002
|
-
<button class="pf-
|
|
1002
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
1003
1003
|
</li>
|
|
1004
1004
|
<li role="presentation">
|
|
1005
|
-
<button class="pf-
|
|
1005
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1006
1006
|
New
|
|
1007
1007
|
Jersey
|
|
1008
1008
|
</button>
|
|
1009
1009
|
</li>
|
|
1010
1010
|
<li role="presentation">
|
|
1011
|
-
<button class="pf-
|
|
1011
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1012
1012
|
New
|
|
1013
1013
|
York
|
|
1014
1014
|
</button>
|
|
1015
1015
|
</li>
|
|
1016
1016
|
<li role="presentation">
|
|
1017
|
-
<button class="pf-
|
|
1017
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
1018
1018
|
</li>
|
|
1019
1019
|
</ul>
|
|
1020
1020
|
</div>
|
|
@@ -1024,29 +1024,29 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1024
1024
|
### Multi with typeahead (chip group expanded)
|
|
1025
1025
|
|
|
1026
1026
|
```html
|
|
1027
|
-
<div class="pf-
|
|
1027
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
1028
1028
|
<span id="select-multi-typeahead-expanded-label" hidden>Choose states</span>
|
|
1029
1029
|
|
|
1030
|
-
<div class="pf-
|
|
1031
|
-
<div class="pf-
|
|
1032
|
-
<div class="pf-
|
|
1033
|
-
<div class="pf-
|
|
1030
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
1031
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1032
|
+
<div class="pf-v6-c-chip-group" role="group">
|
|
1033
|
+
<div class="pf-v6-c-chip-group__main">
|
|
1034
1034
|
<ul
|
|
1035
|
-
class="pf-
|
|
1035
|
+
class="pf-v6-c-chip-group__list"
|
|
1036
1036
|
role="list"
|
|
1037
1037
|
aria-label="Chip group list"
|
|
1038
1038
|
>
|
|
1039
|
-
<li class="pf-
|
|
1040
|
-
<div class="pf-
|
|
1041
|
-
<span class="pf-
|
|
1039
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1040
|
+
<div class="pf-v6-c-chip">
|
|
1041
|
+
<span class="pf-v6-c-chip__content">
|
|
1042
1042
|
<span
|
|
1043
|
-
class="pf-
|
|
1043
|
+
class="pf-v6-c-chip__text"
|
|
1044
1044
|
id="select-multi-typeahead-expanded-chip_one"
|
|
1045
1045
|
>Arkansas</span>
|
|
1046
1046
|
</span>
|
|
1047
|
-
<span class="pf-
|
|
1047
|
+
<span class="pf-v6-c-chip__actions">
|
|
1048
1048
|
<button
|
|
1049
|
-
class="pf-
|
|
1049
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1050
1050
|
type="button"
|
|
1051
1051
|
aria-labelledby="remove_select-multi-typeahead-expanded_chip_one select-multi-typeahead-expanded-chip_two"
|
|
1052
1052
|
aria-label="Remove"
|
|
@@ -1057,17 +1057,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1057
1057
|
</span>
|
|
1058
1058
|
</div>
|
|
1059
1059
|
</li>
|
|
1060
|
-
<li class="pf-
|
|
1061
|
-
<div class="pf-
|
|
1062
|
-
<span class="pf-
|
|
1060
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1061
|
+
<div class="pf-v6-c-chip">
|
|
1062
|
+
<span class="pf-v6-c-chip__content">
|
|
1063
1063
|
<span
|
|
1064
|
-
class="pf-
|
|
1064
|
+
class="pf-v6-c-chip__text"
|
|
1065
1065
|
id="select-multi-typeahead-expanded-chip_two"
|
|
1066
1066
|
>Massachusetts</span>
|
|
1067
1067
|
</span>
|
|
1068
|
-
<span class="pf-
|
|
1068
|
+
<span class="pf-v6-c-chip__actions">
|
|
1069
1069
|
<button
|
|
1070
|
-
class="pf-
|
|
1070
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1071
1071
|
type="button"
|
|
1072
1072
|
aria-labelledby="remove_select-multi-typeahead-expanded_chip_two select-multi-typeahead-expanded-chip_two"
|
|
1073
1073
|
aria-label="Remove"
|
|
@@ -1078,17 +1078,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1078
1078
|
</span>
|
|
1079
1079
|
</div>
|
|
1080
1080
|
</li>
|
|
1081
|
-
<li class="pf-
|
|
1082
|
-
<div class="pf-
|
|
1083
|
-
<span class="pf-
|
|
1081
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1082
|
+
<div class="pf-v6-c-chip">
|
|
1083
|
+
<span class="pf-v6-c-chip__content">
|
|
1084
1084
|
<span
|
|
1085
|
-
class="pf-
|
|
1085
|
+
class="pf-v6-c-chip__text"
|
|
1086
1086
|
id="select-multi-typeahead-expanded-chip_three"
|
|
1087
1087
|
>New Mexico</span>
|
|
1088
1088
|
</span>
|
|
1089
|
-
<span class="pf-
|
|
1089
|
+
<span class="pf-v6-c-chip__actions">
|
|
1090
1090
|
<button
|
|
1091
|
-
class="pf-
|
|
1091
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1092
1092
|
type="button"
|
|
1093
1093
|
aria-labelledby="remove_select-multi-typeahead-expanded_chip_three select-multi-typeahead-expanded-chip_three"
|
|
1094
1094
|
aria-label="Remove"
|
|
@@ -1099,17 +1099,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1099
1099
|
</span>
|
|
1100
1100
|
</div>
|
|
1101
1101
|
</li>
|
|
1102
|
-
<li class="pf-
|
|
1103
|
-
<div class="pf-
|
|
1104
|
-
<span class="pf-
|
|
1102
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1103
|
+
<div class="pf-v6-c-chip">
|
|
1104
|
+
<span class="pf-v6-c-chip__content">
|
|
1105
1105
|
<span
|
|
1106
|
-
class="pf-
|
|
1106
|
+
class="pf-v6-c-chip__text"
|
|
1107
1107
|
id="select-multi-typeahead-expanded-chip_four"
|
|
1108
1108
|
>Ohio</span>
|
|
1109
1109
|
</span>
|
|
1110
|
-
<span class="pf-
|
|
1110
|
+
<span class="pf-v6-c-chip__actions">
|
|
1111
1111
|
<button
|
|
1112
|
-
class="pf-
|
|
1112
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1113
1113
|
type="button"
|
|
1114
1114
|
aria-labelledby="remove_select-multi-typeahead-expanded_chip_four select-multi-typeahead-expanded-chip_four"
|
|
1115
1115
|
aria-label="Remove"
|
|
@@ -1120,17 +1120,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1120
1120
|
</span>
|
|
1121
1121
|
</div>
|
|
1122
1122
|
</li>
|
|
1123
|
-
<li class="pf-
|
|
1124
|
-
<div class="pf-
|
|
1125
|
-
<span class="pf-
|
|
1123
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1124
|
+
<div class="pf-v6-c-chip">
|
|
1125
|
+
<span class="pf-v6-c-chip__content">
|
|
1126
1126
|
<span
|
|
1127
|
-
class="pf-
|
|
1127
|
+
class="pf-v6-c-chip__text"
|
|
1128
1128
|
id="select-multi-typeahead-expanded-chip_five"
|
|
1129
1129
|
>Washington</span>
|
|
1130
1130
|
</span>
|
|
1131
|
-
<span class="pf-
|
|
1131
|
+
<span class="pf-v6-c-chip__actions">
|
|
1132
1132
|
<button
|
|
1133
|
-
class="pf-
|
|
1133
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1134
1134
|
type="button"
|
|
1135
1135
|
aria-labelledby="remove_select-multi-typeahead-expanded_chip_five select-multi-typeahead-expanded-chip_five"
|
|
1136
1136
|
aria-label="Remove"
|
|
@@ -1144,7 +1144,7 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1144
1144
|
</ul>
|
|
1145
1145
|
</div>
|
|
1146
1146
|
</div>
|
|
1147
|
-
<span class="pf-
|
|
1147
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
1148
1148
|
<input
|
|
1149
1149
|
type="text"
|
|
1150
1150
|
id="select-multi-typeahead-expanded-typeahead"
|
|
@@ -1155,14 +1155,14 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1155
1155
|
</span>
|
|
1156
1156
|
</div>
|
|
1157
1157
|
<button
|
|
1158
|
-
class="pf-
|
|
1158
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-clear"
|
|
1159
1159
|
type="button"
|
|
1160
1160
|
aria-label="Clear all"
|
|
1161
1161
|
>
|
|
1162
1162
|
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
1163
1163
|
</button>
|
|
1164
1164
|
<button
|
|
1165
|
-
class="pf-
|
|
1165
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
1166
1166
|
type="button"
|
|
1167
1167
|
id="select-multi-typeahead-expanded-toggle"
|
|
1168
1168
|
aria-haspopup="true"
|
|
@@ -1171,37 +1171,37 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1171
1171
|
aria-label="Select"
|
|
1172
1172
|
>
|
|
1173
1173
|
<i
|
|
1174
|
-
class="fas fa-caret-down pf-
|
|
1174
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
1175
1175
|
aria-hidden="true"
|
|
1176
1176
|
></i>
|
|
1177
1177
|
</button>
|
|
1178
1178
|
</div>
|
|
1179
1179
|
|
|
1180
1180
|
<ul
|
|
1181
|
-
class="pf-
|
|
1181
|
+
class="pf-v6-c-select__menu"
|
|
1182
1182
|
aria-labelledby="select-multi-typeahead-expanded-label"
|
|
1183
1183
|
role="listbox"
|
|
1184
1184
|
>
|
|
1185
1185
|
<li role="presentation">
|
|
1186
|
-
<button class="pf-
|
|
1186
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
1187
1187
|
</li>
|
|
1188
1188
|
<li role="presentation">
|
|
1189
|
-
<button class="pf-
|
|
1189
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
1190
1190
|
</li>
|
|
1191
1191
|
<li role="presentation">
|
|
1192
|
-
<button class="pf-
|
|
1192
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1193
1193
|
New
|
|
1194
1194
|
Jersey
|
|
1195
1195
|
</button>
|
|
1196
1196
|
</li>
|
|
1197
1197
|
<li role="presentation">
|
|
1198
|
-
<button class="pf-
|
|
1198
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1199
1199
|
New
|
|
1200
1200
|
York
|
|
1201
1201
|
</button>
|
|
1202
1202
|
</li>
|
|
1203
1203
|
<li role="presentation">
|
|
1204
|
-
<button class="pf-
|
|
1204
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
1205
1205
|
</li>
|
|
1206
1206
|
</ul>
|
|
1207
1207
|
</div>
|
|
@@ -1211,29 +1211,29 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1211
1211
|
### Multi with typeahead (chip group collapsed)
|
|
1212
1212
|
|
|
1213
1213
|
```html
|
|
1214
|
-
<div class="pf-
|
|
1214
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
1215
1215
|
<span id="select-multi-typeahead-expanded-selected-label" hidden>Choose states</span>
|
|
1216
1216
|
|
|
1217
|
-
<div class="pf-
|
|
1218
|
-
<div class="pf-
|
|
1219
|
-
<div class="pf-
|
|
1220
|
-
<div class="pf-
|
|
1217
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
1218
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1219
|
+
<div class="pf-v6-c-chip-group" role="group">
|
|
1220
|
+
<div class="pf-v6-c-chip-group__main">
|
|
1221
1221
|
<ul
|
|
1222
|
-
class="pf-
|
|
1222
|
+
class="pf-v6-c-chip-group__list"
|
|
1223
1223
|
role="list"
|
|
1224
1224
|
aria-label="Chip group list"
|
|
1225
1225
|
>
|
|
1226
|
-
<li class="pf-
|
|
1227
|
-
<div class="pf-
|
|
1228
|
-
<span class="pf-
|
|
1226
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1227
|
+
<div class="pf-v6-c-chip">
|
|
1228
|
+
<span class="pf-v6-c-chip__content">
|
|
1229
1229
|
<span
|
|
1230
|
-
class="pf-
|
|
1230
|
+
class="pf-v6-c-chip__text"
|
|
1231
1231
|
id="select-multi-typeahead-expanded-selected-chip_one"
|
|
1232
1232
|
>Arkansas</span>
|
|
1233
1233
|
</span>
|
|
1234
|
-
<span class="pf-
|
|
1234
|
+
<span class="pf-v6-c-chip__actions">
|
|
1235
1235
|
<button
|
|
1236
|
-
class="pf-
|
|
1236
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1237
1237
|
type="button"
|
|
1238
1238
|
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_one select-multi-typeahead-expanded-selected-chip_one"
|
|
1239
1239
|
aria-label="Remove"
|
|
@@ -1244,17 +1244,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1244
1244
|
</span>
|
|
1245
1245
|
</div>
|
|
1246
1246
|
</li>
|
|
1247
|
-
<li class="pf-
|
|
1248
|
-
<div class="pf-
|
|
1249
|
-
<span class="pf-
|
|
1247
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1248
|
+
<div class="pf-v6-c-chip">
|
|
1249
|
+
<span class="pf-v6-c-chip__content">
|
|
1250
1250
|
<span
|
|
1251
|
-
class="pf-
|
|
1251
|
+
class="pf-v6-c-chip__text"
|
|
1252
1252
|
id="select-multi-typeahead-expanded-selected-chip_two"
|
|
1253
1253
|
>Massachusetts</span>
|
|
1254
1254
|
</span>
|
|
1255
|
-
<span class="pf-
|
|
1255
|
+
<span class="pf-v6-c-chip__actions">
|
|
1256
1256
|
<button
|
|
1257
|
-
class="pf-
|
|
1257
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1258
1258
|
type="button"
|
|
1259
1259
|
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_two select-multi-typeahead-expanded-selected-chip_two"
|
|
1260
1260
|
aria-label="Remove"
|
|
@@ -1265,17 +1265,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1265
1265
|
</span>
|
|
1266
1266
|
</div>
|
|
1267
1267
|
</li>
|
|
1268
|
-
<li class="pf-
|
|
1269
|
-
<div class="pf-
|
|
1270
|
-
<span class="pf-
|
|
1268
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1269
|
+
<div class="pf-v6-c-chip">
|
|
1270
|
+
<span class="pf-v6-c-chip__content">
|
|
1271
1271
|
<span
|
|
1272
|
-
class="pf-
|
|
1272
|
+
class="pf-v6-c-chip__text"
|
|
1273
1273
|
id="select-multi-typeahead-expanded-selected-chip_three"
|
|
1274
1274
|
>New Mexico</span>
|
|
1275
1275
|
</span>
|
|
1276
|
-
<span class="pf-
|
|
1276
|
+
<span class="pf-v6-c-chip__actions">
|
|
1277
1277
|
<button
|
|
1278
|
-
class="pf-
|
|
1278
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1279
1279
|
type="button"
|
|
1280
1280
|
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_three select-multi-typeahead-expanded-selected-chip_three"
|
|
1281
1281
|
aria-label="Remove"
|
|
@@ -1286,17 +1286,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1286
1286
|
</span>
|
|
1287
1287
|
</div>
|
|
1288
1288
|
</li>
|
|
1289
|
-
<li class="pf-
|
|
1290
|
-
<button class="pf-
|
|
1291
|
-
<span class="pf-
|
|
1292
|
-
<span class="pf-
|
|
1289
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1290
|
+
<button class="pf-v6-c-chip pf-m-overflow">
|
|
1291
|
+
<span class="pf-v6-c-chip__content">
|
|
1292
|
+
<span class="pf-v6-c-chip__text">2 more</span>
|
|
1293
1293
|
</span>
|
|
1294
1294
|
</button>
|
|
1295
1295
|
</li>
|
|
1296
1296
|
</ul>
|
|
1297
1297
|
</div>
|
|
1298
1298
|
</div>
|
|
1299
|
-
<span class="pf-
|
|
1299
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
1300
1300
|
<input
|
|
1301
1301
|
type="text"
|
|
1302
1302
|
id="select-multi-typeahead-expanded-selected-typeahead"
|
|
@@ -1307,14 +1307,14 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1307
1307
|
</span>
|
|
1308
1308
|
</div>
|
|
1309
1309
|
<button
|
|
1310
|
-
class="pf-
|
|
1310
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-clear"
|
|
1311
1311
|
type="button"
|
|
1312
1312
|
aria-label="Clear all"
|
|
1313
1313
|
>
|
|
1314
1314
|
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
1315
1315
|
</button>
|
|
1316
1316
|
<button
|
|
1317
|
-
class="pf-
|
|
1317
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
1318
1318
|
type="button"
|
|
1319
1319
|
id="select-multi-typeahead-expanded-selected-toggle"
|
|
1320
1320
|
aria-haspopup="true"
|
|
@@ -1323,26 +1323,26 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1323
1323
|
aria-label="Select"
|
|
1324
1324
|
>
|
|
1325
1325
|
<i
|
|
1326
|
-
class="fas fa-caret-down pf-
|
|
1326
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
1327
1327
|
aria-hidden="true"
|
|
1328
1328
|
></i>
|
|
1329
1329
|
</button>
|
|
1330
1330
|
</div>
|
|
1331
1331
|
|
|
1332
1332
|
<ul
|
|
1333
|
-
class="pf-
|
|
1333
|
+
class="pf-v6-c-select__menu"
|
|
1334
1334
|
aria-labelledby="select-multi-typeahead-expanded-selected-label"
|
|
1335
1335
|
role="listbox"
|
|
1336
1336
|
>
|
|
1337
1337
|
<li role="presentation">
|
|
1338
|
-
<button class="pf-
|
|
1339
|
-
<mark class="pf-
|
|
1338
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1339
|
+
<mark class="pf-v6-c-select__menu-item--match">New</mark>
|
|
1340
1340
|
Jersey
|
|
1341
1341
|
</button>
|
|
1342
1342
|
</li>
|
|
1343
1343
|
<li role="presentation">
|
|
1344
|
-
<button class="pf-
|
|
1345
|
-
<mark class="pf-
|
|
1344
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1345
|
+
<mark class="pf-v6-c-select__menu-item--match">New</mark>
|
|
1346
1346
|
York
|
|
1347
1347
|
</button>
|
|
1348
1348
|
</li>
|
|
@@ -1354,29 +1354,29 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1354
1354
|
### Multi with typeahead invalid
|
|
1355
1355
|
|
|
1356
1356
|
```html
|
|
1357
|
-
<div class="pf-
|
|
1357
|
+
<div class="pf-v6-c-select pf-m-expanded pf-m-invalid">
|
|
1358
1358
|
<span id="select-multi-typeahead-invalid-label" hidden>Choose states</span>
|
|
1359
1359
|
|
|
1360
|
-
<div class="pf-
|
|
1361
|
-
<div class="pf-
|
|
1362
|
-
<div class="pf-
|
|
1363
|
-
<div class="pf-
|
|
1360
|
+
<div class="pf-v6-c-select__toggle pf-m-typeahead">
|
|
1361
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1362
|
+
<div class="pf-v6-c-chip-group" role="group">
|
|
1363
|
+
<div class="pf-v6-c-chip-group__main">
|
|
1364
1364
|
<ul
|
|
1365
|
-
class="pf-
|
|
1365
|
+
class="pf-v6-c-chip-group__list"
|
|
1366
1366
|
role="list"
|
|
1367
1367
|
aria-label="Chip group list"
|
|
1368
1368
|
>
|
|
1369
|
-
<li class="pf-
|
|
1370
|
-
<div class="pf-
|
|
1371
|
-
<span class="pf-
|
|
1369
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1370
|
+
<div class="pf-v6-c-chip">
|
|
1371
|
+
<span class="pf-v6-c-chip__content">
|
|
1372
1372
|
<span
|
|
1373
|
-
class="pf-
|
|
1373
|
+
class="pf-v6-c-chip__text"
|
|
1374
1374
|
id="select-multi-typeahead-invalid-chip_one"
|
|
1375
1375
|
>Arkansas</span>
|
|
1376
1376
|
</span>
|
|
1377
|
-
<span class="pf-
|
|
1377
|
+
<span class="pf-v6-c-chip__actions">
|
|
1378
1378
|
<button
|
|
1379
|
-
class="pf-
|
|
1379
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1380
1380
|
type="button"
|
|
1381
1381
|
aria-labelledby="remove_select-multi-typeahead-invalid_chip_one select-multi-typeahead-invalid-chip_two"
|
|
1382
1382
|
aria-label="Remove"
|
|
@@ -1387,17 +1387,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1387
1387
|
</span>
|
|
1388
1388
|
</div>
|
|
1389
1389
|
</li>
|
|
1390
|
-
<li class="pf-
|
|
1391
|
-
<div class="pf-
|
|
1392
|
-
<span class="pf-
|
|
1390
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1391
|
+
<div class="pf-v6-c-chip">
|
|
1392
|
+
<span class="pf-v6-c-chip__content">
|
|
1393
1393
|
<span
|
|
1394
|
-
class="pf-
|
|
1394
|
+
class="pf-v6-c-chip__text"
|
|
1395
1395
|
id="select-multi-typeahead-invalid-chip_two"
|
|
1396
1396
|
>Massachusetts</span>
|
|
1397
1397
|
</span>
|
|
1398
|
-
<span class="pf-
|
|
1398
|
+
<span class="pf-v6-c-chip__actions">
|
|
1399
1399
|
<button
|
|
1400
|
-
class="pf-
|
|
1400
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1401
1401
|
type="button"
|
|
1402
1402
|
aria-labelledby="remove_select-multi-typeahead-invalid_chip_two select-multi-typeahead-invalid-chip_two"
|
|
1403
1403
|
aria-label="Remove"
|
|
@@ -1408,17 +1408,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1408
1408
|
</span>
|
|
1409
1409
|
</div>
|
|
1410
1410
|
</li>
|
|
1411
|
-
<li class="pf-
|
|
1412
|
-
<div class="pf-
|
|
1413
|
-
<span class="pf-
|
|
1411
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1412
|
+
<div class="pf-v6-c-chip">
|
|
1413
|
+
<span class="pf-v6-c-chip__content">
|
|
1414
1414
|
<span
|
|
1415
|
-
class="pf-
|
|
1415
|
+
class="pf-v6-c-chip__text"
|
|
1416
1416
|
id="select-multi-typeahead-invalid-chip_three"
|
|
1417
1417
|
>New Mexico</span>
|
|
1418
1418
|
</span>
|
|
1419
|
-
<span class="pf-
|
|
1419
|
+
<span class="pf-v6-c-chip__actions">
|
|
1420
1420
|
<button
|
|
1421
|
-
class="pf-
|
|
1421
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1422
1422
|
type="button"
|
|
1423
1423
|
aria-labelledby="remove_select-multi-typeahead-invalid_chip_three select-multi-typeahead-invalid-chip_three"
|
|
1424
1424
|
aria-label="Remove"
|
|
@@ -1429,17 +1429,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1429
1429
|
</span>
|
|
1430
1430
|
</div>
|
|
1431
1431
|
</li>
|
|
1432
|
-
<li class="pf-
|
|
1433
|
-
<div class="pf-
|
|
1434
|
-
<span class="pf-
|
|
1432
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1433
|
+
<div class="pf-v6-c-chip">
|
|
1434
|
+
<span class="pf-v6-c-chip__content">
|
|
1435
1435
|
<span
|
|
1436
|
-
class="pf-
|
|
1436
|
+
class="pf-v6-c-chip__text"
|
|
1437
1437
|
id="select-multi-typeahead-invalid-chip_four"
|
|
1438
1438
|
>Ohio</span>
|
|
1439
1439
|
</span>
|
|
1440
|
-
<span class="pf-
|
|
1440
|
+
<span class="pf-v6-c-chip__actions">
|
|
1441
1441
|
<button
|
|
1442
|
-
class="pf-
|
|
1442
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1443
1443
|
type="button"
|
|
1444
1444
|
aria-labelledby="remove_select-multi-typeahead-invalid_chip_four select-multi-typeahead-invalid-chip_four"
|
|
1445
1445
|
aria-label="Remove"
|
|
@@ -1450,17 +1450,17 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1450
1450
|
</span>
|
|
1451
1451
|
</div>
|
|
1452
1452
|
</li>
|
|
1453
|
-
<li class="pf-
|
|
1454
|
-
<div class="pf-
|
|
1455
|
-
<span class="pf-
|
|
1453
|
+
<li class="pf-v6-c-chip-group__list-item">
|
|
1454
|
+
<div class="pf-v6-c-chip">
|
|
1455
|
+
<span class="pf-v6-c-chip__content">
|
|
1456
1456
|
<span
|
|
1457
|
-
class="pf-
|
|
1457
|
+
class="pf-v6-c-chip__text"
|
|
1458
1458
|
id="select-multi-typeahead-invalid-chip_five"
|
|
1459
1459
|
>Washington</span>
|
|
1460
1460
|
</span>
|
|
1461
|
-
<span class="pf-
|
|
1461
|
+
<span class="pf-v6-c-chip__actions">
|
|
1462
1462
|
<button
|
|
1463
|
-
class="pf-
|
|
1463
|
+
class="pf-v6-c-button pf-m-plain"
|
|
1464
1464
|
type="button"
|
|
1465
1465
|
aria-labelledby="remove_select-multi-typeahead-invalid_chip_five select-multi-typeahead-invalid-chip_five"
|
|
1466
1466
|
aria-label="Remove"
|
|
@@ -1474,7 +1474,7 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1474
1474
|
</ul>
|
|
1475
1475
|
</div>
|
|
1476
1476
|
</div>
|
|
1477
|
-
<span class="pf-
|
|
1477
|
+
<span class="pf-v6-c-form-control pf-v5-c-select__toggle-typeahead">
|
|
1478
1478
|
<input
|
|
1479
1479
|
type="text"
|
|
1480
1480
|
id="select-multi-typeahead-invalid-typeahead"
|
|
@@ -1485,18 +1485,18 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1485
1485
|
/>
|
|
1486
1486
|
</span>
|
|
1487
1487
|
</div>
|
|
1488
|
-
<span class="pf-
|
|
1488
|
+
<span class="pf-v6-c-select__toggle-status-icon">
|
|
1489
1489
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
1490
1490
|
</span>
|
|
1491
1491
|
<button
|
|
1492
|
-
class="pf-
|
|
1492
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-clear"
|
|
1493
1493
|
type="button"
|
|
1494
1494
|
aria-label="Clear all"
|
|
1495
1495
|
>
|
|
1496
1496
|
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
1497
1497
|
</button>
|
|
1498
1498
|
<button
|
|
1499
|
-
class="pf-
|
|
1499
|
+
class="pf-v6-c-button pf-m-plain pf-v5-c-select__toggle-button"
|
|
1500
1500
|
type="button"
|
|
1501
1501
|
id="select-multi-typeahead-invalid-toggle"
|
|
1502
1502
|
aria-haspopup="true"
|
|
@@ -1505,37 +1505,37 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1505
1505
|
aria-label="Select"
|
|
1506
1506
|
>
|
|
1507
1507
|
<i
|
|
1508
|
-
class="fas fa-caret-down pf-
|
|
1508
|
+
class="fas fa-caret-down pf-v6-c-select__toggle-arrow"
|
|
1509
1509
|
aria-hidden="true"
|
|
1510
1510
|
></i>
|
|
1511
1511
|
</button>
|
|
1512
1512
|
</div>
|
|
1513
1513
|
|
|
1514
1514
|
<ul
|
|
1515
|
-
class="pf-
|
|
1515
|
+
class="pf-v6-c-select__menu"
|
|
1516
1516
|
aria-labelledby="select-multi-typeahead-invalid-label"
|
|
1517
1517
|
role="listbox"
|
|
1518
1518
|
>
|
|
1519
1519
|
<li role="presentation">
|
|
1520
|
-
<button class="pf-
|
|
1520
|
+
<button class="pf-v6-c-select__menu-item" role="option">Alabama</button>
|
|
1521
1521
|
</li>
|
|
1522
1522
|
<li role="presentation">
|
|
1523
|
-
<button class="pf-
|
|
1523
|
+
<button class="pf-v6-c-select__menu-item" role="option">Florida</button>
|
|
1524
1524
|
</li>
|
|
1525
1525
|
<li role="presentation">
|
|
1526
|
-
<button class="pf-
|
|
1526
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1527
1527
|
New
|
|
1528
1528
|
Jersey
|
|
1529
1529
|
</button>
|
|
1530
1530
|
</li>
|
|
1531
1531
|
<li role="presentation">
|
|
1532
|
-
<button class="pf-
|
|
1532
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
1533
1533
|
New
|
|
1534
1534
|
York
|
|
1535
1535
|
</button>
|
|
1536
1536
|
</li>
|
|
1537
1537
|
<li role="presentation">
|
|
1538
|
-
<button class="pf-
|
|
1538
|
+
<button class="pf-v6-c-select__menu-item" role="option">North Carolina</button>
|
|
1539
1539
|
</li>
|
|
1540
1540
|
</ul>
|
|
1541
1541
|
</div>
|
|
@@ -1572,101 +1572,101 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1572
1572
|
### Checkbox select
|
|
1573
1573
|
|
|
1574
1574
|
```html
|
|
1575
|
-
<div class="pf-
|
|
1575
|
+
<div class="pf-v6-c-select">
|
|
1576
1576
|
<span id="select-checkbox-label" hidden>Choose many</span>
|
|
1577
1577
|
|
|
1578
1578
|
<button
|
|
1579
|
-
class="pf-
|
|
1579
|
+
class="pf-v6-c-select__toggle"
|
|
1580
1580
|
type="button"
|
|
1581
1581
|
id="select-checkbox-toggle"
|
|
1582
1582
|
aria-haspopup="true"
|
|
1583
1583
|
aria-expanded="false"
|
|
1584
1584
|
aria-labelledby="select-checkbox-label select-checkbox-toggle"
|
|
1585
1585
|
>
|
|
1586
|
-
<div class="pf-
|
|
1587
|
-
<span class="pf-
|
|
1586
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1587
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
1588
1588
|
</div>
|
|
1589
|
-
<span class="pf-
|
|
1589
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
1590
1590
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1591
1591
|
</span>
|
|
1592
1592
|
</button>
|
|
1593
1593
|
|
|
1594
|
-
<div class="pf-
|
|
1595
|
-
<fieldset class="pf-
|
|
1594
|
+
<div class="pf-v6-c-select__menu" hidden>
|
|
1595
|
+
<fieldset class="pf-v6-c-select__menu-fieldset" aria-label="Select input">
|
|
1596
1596
|
<label
|
|
1597
|
-
class="pf-
|
|
1597
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item pf-m-description"
|
|
1598
1598
|
id="select-checkbox-active"
|
|
1599
1599
|
for="select-checkbox-active-input"
|
|
1600
1600
|
>
|
|
1601
1601
|
<input
|
|
1602
|
-
class="pf-
|
|
1602
|
+
class="pf-v6-c-check__input"
|
|
1603
1603
|
type="checkbox"
|
|
1604
1604
|
aria-describedby="select-checkbox-active-description"
|
|
1605
1605
|
id="select-checkbox-active-input"
|
|
1606
1606
|
name="select-checkbox-active-input"
|
|
1607
1607
|
/>
|
|
1608
|
-
<span class="pf-
|
|
1608
|
+
<span class="pf-v6-c-check__label">Active</span>
|
|
1609
1609
|
<span
|
|
1610
|
-
class="pf-
|
|
1610
|
+
class="pf-v6-c-check__description"
|
|
1611
1611
|
id="select-checkbox-active-description"
|
|
1612
1612
|
>This is a description</span>
|
|
1613
1613
|
</label>
|
|
1614
1614
|
<label
|
|
1615
|
-
class="pf-
|
|
1615
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item pf-m-description"
|
|
1616
1616
|
id="select-checkbox-canceled"
|
|
1617
1617
|
for="select-checkbox-canceled-input"
|
|
1618
1618
|
>
|
|
1619
1619
|
<input
|
|
1620
|
-
class="pf-
|
|
1620
|
+
class="pf-v6-c-check__input"
|
|
1621
1621
|
type="checkbox"
|
|
1622
1622
|
aria-describedby="select-checkbox-canceled-description"
|
|
1623
1623
|
id="select-checkbox-canceled-input"
|
|
1624
1624
|
name="select-checkbox-canceled-input"
|
|
1625
1625
|
/>
|
|
1626
|
-
<span class="pf-
|
|
1626
|
+
<span class="pf-v6-c-check__label">Canceled</span>
|
|
1627
1627
|
<span
|
|
1628
|
-
class="pf-
|
|
1628
|
+
class="pf-v6-c-check__description"
|
|
1629
1629
|
id="select-checkbox-canceled-description"
|
|
1630
1630
|
>This is a really long description that describes the menu item. This is a really long description that describes the menu item.</span>
|
|
1631
1631
|
</label>
|
|
1632
1632
|
<label
|
|
1633
|
-
class="pf-
|
|
1633
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1634
1634
|
id="select-checkbox-paused"
|
|
1635
1635
|
for="select-checkbox-paused-input"
|
|
1636
1636
|
>
|
|
1637
1637
|
<input
|
|
1638
|
-
class="pf-
|
|
1638
|
+
class="pf-v6-c-check__input"
|
|
1639
1639
|
type="checkbox"
|
|
1640
1640
|
id="select-checkbox-paused-input"
|
|
1641
1641
|
name="select-checkbox-paused-input"
|
|
1642
1642
|
/>
|
|
1643
|
-
<span class="pf-
|
|
1643
|
+
<span class="pf-v6-c-check__label">Paused</span>
|
|
1644
1644
|
</label>
|
|
1645
1645
|
<label
|
|
1646
|
-
class="pf-
|
|
1646
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1647
1647
|
id="select-checkbox-warning"
|
|
1648
1648
|
for="select-checkbox-warning-input"
|
|
1649
1649
|
>
|
|
1650
1650
|
<input
|
|
1651
|
-
class="pf-
|
|
1651
|
+
class="pf-v6-c-check__input"
|
|
1652
1652
|
type="checkbox"
|
|
1653
1653
|
id="select-checkbox-warning-input"
|
|
1654
1654
|
name="select-checkbox-warning-input"
|
|
1655
1655
|
/>
|
|
1656
|
-
<span class="pf-
|
|
1656
|
+
<span class="pf-v6-c-check__label">Warning</span>
|
|
1657
1657
|
</label>
|
|
1658
1658
|
<label
|
|
1659
|
-
class="pf-
|
|
1659
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1660
1660
|
id="select-checkbox-restarted"
|
|
1661
1661
|
for="select-checkbox-restarted-input"
|
|
1662
1662
|
>
|
|
1663
1663
|
<input
|
|
1664
|
-
class="pf-
|
|
1664
|
+
class="pf-v6-c-check__input"
|
|
1665
1665
|
type="checkbox"
|
|
1666
1666
|
id="select-checkbox-restarted-input"
|
|
1667
1667
|
name="select-checkbox-restarted-input"
|
|
1668
1668
|
/>
|
|
1669
|
-
<span class="pf-
|
|
1669
|
+
<span class="pf-v6-c-check__label">Restarted</span>
|
|
1670
1670
|
</label>
|
|
1671
1671
|
</fieldset>
|
|
1672
1672
|
</div>
|
|
@@ -1677,94 +1677,94 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1677
1677
|
### Checkbox expanded
|
|
1678
1678
|
|
|
1679
1679
|
```html
|
|
1680
|
-
<div class="pf-
|
|
1680
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
1681
1681
|
<span id="select-checkbox-expanded-label" hidden>Choose many</span>
|
|
1682
1682
|
|
|
1683
1683
|
<button
|
|
1684
|
-
class="pf-
|
|
1684
|
+
class="pf-v6-c-select__toggle"
|
|
1685
1685
|
type="button"
|
|
1686
1686
|
id="select-checkbox-expanded-toggle"
|
|
1687
1687
|
aria-haspopup="true"
|
|
1688
1688
|
aria-expanded="true"
|
|
1689
1689
|
aria-labelledby="select-checkbox-expanded-label select-checkbox-expanded-toggle"
|
|
1690
1690
|
>
|
|
1691
|
-
<div class="pf-
|
|
1692
|
-
<span class="pf-
|
|
1691
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1692
|
+
<span class="pf-v6-c-select__toggle-text">Filter</span>
|
|
1693
1693
|
</div>
|
|
1694
|
-
<span class="pf-
|
|
1694
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
1695
1695
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1696
1696
|
</span>
|
|
1697
1697
|
</button>
|
|
1698
1698
|
|
|
1699
|
-
<div class="pf-
|
|
1700
|
-
<fieldset class="pf-
|
|
1699
|
+
<div class="pf-v6-c-select__menu">
|
|
1700
|
+
<fieldset class="pf-v6-c-select__menu-fieldset" aria-label="Select input">
|
|
1701
1701
|
<label
|
|
1702
|
-
class="pf-
|
|
1702
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1703
1703
|
id="select-checkbox-expanded-check-active"
|
|
1704
1704
|
for="select-checkbox-expanded-check-active-input"
|
|
1705
1705
|
>
|
|
1706
1706
|
<input
|
|
1707
|
-
class="pf-
|
|
1707
|
+
class="pf-v6-c-check__input"
|
|
1708
1708
|
type="checkbox"
|
|
1709
1709
|
id="select-checkbox-expanded-check-active-input"
|
|
1710
1710
|
name="select-checkbox-expanded-check-active-input"
|
|
1711
1711
|
checked
|
|
1712
1712
|
/>
|
|
1713
|
-
<span class="pf-
|
|
1713
|
+
<span class="pf-v6-c-check__label">Active</span>
|
|
1714
1714
|
</label>
|
|
1715
1715
|
<label
|
|
1716
|
-
class="pf-
|
|
1716
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1717
1717
|
id="select-checkbox-expanded-check-canceled"
|
|
1718
1718
|
for="select-checkbox-expanded-check-canceled-input"
|
|
1719
1719
|
>
|
|
1720
1720
|
<input
|
|
1721
|
-
class="pf-
|
|
1721
|
+
class="pf-v6-c-check__input"
|
|
1722
1722
|
type="checkbox"
|
|
1723
1723
|
id="select-checkbox-expanded-check-canceled-input"
|
|
1724
1724
|
name="select-checkbox-expanded-check-canceled-input"
|
|
1725
1725
|
checked
|
|
1726
1726
|
/>
|
|
1727
|
-
<span class="pf-
|
|
1727
|
+
<span class="pf-v6-c-check__label">Canceled</span>
|
|
1728
1728
|
</label>
|
|
1729
1729
|
<label
|
|
1730
|
-
class="pf-
|
|
1730
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1731
1731
|
id="select-checkbox-expanded-check-paused"
|
|
1732
1732
|
for="select-checkbox-expanded-check-paused-input"
|
|
1733
1733
|
>
|
|
1734
1734
|
<input
|
|
1735
|
-
class="pf-
|
|
1735
|
+
class="pf-v6-c-check__input"
|
|
1736
1736
|
type="checkbox"
|
|
1737
1737
|
id="select-checkbox-expanded-check-paused-input"
|
|
1738
1738
|
name="select-checkbox-expanded-check-paused-input"
|
|
1739
1739
|
/>
|
|
1740
|
-
<span class="pf-
|
|
1740
|
+
<span class="pf-v6-c-check__label">Paused</span>
|
|
1741
1741
|
</label>
|
|
1742
1742
|
<label
|
|
1743
|
-
class="pf-
|
|
1743
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1744
1744
|
id="select-checkbox-expanded-check-warning"
|
|
1745
1745
|
for="select-checkbox-expanded-check-warning-input"
|
|
1746
1746
|
>
|
|
1747
1747
|
<input
|
|
1748
|
-
class="pf-
|
|
1748
|
+
class="pf-v6-c-check__input"
|
|
1749
1749
|
type="checkbox"
|
|
1750
1750
|
id="select-checkbox-expanded-check-warning-input"
|
|
1751
1751
|
name="select-checkbox-expanded-check-warning-input"
|
|
1752
1752
|
checked
|
|
1753
1753
|
/>
|
|
1754
|
-
<span class="pf-
|
|
1754
|
+
<span class="pf-v6-c-check__label">Warning</span>
|
|
1755
1755
|
</label>
|
|
1756
1756
|
<label
|
|
1757
|
-
class="pf-
|
|
1757
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1758
1758
|
id="select-checkbox-expanded-check-restarted"
|
|
1759
1759
|
for="select-checkbox-expanded-check-restarted-input"
|
|
1760
1760
|
>
|
|
1761
1761
|
<input
|
|
1762
|
-
class="pf-
|
|
1762
|
+
class="pf-v6-c-check__input"
|
|
1763
1763
|
type="checkbox"
|
|
1764
1764
|
id="select-checkbox-expanded-check-restarted-input"
|
|
1765
1765
|
name="select-checkbox-expanded-check-restarted-input"
|
|
1766
1766
|
/>
|
|
1767
|
-
<span class="pf-
|
|
1767
|
+
<span class="pf-v6-c-check__label">Restarted</span>
|
|
1768
1768
|
</label>
|
|
1769
1769
|
</fieldset>
|
|
1770
1770
|
</div>
|
|
@@ -1775,153 +1775,153 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1775
1775
|
### Checkbox expanded and selected with groups
|
|
1776
1776
|
|
|
1777
1777
|
```html
|
|
1778
|
-
<div class="pf-
|
|
1778
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
1779
1779
|
<span id="select-checkbox-expanded-selected-label" hidden>Choose many</span>
|
|
1780
1780
|
|
|
1781
1781
|
<button
|
|
1782
|
-
class="pf-
|
|
1782
|
+
class="pf-v6-c-select__toggle"
|
|
1783
1783
|
type="button"
|
|
1784
1784
|
id="select-checkbox-expanded-selected-toggle"
|
|
1785
1785
|
aria-haspopup="true"
|
|
1786
1786
|
aria-expanded="true"
|
|
1787
1787
|
aria-labelledby="select-checkbox-expanded-selected-label select-checkbox-expanded-selected-toggle"
|
|
1788
1788
|
>
|
|
1789
|
-
<div class="pf-
|
|
1790
|
-
<span class="pf-
|
|
1789
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1790
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
1791
1791
|
</div>
|
|
1792
|
-
<span class="pf-
|
|
1792
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
1793
1793
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1794
1794
|
</span>
|
|
1795
1795
|
</button>
|
|
1796
1796
|
|
|
1797
|
-
<div class="pf-
|
|
1798
|
-
<div class="pf-
|
|
1797
|
+
<div class="pf-v6-c-select__menu">
|
|
1798
|
+
<div class="pf-v6-c-select__menu-group">
|
|
1799
1799
|
<div
|
|
1800
|
-
class="pf-
|
|
1800
|
+
class="pf-v6-c-select__menu-group-title"
|
|
1801
1801
|
aria-hidden="true"
|
|
1802
1802
|
id="select-checkbox-expanded-selected-group-status"
|
|
1803
1803
|
>Status</div>
|
|
1804
1804
|
<fieldset
|
|
1805
|
-
class="pf-
|
|
1805
|
+
class="pf-v6-c-select__menu-fieldset"
|
|
1806
1806
|
aria-labelledby="select-checkbox-expanded-selected-group-status"
|
|
1807
1807
|
>
|
|
1808
1808
|
<label
|
|
1809
|
-
class="pf-
|
|
1809
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1810
1810
|
id="select-checkbox-expanded-selected-check-running"
|
|
1811
1811
|
for="select-checkbox-expanded-selected-check-running-input"
|
|
1812
1812
|
>
|
|
1813
1813
|
<input
|
|
1814
|
-
class="pf-
|
|
1814
|
+
class="pf-v6-c-check__input"
|
|
1815
1815
|
type="checkbox"
|
|
1816
1816
|
id="select-checkbox-expanded-selected-check-running-input"
|
|
1817
1817
|
name="select-checkbox-expanded-selected-check-running-input"
|
|
1818
1818
|
/>
|
|
1819
|
-
<span class="pf-
|
|
1819
|
+
<span class="pf-v6-c-check__label">Running</span>
|
|
1820
1820
|
</label>
|
|
1821
1821
|
<label
|
|
1822
|
-
class="pf-
|
|
1822
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1823
1823
|
id="select-checkbox-expanded-selected-check-stopped"
|
|
1824
1824
|
for="select-checkbox-expanded-selected-check-stopped-input"
|
|
1825
1825
|
>
|
|
1826
1826
|
<input
|
|
1827
|
-
class="pf-
|
|
1827
|
+
class="pf-v6-c-check__input"
|
|
1828
1828
|
type="checkbox"
|
|
1829
1829
|
id="select-checkbox-expanded-selected-check-stopped-input"
|
|
1830
1830
|
name="select-checkbox-expanded-selected-check-stopped-input"
|
|
1831
1831
|
/>
|
|
1832
|
-
<span class="pf-
|
|
1832
|
+
<span class="pf-v6-c-check__label">Stopped</span>
|
|
1833
1833
|
</label>
|
|
1834
1834
|
<label
|
|
1835
|
-
class="pf-
|
|
1835
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1836
1836
|
id="select-checkbox-expanded-selected-check-down"
|
|
1837
1837
|
for="select-checkbox-expanded-selected-check-down-input"
|
|
1838
1838
|
>
|
|
1839
1839
|
<input
|
|
1840
|
-
class="pf-
|
|
1840
|
+
class="pf-v6-c-check__input"
|
|
1841
1841
|
type="checkbox"
|
|
1842
1842
|
id="select-checkbox-expanded-selected-check-down-input"
|
|
1843
1843
|
name="select-checkbox-expanded-selected-check-down-input"
|
|
1844
1844
|
/>
|
|
1845
|
-
<span class="pf-
|
|
1845
|
+
<span class="pf-v6-c-check__label">Down</span>
|
|
1846
1846
|
</label>
|
|
1847
1847
|
<label
|
|
1848
|
-
class="pf-
|
|
1848
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1849
1849
|
id="select-checkbox-expanded-selected-check-degraded"
|
|
1850
1850
|
for="select-checkbox-expanded-selected-check-degraded-input"
|
|
1851
1851
|
>
|
|
1852
1852
|
<input
|
|
1853
|
-
class="pf-
|
|
1853
|
+
class="pf-v6-c-check__input"
|
|
1854
1854
|
type="checkbox"
|
|
1855
1855
|
id="select-checkbox-expanded-selected-check-degraded-input"
|
|
1856
1856
|
name="select-checkbox-expanded-selected-check-degraded-input"
|
|
1857
1857
|
/>
|
|
1858
|
-
<span class="pf-
|
|
1858
|
+
<span class="pf-v6-c-check__label">Degraded</span>
|
|
1859
1859
|
</label>
|
|
1860
1860
|
<label
|
|
1861
|
-
class="pf-
|
|
1861
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1862
1862
|
id="select-checkbox-expanded-selected-check-needs-maintenance"
|
|
1863
1863
|
for="select-checkbox-expanded-selected-check-needs-maintenance-input"
|
|
1864
1864
|
>
|
|
1865
1865
|
<input
|
|
1866
|
-
class="pf-
|
|
1866
|
+
class="pf-v6-c-check__input"
|
|
1867
1867
|
type="checkbox"
|
|
1868
1868
|
id="select-checkbox-expanded-selected-check-needs-maintenance-input"
|
|
1869
1869
|
name="select-checkbox-expanded-selected-check-needs-maintenance-input"
|
|
1870
1870
|
checked
|
|
1871
1871
|
/>
|
|
1872
|
-
<span class="pf-
|
|
1872
|
+
<span class="pf-v6-c-check__label">Needs maintenance</span>
|
|
1873
1873
|
</label>
|
|
1874
1874
|
</fieldset>
|
|
1875
1875
|
</div>
|
|
1876
|
-
<div class="pf-
|
|
1876
|
+
<div class="pf-v6-c-select__menu-group">
|
|
1877
1877
|
<div
|
|
1878
|
-
class="pf-
|
|
1878
|
+
class="pf-v6-c-select__menu-group-title"
|
|
1879
1879
|
aria-hidden="true"
|
|
1880
1880
|
id="select-checkbox-expanded-selected-group-vendor"
|
|
1881
1881
|
>Vendor</div>
|
|
1882
1882
|
<fieldset
|
|
1883
|
-
class="pf-
|
|
1883
|
+
class="pf-v6-c-select__menu-fieldset"
|
|
1884
1884
|
aria-labelledby="select-checkbox-expanded-selected-group-vendor"
|
|
1885
1885
|
>
|
|
1886
1886
|
<label
|
|
1887
|
-
class="pf-
|
|
1887
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1888
1888
|
id="select-checkbox-expanded-selected-check-dell"
|
|
1889
1889
|
for="select-checkbox-expanded-selected-check-dell-input"
|
|
1890
1890
|
>
|
|
1891
1891
|
<input
|
|
1892
|
-
class="pf-
|
|
1892
|
+
class="pf-v6-c-check__input"
|
|
1893
1893
|
type="checkbox"
|
|
1894
1894
|
id="select-checkbox-expanded-selected-check-dell-input"
|
|
1895
1895
|
name="select-checkbox-expanded-selected-check-dell-input"
|
|
1896
1896
|
/>
|
|
1897
|
-
<span class="pf-
|
|
1897
|
+
<span class="pf-v6-c-check__label">Dell</span>
|
|
1898
1898
|
</label>
|
|
1899
1899
|
<label
|
|
1900
|
-
class="pf-
|
|
1900
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1901
1901
|
id="select-checkbox-expanded-selected-check-Samsung"
|
|
1902
1902
|
for="select-checkbox-expanded-selected-check-Samsung-input"
|
|
1903
1903
|
>
|
|
1904
1904
|
<input
|
|
1905
|
-
class="pf-
|
|
1905
|
+
class="pf-v6-c-check__input"
|
|
1906
1906
|
type="checkbox"
|
|
1907
1907
|
id="select-checkbox-expanded-selected-check-Samsung-input"
|
|
1908
1908
|
name="select-checkbox-expanded-selected-check-Samsung-input"
|
|
1909
1909
|
disabled
|
|
1910
1910
|
/>
|
|
1911
|
-
<span class="pf-
|
|
1911
|
+
<span class="pf-v6-c-check__label pf-m-disabled">Samsung</span>
|
|
1912
1912
|
</label>
|
|
1913
1913
|
<label
|
|
1914
|
-
class="pf-
|
|
1914
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1915
1915
|
id="select-checkbox-expanded-selected-check-Hp"
|
|
1916
1916
|
for="select-checkbox-expanded-selected-check-Hp-input"
|
|
1917
1917
|
>
|
|
1918
1918
|
<input
|
|
1919
|
-
class="pf-
|
|
1919
|
+
class="pf-v6-c-check__input"
|
|
1920
1920
|
type="checkbox"
|
|
1921
1921
|
id="select-checkbox-expanded-selected-check-Hp-input"
|
|
1922
1922
|
name="select-checkbox-expanded-selected-check-Hp-input"
|
|
1923
1923
|
/>
|
|
1924
|
-
<span class="pf-
|
|
1924
|
+
<span class="pf-v6-c-check__label">Hewlett-Packard</span>
|
|
1925
1925
|
</label>
|
|
1926
1926
|
</fieldset>
|
|
1927
1927
|
</div>
|
|
@@ -1933,38 +1933,38 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1933
1933
|
### Checkbox expanded and selected with groups and filter
|
|
1934
1934
|
|
|
1935
1935
|
```html
|
|
1936
|
-
<div class="pf-
|
|
1936
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
1937
1937
|
<span
|
|
1938
1938
|
id="select-checkbox-expanded-selected-filter-example-label"
|
|
1939
1939
|
hidden
|
|
1940
1940
|
>Choose many</span>
|
|
1941
1941
|
|
|
1942
1942
|
<button
|
|
1943
|
-
class="pf-
|
|
1943
|
+
class="pf-v6-c-select__toggle"
|
|
1944
1944
|
type="button"
|
|
1945
1945
|
id="select-checkbox-expanded-selected-filter-example-toggle"
|
|
1946
1946
|
aria-haspopup="true"
|
|
1947
1947
|
aria-expanded="true"
|
|
1948
1948
|
aria-labelledby="select-checkbox-expanded-selected-filter-example-label select-checkbox-expanded-selected-filter-example-toggle"
|
|
1949
1949
|
>
|
|
1950
|
-
<div class="pf-
|
|
1951
|
-
<span class="pf-
|
|
1950
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
1951
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
1952
1952
|
</div>
|
|
1953
|
-
<span class="pf-
|
|
1953
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
1954
1954
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1955
1955
|
</span>
|
|
1956
1956
|
</button>
|
|
1957
1957
|
|
|
1958
|
-
<div class="pf-
|
|
1959
|
-
<div class="pf-
|
|
1960
|
-
<div class="pf-
|
|
1961
|
-
<div class="pf-
|
|
1962
|
-
<span class="pf-
|
|
1963
|
-
<span class="pf-
|
|
1958
|
+
<div class="pf-v6-c-select__menu">
|
|
1959
|
+
<div class="pf-v6-c-select__menu-search">
|
|
1960
|
+
<div class="pf-v6-c-text-input-group">
|
|
1961
|
+
<div class="pf-v6-c-text-input-group__main pf-m-icon">
|
|
1962
|
+
<span class="pf-v6-c-text-input-group__text">
|
|
1963
|
+
<span class="pf-v6-c-text-input-group__icon">
|
|
1964
1964
|
<i class="fas fa-fw fa-search"></i>
|
|
1965
1965
|
</span>
|
|
1966
1966
|
<input
|
|
1967
|
-
class="pf-
|
|
1967
|
+
class="pf-v6-c-text-input-group__text-input"
|
|
1968
1968
|
type="text"
|
|
1969
1969
|
placeholder="Search"
|
|
1970
1970
|
value
|
|
@@ -1974,134 +1974,134 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1974
1974
|
</div>
|
|
1975
1975
|
</div>
|
|
1976
1976
|
</div>
|
|
1977
|
-
<hr class="pf-
|
|
1978
|
-
<div class="pf-
|
|
1977
|
+
<hr class="pf-v6-c-divider" />
|
|
1978
|
+
<div class="pf-v6-c-select__menu-group">
|
|
1979
1979
|
<div
|
|
1980
|
-
class="pf-
|
|
1980
|
+
class="pf-v6-c-select__menu-group-title"
|
|
1981
1981
|
aria-hidden="true"
|
|
1982
1982
|
id="select-checkbox-expanded-selected-filter-example-group-status"
|
|
1983
1983
|
>Status</div>
|
|
1984
1984
|
<fieldset
|
|
1985
|
-
class="pf-
|
|
1985
|
+
class="pf-v6-c-select__menu-fieldset"
|
|
1986
1986
|
aria-labelledby="select-checkbox-expanded-selected-filter-example-group-status"
|
|
1987
1987
|
>
|
|
1988
1988
|
<label
|
|
1989
|
-
class="pf-
|
|
1989
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
1990
1990
|
id="select-checkbox-expanded-selected-filter-example-check-running"
|
|
1991
1991
|
for="select-checkbox-expanded-selected-filter-example-check-running-input"
|
|
1992
1992
|
>
|
|
1993
1993
|
<input
|
|
1994
|
-
class="pf-
|
|
1994
|
+
class="pf-v6-c-check__input"
|
|
1995
1995
|
type="checkbox"
|
|
1996
1996
|
id="select-checkbox-expanded-selected-filter-example-check-running-input"
|
|
1997
1997
|
name="select-checkbox-expanded-selected-filter-example-check-running-input"
|
|
1998
1998
|
/>
|
|
1999
|
-
<span class="pf-
|
|
1999
|
+
<span class="pf-v6-c-check__label">Running</span>
|
|
2000
2000
|
</label>
|
|
2001
2001
|
<label
|
|
2002
|
-
class="pf-
|
|
2002
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2003
2003
|
id="select-checkbox-expanded-selected-filter-example-check-stopped"
|
|
2004
2004
|
for="select-checkbox-expanded-selected-filter-example-check-stopped-input"
|
|
2005
2005
|
>
|
|
2006
2006
|
<input
|
|
2007
|
-
class="pf-
|
|
2007
|
+
class="pf-v6-c-check__input"
|
|
2008
2008
|
type="checkbox"
|
|
2009
2009
|
id="select-checkbox-expanded-selected-filter-example-check-stopped-input"
|
|
2010
2010
|
name="select-checkbox-expanded-selected-filter-example-check-stopped-input"
|
|
2011
2011
|
/>
|
|
2012
|
-
<span class="pf-
|
|
2012
|
+
<span class="pf-v6-c-check__label">Stopped</span>
|
|
2013
2013
|
</label>
|
|
2014
2014
|
<label
|
|
2015
|
-
class="pf-
|
|
2015
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2016
2016
|
id="select-checkbox-expanded-selected-filter-example-check-down"
|
|
2017
2017
|
for="select-checkbox-expanded-selected-filter-example-check-down-input"
|
|
2018
2018
|
>
|
|
2019
2019
|
<input
|
|
2020
|
-
class="pf-
|
|
2020
|
+
class="pf-v6-c-check__input"
|
|
2021
2021
|
type="checkbox"
|
|
2022
2022
|
id="select-checkbox-expanded-selected-filter-example-check-down-input"
|
|
2023
2023
|
name="select-checkbox-expanded-selected-filter-example-check-down-input"
|
|
2024
2024
|
/>
|
|
2025
|
-
<span class="pf-
|
|
2025
|
+
<span class="pf-v6-c-check__label">Down</span>
|
|
2026
2026
|
</label>
|
|
2027
2027
|
<label
|
|
2028
|
-
class="pf-
|
|
2028
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2029
2029
|
id="select-checkbox-expanded-selected-filter-example-check-degraded"
|
|
2030
2030
|
for="select-checkbox-expanded-selected-filter-example-check-degraded-input"
|
|
2031
2031
|
>
|
|
2032
2032
|
<input
|
|
2033
|
-
class="pf-
|
|
2033
|
+
class="pf-v6-c-check__input"
|
|
2034
2034
|
type="checkbox"
|
|
2035
2035
|
id="select-checkbox-expanded-selected-filter-example-check-degraded-input"
|
|
2036
2036
|
name="select-checkbox-expanded-selected-filter-example-check-degraded-input"
|
|
2037
2037
|
/>
|
|
2038
|
-
<span class="pf-
|
|
2038
|
+
<span class="pf-v6-c-check__label">Degraded</span>
|
|
2039
2039
|
</label>
|
|
2040
2040
|
<label
|
|
2041
|
-
class="pf-
|
|
2041
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2042
2042
|
id="select-checkbox-expanded-selected-filter-example-check-needs-maintenance"
|
|
2043
2043
|
for="select-checkbox-expanded-selected-filter-example-check-needs-maintenance-input"
|
|
2044
2044
|
>
|
|
2045
2045
|
<input
|
|
2046
|
-
class="pf-
|
|
2046
|
+
class="pf-v6-c-check__input"
|
|
2047
2047
|
type="checkbox"
|
|
2048
2048
|
id="select-checkbox-expanded-selected-filter-example-check-needs-maintenance-input"
|
|
2049
2049
|
name="select-checkbox-expanded-selected-filter-example-check-needs-maintenance-input"
|
|
2050
2050
|
checked
|
|
2051
2051
|
/>
|
|
2052
|
-
<span class="pf-
|
|
2052
|
+
<span class="pf-v6-c-check__label">Needs maintenance</span>
|
|
2053
2053
|
</label>
|
|
2054
2054
|
</fieldset>
|
|
2055
2055
|
</div>
|
|
2056
|
-
<div class="pf-
|
|
2056
|
+
<div class="pf-v6-c-select__menu-group">
|
|
2057
2057
|
<div
|
|
2058
|
-
class="pf-
|
|
2058
|
+
class="pf-v6-c-select__menu-group-title"
|
|
2059
2059
|
aria-hidden="true"
|
|
2060
2060
|
id="select-checkbox-expanded-selected-filter-example-group-vendor"
|
|
2061
2061
|
>Vendor</div>
|
|
2062
2062
|
<fieldset
|
|
2063
|
-
class="pf-
|
|
2063
|
+
class="pf-v6-c-select__menu-fieldset"
|
|
2064
2064
|
aria-labelledby="select-checkbox-expanded-selected-filter-example-group-vendor"
|
|
2065
2065
|
>
|
|
2066
2066
|
<label
|
|
2067
|
-
class="pf-
|
|
2067
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2068
2068
|
id="select-checkbox-expanded-selected-filter-example-check-dell"
|
|
2069
2069
|
for="select-checkbox-expanded-selected-filter-example-check-dell-input"
|
|
2070
2070
|
>
|
|
2071
2071
|
<input
|
|
2072
|
-
class="pf-
|
|
2072
|
+
class="pf-v6-c-check__input"
|
|
2073
2073
|
type="checkbox"
|
|
2074
2074
|
id="select-checkbox-expanded-selected-filter-example-check-dell-input"
|
|
2075
2075
|
name="select-checkbox-expanded-selected-filter-example-check-dell-input"
|
|
2076
2076
|
/>
|
|
2077
|
-
<span class="pf-
|
|
2077
|
+
<span class="pf-v6-c-check__label">Dell</span>
|
|
2078
2078
|
</label>
|
|
2079
2079
|
<label
|
|
2080
|
-
class="pf-
|
|
2080
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2081
2081
|
id="select-checkbox-expanded-selected-filter-example-check-Samsung"
|
|
2082
2082
|
for="select-checkbox-expanded-selected-filter-example-check-Samsung-input"
|
|
2083
2083
|
>
|
|
2084
2084
|
<input
|
|
2085
|
-
class="pf-
|
|
2085
|
+
class="pf-v6-c-check__input"
|
|
2086
2086
|
type="checkbox"
|
|
2087
2087
|
id="select-checkbox-expanded-selected-filter-example-check-Samsung-input"
|
|
2088
2088
|
name="select-checkbox-expanded-selected-filter-example-check-Samsung-input"
|
|
2089
2089
|
disabled
|
|
2090
2090
|
/>
|
|
2091
|
-
<span class="pf-
|
|
2091
|
+
<span class="pf-v6-c-check__label pf-m-disabled">Samsung</span>
|
|
2092
2092
|
</label>
|
|
2093
2093
|
<label
|
|
2094
|
-
class="pf-
|
|
2094
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2095
2095
|
id="select-checkbox-expanded-selected-filter-example-check-Hp"
|
|
2096
2096
|
for="select-checkbox-expanded-selected-filter-example-check-Hp-input"
|
|
2097
2097
|
>
|
|
2098
2098
|
<input
|
|
2099
|
-
class="pf-
|
|
2099
|
+
class="pf-v6-c-check__input"
|
|
2100
2100
|
type="checkbox"
|
|
2101
2101
|
id="select-checkbox-expanded-selected-filter-example-check-Hp-input"
|
|
2102
2102
|
name="select-checkbox-expanded-selected-filter-example-check-Hp-input"
|
|
2103
2103
|
/>
|
|
2104
|
-
<span class="pf-
|
|
2104
|
+
<span class="pf-v6-c-check__label">Hewlett-Packard</span>
|
|
2105
2105
|
</label>
|
|
2106
2106
|
</fieldset>
|
|
2107
2107
|
</div>
|
|
@@ -2113,94 +2113,94 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
2113
2113
|
### Checkbox expanded without badge
|
|
2114
2114
|
|
|
2115
2115
|
```html
|
|
2116
|
-
<div class="pf-
|
|
2116
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2117
2117
|
<span id="select-checkbox-without-badge-label" hidden>Choose many</span>
|
|
2118
2118
|
|
|
2119
2119
|
<button
|
|
2120
|
-
class="pf-
|
|
2120
|
+
class="pf-v6-c-select__toggle"
|
|
2121
2121
|
type="button"
|
|
2122
2122
|
id="select-checkbox-without-badge-toggle"
|
|
2123
2123
|
aria-haspopup="true"
|
|
2124
2124
|
aria-expanded="true"
|
|
2125
2125
|
aria-labelledby="select-checkbox-without-badge-label select-checkbox-without-badge-toggle"
|
|
2126
2126
|
>
|
|
2127
|
-
<div class="pf-
|
|
2128
|
-
<span class="pf-
|
|
2127
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2128
|
+
<span class="pf-v6-c-select__toggle-text">Filter</span>
|
|
2129
2129
|
</div>
|
|
2130
|
-
<span class="pf-
|
|
2130
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2131
2131
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2132
2132
|
</span>
|
|
2133
2133
|
</button>
|
|
2134
2134
|
|
|
2135
|
-
<div class="pf-
|
|
2136
|
-
<fieldset class="pf-
|
|
2135
|
+
<div class="pf-v6-c-select__menu">
|
|
2136
|
+
<fieldset class="pf-v6-c-select__menu-fieldset" aria-label="Select input">
|
|
2137
2137
|
<label
|
|
2138
|
-
class="pf-
|
|
2138
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2139
2139
|
id="select-checkbox-without-badge-check-active"
|
|
2140
2140
|
for="select-checkbox-without-badge-check-active-input"
|
|
2141
2141
|
>
|
|
2142
2142
|
<input
|
|
2143
|
-
class="pf-
|
|
2143
|
+
class="pf-v6-c-check__input"
|
|
2144
2144
|
type="checkbox"
|
|
2145
2145
|
id="select-checkbox-without-badge-check-active-input"
|
|
2146
2146
|
name="select-checkbox-without-badge-check-active-input"
|
|
2147
2147
|
checked
|
|
2148
2148
|
/>
|
|
2149
|
-
<span class="pf-
|
|
2149
|
+
<span class="pf-v6-c-check__label">Active</span>
|
|
2150
2150
|
</label>
|
|
2151
2151
|
<label
|
|
2152
|
-
class="pf-
|
|
2152
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2153
2153
|
id="select-checkbox-without-badge-check-canceled"
|
|
2154
2154
|
for="select-checkbox-without-badge-check-canceled-input"
|
|
2155
2155
|
>
|
|
2156
2156
|
<input
|
|
2157
|
-
class="pf-
|
|
2157
|
+
class="pf-v6-c-check__input"
|
|
2158
2158
|
type="checkbox"
|
|
2159
2159
|
id="select-checkbox-without-badge-check-canceled-input"
|
|
2160
2160
|
name="select-checkbox-without-badge-check-canceled-input"
|
|
2161
2161
|
checked
|
|
2162
2162
|
/>
|
|
2163
|
-
<span class="pf-
|
|
2163
|
+
<span class="pf-v6-c-check__label">Canceled</span>
|
|
2164
2164
|
</label>
|
|
2165
2165
|
<label
|
|
2166
|
-
class="pf-
|
|
2166
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2167
2167
|
id="select-checkbox-without-badge-check-paused"
|
|
2168
2168
|
for="select-checkbox-without-badge-check-paused-input"
|
|
2169
2169
|
>
|
|
2170
2170
|
<input
|
|
2171
|
-
class="pf-
|
|
2171
|
+
class="pf-v6-c-check__input"
|
|
2172
2172
|
type="checkbox"
|
|
2173
2173
|
id="select-checkbox-without-badge-check-paused-input"
|
|
2174
2174
|
name="select-checkbox-without-badge-check-paused-input"
|
|
2175
2175
|
/>
|
|
2176
|
-
<span class="pf-
|
|
2176
|
+
<span class="pf-v6-c-check__label">Paused</span>
|
|
2177
2177
|
</label>
|
|
2178
2178
|
<label
|
|
2179
|
-
class="pf-
|
|
2179
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2180
2180
|
id="select-checkbox-without-badge-check-warning"
|
|
2181
2181
|
for="select-checkbox-without-badge-check-warning-input"
|
|
2182
2182
|
>
|
|
2183
2183
|
<input
|
|
2184
|
-
class="pf-
|
|
2184
|
+
class="pf-v6-c-check__input"
|
|
2185
2185
|
type="checkbox"
|
|
2186
2186
|
id="select-checkbox-without-badge-check-warning-input"
|
|
2187
2187
|
name="select-checkbox-without-badge-check-warning-input"
|
|
2188
2188
|
checked
|
|
2189
2189
|
/>
|
|
2190
|
-
<span class="pf-
|
|
2190
|
+
<span class="pf-v6-c-check__label">Warning</span>
|
|
2191
2191
|
</label>
|
|
2192
2192
|
<label
|
|
2193
|
-
class="pf-
|
|
2193
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2194
2194
|
id="select-checkbox-without-badge-check-restarted"
|
|
2195
2195
|
for="select-checkbox-without-badge-check-restarted-input"
|
|
2196
2196
|
>
|
|
2197
2197
|
<input
|
|
2198
|
-
class="pf-
|
|
2198
|
+
class="pf-v6-c-check__input"
|
|
2199
2199
|
type="checkbox"
|
|
2200
2200
|
id="select-checkbox-without-badge-check-restarted-input"
|
|
2201
2201
|
name="select-checkbox-without-badge-check-restarted-input"
|
|
2202
2202
|
/>
|
|
2203
|
-
<span class="pf-
|
|
2203
|
+
<span class="pf-v6-c-check__label">Restarted</span>
|
|
2204
2204
|
</label>
|
|
2205
2205
|
</fieldset>
|
|
2206
2206
|
</div>
|
|
@@ -2211,116 +2211,116 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
2211
2211
|
### Checkbox with counts
|
|
2212
2212
|
|
|
2213
2213
|
```html
|
|
2214
|
-
<div class="pf-
|
|
2214
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2215
2215
|
<span id="select-checkbox-counts-label" hidden>Choose many</span>
|
|
2216
2216
|
|
|
2217
2217
|
<button
|
|
2218
|
-
class="pf-
|
|
2218
|
+
class="pf-v6-c-select__toggle"
|
|
2219
2219
|
type="button"
|
|
2220
2220
|
id="select-checkbox-counts-toggle"
|
|
2221
2221
|
aria-haspopup="true"
|
|
2222
2222
|
aria-expanded="true"
|
|
2223
2223
|
aria-labelledby="select-checkbox-counts-label select-checkbox-counts-toggle"
|
|
2224
2224
|
>
|
|
2225
|
-
<div class="pf-
|
|
2226
|
-
<span class="pf-
|
|
2225
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2226
|
+
<span class="pf-v6-c-select__toggle-text">Filter</span>
|
|
2227
2227
|
</div>
|
|
2228
|
-
<span class="pf-
|
|
2228
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2229
2229
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2230
2230
|
</span>
|
|
2231
2231
|
</button>
|
|
2232
2232
|
|
|
2233
|
-
<div class="pf-
|
|
2234
|
-
<fieldset class="pf-
|
|
2233
|
+
<div class="pf-v6-c-select__menu">
|
|
2234
|
+
<fieldset class="pf-v6-c-select__menu-fieldset" aria-label="Select input">
|
|
2235
2235
|
<label
|
|
2236
|
-
class="pf-
|
|
2236
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2237
2237
|
id="select-checkbox-counts-active"
|
|
2238
2238
|
for="select-checkbox-counts-active-input"
|
|
2239
2239
|
>
|
|
2240
2240
|
<input
|
|
2241
|
-
class="pf-
|
|
2241
|
+
class="pf-v6-c-check__input"
|
|
2242
2242
|
type="checkbox"
|
|
2243
2243
|
id="select-checkbox-counts-active-input"
|
|
2244
2244
|
name="select-checkbox-counts-active-input"
|
|
2245
2245
|
/>
|
|
2246
|
-
<span class="pf-
|
|
2247
|
-
<span class="pf-
|
|
2248
|
-
<span class="pf-
|
|
2249
|
-
<span class="pf-
|
|
2246
|
+
<span class="pf-v6-c-check__label">
|
|
2247
|
+
<span class="pf-v6-c-select__menu-item-row">
|
|
2248
|
+
<span class="pf-v6-c-select__menu-item-text">Active</span>
|
|
2249
|
+
<span class="pf-v6-c-select__menu-item-count">3</span>
|
|
2250
2250
|
</span>
|
|
2251
2251
|
</span>
|
|
2252
2252
|
</label>
|
|
2253
2253
|
<label
|
|
2254
|
-
class="pf-
|
|
2254
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2255
2255
|
id="select-checkbox-counts-canceled"
|
|
2256
2256
|
for="select-checkbox-counts-canceled-input"
|
|
2257
2257
|
>
|
|
2258
2258
|
<input
|
|
2259
|
-
class="pf-
|
|
2259
|
+
class="pf-v6-c-check__input"
|
|
2260
2260
|
type="checkbox"
|
|
2261
2261
|
id="select-checkbox-counts-canceled-input"
|
|
2262
2262
|
name="select-checkbox-counts-canceled-input"
|
|
2263
2263
|
checked
|
|
2264
2264
|
/>
|
|
2265
|
-
<span class="pf-
|
|
2266
|
-
<span class="pf-
|
|
2267
|
-
<span class="pf-
|
|
2268
|
-
<span class="pf-
|
|
2265
|
+
<span class="pf-v6-c-check__label">
|
|
2266
|
+
<span class="pf-v6-c-select__menu-item-row">
|
|
2267
|
+
<span class="pf-v6-c-select__menu-item-text">Canceled</span>
|
|
2268
|
+
<span class="pf-v6-c-select__menu-item-count">1</span>
|
|
2269
2269
|
</span>
|
|
2270
2270
|
</span>
|
|
2271
2271
|
</label>
|
|
2272
2272
|
<label
|
|
2273
|
-
class="pf-
|
|
2273
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2274
2274
|
id="select-checkbox-counts-paused"
|
|
2275
2275
|
for="select-checkbox-counts-paused-input"
|
|
2276
2276
|
>
|
|
2277
2277
|
<input
|
|
2278
|
-
class="pf-
|
|
2278
|
+
class="pf-v6-c-check__input"
|
|
2279
2279
|
type="checkbox"
|
|
2280
2280
|
id="select-checkbox-counts-paused-input"
|
|
2281
2281
|
name="select-checkbox-counts-paused-input"
|
|
2282
2282
|
/>
|
|
2283
|
-
<span class="pf-
|
|
2284
|
-
<span class="pf-
|
|
2285
|
-
<span class="pf-
|
|
2286
|
-
<span class="pf-
|
|
2283
|
+
<span class="pf-v6-c-check__label">
|
|
2284
|
+
<span class="pf-v6-c-select__menu-item-row">
|
|
2285
|
+
<span class="pf-v6-c-select__menu-item-text">Paused</span>
|
|
2286
|
+
<span class="pf-v6-c-select__menu-item-count">15</span>
|
|
2287
2287
|
</span>
|
|
2288
2288
|
</span>
|
|
2289
2289
|
</label>
|
|
2290
2290
|
<label
|
|
2291
|
-
class="pf-
|
|
2291
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2292
2292
|
id="select-checkbox-counts-warning"
|
|
2293
2293
|
for="select-checkbox-counts-warning-input"
|
|
2294
2294
|
>
|
|
2295
2295
|
<input
|
|
2296
|
-
class="pf-
|
|
2296
|
+
class="pf-v6-c-check__input"
|
|
2297
2297
|
type="checkbox"
|
|
2298
2298
|
id="select-checkbox-counts-warning-input"
|
|
2299
2299
|
name="select-checkbox-counts-warning-input"
|
|
2300
2300
|
checked
|
|
2301
2301
|
/>
|
|
2302
|
-
<span class="pf-
|
|
2303
|
-
<span class="pf-
|
|
2304
|
-
<span class="pf-
|
|
2305
|
-
<span class="pf-
|
|
2302
|
+
<span class="pf-v6-c-check__label">
|
|
2303
|
+
<span class="pf-v6-c-select__menu-item-row">
|
|
2304
|
+
<span class="pf-v6-c-select__menu-item-text">Warning</span>
|
|
2305
|
+
<span class="pf-v6-c-select__menu-item-count">2</span>
|
|
2306
2306
|
</span>
|
|
2307
2307
|
</span>
|
|
2308
2308
|
</label>
|
|
2309
2309
|
<label
|
|
2310
|
-
class="pf-
|
|
2310
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2311
2311
|
id="select-checkbox-counts-restarted"
|
|
2312
2312
|
for="select-checkbox-counts-restarted-input"
|
|
2313
2313
|
>
|
|
2314
2314
|
<input
|
|
2315
|
-
class="pf-
|
|
2315
|
+
class="pf-v6-c-check__input"
|
|
2316
2316
|
type="checkbox"
|
|
2317
2317
|
id="select-checkbox-counts-restarted-input"
|
|
2318
2318
|
name="select-checkbox-counts-restarted-input"
|
|
2319
2319
|
/>
|
|
2320
|
-
<span class="pf-
|
|
2321
|
-
<span class="pf-
|
|
2322
|
-
<span class="pf-
|
|
2323
|
-
<span class="pf-
|
|
2320
|
+
<span class="pf-v6-c-check__label">
|
|
2321
|
+
<span class="pf-v6-c-select__menu-item-row">
|
|
2322
|
+
<span class="pf-v6-c-select__menu-item-text">Restarted</span>
|
|
2323
|
+
<span class="pf-v6-c-select__menu-item-count">8</span>
|
|
2324
2324
|
</span>
|
|
2325
2325
|
</span>
|
|
2326
2326
|
</label>
|
|
@@ -2361,54 +2361,54 @@ The checkbox select can select multiple items using checkboxes. The number of it
|
|
|
2361
2361
|
### Plain toggle
|
|
2362
2362
|
|
|
2363
2363
|
```html
|
|
2364
|
-
<div class="pf-
|
|
2364
|
+
<div class="pf-v6-c-select">
|
|
2365
2365
|
<span id="select-plain-label" hidden>Choose one</span>
|
|
2366
2366
|
|
|
2367
2367
|
<button
|
|
2368
|
-
class="pf-
|
|
2368
|
+
class="pf-v6-c-select__toggle pf-m-plain"
|
|
2369
2369
|
type="button"
|
|
2370
2370
|
id="select-plain-toggle"
|
|
2371
2371
|
aria-haspopup="true"
|
|
2372
2372
|
aria-expanded="false"
|
|
2373
2373
|
aria-labelledby="select-plain-label select-plain-toggle"
|
|
2374
2374
|
>
|
|
2375
|
-
<div class="pf-
|
|
2376
|
-
<span class="pf-
|
|
2375
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2376
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
2377
2377
|
</div>
|
|
2378
|
-
<span class="pf-
|
|
2378
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2379
2379
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2380
2380
|
</span>
|
|
2381
2381
|
</button>
|
|
2382
2382
|
|
|
2383
2383
|
<ul
|
|
2384
|
-
class="pf-
|
|
2384
|
+
class="pf-v6-c-select__menu"
|
|
2385
2385
|
role="listbox"
|
|
2386
2386
|
aria-labelledby="select-plain-label"
|
|
2387
2387
|
hidden
|
|
2388
2388
|
>
|
|
2389
2389
|
<li role="presentation">
|
|
2390
|
-
<button class="pf-
|
|
2390
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
2391
2391
|
</li>
|
|
2392
2392
|
<li role="presentation">
|
|
2393
2393
|
<button
|
|
2394
|
-
class="pf-
|
|
2394
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
2395
2395
|
role="option"
|
|
2396
2396
|
aria-selected="true"
|
|
2397
2397
|
>
|
|
2398
2398
|
Stopped
|
|
2399
|
-
<span class="pf-
|
|
2399
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
2400
2400
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
2401
2401
|
</span>
|
|
2402
2402
|
</button>
|
|
2403
2403
|
</li>
|
|
2404
2404
|
<li role="presentation">
|
|
2405
|
-
<button class="pf-
|
|
2405
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
2406
2406
|
</li>
|
|
2407
2407
|
<li role="presentation">
|
|
2408
|
-
<button class="pf-
|
|
2408
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
2409
2409
|
</li>
|
|
2410
2410
|
<li role="presentation">
|
|
2411
|
-
<button class="pf-
|
|
2411
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
2412
2412
|
</li>
|
|
2413
2413
|
</ul>
|
|
2414
2414
|
</div>
|
|
@@ -2418,53 +2418,53 @@ The checkbox select can select multiple items using checkboxes. The number of it
|
|
|
2418
2418
|
### Plain toggle expanded
|
|
2419
2419
|
|
|
2420
2420
|
```html
|
|
2421
|
-
<div class="pf-
|
|
2421
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2422
2422
|
<span id="select-plain-expanded-label" hidden>Choose one</span>
|
|
2423
2423
|
|
|
2424
2424
|
<button
|
|
2425
|
-
class="pf-
|
|
2425
|
+
class="pf-v6-c-select__toggle pf-m-plain"
|
|
2426
2426
|
type="button"
|
|
2427
2427
|
id="select-plain-expanded-toggle"
|
|
2428
2428
|
aria-haspopup="true"
|
|
2429
2429
|
aria-expanded="true"
|
|
2430
2430
|
aria-labelledby="select-plain-expanded-label select-plain-expanded-toggle"
|
|
2431
2431
|
>
|
|
2432
|
-
<div class="pf-
|
|
2433
|
-
<span class="pf-
|
|
2432
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2433
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
2434
2434
|
</div>
|
|
2435
|
-
<span class="pf-
|
|
2435
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2436
2436
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2437
2437
|
</span>
|
|
2438
2438
|
</button>
|
|
2439
2439
|
|
|
2440
2440
|
<ul
|
|
2441
|
-
class="pf-
|
|
2441
|
+
class="pf-v6-c-select__menu"
|
|
2442
2442
|
role="listbox"
|
|
2443
2443
|
aria-labelledby="select-plain-expanded-label"
|
|
2444
2444
|
>
|
|
2445
2445
|
<li role="presentation">
|
|
2446
|
-
<button class="pf-
|
|
2446
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
2447
2447
|
</li>
|
|
2448
2448
|
<li role="presentation">
|
|
2449
2449
|
<button
|
|
2450
|
-
class="pf-
|
|
2450
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
2451
2451
|
role="option"
|
|
2452
2452
|
aria-selected="true"
|
|
2453
2453
|
>
|
|
2454
2454
|
Stopped
|
|
2455
|
-
<span class="pf-
|
|
2455
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
2456
2456
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
2457
2457
|
</span>
|
|
2458
2458
|
</button>
|
|
2459
2459
|
</li>
|
|
2460
2460
|
<li role="presentation">
|
|
2461
|
-
<button class="pf-
|
|
2461
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
2462
2462
|
</li>
|
|
2463
2463
|
<li role="presentation">
|
|
2464
|
-
<button class="pf-
|
|
2464
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
2465
2465
|
</li>
|
|
2466
2466
|
<li role="presentation">
|
|
2467
|
-
<button class="pf-
|
|
2467
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
2468
2468
|
</li>
|
|
2469
2469
|
</ul>
|
|
2470
2470
|
</div>
|
|
@@ -2493,57 +2493,57 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2493
2493
|
### Toggle icon
|
|
2494
2494
|
|
|
2495
2495
|
```html
|
|
2496
|
-
<div class="pf-
|
|
2496
|
+
<div class="pf-v6-c-select">
|
|
2497
2497
|
<span id="select-icon-label" hidden>Choose one</span>
|
|
2498
2498
|
|
|
2499
2499
|
<button
|
|
2500
|
-
class="pf-
|
|
2500
|
+
class="pf-v6-c-select__toggle"
|
|
2501
2501
|
type="button"
|
|
2502
2502
|
id="select-icon-toggle"
|
|
2503
2503
|
aria-haspopup="true"
|
|
2504
2504
|
aria-expanded="false"
|
|
2505
2505
|
aria-labelledby="select-icon-label select-icon-toggle"
|
|
2506
2506
|
>
|
|
2507
|
-
<div class="pf-
|
|
2508
|
-
<span class="pf-
|
|
2507
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2508
|
+
<span class="pf-v6-c-select__toggle-icon">
|
|
2509
2509
|
<i class="fas fa-filter" aria-hidden="true"></i>
|
|
2510
2510
|
</span>
|
|
2511
|
-
<span class="pf-
|
|
2511
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
2512
2512
|
</div>
|
|
2513
|
-
<span class="pf-
|
|
2513
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2514
2514
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2515
2515
|
</span>
|
|
2516
2516
|
</button>
|
|
2517
2517
|
|
|
2518
2518
|
<ul
|
|
2519
|
-
class="pf-
|
|
2519
|
+
class="pf-v6-c-select__menu"
|
|
2520
2520
|
role="listbox"
|
|
2521
2521
|
aria-labelledby="select-icon-label"
|
|
2522
2522
|
hidden
|
|
2523
2523
|
>
|
|
2524
2524
|
<li role="presentation">
|
|
2525
|
-
<button class="pf-
|
|
2525
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
2526
2526
|
</li>
|
|
2527
2527
|
<li role="presentation">
|
|
2528
2528
|
<button
|
|
2529
|
-
class="pf-
|
|
2529
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
2530
2530
|
role="option"
|
|
2531
2531
|
aria-selected="true"
|
|
2532
2532
|
>
|
|
2533
2533
|
Stopped
|
|
2534
|
-
<span class="pf-
|
|
2534
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
2535
2535
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
2536
2536
|
</span>
|
|
2537
2537
|
</button>
|
|
2538
2538
|
</li>
|
|
2539
2539
|
<li role="presentation">
|
|
2540
|
-
<button class="pf-
|
|
2540
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
2541
2541
|
</li>
|
|
2542
2542
|
<li role="presentation">
|
|
2543
|
-
<button class="pf-
|
|
2543
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
2544
2544
|
</li>
|
|
2545
2545
|
<li role="presentation">
|
|
2546
|
-
<button class="pf-
|
|
2546
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
2547
2547
|
</li>
|
|
2548
2548
|
</ul>
|
|
2549
2549
|
</div>
|
|
@@ -2571,27 +2571,27 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2571
2571
|
### Panel menu
|
|
2572
2572
|
|
|
2573
2573
|
```html
|
|
2574
|
-
<div class="pf-
|
|
2574
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2575
2575
|
<span id="select-panel-label" hidden>Choose one</span>
|
|
2576
2576
|
|
|
2577
2577
|
<button
|
|
2578
|
-
class="pf-
|
|
2578
|
+
class="pf-v6-c-select__toggle"
|
|
2579
2579
|
type="button"
|
|
2580
2580
|
id="select-panel-toggle"
|
|
2581
2581
|
aria-haspopup="true"
|
|
2582
2582
|
aria-expanded="true"
|
|
2583
2583
|
aria-labelledby="select-panel-label select-panel-toggle"
|
|
2584
2584
|
>
|
|
2585
|
-
<div class="pf-
|
|
2586
|
-
<span class="pf-
|
|
2585
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2586
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
2587
2587
|
</div>
|
|
2588
|
-
<span class="pf-
|
|
2588
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2589
2589
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2590
2590
|
</span>
|
|
2591
2591
|
</button>
|
|
2592
2592
|
|
|
2593
2593
|
<div
|
|
2594
|
-
class="pf-
|
|
2594
|
+
class="pf-v6-c-select__menu"
|
|
2595
2595
|
aria-labelledby="select-panel-label"
|
|
2596
2596
|
>[Panel contents here]</div>
|
|
2597
2597
|
</div>
|
|
@@ -2613,81 +2613,81 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2613
2613
|
### Item description
|
|
2614
2614
|
|
|
2615
2615
|
```html
|
|
2616
|
-
<div class="pf-
|
|
2616
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2617
2617
|
<span id="select-with-description-label" hidden>Choose one</span>
|
|
2618
2618
|
|
|
2619
2619
|
<button
|
|
2620
|
-
class="pf-
|
|
2620
|
+
class="pf-v6-c-select__toggle"
|
|
2621
2621
|
type="button"
|
|
2622
2622
|
id="select-with-description-toggle"
|
|
2623
2623
|
aria-haspopup="true"
|
|
2624
2624
|
aria-expanded="true"
|
|
2625
2625
|
aria-labelledby="select-with-description-label select-with-description-toggle"
|
|
2626
2626
|
>
|
|
2627
|
-
<div class="pf-
|
|
2628
|
-
<span class="pf-
|
|
2627
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2628
|
+
<span class="pf-v6-c-select__toggle-text">Select with description</span>
|
|
2629
2629
|
</div>
|
|
2630
|
-
<span class="pf-
|
|
2630
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2631
2631
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2632
2632
|
</span>
|
|
2633
2633
|
</button>
|
|
2634
2634
|
|
|
2635
2635
|
<ul
|
|
2636
|
-
class="pf-
|
|
2636
|
+
class="pf-v6-c-select__menu"
|
|
2637
2637
|
role="listbox"
|
|
2638
2638
|
aria-labelledby="select-with-description-label"
|
|
2639
2639
|
>
|
|
2640
2640
|
<li role="presentation">
|
|
2641
|
-
<button class="pf-
|
|
2641
|
+
<button class="pf-v6-c-select__menu-item" role="option">Menu item</button>
|
|
2642
2642
|
</li>
|
|
2643
2643
|
<li role="presentation">
|
|
2644
|
-
<button class="pf-
|
|
2645
|
-
<span class="pf-
|
|
2644
|
+
<button class="pf-v6-c-select__menu-item pf-m-description" role="option">
|
|
2645
|
+
<span class="pf-v6-c-select__menu-item-main">Menu item description</span>
|
|
2646
2646
|
<span
|
|
2647
|
-
class="pf-
|
|
2647
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2648
2648
|
>This is a description.</span>
|
|
2649
2649
|
</button>
|
|
2650
2650
|
</li>
|
|
2651
2651
|
<li role="presentation">
|
|
2652
2652
|
<button
|
|
2653
|
-
class="pf-
|
|
2653
|
+
class="pf-v6-c-select__menu-item pf-m-description"
|
|
2654
2654
|
role="option"
|
|
2655
2655
|
disabled
|
|
2656
2656
|
>
|
|
2657
|
-
<span class="pf-
|
|
2657
|
+
<span class="pf-v6-c-select__menu-item-main">
|
|
2658
2658
|
<span
|
|
2659
|
-
class="pf-
|
|
2659
|
+
class="pf-v6-c-select__menu-item-main"
|
|
2660
2660
|
>Menu item description disabled</span>
|
|
2661
2661
|
</span>
|
|
2662
2662
|
<span
|
|
2663
|
-
class="pf-
|
|
2663
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2664
2664
|
>This is a description.</span>
|
|
2665
2665
|
</button>
|
|
2666
2666
|
</li>
|
|
2667
2667
|
<li role="presentation">
|
|
2668
2668
|
<button
|
|
2669
|
-
class="pf-
|
|
2669
|
+
class="pf-v6-c-select__menu-item pf-m-selected pf-m-description"
|
|
2670
2670
|
role="option"
|
|
2671
2671
|
aria-selected="true"
|
|
2672
2672
|
>
|
|
2673
|
-
<span class="pf-
|
|
2673
|
+
<span class="pf-v6-c-select__menu-item-main">
|
|
2674
2674
|
Menu item description selected
|
|
2675
2675
|
<span
|
|
2676
|
-
class="pf-
|
|
2676
|
+
class="pf-v6-c-select__menu-item-icon"
|
|
2677
2677
|
>
|
|
2678
2678
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
2679
2679
|
</span>
|
|
2680
2680
|
</span>
|
|
2681
2681
|
<span
|
|
2682
|
-
class="pf-
|
|
2682
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2683
2683
|
>This is a description.</span>
|
|
2684
2684
|
</button>
|
|
2685
2685
|
</li>
|
|
2686
2686
|
<li role="presentation">
|
|
2687
|
-
<button class="pf-
|
|
2688
|
-
<span class="pf-
|
|
2687
|
+
<button class="pf-v6-c-select__menu-item pf-m-description" role="option">
|
|
2688
|
+
<span class="pf-v6-c-select__menu-item-main">Menu item long description</span>
|
|
2689
2689
|
<span
|
|
2690
|
-
class="pf-
|
|
2690
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2691
2691
|
>This is a really long description that describes the menu item. This is a really long description that describes the menu item.</span>
|
|
2692
2692
|
</button>
|
|
2693
2693
|
</li>
|
|
@@ -2699,101 +2699,101 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2699
2699
|
### Checkbox item description
|
|
2700
2700
|
|
|
2701
2701
|
```html
|
|
2702
|
-
<div class="pf-
|
|
2702
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2703
2703
|
<span id="select-checkbox-description-label" hidden>Choose many</span>
|
|
2704
2704
|
|
|
2705
2705
|
<button
|
|
2706
|
-
class="pf-
|
|
2706
|
+
class="pf-v6-c-select__toggle"
|
|
2707
2707
|
type="button"
|
|
2708
2708
|
id="select-checkbox-description-toggle"
|
|
2709
2709
|
aria-haspopup="true"
|
|
2710
2710
|
aria-expanded="true"
|
|
2711
2711
|
aria-labelledby="select-checkbox-description-label select-checkbox-description-toggle"
|
|
2712
2712
|
>
|
|
2713
|
-
<div class="pf-
|
|
2714
|
-
<span class="pf-
|
|
2713
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2714
|
+
<span class="pf-v6-c-select__toggle-text">Filter</span>
|
|
2715
2715
|
</div>
|
|
2716
|
-
<span class="pf-
|
|
2716
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2717
2717
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2718
2718
|
</span>
|
|
2719
2719
|
</button>
|
|
2720
2720
|
|
|
2721
|
-
<div class="pf-
|
|
2722
|
-
<fieldset class="pf-
|
|
2721
|
+
<div class="pf-v6-c-select__menu">
|
|
2722
|
+
<fieldset class="pf-v6-c-select__menu-fieldset" aria-label="Select input">
|
|
2723
2723
|
<label
|
|
2724
|
-
class="pf-
|
|
2724
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item pf-m-description"
|
|
2725
2725
|
id="select-checkbox-description-active"
|
|
2726
2726
|
for="select-checkbox-description-active-input"
|
|
2727
2727
|
>
|
|
2728
2728
|
<input
|
|
2729
|
-
class="pf-
|
|
2729
|
+
class="pf-v6-c-check__input"
|
|
2730
2730
|
type="checkbox"
|
|
2731
2731
|
aria-describedby="select-checkbox-description-active-description"
|
|
2732
2732
|
id="select-checkbox-description-active-input"
|
|
2733
2733
|
name="select-checkbox-description-active-input"
|
|
2734
2734
|
/>
|
|
2735
|
-
<span class="pf-
|
|
2735
|
+
<span class="pf-v6-c-check__label">Active</span>
|
|
2736
2736
|
<span
|
|
2737
|
-
class="pf-
|
|
2737
|
+
class="pf-v6-c-check__description"
|
|
2738
2738
|
id="select-checkbox-description-active-description"
|
|
2739
2739
|
>This is a description</span>
|
|
2740
2740
|
</label>
|
|
2741
2741
|
<label
|
|
2742
|
-
class="pf-
|
|
2742
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item pf-m-description"
|
|
2743
2743
|
id="select-checkbox-description-canceled"
|
|
2744
2744
|
for="select-checkbox-description-canceled-input"
|
|
2745
2745
|
>
|
|
2746
2746
|
<input
|
|
2747
|
-
class="pf-
|
|
2747
|
+
class="pf-v6-c-check__input"
|
|
2748
2748
|
type="checkbox"
|
|
2749
2749
|
aria-describedby="select-checkbox-description-canceled-description"
|
|
2750
2750
|
id="select-checkbox-description-canceled-input"
|
|
2751
2751
|
name="select-checkbox-description-canceled-input"
|
|
2752
2752
|
/>
|
|
2753
|
-
<span class="pf-
|
|
2753
|
+
<span class="pf-v6-c-check__label">Canceled</span>
|
|
2754
2754
|
<span
|
|
2755
|
-
class="pf-
|
|
2755
|
+
class="pf-v6-c-check__description"
|
|
2756
2756
|
id="select-checkbox-description-canceled-description"
|
|
2757
2757
|
>This is a really long description that describes the menu item. This is a really long description that describes the menu item.</span>
|
|
2758
2758
|
</label>
|
|
2759
2759
|
<label
|
|
2760
|
-
class="pf-
|
|
2760
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2761
2761
|
id="select-checkbox-description-paused"
|
|
2762
2762
|
for="select-checkbox-description-paused-input"
|
|
2763
2763
|
>
|
|
2764
2764
|
<input
|
|
2765
|
-
class="pf-
|
|
2765
|
+
class="pf-v6-c-check__input"
|
|
2766
2766
|
type="checkbox"
|
|
2767
2767
|
id="select-checkbox-description-paused-input"
|
|
2768
2768
|
name="select-checkbox-description-paused-input"
|
|
2769
2769
|
/>
|
|
2770
|
-
<span class="pf-
|
|
2770
|
+
<span class="pf-v6-c-check__label">Paused</span>
|
|
2771
2771
|
</label>
|
|
2772
2772
|
<label
|
|
2773
|
-
class="pf-
|
|
2773
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2774
2774
|
id="select-checkbox-description-warning"
|
|
2775
2775
|
for="select-checkbox-description-warning-input"
|
|
2776
2776
|
>
|
|
2777
2777
|
<input
|
|
2778
|
-
class="pf-
|
|
2778
|
+
class="pf-v6-c-check__input"
|
|
2779
2779
|
type="checkbox"
|
|
2780
2780
|
id="select-checkbox-description-warning-input"
|
|
2781
2781
|
name="select-checkbox-description-warning-input"
|
|
2782
2782
|
/>
|
|
2783
|
-
<span class="pf-
|
|
2783
|
+
<span class="pf-v6-c-check__label">Warning</span>
|
|
2784
2784
|
</label>
|
|
2785
2785
|
<label
|
|
2786
|
-
class="pf-
|
|
2786
|
+
class="pf-v6-c-check pf-v5-c-select__menu-item"
|
|
2787
2787
|
id="select-checkbox-description-restarted"
|
|
2788
2788
|
for="select-checkbox-description-restarted-input"
|
|
2789
2789
|
>
|
|
2790
2790
|
<input
|
|
2791
|
-
class="pf-
|
|
2791
|
+
class="pf-v6-c-check__input"
|
|
2792
2792
|
type="checkbox"
|
|
2793
2793
|
id="select-checkbox-description-restarted-input"
|
|
2794
2794
|
name="select-checkbox-description-restarted-input"
|
|
2795
2795
|
/>
|
|
2796
|
-
<span class="pf-
|
|
2796
|
+
<span class="pf-v6-c-check__label">Restarted</span>
|
|
2797
2797
|
</label>
|
|
2798
2798
|
</fieldset>
|
|
2799
2799
|
</div>
|
|
@@ -2814,35 +2814,35 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2814
2814
|
### Menu item favorites
|
|
2815
2815
|
|
|
2816
2816
|
```html
|
|
2817
|
-
<div class="pf-
|
|
2817
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
2818
2818
|
<span id="select-favorites-label" hidden>Choose one</span>
|
|
2819
2819
|
|
|
2820
2820
|
<button
|
|
2821
|
-
class="pf-
|
|
2821
|
+
class="pf-v6-c-select__toggle"
|
|
2822
2822
|
type="button"
|
|
2823
2823
|
id="select-favorites-toggle"
|
|
2824
2824
|
aria-haspopup="true"
|
|
2825
2825
|
aria-expanded="true"
|
|
2826
2826
|
aria-labelledby="select-favorites-label select-favorites-toggle"
|
|
2827
2827
|
>
|
|
2828
|
-
<div class="pf-
|
|
2829
|
-
<span class="pf-
|
|
2828
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
2829
|
+
<span class="pf-v6-c-select__toggle-text">Favorites</span>
|
|
2830
2830
|
</div>
|
|
2831
|
-
<span class="pf-
|
|
2831
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
2832
2832
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2833
2833
|
</span>
|
|
2834
2834
|
</button>
|
|
2835
2835
|
|
|
2836
|
-
<div class="pf-
|
|
2837
|
-
<div class="pf-
|
|
2838
|
-
<div class="pf-
|
|
2839
|
-
<div class="pf-
|
|
2840
|
-
<span class="pf-
|
|
2841
|
-
<span class="pf-
|
|
2836
|
+
<div class="pf-v6-c-select__menu" aria-labelledby="select-favorites-label">
|
|
2837
|
+
<div class="pf-v6-c-select__menu-search">
|
|
2838
|
+
<div class="pf-v6-c-text-input-group">
|
|
2839
|
+
<div class="pf-v6-c-text-input-group__main pf-m-icon">
|
|
2840
|
+
<span class="pf-v6-c-text-input-group__text">
|
|
2841
|
+
<span class="pf-v6-c-text-input-group__icon">
|
|
2842
2842
|
<i class="fas fa-fw fa-search"></i>
|
|
2843
2843
|
</span>
|
|
2844
2844
|
<input
|
|
2845
|
-
class="pf-
|
|
2845
|
+
class="pf-v6-c-text-input-group__text-input"
|
|
2846
2846
|
type="text"
|
|
2847
2847
|
placeholder="Search"
|
|
2848
2848
|
value
|
|
@@ -2852,173 +2852,173 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2852
2852
|
</div>
|
|
2853
2853
|
</div>
|
|
2854
2854
|
</div>
|
|
2855
|
-
<hr class="pf-
|
|
2856
|
-
<div class="pf-
|
|
2855
|
+
<hr class="pf-v6-c-divider" />
|
|
2856
|
+
<div class="pf-v6-c-select__menu-group">
|
|
2857
2857
|
<div
|
|
2858
|
-
class="pf-
|
|
2858
|
+
class="pf-v6-c-select__menu-group-title"
|
|
2859
2859
|
aria-hidden="true"
|
|
2860
2860
|
id="select-favorites-group-title-1"
|
|
2861
2861
|
>Favorites</div>
|
|
2862
2862
|
<ul role="listbox" aria-labelledby="select-favorites-group-title-1">
|
|
2863
2863
|
<li
|
|
2864
|
-
class="pf-
|
|
2864
|
+
class="pf-v6-c-select__menu-wrapper pf-m-favorite"
|
|
2865
2865
|
role="presentation"
|
|
2866
2866
|
>
|
|
2867
2867
|
<button
|
|
2868
|
-
class="pf-
|
|
2868
|
+
class="pf-v6-c-select__menu-item pf-m-link pf-m-description"
|
|
2869
2869
|
role="option"
|
|
2870
2870
|
>
|
|
2871
|
-
<span class="pf-
|
|
2871
|
+
<span class="pf-v6-c-select__menu-item-main">Item 1</span>
|
|
2872
2872
|
<span
|
|
2873
|
-
class="pf-
|
|
2873
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2874
2874
|
>This is a description.</span>
|
|
2875
2875
|
</button>
|
|
2876
2876
|
<button
|
|
2877
|
-
class="pf-
|
|
2877
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2878
2878
|
role="option"
|
|
2879
2879
|
aria-label="Starred"
|
|
2880
2880
|
>
|
|
2881
|
-
<span class="pf-
|
|
2881
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
2882
2882
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2883
2883
|
</span>
|
|
2884
2884
|
</button>
|
|
2885
2885
|
</li>
|
|
2886
2886
|
<li
|
|
2887
|
-
class="pf-
|
|
2887
|
+
class="pf-v6-c-select__menu-wrapper pf-m-favorite"
|
|
2888
2888
|
role="presentation"
|
|
2889
2889
|
>
|
|
2890
2890
|
<button
|
|
2891
|
-
class="pf-
|
|
2891
|
+
class="pf-v6-c-select__menu-item pf-m-link"
|
|
2892
2892
|
role="option"
|
|
2893
2893
|
>Item 4</button>
|
|
2894
2894
|
<button
|
|
2895
|
-
class="pf-
|
|
2895
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2896
2896
|
role="option"
|
|
2897
2897
|
aria-label="Starred"
|
|
2898
2898
|
>
|
|
2899
|
-
<span class="pf-
|
|
2899
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
2900
2900
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2901
2901
|
</span>
|
|
2902
2902
|
</button>
|
|
2903
2903
|
</li>
|
|
2904
2904
|
</ul>
|
|
2905
2905
|
</div>
|
|
2906
|
-
<hr class="pf-
|
|
2907
|
-
<div class="pf-
|
|
2906
|
+
<hr class="pf-v6-c-divider" />
|
|
2907
|
+
<div class="pf-v6-c-select__menu-group">
|
|
2908
2908
|
<div
|
|
2909
|
-
class="pf-
|
|
2909
|
+
class="pf-v6-c-select__menu-group-title"
|
|
2910
2910
|
aria-hidden="true"
|
|
2911
2911
|
id="select-favorites-group-title-2"
|
|
2912
2912
|
>Group 1</div>
|
|
2913
2913
|
<ul role="listbox" aria-labelledby="select-favorites-group-title-2">
|
|
2914
2914
|
<li
|
|
2915
|
-
class="pf-
|
|
2915
|
+
class="pf-v6-c-select__menu-wrapper pf-m-favorite"
|
|
2916
2916
|
role="presentation"
|
|
2917
2917
|
>
|
|
2918
2918
|
<button
|
|
2919
|
-
class="pf-
|
|
2919
|
+
class="pf-v6-c-select__menu-item pf-m-link pf-m-description"
|
|
2920
2920
|
role="option"
|
|
2921
2921
|
>
|
|
2922
|
-
<span class="pf-
|
|
2922
|
+
<span class="pf-v6-c-select__menu-item-main">Item 1</span>
|
|
2923
2923
|
<span
|
|
2924
|
-
class="pf-
|
|
2924
|
+
class="pf-v6-c-select__menu-item-description"
|
|
2925
2925
|
>This is a description.</span>
|
|
2926
2926
|
</button>
|
|
2927
2927
|
<button
|
|
2928
|
-
class="pf-
|
|
2928
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2929
2929
|
role="option"
|
|
2930
2930
|
aria-label="Starred"
|
|
2931
2931
|
>
|
|
2932
|
-
<span class="pf-
|
|
2932
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
2933
2933
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2934
2934
|
</span>
|
|
2935
2935
|
</button>
|
|
2936
2936
|
</li>
|
|
2937
|
-
<li class="pf-
|
|
2937
|
+
<li class="pf-v6-c-select__menu-wrapper" role="presentation">
|
|
2938
2938
|
<button
|
|
2939
|
-
class="pf-
|
|
2939
|
+
class="pf-v6-c-select__menu-item pf-m-selected pf-m-link"
|
|
2940
2940
|
role="option"
|
|
2941
2941
|
aria-selected="true"
|
|
2942
2942
|
>
|
|
2943
2943
|
Item 2
|
|
2944
|
-
<span class="pf-
|
|
2944
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
2945
2945
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
2946
2946
|
</span>
|
|
2947
2947
|
</button>
|
|
2948
2948
|
<button
|
|
2949
|
-
class="pf-
|
|
2949
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2950
2950
|
role="option"
|
|
2951
2951
|
aria-label="Not starred"
|
|
2952
2952
|
>
|
|
2953
|
-
<span class="pf-
|
|
2953
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
2954
2954
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2955
2955
|
</span>
|
|
2956
2956
|
</button>
|
|
2957
2957
|
</li>
|
|
2958
2958
|
<li
|
|
2959
|
-
class="pf-
|
|
2959
|
+
class="pf-v6-c-select__menu-wrapper pf-m-disabled"
|
|
2960
2960
|
role="presentation"
|
|
2961
2961
|
>
|
|
2962
2962
|
<button
|
|
2963
|
-
class="pf-
|
|
2963
|
+
class="pf-v6-c-select__menu-item pf-m-link"
|
|
2964
2964
|
role="option"
|
|
2965
2965
|
disabled
|
|
2966
2966
|
>Item 3 (disabled)</button>
|
|
2967
2967
|
<button
|
|
2968
|
-
class="pf-
|
|
2968
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2969
2969
|
role="option"
|
|
2970
2970
|
disabled
|
|
2971
2971
|
aria-label="Not starred"
|
|
2972
2972
|
>
|
|
2973
|
-
<span class="pf-
|
|
2973
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
2974
2974
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2975
2975
|
</span>
|
|
2976
2976
|
</button>
|
|
2977
2977
|
</li>
|
|
2978
2978
|
</ul>
|
|
2979
2979
|
</div>
|
|
2980
|
-
<hr class="pf-
|
|
2981
|
-
<div class="pf-
|
|
2980
|
+
<hr class="pf-v6-c-divider" />
|
|
2981
|
+
<div class="pf-v6-c-select__menu-group">
|
|
2982
2982
|
<div
|
|
2983
|
-
class="pf-
|
|
2983
|
+
class="pf-v6-c-select__menu-group-title"
|
|
2984
2984
|
aria-hidden="true"
|
|
2985
2985
|
id="select-favorites-group-title-3"
|
|
2986
2986
|
>Group 2</div>
|
|
2987
2987
|
<ul role="listbox" aria-labelledby="select-favorites-group-title-3">
|
|
2988
2988
|
<li
|
|
2989
|
-
class="pf-
|
|
2989
|
+
class="pf-v6-c-select__menu-wrapper pf-m-favorite"
|
|
2990
2990
|
role="presentation"
|
|
2991
2991
|
>
|
|
2992
2992
|
<button
|
|
2993
|
-
class="pf-
|
|
2993
|
+
class="pf-v6-c-select__menu-item pf-m-link"
|
|
2994
2994
|
role="option"
|
|
2995
2995
|
>Item 4</button>
|
|
2996
2996
|
<button
|
|
2997
|
-
class="pf-
|
|
2997
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
2998
2998
|
role="option"
|
|
2999
2999
|
aria-label="Starred"
|
|
3000
3000
|
>
|
|
3001
|
-
<span class="pf-
|
|
3001
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
3002
3002
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
3003
3003
|
</span>
|
|
3004
3004
|
</button>
|
|
3005
3005
|
</li>
|
|
3006
|
-
<li class="pf-
|
|
3006
|
+
<li class="pf-v6-c-select__menu-wrapper" role="presentation">
|
|
3007
3007
|
<button
|
|
3008
|
-
class="pf-
|
|
3008
|
+
class="pf-v6-c-select__menu-item pf-m-link pf-m-description"
|
|
3009
3009
|
role="option"
|
|
3010
3010
|
>
|
|
3011
|
-
<span class="pf-
|
|
3011
|
+
<span class="pf-v6-c-select__menu-item-main">Item 5</span>
|
|
3012
3012
|
<span
|
|
3013
|
-
class="pf-
|
|
3013
|
+
class="pf-v6-c-select__menu-item-description"
|
|
3014
3014
|
>This is a description.</span>
|
|
3015
3015
|
</button>
|
|
3016
3016
|
<button
|
|
3017
|
-
class="pf-
|
|
3017
|
+
class="pf-v6-c-select__menu-item pf-m-action pf-m-favorite-action"
|
|
3018
3018
|
role="option"
|
|
3019
3019
|
aria-label="Not starred"
|
|
3020
3020
|
>
|
|
3021
|
-
<span class="pf-
|
|
3021
|
+
<span class="pf-v6-c-select__menu-item-action-icon">
|
|
3022
3022
|
<i class="fas fa-star" aria-hidden="true"></i>
|
|
3023
3023
|
</span>
|
|
3024
3024
|
</button>
|
|
@@ -3052,57 +3052,57 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3052
3052
|
### View more menu item
|
|
3053
3053
|
|
|
3054
3054
|
```html
|
|
3055
|
-
<div class="pf-
|
|
3055
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3056
3056
|
<span id="select-single-view-more-label" hidden>Choose one</span>
|
|
3057
3057
|
|
|
3058
3058
|
<button
|
|
3059
|
-
class="pf-
|
|
3059
|
+
class="pf-v6-c-select__toggle"
|
|
3060
3060
|
type="button"
|
|
3061
3061
|
id="select-single-view-more-toggle"
|
|
3062
3062
|
aria-haspopup="true"
|
|
3063
3063
|
aria-expanded="true"
|
|
3064
3064
|
aria-labelledby="select-single-view-more-label select-single-view-more-toggle"
|
|
3065
3065
|
>
|
|
3066
|
-
<div class="pf-
|
|
3067
|
-
<span class="pf-
|
|
3066
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3067
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3068
3068
|
</div>
|
|
3069
|
-
<span class="pf-
|
|
3069
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3070
3070
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3071
3071
|
</span>
|
|
3072
3072
|
</button>
|
|
3073
3073
|
|
|
3074
3074
|
<ul
|
|
3075
|
-
class="pf-
|
|
3075
|
+
class="pf-v6-c-select__menu"
|
|
3076
3076
|
role="listbox"
|
|
3077
3077
|
aria-labelledby="select-single-view-more-label"
|
|
3078
3078
|
>
|
|
3079
3079
|
<li role="presentation">
|
|
3080
|
-
<button class="pf-
|
|
3080
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3081
3081
|
</li>
|
|
3082
3082
|
<li role="presentation">
|
|
3083
3083
|
<button
|
|
3084
|
-
class="pf-
|
|
3084
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3085
3085
|
role="option"
|
|
3086
3086
|
aria-selected="true"
|
|
3087
3087
|
>
|
|
3088
3088
|
Stopped
|
|
3089
|
-
<span class="pf-
|
|
3089
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3090
3090
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3091
3091
|
</span>
|
|
3092
3092
|
</button>
|
|
3093
3093
|
</li>
|
|
3094
3094
|
<li role="presentation">
|
|
3095
|
-
<button class="pf-
|
|
3095
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3096
3096
|
</li>
|
|
3097
3097
|
<li role="presentation">
|
|
3098
|
-
<button class="pf-
|
|
3098
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3099
3099
|
</li>
|
|
3100
3100
|
<li role="presentation">
|
|
3101
|
-
<button class="pf-
|
|
3101
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3102
3102
|
</li>
|
|
3103
3103
|
<li role="presentation">
|
|
3104
3104
|
<button
|
|
3105
|
-
class="pf-
|
|
3105
|
+
class="pf-v6-c-select__menu-item pf-m-load"
|
|
3106
3106
|
role="option"
|
|
3107
3107
|
>View more</button>
|
|
3108
3108
|
</li>
|
|
@@ -3122,64 +3122,64 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3122
3122
|
### Loading menu item
|
|
3123
3123
|
|
|
3124
3124
|
```html
|
|
3125
|
-
<div class="pf-
|
|
3125
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3126
3126
|
<span id="select-single-loading-label" hidden>Choose one</span>
|
|
3127
3127
|
|
|
3128
3128
|
<button
|
|
3129
|
-
class="pf-
|
|
3129
|
+
class="pf-v6-c-select__toggle"
|
|
3130
3130
|
type="button"
|
|
3131
3131
|
id="select-single-loading-toggle"
|
|
3132
3132
|
aria-haspopup="true"
|
|
3133
3133
|
aria-expanded="true"
|
|
3134
3134
|
aria-labelledby="select-single-loading-label select-single-loading-toggle"
|
|
3135
3135
|
>
|
|
3136
|
-
<div class="pf-
|
|
3137
|
-
<span class="pf-
|
|
3136
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3137
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3138
3138
|
</div>
|
|
3139
|
-
<span class="pf-
|
|
3139
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3140
3140
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3141
3141
|
</span>
|
|
3142
3142
|
</button>
|
|
3143
3143
|
|
|
3144
3144
|
<ul
|
|
3145
|
-
class="pf-
|
|
3145
|
+
class="pf-v6-c-select__menu"
|
|
3146
3146
|
role="listbox"
|
|
3147
3147
|
aria-labelledby="select-single-loading-label"
|
|
3148
3148
|
>
|
|
3149
3149
|
<li role="presentation">
|
|
3150
|
-
<button class="pf-
|
|
3150
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3151
3151
|
</li>
|
|
3152
3152
|
<li role="presentation">
|
|
3153
3153
|
<button
|
|
3154
|
-
class="pf-
|
|
3154
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3155
3155
|
role="option"
|
|
3156
3156
|
aria-selected="true"
|
|
3157
3157
|
>
|
|
3158
3158
|
Stopped
|
|
3159
|
-
<span class="pf-
|
|
3159
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3160
3160
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3161
3161
|
</span>
|
|
3162
3162
|
</button>
|
|
3163
3163
|
</li>
|
|
3164
3164
|
<li role="presentation">
|
|
3165
|
-
<button class="pf-
|
|
3165
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3166
3166
|
</li>
|
|
3167
3167
|
<li role="presentation">
|
|
3168
|
-
<button class="pf-
|
|
3168
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3169
3169
|
</li>
|
|
3170
3170
|
<li role="presentation">
|
|
3171
|
-
<button class="pf-
|
|
3171
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3172
3172
|
</li>
|
|
3173
|
-
<li role="presentation" class="pf-
|
|
3174
|
-
<button class="pf-
|
|
3173
|
+
<li role="presentation" class="pf-v6-c-select__list-item pf-m-loading">
|
|
3174
|
+
<button class="pf-v6-c-select__menu-item" role="option">
|
|
3175
3175
|
<svg
|
|
3176
|
-
class="pf-
|
|
3176
|
+
class="pf-v6-c-spinner pf-m-lg"
|
|
3177
3177
|
role="progressbar"
|
|
3178
3178
|
viewBox="0 0 100 100"
|
|
3179
3179
|
aria-label="Loading items"
|
|
3180
3180
|
>
|
|
3181
3181
|
<circle
|
|
3182
|
-
class="pf-
|
|
3182
|
+
class="pf-v6-c-spinner__path"
|
|
3183
3183
|
cx="50"
|
|
3184
3184
|
cy="50"
|
|
3185
3185
|
r="45"
|
|
@@ -3205,61 +3205,61 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3205
3205
|
### Menu footer
|
|
3206
3206
|
|
|
3207
3207
|
```html
|
|
3208
|
-
<div class="pf-
|
|
3208
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3209
3209
|
<span id="select-single-footer-label" hidden>Choose one</span>
|
|
3210
3210
|
|
|
3211
3211
|
<button
|
|
3212
|
-
class="pf-
|
|
3212
|
+
class="pf-v6-c-select__toggle"
|
|
3213
3213
|
type="button"
|
|
3214
3214
|
id="select-single-footer-toggle"
|
|
3215
3215
|
aria-haspopup="true"
|
|
3216
3216
|
aria-expanded="true"
|
|
3217
3217
|
aria-labelledby="select-single-footer-label select-single-footer-toggle"
|
|
3218
3218
|
>
|
|
3219
|
-
<div class="pf-
|
|
3220
|
-
<span class="pf-
|
|
3219
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3220
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3221
3221
|
</div>
|
|
3222
|
-
<span class="pf-
|
|
3222
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3223
3223
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3224
3224
|
</span>
|
|
3225
3225
|
</button>
|
|
3226
3226
|
|
|
3227
|
-
<div class="pf-
|
|
3227
|
+
<div class="pf-v6-c-select__menu">
|
|
3228
3228
|
<ul
|
|
3229
|
-
class="pf-
|
|
3229
|
+
class="pf-v6-c-select__menu-list"
|
|
3230
3230
|
role="listbox"
|
|
3231
3231
|
aria-labelledby="select-single-footer-label"
|
|
3232
3232
|
>
|
|
3233
3233
|
<li role="presentation">
|
|
3234
|
-
<button class="pf-
|
|
3234
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3235
3235
|
</li>
|
|
3236
3236
|
<li role="presentation">
|
|
3237
3237
|
<button
|
|
3238
|
-
class="pf-
|
|
3238
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3239
3239
|
role="option"
|
|
3240
3240
|
aria-selected="true"
|
|
3241
3241
|
>
|
|
3242
3242
|
Stopped
|
|
3243
|
-
<span class="pf-
|
|
3243
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3244
3244
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3245
3245
|
</span>
|
|
3246
3246
|
</button>
|
|
3247
3247
|
</li>
|
|
3248
3248
|
<li role="presentation">
|
|
3249
|
-
<button class="pf-
|
|
3249
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3250
3250
|
</li>
|
|
3251
3251
|
<li role="presentation">
|
|
3252
|
-
<button class="pf-
|
|
3252
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3253
3253
|
</li>
|
|
3254
3254
|
<li role="presentation">
|
|
3255
3255
|
<button
|
|
3256
|
-
class="pf-
|
|
3256
|
+
class="pf-v6-c-select__menu-item"
|
|
3257
3257
|
role="option"
|
|
3258
3258
|
>Needs maintenance</button>
|
|
3259
3259
|
</li>
|
|
3260
3260
|
</ul>
|
|
3261
|
-
<div class="pf-
|
|
3262
|
-
<button class="pf-
|
|
3261
|
+
<div class="pf-v6-c-select__menu-footer">
|
|
3262
|
+
<button class="pf-v6-c-button pf-m-link pf-m-inline" type="button">Action</button>
|
|
3263
3263
|
</div>
|
|
3264
3264
|
</div>
|
|
3265
3265
|
</div>
|
|
@@ -3278,54 +3278,54 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3278
3278
|
### Placeholder collapsed
|
|
3279
3279
|
|
|
3280
3280
|
```html
|
|
3281
|
-
<div class="pf-
|
|
3281
|
+
<div class="pf-v6-c-select">
|
|
3282
3282
|
<span id="select-placeholder-collapsed-label" hidden>Choose one</span>
|
|
3283
3283
|
|
|
3284
3284
|
<button
|
|
3285
|
-
class="pf-
|
|
3285
|
+
class="pf-v6-c-select__toggle pf-m-placeholder"
|
|
3286
3286
|
type="button"
|
|
3287
3287
|
id="select-placeholder-collapsed-toggle"
|
|
3288
3288
|
aria-haspopup="true"
|
|
3289
3289
|
aria-expanded="false"
|
|
3290
3290
|
aria-labelledby="select-placeholder-collapsed-label select-placeholder-collapsed-toggle"
|
|
3291
3291
|
>
|
|
3292
|
-
<div class="pf-
|
|
3293
|
-
<span class="pf-
|
|
3292
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3293
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3294
3294
|
</div>
|
|
3295
|
-
<span class="pf-
|
|
3295
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3296
3296
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3297
3297
|
</span>
|
|
3298
3298
|
</button>
|
|
3299
3299
|
|
|
3300
3300
|
<ul
|
|
3301
|
-
class="pf-
|
|
3301
|
+
class="pf-v6-c-select__menu"
|
|
3302
3302
|
role="listbox"
|
|
3303
3303
|
aria-labelledby="select-placeholder-collapsed-label"
|
|
3304
3304
|
hidden
|
|
3305
3305
|
>
|
|
3306
3306
|
<li role="presentation">
|
|
3307
|
-
<button class="pf-
|
|
3307
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3308
3308
|
</li>
|
|
3309
3309
|
<li role="presentation">
|
|
3310
3310
|
<button
|
|
3311
|
-
class="pf-
|
|
3311
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3312
3312
|
role="option"
|
|
3313
3313
|
aria-selected="true"
|
|
3314
3314
|
>
|
|
3315
3315
|
Stopped
|
|
3316
|
-
<span class="pf-
|
|
3316
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3317
3317
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3318
3318
|
</span>
|
|
3319
3319
|
</button>
|
|
3320
3320
|
</li>
|
|
3321
3321
|
<li role="presentation">
|
|
3322
|
-
<button class="pf-
|
|
3322
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3323
3323
|
</li>
|
|
3324
3324
|
<li role="presentation">
|
|
3325
|
-
<button class="pf-
|
|
3325
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3326
3326
|
</li>
|
|
3327
3327
|
<li role="presentation">
|
|
3328
|
-
<button class="pf-
|
|
3328
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3329
3329
|
</li>
|
|
3330
3330
|
</ul>
|
|
3331
3331
|
</div>
|
|
@@ -3335,53 +3335,53 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3335
3335
|
### Placeholder expanded
|
|
3336
3336
|
|
|
3337
3337
|
```html
|
|
3338
|
-
<div class="pf-
|
|
3338
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3339
3339
|
<span id="select-placeholder-expanded-label" hidden>Choose one</span>
|
|
3340
3340
|
|
|
3341
3341
|
<button
|
|
3342
|
-
class="pf-
|
|
3342
|
+
class="pf-v6-c-select__toggle pf-m-placeholder"
|
|
3343
3343
|
type="button"
|
|
3344
3344
|
id="select-placeholder-expanded-toggle"
|
|
3345
3345
|
aria-haspopup="true"
|
|
3346
3346
|
aria-expanded="true"
|
|
3347
3347
|
aria-labelledby="select-placeholder-expanded-label select-placeholder-expanded-toggle"
|
|
3348
3348
|
>
|
|
3349
|
-
<div class="pf-
|
|
3350
|
-
<span class="pf-
|
|
3349
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3350
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3351
3351
|
</div>
|
|
3352
|
-
<span class="pf-
|
|
3352
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3353
3353
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3354
3354
|
</span>
|
|
3355
3355
|
</button>
|
|
3356
3356
|
|
|
3357
3357
|
<ul
|
|
3358
|
-
class="pf-
|
|
3358
|
+
class="pf-v6-c-select__menu"
|
|
3359
3359
|
role="listbox"
|
|
3360
3360
|
aria-labelledby="select-placeholder-expanded-label"
|
|
3361
3361
|
>
|
|
3362
3362
|
<li role="presentation">
|
|
3363
|
-
<button class="pf-
|
|
3363
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3364
3364
|
</li>
|
|
3365
3365
|
<li role="presentation">
|
|
3366
3366
|
<button
|
|
3367
|
-
class="pf-
|
|
3367
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3368
3368
|
role="option"
|
|
3369
3369
|
aria-selected="true"
|
|
3370
3370
|
>
|
|
3371
3371
|
Stopped
|
|
3372
|
-
<span class="pf-
|
|
3372
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3373
3373
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3374
3374
|
</span>
|
|
3375
3375
|
</button>
|
|
3376
3376
|
</li>
|
|
3377
3377
|
<li role="presentation">
|
|
3378
|
-
<button class="pf-
|
|
3378
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3379
3379
|
</li>
|
|
3380
3380
|
<li role="presentation">
|
|
3381
|
-
<button class="pf-
|
|
3381
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3382
3382
|
</li>
|
|
3383
3383
|
<li role="presentation">
|
|
3384
|
-
<button class="pf-
|
|
3384
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3385
3385
|
</li>
|
|
3386
3386
|
</ul>
|
|
3387
3387
|
</div>
|
|
@@ -3391,60 +3391,60 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3391
3391
|
### Placeholder item disabled
|
|
3392
3392
|
|
|
3393
3393
|
```html
|
|
3394
|
-
<div class="pf-
|
|
3394
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3395
3395
|
<span id="select-placeholder-item-disabled-label" hidden>Choose one</span>
|
|
3396
3396
|
|
|
3397
3397
|
<button
|
|
3398
|
-
class="pf-
|
|
3398
|
+
class="pf-v6-c-select__toggle pf-m-placeholder"
|
|
3399
3399
|
type="button"
|
|
3400
3400
|
id="select-placeholder-item-disabled-toggle"
|
|
3401
3401
|
aria-haspopup="true"
|
|
3402
3402
|
aria-expanded="true"
|
|
3403
3403
|
aria-labelledby="select-placeholder-item-disabled-label select-placeholder-item-disabled-toggle"
|
|
3404
3404
|
>
|
|
3405
|
-
<div class="pf-
|
|
3406
|
-
<span class="pf-
|
|
3405
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3406
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3407
3407
|
</div>
|
|
3408
|
-
<span class="pf-
|
|
3408
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3409
3409
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3410
3410
|
</span>
|
|
3411
3411
|
</button>
|
|
3412
3412
|
|
|
3413
3413
|
<ul
|
|
3414
|
-
class="pf-
|
|
3414
|
+
class="pf-v6-c-select__menu"
|
|
3415
3415
|
role="listbox"
|
|
3416
3416
|
aria-labelledby="select-placeholder-item-disabled-label"
|
|
3417
3417
|
>
|
|
3418
3418
|
<li role="presentation">
|
|
3419
3419
|
<button
|
|
3420
|
-
class="pf-
|
|
3420
|
+
class="pf-v6-c-select__menu-item"
|
|
3421
3421
|
role="option"
|
|
3422
3422
|
disabled
|
|
3423
3423
|
>Filter by status</button>
|
|
3424
3424
|
</li>
|
|
3425
3425
|
<li role="presentation">
|
|
3426
|
-
<button class="pf-
|
|
3426
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3427
3427
|
</li>
|
|
3428
3428
|
<li role="presentation">
|
|
3429
3429
|
<button
|
|
3430
|
-
class="pf-
|
|
3430
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3431
3431
|
role="option"
|
|
3432
3432
|
aria-selected="true"
|
|
3433
3433
|
>
|
|
3434
3434
|
Stopped
|
|
3435
|
-
<span class="pf-
|
|
3435
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3436
3436
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3437
3437
|
</span>
|
|
3438
3438
|
</button>
|
|
3439
3439
|
</li>
|
|
3440
3440
|
<li role="presentation">
|
|
3441
|
-
<button class="pf-
|
|
3441
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3442
3442
|
</li>
|
|
3443
3443
|
<li role="presentation">
|
|
3444
|
-
<button class="pf-
|
|
3444
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3445
3445
|
</li>
|
|
3446
3446
|
<li role="presentation">
|
|
3447
|
-
<button class="pf-
|
|
3447
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3448
3448
|
</li>
|
|
3449
3449
|
</ul>
|
|
3450
3450
|
</div>
|
|
@@ -3454,56 +3454,56 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3454
3454
|
### Placeholder item enabled
|
|
3455
3455
|
|
|
3456
3456
|
```html
|
|
3457
|
-
<div class="pf-
|
|
3457
|
+
<div class="pf-v6-c-select pf-m-expanded">
|
|
3458
3458
|
<span id="select-placeholder-item-enabled-label" hidden>Choose one</span>
|
|
3459
3459
|
|
|
3460
3460
|
<button
|
|
3461
|
-
class="pf-
|
|
3461
|
+
class="pf-v6-c-select__toggle pf-m-placeholder"
|
|
3462
3462
|
type="button"
|
|
3463
3463
|
id="select-placeholder-item-enabled-toggle"
|
|
3464
3464
|
aria-haspopup="true"
|
|
3465
3465
|
aria-expanded="true"
|
|
3466
3466
|
aria-labelledby="select-placeholder-item-enabled-label select-placeholder-item-enabled-toggle"
|
|
3467
3467
|
>
|
|
3468
|
-
<div class="pf-
|
|
3469
|
-
<span class="pf-
|
|
3468
|
+
<div class="pf-v6-c-select__toggle-wrapper">
|
|
3469
|
+
<span class="pf-v6-c-select__toggle-text">Filter by status</span>
|
|
3470
3470
|
</div>
|
|
3471
|
-
<span class="pf-
|
|
3471
|
+
<span class="pf-v6-c-select__toggle-arrow">
|
|
3472
3472
|
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3473
3473
|
</span>
|
|
3474
3474
|
</button>
|
|
3475
3475
|
|
|
3476
3476
|
<ul
|
|
3477
|
-
class="pf-
|
|
3477
|
+
class="pf-v6-c-select__menu"
|
|
3478
3478
|
role="listbox"
|
|
3479
3479
|
aria-labelledby="select-placeholder-item-enabled-label"
|
|
3480
3480
|
>
|
|
3481
3481
|
<li role="presentation">
|
|
3482
|
-
<button class="pf-
|
|
3482
|
+
<button class="pf-v6-c-select__menu-item" role="option">Filter by status</button>
|
|
3483
3483
|
</li>
|
|
3484
3484
|
<li role="presentation">
|
|
3485
|
-
<button class="pf-
|
|
3485
|
+
<button class="pf-v6-c-select__menu-item" role="option">Running</button>
|
|
3486
3486
|
</li>
|
|
3487
3487
|
<li role="presentation">
|
|
3488
3488
|
<button
|
|
3489
|
-
class="pf-
|
|
3489
|
+
class="pf-v6-c-select__menu-item pf-m-selected"
|
|
3490
3490
|
role="option"
|
|
3491
3491
|
aria-selected="true"
|
|
3492
3492
|
>
|
|
3493
3493
|
Stopped
|
|
3494
|
-
<span class="pf-
|
|
3494
|
+
<span class="pf-v6-c-select__menu-item-icon">
|
|
3495
3495
|
<i class="fas fa-check" aria-hidden="true"></i>
|
|
3496
3496
|
</span>
|
|
3497
3497
|
</button>
|
|
3498
3498
|
</li>
|
|
3499
3499
|
<li role="presentation">
|
|
3500
|
-
<button class="pf-
|
|
3500
|
+
<button class="pf-v6-c-select__menu-item" role="option">Down</button>
|
|
3501
3501
|
</li>
|
|
3502
3502
|
<li role="presentation">
|
|
3503
|
-
<button class="pf-
|
|
3503
|
+
<button class="pf-v6-c-select__menu-item" role="option">Degraded</button>
|
|
3504
3504
|
</li>
|
|
3505
3505
|
<li role="presentation">
|
|
3506
|
-
<button class="pf-
|
|
3506
|
+
<button class="pf-v6-c-select__menu-item" role="option">Needs maintenance</button>
|
|
3507
3507
|
</li>
|
|
3508
3508
|
</ul>
|
|
3509
3509
|
</div>
|