@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +1005 -856
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +319 -290
- package/base/tokens/_tokens-default.scss +485 -329
- package/base/tokens/_tokens-font.scss +122 -58
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +27 -16
- package/components/Breadcrumb/breadcrumb.scss +27 -18
- package/components/Button/button.css +398 -354
- package/components/Button/button.scss +455 -477
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +54 -51
- package/components/DualListSelector/dual-list-selector.scss +55 -54
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +66 -116
- package/components/Form/form.scss +63 -128
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +378 -355
- package/components/Label/label.scss +431 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +68 -112
- package/components/Login/login.scss +54 -82
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +388 -417
- package/components/Menu/menu.scss +370 -525
- package/components/MenuToggle/menu-toggle.css +223 -276
- package/components/MenuToggle/menu-toggle.scss +322 -390
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +4 -4
- package/components/NotificationBadge/notification-badge.scss +4 -4
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +32 -52
- package/components/SimpleList/simple-list.scss +37 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +31 -47
- package/components/Table/table-grid.scss +42 -55
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +81 -74
- package/components/Table/table-tree-view.scss +53 -39
- package/components/Table/table.css +159 -264
- package/components/Table/table.scss +216 -351
- package/components/Tabs/tabs.css +142 -175
- package/components/Tabs/tabs.scss +158 -218
- package/components/TextInputGroup/text-input-group.css +0 -14
- package/components/TextInputGroup/text-input-group.scss +3 -16
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +122 -205
- package/components/Wizard/wizard.scss +121 -181
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1439 -113
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +100 -80
- package/docs/components/Login/examples/Login.md +160 -105
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +7 -11
- package/docs/components/Menu/examples/Menu.md +213 -486
- package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +69 -243
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Wizard/examples/Wizard.md +31 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
- package/docs/demos/Alert/examples/Alert.md +366 -99
- package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
- package/docs/demos/Banner/examples/Banner.md +235 -68
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +256 -192
- package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
- package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
- package/docs/demos/DataList/examples/DataList.md +1049 -950
- package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
- package/docs/demos/Drawer/examples/Drawer.md +700 -271
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
- package/docs/demos/Masthead/examples/Masthead.md +833 -357
- package/docs/demos/Modal/examples/Modal.md +717 -222
- package/docs/demos/Nav/examples/Nav.md +763 -926
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
- package/docs/demos/Page/examples/Page.md +1050 -309
- package/docs/demos/Page/examples/Penta.md +73 -31
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
- package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
- package/docs/demos/Table/examples/Table.md +4002 -3503
- package/docs/demos/Tabs/examples/Tabs.md +711 -219
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
- package/docs/demos/Wizard/examples/Wizard.md +1134 -315
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
- package/patternfly-base-no-globals.css +1021 -868
- package/patternfly-base-theme-dark-unversioned.css +1027 -873
- package/patternfly-base.css +1027 -873
- package/patternfly-no-globals.css +9048 -8979
- package/patternfly-theme-dark-unversioned.css +9051 -8981
- package/patternfly.css +9051 -8981
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/components/Wizard/themes/dark/wizard.scss +0 -12
- package/docs/components/Avatar/examples/Avatar.css +0 -3
|
@@ -194,7 +194,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
194
194
|
type="button"
|
|
195
195
|
aria-label="Remove from list"
|
|
196
196
|
>
|
|
197
|
-
<i class="fas fa-times
|
|
197
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
198
198
|
</button>
|
|
199
199
|
</div>
|
|
200
200
|
</li>
|
|
@@ -243,7 +243,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
243
243
|
type="button"
|
|
244
244
|
aria-label="Remove from list"
|
|
245
245
|
>
|
|
246
|
-
<i class="fas fa-times
|
|
246
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
247
247
|
</button>
|
|
248
248
|
</div>
|
|
249
249
|
</li>
|
|
@@ -292,7 +292,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
292
292
|
type="button"
|
|
293
293
|
aria-label="Remove from list"
|
|
294
294
|
>
|
|
295
|
-
<i class="fas fa-times
|
|
295
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
296
296
|
</button>
|
|
297
297
|
</div>
|
|
298
298
|
</li>
|
|
@@ -393,7 +393,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
393
393
|
type="button"
|
|
394
394
|
aria-label="Remove from list"
|
|
395
395
|
>
|
|
396
|
-
<i class="fas fa-times
|
|
396
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
397
397
|
</button>
|
|
398
398
|
</div>
|
|
399
399
|
</li>
|
|
@@ -442,7 +442,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
442
442
|
type="button"
|
|
443
443
|
aria-label="Remove from list"
|
|
444
444
|
>
|
|
445
|
-
<i class="fas fa-times
|
|
445
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
446
446
|
</button>
|
|
447
447
|
</div>
|
|
448
448
|
</li>
|
|
@@ -491,7 +491,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
491
491
|
type="button"
|
|
492
492
|
aria-label="Remove from list"
|
|
493
493
|
>
|
|
494
|
-
<i class="fas fa-times
|
|
494
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
495
495
|
</button>
|
|
496
496
|
</div>
|
|
497
497
|
</li>
|
|
@@ -592,7 +592,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
592
592
|
type="button"
|
|
593
593
|
aria-label="Remove from list"
|
|
594
594
|
>
|
|
595
|
-
<i class="fas fa-times
|
|
595
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
596
596
|
</button>
|
|
597
597
|
</div>
|
|
598
598
|
</li>
|
|
@@ -641,7 +641,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
641
641
|
type="button"
|
|
642
642
|
aria-label="Remove from list"
|
|
643
643
|
>
|
|
644
|
-
<i class="fas fa-times
|
|
644
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
645
645
|
</button>
|
|
646
646
|
</div>
|
|
647
647
|
</li>
|
|
@@ -690,7 +690,7 @@ cssPrefix: pf-v5-c-multiple-file-upload
|
|
|
690
690
|
type="button"
|
|
691
691
|
aria-label="Remove from list"
|
|
692
692
|
>
|
|
693
|
-
<i class="fas fa-times
|
|
693
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
694
694
|
</button>
|
|
695
695
|
</div>
|
|
696
696
|
</li>
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
.ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .pf-v5-c-nav {
|
|
2
|
-
padding: 0;
|
|
3
|
-
background-color: var(--pf-v5-global--BackgroundColor--dark-300);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
#ws-core-c-navigation-horizontal-in-masthead,
|
|
7
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow {
|
|
8
|
-
grid-template-rows: auto;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
|
12
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
|
13
|
-
min-height: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media screen and (min-width: 1200px) {
|
|
17
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
|
18
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
|
19
|
-
min-height: var(--pf-v5-c-page__header--MinHeight);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
1
|
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header-nav,
|
|
24
2
|
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header-nav {
|
|
25
3
|
grid-row: 1;
|
|
@@ -27,7 +5,7 @@
|
|
|
27
5
|
|
|
28
6
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html,
|
|
29
7
|
[id^="ws-core-c-navigation-nav-with-drilldown-menu"] .ws-preview-html {
|
|
30
|
-
width:
|
|
8
|
+
width: 280px;
|
|
31
9
|
}
|
|
32
10
|
|
|
33
11
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html {
|
|
@@ -50,6 +50,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
50
50
|
</li>
|
|
51
51
|
</ul>
|
|
52
52
|
</section>
|
|
53
|
+
|
|
53
54
|
<section class="pf-v5-c-nav__section" aria-labelledby="grouped-title2">
|
|
54
55
|
<h2 class="pf-v5-c-nav__section-title" id="grouped-title2">Section title 2</h2>
|
|
55
56
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
@@ -90,6 +91,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
90
91
|
</ul>
|
|
91
92
|
</section>
|
|
92
93
|
<hr class="pf-v5-c-divider" />
|
|
94
|
+
|
|
93
95
|
<section class="pf-v5-c-nav__section" aria-label="Section two">
|
|
94
96
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
95
97
|
<li class="pf-v5-c-nav__item">
|
|
@@ -116,11 +118,11 @@ cssPrefix: pf-v5-c-nav
|
|
|
116
118
|
```html
|
|
117
119
|
<nav class="pf-v5-c-nav" aria-label="Global">
|
|
118
120
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
119
|
-
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded
|
|
121
|
+
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
120
122
|
<button
|
|
121
123
|
class="pf-v5-c-nav__link"
|
|
122
|
-
id="expandable-example1"
|
|
123
124
|
aria-expanded="true"
|
|
125
|
+
id="expandable-example1"
|
|
124
126
|
>
|
|
125
127
|
Link 1 (current and expanded example)
|
|
126
128
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -137,7 +139,6 @@ cssPrefix: pf-v5-c-nav
|
|
|
137
139
|
<li class="pf-v5-c-nav__item">
|
|
138
140
|
<a href="#" class="pf-v5-c-nav__link">Current link</a>
|
|
139
141
|
</li>
|
|
140
|
-
<li class="pf-v5-c-divider" role="separator"></li>
|
|
141
142
|
<li class="pf-v5-c-nav__item">
|
|
142
143
|
<a href="#" class="pf-v5-c-nav__link">Subnav link 2</a>
|
|
143
144
|
</li>
|
|
@@ -154,8 +155,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
154
155
|
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
155
156
|
<button
|
|
156
157
|
class="pf-v5-c-nav__link"
|
|
157
|
-
id="expandable-example2"
|
|
158
158
|
aria-expanded="true"
|
|
159
|
+
id="expandable-example2"
|
|
159
160
|
>
|
|
160
161
|
Link 2 (expanded, but not current example)
|
|
161
162
|
<span
|
|
@@ -183,8 +184,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
183
184
|
<li class="pf-v5-c-nav__item pf-m-expandable">
|
|
184
185
|
<button
|
|
185
186
|
class="pf-v5-c-nav__link"
|
|
186
|
-
id="expandable-example3"
|
|
187
187
|
aria-expanded="false"
|
|
188
|
+
id="expandable-example3"
|
|
188
189
|
>
|
|
189
190
|
Link 3
|
|
190
191
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -218,7 +219,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
218
219
|
```html
|
|
219
220
|
<nav class="pf-v5-c-nav" aria-label="Global">
|
|
220
221
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
221
|
-
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded
|
|
222
|
+
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
222
223
|
<button class="pf-v5-c-nav__link" aria-expanded="true">
|
|
223
224
|
Link 1
|
|
224
225
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -228,10 +229,6 @@ cssPrefix: pf-v5-c-nav
|
|
|
228
229
|
</span>
|
|
229
230
|
</button>
|
|
230
231
|
<section class="pf-v5-c-nav__subnav" aria-labelledby="subnav-title1">
|
|
231
|
-
<h2
|
|
232
|
-
class="pf-v5-c-nav__subnav-title pf-v5-screen-reader"
|
|
233
|
-
id="subnav-title1"
|
|
234
|
-
>Current and expanded example sub-navigation</h2>
|
|
235
232
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
236
233
|
<li class="pf-v5-c-nav__item">
|
|
237
234
|
<a href="#" class="pf-v5-c-nav__link">Current link</a>
|
|
@@ -259,10 +256,6 @@ cssPrefix: pf-v5-c-nav
|
|
|
259
256
|
</span>
|
|
260
257
|
</button>
|
|
261
258
|
<section class="pf-v5-c-nav__subnav" aria-labelledby="subnav-title2">
|
|
262
|
-
<h2
|
|
263
|
-
class="pf-v5-c-nav__subnav-title pf-v5-screen-reader"
|
|
264
|
-
id="subnav-title2"
|
|
265
|
-
>Expanded, but not current example sub-navigation</h2>
|
|
266
259
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
267
260
|
<li class="pf-v5-c-nav__item">
|
|
268
261
|
<a href="#" class="pf-v5-c-nav__link">Subnav link 1</a>
|
|
@@ -289,8 +282,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
289
282
|
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
290
283
|
<button
|
|
291
284
|
class="pf-v5-c-nav__link"
|
|
292
|
-
id="nav-mixed-link2"
|
|
293
285
|
aria-expanded="true"
|
|
286
|
+
id="nav-mixed-link2"
|
|
294
287
|
>
|
|
295
288
|
Link 2 (expanded, but not current example)
|
|
296
289
|
<span
|
|
@@ -312,11 +305,11 @@ cssPrefix: pf-v5-c-nav
|
|
|
312
305
|
</ul>
|
|
313
306
|
</section>
|
|
314
307
|
</li>
|
|
315
|
-
<li class="pf-v5-c-nav__item pf-m-expandable
|
|
308
|
+
<li class="pf-v5-c-nav__item pf-m-expandable">
|
|
316
309
|
<button
|
|
317
310
|
class="pf-v5-c-nav__link"
|
|
318
|
-
id="nav-mixed-link4"
|
|
319
311
|
aria-expanded="false"
|
|
312
|
+
id="nav-mixed-link4"
|
|
320
313
|
>
|
|
321
314
|
Link 3 (current, but not expanded example)
|
|
322
315
|
<span
|
|
@@ -362,7 +355,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
362
355
|
<li class="pf-v5-c-nav__item">
|
|
363
356
|
<a href="#" class="pf-v5-c-nav__link">Clusters</a>
|
|
364
357
|
</li>
|
|
365
|
-
<li class="pf-v5-c-nav__item
|
|
358
|
+
<li class="pf-v5-c-nav__item">
|
|
366
359
|
<a href="#" class="pf-v5-c-nav__link">Overview</a>
|
|
367
360
|
</li>
|
|
368
361
|
<li class="pf-v5-c-nav__item">
|
|
@@ -371,8 +364,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
371
364
|
<li class="pf-v5-c-nav__item pf-m-expandable">
|
|
372
365
|
<button
|
|
373
366
|
class="pf-v5-c-nav__link"
|
|
374
|
-
id="expandable-third-level-example-example-1"
|
|
375
367
|
aria-expanded="false"
|
|
368
|
+
id="expandable-third-level-example-example-1"
|
|
376
369
|
>
|
|
377
370
|
Subscriptions
|
|
378
371
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -399,8 +392,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
399
392
|
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
400
393
|
<button
|
|
401
394
|
class="pf-v5-c-nav__link"
|
|
402
|
-
id="expandable-third-level-example-example-2"
|
|
403
395
|
aria-expanded="true"
|
|
396
|
+
id="expandable-third-level-example-example-2"
|
|
404
397
|
>
|
|
405
398
|
Cost management
|
|
406
399
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -423,8 +416,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
423
416
|
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
424
417
|
<button
|
|
425
418
|
class="pf-v5-c-nav__link"
|
|
426
|
-
id="expandable-third-level-example-sub-example-1"
|
|
427
419
|
aria-expanded="true"
|
|
420
|
+
id="-sub-example-1"
|
|
428
421
|
>
|
|
429
422
|
Public clouds
|
|
430
423
|
<span class="pf-v5-c-nav__toggle">
|
|
@@ -435,7 +428,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
435
428
|
</button>
|
|
436
429
|
<section
|
|
437
430
|
class="pf-v5-c-nav__subnav"
|
|
438
|
-
aria-labelledby="
|
|
431
|
+
aria-labelledby="-sub-example-1"
|
|
439
432
|
>
|
|
440
433
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
441
434
|
<li class="pf-v5-c-nav__item">
|
|
@@ -471,9 +464,6 @@ cssPrefix: pf-v5-c-nav
|
|
|
471
464
|
|
|
472
465
|
```html
|
|
473
466
|
<nav class="pf-v5-c-nav pf-m-horizontal" aria-label="Global">
|
|
474
|
-
<button class="pf-v5-c-nav__scroll-button" disabled aria-label="Scroll left">
|
|
475
|
-
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
476
|
-
</button>
|
|
477
467
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
478
468
|
<li class="pf-v5-c-nav__item">
|
|
479
469
|
<a
|
|
@@ -489,9 +479,6 @@ cssPrefix: pf-v5-c-nav
|
|
|
489
479
|
<a href="#" class="pf-v5-c-nav__link">Item 3</a>
|
|
490
480
|
</li>
|
|
491
481
|
</ul>
|
|
492
|
-
<button class="pf-v5-c-nav__scroll-button" disabled aria-label="Scroll right">
|
|
493
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
494
|
-
</button>
|
|
495
482
|
</nav>
|
|
496
483
|
|
|
497
484
|
```
|
|
@@ -499,10 +486,18 @@ cssPrefix: pf-v5-c-nav
|
|
|
499
486
|
### Horizontal overflow
|
|
500
487
|
|
|
501
488
|
```html
|
|
502
|
-
<nav class="pf-v5-c-nav pf-m-
|
|
503
|
-
<
|
|
504
|
-
<
|
|
505
|
-
|
|
489
|
+
<nav class="pf-v5-c-nav pf-m-scrollable pf-m-horizontal" aria-label="Global">
|
|
490
|
+
<div class="pf-v5-c-nav__scroll-button">
|
|
491
|
+
<button
|
|
492
|
+
class="pf-v5-c-button pf-m-plain pf-m-RTL-icon-static"
|
|
493
|
+
type="button"
|
|
494
|
+
aria-label="Scroll start"
|
|
495
|
+
>
|
|
496
|
+
<span class="pf-v5-c-button__icon">
|
|
497
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
498
|
+
</span>
|
|
499
|
+
</button>
|
|
500
|
+
</div>
|
|
506
501
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
507
502
|
<li class="pf-v5-c-nav__item">
|
|
508
503
|
<a href="#" class="pf-v5-c-nav__link">Horizontal nav item 1</a>
|
|
@@ -524,9 +519,17 @@ cssPrefix: pf-v5-c-nav
|
|
|
524
519
|
>Horizontal nav item 5</a>
|
|
525
520
|
</li>
|
|
526
521
|
</ul>
|
|
527
|
-
<
|
|
528
|
-
<
|
|
529
|
-
|
|
522
|
+
<div class="pf-v5-c-nav__scroll-button">
|
|
523
|
+
<button
|
|
524
|
+
class="pf-v5-c-button pf-m-plain pf-m-RTL-icon-static"
|
|
525
|
+
type="button"
|
|
526
|
+
aria-label="Scroll end"
|
|
527
|
+
>
|
|
528
|
+
<span class="pf-v5-c-button__icon">
|
|
529
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
530
|
+
</span>
|
|
531
|
+
</button>
|
|
532
|
+
</div>
|
|
530
533
|
</nav>
|
|
531
534
|
|
|
532
535
|
```
|
|
@@ -534,7 +537,7 @@ cssPrefix: pf-v5-c-nav
|
|
|
534
537
|
### Horizontal subnav
|
|
535
538
|
|
|
536
539
|
```html
|
|
537
|
-
<nav class="pf-v5-c-nav pf-m-horizontal-subnav" aria-label="Local">
|
|
540
|
+
<nav class="pf-v5-c-nav pf-m-horizontal pf-m-subnav" aria-label="Local">
|
|
538
541
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
539
542
|
<li class="pf-v5-c-nav__item">
|
|
540
543
|
<a
|
|
@@ -558,12 +561,20 @@ cssPrefix: pf-v5-c-nav
|
|
|
558
561
|
|
|
559
562
|
```html
|
|
560
563
|
<nav
|
|
561
|
-
class="pf-v5-c-nav pf-m-horizontal
|
|
564
|
+
class="pf-v5-c-nav pf-m-scrollable pf-m-horizontal pf-m-subnav"
|
|
562
565
|
aria-label="Global"
|
|
563
566
|
>
|
|
564
|
-
<
|
|
565
|
-
<
|
|
566
|
-
|
|
567
|
+
<div class="pf-v5-c-nav__scroll-button">
|
|
568
|
+
<button
|
|
569
|
+
class="pf-v5-c-button pf-m-plain pf-m-RTL-icon-static"
|
|
570
|
+
type="button"
|
|
571
|
+
aria-label="Scroll start"
|
|
572
|
+
>
|
|
573
|
+
<span class="pf-v5-c-button__icon">
|
|
574
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
575
|
+
</span>
|
|
576
|
+
</button>
|
|
577
|
+
</div>
|
|
567
578
|
<ul class="pf-v5-c-nav__list" role="list">
|
|
568
579
|
<li class="pf-v5-c-nav__item">
|
|
569
580
|
<a href="#" class="pf-v5-c-nav__link">Horizontal nav item 1</a>
|
|
@@ -585,201 +596,17 @@ cssPrefix: pf-v5-c-nav
|
|
|
585
596
|
>Horizontal nav item 5</a>
|
|
586
597
|
</li>
|
|
587
598
|
</ul>
|
|
588
|
-
<
|
|
589
|
-
<
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
<button class="pf-v5-c-nav__scroll-button" disabled aria-label="Scroll left">
|
|
600
|
-
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
601
|
-
</button>
|
|
602
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
603
|
-
<li class="pf-v5-c-nav__item">
|
|
604
|
-
<a
|
|
605
|
-
href="#"
|
|
606
|
-
class="pf-v5-c-nav__link pf-m-current"
|
|
607
|
-
aria-current="page"
|
|
608
|
-
>Item 1</a>
|
|
609
|
-
</li>
|
|
610
|
-
<li class="pf-v5-c-nav__item">
|
|
611
|
-
<a href="#" class="pf-v5-c-nav__link">Item 2</a>
|
|
612
|
-
</li>
|
|
613
|
-
<li class="pf-v5-c-nav__item">
|
|
614
|
-
<a href="#" class="pf-v5-c-nav__link">Item 3</a>
|
|
615
|
-
</li>
|
|
616
|
-
</ul>
|
|
617
|
-
<button class="pf-v5-c-nav__scroll-button" disabled aria-label="Scroll right">
|
|
618
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
619
|
-
</button>
|
|
620
|
-
</nav>
|
|
621
|
-
|
|
622
|
-
```
|
|
623
|
-
|
|
624
|
-
### Tertiary overflow
|
|
625
|
-
|
|
626
|
-
```html isDeprecated
|
|
627
|
-
<nav class="pf-v5-c-nav pf-m-tertiary pf-m-scrollable" aria-label="Local">
|
|
628
|
-
<button class="pf-v5-c-nav__scroll-button" disabled aria-label="Scroll left">
|
|
629
|
-
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
630
|
-
</button>
|
|
631
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
632
|
-
<li class="pf-v5-c-nav__item">
|
|
633
|
-
<a
|
|
634
|
-
href="#"
|
|
635
|
-
class="pf-v5-c-nav__link pf-m-current"
|
|
636
|
-
aria-current="page"
|
|
637
|
-
>Tertiary nav item 1</a>
|
|
638
|
-
</li>
|
|
639
|
-
<li class="pf-v5-c-nav__item">
|
|
640
|
-
<a href="#" class="pf-v5-c-nav__link">Tertiary nav item 2</a>
|
|
641
|
-
</li>
|
|
642
|
-
<li class="pf-v5-c-nav__item">
|
|
643
|
-
<a href="#" class="pf-v5-c-nav__link">Tertiary nav item 3</a>
|
|
644
|
-
</li>
|
|
645
|
-
<li class="pf-v5-c-nav__item">
|
|
646
|
-
<a href="#" class="pf-v5-c-nav__link">Tertiary nav item 4</a>
|
|
647
|
-
</li>
|
|
648
|
-
<li class="pf-v5-c-nav__item">
|
|
649
|
-
<a href="#" class="pf-v5-c-nav__link">Tertiary nav item 5</a>
|
|
650
|
-
</li>
|
|
651
|
-
</ul>
|
|
652
|
-
<button class="pf-v5-c-nav__scroll-button" aria-label="Scroll right">
|
|
653
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
654
|
-
</button>
|
|
655
|
-
</nav>
|
|
656
|
-
|
|
657
|
-
```
|
|
658
|
-
|
|
659
|
-
### Default in light mode
|
|
660
|
-
|
|
661
|
-
```html isDeprecated
|
|
662
|
-
<nav class="pf-v5-c-nav pf-m-light" aria-label="Global">
|
|
663
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
664
|
-
<li class="pf-v5-c-nav__item">
|
|
665
|
-
<a href="#" class="pf-v5-c-nav__link">Current link</a>
|
|
666
|
-
</li>
|
|
667
|
-
<li class="pf-v5-c-nav__item">
|
|
668
|
-
<a
|
|
669
|
-
href="#"
|
|
670
|
-
class="pf-v5-c-nav__link pf-m-current"
|
|
671
|
-
aria-current="page"
|
|
672
|
-
>Link 2</a>
|
|
673
|
-
</li>
|
|
674
|
-
<li class="pf-v5-c-nav__item">
|
|
675
|
-
<a href="#" class="pf-v5-c-nav__link">Link 3</a>
|
|
676
|
-
</li>
|
|
677
|
-
<li class="pf-v5-c-nav__item">
|
|
678
|
-
<a href="#" class="pf-v5-c-nav__link">Link 4</a>
|
|
679
|
-
</li>
|
|
680
|
-
</ul>
|
|
681
|
-
</nav>
|
|
682
|
-
|
|
683
|
-
```
|
|
684
|
-
|
|
685
|
-
### Expanded in light mode
|
|
686
|
-
|
|
687
|
-
```html isDeprecated
|
|
688
|
-
<nav class="pf-v5-c-nav pf-m-light" aria-label="Global">
|
|
689
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
690
|
-
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded pf-m-current">
|
|
691
|
-
<button
|
|
692
|
-
class="pf-v5-c-nav__link"
|
|
693
|
-
id="expandable-light-example1"
|
|
694
|
-
aria-expanded="true"
|
|
695
|
-
>
|
|
696
|
-
Link 1 (current and expanded example)
|
|
697
|
-
<span class="pf-v5-c-nav__toggle">
|
|
698
|
-
<span class="pf-v5-c-nav__toggle-icon">
|
|
699
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
700
|
-
</span>
|
|
701
|
-
</span>
|
|
702
|
-
</button>
|
|
703
|
-
<section
|
|
704
|
-
class="pf-v5-c-nav__subnav"
|
|
705
|
-
aria-labelledby="expandable-light-example1"
|
|
706
|
-
>
|
|
707
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
708
|
-
<li class="pf-v5-c-nav__item">
|
|
709
|
-
<a href="#" class="pf-v5-c-nav__link">Current link</a>
|
|
710
|
-
</li>
|
|
711
|
-
<li class="pf-v5-c-divider" role="separator"></li>
|
|
712
|
-
<li class="pf-v5-c-nav__item">
|
|
713
|
-
<a href="#" class="pf-v5-c-nav__link">Subnav link 2</a>
|
|
714
|
-
</li>
|
|
715
|
-
<li class="pf-v5-c-nav__item">
|
|
716
|
-
<a
|
|
717
|
-
href="#"
|
|
718
|
-
class="pf-v5-c-nav__link pf-m-current"
|
|
719
|
-
aria-current="page"
|
|
720
|
-
>Subnav link 3</a>
|
|
721
|
-
</li>
|
|
722
|
-
</ul>
|
|
723
|
-
</section>
|
|
724
|
-
</li>
|
|
725
|
-
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
726
|
-
<button
|
|
727
|
-
class="pf-v5-c-nav__link"
|
|
728
|
-
id="expandable-light-example2"
|
|
729
|
-
aria-expanded="true"
|
|
730
|
-
>
|
|
731
|
-
Link 2 (expanded, but not current example)
|
|
732
|
-
<span
|
|
733
|
-
class="pf-v5-c-nav__toggle"
|
|
734
|
-
>
|
|
735
|
-
<span class="pf-v5-c-nav__toggle-icon">
|
|
736
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
737
|
-
</span>
|
|
738
|
-
</span>
|
|
739
|
-
</button>
|
|
740
|
-
<section
|
|
741
|
-
class="pf-v5-c-nav__subnav"
|
|
742
|
-
aria-labelledby="expandable-light-example2"
|
|
743
|
-
>
|
|
744
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
745
|
-
<li class="pf-v5-c-nav__item">
|
|
746
|
-
<a href="#" class="pf-v5-c-nav__link">Subnav link 1</a>
|
|
747
|
-
</li>
|
|
748
|
-
<li class="pf-v5-c-nav__item">
|
|
749
|
-
<a href="#" class="pf-v5-c-nav__link">Subnav link 2</a>
|
|
750
|
-
</li>
|
|
751
|
-
</ul>
|
|
752
|
-
</section>
|
|
753
|
-
</li>
|
|
754
|
-
<li class="pf-v5-c-nav__item pf-m-expandable">
|
|
755
|
-
<button
|
|
756
|
-
class="pf-v5-c-nav__link"
|
|
757
|
-
id="expandable-light-example3"
|
|
758
|
-
aria-expanded="false"
|
|
759
|
-
>
|
|
760
|
-
Link 3
|
|
761
|
-
<span class="pf-v5-c-nav__toggle">
|
|
762
|
-
<span class="pf-v5-c-nav__toggle-icon">
|
|
763
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
764
|
-
</span>
|
|
765
|
-
</span>
|
|
766
|
-
</button>
|
|
767
|
-
<section
|
|
768
|
-
class="pf-v5-c-nav__subnav"
|
|
769
|
-
aria-labelledby="expandable-light-example3"
|
|
770
|
-
hidden
|
|
771
|
-
>
|
|
772
|
-
<ul class="pf-v5-c-nav__list" role="list">
|
|
773
|
-
<li class="pf-v5-c-nav__item">
|
|
774
|
-
<a href="#" class="pf-v5-c-nav__link">Subnav link 1</a>
|
|
775
|
-
</li>
|
|
776
|
-
<li class="pf-v5-c-nav__item">
|
|
777
|
-
<a href="#" class="pf-v5-c-nav__link">Subnav link 2</a>
|
|
778
|
-
</li>
|
|
779
|
-
</ul>
|
|
780
|
-
</section>
|
|
781
|
-
</li>
|
|
782
|
-
</ul>
|
|
599
|
+
<div class="pf-v5-c-nav__scroll-button">
|
|
600
|
+
<button
|
|
601
|
+
class="pf-v5-c-button pf-m-plain pf-m-RTL-icon-static"
|
|
602
|
+
type="button"
|
|
603
|
+
aria-label="Scroll end"
|
|
604
|
+
>
|
|
605
|
+
<span class="pf-v5-c-button__icon">
|
|
606
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
607
|
+
</span>
|
|
608
|
+
</button>
|
|
609
|
+
</div>
|
|
783
610
|
</nav>
|
|
784
611
|
|
|
785
612
|
```
|
|
@@ -801,7 +628,8 @@ cssPrefix: pf-v5-c-nav
|
|
|
801
628
|
<li class="pf-v5-c-nav__item pf-m-flyout">
|
|
802
629
|
<a
|
|
803
630
|
href="#"
|
|
804
|
-
class="pf-v5-c-nav__link pf-m-
|
|
631
|
+
class="pf-v5-c-nav__link pf-m-current"
|
|
632
|
+
aria-current="page"
|
|
805
633
|
aria-haspopup="true"
|
|
806
634
|
aria-expanded="true"
|
|
807
635
|
>
|
|
@@ -2501,8 +2329,8 @@ When using anything other than a text node for the link text, wrap the link text
|
|
|
2501
2329
|
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
2502
2330
|
<button
|
|
2503
2331
|
class="pf-v5-c-nav__link"
|
|
2504
|
-
id="nav-link-text-link2"
|
|
2505
2332
|
aria-expanded="true"
|
|
2333
|
+
id="nav-link-text-link2"
|
|
2506
2334
|
>
|
|
2507
2335
|
<span class="pf-v5-c-nav__link-text">
|
|
2508
2336
|
Link 2
|
|
@@ -2538,11 +2366,11 @@ When using anything other than a text node for the link text, wrap the link text
|
|
|
2538
2366
|
</ul>
|
|
2539
2367
|
</section>
|
|
2540
2368
|
</li>
|
|
2541
|
-
<li class="pf-v5-c-nav__item pf-m-expandable
|
|
2369
|
+
<li class="pf-v5-c-nav__item pf-m-expandable">
|
|
2542
2370
|
<button
|
|
2543
2371
|
class="pf-v5-c-nav__link"
|
|
2544
|
-
id="nav-link-text-link4"
|
|
2545
2372
|
aria-expanded="false"
|
|
2373
|
+
id="nav-link-text-link4"
|
|
2546
2374
|
>
|
|
2547
2375
|
<span class="pf-v5-c-nav__link-text">
|
|
2548
2376
|
Link 3
|
|
@@ -2587,7 +2415,7 @@ When using anything other than a text node for the link text, wrap the link text
|
|
|
2587
2415
|
|
|
2588
2416
|
The navigation system relies on several different sub-components:
|
|
2589
2417
|
|
|
2590
|
-
*
|
|
2418
|
+
* `.pf-v5-c-nav__list` - default navigation list. It is the basis for both default and expandable, vertical navigation.
|
|
2591
2419
|
|
|
2592
2420
|
### Accessibility
|
|
2593
2421
|
|
|
@@ -2620,12 +2448,10 @@ The navigation system relies on several different sub-components:
|
|
|
2620
2448
|
| `.pf-v5-c-nav__scroll-button` | `<button>` | Initiates a nav scroll button. **Required for horizontal navs** |
|
|
2621
2449
|
| `.pf-m-horizontal` | `.pf-v5-c-nav` | Modifies nav for the horizontal variation. |
|
|
2622
2450
|
| `.pf-m-horizontal-subnav` | `.pf-v5-c-nav` | Modifies nav for the horizontal subnav variation. |
|
|
2623
|
-
| `.pf-m-
|
|
2624
|
-
| `.pf-m-light` | `.pf-v5-c-nav` | Modifies nav for the light variation. **Note: only for use with vertical navs, and requires `.pf-m-light` on the page component's sidebar element (`.pf-v5-c-page__sidebar`)**. |
|
|
2451
|
+
| `.pf-m-full-width` | `.pf-v5-c-nav` | Modifies nav for to full width of parent. |
|
|
2625
2452
|
| `.pf-m-flyout` | `.pf-v5-c-nav__item` | Modifies nav item for the flyout variation. |
|
|
2626
2453
|
| `.pf-m-scrollable` | `.pf-v5-c-nav` | Modifies nav for the scrollable state. |
|
|
2627
2454
|
| `.pf-m-expandable` | `.pf-v5-c-nav__item` | Modifies for the expandable state. |
|
|
2628
2455
|
| `.pf-m-expanded` | `.pf-v5-c-nav__item` | Modifies for the expanded state. |
|
|
2629
2456
|
| `.pf-m-current` | `.pf-v5-c-nav__link` | Modifies for the current state. |
|
|
2630
2457
|
| `.pf-m-hover` | `.pf-v5-c-nav__link` | Modifies for the hover state. |
|
|
2631
|
-
| `.pf-m-start` | `.pf-v5-c-nav__toggle` | Modifies nav toggle to align left. |
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
.ws-core-c-page :is(.pf-v5-c-page__sidebar, .pf-v5-c-page__main-subnav) {
|
|
2
|
-
color: var(--pf-v5-global--Color--light-100);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.ws-core-c-page .pf-v5-c-page__main-section.pf-m-dark-200 {
|
|
6
|
-
color: var(--pf-v5-global--Color--dark-100);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
1
|
#ws-core-c-page-with-or-without-fill .ws-preview-html,
|
|
10
2
|
#ws-core-c-page-multiple-sidebar-body-elements-padding-and-fill .ws-preview-html {
|
|
11
3
|
height: 500px;
|