@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
|
@@ -8,7 +8,7 @@ cssPrefix: pf-c-jump-links
|
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
10
|
<nav class="pf-c-jump-links">
|
|
11
|
-
<ul class="pf-c-jump-links__list">
|
|
11
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
12
12
|
<li class="pf-c-jump-links__item">
|
|
13
13
|
<a class="pf-c-jump-links__link" href="#">
|
|
14
14
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -33,7 +33,7 @@ cssPrefix: pf-c-jump-links
|
|
|
33
33
|
|
|
34
34
|
```html
|
|
35
35
|
<nav class="pf-c-jump-links pf-m-center">
|
|
36
|
-
<ul class="pf-c-jump-links__list">
|
|
36
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
37
37
|
<li class="pf-c-jump-links__item">
|
|
38
38
|
<a class="pf-c-jump-links__link" href="#">
|
|
39
39
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -62,7 +62,7 @@ cssPrefix: pf-c-jump-links
|
|
|
62
62
|
<div class="pf-c-jump-links__header">
|
|
63
63
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
64
64
|
</div>
|
|
65
|
-
<ul class="pf-c-jump-links__list">
|
|
65
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
66
66
|
<li class="pf-c-jump-links__item">
|
|
67
67
|
<a class="pf-c-jump-links__link" href="#">
|
|
68
68
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -87,7 +87,7 @@ cssPrefix: pf-c-jump-links
|
|
|
87
87
|
<div class="pf-c-jump-links__header">
|
|
88
88
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
89
89
|
</div>
|
|
90
|
-
<ul class="pf-c-jump-links__list">
|
|
90
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
91
91
|
<li class="pf-c-jump-links__item">
|
|
92
92
|
<a class="pf-c-jump-links__link" href="#">
|
|
93
93
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -113,7 +113,7 @@ cssPrefix: pf-c-jump-links
|
|
|
113
113
|
|
|
114
114
|
```html
|
|
115
115
|
<nav class="pf-c-jump-links pf-m-vertical">
|
|
116
|
-
<ul class="pf-c-jump-links__list">
|
|
116
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
117
117
|
<li class="pf-c-jump-links__item">
|
|
118
118
|
<a class="pf-c-jump-links__link" href="#">
|
|
119
119
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -151,7 +151,7 @@ cssPrefix: pf-c-jump-links
|
|
|
151
151
|
<div class="pf-c-jump-links__header">
|
|
152
152
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
153
153
|
</div>
|
|
154
|
-
<ul class="pf-c-jump-links__list">
|
|
154
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
155
155
|
<li class="pf-c-jump-links__item">
|
|
156
156
|
<a class="pf-c-jump-links__link" href="#">
|
|
157
157
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -189,7 +189,7 @@ cssPrefix: pf-c-jump-links
|
|
|
189
189
|
<div class="pf-c-jump-links__header">
|
|
190
190
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
191
191
|
</div>
|
|
192
|
-
<ul class="pf-c-jump-links__list">
|
|
192
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
193
193
|
<li class="pf-c-jump-links__item pf-m-current">
|
|
194
194
|
<a class="pf-c-jump-links__link" href="#">
|
|
195
195
|
<span class="pf-c-jump-links__link-text">Active section</span>
|
|
@@ -204,7 +204,7 @@ cssPrefix: pf-c-jump-links
|
|
|
204
204
|
<a class="pf-c-jump-links__link" href="#">
|
|
205
205
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
206
206
|
</a>
|
|
207
|
-
<ul class="pf-c-jump-links__list">
|
|
207
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
208
208
|
<li class="pf-c-jump-links__item">
|
|
209
209
|
<a class="pf-c-jump-links__link" href="#">
|
|
210
210
|
<span class="pf-c-jump-links__link-text">Inactive subsection</span>
|
|
@@ -239,7 +239,7 @@ cssPrefix: pf-c-jump-links
|
|
|
239
239
|
<div class="pf-c-jump-links__header">
|
|
240
240
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
241
241
|
</div>
|
|
242
|
-
<ul class="pf-c-jump-links__list">
|
|
242
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
243
243
|
<li class="pf-c-jump-links__item">
|
|
244
244
|
<a class="pf-c-jump-links__link" href="#">
|
|
245
245
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -254,7 +254,7 @@ cssPrefix: pf-c-jump-links
|
|
|
254
254
|
<a class="pf-c-jump-links__link" href="#">
|
|
255
255
|
<span class="pf-c-jump-links__link-text">Active section</span>
|
|
256
256
|
</a>
|
|
257
|
-
<ul class="pf-c-jump-links__list">
|
|
257
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
258
258
|
<li class="pf-c-jump-links__item pf-m-current">
|
|
259
259
|
<a class="pf-c-jump-links__link" href="#">
|
|
260
260
|
<span class="pf-c-jump-links__link-text">Active subsection</span>
|
|
@@ -305,7 +305,7 @@ cssPrefix: pf-c-jump-links
|
|
|
305
305
|
</div>
|
|
306
306
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
307
307
|
</div>
|
|
308
|
-
<ul class="pf-c-jump-links__list">
|
|
308
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
309
309
|
<li class="pf-c-jump-links__item">
|
|
310
310
|
<a class="pf-c-jump-links__link" href="#">
|
|
311
311
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -359,7 +359,7 @@ cssPrefix: pf-c-jump-links
|
|
|
359
359
|
</div>
|
|
360
360
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
361
361
|
</div>
|
|
362
|
-
<ul class="pf-c-jump-links__list">
|
|
362
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
363
363
|
<li class="pf-c-jump-links__item">
|
|
364
364
|
<a class="pf-c-jump-links__link" href="#">
|
|
365
365
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -413,7 +413,7 @@ cssPrefix: pf-c-jump-links
|
|
|
413
413
|
</div>
|
|
414
414
|
<div class="pf-c-jump-links__label">Jump to section</div>
|
|
415
415
|
</div>
|
|
416
|
-
<ul class="pf-c-jump-links__list">
|
|
416
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
417
417
|
<li class="pf-c-jump-links__item">
|
|
418
418
|
<a class="pf-c-jump-links__link" href="#">
|
|
419
419
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -465,7 +465,7 @@ cssPrefix: pf-c-jump-links
|
|
|
465
465
|
</button>
|
|
466
466
|
</div>
|
|
467
467
|
</div>
|
|
468
|
-
<ul class="pf-c-jump-links__list">
|
|
468
|
+
<ul class="pf-c-jump-links__list" role="list">
|
|
469
469
|
<li class="pf-c-jump-links__item">
|
|
470
470
|
<a class="pf-c-jump-links__link" href="#">
|
|
471
471
|
<span class="pf-c-jump-links__link-text">Inactive section</span>
|
|
@@ -502,28 +502,28 @@ cssPrefix: pf-c-jump-links
|
|
|
502
502
|
|
|
503
503
|
### Accessibility
|
|
504
504
|
|
|
505
|
-
| Attribute
|
|
506
|
-
|
|
|
505
|
+
| Attribute | Applied to | Outcome |
|
|
506
|
+
| -- | -- | -- |
|
|
507
507
|
| `aria-label` | `.pf-c-jump-links` | Provides an accessible name for the jump links. |
|
|
508
508
|
|
|
509
509
|
### Usage
|
|
510
510
|
|
|
511
|
-
| Class
|
|
512
|
-
|
|
|
513
|
-
| `.pf-c-jump-links`
|
|
514
|
-
| `.pf-c-jump-links__header`
|
|
515
|
-
| `.pf-c-jump-links__toggle`
|
|
516
|
-
| `.pf-c-jump-links__toggle-text`
|
|
517
|
-
| `.pf-c-jump-links__toggle-icon`
|
|
518
|
-
| `.pf-c-jump-links__label`
|
|
519
|
-
| `.pf-c-jump-links__main`
|
|
520
|
-
| `.pf-c-jump-links__list`
|
|
521
|
-
| `.pf-c-jump-links__item`
|
|
522
|
-
| `.pf-c-jump-links__link`
|
|
523
|
-
| `.pf-c-jump-links__link-text`
|
|
524
|
-
| `.pf-m-vertical`
|
|
525
|
-
| `.pf-m-center`
|
|
526
|
-
| `.pf-m-expandable{-on-[breakpoint]}`
|
|
527
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-c-jump-links`
|
|
528
|
-
| `.pf-m-expanded`
|
|
529
|
-
| `.pf-m-current`
|
|
511
|
+
| Class | Applied to | Outcome |
|
|
512
|
+
| -- | -- | -- |
|
|
513
|
+
| `.pf-c-jump-links` | `<div>` | Initiates the jump links container. |
|
|
514
|
+
| `.pf-c-jump-links__header` | `<div>` | Initiates the jump links header. |
|
|
515
|
+
| `.pf-c-jump-links__toggle` | `<div>` | Initiates the jump links expandable toggle. |
|
|
516
|
+
| `.pf-c-jump-links__toggle-text` | `<span>` | Initiates the jump links expandable toggle text. |
|
|
517
|
+
| `.pf-c-jump-links__toggle-icon` | `<span>` | Initiates the jump links expandable toggle icon. |
|
|
518
|
+
| `.pf-c-jump-links__label` | `<div>` | Initiates the jump links label. |
|
|
519
|
+
| `.pf-c-jump-links__main` | `<div>` | Initiates the jump links main container for when a label and list is used in the horizontal variation. |
|
|
520
|
+
| `.pf-c-jump-links__list` | `<ul>` | Initiates the jump links list. |
|
|
521
|
+
| `.pf-c-jump-links__item` | `<li>` | Initiates the jump links list item. |
|
|
522
|
+
| `.pf-c-jump-links__link` | `<button>` | Initiates the jump links link. |
|
|
523
|
+
| `.pf-c-jump-links__link-text` | `<div>` | Initiates the jump links link text. |
|
|
524
|
+
| `.pf-m-vertical` | `.pf-c-jump-links` | Modifies the jump links component to be vertical. |
|
|
525
|
+
| `.pf-m-center` | `.pf-c-jump-links` | Modifies the jump links component to center its list and label. |
|
|
526
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-c-jump-links` | Modifies the jump links component to be expandable via a toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** works with vertical jump links only. |
|
|
527
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-c-jump-links` | Modifies the jump links component to be non-expandable at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
528
|
+
| `.pf-m-expanded` | `.pf-c-jump-links` | Modifies the expandable jump links component for the expanded state. |
|
|
529
|
+
| `.pf-m-current` | `.pf-c-jump-links__item`| Modifies the jump links item to be current. |
|
|
@@ -1277,17 +1277,17 @@ This style of label is used to indicate overflow within a label group.
|
|
|
1277
1277
|
|
|
1278
1278
|
**Note: Editable label behavior must be handled with JavaScript.**
|
|
1279
1279
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1280
|
+
* `.pf-c-label__editable-text` onClick event should:
|
|
1281
|
+
* Set `.pf-m-editable-active` on `.pf-c-label`
|
|
1282
|
+
* Change `.pf-c-label__editable-text`from a button to an input
|
|
1283
|
+
* Return keypress, when content is editable, should:
|
|
1284
|
+
* Be captured to prevent line wrapping and save updates to label text
|
|
1285
|
+
* Remove `.pf-m-editable-active` from `.pf-c-label`
|
|
1286
|
+
* Change `.pf-c-label__editable-text` back from an input to a button and set the `currvalue` of the button to the contents of the input
|
|
1287
|
+
* Esc keypress, when content is editable, should:
|
|
1288
|
+
* Undo any update to label text
|
|
1289
|
+
* Remove `.pf-m-editable-active` from `.pf-c-label`
|
|
1290
|
+
* Change `.pf-c-label__editable-text` back to a button
|
|
1291
1291
|
|
|
1292
1292
|
```html isBeta
|
|
1293
1293
|
<span class="pf-c-label pf-m-blue pf-m-editable">
|
|
@@ -1367,23 +1367,23 @@ This style of label is used to add new labels to a label group.
|
|
|
1367
1367
|
|
|
1368
1368
|
### Usage
|
|
1369
1369
|
|
|
1370
|
-
| Class
|
|
1371
|
-
|
|
|
1372
|
-
| `.pf-c-label`
|
|
1373
|
-
| `.pf-c-label__content`
|
|
1374
|
-
| `.pf-c-label__icon`
|
|
1375
|
-
| `.pf-c-label__text`
|
|
1376
|
-
| `.pf-c-label__editable-text` | `<button>`, `<input>`
|
|
1377
|
-
| `.pf-m-outline`
|
|
1378
|
-
| `.pf-m-compact`
|
|
1379
|
-
| `.pf-m-overflow`
|
|
1380
|
-
| `.pf-m-add`
|
|
1381
|
-
| `.pf-m-blue`
|
|
1382
|
-
| `.pf-m-green`
|
|
1383
|
-
| `.pf-m-orange`
|
|
1384
|
-
| `.pf-m-red`
|
|
1385
|
-
| `.pf-m-purple`
|
|
1386
|
-
| `.pf-m-cyan`
|
|
1387
|
-
| `.pf-m-gold`
|
|
1388
|
-
| `.pf-m-editable`
|
|
1389
|
-
| `.pf-m-editable-active`
|
|
1370
|
+
| Class | Applied to | Outcome |
|
|
1371
|
+
| -- | -- | -- |
|
|
1372
|
+
| `.pf-c-label` | `<span>`, `<button>` | Initiates a label. Without a color modifier, the label's default style is grey. Use a color modifier to change the label color. Use a `<button>` if the label is an overflow label used in the label group. **Required** |
|
|
1373
|
+
| `.pf-c-label__content` | `<span>`, `<a>`, `<button>` | Iniates a label content. Use as an `<a>` element if the label serves as a link. Use a `<button>` if the label serves as an action. **Required** |
|
|
1374
|
+
| `.pf-c-label__icon` | `<span>` | Initiates a label icon. |
|
|
1375
|
+
| `.pf-c-label__text` | `<span>` | Initiates label text. |
|
|
1376
|
+
| `.pf-c-label__editable-text` | `<button>`, `<input>` | Initiates editable label text. See the [editable](#editable) example for details about handling behavior in Javascript.|
|
|
1377
|
+
| `.pf-m-outline` | `.pf-c-label` | Modifies label for outline styles. |
|
|
1378
|
+
| `.pf-m-compact` | `.pf-c-label` | Modifies label for compact styles. |
|
|
1379
|
+
| `.pf-m-overflow` | `.pf-c-label` | Modifies label for overflow styles for use in a label group. |
|
|
1380
|
+
| `.pf-m-add` | `.pf-c-label` | Modifies label for add styles for use in a label group. |
|
|
1381
|
+
| `.pf-m-blue` | `.pf-c-label` | Modifies the label to have blue colored styling. |
|
|
1382
|
+
| `.pf-m-green` | `.pf-c-label` | Modifies the label to have green colored styling. |
|
|
1383
|
+
| `.pf-m-orange` | `.pf-c-label` | Modifies the label to have orange colored styling. |
|
|
1384
|
+
| `.pf-m-red` | `.pf-c-label` | Modifies the label to have red colored styling. |
|
|
1385
|
+
| `.pf-m-purple` | `.pf-c-label` | Modifies the label to have purple colored styling. |
|
|
1386
|
+
| `.pf-m-cyan` | `.pf-c-label` | Modifies the label to have cyan colored styling. |
|
|
1387
|
+
| `.pf-m-gold` | `.pf-c-label` | Modifies the label to have gold colored styling. |
|
|
1388
|
+
| `.pf-m-editable` | `.pf-c-label` | Modifies label for editable styles. |
|
|
1389
|
+
| `.pf-m-editable-active` | `.pf-c-label.pf-m-editable` | Modifies editable label for active styles. |
|
|
@@ -606,7 +606,7 @@ cssPrefix: pf-c-label-group
|
|
|
606
606
|
|
|
607
607
|
In addition to the JavaScript management of [editable labels](/components/label#editable), dynamic label groups also need:
|
|
608
608
|
|
|
609
|
-
|
|
609
|
+
* `.pf-c-label-group.pf-m-editable` onClick event should (excluding labels within) set focus on `.pf-c-label-group__textarea`
|
|
610
610
|
|
|
611
611
|
### Editable labels, dynamic label group
|
|
612
612
|
|
|
@@ -1073,27 +1073,27 @@ In addition to the JavaScript management of [editable labels](/components/label#
|
|
|
1073
1073
|
|
|
1074
1074
|
### Accessibility
|
|
1075
1075
|
|
|
1076
|
-
| Attribute
|
|
1077
|
-
|
|
|
1078
|
-
| `role="list"`
|
|
1079
|
-
| `aria-label="[button label text]"`
|
|
1080
|
-
| `aria-labelledby="[id value of .pf-c-label-group__close > button] [id value of .pf-c-label-group__label]"` | `.pf-c-label-group__close > button` | Provides an accessible name for the button. **Required**
|
|
1081
|
-
| `aria-label="[label text]"`
|
|
1082
|
-
| `row="1"`
|
|
1083
|
-
| `tabindex="0"`
|
|
1076
|
+
| Attribute | Applied to | Outcome |
|
|
1077
|
+
| -- | -- | -- |
|
|
1078
|
+
| `role="list"` | `.pf-c-label-group__list` | Indicates that the label group list is a list element. This role is redundant since `.pf-c-label-group__list` is a `<ul>` but is required for screen readers to announce the list propertly. **Required** |
|
|
1079
|
+
| `aria-label="[button label text]"` | `.pf-c-label-group__close > button` | Provides an accessible name for a label group close button when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
|
|
1080
|
+
| `aria-labelledby="[id value of .pf-c-label-group__close > button] [id value of .pf-c-label-group__label]"` | `.pf-c-label-group__close > button` | Provides an accessible name for the button. **Required** |
|
|
1081
|
+
| `aria-label="[label text]"` | `.pf-c-label-group__textarea` | Provides an accessible name for the textarea. **Required** |
|
|
1082
|
+
| `row="1"` | `.pf-c-label-group__textarea` | Indicates that the label group textarea is one row. **Required** |
|
|
1083
|
+
| `tabindex="0"` | `.pf-c-label-group__textarea` | Inserts the label group textarea into the tab order of the page so that it is focusable. **Required** |
|
|
1084
1084
|
|
|
1085
1085
|
### Usage
|
|
1086
1086
|
|
|
1087
|
-
| Class
|
|
1088
|
-
|
|
|
1089
|
-
| `.pf-c-label-group`
|
|
1090
|
-
| `.pf-c-label-group__list`
|
|
1091
|
-
| `.pf-c-label-group__list-item` | `<li>`
|
|
1092
|
-
| `.pf-c-label-group__main`
|
|
1093
|
-
| `.pf-c-label-group__textarea`
|
|
1094
|
-
| `.pf-c-label-group__label`
|
|
1095
|
-
| `.pf-c-label-group__close`
|
|
1096
|
-
| `.pf-c-button`
|
|
1097
|
-
| `.pf-m-editable`
|
|
1098
|
-
| `.pf-m-category`
|
|
1099
|
-
| `.pf-m-textarea`
|
|
1087
|
+
| Class | Applied to | Outcome |
|
|
1088
|
+
| -- | -- | -- |
|
|
1089
|
+
| `.pf-c-label-group` | `<div>` | Initiates the label group component. **Required.** |
|
|
1090
|
+
| `.pf-c-label-group__list` | `<ul>` | Initiates the container for a list of labels. **Required.** |
|
|
1091
|
+
| `.pf-c-label-group__list-item` | `<li>` | Initiates the list item inside of the label group. **Required.** |
|
|
1092
|
+
| `.pf-c-label-group__main` | `<div>` | Initiates the main element in the label group. **Required when label and list are present** |
|
|
1093
|
+
| `.pf-c-label-group__textarea` | `<textarea>` | Initiates the textarea element in the label group. **Required when label group is editable** |
|
|
1094
|
+
| `.pf-c-label-group__label` | `<span>` | Initiates the label to be used in the label group. |
|
|
1095
|
+
| `.pf-c-label-group__close` | `<div>` | Initiates the container used for the button to remove the label group. |
|
|
1096
|
+
| `.pf-c-button` | `.pf-c-label-group__close <button>` | Initiates the button used to remove the label group. |
|
|
1097
|
+
| `.pf-m-editable` | `.pf-c-label-group` | Modifies the label group to support editable styling. |
|
|
1098
|
+
| `.pf-m-category` | `.pf-c-label-group` | Modifies the label group to support category styling. |
|
|
1099
|
+
| `.pf-m-textarea` | `.pf-c-label-group__list-item` | Modifies the label group list item to support textarea. |
|
|
@@ -7,17 +7,17 @@ cssPrefix: pf-c-list
|
|
|
7
7
|
### Unordered
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
|
-
<ul class="pf-c-list">
|
|
10
|
+
<ul class="pf-c-list" role="list">
|
|
11
11
|
<li>In fermentum leo eu lectus mollis, quis dictum mi aliquet.</li>
|
|
12
12
|
<li>Morbi eu nulla lobortis, lobortis est in, fringilla felis.</li>
|
|
13
13
|
<li>
|
|
14
14
|
Aliquam nec felis in sapien venenatis viverra fermentum nec lectus.
|
|
15
|
-
<ul class="pf-c-list">
|
|
15
|
+
<ul class="pf-c-list" role="list">
|
|
16
16
|
<li>In fermentum leo eu lectus mollis, quis dictum mi aliquet.</li>
|
|
17
17
|
<li>Morbi eu nulla lobortis, lobortis est in, fringilla felis.</li>
|
|
18
18
|
<li>
|
|
19
19
|
Ut venenatis, nisl scelerisque.
|
|
20
|
-
<ol class="pf-c-list">
|
|
20
|
+
<ol class="pf-c-list" role="list">
|
|
21
21
|
<li>Donec blandit a lorem id convallis.</li>
|
|
22
22
|
<li>Cras gravida arcu at diam gravida gravida.</li>
|
|
23
23
|
<li>Integer in volutpat libero.</li>
|
|
@@ -33,19 +33,19 @@ cssPrefix: pf-c-list
|
|
|
33
33
|
### Ordered
|
|
34
34
|
|
|
35
35
|
```html
|
|
36
|
-
<ol class="pf-c-list">
|
|
36
|
+
<ol class="pf-c-list" role="list">
|
|
37
37
|
<li>Donec blandit a lorem id convallis.</li>
|
|
38
38
|
<li>Cras gravida arcu at diam gravida gravida.</li>
|
|
39
39
|
<li>Integer in volutpat libero.</li>
|
|
40
40
|
<li>Donec a diam tellus.</li>
|
|
41
41
|
<li>
|
|
42
42
|
Etiam auctor nisl et.
|
|
43
|
-
<ul class="pf-c-list">
|
|
43
|
+
<ul class="pf-c-list" role="list">
|
|
44
44
|
<li>Donec blandit a lorem id convallis.</li>
|
|
45
45
|
<li>Cras gravida arcu at diam gravida gravida.</li>
|
|
46
46
|
<li>
|
|
47
47
|
Integer in volutpat libero.
|
|
48
|
-
<ol class="pf-c-list">
|
|
48
|
+
<ol class="pf-c-list" role="list">
|
|
49
49
|
<li>Donec blandit a lorem id convallis.</li>
|
|
50
50
|
<li>Cras gravida arcu at diam gravida gravida.</li>
|
|
51
51
|
</ol>
|
|
@@ -62,7 +62,7 @@ cssPrefix: pf-c-list
|
|
|
62
62
|
### Inline
|
|
63
63
|
|
|
64
64
|
```html
|
|
65
|
-
<ul class="pf-c-list pf-m-inline">
|
|
65
|
+
<ul class="pf-c-list pf-m-inline" role="list">
|
|
66
66
|
<li>Inline list item 1</li>
|
|
67
67
|
<li>Inline list item 2</li>
|
|
68
68
|
<li>Inline list item 3</li>
|
|
@@ -73,12 +73,12 @@ cssPrefix: pf-c-list
|
|
|
73
73
|
### Plain
|
|
74
74
|
|
|
75
75
|
```html
|
|
76
|
-
<ul class="pf-c-list pf-m-plain">
|
|
76
|
+
<ul class="pf-c-list pf-m-plain" role="list">
|
|
77
77
|
<li>Donec blandit a lorem id convallis.</li>
|
|
78
78
|
<li>Integer in volutpat libero.</li>
|
|
79
79
|
<li>
|
|
80
80
|
Donec a diam tellus.
|
|
81
|
-
<ul class="pf-c-list">
|
|
81
|
+
<ul class="pf-c-list" role="list">
|
|
82
82
|
<li>Donec blandit a lorem id convallis.</li>
|
|
83
83
|
<li>Cras gravida arcu at diam gravida gravida.</li>
|
|
84
84
|
<li>Integer in volutpat libero.</li>
|
|
@@ -93,7 +93,7 @@ cssPrefix: pf-c-list
|
|
|
93
93
|
### With horizontal rules
|
|
94
94
|
|
|
95
95
|
```html
|
|
96
|
-
<ul class="pf-c-list pf-m-plain pf-m-bordered">
|
|
96
|
+
<ul class="pf-c-list pf-m-plain pf-m-bordered" role="list">
|
|
97
97
|
<li>Donec blandit a lorem id convallis.</li>
|
|
98
98
|
<li>Integer in volutpat libero.</li>
|
|
99
99
|
<li>Donec a diam tellus.</li>
|
|
@@ -106,7 +106,7 @@ cssPrefix: pf-c-list
|
|
|
106
106
|
### With small icons
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<ul class="pf-c-list pf-m-plain">
|
|
109
|
+
<ul class="pf-c-list pf-m-plain" role="list">
|
|
110
110
|
<li class="pf-c-list__item">
|
|
111
111
|
<span class="pf-c-list__item-icon">
|
|
112
112
|
<i class="fas fa-book-open fa-fw" aria-hidden="true"></i>
|
|
@@ -132,7 +132,7 @@ cssPrefix: pf-c-list
|
|
|
132
132
|
### With large icons
|
|
133
133
|
|
|
134
134
|
```html
|
|
135
|
-
<ul class="pf-c-list pf-m-plain pf-m-icon-lg">
|
|
135
|
+
<ul class="pf-c-list pf-m-plain pf-m-icon-lg" role="list">
|
|
136
136
|
<li class="pf-c-list__item">
|
|
137
137
|
<span class="pf-c-list__item-icon">
|
|
138
138
|
<i class="fas fa-book-open fa-fw" aria-hidden="true"></i>
|
|
@@ -163,10 +163,10 @@ Non-inline lists can be nested up to any level.
|
|
|
163
163
|
|
|
164
164
|
### Usage
|
|
165
165
|
|
|
166
|
-
| Class
|
|
167
|
-
|
|
|
168
|
-
| `.pf-c-list`
|
|
169
|
-
| `.pf-m-inline`
|
|
170
|
-
| `.pf-m-plain`
|
|
166
|
+
| Class | Applied to | Outcome |
|
|
167
|
+
| -- | -- | -- |
|
|
168
|
+
| `.pf-c-list` | `<ul>, <ol>` | Initiates a list. **Required** |
|
|
169
|
+
| `.pf-m-inline` | `.pf-c-list` | Displays list items inline. |
|
|
170
|
+
| `.pf-m-plain` | `.pf-c-list` | Removes the list marker and base indentation. |
|
|
171
171
|
| `.pf-m-bordered` | `.pf-c-list` | Add horizontal divider between items in a list. |
|
|
172
|
-
| `.pf-m-icon-lg`
|
|
172
|
+
| `.pf-m-icon-lg` | `.pf-c-list` | Show all the icons or logos in the list large. |
|