@patternfly/patternfly 5.0.0-alpha.4 → 5.0.0-alpha.40
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/RELEASE-NOTES.md +18 -1
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/pfbg-icon.svg +1 -0
- package/assets/pficon/pficon.scss +7 -2
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_base.scss +0 -18
- package/base/_chart-globals.scss +0 -4
- package/base/_common.scss +0 -22
- package/base/_fa-icons.scss +1 -2
- package/base/_fonts.scss +22 -27
- package/base/_globals.scss +92 -86
- package/base/_icons.scss +1 -28
- package/base/_svg-icons.scss +6 -0
- package/base/_variables.scss +4 -4
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fonts.css +17 -17
- package/base/patternfly-globals.css +35 -41
- package/base/patternfly-icons.css +8 -22
- package/base/patternfly-pf-icons.css +6 -2
- package/base/patternfly-themes.css +0 -42
- package/base/patternfly-variables.css +3 -3
- package/base/themes/dark/_globals.scss +1 -1
- package/base/themes/dark/_variables.scss +1 -1
- package/components/AboutModalBox/about-modal-box.css +20 -50
- package/components/AboutModalBox/about-modal-box.scss +22 -14
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/Alert/alert.css +17 -8
- package/components/Alert/alert.scss +21 -7
- package/components/Alert/themes/dark/alert.scss +1 -1
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Avatar/avatar.scss +2 -2
- package/components/BackgroundImage/background-image.css +8 -35
- package/components/BackgroundImage/background-image.scss +17 -43
- package/components/Banner/banner.css +14 -52
- package/components/Banner/banner.scss +9 -13
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/CalendarMonth/calendar-month.css +2 -2
- package/components/CalendarMonth/calendar-month.scss +3 -3
- package/components/Card/card.css +115 -50
- package/components/Card/card.scss +164 -63
- package/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/ChipGroup/chip-group.css +27 -17
- package/components/ChipGroup/chip-group.scss +36 -22
- package/components/Content/content.css +11 -5
- package/components/Content/content.scss +17 -9
- package/components/ContextSelector/context-selector.css +13 -6
- package/components/ContextSelector/context-selector.scss +14 -7
- package/components/DataList/data-list-grid.css +7 -7
- package/components/DataList/data-list-grid.scss +1 -1
- package/components/DataList/data-list.css +46 -40
- package/components/DataList/data-list.scss +37 -28
- package/components/DatePicker/date-picker.css +0 -8
- package/components/DatePicker/date-picker.scss +0 -9
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +7 -7
- package/components/Divider/divider.css +2 -2
- package/components/Divider/divider.scss +3 -3
- package/components/Drawer/drawer.css +15 -16
- package/components/Drawer/drawer.scss +2 -3
- package/components/Dropdown/dropdown.css +26 -25
- package/components/Dropdown/dropdown.scss +17 -18
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +46 -52
- package/components/EmptyState/empty-state.scss +58 -57
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Form/form.css +14 -12
- package/components/Form/form.scss +9 -7
- package/components/FormControl/form-control.css +2 -5
- package/components/FormControl/themes/dark/form-control.scss +2 -6
- package/components/HelperText/helper-text.css +4 -0
- package/components/HelperText/helper-text.scss +5 -0
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -2
- package/components/Icon/icon.css +3 -3
- package/components/Icon/icon.scss +3 -3
- package/components/InputGroup/input-group.css +61 -85
- package/components/InputGroup/input-group.scss +55 -61
- package/components/InputGroup/themes/dark/input-group.scss +11 -25
- package/components/Label/label.css +49 -36
- package/components/Label/label.scss +53 -38
- package/components/Label/themes/dark/label.scss +2 -2
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/LogViewer/log-viewer.css +0 -38
- package/components/Login/login.css +20 -60
- package/components/Login/login.scss +16 -18
- package/components/Login/themes/dark/login.scss +4 -0
- package/components/Masthead/masthead.css +4 -42
- package/components/Masthead/masthead.scss +4 -4
- package/components/Menu/menu.css +9 -6
- package/components/Menu/menu.scss +34 -31
- package/components/MenuToggle/menu-toggle.css +3 -1
- package/components/MenuToggle/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +12 -11
- package/components/ModalBox/modal-box.scss +14 -14
- package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +8 -8
- package/components/NotificationDrawer/notification-drawer.scss +8 -8
- package/components/OptionsMenu/options-menu.css +8 -10
- package/components/OptionsMenu/options-menu.scss +9 -11
- package/components/Page/page.css +101 -122
- package/components/Page/page.scss +49 -21
- package/components/Pagination/pagination.css +2 -110
- package/components/Pagination/pagination.scss +0 -6
- package/components/Popover/popover.css +31 -37
- package/components/Popover/popover.scss +32 -37
- package/components/Popover/themes/dark/popover.scss +3 -9
- package/components/Progress/progress.css +13 -10
- package/components/Progress/progress.scss +13 -10
- package/components/ProgressStepper/progress-stepper.css +5 -5
- package/components/ProgressStepper/progress-stepper.scss +5 -5
- package/components/SearchInput/search-input.css +4 -2
- package/components/SearchInput/search-input.scss +4 -2
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +69 -26
- package/components/Sidebar/sidebar.scss +84 -27
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Spinner/spinner.css +4 -4
- package/components/Spinner/spinner.scss +4 -4
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-scrollable.css +31 -26
- package/components/Table/table-scrollable.scss +33 -28
- package/components/Table/table-tree-view.css +14 -4
- package/components/Table/table-tree-view.scss +15 -0
- package/components/Table/table.css +67 -65
- package/components/Table/table.scss +65 -62
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/components/TextInputGroup/text-input-group.css +6 -4
- package/components/TextInputGroup/text-input-group.scss +6 -5
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +3 -3
- package/components/Timestamp/timestamp.scss +3 -3
- package/components/Toolbar/toolbar.css +78 -43
- package/components/Toolbar/toolbar.scss +50 -10
- package/components/Tooltip/themes/dark/tooltip.scss +1 -11
- package/components/Tooltip/tooltip.css +7 -12
- package/components/Tooltip/tooltip.scss +6 -3
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +16 -39
- package/components/Wizard/wizard.scss +20 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +20 -14
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +29 -29
- package/docs/components/AlertGroup/examples/AlertGroup.md +15 -15
- package/docs/components/AppLauncher/examples/application-launcher.md +52 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +13 -29
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +301 -284
- package/docs/components/Card/examples/Card.md +676 -116
- package/docs/components/Check/examples/Check.md +16 -19
- package/docs/components/Chip/examples/Chip.md +70 -52
- package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
- package/docs/components/Content/examples/Content.md +37 -9
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +87 -80
- package/docs/components/DataList/examples/DataList.md +239 -202
- package/docs/components/DatePicker/examples/DatePicker.md +139 -104
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +125 -100
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +130 -82
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +146 -105
- package/docs/components/Form/examples/Form.md +152 -130
- package/docs/components/FormControl/examples/FormControl.md +21 -20
- package/docs/components/HelperText/examples/HelperText.md +24 -35
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +11 -12
- package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
- package/docs/components/InputGroup/examples/InputGroup.md +229 -179
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +1427 -746
- package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +79 -74
- package/docs/components/Login/examples/Login.md +103 -181
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +83 -80
- package/docs/components/MenuToggle/examples/MenuToggle.md +29 -28
- package/docs/components/ModalBox/examples/ModalBox.md +113 -92
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +27 -26
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +64 -64
- package/docs/components/NumberInput/examples/NumberInput.md +311 -239
- package/docs/components/OptionsMenu/examples/options-menu.md +28 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.css +7 -1
- package/docs/components/Page/examples/Page.md +81 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +206 -149
- package/docs/components/Progress/examples/Progress.md +32 -61
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -39
- package/docs/components/Radio/examples/Radio.md +12 -11
- package/docs/components/SearchInput/examples/SearchInput.md +185 -148
- package/docs/components/Select/examples/Select.md +368 -313
- package/docs/components/Sidebar/examples/Sidebar.md +70 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +84 -62
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.css +4 -0
- package/docs/components/Table/examples/Table.md +5212 -5750
- package/docs/components/Tabs/examples/Tabs.md +155 -155
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +523 -406
- package/docs/components/Tile/examples/Tile.md +16 -17
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +848 -726
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -5
- package/docs/components/Wizard/examples/Wizard.md +119 -127
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -5
- package/docs/demos/Alert/examples/Alert.md +118 -71
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +8 -9
- package/docs/demos/Card/examples/Card.md +216 -153
- package/docs/demos/CardView/examples/CardView.md +57 -30
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +51 -33
- package/docs/demos/DataList/examples/DataList.md +312 -255
- package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
- package/docs/demos/Drawer/examples/Drawer.md +24 -22
- package/docs/demos/Form/examples/BasicForms.md +220 -213
- package/docs/demos/HelperText/examples/HelperText.md +16 -14
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +302 -284
- package/docs/demos/Modal/examples/Modal.md +54 -66
- package/docs/demos/Nav/examples/Nav.md +47 -47
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +70 -58
- package/docs/demos/Page/examples/Page.md +982 -51
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +22 -18
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +121 -106
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +345 -311
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +3323 -1288
- package/docs/demos/Tabs/examples/Tabs.md +141 -90
- package/docs/demos/Toolbar/examples/Toolbar.md +1994 -329
- package/docs/demos/Wizard/examples/Wizard.md +289 -266
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +5 -5
- package/docs/utilities/Alignment/examples/Alignment.md +7 -7
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +13 -13
- package/docs/utilities/BoxShadow/examples/box-shadow.md +23 -23
- package/docs/utilities/Display/examples/Display.md +12 -12
- package/docs/utilities/Flex/examples/Flex.md +35 -35
- package/docs/utilities/Float/examples/Float.md +5 -5
- package/docs/utilities/Sizing/examples/Sizing.md +51 -51
- package/docs/utilities/Spacing/examples/Spacing.md +35 -35
- package/docs/utilities/Text/examples/Text.md +31 -31
- package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +7 -7
- package/layouts/Grid/grid.scss +2 -2
- package/package.json +59 -65
- package/patternfly-addons.css +48 -48
- package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +28 -73
- package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
- package/patternfly-base.css +63 -114
- package/{patternfly-no-reset.css → patternfly-no-globals.css} +1179 -2293
- package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
- package/patternfly.css +1207 -2327
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +8 -24
- package/sass-utilities/mixins.scss +15 -39
- package/sass-utilities/placeholders.scss +0 -23
- package/sass-utilities/scss-variables.scss +5 -6
- package/sass-utilities/themes/dark/placeholders.scss +0 -22
- package/sass-utilities/themes/dark/scss-variables.scss +1 -1
- package/utilities/Spacing/spacing.scss +2 -2
- package/utilities/Text/text.css +48 -48
- package/utilities/Text/text.scss +6 -6
- package/utilities/Text/themes/dark/text.scss +2 -2
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
- package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
- package/assets/pficon/pficon.woff +0 -0
- package/base/_shield-inheritable.scss +0 -69
- package/base/_shield-noninheritable.scss +0 -13
- package/base/patternfly-shield-inheritable.css +0 -66
- package/base/patternfly-shield-inheritable.scss +0 -4
- package/base/patternfly-shield-noninheritable.css +0 -9
- package/base/patternfly-shield-noninheritable.scss +0 -4
- package/sass-utilities/bs-variables.scss +0 -709
|
@@ -128,13 +128,13 @@ A tooltip is used to provide contextual information for another component on hov
|
|
|
128
128
|
|
|
129
129
|
### Usage
|
|
130
130
|
|
|
131
|
-
| Class
|
|
132
|
-
|
|
|
133
|
-
| `.pf-c-tooltip`
|
|
134
|
-
| `.pf-c-tooltip__arrow`
|
|
135
|
-
| `.pf-c-tooltip__content`
|
|
136
|
-
| `.pf-m-left{-top/bottom}`
|
|
137
|
-
| `.pf-m-right{-top/bottom}`
|
|
138
|
-
| `.pf-m-top{-left/right}`
|
|
139
|
-
| `.pf-m-bottom{-left/right}` | `.pf-c-tooltip`
|
|
140
|
-
| `.pf-m-text-align-left`
|
|
131
|
+
| Class | Applied to | Outcome |
|
|
132
|
+
| -- | -- | -- |
|
|
133
|
+
| `.pf-c-tooltip` | `<div>` | Creates a tooltip. Always use with a modifier class that positions the tooltip relative to the element it describes. **Required**|
|
|
134
|
+
| `.pf-c-tooltip__arrow` | `<div>` | Creates an arrow pointing towards the element the tooltip describes. **Required** |
|
|
135
|
+
| `.pf-c-tooltip__content` | `<div>` | Creates the body of the tooltip. **Required** |
|
|
136
|
+
| `.pf-m-left{-top/bottom}` | `.pf-c-tooltip` | Positions the tooltip to the left (or left top/left bottom) of the element. |
|
|
137
|
+
| `.pf-m-right{-top/bottom}` | `.pf-c-tooltip` | Positions the tooltip to the right (or right top/right bottom) of the element. |
|
|
138
|
+
| `.pf-m-top{-left/right}` | `.pf-c-tooltip` | Positions the tooltip to the top (or top left/top right) of the element. |
|
|
139
|
+
| `.pf-m-bottom{-left/right}` | `.pf-c-tooltip` | Positions the tooltip to the bottom (or bottom left/bottom right) of the element. |
|
|
140
|
+
| `.pf-m-text-align-left` | `.pf-c-tooltip__content` | Modifies tooltip content to text align left. |
|
|
@@ -3356,40 +3356,40 @@ cssPrefix: pf-c-tree-view
|
|
|
3356
3356
|
|
|
3357
3357
|
### Accessibility
|
|
3358
3358
|
|
|
3359
|
-
| Attribute
|
|
3360
|
-
|
|
|
3361
|
-
| `role="tree"`
|
|
3362
|
-
| `role="group"`
|
|
3363
|
-
| `role="treeitem"`
|
|
3364
|
-
| `aria-expanded="false"`
|
|
3365
|
-
| `aria-expanded="true"`
|
|
3366
|
-
| `tabindex="-1"`
|
|
3367
|
-
| `tabindex="0"`
|
|
3368
|
-
| `aria-label="[button label text]"` | `.pf-c-tree-view__action`
|
|
3359
|
+
| Attribute | Applied to | Outcome |
|
|
3360
|
+
| -- | -- | -- |
|
|
3361
|
+
| `role="tree"` | `.pf-c-tree-view__list` | Identifies the `ul` as a tree widget. **Place on the outermost `ul` only** |
|
|
3362
|
+
| `role="group"` | `.pf-c-tree-view__list` | Identifies the `ul` element as a container of treeitem elements that form a branch of the tree. **Place on all `ul`s except the first `ul`** |
|
|
3363
|
+
| `role="treeitem"` | `.pf-c-tree-view__list-item` | Hides the implicit listitem role of the li element from assistive technologies. |
|
|
3364
|
+
| `aria-expanded="false"` | `.pf-c-tree-view__list-item` | For an expandable item, indicates the parent node is closed, i.e., the descendant elements are not visible. |
|
|
3365
|
+
| `aria-expanded="true"` | `.pf-c-tree-view__list-item.pf-m-expanded` | Indicates the parent node is open, i.e., the descendant elements are visible. |
|
|
3366
|
+
| `tabindex="-1"` | `.pf-c-tree-view__list-item` | Makes the element with the treeitem role focusable without including it in the tab sequence of the page. |
|
|
3367
|
+
| `tabindex="0"` | `.pf-c-tree-view__list-item` | Includes the element with the treeitem role in the tab sequence. Only one treeitem in the tree has tabindex="0". When the user moves focus in the tree, the element included in the tab sequence changes to the element with focus. |
|
|
3368
|
+
| `aria-label="[button label text]"` | `.pf-c-tree-view__action` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
|
|
3369
3369
|
|
|
3370
3370
|
### Usage
|
|
3371
3371
|
|
|
3372
|
-
| Class
|
|
3373
|
-
|
|
|
3374
|
-
| `.pf-c-tree-view`
|
|
3375
|
-
| `.pf-c-tree-view__list`
|
|
3376
|
-
| `.pf-c-tree-view__list-item`
|
|
3377
|
-
| `.pf-c-tree-view__content`
|
|
3378
|
-
| `.pf-c-tree-view__node`
|
|
3379
|
-
| `.pf-c-tree-view__node-container`
|
|
3380
|
-
| `.pf-c-tree-view__node-content`
|
|
3381
|
-
| `.pf-c-tree-view__node-count`
|
|
3382
|
-
| `.pf-c-tree-view__node-toggle`
|
|
3383
|
-
| `.pf-c-tree-view__node-toggle-icon` | `<span>`
|
|
3384
|
-
| `.pf-c-tree-view__node-title`
|
|
3385
|
-
| `.pf-c-tree-view__node-text`
|
|
3386
|
-
| `.pf-c-tree-view__node-icon`
|
|
3387
|
-
| `.pf-c-tree-view__node-check`
|
|
3388
|
-
| `.pf-c-tree-view__action`
|
|
3389
|
-
| `.pf-c-tree-view__search`
|
|
3390
|
-
| `.pf-m-guides`
|
|
3391
|
-
| `.pf-m-compact`
|
|
3392
|
-
| `.pf-m-no-background`
|
|
3393
|
-
| `.pf-m-current`
|
|
3394
|
-
| `.pf-m-selectable`
|
|
3395
|
-
| `.pf-m-truncate`
|
|
3372
|
+
| Class | Applied | Outcome |
|
|
3373
|
+
| -- | -- | -- |
|
|
3374
|
+
| `.pf-c-tree-view` | `<div>` | Initiates the tree view container. **Required** |
|
|
3375
|
+
| `.pf-c-tree-view__list` | `<ul>` | Initiates a tree view list. **Required** |
|
|
3376
|
+
| `.pf-c-tree-view__list-item` | `<li>` | Initiates a tree view list item. **Required** |
|
|
3377
|
+
| `.pf-c-tree-view__content` | `<div>` | Initiates a tree view node. **Required** |
|
|
3378
|
+
| `.pf-c-tree-view__node` | `<button>`, `<label>` | Initiates a tree view node. **Required** |
|
|
3379
|
+
| `.pf-c-tree-view__node-container` | `<span>` | Initiates a tree view node container. **Required for compact variant** |
|
|
3380
|
+
| `.pf-c-tree-view__node-content` | `<span>` | Initiates a tree view node content container used to stack elements. |
|
|
3381
|
+
| `.pf-c-tree-view__node-count` | `<span>` | Initiates a tree view node count. |
|
|
3382
|
+
| `.pf-c-tree-view__node-toggle` | `<span>`, `<button>` | Initiates a tree view toggle. |
|
|
3383
|
+
| `.pf-c-tree-view__node-toggle-icon` | `<span>` | Initiates a tree view toggle icon. |
|
|
3384
|
+
| `.pf-c-tree-view__node-title` | `<span>` | Initiates a tree view node title. |
|
|
3385
|
+
| `.pf-c-tree-view__node-text` | `<span>`, `<button>` | Initiates tree view text. **Note:** Use a `<button>` when the node is expandable and selectable. |
|
|
3386
|
+
| `.pf-c-tree-view__node-icon` | `<span>` | Initiates a tree view icon. |
|
|
3387
|
+
| `.pf-c-tree-view__node-check` | `<span>` | Initiates a tree view check. |
|
|
3388
|
+
| `.pf-c-tree-view__action` | `<div>` | Initiates a tree view action wrapper. |
|
|
3389
|
+
| `.pf-c-tree-view__search` | `<div>` | Initiates a tree view search wrapper. |
|
|
3390
|
+
| `.pf-m-guides` | `.pf-c-tree-view` | Modifies the tree view to the guides presentation. |
|
|
3391
|
+
| `.pf-m-compact` | `.pf-c-tree-view` | Modifies the tree view to the compact presentation. |
|
|
3392
|
+
| `.pf-m-no-background` | `.pf-c-tree-view.pf-m-compact` | Modifies the tree view compact variant node containers to have a transparent background. |
|
|
3393
|
+
| `.pf-m-current` | `.pf-c-tree-view__node` | Modifies the tree view node to be current. |
|
|
3394
|
+
| `.pf-m-selectable` | `.pf-c-tree-view__node` | For use on nodes that are expandable and selectable, when the default click action on the node selects it instead of expanding it. |
|
|
3395
|
+
| `.pf-m-truncate` | `.pf-c-tree-view`, `.pf-c-tree-view__node-title`, `.pf-c-tree-view__node-text` | Modifies the tree view title or text to truncate. |
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: 'Truncate'
|
|
3
|
-
beta: true
|
|
4
3
|
section: components
|
|
5
4
|
cssPrefix: pf-c-truncate
|
|
6
5
|
---import './Truncate.css'
|
|
@@ -55,8 +54,8 @@ The truncate component contains two child elements, `.pf-c-truncate__start` and
|
|
|
55
54
|
|
|
56
55
|
### Usage
|
|
57
56
|
|
|
58
|
-
| Class
|
|
59
|
-
|
|
|
60
|
-
| `.pf-c-truncate`
|
|
57
|
+
| Class | Applied | Outcome |
|
|
58
|
+
| -- | -- | -- |
|
|
59
|
+
| `.pf-c-truncate` | `<span>` | Initiates the truncate component. |
|
|
61
60
|
| `.pf-c-truncate__start` | `<span>` | Defines the truncate component starting text. |
|
|
62
|
-
| `.pf-c-truncate__end`
|
|
61
|
+
| `.pf-c-truncate__end` | `<span>` | Defines the truncate component ending text. |
|
|
@@ -12,15 +12,14 @@ wrapperTag: div
|
|
|
12
12
|
```html isFullscreen
|
|
13
13
|
<div class="pf-c-wizard">
|
|
14
14
|
<div class="pf-c-wizard__header">
|
|
15
|
-
<
|
|
16
|
-
class="pf-c-button pf-m-plain
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
<div class="pf-c-wizard__close">
|
|
16
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
17
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
18
|
+
</button>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="pf-c-wizard__title">
|
|
21
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
22
|
+
</div>
|
|
24
23
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
25
24
|
</div>
|
|
26
25
|
<button
|
|
@@ -46,13 +45,13 @@ wrapperTag: div
|
|
|
46
45
|
<div class="pf-c-wizard__outer-wrap">
|
|
47
46
|
<div class="pf-c-wizard__inner-wrap">
|
|
48
47
|
<nav class="pf-c-wizard__nav" aria-label="Steps">
|
|
49
|
-
<ol class="pf-c-wizard__nav-list">
|
|
48
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
50
49
|
<li class="pf-c-wizard__nav-item">
|
|
51
50
|
<button class="pf-c-wizard__nav-link">Information</button>
|
|
52
51
|
</li>
|
|
53
52
|
<li class="pf-c-wizard__nav-item">
|
|
54
53
|
<button class="pf-c-wizard__nav-link pf-m-current">Configuration</button>
|
|
55
|
-
<ol class="pf-c-wizard__nav-list">
|
|
54
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
56
55
|
<li class="pf-c-wizard__nav-item">
|
|
57
56
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
58
57
|
</li>
|
|
@@ -218,15 +217,14 @@ wrapperTag: div
|
|
|
218
217
|
```html isFullscreen
|
|
219
218
|
<div class="pf-c-wizard">
|
|
220
219
|
<div class="pf-c-wizard__header">
|
|
221
|
-
<
|
|
222
|
-
class="pf-c-button pf-m-plain
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
220
|
+
<div class="pf-c-wizard__close">
|
|
221
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
222
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
223
|
+
</button>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="pf-c-wizard__title">
|
|
226
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
227
|
+
</div>
|
|
230
228
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
231
229
|
</div>
|
|
232
230
|
<button
|
|
@@ -252,13 +250,13 @@ wrapperTag: div
|
|
|
252
250
|
<div class="pf-c-wizard__outer-wrap">
|
|
253
251
|
<div class="pf-c-wizard__inner-wrap">
|
|
254
252
|
<nav class="pf-c-wizard__nav pf-m-expanded" aria-label="Steps">
|
|
255
|
-
<ol class="pf-c-wizard__nav-list">
|
|
253
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
256
254
|
<li class="pf-c-wizard__nav-item">
|
|
257
255
|
<button class="pf-c-wizard__nav-link">Information</button>
|
|
258
256
|
</li>
|
|
259
257
|
<li class="pf-c-wizard__nav-item">
|
|
260
258
|
<button class="pf-c-wizard__nav-link pf-m-current">Configuration</button>
|
|
261
|
-
<ol class="pf-c-wizard__nav-list">
|
|
259
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
262
260
|
<li class="pf-c-wizard__nav-item">
|
|
263
261
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
264
262
|
</li>
|
|
@@ -424,15 +422,14 @@ wrapperTag: div
|
|
|
424
422
|
```html isFullscreen
|
|
425
423
|
<div class="pf-c-wizard">
|
|
426
424
|
<div class="pf-c-wizard__header">
|
|
427
|
-
<
|
|
428
|
-
class="pf-c-button pf-m-plain
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
>
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
425
|
+
<div class="pf-c-wizard__close">
|
|
426
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
427
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
428
|
+
</button>
|
|
429
|
+
</div>
|
|
430
|
+
<div class="pf-c-wizard__title">
|
|
431
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
432
|
+
</div>
|
|
436
433
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
437
434
|
</div>
|
|
438
435
|
<button
|
|
@@ -458,13 +455,13 @@ wrapperTag: div
|
|
|
458
455
|
<div class="pf-c-wizard__outer-wrap">
|
|
459
456
|
<div class="pf-c-wizard__inner-wrap">
|
|
460
457
|
<nav class="pf-c-wizard__nav" aria-label="Steps">
|
|
461
|
-
<ol class="pf-c-wizard__nav-list">
|
|
458
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
462
459
|
<li class="pf-c-wizard__nav-item">
|
|
463
460
|
<button class="pf-c-wizard__nav-link">Information</button>
|
|
464
461
|
</li>
|
|
465
462
|
<li class="pf-c-wizard__nav-item">
|
|
466
463
|
<button class="pf-c-wizard__nav-link pf-m-current">Configuration</button>
|
|
467
|
-
<ol class="pf-c-wizard__nav-list">
|
|
464
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
468
465
|
<li class="pf-c-wizard__nav-item">
|
|
469
466
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
470
467
|
</li>
|
|
@@ -678,15 +675,14 @@ wrapperTag: div
|
|
|
678
675
|
```html isFullscreen
|
|
679
676
|
<div class="pf-c-wizard">
|
|
680
677
|
<div class="pf-c-wizard__header">
|
|
681
|
-
<
|
|
682
|
-
class="pf-c-button pf-m-plain
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
>
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
678
|
+
<div class="pf-c-wizard__close">
|
|
679
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
680
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
681
|
+
</button>
|
|
682
|
+
</div>
|
|
683
|
+
<div class="pf-c-wizard__title">
|
|
684
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
685
|
+
</div>
|
|
690
686
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
691
687
|
</div>
|
|
692
688
|
<button
|
|
@@ -712,7 +708,7 @@ wrapperTag: div
|
|
|
712
708
|
<div class="pf-c-wizard__outer-wrap">
|
|
713
709
|
<div class="pf-c-wizard__inner-wrap">
|
|
714
710
|
<nav class="pf-c-wizard__nav" aria-label="Steps">
|
|
715
|
-
<ol class="pf-c-wizard__nav-list">
|
|
711
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
716
712
|
<li class="pf-c-wizard__nav-item">
|
|
717
713
|
<button
|
|
718
714
|
class="pf-c-wizard__nav-link pf-m-current"
|
|
@@ -728,7 +724,7 @@ wrapperTag: div
|
|
|
728
724
|
</span>
|
|
729
725
|
</span>
|
|
730
726
|
</button>
|
|
731
|
-
<ol class="pf-c-wizard__nav-list">
|
|
727
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
732
728
|
<li class="pf-c-wizard__nav-item">
|
|
733
729
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
734
730
|
</li>
|
|
@@ -912,15 +908,14 @@ wrapperTag: div
|
|
|
912
908
|
```html isFullscreen
|
|
913
909
|
<div class="pf-c-wizard">
|
|
914
910
|
<div class="pf-c-wizard__header">
|
|
915
|
-
<
|
|
916
|
-
class="pf-c-button pf-m-plain
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
>
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
911
|
+
<div class="pf-c-wizard__close">
|
|
912
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
913
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
914
|
+
</button>
|
|
915
|
+
</div>
|
|
916
|
+
<div class="pf-c-wizard__title">
|
|
917
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
918
|
+
</div>
|
|
924
919
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
925
920
|
</div>
|
|
926
921
|
<button
|
|
@@ -946,7 +941,7 @@ wrapperTag: div
|
|
|
946
941
|
<div class="pf-c-wizard__outer-wrap">
|
|
947
942
|
<div class="pf-c-wizard__inner-wrap">
|
|
948
943
|
<nav class="pf-c-wizard__nav" aria-label="Steps">
|
|
949
|
-
<ol class="pf-c-wizard__nav-list">
|
|
944
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
950
945
|
<li class="pf-c-wizard__nav-item">
|
|
951
946
|
<button class="pf-c-wizard__nav-link">Information</button>
|
|
952
947
|
</li>
|
|
@@ -962,7 +957,7 @@ wrapperTag: div
|
|
|
962
957
|
</span>
|
|
963
958
|
</span>
|
|
964
959
|
</button>
|
|
965
|
-
<ol class="pf-c-wizard__nav-list">
|
|
960
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
966
961
|
<li class="pf-c-wizard__nav-item">
|
|
967
962
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
968
963
|
</li>
|
|
@@ -1149,15 +1144,14 @@ wrapperTag: div
|
|
|
1149
1144
|
```html isFullscreen
|
|
1150
1145
|
<div class="pf-c-wizard pf-m-finished">
|
|
1151
1146
|
<div class="pf-c-wizard__header">
|
|
1152
|
-
<
|
|
1153
|
-
class="pf-c-button pf-m-plain
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
>
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1147
|
+
<div class="pf-c-wizard__close">
|
|
1148
|
+
<button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
|
|
1149
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1150
|
+
</button>
|
|
1151
|
+
</div>
|
|
1152
|
+
<div class="pf-c-wizard__title">
|
|
1153
|
+
<h1 class="pf-c-wizard__title-text">Wizard title</h1>
|
|
1154
|
+
</div>
|
|
1161
1155
|
<div class="pf-c-wizard__description">Here is where the description goes</div>
|
|
1162
1156
|
</div>
|
|
1163
1157
|
<button
|
|
@@ -1183,13 +1177,13 @@ wrapperTag: div
|
|
|
1183
1177
|
<div class="pf-c-wizard__outer-wrap">
|
|
1184
1178
|
<div class="pf-c-wizard__inner-wrap">
|
|
1185
1179
|
<nav class="pf-c-wizard__nav" aria-label="Steps">
|
|
1186
|
-
<ol class="pf-c-wizard__nav-list">
|
|
1180
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
1187
1181
|
<li class="pf-c-wizard__nav-item">
|
|
1188
1182
|
<button class="pf-c-wizard__nav-link">Information</button>
|
|
1189
1183
|
</li>
|
|
1190
1184
|
<li class="pf-c-wizard__nav-item">
|
|
1191
1185
|
<button class="pf-c-wizard__nav-link">Configuration</button>
|
|
1192
|
-
<ol class="pf-c-wizard__nav-list">
|
|
1186
|
+
<ol class="pf-c-wizard__nav-list" role="list">
|
|
1193
1187
|
<li class="pf-c-wizard__nav-item">
|
|
1194
1188
|
<button class="pf-c-wizard__nav-link">Substep A</button>
|
|
1195
1189
|
</li>
|
|
@@ -1214,24 +1208,23 @@ wrapperTag: div
|
|
|
1214
1208
|
<div class="pf-l-bullseye">
|
|
1215
1209
|
<div class="pf-c-empty-state pf-m-lg">
|
|
1216
1210
|
<div class="pf-c-empty-state__content">
|
|
1217
|
-
<
|
|
1218
|
-
class="fas fa- fa-cogs
|
|
1219
|
-
|
|
1220
|
-
></i>
|
|
1211
|
+
<div class="pf-c-empty-state__icon">
|
|
1212
|
+
<i class="fas fa- fa-cogs" aria-hidden="true"></i>
|
|
1213
|
+
</div>
|
|
1221
1214
|
|
|
1222
|
-
<
|
|
1223
|
-
class="pf-c-
|
|
1215
|
+
<div
|
|
1216
|
+
class="pf-c-empty-state__title"
|
|
1224
1217
|
id="wizard-finished-empty-state-title"
|
|
1225
|
-
>
|
|
1218
|
+
>
|
|
1219
|
+
<h1
|
|
1220
|
+
class="pf-c-empty-state__title-text"
|
|
1221
|
+
>Validating credentials</h1>
|
|
1222
|
+
</div>
|
|
1226
1223
|
<div class="pf-c-empty-state__body">
|
|
1227
1224
|
<div
|
|
1228
1225
|
class="pf-c-progress pf-m-singleline"
|
|
1229
1226
|
id="progress-singleline-example"
|
|
1230
1227
|
>
|
|
1231
|
-
<div
|
|
1232
|
-
class="pf-c-progress__description"
|
|
1233
|
-
id="progress-singleline-example-description"
|
|
1234
|
-
></div>
|
|
1235
1228
|
<div class="pf-c-progress__status" aria-hidden="true">
|
|
1236
1229
|
<span class="pf-c-progress__measure">33%</span>
|
|
1237
1230
|
</div>
|
|
@@ -1251,9 +1244,7 @@ wrapperTag: div
|
|
|
1251
1244
|
<div
|
|
1252
1245
|
class="pf-c-empty-state__body"
|
|
1253
1246
|
>Description can be used to further elaborate on the validation step, or give the user a better idea of how long the process will take.</div>
|
|
1254
|
-
<
|
|
1255
|
-
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
1256
|
-
</div>
|
|
1247
|
+
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
1257
1248
|
</div>
|
|
1258
1249
|
</div>
|
|
1259
1250
|
</div>
|
|
@@ -1276,53 +1267,54 @@ wrapperTag: div
|
|
|
1276
1267
|
|
|
1277
1268
|
### Accessibility
|
|
1278
1269
|
|
|
1279
|
-
| Attribute
|
|
1280
|
-
|
|
|
1281
|
-
| `aria-expanded="true"`
|
|
1282
|
-
| `aria-expanded="false"` | `.pf-c-wizard__toggle`
|
|
1283
|
-
| `aria-label="close"`
|
|
1284
|
-
| `aria-hidden="true"`
|
|
1285
|
-
| `aria-label="Steps"`
|
|
1286
|
-
| `disabled`
|
|
1287
|
-
| `aria-disabled="true"`
|
|
1288
|
-
| `aria-current="page"`
|
|
1289
|
-
| `aria-expanded="true"`
|
|
1290
|
-
| `aria-expanded="false"` | `.pf-c-wizard__nav-link`
|
|
1291
|
-
| `tabindex="-1"`
|
|
1292
|
-
| `tabindex="0"`
|
|
1270
|
+
| Attribute | Applied to | Outcome |
|
|
1271
|
+
| -- | -- | -- |
|
|
1272
|
+
| `aria-expanded="true"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is visible. **Required** |
|
|
1273
|
+
| `aria-expanded="false"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is hidden. **Required** |
|
|
1274
|
+
| `aria-label="close"` | `.pf-c-wizard__toggle-icon` | Gives the close button an accessible name. **Required** |
|
|
1275
|
+
| `aria-hidden="true"` | `.pf-c-wizard__toggle-icon`, `.pf-c-wizard__toggle-divider` | Hides the icon from assistive technologies. **Required** |
|
|
1276
|
+
| `aria-label="Steps"` | `.pf-c-wizard__nav` | Gives the steps nav element an accessible name. **Required** |
|
|
1277
|
+
| `disabled` | `button.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required when a nav item is disabled** |
|
|
1278
|
+
| `aria-disabled="true"` | `a.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required for disabled links with `.pf-m-disabled`** |
|
|
1279
|
+
| `aria-current="page"` | `.pf-c-wizard__nav-link` | Indicates the current page link. Can only occur once on page. **Required for the current link** |
|
|
1280
|
+
| `aria-expanded="true"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is visible. **Required** |
|
|
1281
|
+
| `aria-expanded="false"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is hidden. **Required** |
|
|
1282
|
+
| `tabindex="-1"` | `a.pf-c-wizard__nav-link` | Removes a link from keyboard focus. **Required for disabled links with `.pf-m-disabled`** |
|
|
1283
|
+
| `tabindex="0"` | `.pf-c-wizard__main` | If the wizard main section has overflow content that triggers a scrollbar, to ensure that the content is keyboard accessible, the section must include either a focusable element within the scrollable region or the section itself must be focusable by adding `tabindex="0"`. |
|
|
1293
1284
|
|
|
1294
1285
|
### Usage
|
|
1295
1286
|
|
|
1296
|
-
| Class
|
|
1297
|
-
|
|
|
1298
|
-
| `.pf-c-wizard`
|
|
1299
|
-
| `.pf-c-wizard__header`
|
|
1300
|
-
| `.pf-c-wizard__close`
|
|
1301
|
-
| `.pf-c-wizard__title`
|
|
1302
|
-
| `.pf-c-
|
|
1303
|
-
| `.pf-c-
|
|
1304
|
-
| `.pf-c-wizard__toggle
|
|
1305
|
-
| `.pf-c-wizard__toggle-list
|
|
1306
|
-
| `.pf-c-wizard__toggle-
|
|
1307
|
-
| `.pf-c-wizard__toggle-
|
|
1308
|
-
| `.pf-c-wizard__toggle-
|
|
1309
|
-
| `.pf-c-
|
|
1310
|
-
| `.pf-c-
|
|
1311
|
-
| `.pf-c-
|
|
1312
|
-
| `.pf-c-wizard__nav
|
|
1313
|
-
| `.pf-c-wizard__nav-
|
|
1314
|
-
| `.pf-c-wizard__nav-
|
|
1315
|
-
| `.pf-c-wizard__nav-link
|
|
1316
|
-
| `.pf-c-wizard__nav-link-
|
|
1317
|
-
| `.pf-c-wizard__nav-link-toggle
|
|
1318
|
-
| `.pf-c-
|
|
1319
|
-
| `.pf-c-wizard__main
|
|
1320
|
-
| `.pf-c-
|
|
1321
|
-
| `.pf-c-wizard__footer
|
|
1322
|
-
| `.pf-
|
|
1323
|
-
| `.pf-m-
|
|
1324
|
-
| `.pf-m-
|
|
1325
|
-
| `.pf-m-
|
|
1326
|
-
| `.pf-m-
|
|
1327
|
-
| `.pf-m-
|
|
1328
|
-
| `.pf-m-
|
|
1287
|
+
| Class | Applied to | Outcome |
|
|
1288
|
+
| -- | -- | -- |
|
|
1289
|
+
| `.pf-c-wizard` | `<div>` | Initiates the wizard component. **Required** |
|
|
1290
|
+
| `.pf-c-wizard__header` | `<header>` | Initiates the header. **Required** when the wizard is in a modal. Not recommended to use when the wizard is placed on a page. |
|
|
1291
|
+
| `.pf-c-wizard__close` | `<div>` | Initiates the close button. **Required** |
|
|
1292
|
+
| `.pf-c-wizard__title` | `<div>` | Initiates the title container. **Required** |
|
|
1293
|
+
| `.pf-c-wizard__title-text` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<div>` | Initiates the wizard title text. |
|
|
1294
|
+
| `.pf-c-wizard__description` | `<div>`, `<p>` | Initiates the description. |
|
|
1295
|
+
| `.pf-c-wizard__toggle` | `<button>` | Initiates the mobile steps menu toggle button. **Required** |
|
|
1296
|
+
| `.pf-c-wizard__toggle-list` | `<span>` | Initiates the toggle list. **Required** |
|
|
1297
|
+
| `.pf-c-wizard__toggle-list-item` | `<span>` | Initiates a toggle list item. **Required** |
|
|
1298
|
+
| `.pf-c-wizard__toggle-num` | `<span>` | Initiates the step number. **Required** |
|
|
1299
|
+
| `.pf-c-wizard__toggle-separator` | `<i>` | Initiates the separator between steps. |
|
|
1300
|
+
| `.pf-c-wizard__toggle-icon` | `<span>` | Initiates the toggle icon wrapper. **Required** |
|
|
1301
|
+
| `.pf-c-wizard__outer-wrap` | `<div>` | Initiates the outer wrapper. **Required** |
|
|
1302
|
+
| `.pf-c-wizard__inner-wrap` | `<div>` | Initiates the inner wrapper. **Required** |
|
|
1303
|
+
| `.pf-c-wizard__nav` | `<nav>` | Initiates the steps nav. **Required** |
|
|
1304
|
+
| `.pf-c-wizard__nav-list` | `<ol>` | Initiates a list of steps. **Required** |
|
|
1305
|
+
| `.pf-c-wizard__nav-item` | `<li>` | Initiates a step list item. **Required** |
|
|
1306
|
+
| `.pf-c-wizard__nav-link` | `<a>` | Initiates a step link. **Required** |
|
|
1307
|
+
| `.pf-c-wizard__nav-link-text` | `<span>` | Initiates the link text container. **Required when nav item is expandable** |
|
|
1308
|
+
| `.pf-c-wizard__nav-link-toggle` | `<span>` | Initiates the toggle container. **Required when nav item is expandable** |
|
|
1309
|
+
| `.pf-c-wizard__nav-link-toggle-icon` | `<span>` | Initiates the toggle icon container. **Required when nav item is expandable** |
|
|
1310
|
+
| `.pf-c-wizard__main` | `<main>`, `<div>` | Initiates the main container. **Required** Note: use the `<main>` element when when there are no other `<main>` elements on the page.|
|
|
1311
|
+
| `.pf-c-wizard__main-body` | `<div>` | Initiates the main container body section. **Required** |
|
|
1312
|
+
| `.pf-c-wizard__footer` | `<footer>` | Initiates the footer. **Required** |
|
|
1313
|
+
| `.pf-c-wizard__footer-cancel` | `<div>` | Initiates the cancel button. **Required** |
|
|
1314
|
+
| `.pf-m-expanded` | `.pf-c-wizard__toggle`, `.pf-c-wizard__nav` | Modifies the mobile steps toggle and steps menu for the expanded state. |
|
|
1315
|
+
| `.pf-m-finished` | `.pf-c-wizard` | Modifies the wizard for the finished state. |
|
|
1316
|
+
| `.pf-m-expandable` | `.pf-c-wizard__nav-item` | Modifies a nav item for the expandable state. |
|
|
1317
|
+
| `.pf-m-expanded` | `.pf-c-wizard__nav-item` | Modifies a nav item for the expanded state. |
|
|
1318
|
+
| `.pf-m-current` | `.pf-c-wizard__nav-link` | Modifies a step link for the current state. **Required** |
|
|
1319
|
+
| `.pf-m-disabled` | `.pf-c-wizard__nav-link` | Modifies a step link for the disabled state. |
|
|
1320
|
+
| `.pf-m-no-padding` | `.pf-c-wizard__main-body` | Modifies the main container body to remove the padding. |
|
|
@@ -97,7 +97,7 @@ This demo implements the about modal, including the backdrop.
|
|
|
97
97
|
</div>
|
|
98
98
|
<section class="pf-c-app-launcher__group">
|
|
99
99
|
<h1 class="pf-c-app-launcher__group-title">Favorites</h1>
|
|
100
|
-
<ul>
|
|
100
|
+
<ul role="list">
|
|
101
101
|
<li
|
|
102
102
|
class="pf-c-app-launcher__menu-wrapper pf-m-external pf-m-favorite"
|
|
103
103
|
>
|
|
@@ -149,7 +149,7 @@ This demo implements the about modal, including the backdrop.
|
|
|
149
149
|
<hr class="pf-c-divider" />
|
|
150
150
|
<section class="pf-c-app-launcher__group">
|
|
151
151
|
<h1 class="pf-c-app-launcher__group-title">Group 1</h1>
|
|
152
|
-
<ul>
|
|
152
|
+
<ul role="list">
|
|
153
153
|
<li
|
|
154
154
|
class="pf-c-app-launcher__menu-wrapper pf-m-external"
|
|
155
155
|
>
|
|
@@ -804,7 +804,7 @@ This demo implements the about modal, including the backdrop.
|
|
|
804
804
|
id="modal-basic-example-primary-nav"
|
|
805
805
|
aria-label="Global"
|
|
806
806
|
>
|
|
807
|
-
<ul class="pf-c-nav__list">
|
|
807
|
+
<ul class="pf-c-nav__list" role="list">
|
|
808
808
|
<li class="pf-c-nav__item">
|
|
809
809
|
<a href="#" class="pf-c-nav__link">System panel</a>
|
|
810
810
|
</li>
|
|
@@ -836,7 +836,7 @@ This demo implements the about modal, including the backdrop.
|
|
|
836
836
|
<section class="pf-c-page__main-breadcrumb pf-m-limit-width">
|
|
837
837
|
<div class="pf-c-page__main-body">
|
|
838
838
|
<nav class="pf-c-breadcrumb" aria-label="breadcrumb">
|
|
839
|
-
<ol class="pf-c-breadcrumb__list">
|
|
839
|
+
<ol class="pf-c-breadcrumb__list" role="list">
|
|
840
840
|
<li class="pf-c-breadcrumb__item">
|
|
841
841
|
<a href="#" class="pf-c-breadcrumb__link">Section home</a>
|
|
842
842
|
</li>
|
|
@@ -946,7 +946,6 @@ This demo implements the about modal, including the backdrop.
|
|
|
946
946
|
id="about-modal-title"
|
|
947
947
|
>Red Hat OpenShift Container Platform</h1>
|
|
948
948
|
</div>
|
|
949
|
-
<div class="pf-c-about-modal-box__hero"></div>
|
|
950
949
|
<div class="pf-c-about-modal-box__content">
|
|
951
950
|
<div class="pf-c-content">
|
|
952
951
|
<dl>
|