@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,2920 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: Dropdown
|
|
3
|
-
section: components
|
|
4
|
-
subsection: menus
|
|
5
|
-
cssPrefix: pf-v6-c-dropdown
|
|
6
|
-
deprecated: true
|
|
7
|
-
---import './Dropdown.css'
|
|
8
|
-
|
|
9
|
-
## Examples
|
|
10
|
-
|
|
11
|
-
### Expanded
|
|
12
|
-
|
|
13
|
-
```html
|
|
14
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
15
|
-
<button
|
|
16
|
-
class="pf-v6-c-dropdown__toggle"
|
|
17
|
-
id="dropdown-expanded-button"
|
|
18
|
-
aria-expanded="true"
|
|
19
|
-
type="button"
|
|
20
|
-
>
|
|
21
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
22
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
23
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
24
|
-
</span>
|
|
25
|
-
</button>
|
|
26
|
-
<ul
|
|
27
|
-
class="pf-v6-c-dropdown__menu"
|
|
28
|
-
aria-labelledby="dropdown-expanded-button"
|
|
29
|
-
role="menu"
|
|
30
|
-
>
|
|
31
|
-
<li role="none">
|
|
32
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
33
|
-
</li>
|
|
34
|
-
<li role="none">
|
|
35
|
-
<button
|
|
36
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
37
|
-
role="menuitem"
|
|
38
|
-
type="button"
|
|
39
|
-
>Action</button>
|
|
40
|
-
</li>
|
|
41
|
-
<li role="none">
|
|
42
|
-
<a
|
|
43
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
44
|
-
role="menuitem"
|
|
45
|
-
href="#"
|
|
46
|
-
aria-disabled="true"
|
|
47
|
-
tabindex="-1"
|
|
48
|
-
>Disabled link</a>
|
|
49
|
-
</li>
|
|
50
|
-
<li role="none">
|
|
51
|
-
<button
|
|
52
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
53
|
-
role="menuitem"
|
|
54
|
-
type="button"
|
|
55
|
-
disabled
|
|
56
|
-
>Disabled action</button>
|
|
57
|
-
</li>
|
|
58
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
59
|
-
<li role="none">
|
|
60
|
-
<a
|
|
61
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
62
|
-
role="menuitem"
|
|
63
|
-
href="#"
|
|
64
|
-
>Separated link</a>
|
|
65
|
-
</li>
|
|
66
|
-
</ul>
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Collapsed
|
|
72
|
-
|
|
73
|
-
```html
|
|
74
|
-
<div class="pf-v6-c-dropdown">
|
|
75
|
-
<button
|
|
76
|
-
class="pf-v6-c-dropdown__toggle"
|
|
77
|
-
id="dropdown-collapsed-button"
|
|
78
|
-
aria-expanded="false"
|
|
79
|
-
type="button"
|
|
80
|
-
>
|
|
81
|
-
<span class="pf-v6-c-dropdown__toggle-text">Collapsed dropdown</span>
|
|
82
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
83
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
84
|
-
</span>
|
|
85
|
-
</button>
|
|
86
|
-
<ul
|
|
87
|
-
class="pf-v6-c-dropdown__menu"
|
|
88
|
-
aria-labelledby="dropdown-collapsed-button"
|
|
89
|
-
hidden
|
|
90
|
-
role="menu"
|
|
91
|
-
>
|
|
92
|
-
<li role="none">
|
|
93
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
94
|
-
</li>
|
|
95
|
-
<li role="none">
|
|
96
|
-
<button
|
|
97
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
98
|
-
role="menuitem"
|
|
99
|
-
type="button"
|
|
100
|
-
>Action</button>
|
|
101
|
-
</li>
|
|
102
|
-
<li role="none">
|
|
103
|
-
<a
|
|
104
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
105
|
-
role="menuitem"
|
|
106
|
-
href="#"
|
|
107
|
-
aria-disabled="true"
|
|
108
|
-
tabindex="-1"
|
|
109
|
-
>Disabled link</a>
|
|
110
|
-
</li>
|
|
111
|
-
<li role="none">
|
|
112
|
-
<button
|
|
113
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
114
|
-
role="menuitem"
|
|
115
|
-
type="button"
|
|
116
|
-
disabled
|
|
117
|
-
>Disabled action</button>
|
|
118
|
-
</li>
|
|
119
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
120
|
-
<li role="none">
|
|
121
|
-
<a
|
|
122
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
123
|
-
role="menuitem"
|
|
124
|
-
href="#"
|
|
125
|
-
>Separated link</a>
|
|
126
|
-
</li>
|
|
127
|
-
</ul>
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Disabled
|
|
133
|
-
|
|
134
|
-
```html
|
|
135
|
-
<div class="pf-v6-c-dropdown">
|
|
136
|
-
<button
|
|
137
|
-
class="pf-v6-c-dropdown__toggle"
|
|
138
|
-
id="dropdown-disabled-button"
|
|
139
|
-
aria-expanded="false"
|
|
140
|
-
type="button"
|
|
141
|
-
disabled
|
|
142
|
-
>
|
|
143
|
-
<span class="pf-v6-c-dropdown__toggle-text">Disabled dropdown</span>
|
|
144
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
145
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
146
|
-
</span>
|
|
147
|
-
</button>
|
|
148
|
-
<ul
|
|
149
|
-
class="pf-v6-c-dropdown__menu"
|
|
150
|
-
aria-labelledby="dropdown-disabled-button"
|
|
151
|
-
hidden
|
|
152
|
-
role="menu"
|
|
153
|
-
>
|
|
154
|
-
<li role="none">
|
|
155
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
156
|
-
</li>
|
|
157
|
-
<li role="none">
|
|
158
|
-
<button
|
|
159
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
160
|
-
role="menuitem"
|
|
161
|
-
type="button"
|
|
162
|
-
>Action</button>
|
|
163
|
-
</li>
|
|
164
|
-
<li role="none">
|
|
165
|
-
<a
|
|
166
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
167
|
-
role="menuitem"
|
|
168
|
-
href="#"
|
|
169
|
-
aria-disabled="true"
|
|
170
|
-
tabindex="-1"
|
|
171
|
-
>Disabled link</a>
|
|
172
|
-
</li>
|
|
173
|
-
<li role="none">
|
|
174
|
-
<button
|
|
175
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
176
|
-
role="menuitem"
|
|
177
|
-
type="button"
|
|
178
|
-
disabled
|
|
179
|
-
>Disabled action</button>
|
|
180
|
-
</li>
|
|
181
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
182
|
-
<li role="none">
|
|
183
|
-
<a
|
|
184
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
185
|
-
role="menuitem"
|
|
186
|
-
href="#"
|
|
187
|
-
>Separated link</a>
|
|
188
|
-
</li>
|
|
189
|
-
</ul>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
### Aria disabled items
|
|
195
|
-
|
|
196
|
-
```html
|
|
197
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
198
|
-
<button
|
|
199
|
-
class="pf-v6-c-dropdown__toggle"
|
|
200
|
-
id="dropdown-aria-disabled-items-button"
|
|
201
|
-
aria-expanded="true"
|
|
202
|
-
type="button"
|
|
203
|
-
>
|
|
204
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
205
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
206
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
207
|
-
</span>
|
|
208
|
-
</button>
|
|
209
|
-
<ul
|
|
210
|
-
class="pf-v6-c-dropdown__menu"
|
|
211
|
-
aria-labelledby="dropdown-aria-disabled-items-button"
|
|
212
|
-
role="menu"
|
|
213
|
-
>
|
|
214
|
-
<li role="none">
|
|
215
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
216
|
-
</li>
|
|
217
|
-
<li role="none">
|
|
218
|
-
<button
|
|
219
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
220
|
-
role="menuitem"
|
|
221
|
-
type="button"
|
|
222
|
-
>Action</button>
|
|
223
|
-
</li>
|
|
224
|
-
<li role="none">
|
|
225
|
-
<a
|
|
226
|
-
class="pf-v6-c-dropdown__menu-item pf-m-aria-disabled"
|
|
227
|
-
role="menuitem"
|
|
228
|
-
href="#"
|
|
229
|
-
aria-disabled="true"
|
|
230
|
-
>Disabled link</a>
|
|
231
|
-
</li>
|
|
232
|
-
<li role="none">
|
|
233
|
-
<button
|
|
234
|
-
class="pf-v6-c-dropdown__menu-item pf-m-aria-disabled"
|
|
235
|
-
role="menuitem"
|
|
236
|
-
type="button"
|
|
237
|
-
aria-disabled="true"
|
|
238
|
-
>Disabled action</button>
|
|
239
|
-
</li>
|
|
240
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
241
|
-
<li role="none">
|
|
242
|
-
<a
|
|
243
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
244
|
-
role="menuitem"
|
|
245
|
-
href="#"
|
|
246
|
-
>Separated link</a>
|
|
247
|
-
</li>
|
|
248
|
-
</ul>
|
|
249
|
-
</div>
|
|
250
|
-
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
### Kebab
|
|
254
|
-
|
|
255
|
-
```html
|
|
256
|
-
<div class="pf-v6-c-dropdown">
|
|
257
|
-
<button
|
|
258
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain"
|
|
259
|
-
id="dropdown-kebab-disabled-button"
|
|
260
|
-
aria-expanded="false"
|
|
261
|
-
type="button"
|
|
262
|
-
disabled
|
|
263
|
-
aria-label="Actions"
|
|
264
|
-
>
|
|
265
|
-
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
266
|
-
</button>
|
|
267
|
-
<ul
|
|
268
|
-
class="pf-v6-c-dropdown__menu"
|
|
269
|
-
aria-labelledby="dropdown-kebab-disabled-button"
|
|
270
|
-
hidden
|
|
271
|
-
role="menu"
|
|
272
|
-
>
|
|
273
|
-
<li role="none">
|
|
274
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
275
|
-
</li>
|
|
276
|
-
<li role="none">
|
|
277
|
-
<button
|
|
278
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
279
|
-
role="menuitem"
|
|
280
|
-
type="button"
|
|
281
|
-
>Action</button>
|
|
282
|
-
</li>
|
|
283
|
-
<li role="none">
|
|
284
|
-
<a
|
|
285
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
286
|
-
role="menuitem"
|
|
287
|
-
href="#"
|
|
288
|
-
aria-disabled="true"
|
|
289
|
-
tabindex="-1"
|
|
290
|
-
>Disabled link</a>
|
|
291
|
-
</li>
|
|
292
|
-
<li role="none">
|
|
293
|
-
<button
|
|
294
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
295
|
-
role="menuitem"
|
|
296
|
-
type="button"
|
|
297
|
-
disabled
|
|
298
|
-
>Disabled action</button>
|
|
299
|
-
</li>
|
|
300
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
301
|
-
<li role="none">
|
|
302
|
-
<a
|
|
303
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
304
|
-
role="menuitem"
|
|
305
|
-
href="#"
|
|
306
|
-
>Separated link</a>
|
|
307
|
-
</li>
|
|
308
|
-
</ul>
|
|
309
|
-
</div>
|
|
310
|
-
<div class="pf-v6-c-dropdown">
|
|
311
|
-
<button
|
|
312
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain"
|
|
313
|
-
id="dropdown-kebab-button"
|
|
314
|
-
aria-expanded="false"
|
|
315
|
-
type="button"
|
|
316
|
-
aria-label="Actions"
|
|
317
|
-
>
|
|
318
|
-
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
319
|
-
</button>
|
|
320
|
-
<ul
|
|
321
|
-
class="pf-v6-c-dropdown__menu"
|
|
322
|
-
aria-labelledby="dropdown-kebab-button"
|
|
323
|
-
hidden
|
|
324
|
-
role="menu"
|
|
325
|
-
>
|
|
326
|
-
<li role="none">
|
|
327
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
328
|
-
</li>
|
|
329
|
-
<li role="none">
|
|
330
|
-
<button
|
|
331
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
332
|
-
role="menuitem"
|
|
333
|
-
type="button"
|
|
334
|
-
>Action</button>
|
|
335
|
-
</li>
|
|
336
|
-
<li role="none">
|
|
337
|
-
<a
|
|
338
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
339
|
-
role="menuitem"
|
|
340
|
-
href="#"
|
|
341
|
-
aria-disabled="true"
|
|
342
|
-
tabindex="-1"
|
|
343
|
-
>Disabled link</a>
|
|
344
|
-
</li>
|
|
345
|
-
<li role="none">
|
|
346
|
-
<button
|
|
347
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
348
|
-
role="menuitem"
|
|
349
|
-
type="button"
|
|
350
|
-
disabled
|
|
351
|
-
>Disabled action</button>
|
|
352
|
-
</li>
|
|
353
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
354
|
-
<li role="none">
|
|
355
|
-
<a
|
|
356
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
357
|
-
role="menuitem"
|
|
358
|
-
href="#"
|
|
359
|
-
>Separated link</a>
|
|
360
|
-
</li>
|
|
361
|
-
</ul>
|
|
362
|
-
</div>
|
|
363
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
364
|
-
<button
|
|
365
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain"
|
|
366
|
-
id="dropdown-kebab-expanded-button"
|
|
367
|
-
aria-expanded="true"
|
|
368
|
-
type="button"
|
|
369
|
-
aria-label="Actions"
|
|
370
|
-
>
|
|
371
|
-
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
372
|
-
</button>
|
|
373
|
-
<ul
|
|
374
|
-
class="pf-v6-c-dropdown__menu"
|
|
375
|
-
aria-labelledby="dropdown-kebab-expanded-button"
|
|
376
|
-
role="menu"
|
|
377
|
-
>
|
|
378
|
-
<li role="none">
|
|
379
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
380
|
-
</li>
|
|
381
|
-
<li role="none">
|
|
382
|
-
<button
|
|
383
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
384
|
-
role="menuitem"
|
|
385
|
-
type="button"
|
|
386
|
-
>Action</button>
|
|
387
|
-
</li>
|
|
388
|
-
<li role="none">
|
|
389
|
-
<a
|
|
390
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
391
|
-
role="menuitem"
|
|
392
|
-
href="#"
|
|
393
|
-
aria-disabled="true"
|
|
394
|
-
tabindex="-1"
|
|
395
|
-
>Disabled link</a>
|
|
396
|
-
</li>
|
|
397
|
-
<li role="none">
|
|
398
|
-
<button
|
|
399
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
400
|
-
role="menuitem"
|
|
401
|
-
type="button"
|
|
402
|
-
disabled
|
|
403
|
-
>Disabled action</button>
|
|
404
|
-
</li>
|
|
405
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
406
|
-
<li role="none">
|
|
407
|
-
<a
|
|
408
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
409
|
-
role="menuitem"
|
|
410
|
-
href="#"
|
|
411
|
-
>Separated link</a>
|
|
412
|
-
</li>
|
|
413
|
-
</ul>
|
|
414
|
-
</div>
|
|
415
|
-
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
### Kebab align right
|
|
419
|
-
|
|
420
|
-
```html
|
|
421
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
422
|
-
<button
|
|
423
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain"
|
|
424
|
-
id="dropdown-kebab-align-right-button"
|
|
425
|
-
aria-expanded="true"
|
|
426
|
-
type="button"
|
|
427
|
-
aria-label="Actions"
|
|
428
|
-
>
|
|
429
|
-
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
430
|
-
</button>
|
|
431
|
-
<ul
|
|
432
|
-
class="pf-v6-c-dropdown__menu pf-m-align-right"
|
|
433
|
-
aria-labelledby="dropdown-kebab-align-right-button"
|
|
434
|
-
role="menu"
|
|
435
|
-
>
|
|
436
|
-
<li role="none">
|
|
437
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
438
|
-
</li>
|
|
439
|
-
<li role="none">
|
|
440
|
-
<button
|
|
441
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
442
|
-
role="menuitem"
|
|
443
|
-
type="button"
|
|
444
|
-
>Action</button>
|
|
445
|
-
</li>
|
|
446
|
-
<li role="none">
|
|
447
|
-
<a
|
|
448
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
449
|
-
role="menuitem"
|
|
450
|
-
href="#"
|
|
451
|
-
aria-disabled="true"
|
|
452
|
-
tabindex="-1"
|
|
453
|
-
>Disabled link</a>
|
|
454
|
-
</li>
|
|
455
|
-
<li role="none">
|
|
456
|
-
<button
|
|
457
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
458
|
-
role="menuitem"
|
|
459
|
-
type="button"
|
|
460
|
-
disabled
|
|
461
|
-
>Disabled action</button>
|
|
462
|
-
</li>
|
|
463
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
464
|
-
<li role="none">
|
|
465
|
-
<a
|
|
466
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
467
|
-
role="menuitem"
|
|
468
|
-
href="#"
|
|
469
|
-
>Separated link</a>
|
|
470
|
-
</li>
|
|
471
|
-
</ul>
|
|
472
|
-
</div>
|
|
473
|
-
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
### Align right
|
|
477
|
-
|
|
478
|
-
```html
|
|
479
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
480
|
-
<button
|
|
481
|
-
class="pf-v6-c-dropdown__toggle"
|
|
482
|
-
id="dropdown-align-right-button"
|
|
483
|
-
aria-expanded="true"
|
|
484
|
-
type="button"
|
|
485
|
-
>
|
|
486
|
-
<span class="pf-v6-c-dropdown__toggle-text">Right</span>
|
|
487
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
488
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
489
|
-
</span>
|
|
490
|
-
</button>
|
|
491
|
-
<ul
|
|
492
|
-
class="pf-v6-c-dropdown__menu pf-m-align-right"
|
|
493
|
-
aria-labelledby="dropdown-align-right-button"
|
|
494
|
-
role="menu"
|
|
495
|
-
>
|
|
496
|
-
<li role="none">
|
|
497
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
498
|
-
</li>
|
|
499
|
-
<li role="none">
|
|
500
|
-
<button
|
|
501
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
502
|
-
role="menuitem"
|
|
503
|
-
type="button"
|
|
504
|
-
>Action</button>
|
|
505
|
-
</li>
|
|
506
|
-
<li role="none">
|
|
507
|
-
<a
|
|
508
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
509
|
-
role="menuitem"
|
|
510
|
-
href="#"
|
|
511
|
-
aria-disabled="true"
|
|
512
|
-
tabindex="-1"
|
|
513
|
-
>Disabled link</a>
|
|
514
|
-
</li>
|
|
515
|
-
<li role="none">
|
|
516
|
-
<button
|
|
517
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
518
|
-
role="menuitem"
|
|
519
|
-
type="button"
|
|
520
|
-
disabled
|
|
521
|
-
>Disabled action</button>
|
|
522
|
-
</li>
|
|
523
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
524
|
-
<li role="none">
|
|
525
|
-
<a
|
|
526
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
527
|
-
role="menuitem"
|
|
528
|
-
href="#"
|
|
529
|
-
>Separated link</a>
|
|
530
|
-
</li>
|
|
531
|
-
</ul>
|
|
532
|
-
</div>
|
|
533
|
-
|
|
534
|
-
```
|
|
535
|
-
|
|
536
|
-
### Align on different breakpoint
|
|
537
|
-
|
|
538
|
-
```html
|
|
539
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
540
|
-
<button
|
|
541
|
-
class="pf-v6-c-dropdown__toggle"
|
|
542
|
-
id="dropdown-align-on-different-breakpoint-button"
|
|
543
|
-
aria-expanded="true"
|
|
544
|
-
type="button"
|
|
545
|
-
>
|
|
546
|
-
<span class="pf-v6-c-dropdown__toggle-text">Dropdown</span>
|
|
547
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
548
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
549
|
-
</span>
|
|
550
|
-
</button>
|
|
551
|
-
<ul
|
|
552
|
-
class="pf-v6-c-dropdown__menu pf-m-align-right-on-lg pf-m-align-left-on-2xl"
|
|
553
|
-
aria-labelledby="dropdown-align-on-different-breakpoint-button"
|
|
554
|
-
role="menu"
|
|
555
|
-
>
|
|
556
|
-
<li role="none">
|
|
557
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
558
|
-
</li>
|
|
559
|
-
<li role="none">
|
|
560
|
-
<button
|
|
561
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
562
|
-
role="menuitem"
|
|
563
|
-
type="button"
|
|
564
|
-
>Action</button>
|
|
565
|
-
</li>
|
|
566
|
-
<li role="none">
|
|
567
|
-
<a
|
|
568
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
569
|
-
role="menuitem"
|
|
570
|
-
href="#"
|
|
571
|
-
aria-disabled="true"
|
|
572
|
-
tabindex="-1"
|
|
573
|
-
>Disabled link</a>
|
|
574
|
-
</li>
|
|
575
|
-
<li role="none">
|
|
576
|
-
<button
|
|
577
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
578
|
-
role="menuitem"
|
|
579
|
-
type="button"
|
|
580
|
-
disabled
|
|
581
|
-
>Disabled action</button>
|
|
582
|
-
</li>
|
|
583
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
584
|
-
<li role="none">
|
|
585
|
-
<a
|
|
586
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
587
|
-
role="menuitem"
|
|
588
|
-
href="#"
|
|
589
|
-
>Separated link</a>
|
|
590
|
-
</li>
|
|
591
|
-
</ul>
|
|
592
|
-
</div>
|
|
593
|
-
|
|
594
|
-
```
|
|
595
|
-
|
|
596
|
-
### Align top
|
|
597
|
-
|
|
598
|
-
```html
|
|
599
|
-
<div class="pf-v6-c-dropdown pf-m-top">
|
|
600
|
-
<button
|
|
601
|
-
class="pf-v6-c-dropdown__toggle"
|
|
602
|
-
id="dropdown-align-top-button"
|
|
603
|
-
aria-expanded="false"
|
|
604
|
-
type="button"
|
|
605
|
-
>
|
|
606
|
-
<span class="pf-v6-c-dropdown__toggle-text">Top</span>
|
|
607
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
608
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
609
|
-
</span>
|
|
610
|
-
</button>
|
|
611
|
-
<ul
|
|
612
|
-
class="pf-v6-c-dropdown__menu"
|
|
613
|
-
aria-labelledby="dropdown-align-top-button"
|
|
614
|
-
hidden
|
|
615
|
-
role="menu"
|
|
616
|
-
>
|
|
617
|
-
<li role="none">
|
|
618
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
619
|
-
</li>
|
|
620
|
-
<li role="none">
|
|
621
|
-
<button
|
|
622
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
623
|
-
role="menuitem"
|
|
624
|
-
type="button"
|
|
625
|
-
>Action</button>
|
|
626
|
-
</li>
|
|
627
|
-
<li role="none">
|
|
628
|
-
<a
|
|
629
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
630
|
-
role="menuitem"
|
|
631
|
-
href="#"
|
|
632
|
-
aria-disabled="true"
|
|
633
|
-
tabindex="-1"
|
|
634
|
-
>Disabled link</a>
|
|
635
|
-
</li>
|
|
636
|
-
<li role="none">
|
|
637
|
-
<button
|
|
638
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
639
|
-
role="menuitem"
|
|
640
|
-
type="button"
|
|
641
|
-
disabled
|
|
642
|
-
>Disabled action</button>
|
|
643
|
-
</li>
|
|
644
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
645
|
-
<li role="none">
|
|
646
|
-
<a
|
|
647
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
648
|
-
role="menuitem"
|
|
649
|
-
href="#"
|
|
650
|
-
>Separated link</a>
|
|
651
|
-
</li>
|
|
652
|
-
</ul>
|
|
653
|
-
</div>
|
|
654
|
-
<div class="pf-v6-c-dropdown pf-m-expanded pf-m-top">
|
|
655
|
-
<button
|
|
656
|
-
class="pf-v6-c-dropdown__toggle"
|
|
657
|
-
id="dropdown-align-top-expanded-button"
|
|
658
|
-
aria-expanded="true"
|
|
659
|
-
type="button"
|
|
660
|
-
>
|
|
661
|
-
<span class="pf-v6-c-dropdown__toggle-text">Top</span>
|
|
662
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
663
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
664
|
-
</span>
|
|
665
|
-
</button>
|
|
666
|
-
<ul
|
|
667
|
-
class="pf-v6-c-dropdown__menu"
|
|
668
|
-
aria-labelledby="dropdown-align-top-expanded-button"
|
|
669
|
-
role="menu"
|
|
670
|
-
>
|
|
671
|
-
<li role="none">
|
|
672
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
673
|
-
</li>
|
|
674
|
-
<li role="none">
|
|
675
|
-
<button
|
|
676
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
677
|
-
role="menuitem"
|
|
678
|
-
type="button"
|
|
679
|
-
>Action</button>
|
|
680
|
-
</li>
|
|
681
|
-
<li role="none">
|
|
682
|
-
<a
|
|
683
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
684
|
-
role="menuitem"
|
|
685
|
-
href="#"
|
|
686
|
-
aria-disabled="true"
|
|
687
|
-
tabindex="-1"
|
|
688
|
-
>Disabled link</a>
|
|
689
|
-
</li>
|
|
690
|
-
<li role="none">
|
|
691
|
-
<button
|
|
692
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
693
|
-
role="menuitem"
|
|
694
|
-
type="button"
|
|
695
|
-
disabled
|
|
696
|
-
>Disabled action</button>
|
|
697
|
-
</li>
|
|
698
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
699
|
-
<li role="none">
|
|
700
|
-
<a
|
|
701
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
702
|
-
role="menuitem"
|
|
703
|
-
href="#"
|
|
704
|
-
>Separated link</a>
|
|
705
|
-
</li>
|
|
706
|
-
</ul>
|
|
707
|
-
</div>
|
|
708
|
-
|
|
709
|
-
```
|
|
710
|
-
|
|
711
|
-
### Plain with text
|
|
712
|
-
|
|
713
|
-
```html
|
|
714
|
-
<div class="pf-v6-c-dropdown">
|
|
715
|
-
<button
|
|
716
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain pf-m-text"
|
|
717
|
-
id="plain-with-text-example-disabled-button"
|
|
718
|
-
aria-expanded="false"
|
|
719
|
-
type="button"
|
|
720
|
-
disabled
|
|
721
|
-
>
|
|
722
|
-
<span class="pf-v6-c-dropdown__toggle-text">Custom text</span>
|
|
723
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
724
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
725
|
-
</span>
|
|
726
|
-
</button>
|
|
727
|
-
<ul
|
|
728
|
-
class="pf-v6-c-dropdown__menu"
|
|
729
|
-
aria-labelledby="plain-with-text-example-disabled-button"
|
|
730
|
-
hidden
|
|
731
|
-
role="menu"
|
|
732
|
-
>
|
|
733
|
-
<li role="none">
|
|
734
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
735
|
-
</li>
|
|
736
|
-
<li role="none">
|
|
737
|
-
<button
|
|
738
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
739
|
-
role="menuitem"
|
|
740
|
-
type="button"
|
|
741
|
-
>Action</button>
|
|
742
|
-
</li>
|
|
743
|
-
<li role="none">
|
|
744
|
-
<a
|
|
745
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
746
|
-
role="menuitem"
|
|
747
|
-
href="#"
|
|
748
|
-
aria-disabled="true"
|
|
749
|
-
tabindex="-1"
|
|
750
|
-
>Disabled link</a>
|
|
751
|
-
</li>
|
|
752
|
-
<li role="none">
|
|
753
|
-
<button
|
|
754
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
755
|
-
role="menuitem"
|
|
756
|
-
type="button"
|
|
757
|
-
disabled
|
|
758
|
-
>Disabled action</button>
|
|
759
|
-
</li>
|
|
760
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
761
|
-
<li role="none">
|
|
762
|
-
<a
|
|
763
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
764
|
-
role="menuitem"
|
|
765
|
-
href="#"
|
|
766
|
-
>Separated link</a>
|
|
767
|
-
</li>
|
|
768
|
-
</ul>
|
|
769
|
-
</div>
|
|
770
|
-
<div class="pf-v6-c-dropdown">
|
|
771
|
-
<button
|
|
772
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain pf-m-text"
|
|
773
|
-
id="plain-with-text-example-button"
|
|
774
|
-
aria-expanded="false"
|
|
775
|
-
type="button"
|
|
776
|
-
>
|
|
777
|
-
<span class="pf-v6-c-dropdown__toggle-text">Custom text</span>
|
|
778
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
779
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
780
|
-
</span>
|
|
781
|
-
</button>
|
|
782
|
-
<ul
|
|
783
|
-
class="pf-v6-c-dropdown__menu"
|
|
784
|
-
aria-labelledby="plain-with-text-example-button"
|
|
785
|
-
hidden
|
|
786
|
-
role="menu"
|
|
787
|
-
>
|
|
788
|
-
<li role="none">
|
|
789
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
790
|
-
</li>
|
|
791
|
-
<li role="none">
|
|
792
|
-
<button
|
|
793
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
794
|
-
role="menuitem"
|
|
795
|
-
type="button"
|
|
796
|
-
>Action</button>
|
|
797
|
-
</li>
|
|
798
|
-
<li role="none">
|
|
799
|
-
<a
|
|
800
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
801
|
-
role="menuitem"
|
|
802
|
-
href="#"
|
|
803
|
-
aria-disabled="true"
|
|
804
|
-
tabindex="-1"
|
|
805
|
-
>Disabled link</a>
|
|
806
|
-
</li>
|
|
807
|
-
<li role="none">
|
|
808
|
-
<button
|
|
809
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
810
|
-
role="menuitem"
|
|
811
|
-
type="button"
|
|
812
|
-
disabled
|
|
813
|
-
>Disabled action</button>
|
|
814
|
-
</li>
|
|
815
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
816
|
-
<li role="none">
|
|
817
|
-
<a
|
|
818
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
819
|
-
role="menuitem"
|
|
820
|
-
href="#"
|
|
821
|
-
>Separated link</a>
|
|
822
|
-
</li>
|
|
823
|
-
</ul>
|
|
824
|
-
</div>
|
|
825
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
826
|
-
<button
|
|
827
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain pf-m-text"
|
|
828
|
-
id="plain-with-text-example-expanded-button"
|
|
829
|
-
aria-expanded="true"
|
|
830
|
-
type="button"
|
|
831
|
-
>
|
|
832
|
-
<span class="pf-v6-c-dropdown__toggle-text">Custom text (expanded)</span>
|
|
833
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
834
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
835
|
-
</span>
|
|
836
|
-
</button>
|
|
837
|
-
<ul
|
|
838
|
-
class="pf-v6-c-dropdown__menu"
|
|
839
|
-
aria-labelledby="plain-with-text-example-expanded-button"
|
|
840
|
-
role="menu"
|
|
841
|
-
>
|
|
842
|
-
<li role="none">
|
|
843
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
844
|
-
</li>
|
|
845
|
-
<li role="none">
|
|
846
|
-
<button
|
|
847
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
848
|
-
role="menuitem"
|
|
849
|
-
type="button"
|
|
850
|
-
>Action</button>
|
|
851
|
-
</li>
|
|
852
|
-
<li role="none">
|
|
853
|
-
<a
|
|
854
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
855
|
-
role="menuitem"
|
|
856
|
-
href="#"
|
|
857
|
-
aria-disabled="true"
|
|
858
|
-
tabindex="-1"
|
|
859
|
-
>Disabled link</a>
|
|
860
|
-
</li>
|
|
861
|
-
<li role="none">
|
|
862
|
-
<button
|
|
863
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
864
|
-
role="menuitem"
|
|
865
|
-
type="button"
|
|
866
|
-
disabled
|
|
867
|
-
>Disabled action</button>
|
|
868
|
-
</li>
|
|
869
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
870
|
-
<li role="none">
|
|
871
|
-
<a
|
|
872
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
873
|
-
role="menuitem"
|
|
874
|
-
href="#"
|
|
875
|
-
>Separated link</a>
|
|
876
|
-
</li>
|
|
877
|
-
</ul>
|
|
878
|
-
</div>
|
|
879
|
-
|
|
880
|
-
```
|
|
881
|
-
|
|
882
|
-
### Badge toggle
|
|
883
|
-
|
|
884
|
-
```html
|
|
885
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
886
|
-
<button
|
|
887
|
-
class="pf-v6-c-dropdown__toggle pf-m-plain"
|
|
888
|
-
id="dropdown-badge-toggle-button"
|
|
889
|
-
aria-expanded="true"
|
|
890
|
-
type="button"
|
|
891
|
-
>
|
|
892
|
-
<span class="pf-v6-c-badge pf-m-read">
|
|
893
|
-
5
|
|
894
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
895
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
896
|
-
</span>
|
|
897
|
-
</span>
|
|
898
|
-
</button>
|
|
899
|
-
<ul
|
|
900
|
-
class="pf-v6-c-dropdown__menu"
|
|
901
|
-
aria-labelledby="dropdown-badge-toggle-button"
|
|
902
|
-
role="menu"
|
|
903
|
-
>
|
|
904
|
-
<li role="none">
|
|
905
|
-
<button
|
|
906
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
907
|
-
role="menuitem"
|
|
908
|
-
type="button"
|
|
909
|
-
>Edit</button>
|
|
910
|
-
</li>
|
|
911
|
-
<li role="none">
|
|
912
|
-
<button
|
|
913
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
914
|
-
role="menuitem"
|
|
915
|
-
type="button"
|
|
916
|
-
>Deployment</button>
|
|
917
|
-
</li>
|
|
918
|
-
<li role="none">
|
|
919
|
-
<button
|
|
920
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
921
|
-
role="menuitem"
|
|
922
|
-
type="button"
|
|
923
|
-
>Application</button>
|
|
924
|
-
</li>
|
|
925
|
-
<li role="none">
|
|
926
|
-
<button
|
|
927
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
928
|
-
role="menuitem"
|
|
929
|
-
type="button"
|
|
930
|
-
>Count</button>
|
|
931
|
-
</li>
|
|
932
|
-
<li role="none">
|
|
933
|
-
<button
|
|
934
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
935
|
-
role="menuitem"
|
|
936
|
-
type="button"
|
|
937
|
-
>Application 1</button>
|
|
938
|
-
</li>
|
|
939
|
-
</ul>
|
|
940
|
-
</div>
|
|
941
|
-
|
|
942
|
-
```
|
|
943
|
-
|
|
944
|
-
### Menu item icons
|
|
945
|
-
|
|
946
|
-
```html
|
|
947
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
948
|
-
<button
|
|
949
|
-
class="pf-v6-c-dropdown__toggle"
|
|
950
|
-
id="dropdown-menu-item-icons-button"
|
|
951
|
-
aria-expanded="true"
|
|
952
|
-
type="button"
|
|
953
|
-
>
|
|
954
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
955
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
956
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
957
|
-
</span>
|
|
958
|
-
</button>
|
|
959
|
-
<ul
|
|
960
|
-
class="pf-v6-c-dropdown__menu"
|
|
961
|
-
aria-labelledby="dropdown-menu-item-icons-button"
|
|
962
|
-
role="menu"
|
|
963
|
-
>
|
|
964
|
-
<li role="none">
|
|
965
|
-
<a class="pf-v6-c-dropdown__menu-item pf-m-icon" role="menuitem" href="#">
|
|
966
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
967
|
-
<img src="/assets/images/pf-logo-small.svg" alt="PatternFly logo" />
|
|
968
|
-
</span>
|
|
969
|
-
Link
|
|
970
|
-
</a>
|
|
971
|
-
</li>
|
|
972
|
-
<li role="none">
|
|
973
|
-
<button
|
|
974
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
975
|
-
role="menuitem"
|
|
976
|
-
type="button"
|
|
977
|
-
>
|
|
978
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
979
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
980
|
-
</span>
|
|
981
|
-
Action
|
|
982
|
-
</button>
|
|
983
|
-
</li>
|
|
984
|
-
<li role="none">
|
|
985
|
-
<a
|
|
986
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
987
|
-
role="menuitem"
|
|
988
|
-
href="#"
|
|
989
|
-
aria-disabled="true"
|
|
990
|
-
tabindex="-1"
|
|
991
|
-
>Disabled link</a>
|
|
992
|
-
</li>
|
|
993
|
-
<li role="none">
|
|
994
|
-
<button
|
|
995
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
996
|
-
role="menuitem"
|
|
997
|
-
type="button"
|
|
998
|
-
disabled
|
|
999
|
-
>Disabled action</button>
|
|
1000
|
-
</li>
|
|
1001
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
1002
|
-
<li role="none">
|
|
1003
|
-
<a
|
|
1004
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1005
|
-
role="menuitem"
|
|
1006
|
-
href="#"
|
|
1007
|
-
>Separated link</a>
|
|
1008
|
-
</li>
|
|
1009
|
-
</ul>
|
|
1010
|
-
</div>
|
|
1011
|
-
|
|
1012
|
-
```
|
|
1013
|
-
|
|
1014
|
-
### Split button (checkbox)
|
|
1015
|
-
|
|
1016
|
-
```html
|
|
1017
|
-
<div class="pf-v6-c-dropdown">
|
|
1018
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-disabled pf-m-split-button">
|
|
1019
|
-
<label
|
|
1020
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1021
|
-
for="dropdown-split-button-disabled-toggle-check"
|
|
1022
|
-
>
|
|
1023
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1024
|
-
<input
|
|
1025
|
-
class="pf-v6-c-check__input"
|
|
1026
|
-
type="checkbox"
|
|
1027
|
-
disabled
|
|
1028
|
-
id="dropdown-split-button-disabled-toggle-check"
|
|
1029
|
-
aria-label="Select all"
|
|
1030
|
-
/>
|
|
1031
|
-
</div>
|
|
1032
|
-
</label>
|
|
1033
|
-
|
|
1034
|
-
<button
|
|
1035
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1036
|
-
type="button"
|
|
1037
|
-
aria-expanded="false"
|
|
1038
|
-
id="dropdown-split-button-disabled-toggle-button"
|
|
1039
|
-
aria-label="Dropdown toggle"
|
|
1040
|
-
disabled
|
|
1041
|
-
>
|
|
1042
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1043
|
-
</button>
|
|
1044
|
-
</div>
|
|
1045
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1046
|
-
<li role="none">
|
|
1047
|
-
<button
|
|
1048
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1049
|
-
role="menuitem"
|
|
1050
|
-
type="button"
|
|
1051
|
-
>Actions</button>
|
|
1052
|
-
</li>
|
|
1053
|
-
<li role="none">
|
|
1054
|
-
<button
|
|
1055
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1056
|
-
role="menuitem"
|
|
1057
|
-
type="button"
|
|
1058
|
-
disabled
|
|
1059
|
-
>Disabled action</button>
|
|
1060
|
-
</li>
|
|
1061
|
-
<li role="none">
|
|
1062
|
-
<button
|
|
1063
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1064
|
-
role="menuitem"
|
|
1065
|
-
type="button"
|
|
1066
|
-
>Other action</button>
|
|
1067
|
-
</li>
|
|
1068
|
-
</ul>
|
|
1069
|
-
</div>
|
|
1070
|
-
<div class="pf-v6-c-dropdown">
|
|
1071
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1072
|
-
<label
|
|
1073
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1074
|
-
for="dropdown-split-button-toggle-check"
|
|
1075
|
-
>
|
|
1076
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1077
|
-
<input
|
|
1078
|
-
class="pf-v6-c-check__input"
|
|
1079
|
-
type="checkbox"
|
|
1080
|
-
id="dropdown-split-button-toggle-check"
|
|
1081
|
-
aria-label="Select all"
|
|
1082
|
-
/>
|
|
1083
|
-
</div>
|
|
1084
|
-
</label>
|
|
1085
|
-
|
|
1086
|
-
<button
|
|
1087
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1088
|
-
type="button"
|
|
1089
|
-
aria-expanded="false"
|
|
1090
|
-
id="dropdown-split-button-toggle-button"
|
|
1091
|
-
aria-label="Dropdown toggle"
|
|
1092
|
-
>
|
|
1093
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1094
|
-
</button>
|
|
1095
|
-
</div>
|
|
1096
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1097
|
-
<li role="none">
|
|
1098
|
-
<button
|
|
1099
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1100
|
-
role="menuitem"
|
|
1101
|
-
type="button"
|
|
1102
|
-
>Actions</button>
|
|
1103
|
-
</li>
|
|
1104
|
-
<li role="none">
|
|
1105
|
-
<button
|
|
1106
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1107
|
-
role="menuitem"
|
|
1108
|
-
type="button"
|
|
1109
|
-
disabled
|
|
1110
|
-
>Disabled action</button>
|
|
1111
|
-
</li>
|
|
1112
|
-
<li role="none">
|
|
1113
|
-
<button
|
|
1114
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1115
|
-
role="menuitem"
|
|
1116
|
-
type="button"
|
|
1117
|
-
>Other action</button>
|
|
1118
|
-
</li>
|
|
1119
|
-
</ul>
|
|
1120
|
-
</div>
|
|
1121
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1122
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1123
|
-
<label
|
|
1124
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1125
|
-
for="dropdown-split-button-expanded-toggle-check"
|
|
1126
|
-
>
|
|
1127
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1128
|
-
<input
|
|
1129
|
-
class="pf-v6-c-check__input"
|
|
1130
|
-
type="checkbox"
|
|
1131
|
-
id="dropdown-split-button-expanded-toggle-check"
|
|
1132
|
-
aria-label="Select all"
|
|
1133
|
-
/>
|
|
1134
|
-
</div>
|
|
1135
|
-
</label>
|
|
1136
|
-
|
|
1137
|
-
<button
|
|
1138
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1139
|
-
type="button"
|
|
1140
|
-
aria-expanded="true"
|
|
1141
|
-
id="dropdown-split-button-expanded-toggle-button"
|
|
1142
|
-
aria-label="Dropdown toggle"
|
|
1143
|
-
>
|
|
1144
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1145
|
-
</button>
|
|
1146
|
-
</div>
|
|
1147
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1148
|
-
<li role="none">
|
|
1149
|
-
<button
|
|
1150
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1151
|
-
role="menuitem"
|
|
1152
|
-
type="button"
|
|
1153
|
-
>Actions</button>
|
|
1154
|
-
</li>
|
|
1155
|
-
<li role="none">
|
|
1156
|
-
<button
|
|
1157
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1158
|
-
role="menuitem"
|
|
1159
|
-
type="button"
|
|
1160
|
-
disabled
|
|
1161
|
-
>Disabled action</button>
|
|
1162
|
-
</li>
|
|
1163
|
-
<li role="none">
|
|
1164
|
-
<button
|
|
1165
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1166
|
-
role="menuitem"
|
|
1167
|
-
type="button"
|
|
1168
|
-
>Other action</button>
|
|
1169
|
-
</li>
|
|
1170
|
-
</ul>
|
|
1171
|
-
</div>
|
|
1172
|
-
|
|
1173
|
-
```
|
|
1174
|
-
|
|
1175
|
-
### Split button (checkbox with toggle text)
|
|
1176
|
-
|
|
1177
|
-
```html
|
|
1178
|
-
<div class="pf-v6-c-dropdown">
|
|
1179
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1180
|
-
<label
|
|
1181
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1182
|
-
for="dropdown-split-button-text-toggle-check"
|
|
1183
|
-
>
|
|
1184
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1185
|
-
<input
|
|
1186
|
-
class="pf-v6-c-check__input"
|
|
1187
|
-
type="checkbox"
|
|
1188
|
-
checked
|
|
1189
|
-
id="dropdown-split-button-text-toggle-check"
|
|
1190
|
-
aria-label="Select all"
|
|
1191
|
-
aria-labelledby="dropdown-split-button-text-toggle-check dropdown-split-button-text-toggle-check-text"
|
|
1192
|
-
/>
|
|
1193
|
-
</div>
|
|
1194
|
-
<span
|
|
1195
|
-
class="pf-v6-c-dropdown__toggle-text"
|
|
1196
|
-
aria-hidden="true"
|
|
1197
|
-
id="dropdown-split-button-text-toggle-check-text"
|
|
1198
|
-
>10 selected</span>
|
|
1199
|
-
</label>
|
|
1200
|
-
|
|
1201
|
-
<button
|
|
1202
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1203
|
-
type="button"
|
|
1204
|
-
aria-expanded="false"
|
|
1205
|
-
id="dropdown-split-button-text-toggle-button"
|
|
1206
|
-
aria-label="Dropdown toggle"
|
|
1207
|
-
>
|
|
1208
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1209
|
-
</button>
|
|
1210
|
-
</div>
|
|
1211
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1212
|
-
<li role="none">
|
|
1213
|
-
<button
|
|
1214
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1215
|
-
role="menuitem"
|
|
1216
|
-
type="button"
|
|
1217
|
-
>Select all</button>
|
|
1218
|
-
</li>
|
|
1219
|
-
<li role="none">
|
|
1220
|
-
<button
|
|
1221
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1222
|
-
role="menuitem"
|
|
1223
|
-
type="button"
|
|
1224
|
-
>Select none</button>
|
|
1225
|
-
</li>
|
|
1226
|
-
<li role="none">
|
|
1227
|
-
<button
|
|
1228
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1229
|
-
role="menuitem"
|
|
1230
|
-
type="button"
|
|
1231
|
-
>Other action</button>
|
|
1232
|
-
</li>
|
|
1233
|
-
</ul>
|
|
1234
|
-
</div>
|
|
1235
|
-
|
|
1236
|
-
```
|
|
1237
|
-
|
|
1238
|
-
### Split button (progress checkbox)
|
|
1239
|
-
|
|
1240
|
-
```html
|
|
1241
|
-
<div class="pf-v6-c-dropdown">
|
|
1242
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1243
|
-
<label
|
|
1244
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1245
|
-
for="dropdown-split-button-progress-toggle-check"
|
|
1246
|
-
>
|
|
1247
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1248
|
-
<input
|
|
1249
|
-
class="pf-v6-c-check__input"
|
|
1250
|
-
type="checkbox"
|
|
1251
|
-
id="dropdown-split-button-progress-toggle-check"
|
|
1252
|
-
aria-label="Select all"
|
|
1253
|
-
/>
|
|
1254
|
-
</div>
|
|
1255
|
-
<span class="pf-v6-c-dropdown__toggle-progress">
|
|
1256
|
-
<svg class="pf-v6-c-spinner" role="progressbar" viewBox="0 0 100 100">
|
|
1257
|
-
<circle
|
|
1258
|
-
class="pf-v6-c-spinner__path"
|
|
1259
|
-
cx="50"
|
|
1260
|
-
cy="50"
|
|
1261
|
-
r="45"
|
|
1262
|
-
fill="none"
|
|
1263
|
-
/>
|
|
1264
|
-
</svg>
|
|
1265
|
-
</span>
|
|
1266
|
-
</label>
|
|
1267
|
-
|
|
1268
|
-
<button
|
|
1269
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1270
|
-
type="button"
|
|
1271
|
-
aria-expanded="false"
|
|
1272
|
-
id="dropdown-split-button-progress-toggle-button"
|
|
1273
|
-
aria-label="Dropdown toggle"
|
|
1274
|
-
>
|
|
1275
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1276
|
-
</button>
|
|
1277
|
-
</div>
|
|
1278
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1279
|
-
<li role="none">
|
|
1280
|
-
<button
|
|
1281
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1282
|
-
role="menuitem"
|
|
1283
|
-
type="button"
|
|
1284
|
-
>Actions</button>
|
|
1285
|
-
</li>
|
|
1286
|
-
<li role="none">
|
|
1287
|
-
<button
|
|
1288
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1289
|
-
role="menuitem"
|
|
1290
|
-
type="button"
|
|
1291
|
-
disabled
|
|
1292
|
-
>Disabled action</button>
|
|
1293
|
-
</li>
|
|
1294
|
-
<li role="none">
|
|
1295
|
-
<button
|
|
1296
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1297
|
-
role="menuitem"
|
|
1298
|
-
type="button"
|
|
1299
|
-
>Other action</button>
|
|
1300
|
-
</li>
|
|
1301
|
-
</ul>
|
|
1302
|
-
</div>
|
|
1303
|
-
<div class="pf-v6-c-dropdown">
|
|
1304
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1305
|
-
<label
|
|
1306
|
-
class="pf-v6-c-dropdown__toggle-check pf-m-in-progress"
|
|
1307
|
-
for="dropdown-split-button-in-progress-toggle-check"
|
|
1308
|
-
>
|
|
1309
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1310
|
-
<input
|
|
1311
|
-
class="pf-v6-c-check__input"
|
|
1312
|
-
type="checkbox"
|
|
1313
|
-
disabled
|
|
1314
|
-
id="dropdown-split-button-in-progress-toggle-check"
|
|
1315
|
-
aria-label="Select all"
|
|
1316
|
-
/>
|
|
1317
|
-
</div>
|
|
1318
|
-
<span class="pf-v6-c-dropdown__toggle-progress">
|
|
1319
|
-
<svg class="pf-v6-c-spinner" role="progressbar" viewBox="0 0 100 100">
|
|
1320
|
-
<circle
|
|
1321
|
-
class="pf-v6-c-spinner__path"
|
|
1322
|
-
cx="50"
|
|
1323
|
-
cy="50"
|
|
1324
|
-
r="45"
|
|
1325
|
-
fill="none"
|
|
1326
|
-
/>
|
|
1327
|
-
</svg>
|
|
1328
|
-
</span>
|
|
1329
|
-
</label>
|
|
1330
|
-
|
|
1331
|
-
<button
|
|
1332
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1333
|
-
type="button"
|
|
1334
|
-
aria-expanded="false"
|
|
1335
|
-
id="dropdown-split-button-in-progress-toggle-button"
|
|
1336
|
-
aria-label="Dropdown toggle"
|
|
1337
|
-
>
|
|
1338
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1339
|
-
</button>
|
|
1340
|
-
</div>
|
|
1341
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1342
|
-
<li role="none">
|
|
1343
|
-
<button
|
|
1344
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1345
|
-
role="menuitem"
|
|
1346
|
-
type="button"
|
|
1347
|
-
>Actions</button>
|
|
1348
|
-
</li>
|
|
1349
|
-
<li role="none">
|
|
1350
|
-
<button
|
|
1351
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1352
|
-
role="menuitem"
|
|
1353
|
-
type="button"
|
|
1354
|
-
disabled
|
|
1355
|
-
>Disabled action</button>
|
|
1356
|
-
</li>
|
|
1357
|
-
<li role="none">
|
|
1358
|
-
<button
|
|
1359
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1360
|
-
role="menuitem"
|
|
1361
|
-
type="button"
|
|
1362
|
-
>Other action</button>
|
|
1363
|
-
</li>
|
|
1364
|
-
</ul>
|
|
1365
|
-
</div>
|
|
1366
|
-
<div class="pf-v6-c-dropdown">
|
|
1367
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1368
|
-
<label
|
|
1369
|
-
class="pf-v6-c-dropdown__toggle-check"
|
|
1370
|
-
for="dropdown-split-button-progress-text-toggle-check"
|
|
1371
|
-
>
|
|
1372
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1373
|
-
<input
|
|
1374
|
-
class="pf-v6-c-check__input"
|
|
1375
|
-
type="checkbox"
|
|
1376
|
-
checked
|
|
1377
|
-
id="dropdown-split-button-progress-text-toggle-check"
|
|
1378
|
-
aria-label="Select all"
|
|
1379
|
-
aria-labelledby="dropdown-split-button-progress-text-toggle-check dropdown-split-button-progress-text-toggle-check-text"
|
|
1380
|
-
/>
|
|
1381
|
-
</div>
|
|
1382
|
-
<span class="pf-v6-c-dropdown__toggle-progress">
|
|
1383
|
-
<svg class="pf-v6-c-spinner" role="progressbar" viewBox="0 0 100 100">
|
|
1384
|
-
<circle
|
|
1385
|
-
class="pf-v6-c-spinner__path"
|
|
1386
|
-
cx="50"
|
|
1387
|
-
cy="50"
|
|
1388
|
-
r="45"
|
|
1389
|
-
fill="none"
|
|
1390
|
-
/>
|
|
1391
|
-
</svg>
|
|
1392
|
-
</span>
|
|
1393
|
-
<span
|
|
1394
|
-
class="pf-v6-c-dropdown__toggle-text"
|
|
1395
|
-
aria-hidden="true"
|
|
1396
|
-
id="dropdown-split-button-progress-text-toggle-check-text"
|
|
1397
|
-
>10 selected</span>
|
|
1398
|
-
</label>
|
|
1399
|
-
|
|
1400
|
-
<button
|
|
1401
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1402
|
-
type="button"
|
|
1403
|
-
aria-expanded="false"
|
|
1404
|
-
id="dropdown-split-button-progress-text-toggle-button"
|
|
1405
|
-
aria-label="Dropdown toggle"
|
|
1406
|
-
>
|
|
1407
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1408
|
-
</button>
|
|
1409
|
-
</div>
|
|
1410
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1411
|
-
<li role="none">
|
|
1412
|
-
<button
|
|
1413
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1414
|
-
role="menuitem"
|
|
1415
|
-
type="button"
|
|
1416
|
-
>Select all</button>
|
|
1417
|
-
</li>
|
|
1418
|
-
<li role="none">
|
|
1419
|
-
<button
|
|
1420
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1421
|
-
role="menuitem"
|
|
1422
|
-
type="button"
|
|
1423
|
-
>Select none</button>
|
|
1424
|
-
</li>
|
|
1425
|
-
<li role="none">
|
|
1426
|
-
<button
|
|
1427
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1428
|
-
role="menuitem"
|
|
1429
|
-
type="button"
|
|
1430
|
-
>Other action</button>
|
|
1431
|
-
</li>
|
|
1432
|
-
</ul>
|
|
1433
|
-
</div>
|
|
1434
|
-
<div class="pf-v6-c-dropdown">
|
|
1435
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button">
|
|
1436
|
-
<label
|
|
1437
|
-
class="pf-v6-c-dropdown__toggle-check pf-m-in-progress"
|
|
1438
|
-
for="dropdown-split-button-in-progress-text-toggle-check"
|
|
1439
|
-
>
|
|
1440
|
-
<div class="pf-v6-c-check pf-m-standalone">
|
|
1441
|
-
<input
|
|
1442
|
-
class="pf-v6-c-check__input"
|
|
1443
|
-
type="checkbox"
|
|
1444
|
-
checked
|
|
1445
|
-
disabled
|
|
1446
|
-
id="dropdown-split-button-in-progress-text-toggle-check"
|
|
1447
|
-
aria-label="Select all"
|
|
1448
|
-
aria-labelledby="dropdown-split-button-in-progress-text-toggle-check dropdown-split-button-in-progress-text-toggle-check-text"
|
|
1449
|
-
/>
|
|
1450
|
-
</div>
|
|
1451
|
-
<span class="pf-v6-c-dropdown__toggle-progress">
|
|
1452
|
-
<svg class="pf-v6-c-spinner" role="progressbar" viewBox="0 0 100 100">
|
|
1453
|
-
<circle
|
|
1454
|
-
class="pf-v6-c-spinner__path"
|
|
1455
|
-
cx="50"
|
|
1456
|
-
cy="50"
|
|
1457
|
-
r="45"
|
|
1458
|
-
fill="none"
|
|
1459
|
-
/>
|
|
1460
|
-
</svg>
|
|
1461
|
-
</span>
|
|
1462
|
-
<span
|
|
1463
|
-
class="pf-v6-c-dropdown__toggle-text"
|
|
1464
|
-
aria-hidden="true"
|
|
1465
|
-
id="dropdown-split-button-in-progress-text-toggle-check-text"
|
|
1466
|
-
>10 selected</span>
|
|
1467
|
-
</label>
|
|
1468
|
-
|
|
1469
|
-
<button
|
|
1470
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1471
|
-
type="button"
|
|
1472
|
-
aria-expanded="false"
|
|
1473
|
-
id="dropdown-split-button-in-progress-text-toggle-button"
|
|
1474
|
-
aria-label="Dropdown toggle"
|
|
1475
|
-
>
|
|
1476
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1477
|
-
</button>
|
|
1478
|
-
</div>
|
|
1479
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1480
|
-
<li role="none">
|
|
1481
|
-
<button
|
|
1482
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1483
|
-
role="menuitem"
|
|
1484
|
-
type="button"
|
|
1485
|
-
>Select all</button>
|
|
1486
|
-
</li>
|
|
1487
|
-
<li role="none">
|
|
1488
|
-
<button
|
|
1489
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1490
|
-
role="menuitem"
|
|
1491
|
-
type="button"
|
|
1492
|
-
>Select none</button>
|
|
1493
|
-
</li>
|
|
1494
|
-
<li role="none">
|
|
1495
|
-
<button
|
|
1496
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1497
|
-
role="menuitem"
|
|
1498
|
-
type="button"
|
|
1499
|
-
>Other action</button>
|
|
1500
|
-
</li>
|
|
1501
|
-
</ul>
|
|
1502
|
-
</div>
|
|
1503
|
-
|
|
1504
|
-
```
|
|
1505
|
-
|
|
1506
|
-
### Split button (action)
|
|
1507
|
-
|
|
1508
|
-
```html
|
|
1509
|
-
<div class="pf-v6-c-dropdown">
|
|
1510
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button pf-m-action">
|
|
1511
|
-
<button
|
|
1512
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1513
|
-
type="button"
|
|
1514
|
-
aria-label="Dropdown toggle"
|
|
1515
|
-
>Action</button>
|
|
1516
|
-
|
|
1517
|
-
<button
|
|
1518
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1519
|
-
type="button"
|
|
1520
|
-
aria-expanded="false"
|
|
1521
|
-
id="dropdown-split-button-action-toggle-button"
|
|
1522
|
-
aria-label="Dropdown toggle"
|
|
1523
|
-
>
|
|
1524
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1525
|
-
</button>
|
|
1526
|
-
</div>
|
|
1527
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1528
|
-
<li role="none">
|
|
1529
|
-
<button
|
|
1530
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1531
|
-
role="menuitem"
|
|
1532
|
-
type="button"
|
|
1533
|
-
>Actions</button>
|
|
1534
|
-
</li>
|
|
1535
|
-
<li role="none">
|
|
1536
|
-
<button
|
|
1537
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1538
|
-
role="menuitem"
|
|
1539
|
-
type="button"
|
|
1540
|
-
disabled
|
|
1541
|
-
>Disabled action</button>
|
|
1542
|
-
</li>
|
|
1543
|
-
<li role="none">
|
|
1544
|
-
<button
|
|
1545
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1546
|
-
role="menuitem"
|
|
1547
|
-
type="button"
|
|
1548
|
-
>Other action</button>
|
|
1549
|
-
</li>
|
|
1550
|
-
</ul>
|
|
1551
|
-
</div>
|
|
1552
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1553
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button pf-m-action">
|
|
1554
|
-
<button
|
|
1555
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1556
|
-
type="button"
|
|
1557
|
-
aria-label="Dropdown toggle"
|
|
1558
|
-
>Action</button>
|
|
1559
|
-
|
|
1560
|
-
<button
|
|
1561
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1562
|
-
type="button"
|
|
1563
|
-
aria-expanded="true"
|
|
1564
|
-
id="dropdown-split-button-action-expanded-toggle-button"
|
|
1565
|
-
aria-label="Dropdown toggle"
|
|
1566
|
-
>
|
|
1567
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1568
|
-
</button>
|
|
1569
|
-
</div>
|
|
1570
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1571
|
-
<li role="none">
|
|
1572
|
-
<button
|
|
1573
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1574
|
-
role="menuitem"
|
|
1575
|
-
type="button"
|
|
1576
|
-
>Actions</button>
|
|
1577
|
-
</li>
|
|
1578
|
-
<li role="none">
|
|
1579
|
-
<button
|
|
1580
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1581
|
-
role="menuitem"
|
|
1582
|
-
type="button"
|
|
1583
|
-
disabled
|
|
1584
|
-
>Disabled action</button>
|
|
1585
|
-
</li>
|
|
1586
|
-
<li role="none">
|
|
1587
|
-
<button
|
|
1588
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1589
|
-
role="menuitem"
|
|
1590
|
-
type="button"
|
|
1591
|
-
>Other action</button>
|
|
1592
|
-
</li>
|
|
1593
|
-
</ul>
|
|
1594
|
-
</div>
|
|
1595
|
-
<div class="pf-v6-c-dropdown">
|
|
1596
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button pf-m-action">
|
|
1597
|
-
<button
|
|
1598
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1599
|
-
type="button"
|
|
1600
|
-
aria-label="Settings"
|
|
1601
|
-
>
|
|
1602
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1603
|
-
</button>
|
|
1604
|
-
|
|
1605
|
-
<button
|
|
1606
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1607
|
-
type="button"
|
|
1608
|
-
aria-expanded="false"
|
|
1609
|
-
id="dropdown-split-button-action-icon-toggle-button"
|
|
1610
|
-
aria-label="Dropdown toggle"
|
|
1611
|
-
>
|
|
1612
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1613
|
-
</button>
|
|
1614
|
-
</div>
|
|
1615
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1616
|
-
<li role="none">
|
|
1617
|
-
<button
|
|
1618
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1619
|
-
role="menuitem"
|
|
1620
|
-
type="button"
|
|
1621
|
-
>Actions</button>
|
|
1622
|
-
</li>
|
|
1623
|
-
<li role="none">
|
|
1624
|
-
<button
|
|
1625
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1626
|
-
role="menuitem"
|
|
1627
|
-
type="button"
|
|
1628
|
-
disabled
|
|
1629
|
-
>Disabled action</button>
|
|
1630
|
-
</li>
|
|
1631
|
-
<li role="none">
|
|
1632
|
-
<button
|
|
1633
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1634
|
-
role="menuitem"
|
|
1635
|
-
type="button"
|
|
1636
|
-
>Other action</button>
|
|
1637
|
-
</li>
|
|
1638
|
-
</ul>
|
|
1639
|
-
</div>
|
|
1640
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1641
|
-
<div class="pf-v6-c-dropdown__toggle pf-m-split-button pf-m-action">
|
|
1642
|
-
<button
|
|
1643
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1644
|
-
type="button"
|
|
1645
|
-
aria-label="Settings"
|
|
1646
|
-
>
|
|
1647
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1648
|
-
</button>
|
|
1649
|
-
|
|
1650
|
-
<button
|
|
1651
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1652
|
-
type="button"
|
|
1653
|
-
aria-expanded="true"
|
|
1654
|
-
id="dropdown-split-button-action-icon-expanded-toggle-button"
|
|
1655
|
-
aria-label="Dropdown toggle"
|
|
1656
|
-
>
|
|
1657
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1658
|
-
</button>
|
|
1659
|
-
</div>
|
|
1660
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1661
|
-
<li role="none">
|
|
1662
|
-
<button
|
|
1663
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1664
|
-
role="menuitem"
|
|
1665
|
-
type="button"
|
|
1666
|
-
>
|
|
1667
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1668
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1669
|
-
</span>
|
|
1670
|
-
Actions
|
|
1671
|
-
</button>
|
|
1672
|
-
</li>
|
|
1673
|
-
<li role="none">
|
|
1674
|
-
<button
|
|
1675
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1676
|
-
role="menuitem"
|
|
1677
|
-
type="button"
|
|
1678
|
-
disabled
|
|
1679
|
-
>
|
|
1680
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1681
|
-
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
1682
|
-
</span>
|
|
1683
|
-
Disabled action
|
|
1684
|
-
</button>
|
|
1685
|
-
</li>
|
|
1686
|
-
<li role="none">
|
|
1687
|
-
<button
|
|
1688
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1689
|
-
role="menuitem"
|
|
1690
|
-
type="button"
|
|
1691
|
-
>
|
|
1692
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1693
|
-
<i class="fas fa-cubes" aria-hidden="true"></i>
|
|
1694
|
-
</span>
|
|
1695
|
-
Other action
|
|
1696
|
-
</button>
|
|
1697
|
-
</li>
|
|
1698
|
-
</ul>
|
|
1699
|
-
</div>
|
|
1700
|
-
|
|
1701
|
-
```
|
|
1702
|
-
|
|
1703
|
-
### Split button, primary (action)
|
|
1704
|
-
|
|
1705
|
-
```html
|
|
1706
|
-
<div class="pf-v6-c-dropdown">
|
|
1707
|
-
<div
|
|
1708
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary pf-m-split-button pf-m-action"
|
|
1709
|
-
>
|
|
1710
|
-
<button
|
|
1711
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1712
|
-
type="button"
|
|
1713
|
-
aria-label="Dropdown toggle"
|
|
1714
|
-
>Action</button>
|
|
1715
|
-
|
|
1716
|
-
<button
|
|
1717
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1718
|
-
type="button"
|
|
1719
|
-
aria-expanded="false"
|
|
1720
|
-
id="dropdown-split-button-action-primary-toggle-button"
|
|
1721
|
-
aria-label="Dropdown toggle"
|
|
1722
|
-
>
|
|
1723
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1724
|
-
</button>
|
|
1725
|
-
</div>
|
|
1726
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1727
|
-
<li role="none">
|
|
1728
|
-
<button
|
|
1729
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1730
|
-
role="menuitem"
|
|
1731
|
-
type="button"
|
|
1732
|
-
>Actions</button>
|
|
1733
|
-
</li>
|
|
1734
|
-
<li role="none">
|
|
1735
|
-
<button
|
|
1736
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1737
|
-
role="menuitem"
|
|
1738
|
-
type="button"
|
|
1739
|
-
disabled
|
|
1740
|
-
>Disabled action</button>
|
|
1741
|
-
</li>
|
|
1742
|
-
<li role="none">
|
|
1743
|
-
<button
|
|
1744
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1745
|
-
role="menuitem"
|
|
1746
|
-
type="button"
|
|
1747
|
-
>Other action</button>
|
|
1748
|
-
</li>
|
|
1749
|
-
</ul>
|
|
1750
|
-
</div>
|
|
1751
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1752
|
-
<div
|
|
1753
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary pf-m-split-button pf-m-action"
|
|
1754
|
-
>
|
|
1755
|
-
<button
|
|
1756
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1757
|
-
type="button"
|
|
1758
|
-
aria-label="Dropdown toggle"
|
|
1759
|
-
>Action</button>
|
|
1760
|
-
|
|
1761
|
-
<button
|
|
1762
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1763
|
-
type="button"
|
|
1764
|
-
aria-expanded="true"
|
|
1765
|
-
id="dropdown-split-button-action-primary-expanded-toggle-button"
|
|
1766
|
-
aria-label="Dropdown toggle"
|
|
1767
|
-
>
|
|
1768
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1769
|
-
</button>
|
|
1770
|
-
</div>
|
|
1771
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1772
|
-
<li role="none">
|
|
1773
|
-
<button
|
|
1774
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1775
|
-
role="menuitem"
|
|
1776
|
-
type="button"
|
|
1777
|
-
>Actions</button>
|
|
1778
|
-
</li>
|
|
1779
|
-
<li role="none">
|
|
1780
|
-
<button
|
|
1781
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1782
|
-
role="menuitem"
|
|
1783
|
-
type="button"
|
|
1784
|
-
disabled
|
|
1785
|
-
>Disabled action</button>
|
|
1786
|
-
</li>
|
|
1787
|
-
<li role="none">
|
|
1788
|
-
<button
|
|
1789
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1790
|
-
role="menuitem"
|
|
1791
|
-
type="button"
|
|
1792
|
-
>Other action</button>
|
|
1793
|
-
</li>
|
|
1794
|
-
</ul>
|
|
1795
|
-
</div>
|
|
1796
|
-
<div class="pf-v6-c-dropdown">
|
|
1797
|
-
<div
|
|
1798
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary pf-m-split-button pf-m-action"
|
|
1799
|
-
>
|
|
1800
|
-
<button
|
|
1801
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1802
|
-
type="button"
|
|
1803
|
-
aria-label="Settings"
|
|
1804
|
-
>
|
|
1805
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1806
|
-
</button>
|
|
1807
|
-
|
|
1808
|
-
<button
|
|
1809
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1810
|
-
type="button"
|
|
1811
|
-
aria-expanded="false"
|
|
1812
|
-
id="dropdown-split-button-action-primary-icon-toggle-button"
|
|
1813
|
-
aria-label="Dropdown toggle"
|
|
1814
|
-
>
|
|
1815
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1816
|
-
</button>
|
|
1817
|
-
</div>
|
|
1818
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1819
|
-
<li role="none">
|
|
1820
|
-
<button
|
|
1821
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1822
|
-
role="menuitem"
|
|
1823
|
-
type="button"
|
|
1824
|
-
>Actions</button>
|
|
1825
|
-
</li>
|
|
1826
|
-
<li role="none">
|
|
1827
|
-
<button
|
|
1828
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1829
|
-
role="menuitem"
|
|
1830
|
-
type="button"
|
|
1831
|
-
disabled
|
|
1832
|
-
>Disabled action</button>
|
|
1833
|
-
</li>
|
|
1834
|
-
<li role="none">
|
|
1835
|
-
<button
|
|
1836
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1837
|
-
role="menuitem"
|
|
1838
|
-
type="button"
|
|
1839
|
-
>Other action</button>
|
|
1840
|
-
</li>
|
|
1841
|
-
</ul>
|
|
1842
|
-
</div>
|
|
1843
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1844
|
-
<div
|
|
1845
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary pf-m-split-button pf-m-action"
|
|
1846
|
-
>
|
|
1847
|
-
<button
|
|
1848
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1849
|
-
type="button"
|
|
1850
|
-
aria-label="Settings"
|
|
1851
|
-
>
|
|
1852
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1853
|
-
</button>
|
|
1854
|
-
|
|
1855
|
-
<button
|
|
1856
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1857
|
-
type="button"
|
|
1858
|
-
aria-expanded="true"
|
|
1859
|
-
id="dropdown-split-button-action-primary-icon-expanded-toggle-button"
|
|
1860
|
-
aria-label="Dropdown toggle"
|
|
1861
|
-
>
|
|
1862
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1863
|
-
</button>
|
|
1864
|
-
</div>
|
|
1865
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1866
|
-
<li role="none">
|
|
1867
|
-
<button
|
|
1868
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1869
|
-
role="menuitem"
|
|
1870
|
-
type="button"
|
|
1871
|
-
>
|
|
1872
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1873
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
1874
|
-
</span>
|
|
1875
|
-
Actions
|
|
1876
|
-
</button>
|
|
1877
|
-
</li>
|
|
1878
|
-
<li role="none">
|
|
1879
|
-
<button
|
|
1880
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1881
|
-
role="menuitem"
|
|
1882
|
-
type="button"
|
|
1883
|
-
disabled
|
|
1884
|
-
>
|
|
1885
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1886
|
-
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
1887
|
-
</span>
|
|
1888
|
-
Disabled action
|
|
1889
|
-
</button>
|
|
1890
|
-
</li>
|
|
1891
|
-
<li role="none">
|
|
1892
|
-
<button
|
|
1893
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
1894
|
-
role="menuitem"
|
|
1895
|
-
type="button"
|
|
1896
|
-
>
|
|
1897
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
1898
|
-
<i class="fas fa-cubes" aria-hidden="true"></i>
|
|
1899
|
-
</span>
|
|
1900
|
-
Other action
|
|
1901
|
-
</button>
|
|
1902
|
-
</li>
|
|
1903
|
-
</ul>
|
|
1904
|
-
</div>
|
|
1905
|
-
|
|
1906
|
-
```
|
|
1907
|
-
|
|
1908
|
-
### Split button, secondary (action)
|
|
1909
|
-
|
|
1910
|
-
```html
|
|
1911
|
-
<div class="pf-v6-c-dropdown">
|
|
1912
|
-
<div
|
|
1913
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1914
|
-
>
|
|
1915
|
-
<button
|
|
1916
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1917
|
-
type="button"
|
|
1918
|
-
aria-label="Dropdown toggle"
|
|
1919
|
-
>Action</button>
|
|
1920
|
-
|
|
1921
|
-
<button
|
|
1922
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1923
|
-
type="button"
|
|
1924
|
-
aria-expanded="false"
|
|
1925
|
-
id="dropdown-split-button-action-secondary-toggle-button"
|
|
1926
|
-
aria-label="Dropdown toggle"
|
|
1927
|
-
>
|
|
1928
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1929
|
-
</button>
|
|
1930
|
-
</div>
|
|
1931
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
1932
|
-
<li role="none">
|
|
1933
|
-
<button
|
|
1934
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1935
|
-
role="menuitem"
|
|
1936
|
-
type="button"
|
|
1937
|
-
>Actions</button>
|
|
1938
|
-
</li>
|
|
1939
|
-
<li role="none">
|
|
1940
|
-
<button
|
|
1941
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1942
|
-
role="menuitem"
|
|
1943
|
-
type="button"
|
|
1944
|
-
disabled
|
|
1945
|
-
>Disabled action</button>
|
|
1946
|
-
</li>
|
|
1947
|
-
<li role="none">
|
|
1948
|
-
<button
|
|
1949
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1950
|
-
role="menuitem"
|
|
1951
|
-
type="button"
|
|
1952
|
-
>Other action</button>
|
|
1953
|
-
</li>
|
|
1954
|
-
</ul>
|
|
1955
|
-
</div>
|
|
1956
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
1957
|
-
<div
|
|
1958
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
1959
|
-
>
|
|
1960
|
-
<button
|
|
1961
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1962
|
-
type="button"
|
|
1963
|
-
aria-label="Dropdown toggle"
|
|
1964
|
-
>Action</button>
|
|
1965
|
-
|
|
1966
|
-
<button
|
|
1967
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
1968
|
-
type="button"
|
|
1969
|
-
aria-expanded="true"
|
|
1970
|
-
id="dropdown-split-button-action-secondary-expanded-toggle-button"
|
|
1971
|
-
aria-label="Dropdown toggle"
|
|
1972
|
-
>
|
|
1973
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1974
|
-
</button>
|
|
1975
|
-
</div>
|
|
1976
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
1977
|
-
<li role="none">
|
|
1978
|
-
<button
|
|
1979
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1980
|
-
role="menuitem"
|
|
1981
|
-
type="button"
|
|
1982
|
-
>Actions</button>
|
|
1983
|
-
</li>
|
|
1984
|
-
<li role="none">
|
|
1985
|
-
<button
|
|
1986
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1987
|
-
role="menuitem"
|
|
1988
|
-
type="button"
|
|
1989
|
-
disabled
|
|
1990
|
-
>Disabled action</button>
|
|
1991
|
-
</li>
|
|
1992
|
-
<li role="none">
|
|
1993
|
-
<button
|
|
1994
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
1995
|
-
role="menuitem"
|
|
1996
|
-
type="button"
|
|
1997
|
-
>Other action</button>
|
|
1998
|
-
</li>
|
|
1999
|
-
</ul>
|
|
2000
|
-
</div>
|
|
2001
|
-
<div class="pf-v6-c-dropdown">
|
|
2002
|
-
<div
|
|
2003
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
2004
|
-
>
|
|
2005
|
-
<button
|
|
2006
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
2007
|
-
type="button"
|
|
2008
|
-
aria-label="Settings"
|
|
2009
|
-
>
|
|
2010
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
2011
|
-
</button>
|
|
2012
|
-
|
|
2013
|
-
<button
|
|
2014
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
2015
|
-
type="button"
|
|
2016
|
-
aria-expanded="false"
|
|
2017
|
-
id="dropdown-split-button-action-secondary-icon-toggle-button"
|
|
2018
|
-
aria-label="Dropdown toggle"
|
|
2019
|
-
>
|
|
2020
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2021
|
-
</button>
|
|
2022
|
-
</div>
|
|
2023
|
-
<ul class="pf-v6-c-dropdown__menu" hidden role="menu">
|
|
2024
|
-
<li role="none">
|
|
2025
|
-
<button
|
|
2026
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2027
|
-
role="menuitem"
|
|
2028
|
-
type="button"
|
|
2029
|
-
>Actions</button>
|
|
2030
|
-
</li>
|
|
2031
|
-
<li role="none">
|
|
2032
|
-
<button
|
|
2033
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2034
|
-
role="menuitem"
|
|
2035
|
-
type="button"
|
|
2036
|
-
disabled
|
|
2037
|
-
>Disabled action</button>
|
|
2038
|
-
</li>
|
|
2039
|
-
<li role="none">
|
|
2040
|
-
<button
|
|
2041
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2042
|
-
role="menuitem"
|
|
2043
|
-
type="button"
|
|
2044
|
-
>Other action</button>
|
|
2045
|
-
</li>
|
|
2046
|
-
</ul>
|
|
2047
|
-
</div>
|
|
2048
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2049
|
-
<div
|
|
2050
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary pf-m-split-button pf-m-action"
|
|
2051
|
-
>
|
|
2052
|
-
<button
|
|
2053
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
2054
|
-
type="button"
|
|
2055
|
-
aria-label="Settings"
|
|
2056
|
-
>
|
|
2057
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
2058
|
-
</button>
|
|
2059
|
-
|
|
2060
|
-
<button
|
|
2061
|
-
class="pf-v6-c-dropdown__toggle-button"
|
|
2062
|
-
type="button"
|
|
2063
|
-
aria-expanded="true"
|
|
2064
|
-
id="dropdown-split-button-action-secondary-icon-expanded-toggle-button"
|
|
2065
|
-
aria-label="Dropdown toggle"
|
|
2066
|
-
>
|
|
2067
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2068
|
-
</button>
|
|
2069
|
-
</div>
|
|
2070
|
-
<ul class="pf-v6-c-dropdown__menu" role="menu">
|
|
2071
|
-
<li role="none">
|
|
2072
|
-
<button
|
|
2073
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
2074
|
-
role="menuitem"
|
|
2075
|
-
type="button"
|
|
2076
|
-
>
|
|
2077
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
2078
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
2079
|
-
</span>
|
|
2080
|
-
Actions
|
|
2081
|
-
</button>
|
|
2082
|
-
</li>
|
|
2083
|
-
<li role="none">
|
|
2084
|
-
<button
|
|
2085
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
2086
|
-
role="menuitem"
|
|
2087
|
-
type="button"
|
|
2088
|
-
disabled
|
|
2089
|
-
>
|
|
2090
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
2091
|
-
<i class="fas fa-bell" aria-hidden="true"></i>
|
|
2092
|
-
</span>
|
|
2093
|
-
Disabled action
|
|
2094
|
-
</button>
|
|
2095
|
-
</li>
|
|
2096
|
-
<li role="none">
|
|
2097
|
-
<button
|
|
2098
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon"
|
|
2099
|
-
role="menuitem"
|
|
2100
|
-
type="button"
|
|
2101
|
-
>
|
|
2102
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
2103
|
-
<i class="fas fa-cubes" aria-hidden="true"></i>
|
|
2104
|
-
</span>
|
|
2105
|
-
Other action
|
|
2106
|
-
</button>
|
|
2107
|
-
</li>
|
|
2108
|
-
</ul>
|
|
2109
|
-
</div>
|
|
2110
|
-
|
|
2111
|
-
```
|
|
2112
|
-
|
|
2113
|
-
### With groups
|
|
2114
|
-
|
|
2115
|
-
```html
|
|
2116
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2117
|
-
<button
|
|
2118
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2119
|
-
id="dropdown-groups-button"
|
|
2120
|
-
aria-expanded="true"
|
|
2121
|
-
type="button"
|
|
2122
|
-
>
|
|
2123
|
-
<span class="pf-v6-c-dropdown__toggle-text">Groups</span>
|
|
2124
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2125
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2126
|
-
</span>
|
|
2127
|
-
</button>
|
|
2128
|
-
<div class="pf-v6-c-dropdown__menu" role="menu">
|
|
2129
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2130
|
-
<ul role="none">
|
|
2131
|
-
<li role="none">
|
|
2132
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2133
|
-
</li>
|
|
2134
|
-
<li role="none">
|
|
2135
|
-
<button
|
|
2136
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2137
|
-
role="menuitem"
|
|
2138
|
-
type="button"
|
|
2139
|
-
>Action</button>
|
|
2140
|
-
</li>
|
|
2141
|
-
</ul>
|
|
2142
|
-
</section>
|
|
2143
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2144
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 2</h1>
|
|
2145
|
-
<ul role="none">
|
|
2146
|
-
<li role="none">
|
|
2147
|
-
<a
|
|
2148
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2149
|
-
role="menuitem"
|
|
2150
|
-
href="#"
|
|
2151
|
-
>Group 2 link</a>
|
|
2152
|
-
</li>
|
|
2153
|
-
<li role="none">
|
|
2154
|
-
<button
|
|
2155
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2156
|
-
role="menuitem"
|
|
2157
|
-
type="button"
|
|
2158
|
-
>Group 2 action</button>
|
|
2159
|
-
</li>
|
|
2160
|
-
</ul>
|
|
2161
|
-
</section>
|
|
2162
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2163
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 3</h1>
|
|
2164
|
-
<ul role="none">
|
|
2165
|
-
<li role="none">
|
|
2166
|
-
<a
|
|
2167
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2168
|
-
role="menuitem"
|
|
2169
|
-
href="#"
|
|
2170
|
-
>Group 3 link</a>
|
|
2171
|
-
</li>
|
|
2172
|
-
<li role="none">
|
|
2173
|
-
<button
|
|
2174
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2175
|
-
role="menuitem"
|
|
2176
|
-
type="button"
|
|
2177
|
-
>Group 3 action</button>
|
|
2178
|
-
</li>
|
|
2179
|
-
</ul>
|
|
2180
|
-
</section>
|
|
2181
|
-
</div>
|
|
2182
|
-
</div>
|
|
2183
|
-
|
|
2184
|
-
```
|
|
2185
|
-
|
|
2186
|
-
### With groups and dividers between groups
|
|
2187
|
-
|
|
2188
|
-
```html
|
|
2189
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2190
|
-
<button
|
|
2191
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2192
|
-
id="dropdown-groups-and-dividers-between-groups-button"
|
|
2193
|
-
aria-expanded="true"
|
|
2194
|
-
type="button"
|
|
2195
|
-
>
|
|
2196
|
-
<span class="pf-v6-c-dropdown__toggle-text">Groups</span>
|
|
2197
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2198
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2199
|
-
</span>
|
|
2200
|
-
</button>
|
|
2201
|
-
<div class="pf-v6-c-dropdown__menu" role="menu">
|
|
2202
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2203
|
-
<ul role="none">
|
|
2204
|
-
<li role="none">
|
|
2205
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2206
|
-
</li>
|
|
2207
|
-
<li role="none">
|
|
2208
|
-
<button
|
|
2209
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2210
|
-
role="menuitem"
|
|
2211
|
-
type="button"
|
|
2212
|
-
>Action</button>
|
|
2213
|
-
</li>
|
|
2214
|
-
</ul>
|
|
2215
|
-
</section>
|
|
2216
|
-
<hr class="pf-v6-c-divider" />
|
|
2217
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2218
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 2</h1>
|
|
2219
|
-
<ul role="none">
|
|
2220
|
-
<li role="none">
|
|
2221
|
-
<a
|
|
2222
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2223
|
-
role="menuitem"
|
|
2224
|
-
href="#"
|
|
2225
|
-
>Group 2 link</a>
|
|
2226
|
-
</li>
|
|
2227
|
-
<li role="none">
|
|
2228
|
-
<button
|
|
2229
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2230
|
-
role="menuitem"
|
|
2231
|
-
type="button"
|
|
2232
|
-
>Group 2 action</button>
|
|
2233
|
-
</li>
|
|
2234
|
-
</ul>
|
|
2235
|
-
</section>
|
|
2236
|
-
<hr class="pf-v6-c-divider" />
|
|
2237
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2238
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 3</h1>
|
|
2239
|
-
<ul role="none">
|
|
2240
|
-
<li role="none">
|
|
2241
|
-
<a
|
|
2242
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2243
|
-
role="menuitem"
|
|
2244
|
-
href="#"
|
|
2245
|
-
>Group 3 link</a>
|
|
2246
|
-
</li>
|
|
2247
|
-
<li role="none">
|
|
2248
|
-
<button
|
|
2249
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2250
|
-
role="menuitem"
|
|
2251
|
-
type="button"
|
|
2252
|
-
>Group 3 action</button>
|
|
2253
|
-
</li>
|
|
2254
|
-
</ul>
|
|
2255
|
-
</section>
|
|
2256
|
-
</div>
|
|
2257
|
-
</div>
|
|
2258
|
-
|
|
2259
|
-
```
|
|
2260
|
-
|
|
2261
|
-
### With groups and dividers between items
|
|
2262
|
-
|
|
2263
|
-
```html
|
|
2264
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2265
|
-
<button
|
|
2266
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2267
|
-
id="dropdown-groups-and-dividers-between-items-button"
|
|
2268
|
-
aria-expanded="true"
|
|
2269
|
-
type="button"
|
|
2270
|
-
>
|
|
2271
|
-
<span class="pf-v6-c-dropdown__toggle-text">Groups</span>
|
|
2272
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2273
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2274
|
-
</span>
|
|
2275
|
-
</button>
|
|
2276
|
-
<div class="pf-v6-c-dropdown__menu" role="menu">
|
|
2277
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2278
|
-
<ul role="none">
|
|
2279
|
-
<li role="none">
|
|
2280
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2281
|
-
</li>
|
|
2282
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2283
|
-
<li role="none">
|
|
2284
|
-
<button
|
|
2285
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2286
|
-
role="menuitem"
|
|
2287
|
-
type="button"
|
|
2288
|
-
>Action</button>
|
|
2289
|
-
</li>
|
|
2290
|
-
</ul>
|
|
2291
|
-
</section>
|
|
2292
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2293
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 2</h1>
|
|
2294
|
-
<ul role="none">
|
|
2295
|
-
<li role="none">
|
|
2296
|
-
<a
|
|
2297
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2298
|
-
role="menuitem"
|
|
2299
|
-
href="#"
|
|
2300
|
-
>Group 2 link</a>
|
|
2301
|
-
</li>
|
|
2302
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2303
|
-
<li role="none">
|
|
2304
|
-
<button
|
|
2305
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2306
|
-
role="menuitem"
|
|
2307
|
-
type="button"
|
|
2308
|
-
>Group 2 action</button>
|
|
2309
|
-
</li>
|
|
2310
|
-
</ul>
|
|
2311
|
-
</section>
|
|
2312
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2313
|
-
<h1 class="pf-v6-c-dropdown__group-title">Group 3</h1>
|
|
2314
|
-
<ul role="none">
|
|
2315
|
-
<li role="none">
|
|
2316
|
-
<a
|
|
2317
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2318
|
-
role="menuitem"
|
|
2319
|
-
href="#"
|
|
2320
|
-
>Group 3 link</a>
|
|
2321
|
-
</li>
|
|
2322
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2323
|
-
<li role="none">
|
|
2324
|
-
<button
|
|
2325
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2326
|
-
role="menuitem"
|
|
2327
|
-
type="button"
|
|
2328
|
-
>Group 3 action</button>
|
|
2329
|
-
</li>
|
|
2330
|
-
</ul>
|
|
2331
|
-
</section>
|
|
2332
|
-
</div>
|
|
2333
|
-
</div>
|
|
2334
|
-
|
|
2335
|
-
```
|
|
2336
|
-
|
|
2337
|
-
### Panel
|
|
2338
|
-
|
|
2339
|
-
```html
|
|
2340
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2341
|
-
<button
|
|
2342
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2343
|
-
id="dropdown-panel-button"
|
|
2344
|
-
aria-expanded="true"
|
|
2345
|
-
type="button"
|
|
2346
|
-
>
|
|
2347
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
2348
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2349
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2350
|
-
</span>
|
|
2351
|
-
</button>
|
|
2352
|
-
<div class="pf-v6-c-dropdown__menu">[Panel contents here]</div>
|
|
2353
|
-
</div>
|
|
2354
|
-
|
|
2355
|
-
```
|
|
2356
|
-
|
|
2357
|
-
The dropdown panel is provided for flexibility in allowing various content within a dropdown.
|
|
2358
|
-
|
|
2359
|
-
### Primary toggle
|
|
2360
|
-
|
|
2361
|
-
```html
|
|
2362
|
-
<div class="pf-v6-c-dropdown">
|
|
2363
|
-
<button
|
|
2364
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary"
|
|
2365
|
-
id="dropdown-primary-toggle-button"
|
|
2366
|
-
aria-expanded="false"
|
|
2367
|
-
type="button"
|
|
2368
|
-
>
|
|
2369
|
-
<span class="pf-v6-c-dropdown__toggle-text">Collapsed dropdown</span>
|
|
2370
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2371
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2372
|
-
</span>
|
|
2373
|
-
</button>
|
|
2374
|
-
<ul
|
|
2375
|
-
class="pf-v6-c-dropdown__menu"
|
|
2376
|
-
aria-labelledby="dropdown-primary-toggle-button"
|
|
2377
|
-
hidden
|
|
2378
|
-
role="menu"
|
|
2379
|
-
>
|
|
2380
|
-
<li role="none">
|
|
2381
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2382
|
-
</li>
|
|
2383
|
-
<li role="none">
|
|
2384
|
-
<button
|
|
2385
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2386
|
-
role="menuitem"
|
|
2387
|
-
type="button"
|
|
2388
|
-
>Action</button>
|
|
2389
|
-
</li>
|
|
2390
|
-
<li role="none">
|
|
2391
|
-
<a
|
|
2392
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2393
|
-
role="menuitem"
|
|
2394
|
-
href="#"
|
|
2395
|
-
aria-disabled="true"
|
|
2396
|
-
tabindex="-1"
|
|
2397
|
-
>Disabled link</a>
|
|
2398
|
-
</li>
|
|
2399
|
-
<li role="none">
|
|
2400
|
-
<button
|
|
2401
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2402
|
-
role="menuitem"
|
|
2403
|
-
type="button"
|
|
2404
|
-
disabled
|
|
2405
|
-
>Disabled action</button>
|
|
2406
|
-
</li>
|
|
2407
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2408
|
-
<li role="none">
|
|
2409
|
-
<a
|
|
2410
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2411
|
-
role="menuitem"
|
|
2412
|
-
href="#"
|
|
2413
|
-
>Separated link</a>
|
|
2414
|
-
</li>
|
|
2415
|
-
</ul>
|
|
2416
|
-
</div>
|
|
2417
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2418
|
-
<button
|
|
2419
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary"
|
|
2420
|
-
id="dropdown-primary-toggle-expanded-button"
|
|
2421
|
-
aria-expanded="true"
|
|
2422
|
-
type="button"
|
|
2423
|
-
>
|
|
2424
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
2425
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2426
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2427
|
-
</span>
|
|
2428
|
-
</button>
|
|
2429
|
-
<ul
|
|
2430
|
-
class="pf-v6-c-dropdown__menu"
|
|
2431
|
-
aria-labelledby="dropdown-primary-toggle-expanded-button"
|
|
2432
|
-
role="menu"
|
|
2433
|
-
>
|
|
2434
|
-
<li role="none">
|
|
2435
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2436
|
-
</li>
|
|
2437
|
-
<li role="none">
|
|
2438
|
-
<button
|
|
2439
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2440
|
-
role="menuitem"
|
|
2441
|
-
type="button"
|
|
2442
|
-
>Action</button>
|
|
2443
|
-
</li>
|
|
2444
|
-
<li role="none">
|
|
2445
|
-
<a
|
|
2446
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2447
|
-
role="menuitem"
|
|
2448
|
-
href="#"
|
|
2449
|
-
aria-disabled="true"
|
|
2450
|
-
tabindex="-1"
|
|
2451
|
-
>Disabled link</a>
|
|
2452
|
-
</li>
|
|
2453
|
-
<li role="none">
|
|
2454
|
-
<button
|
|
2455
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2456
|
-
role="menuitem"
|
|
2457
|
-
type="button"
|
|
2458
|
-
disabled
|
|
2459
|
-
>Disabled action</button>
|
|
2460
|
-
</li>
|
|
2461
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2462
|
-
<li role="none">
|
|
2463
|
-
<a
|
|
2464
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2465
|
-
role="menuitem"
|
|
2466
|
-
href="#"
|
|
2467
|
-
>Separated link</a>
|
|
2468
|
-
</li>
|
|
2469
|
-
</ul>
|
|
2470
|
-
</div>
|
|
2471
|
-
<div class="pf-v6-c-dropdown">
|
|
2472
|
-
<button
|
|
2473
|
-
class="pf-v6-c-dropdown__toggle pf-m-primary"
|
|
2474
|
-
id="dropdown-primary-toggle-disabled-button"
|
|
2475
|
-
aria-expanded="false"
|
|
2476
|
-
type="button"
|
|
2477
|
-
disabled
|
|
2478
|
-
>
|
|
2479
|
-
<span class="pf-v6-c-dropdown__toggle-text">Disabled</span>
|
|
2480
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2481
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2482
|
-
</span>
|
|
2483
|
-
</button>
|
|
2484
|
-
<ul
|
|
2485
|
-
class="pf-v6-c-dropdown__menu"
|
|
2486
|
-
aria-labelledby="dropdown-primary-toggle-disabled-button"
|
|
2487
|
-
hidden
|
|
2488
|
-
role="menu"
|
|
2489
|
-
>
|
|
2490
|
-
<li role="none">
|
|
2491
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2492
|
-
</li>
|
|
2493
|
-
<li role="none">
|
|
2494
|
-
<button
|
|
2495
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2496
|
-
role="menuitem"
|
|
2497
|
-
type="button"
|
|
2498
|
-
>Action</button>
|
|
2499
|
-
</li>
|
|
2500
|
-
<li role="none">
|
|
2501
|
-
<a
|
|
2502
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2503
|
-
role="menuitem"
|
|
2504
|
-
href="#"
|
|
2505
|
-
aria-disabled="true"
|
|
2506
|
-
tabindex="-1"
|
|
2507
|
-
>Disabled link</a>
|
|
2508
|
-
</li>
|
|
2509
|
-
<li role="none">
|
|
2510
|
-
<button
|
|
2511
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2512
|
-
role="menuitem"
|
|
2513
|
-
type="button"
|
|
2514
|
-
disabled
|
|
2515
|
-
>Disabled action</button>
|
|
2516
|
-
</li>
|
|
2517
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2518
|
-
<li role="none">
|
|
2519
|
-
<a
|
|
2520
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2521
|
-
role="menuitem"
|
|
2522
|
-
href="#"
|
|
2523
|
-
>Separated link</a>
|
|
2524
|
-
</li>
|
|
2525
|
-
</ul>
|
|
2526
|
-
</div>
|
|
2527
|
-
|
|
2528
|
-
```
|
|
2529
|
-
|
|
2530
|
-
### Secondary toggle
|
|
2531
|
-
|
|
2532
|
-
```html
|
|
2533
|
-
<div class="pf-v6-c-dropdown">
|
|
2534
|
-
<button
|
|
2535
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary"
|
|
2536
|
-
id="dropdown-secondary-toggle-button"
|
|
2537
|
-
aria-expanded="false"
|
|
2538
|
-
type="button"
|
|
2539
|
-
>
|
|
2540
|
-
<span class="pf-v6-c-dropdown__toggle-text">Collapsed dropdown</span>
|
|
2541
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2542
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2543
|
-
</span>
|
|
2544
|
-
</button>
|
|
2545
|
-
<ul
|
|
2546
|
-
class="pf-v6-c-dropdown__menu"
|
|
2547
|
-
aria-labelledby="dropdown-secondary-toggle-button"
|
|
2548
|
-
hidden
|
|
2549
|
-
role="menu"
|
|
2550
|
-
>
|
|
2551
|
-
<li role="none">
|
|
2552
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2553
|
-
</li>
|
|
2554
|
-
<li role="none">
|
|
2555
|
-
<button
|
|
2556
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2557
|
-
role="menuitem"
|
|
2558
|
-
type="button"
|
|
2559
|
-
>Action</button>
|
|
2560
|
-
</li>
|
|
2561
|
-
<li role="none">
|
|
2562
|
-
<a
|
|
2563
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2564
|
-
role="menuitem"
|
|
2565
|
-
href="#"
|
|
2566
|
-
aria-disabled="true"
|
|
2567
|
-
tabindex="-1"
|
|
2568
|
-
>Disabled link</a>
|
|
2569
|
-
</li>
|
|
2570
|
-
<li role="none">
|
|
2571
|
-
<button
|
|
2572
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2573
|
-
role="menuitem"
|
|
2574
|
-
type="button"
|
|
2575
|
-
disabled
|
|
2576
|
-
>Disabled action</button>
|
|
2577
|
-
</li>
|
|
2578
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2579
|
-
<li role="none">
|
|
2580
|
-
<a
|
|
2581
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2582
|
-
role="menuitem"
|
|
2583
|
-
href="#"
|
|
2584
|
-
>Separated link</a>
|
|
2585
|
-
</li>
|
|
2586
|
-
</ul>
|
|
2587
|
-
</div>
|
|
2588
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2589
|
-
<button
|
|
2590
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary"
|
|
2591
|
-
id="dropdown-secondary-toggle-expanded-button"
|
|
2592
|
-
aria-expanded="true"
|
|
2593
|
-
type="button"
|
|
2594
|
-
>
|
|
2595
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
2596
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2597
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2598
|
-
</span>
|
|
2599
|
-
</button>
|
|
2600
|
-
<ul
|
|
2601
|
-
class="pf-v6-c-dropdown__menu"
|
|
2602
|
-
aria-labelledby="dropdown-secondary-toggle-expanded-button"
|
|
2603
|
-
role="menu"
|
|
2604
|
-
>
|
|
2605
|
-
<li role="none">
|
|
2606
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2607
|
-
</li>
|
|
2608
|
-
<li role="none">
|
|
2609
|
-
<button
|
|
2610
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2611
|
-
role="menuitem"
|
|
2612
|
-
type="button"
|
|
2613
|
-
>Action</button>
|
|
2614
|
-
</li>
|
|
2615
|
-
<li role="none">
|
|
2616
|
-
<a
|
|
2617
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2618
|
-
role="menuitem"
|
|
2619
|
-
href="#"
|
|
2620
|
-
aria-disabled="true"
|
|
2621
|
-
tabindex="-1"
|
|
2622
|
-
>Disabled link</a>
|
|
2623
|
-
</li>
|
|
2624
|
-
<li role="none">
|
|
2625
|
-
<button
|
|
2626
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2627
|
-
role="menuitem"
|
|
2628
|
-
type="button"
|
|
2629
|
-
disabled
|
|
2630
|
-
>Disabled action</button>
|
|
2631
|
-
</li>
|
|
2632
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2633
|
-
<li role="none">
|
|
2634
|
-
<a
|
|
2635
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2636
|
-
role="menuitem"
|
|
2637
|
-
href="#"
|
|
2638
|
-
>Separated link</a>
|
|
2639
|
-
</li>
|
|
2640
|
-
</ul>
|
|
2641
|
-
</div>
|
|
2642
|
-
<div class="pf-v6-c-dropdown">
|
|
2643
|
-
<button
|
|
2644
|
-
class="pf-v6-c-dropdown__toggle pf-m-secondary"
|
|
2645
|
-
id="dropdown-secondary-toggle-disabled-button"
|
|
2646
|
-
aria-expanded="false"
|
|
2647
|
-
type="button"
|
|
2648
|
-
disabled
|
|
2649
|
-
>
|
|
2650
|
-
<span class="pf-v6-c-dropdown__toggle-text">Disabled</span>
|
|
2651
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2652
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2653
|
-
</span>
|
|
2654
|
-
</button>
|
|
2655
|
-
<ul
|
|
2656
|
-
class="pf-v6-c-dropdown__menu"
|
|
2657
|
-
aria-labelledby="dropdown-secondary-toggle-disabled-button"
|
|
2658
|
-
hidden
|
|
2659
|
-
role="menu"
|
|
2660
|
-
>
|
|
2661
|
-
<li role="none">
|
|
2662
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Link</a>
|
|
2663
|
-
</li>
|
|
2664
|
-
<li role="none">
|
|
2665
|
-
<button
|
|
2666
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2667
|
-
role="menuitem"
|
|
2668
|
-
type="button"
|
|
2669
|
-
>Action</button>
|
|
2670
|
-
</li>
|
|
2671
|
-
<li role="none">
|
|
2672
|
-
<a
|
|
2673
|
-
class="pf-v6-c-dropdown__menu-item pf-m-disabled"
|
|
2674
|
-
role="menuitem"
|
|
2675
|
-
href="#"
|
|
2676
|
-
aria-disabled="true"
|
|
2677
|
-
tabindex="-1"
|
|
2678
|
-
>Disabled link</a>
|
|
2679
|
-
</li>
|
|
2680
|
-
<li role="none">
|
|
2681
|
-
<button
|
|
2682
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2683
|
-
role="menuitem"
|
|
2684
|
-
type="button"
|
|
2685
|
-
disabled
|
|
2686
|
-
>Disabled action</button>
|
|
2687
|
-
</li>
|
|
2688
|
-
<li class="pf-v6-c-divider" role="separator"></li>
|
|
2689
|
-
<li role="none">
|
|
2690
|
-
<a
|
|
2691
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2692
|
-
role="menuitem"
|
|
2693
|
-
href="#"
|
|
2694
|
-
>Separated link</a>
|
|
2695
|
-
</li>
|
|
2696
|
-
</ul>
|
|
2697
|
-
</div>
|
|
2698
|
-
|
|
2699
|
-
```
|
|
2700
|
-
|
|
2701
|
-
### Dropdown with image and text
|
|
2702
|
-
|
|
2703
|
-
```html
|
|
2704
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2705
|
-
<button
|
|
2706
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2707
|
-
id="dropdown-with-image-and-text-example-button"
|
|
2708
|
-
aria-expanded="true"
|
|
2709
|
-
type="button"
|
|
2710
|
-
>
|
|
2711
|
-
<span class="pf-v6-c-dropdown__toggle-image">
|
|
2712
|
-
<img
|
|
2713
|
-
class="pf-v6-c-avatar"
|
|
2714
|
-
alt="Avatar image"
|
|
2715
|
-
src="/assets/images/img_avatar-light.svg"
|
|
2716
|
-
/>
|
|
2717
|
-
</span>
|
|
2718
|
-
<span class="pf-v6-c-dropdown__toggle-text">Ned Username</span>
|
|
2719
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2720
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2721
|
-
</span>
|
|
2722
|
-
</button>
|
|
2723
|
-
<div class="pf-v6-c-dropdown__menu" role="menu">
|
|
2724
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2725
|
-
<div class="pf-v6-c-dropdown__menu-item pf-m-text" role="menuitem">Text</div>
|
|
2726
|
-
<div
|
|
2727
|
-
class="pf-v6-c-dropdown__menu-item pf-m-text"
|
|
2728
|
-
role="menuitem"
|
|
2729
|
-
>More text</div>
|
|
2730
|
-
</section>
|
|
2731
|
-
<hr class="pf-v6-c-divider" />
|
|
2732
|
-
<section class="pf-v6-c-dropdown__group">
|
|
2733
|
-
<ul role="none">
|
|
2734
|
-
<li role="none">
|
|
2735
|
-
<a
|
|
2736
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2737
|
-
role="menuitem"
|
|
2738
|
-
href="#"
|
|
2739
|
-
>My profile</a>
|
|
2740
|
-
</li>
|
|
2741
|
-
<li role="none">
|
|
2742
|
-
<a
|
|
2743
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
2744
|
-
role="menuitem"
|
|
2745
|
-
href="#"
|
|
2746
|
-
>User management</a>
|
|
2747
|
-
</li>
|
|
2748
|
-
<li role="none">
|
|
2749
|
-
<a class="pf-v6-c-dropdown__menu-item" role="menuitem" href="#">Logout</a>
|
|
2750
|
-
</li>
|
|
2751
|
-
</ul>
|
|
2752
|
-
</section>
|
|
2753
|
-
</div>
|
|
2754
|
-
</div>
|
|
2755
|
-
|
|
2756
|
-
```
|
|
2757
|
-
|
|
2758
|
-
### Dropdown with description
|
|
2759
|
-
|
|
2760
|
-
```html
|
|
2761
|
-
<div class="pf-v6-c-dropdown pf-m-expanded">
|
|
2762
|
-
<button
|
|
2763
|
-
class="pf-v6-c-dropdown__toggle"
|
|
2764
|
-
id="dropdown-with-description-button"
|
|
2765
|
-
aria-expanded="true"
|
|
2766
|
-
type="button"
|
|
2767
|
-
>
|
|
2768
|
-
<span class="pf-v6-c-dropdown__toggle-text">Expanded dropdown</span>
|
|
2769
|
-
<span class="pf-v6-c-dropdown__toggle-icon">
|
|
2770
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
2771
|
-
</span>
|
|
2772
|
-
</button>
|
|
2773
|
-
<ul
|
|
2774
|
-
class="pf-v6-c-dropdown__menu"
|
|
2775
|
-
aria-labelledby="dropdown-with-description-button"
|
|
2776
|
-
role="menu"
|
|
2777
|
-
>
|
|
2778
|
-
<li role="none">
|
|
2779
|
-
<button
|
|
2780
|
-
class="pf-v6-c-dropdown__menu-item pf-m-description"
|
|
2781
|
-
role="menuitem"
|
|
2782
|
-
type="button"
|
|
2783
|
-
>
|
|
2784
|
-
<div class="pf-v6-c-dropdown__menu-item-main">Menu item default</div>
|
|
2785
|
-
<div
|
|
2786
|
-
class="pf-v6-c-dropdown__menu-item-description"
|
|
2787
|
-
>This is a description</div>
|
|
2788
|
-
</button>
|
|
2789
|
-
</li>
|
|
2790
|
-
|
|
2791
|
-
<li role="none">
|
|
2792
|
-
<button
|
|
2793
|
-
class="pf-v6-c-dropdown__menu-item pf-m-description"
|
|
2794
|
-
role="menuitem"
|
|
2795
|
-
type="button"
|
|
2796
|
-
>
|
|
2797
|
-
<div
|
|
2798
|
-
class="pf-v6-c-dropdown__menu-item-main"
|
|
2799
|
-
>Menu item with long description</div>
|
|
2800
|
-
<div
|
|
2801
|
-
class="pf-v6-c-dropdown__menu-item-description"
|
|
2802
|
-
>This is a really long description that describes the menu item.</div>
|
|
2803
|
-
</button>
|
|
2804
|
-
</li>
|
|
2805
|
-
|
|
2806
|
-
<li role="none">
|
|
2807
|
-
<button
|
|
2808
|
-
class="pf-v6-c-dropdown__menu-item pf-m-description"
|
|
2809
|
-
role="menuitem"
|
|
2810
|
-
type="button"
|
|
2811
|
-
disabled
|
|
2812
|
-
>
|
|
2813
|
-
<div class="pf-v6-c-dropdown__menu-item-main">Menu item disabled</div>
|
|
2814
|
-
<div
|
|
2815
|
-
class="pf-v6-c-dropdown__menu-item-description"
|
|
2816
|
-
>This is a description</div>
|
|
2817
|
-
</button>
|
|
2818
|
-
</li>
|
|
2819
|
-
|
|
2820
|
-
<li role="none">
|
|
2821
|
-
<a
|
|
2822
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon pf-m-description"
|
|
2823
|
-
role="menuitem"
|
|
2824
|
-
href="#"
|
|
2825
|
-
>
|
|
2826
|
-
<div class="pf-v6-c-dropdown__menu-item-main">
|
|
2827
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
2828
|
-
<img src="/assets/images/pf-logo-small.svg" alt="PatternFly logo" />
|
|
2829
|
-
</span>
|
|
2830
|
-
Link
|
|
2831
|
-
</div>
|
|
2832
|
-
<div
|
|
2833
|
-
class="pf-v6-c-dropdown__menu-item-description"
|
|
2834
|
-
>This is a description</div>
|
|
2835
|
-
</a>
|
|
2836
|
-
</li>
|
|
2837
|
-
|
|
2838
|
-
<li role="none">
|
|
2839
|
-
<button
|
|
2840
|
-
class="pf-v6-c-dropdown__menu-item pf-m-icon pf-m-description"
|
|
2841
|
-
role="menuitem"
|
|
2842
|
-
type="button"
|
|
2843
|
-
>
|
|
2844
|
-
<div class="pf-v6-c-dropdown__menu-item-main">
|
|
2845
|
-
<span class="pf-v6-c-dropdown__menu-item-icon">
|
|
2846
|
-
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
2847
|
-
</span>
|
|
2848
|
-
Action
|
|
2849
|
-
</div>
|
|
2850
|
-
<div
|
|
2851
|
-
class="pf-v6-c-dropdown__menu-item-description"
|
|
2852
|
-
>This is a description</div>
|
|
2853
|
-
</button>
|
|
2854
|
-
</li>
|
|
2855
|
-
</ul>
|
|
2856
|
-
</div>
|
|
2857
|
-
|
|
2858
|
-
```
|
|
2859
|
-
|
|
2860
|
-
## Documentation
|
|
2861
|
-
|
|
2862
|
-
### Overview
|
|
2863
|
-
|
|
2864
|
-
The dropdown menu can contain either links or buttons, depending on the expected behavior when clicking the menu item. If you are using the menu item to navigate to another page, then menu item is a link. Otherwise, use a button for the menu item.
|
|
2865
|
-
|
|
2866
|
-
### Accessibility
|
|
2867
|
-
|
|
2868
|
-
| Attribute | Applied | Outcome |
|
|
2869
|
-
| -- | -- | -- |
|
|
2870
|
-
| `aria-expanded="false"` | `.pf-v6-c-dropdown__toggle`, `.pf-v6-c-dropdown__toggle-check`, `.pf-v6-c-dropdown__toggle-button` | Indicates that the menu is hidden. |
|
|
2871
|
-
| `aria-expanded="true"` | `.pf-v6-c-dropdown__toggle`, `.pf-v6-c-dropdown__toggle-check`, `.pf-v6-c-dropdown__toggle-button` | Indicates that the menu is visible. |
|
|
2872
|
-
| `aria-label="Actions"` | `.pf-v6-c-dropdown__toggle`, `.pf-v6-c-dropdown__toggle-check`, `.pf-v6-c-dropdown__toggle-button` | Provides an accessible name for the dropdown when an icon is used instead of text. **Required when icon is used with no supporting text**. |
|
|
2873
|
-
| `aria-hidden="true"` | `.pf-v6-c-dropdown__toggle-icon`, `<i>`, `.pf-v6-c-dropdown__toggle-check .pf-v6-c-dropdown__toggle-text` | Hides the icon from assistive technologies. |
|
|
2874
|
-
| `hidden` | `.pf-v6-c-dropdown__menu` | Indicates that the menu is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
|
|
2875
|
-
| `aria-labelledby="{toggle button id}"` | `.pf-v6-c-dropdown__menu` | Gives the menu an accessible name by referring to the element that toggles the menu. |
|
|
2876
|
-
| `aria-labelledby="{checkbox id} {toggle text id}"` | `.pf-m-split-button .pf-v6-c-dropdown__toggle-check > input[type="checkbox"]` | Gives the checkbox an accessible name by referring to the element by which it is described. |
|
|
2877
|
-
| `disabled` | `.pf-v6-c-dropdown__toggle`, `.pf-v6-c-dropdown__toggle-button`, `.pf-v6-c-dropdown__toggle-check > input[type="checkbox"]` | Disables the dropdown toggle and removes it from keyboard focus. |
|
|
2878
|
-
| `disabled` | `button.pf-v6-c-dropdown__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
|
|
2879
|
-
| `aria-disabled="true"` | `a.pf-v6-c-dropdown__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
|
|
2880
|
-
| `tabindex="-1"` | `a.pf-v6-c-dropdown__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
|
|
2881
|
-
|
|
2882
|
-
### Usage
|
|
2883
|
-
|
|
2884
|
-
| Class | Applied | Outcome |
|
|
2885
|
-
| -- | -- | -- |
|
|
2886
|
-
| `.pf-v6-c-dropdown` | `<div>` | Defines the parent wrapper of the dropdown. |
|
|
2887
|
-
| `.pf-v6-c-dropdown__toggle` | `<button>` | Defines the dropdown toggle. |
|
|
2888
|
-
| `.pf-v6-c-dropdown__toggle-icon` | `<span>` | Defines the dropdown toggle icon. |
|
|
2889
|
-
| `.pf-v6-c-dropdown__toggle-text` | `<span>` | Defines the dropdown toggle text. **Required when text is present, adds truncation**. |
|
|
2890
|
-
| `.pf-v6-c-dropdown__toggle-check` | `<label>` | Defines a checkbox in the toggle area of a split button dropdown. |
|
|
2891
|
-
| `.pf-v6-c-dropdown__toggle-button` | `<button>` | Defines the toggle button for a split button dropdown. |
|
|
2892
|
-
| `.pf-v6-c-dropdown__toggle-progress` | `<span>` | Defines the progress element to indicate a dropdown action is in progress. |
|
|
2893
|
-
| `.pf-v6-c-dropdown__menu` | `<ul>`, `<div>` | Defines the parent wrapper of the menu items. |
|
|
2894
|
-
| `.pf-v6-c-dropdown__menu-item` | `<a>` | Defines a menu item that navigates to another page. |
|
|
2895
|
-
| `.pf-v6-c-dropdown__menu-item-icon` | `<span>` | Defines the wrapper for the menu item icon. |
|
|
2896
|
-
| `.pf-v6-c-dropdown__menu-item-description` | `<div>` | Defines the wrapper for the menu item description. |
|
|
2897
|
-
| `.pf-v6-c-dropdown__menu-item-main` | `<div>` | Defines the wrapper for the menu item main element. Use when the description element is present. |
|
|
2898
|
-
| `.pf-v6-c-dropdown__toggle-image` | `<span>` | Defines the wrapper for the dropdown toggle button image. |
|
|
2899
|
-
| `.pf-v6-c-dropdown__menu-item` | `<button>` | Defines a menu item that performs an action on the current page. |
|
|
2900
|
-
| `.pf-v6-c-dropdown__group` | `<section>` | Defines a group of items in a dropdown. **Required when there is more than one group in a dropdown**. |
|
|
2901
|
-
| `.pf-v6-c-dropdown__group-title` | `<h1>` | Defines the title for a group of items in the dropdown menu. |
|
|
2902
|
-
| `.pf-m-expanded` | `.pf-v6-c-dropdown` | Modifies for the expanded state. |
|
|
2903
|
-
| `.pf-m-top` | `.pf-v6-c-dropdown` | Modifies to display the menu above the toggle. |
|
|
2904
|
-
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v6-c-dropdown__menu` | Modifies to display the menu aligned to the left edge of the toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
2905
|
-
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v6-c-dropdown__menu` | Modifies to display the menu aligned to the right edge of the toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
2906
|
-
| `.pf-m-static` | `.pf-v6-c-dropdown__menu` | Modifies a dropdown menu to be statically positioned to support custom positioning. |
|
|
2907
|
-
| `.pf-m-split-button` | `.pf-v6-c-dropdown__toggle` | Modifies the dropdown toggle area to allow for interactive elements. |
|
|
2908
|
-
| `.pf-m-action` | `.pf-v6-c-dropdown__toggle.pf-m-split-button` | Modifies the dropdown toggle for when an action is placed beside a toggle button in a split button dropdown. |
|
|
2909
|
-
| `.pf-m-text` | `.pf-v6-c-dropdown__menu-item` | Modifies a menu item to be non-interactive text. |
|
|
2910
|
-
| `.pf-m-plain` | `.pf-v6-c-dropdown__toggle` | Modifies to display the toggle with no border. |
|
|
2911
|
-
| `.pf-m-text` | `.pf-v6-c-dropdown__toggle` | Modifies the dropdown toggle for the text variation. |
|
|
2912
|
-
| `.pf-m-primary` | `.pf-v6-c-dropdown__toggle` | Modifies to display the toggle with primary styles. |
|
|
2913
|
-
| `.pf-m-secondary` | `.pf-v6-c-dropdown__toggle` | Modifies to display the toggle with secondary styles. |
|
|
2914
|
-
| `.pf-m-full-height` | `.pf-v6-c-dropdown` | Modifies a dropdown to full height of parent. See masthead for use. |
|
|
2915
|
-
| `.pf-m-disabled` | `a.pf-v6-c-dropdown__menu-item` | Modifies to display the menu item as disabled. This applies to `a.pf-v6-c-dropdown__menu-item` and should not be used in lieu of the `disabled` attribute on `button.pf-v6-c-dropdown__menu-item`. |
|
|
2916
|
-
| `.pf-m-disabled` | `div.pf-v6-c-dropdown__toggle` | Modifies to display the dropdown toggle as disabled. This applies to `div.pf-v6-c-dropdown__toggle` and should not be used in lieu of the `disabled` attribute on `button.pf-v6-c-dropdown__toggle`. When this is used, `disabled` should also be added to any form elements in `div.pf-v6-c-dropdown__toggle`. |
|
|
2917
|
-
| `.pf-m-icon` | `.pf-v6-c-dropdown__menu-item` | Modifies an item to support adding an icon. |
|
|
2918
|
-
| `.pf-m-active` | `.pf-v6-c-dropdown__toggle` | Modifies the dropdown menu toggle for the active state. |
|
|
2919
|
-
| `.pf-m-description` | `.pf-v6-c-dropdown__menu-item` | Modifies an item to support adding a description. |
|
|
2920
|
-
| `.pf-m-in-progress` | `.pf-v6-c-dropdown__toggle-check` | Modifies a toggle check element to indicate the check action is in progress. |
|