@patternfly/patternfly 5.0.0-alpha.13 → 5.0.0-alpha.18
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/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list.css +2 -1
- package/components/DataList/data-list.scss +2 -1
- package/components/Drawer/drawer.css +13 -13
- package/components/Dropdown/dropdown.css +12 -10
- package/components/Dropdown/dropdown.scss +2 -0
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Label/label.css +2 -0
- package/components/Label/label.scss +2 -0
- package/components/Login/login.css +1 -1
- package/components/Menu/menu.css +2 -0
- package/components/Menu/menu.scss +2 -0
- package/components/MenuToggle/menu-toggle.css +2 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/Page/page.css +60 -60
- package/components/Pagination/pagination.css +2 -2
- package/components/SearchInput/search-input.css +2 -0
- package/components/SearchInput/search-input.scss +2 -0
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-tree-view.css +4 -4
- package/components/TextInputGroup/text-input-group.css +4 -2
- package/components/TextInputGroup/text-input-group.scss +4 -3
- package/components/Toolbar/toolbar.css +35 -35
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +2 -0
- package/components/Wizard/wizard.scss +2 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
- package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +27 -27
- package/docs/components/Check/examples/Check.md +13 -13
- package/docs/components/Chip/examples/Chip.md +13 -13
- package/docs/components/ChipGroup/examples/ChipGroup.md +15 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +56 -33
- package/docs/components/Content/examples/Content.md +10 -10
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +86 -80
- package/docs/components/DataList/examples/DataList.md +83 -83
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +50 -50
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +19 -19
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +12 -12
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +31 -31
- package/docs/components/LabelGroup/examples/LabelGroup.md +22 -22
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +69 -69
- package/docs/components/Login/examples/Login.md +32 -32
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +81 -79
- package/docs/components/MenuToggle/examples/MenuToggle.md +24 -24
- package/docs/components/ModalBox/examples/ModalBox.md +35 -35
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +34 -34
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
- package/docs/components/Radio/examples/Radio.md +11 -11
- package/docs/components/SearchInput/examples/SearchInput.md +34 -34
- package/docs/components/Select/examples/Select.md +143 -143
- package/docs/components/Sidebar/examples/Sidebar.md +14 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +24 -24
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.md +155 -155
- package/docs/components/Tabs/examples/Tabs.md +47 -47
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +113 -113
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +59 -59
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
- package/docs/demos/Alert/examples/Alert.md +13 -13
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +8 -8
- package/docs/demos/Card/examples/Card.md +7 -7
- package/docs/demos/CardView/examples/CardView.md +7 -7
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +9 -5
- package/docs/demos/DataList/examples/DataList.md +22 -22
- package/docs/demos/DescriptionList/examples/DescriptionList.md +12 -12
- package/docs/demos/Drawer/examples/Drawer.md +20 -20
- package/docs/demos/HelperText/examples/HelperText.md +8 -8
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +29 -29
- package/docs/demos/Modal/examples/Modal.md +24 -24
- package/docs/demos/Nav/examples/Nav.md +47 -47
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
- package/docs/demos/Page/examples/Page.md +36 -36
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +36 -36
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +78 -78
- package/docs/demos/Tabs/examples/Tabs.md +25 -25
- package/docs/demos/Toolbar/examples/Toolbar.md +16 -16
- package/docs/demos/Wizard/examples/Wizard.md +54 -54
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +1 -1
- package/layouts/Grid/grid.css +5 -5
- package/package.json +56 -61
- package/patternfly-no-reset.css +196 -177
- package/patternfly.css +196 -177
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -24,23 +24,24 @@ cssPrefix: pf-c-context-selector
|
|
|
24
24
|
</button>
|
|
25
25
|
<div class="pf-c-context-selector__menu" hidden>
|
|
26
26
|
<div class="pf-c-context-selector__menu-search">
|
|
27
|
-
<div class="pf-c-
|
|
28
|
-
<div class="pf-c-
|
|
29
|
-
<span class="pf-c-
|
|
30
|
-
<span class="pf-c-
|
|
31
|
-
<i class="fas fa-
|
|
27
|
+
<div class="pf-c-text-input-group">
|
|
28
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
29
|
+
<span class="pf-c-text-input-group__text">
|
|
30
|
+
<span class="pf-c-text-input-group__icon">
|
|
31
|
+
<i class="fas fa-fw fa-search"></i>
|
|
32
32
|
</span>
|
|
33
33
|
<input
|
|
34
|
-
class="pf-c-
|
|
35
|
-
type="
|
|
34
|
+
class="pf-c-text-input-group__text-input"
|
|
35
|
+
type="search"
|
|
36
36
|
placeholder="Search"
|
|
37
|
-
|
|
37
|
+
value
|
|
38
|
+
aria-label="Filter menu items"
|
|
38
39
|
/>
|
|
39
40
|
</span>
|
|
40
41
|
</div>
|
|
41
42
|
</div>
|
|
42
43
|
</div>
|
|
43
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
44
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
44
45
|
<li>
|
|
45
46
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
46
47
|
</li>
|
|
@@ -138,23 +139,24 @@ cssPrefix: pf-c-context-selector
|
|
|
138
139
|
</button>
|
|
139
140
|
<div class="pf-c-context-selector__menu">
|
|
140
141
|
<div class="pf-c-context-selector__menu-search">
|
|
141
|
-
<div class="pf-c-
|
|
142
|
-
<div class="pf-c-
|
|
143
|
-
<span class="pf-c-
|
|
144
|
-
<span class="pf-c-
|
|
145
|
-
<i class="fas fa-
|
|
142
|
+
<div class="pf-c-text-input-group">
|
|
143
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
144
|
+
<span class="pf-c-text-input-group__text">
|
|
145
|
+
<span class="pf-c-text-input-group__icon">
|
|
146
|
+
<i class="fas fa-fw fa-search"></i>
|
|
146
147
|
</span>
|
|
147
148
|
<input
|
|
148
|
-
class="pf-c-
|
|
149
|
-
type="
|
|
149
|
+
class="pf-c-text-input-group__text-input"
|
|
150
|
+
type="search"
|
|
150
151
|
placeholder="Search"
|
|
151
|
-
|
|
152
|
+
value
|
|
153
|
+
aria-label="Filter menu items"
|
|
152
154
|
/>
|
|
153
155
|
</span>
|
|
154
156
|
</div>
|
|
155
157
|
</div>
|
|
156
158
|
</div>
|
|
157
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
159
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
158
160
|
<li>
|
|
159
161
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
160
162
|
</li>
|
|
@@ -260,23 +262,24 @@ cssPrefix: pf-c-context-selector
|
|
|
260
262
|
</button>
|
|
261
263
|
<div class="pf-c-context-selector__menu" hidden>
|
|
262
264
|
<div class="pf-c-context-selector__menu-search">
|
|
263
|
-
<div class="pf-c-
|
|
264
|
-
<div class="pf-c-
|
|
265
|
-
<span class="pf-c-
|
|
266
|
-
<span class="pf-c-
|
|
267
|
-
<i class="fas fa-
|
|
265
|
+
<div class="pf-c-text-input-group">
|
|
266
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
267
|
+
<span class="pf-c-text-input-group__text">
|
|
268
|
+
<span class="pf-c-text-input-group__icon">
|
|
269
|
+
<i class="fas fa-fw fa-search"></i>
|
|
268
270
|
</span>
|
|
269
271
|
<input
|
|
270
|
-
class="pf-c-
|
|
271
|
-
type="
|
|
272
|
+
class="pf-c-text-input-group__text-input"
|
|
273
|
+
type="search"
|
|
272
274
|
placeholder="Search"
|
|
273
|
-
|
|
275
|
+
value
|
|
276
|
+
aria-label="Filter menu items"
|
|
274
277
|
/>
|
|
275
278
|
</span>
|
|
276
279
|
</div>
|
|
277
280
|
</div>
|
|
278
281
|
</div>
|
|
279
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
282
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
280
283
|
<li>
|
|
281
284
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
282
285
|
</li>
|
|
@@ -377,23 +380,24 @@ cssPrefix: pf-c-context-selector
|
|
|
377
380
|
</button>
|
|
378
381
|
<div class="pf-c-context-selector__menu">
|
|
379
382
|
<div class="pf-c-context-selector__menu-search">
|
|
380
|
-
<div class="pf-c-
|
|
381
|
-
<div class="pf-c-
|
|
382
|
-
<span class="pf-c-
|
|
383
|
-
<span class="pf-c-
|
|
384
|
-
<i class="fas fa-
|
|
383
|
+
<div class="pf-c-text-input-group">
|
|
384
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
385
|
+
<span class="pf-c-text-input-group__text">
|
|
386
|
+
<span class="pf-c-text-input-group__icon">
|
|
387
|
+
<i class="fas fa-fw fa-search"></i>
|
|
385
388
|
</span>
|
|
386
389
|
<input
|
|
387
|
-
class="pf-c-
|
|
388
|
-
type="
|
|
390
|
+
class="pf-c-text-input-group__text-input"
|
|
391
|
+
type="search"
|
|
389
392
|
placeholder="Search"
|
|
390
|
-
|
|
393
|
+
value
|
|
394
|
+
aria-label="Filter menu items"
|
|
391
395
|
/>
|
|
392
396
|
</span>
|
|
393
397
|
</div>
|
|
394
398
|
</div>
|
|
395
399
|
</div>
|
|
396
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
400
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
397
401
|
<li>
|
|
398
402
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
399
403
|
</li>
|
|
@@ -496,23 +500,24 @@ cssPrefix: pf-c-context-selector
|
|
|
496
500
|
</button>
|
|
497
501
|
<div class="pf-c-context-selector__menu">
|
|
498
502
|
<div class="pf-c-context-selector__menu-search">
|
|
499
|
-
<div class="pf-c-
|
|
500
|
-
<div class="pf-c-
|
|
501
|
-
<span class="pf-c-
|
|
502
|
-
<span class="pf-c-
|
|
503
|
-
<i class="fas fa-
|
|
503
|
+
<div class="pf-c-text-input-group">
|
|
504
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
505
|
+
<span class="pf-c-text-input-group__text">
|
|
506
|
+
<span class="pf-c-text-input-group__icon">
|
|
507
|
+
<i class="fas fa-fw fa-search"></i>
|
|
504
508
|
</span>
|
|
505
509
|
<input
|
|
506
|
-
class="pf-c-
|
|
507
|
-
type="
|
|
510
|
+
class="pf-c-text-input-group__text-input"
|
|
511
|
+
type="search"
|
|
508
512
|
placeholder="Search"
|
|
509
|
-
|
|
513
|
+
value
|
|
514
|
+
aria-label="Filter menu items"
|
|
510
515
|
/>
|
|
511
516
|
</span>
|
|
512
517
|
</div>
|
|
513
518
|
</div>
|
|
514
519
|
</div>
|
|
515
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
520
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
516
521
|
<li>
|
|
517
522
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
518
523
|
</li>
|
|
@@ -617,23 +622,24 @@ cssPrefix: pf-c-context-selector
|
|
|
617
622
|
</button>
|
|
618
623
|
<div class="pf-c-context-selector__menu">
|
|
619
624
|
<div class="pf-c-context-selector__menu-search">
|
|
620
|
-
<div class="pf-c-
|
|
621
|
-
<div class="pf-c-
|
|
622
|
-
<span class="pf-c-
|
|
623
|
-
<span class="pf-c-
|
|
624
|
-
<i class="fas fa-
|
|
625
|
+
<div class="pf-c-text-input-group">
|
|
626
|
+
<div class="pf-c-text-input-group__main pf-m-icon">
|
|
627
|
+
<span class="pf-c-text-input-group__text">
|
|
628
|
+
<span class="pf-c-text-input-group__icon">
|
|
629
|
+
<i class="fas fa-fw fa-search"></i>
|
|
625
630
|
</span>
|
|
626
631
|
<input
|
|
627
|
-
class="pf-c-
|
|
628
|
-
type="
|
|
632
|
+
class="pf-c-text-input-group__text-input"
|
|
633
|
+
type="search"
|
|
629
634
|
placeholder="Search"
|
|
630
|
-
|
|
635
|
+
value
|
|
636
|
+
aria-label="Filter menu items"
|
|
631
637
|
/>
|
|
632
638
|
</span>
|
|
633
639
|
</div>
|
|
634
640
|
</div>
|
|
635
641
|
</div>
|
|
636
|
-
<ul class="pf-c-context-selector__menu-list">
|
|
642
|
+
<ul class="pf-c-context-selector__menu-list" role="list">
|
|
637
643
|
<li>
|
|
638
644
|
<a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
|
|
639
645
|
</li>
|
|
@@ -729,32 +735,32 @@ cssPrefix: pf-c-context-selector
|
|
|
729
735
|
|
|
730
736
|
### Accessibility
|
|
731
737
|
|
|
732
|
-
| Class
|
|
733
|
-
|
|
|
734
|
-
| `aria-expanded="false"` | `.pf-c-context-selector__toggle`
|
|
735
|
-
| `aria-expanded="true"`
|
|
736
|
-
| `aria-hidden="true"`
|
|
737
|
-
| `disabled`
|
|
738
|
-
| `aria-disabled="true"`
|
|
739
|
-
| `tabindex="-1"`
|
|
738
|
+
| Class | Applied to | Outcome |
|
|
739
|
+
| -- | -- | -- |
|
|
740
|
+
| `aria-expanded="false"` | `.pf-c-context-selector__toggle` | Indicates that the menu is hidden. |
|
|
741
|
+
| `aria-expanded="true"` | `.pf-c-context-selector__toggle` | Indicates that the menu is visible. |
|
|
742
|
+
| `aria-hidden="true"` | `.pf-c-context-selector__toggle-icon > *` | Hides the icon from assistive technologies. |
|
|
743
|
+
| `disabled` | `button.pf-c-context-selector__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
|
|
744
|
+
| `aria-disabled="true"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
|
|
745
|
+
| `tabindex="-1"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
|
|
740
746
|
|
|
741
747
|
### Usage
|
|
742
748
|
|
|
743
|
-
| Class
|
|
744
|
-
|
|
|
745
|
-
| `.pf-c-context-selector`
|
|
746
|
-
| `.pf-c-context-selector__toggle`
|
|
747
|
-
| `.pf-c-context-selector__toggle-text`
|
|
748
|
-
| `.pf-c-context-selector__toggle-icon`
|
|
749
|
-
| `.pf-c-context-selector__menu`
|
|
750
|
-
| `.pf-c-context-selector__menu-search`
|
|
751
|
-
| `.pf-c-context-selector__menu-list`
|
|
752
|
-
| `.pf-c-context-selector__menu-footer`
|
|
753
|
-
| `.pf-c-context-selector__menu-list-item` | `<li>`
|
|
754
|
-
| `.pf-m-expanded`
|
|
755
|
-
| `.pf-m-active`
|
|
756
|
-
| `.pf-m-plain.pf-m-text`
|
|
757
|
-
| `.pf-m-disabled`
|
|
758
|
-
| `.pf-m-full-height`
|
|
759
|
-
| `.pf-m-large`
|
|
760
|
-
| `.pf-m-page-insets`
|
|
749
|
+
| Class | Applied to | Outcome |
|
|
750
|
+
| -- | -- | -- |
|
|
751
|
+
| `.pf-c-context-selector` | `<div>` | Initiates a context selector.|
|
|
752
|
+
| `.pf-c-context-selector__toggle` | `<button>` | Initiates a toggle. |
|
|
753
|
+
| `.pf-c-context-selector__toggle-text` | `<span>` | Initiates text inside the toggle. |
|
|
754
|
+
| `.pf-c-context-selector__toggle-icon` | `<span>` | Inititiates the toggle icon wrapper. |
|
|
755
|
+
| `.pf-c-context-selector__menu` | `<div>` | Initiaties a menu. |
|
|
756
|
+
| `.pf-c-context-selector__menu-search` | `<div>` | Initiates a container for the search input group. |
|
|
757
|
+
| `.pf-c-context-selector__menu-list` | `<ul>` | Initiaties an unordered list of menu items that sits under the input container. |
|
|
758
|
+
| `.pf-c-context-selector__menu-footer` | `<div>` | Initiaties a menu footer. |
|
|
759
|
+
| `.pf-c-context-selector__menu-list-item` | `<li>` | Initiaties a menu item. |
|
|
760
|
+
| `.pf-m-expanded` | `.pf-c-context-selector` | Modifies for the expanded state. |
|
|
761
|
+
| `.pf-m-active` | `.pf-c-context-selector__toggle` | Forces display of the active state of the toggle. |
|
|
762
|
+
| `.pf-m-plain.pf-m-text` | `.pf-c-context-selector__toggle` | Modifies the context selector toggle for plain text styles. |
|
|
763
|
+
| `.pf-m-disabled` | `a.pf-c-context-selector__menu-list-item` | Modifies an item for the disabled state.|
|
|
764
|
+
| `.pf-m-full-height` | `.pf-c-context-selector` | Modifies a context selector to full height of parent. See masthead for use. |
|
|
765
|
+
| `.pf-m-large` | `.pf-c-context-selector` | Modifies toggle height to be large. |
|
|
766
|
+
| `.pf-m-page-insets` | `.pf-c-context-selector` | Modifies toggle and menu insets to match the responsive page chrome insets. |
|
|
@@ -42,26 +42,26 @@ cssPrefix: pf-c-data-list
|
|
|
42
42
|
|
|
43
43
|
### Accessibility
|
|
44
44
|
|
|
45
|
-
| Attribute
|
|
46
|
-
|
|
|
47
|
-
| `role="list"`
|
|
48
|
-
| `aria-label`
|
|
49
|
-
| `aria-labelledby`
|
|
50
|
-
| `id`
|
|
45
|
+
| Attribute | Applied to | Outcome |
|
|
46
|
+
| -- | -- | -- |
|
|
47
|
+
| `role="list"` | `.pf-c-data-list` | Indicates that the data list is a list. **Required** |
|
|
48
|
+
| `aria-label` | `.pf-c-data-list` | Provides an accessible name for the data list. **Required** |
|
|
49
|
+
| `aria-labelledby` | `.pf-c-data-list__item` | Provides an accessible description for data list item. **Required** |
|
|
50
|
+
| `id` | `.pf-c-data-list__cell`, `.pf-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
|
|
51
51
|
|
|
52
52
|
### Usage
|
|
53
53
|
|
|
54
|
-
| Class
|
|
55
|
-
|
|
|
56
|
-
| `.pf-c-data-list`
|
|
57
|
-
| `.pf-c-data-list__item`
|
|
58
|
-
| `.pf-c-data-list__item-row`
|
|
59
|
-
| `.pf-c-data-list__item-content` | `<div>`
|
|
60
|
-
| `.pf-c-data-list__cell`
|
|
61
|
-
| `.pf-c-data-list__cell-text`
|
|
62
|
-
| `.pf-m-align-left`
|
|
63
|
-
| `.pf-m-no-fill`
|
|
64
|
-
| `.pf-m-align-right`
|
|
54
|
+
| Class | Applied to | Outcome |
|
|
55
|
+
| -- | -- | -- |
|
|
56
|
+
| `.pf-c-data-list` | `<ul>` | Initiates a data list. **Required** |
|
|
57
|
+
| `.pf-c-data-list__item` | `<li>` | Initiates a data list item. **Required** |
|
|
58
|
+
| `.pf-c-data-list__item-row` | `<div>` | Initiates a data list item row. **Required** |
|
|
59
|
+
| `.pf-c-data-list__item-content` | `<div>` | Initiates a container for data list content. **Required**|
|
|
60
|
+
| `.pf-c-data-list__cell` | `*` | Initiates a data list content cell. **Required** |
|
|
61
|
+
| `.pf-c-data-list__cell-text` | `<span>` | Initiates a data list content cell text element. |
|
|
62
|
+
| `.pf-m-align-left` | `.pf-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
|
|
63
|
+
| `.pf-m-no-fill` | `.pf-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
|
|
64
|
+
| `.pf-m-align-right` | `.pf-c-data-list__cell` | Modifies a data list cell to align-right. |
|
|
65
65
|
|
|
66
66
|
### With headings
|
|
67
67
|
|
|
@@ -372,23 +372,23 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
372
372
|
|
|
373
373
|
### Accessibility
|
|
374
374
|
|
|
375
|
-
| Attribute
|
|
376
|
-
|
|
|
377
|
-
| `aria-label="[descriptive text]"`
|
|
378
|
-
| `aria-labelledby="{title_cell_id}"`
|
|
379
|
-
| `aria-labelledby="{title_cell_id} {data_list_action_id}"`
|
|
380
|
-
| `id`
|
|
375
|
+
| Attribute | Applied to | Outcome |
|
|
376
|
+
| -- | -- | -- |
|
|
377
|
+
| `aria-label="[descriptive text]"` | `.pf-c-data-list__action` > `.pf-c-button` | Provides an accessible label buttons. **Required** |
|
|
378
|
+
| `aria-labelledby="{title_cell_id}"` | `.pf-c-data-list__check` > `.pf-c-check__input` | Creates an accessible label for the checkbox based on the title cell. **Required** |
|
|
379
|
+
| `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-c-data-list__action` > `.pf-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
|
|
380
|
+
| `id` | `.pf-c-data-list__cell > *`, `.pf-c-data-list__check` > `.pf-c-check__input`, `.pf-c-data-list__action` > `.pf-c-button` | Provides a reference for interactive elements. **Required** |
|
|
381
381
|
|
|
382
382
|
### Usage
|
|
383
383
|
|
|
384
|
-
| Class
|
|
385
|
-
|
|
|
386
|
-
| `.pf-c-data-list__item-control`
|
|
387
|
-
| `.pf-c-data-list__item-action`
|
|
388
|
-
| `.pf-c-data-list__check`
|
|
389
|
-
| `.pf-c-data-list__action`
|
|
390
|
-
| `.pf-m-hidden{-on-[breakpoint]}`
|
|
391
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes).
|
|
384
|
+
| Class | Applied to | Outcome |
|
|
385
|
+
| -- | -- | -- |
|
|
386
|
+
| `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__check` here. **Required** |
|
|
387
|
+
| `.pf-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-c-data-list__action` here. **Required** |
|
|
388
|
+
| `.pf-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
|
|
389
|
+
| `.pf-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
|
|
390
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes), or hides it at all breakpoints with `.pf-m-hidden`. |
|
|
391
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
392
392
|
|
|
393
393
|
### Expandable
|
|
394
394
|
|
|
@@ -1656,28 +1656,28 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
1656
1656
|
|
|
1657
1657
|
### Accessibility
|
|
1658
1658
|
|
|
1659
|
-
| Attribute
|
|
1660
|
-
|
|
|
1661
|
-
| `aria-expanded="true"`
|
|
1662
|
-
| `hidden`
|
|
1663
|
-
| `aria-label="[descriptive text]"`
|
|
1664
|
-
| `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Establishes relationship between aria-label text and toggle button. **Required**
|
|
1665
|
-
| `id="{button_id}"`
|
|
1666
|
-
| `aria-controls="[id of element controlled]"`
|
|
1659
|
+
| Attribute | Applied to | Outcome |
|
|
1660
|
+
| -- | -- | -- |
|
|
1661
|
+
| `aria-expanded="true"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Indicates that the expandable content is visible. **Required**|
|
|
1662
|
+
| `hidden` | `.pf-c-data-list__expandable-content` | Indicates that the expandable content is hidden. **Required**|
|
|
1663
|
+
| `aria-label="[descriptive text]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides an accessible name for toggle button. **Required**|
|
|
1664
|
+
| `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Establishes relationship between aria-label text and toggle button. **Required**
|
|
1665
|
+
| `id="{button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides a reference for toggle button description. **Required** |
|
|
1666
|
+
| `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
|
|
1667
1667
|
|
|
1668
1668
|
### Usage
|
|
1669
1669
|
|
|
1670
|
-
| Class
|
|
1671
|
-
|
|
|
1672
|
-
| `.pf-c-data-list__item-control`
|
|
1673
|
-
| `.pf-c-data-list__toggle`
|
|
1674
|
-
| `.pf-c-data-list__toggle-icon`
|
|
1675
|
-
| `.pf-c-data-list__expandable-content`
|
|
1676
|
-
| `.pf-c-data-list__expandable-content-body` | `<div>`
|
|
1677
|
-
| `.pf-m-expanded`
|
|
1678
|
-
| `.pf-m-compact`
|
|
1679
|
-
| `.pf-m-no-padding`
|
|
1680
|
-
| `.pf-m-icon`
|
|
1670
|
+
| Class | Applied to | Outcome |
|
|
1671
|
+
| -- | -- | -- |
|
|
1672
|
+
| `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__toggle` here. **Required** |
|
|
1673
|
+
| `.pf-c-data-list__toggle` | `<div>` | Initiates a toggle button. |
|
|
1674
|
+
| `.pf-c-data-list__toggle-icon` | `<span>` | Initiates a toggle icon. |
|
|
1675
|
+
| `.pf-c-data-list__expandable-content` | `<div>` | Initiates an expandable content container. |
|
|
1676
|
+
| `.pf-c-data-list__expandable-content-body` | `<div>` | Initiates an expandable content container body. **Required** when `.pf-c-data-list__expandable-content` is used. |
|
|
1677
|
+
| `.pf-m-expanded` | `.pf-c-data-list__item` | Modifies for expanded state. |
|
|
1678
|
+
| `.pf-m-compact` | `.pf-c-data-list` | Modifies for compact variation. |
|
|
1679
|
+
| `.pf-m-no-padding` | `.pf-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
|
|
1680
|
+
| `.pf-m-icon` | `.pf-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
|
|
1681
1681
|
|
|
1682
1682
|
### Modifiers
|
|
1683
1683
|
|
|
@@ -1939,14 +1939,14 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
1939
1939
|
|
|
1940
1940
|
### Accessibility
|
|
1941
1941
|
|
|
1942
|
-
| Attribute
|
|
1943
|
-
|
|
|
1944
|
-
| `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button`
|
|
1942
|
+
| Attribute | Applied to | Outcome |
|
|
1943
|
+
| -- | -- | -- |
|
|
1944
|
+
| `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
|
|
1945
1945
|
|
|
1946
1946
|
### Usage
|
|
1947
1947
|
|
|
1948
|
-
| Class
|
|
1949
|
-
|
|
|
1948
|
+
| Class | Applied to | Outcome |
|
|
1949
|
+
| -- | -- | -- |
|
|
1950
1950
|
| `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-c-data-list__cell` | Percentage based modifier for `.pf-c-data-list__cell` widths. |
|
|
1951
1951
|
|
|
1952
1952
|
### Selectable rows
|
|
@@ -2007,16 +2007,16 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
2007
2007
|
|
|
2008
2008
|
### Accessibility
|
|
2009
2009
|
|
|
2010
|
-
| Attribute
|
|
2011
|
-
|
|
|
2010
|
+
| Attribute | Applied to | Outcome |
|
|
2011
|
+
| -- | -- | -- |
|
|
2012
2012
|
| `tabindex="0"` | `.pf-c-data-list__item.pf-m-selectable` | Inserts the selectable row into the tab order of the page so that it is focusable. **Required** |
|
|
2013
2013
|
|
|
2014
2014
|
### Usage
|
|
2015
2015
|
|
|
2016
|
-
| Class
|
|
2017
|
-
|
|
|
2016
|
+
| Class | Applied to | Outcome |
|
|
2017
|
+
| -- | -- | -- |
|
|
2018
2018
|
| `.pf-m-selectable` | `.pf-c-data-list__item` | Modifies a data list item so that it is selectable. |
|
|
2019
|
-
| `.pf-m-selected`
|
|
2019
|
+
| `.pf-m-selected` | `.pf-c-data-list__item` | Modifies a data list item for the selected state. |
|
|
2020
2020
|
|
|
2021
2021
|
### Selectable expandable rows
|
|
2022
2022
|
|
|
@@ -2378,24 +2378,24 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
2378
2378
|
|
|
2379
2379
|
### Accessibility
|
|
2380
2380
|
|
|
2381
|
-
| Attribute
|
|
2382
|
-
|
|
|
2383
|
-
| `aria-pressed="true or false"`
|
|
2384
|
-
| `aria-live`
|
|
2385
|
-
| `aria-describedby="[id value of applicable content]"`
|
|
2386
|
-
| `aria-labelledby="[id value of .pf-c-data-list__item-draggable-button] [id value of .pf-c-data-list__cell-text]"` | `.pf-c-data-list__item-draggable-button`
|
|
2387
|
-
| `id="[]"`
|
|
2381
|
+
| Attribute | Applied to | Outcome |
|
|
2382
|
+
| -- | -- | -- |
|
|
2383
|
+
| `aria-pressed="true or false"` | `.pf-c-data-list__item-draggable-button` | Indicates that the button is a toggle. When set to "true", `pf-m-active` should also be set so that the button displays in an active state. |
|
|
2384
|
+
| `aria-live` | `[element with live text]` | Gives screen reader users live feedback about what's happening during interaction with the data list, both during drag and drop interactions and keyboard interactions. **Highly Recommended** |
|
|
2385
|
+
| `aria-describedby="[id value of applicable content]"` | `.pf-c-data-list__item-draggable-button` | Gives the draggable button an accessible description by referring to the textual content that describes how to use the button to drag elements. The example here uses a `<div id="draggable-help"></div>`. **Highly recommended** |
|
|
2386
|
+
| `aria-labelledby="[id value of .pf-c-data-list__item-draggable-button] [id value of .pf-c-data-list__cell-text]"` | `.pf-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
|
|
2387
|
+
| `id="[]"` | `.pf-c-data-list__item-draggable-button`, `.pf-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
|
|
2388
2388
|
|
|
2389
2389
|
### Usage
|
|
2390
2390
|
|
|
2391
|
-
| Class
|
|
2392
|
-
|
|
|
2393
|
-
| `.pf-c-data-list__item-draggable-button` | `<button>`
|
|
2394
|
-
| `.pf-c-data-list__item-draggable-icon`
|
|
2395
|
-
| `.pf-m-draggable`
|
|
2396
|
-
| `.pf-m-ghost-row`
|
|
2397
|
-
| `.pf-m-disabled`
|
|
2398
|
-
| `.pf-m-drag-over`
|
|
2391
|
+
| Class | Applied to | Outcome |
|
|
2392
|
+
| -- | -- | -- |
|
|
2393
|
+
| `.pf-c-data-list__item-draggable-button` | `<button>` | Initiates the draggable button. Use for drag and drop. |
|
|
2394
|
+
| `.pf-c-data-list__item-draggable-icon` | `<span>` | Initiates the draggable button icon. |
|
|
2395
|
+
| `.pf-m-draggable` | `.pf-c-data-list__item` | Modifies a data list item so that it is draggable. |
|
|
2396
|
+
| `.pf-m-ghost-row` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a draggable data list item to be the ghost row. |
|
|
2397
|
+
| `.pf-m-disabled` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
|
|
2398
|
+
| `.pf-m-drag-over` | `.pf-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
|
|
2399
2399
|
|
|
2400
2400
|
### Text modifiers
|
|
2401
2401
|
|
|
@@ -2517,12 +2517,12 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
2517
2517
|
|
|
2518
2518
|
### Usage
|
|
2519
2519
|
|
|
2520
|
-
| Class
|
|
2521
|
-
|
|
|
2522
|
-
| `.pf-c-data-list__text` | `*`
|
|
2523
|
-
| `.pf-m-truncate`
|
|
2524
|
-
| `.pf-m-break-word`
|
|
2525
|
-
| `.pf-m-nowrap`
|
|
2520
|
+
| Class | Applied to | Outcome |
|
|
2521
|
+
| -- | -- | -- |
|
|
2522
|
+
| `.pf-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
|
|
2523
|
+
| `.pf-m-truncate` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text is truncated. |
|
|
2524
|
+
| `.pf-m-break-word` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
|
|
2525
|
+
| `.pf-m-nowrap` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
|
|
2526
2526
|
|
|
2527
2527
|
## Documentation
|
|
2528
2528
|
|
|
@@ -2661,6 +2661,6 @@ The DataList component provides a flexible alternative to the Table component, w
|
|
|
2661
2661
|
|
|
2662
2662
|
### Usage
|
|
2663
2663
|
|
|
2664
|
-
| Class
|
|
2665
|
-
|
|
|
2664
|
+
| Class | Applied to | Outcome |
|
|
2665
|
+
| -- | -- | -- |
|
|
2666
2666
|
| `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). `.pf-m-grid` will display the grid layout at all breakpoints. `.pf-m-grid-none` will display the desktop layout at all breakpoints. **Note:** Without a grid modifier, the data list will display the grid layout by default and switch to the desktop layout at a medium breakpoint. |
|
|
@@ -183,13 +183,13 @@ cssPrefix: pf-c-date-picker
|
|
|
183
183
|
|
|
184
184
|
### Usage
|
|
185
185
|
|
|
186
|
-
| Class
|
|
187
|
-
|
|
|
188
|
-
| `.pf-c-date-picker`
|
|
189
|
-
| `.pf-c-date-picker__input`
|
|
190
|
-
| `.pf-c-date-picker__helper-text` | `<div>`
|
|
191
|
-
| `.pf-c-date-picker__calendar`
|
|
192
|
-
| `.pf-m-top`
|
|
193
|
-
| `.pf-m-error`
|
|
194
|
-
| `.pf-m-align-right`
|
|
195
|
-
| `.pf-m-static`
|
|
186
|
+
| Class | Applied to | Outcome |
|
|
187
|
+
| -- | -- | -- |
|
|
188
|
+
| `.pf-c-date-picker` | `<div>` | Initiates the date picker component. **Required** |
|
|
189
|
+
| `.pf-c-date-picker__input` | `<div>` | Initiates the date picker input container. **Required** |
|
|
190
|
+
| `.pf-c-date-picker__helper-text` | `<div>` | Initiates the date picker helper text. |
|
|
191
|
+
| `.pf-c-date-picker__calendar` | `<div>` | Initiates an optional date picker calendar container. **Note:** Required in the react date picker component. |
|
|
192
|
+
| `.pf-m-top` | `.pf-c-date-picker` | Modifies to display the calendar above the date picker. |
|
|
193
|
+
| `.pf-m-error` | `.pf-c-date-picker__helper-text` | Modifies the helper text for the invalid/error state. |
|
|
194
|
+
| `.pf-m-align-right` | `.pf-c-date-picker__calendar` | Modifies the calendar to align the calendar to the right edge of the date picker. |
|
|
195
|
+
| `.pf-m-static` | `.pf-c-date-picker__calendar` | Modifies the calendar to be statically positioned to support custom positioning. |
|