@patternfly/patternfly 5.0.0-alpha.2 → 5.0.0-alpha.21
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 -1
- package/RELEASE-NOTES.md +47 -0
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pficon.scss +6 -0
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_chart-globals.scss +0 -4
- package/base/_common.scss +0 -22
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/CalendarMonth/calendar-month.css +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +9 -12
- package/components/Card/card.scss +11 -17
- package/components/ChipGroup/chip-group.css +27 -17
- package/components/ChipGroup/chip-group.scss +36 -22
- package/components/Content/content.css +6 -0
- package/components/Content/content.scss +8 -0
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list.css +2 -1
- package/components/DataList/data-list.scss +2 -1
- package/components/Drawer/drawer.css +13 -14
- package/components/Drawer/drawer.scss +0 -1
- package/components/Dropdown/dropdown.css +27 -10
- package/components/Dropdown/dropdown.scss +22 -0
- 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/FormControl/form-control.css +1 -1
- package/components/FormControl/themes/dark/form-control.scss +1 -1
- package/components/InputGroup/input-group.css +14 -0
- package/components/InputGroup/input-group.scss +9 -0
- package/components/InputGroup/themes/dark/input-group.scss +8 -0
- package/components/Label/label.css +2 -0
- package/components/Label/label.scss +2 -0
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/Login/login.css +1 -1
- package/components/Menu/menu.css +7 -0
- package/components/Menu/menu.scss +8 -0
- package/components/MenuToggle/menu-toggle.css +2 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/ModalBox/modal-box.css +9 -8
- package/components/ModalBox/modal-box.scss +11 -11
- package/components/Page/page.css +60 -60
- package/components/Pagination/pagination.css +122 -2
- package/components/Pagination/pagination.scss +24 -1
- package/components/Popover/popover.css +2 -7
- package/components/Popover/themes/dark/popover.scss +2 -8
- package/components/Progress/progress.css +5 -2
- package/components/Progress/progress.scss +5 -2
- package/components/SearchInput/search-input.css +2 -0
- package/components/SearchInput/search-input.scss +2 -0
- package/components/Slider/slider.css +0 -7
- package/components/Slider/slider.scss +0 -9
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-tree-view.css +4 -4
- package/components/Table/table.css +4 -0
- package/components/Table/table.scss +4 -0
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/components/TextInputGroup/text-input-group.css +4 -2
- package/components/TextInputGroup/text-input-group.scss +4 -3
- package/components/Toolbar/toolbar.css +65 -37
- package/components/Toolbar/toolbar.scss +37 -3
- 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 +2 -0
- package/components/Wizard/wizard.scss +2 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
- package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +61 -44
- package/docs/components/Check/examples/Check.md +15 -19
- package/docs/components/Chip/examples/Chip.md +13 -13
- package/docs/components/ChipGroup/examples/ChipGroup.md +15 -344
- 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 +86 -80
- package/docs/components/DataList/examples/DataList.md +187 -148
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +311 -71
- 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 +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +12 -12
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
- package/docs/components/InputGroup/examples/InputGroup.md +10 -9
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +31 -31
- package/docs/components/LabelGroup/examples/LabelGroup.md +24 -36
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +69 -69
- package/docs/components/Login/examples/Login.md +32 -32
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +82 -80
- package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
- package/docs/components/ModalBox/examples/ModalBox.md +106 -85
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +129 -30
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +34 -34
- package/docs/components/Progress/examples/Progress.md +31 -60
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
- package/docs/components/Radio/examples/Radio.md +11 -11
- package/docs/components/SearchInput/examples/SearchInput.md +34 -34
- package/docs/components/Select/examples/Select.md +143 -143
- package/docs/components/Sidebar/examples/Sidebar.md +14 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +30 -30
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.md +1272 -855
- package/docs/components/Tabs/examples/Tabs.md +149 -149
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +165 -144
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +63 -70
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
- package/docs/demos/Alert/examples/Alert.md +13 -13
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +10 -11
- package/docs/demos/Card/examples/Card.md +151 -116
- package/docs/demos/CardView/examples/CardView.md +16 -15
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +10 -9
- package/docs/demos/DataList/examples/DataList.md +160 -111
- package/docs/demos/DescriptionList/examples/DescriptionList.md +12 -13
- package/docs/demos/Drawer/examples/Drawer.md +20 -20
- package/docs/demos/HelperText/examples/HelperText.md +8 -9
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +32 -35
- package/docs/demos/Modal/examples/Modal.md +54 -66
- package/docs/demos/Nav/examples/Nav.md +720 -767
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
- package/docs/demos/Page/examples/Page.md +37 -37
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +53 -49
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +522 -378
- package/docs/demos/Tabs/examples/Tabs.md +120 -601
- package/docs/demos/Toolbar/examples/Toolbar.md +1781 -171
- package/docs/demos/Wizard/examples/Wizard.md +229 -225
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
- package/layouts/Grid/grid.css +5 -5
- package/package.json +59 -64
- package/patternfly-base-no-reset.css +5 -11
- package/patternfly-base.css +5 -11
- package/patternfly-no-reset.css +528 -336
- package/patternfly.css +528 -336
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/scss-variables.scss +0 -1
|
@@ -235,19 +235,19 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
235
235
|
|
|
236
236
|
### Usage
|
|
237
237
|
|
|
238
|
-
| Class
|
|
239
|
-
|
|
|
240
|
-
| `.pf-c-select`
|
|
241
|
-
| `.pf-c-select__toggle`
|
|
242
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
243
|
-
| `.pf-c-select__toggle-arrow`
|
|
244
|
-
| `.pf-c-select__menu`
|
|
245
|
-
| `.pf-c-select__menu-item`
|
|
246
|
-
| `.pf-c-select__menu-item-icon` | `<i>`
|
|
247
|
-
| `.pf-m-top`
|
|
248
|
-
| `.pf-m-align-right`
|
|
249
|
-
| `.pf-m-static`
|
|
250
|
-
| `.pf-m-active`
|
|
238
|
+
| Class | Applied to | Outcome |
|
|
239
|
+
| -- | -- | -- |
|
|
240
|
+
| `.pf-c-select` | `<div>` | Initiates a custom select. |
|
|
241
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates a custom toggle. |
|
|
242
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates a custom select toggle wrapper. |
|
|
243
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
244
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the custom select dropdown menu. |
|
|
245
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the custom select dropdown menu. |
|
|
246
|
+
| `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
|
|
247
|
+
| `.pf-m-top` | `.pf-c-select` | Modifies the select menu to display above the toggle. |
|
|
248
|
+
| `.pf-m-align-right` | `.pf-c-select__menu` | Modifies the select menu to display right aligned to the toggle. |
|
|
249
|
+
| `.pf-m-static` | `.pf-c-select__menu` | Modifies the select menu to be statically positioned to support custom positioning. |
|
|
250
|
+
| `.pf-m-active` | `.pf-c-select` | Forces display of the active state of the toggle. |
|
|
251
251
|
|
|
252
252
|
## States
|
|
253
253
|
|
|
@@ -492,29 +492,29 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
492
492
|
|
|
493
493
|
### Accessibility
|
|
494
494
|
|
|
495
|
-
| Attribute
|
|
496
|
-
|
|
|
497
|
-
| `aria-invalid="true"`
|
|
498
|
-
| `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item.
|
|
499
|
-
| `disabled`
|
|
495
|
+
| Attribute | Applied to | Outcome |
|
|
496
|
+
| -- | -- | -- |
|
|
497
|
+
| `aria-invalid="true"` | `.pf-c-select__toggle` | Indicates that the select is in the invalid state. |
|
|
498
|
+
| `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
499
|
+
| `disabled` | `.pf-c-select__toggle` | Disables the dropdown toggle and removes it from keyboard focus. |
|
|
500
500
|
|
|
501
501
|
### Usage
|
|
502
502
|
|
|
503
|
-
| Class
|
|
504
|
-
|
|
|
505
|
-
| `.pf-c-select`
|
|
506
|
-
| `.pf-c-select__toggle`
|
|
507
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
508
|
-
| `.pf-c-select__toggle-arrow`
|
|
509
|
-
| `.pf-c-select__menu`
|
|
510
|
-
| `.pf-c-select__menu-item`
|
|
511
|
-
| `.pf-c-select__menu-item-icon` | `<span>`
|
|
512
|
-
| `.pf-m-expanded`
|
|
513
|
-
| `.pf-m-success`
|
|
514
|
-
| `.pf-m-warning`
|
|
515
|
-
| `.pf-m-invalid`
|
|
516
|
-
| `.pf-m-selected`
|
|
517
|
-
| `.pf-m-disabled`
|
|
503
|
+
| Class | Applied to | Outcome |
|
|
504
|
+
| -- | -- | -- |
|
|
505
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
506
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
507
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
508
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
509
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
510
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
511
|
+
| `.pf-c-select__menu-item-icon` | `<span>` | Initiates the selected item icon wrapper. |
|
|
512
|
+
| `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
|
|
513
|
+
| `.pf-m-success` | `.pf-c-select` | Modifies select component for the success state. |
|
|
514
|
+
| `.pf-m-warning` | `.pf-c-select` | Modifies select component for the warning state. |
|
|
515
|
+
| `.pf-m-invalid` | `.pf-c-select` | Modifies select component for the invalid state. |
|
|
516
|
+
| `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
|
|
517
|
+
| `.pf-m-disabled` | `div.pf-c-select__toggle` | Modifies to display the select toggle as disabled. This applies to `div.pf-c-select__toggle` and should not be used in lieu of the `disabled` attribute on `button.pf-c-select__toggle`. When this is used, `disabled` should also be added to any form elements in `div.pf-c-select__toggle`|
|
|
518
518
|
|
|
519
519
|
## Typeahead
|
|
520
520
|
|
|
@@ -902,26 +902,26 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
902
902
|
|
|
903
903
|
### Accessibility
|
|
904
904
|
|
|
905
|
-
| Attribute
|
|
906
|
-
|
|
|
905
|
+
| Attribute | Applied to | Outcome |
|
|
906
|
+
| -- | -- | -- |
|
|
907
907
|
| `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
908
908
|
|
|
909
909
|
### Usage
|
|
910
910
|
|
|
911
|
-
| Class
|
|
912
|
-
|
|
|
913
|
-
| `.pf-c-select`
|
|
914
|
-
| `.pf-c-select__toggle`
|
|
915
|
-
| `.pf-c-select__toggle-wrapper`
|
|
916
|
-
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control`
|
|
917
|
-
| `.pf-c-select__toggle-clear`
|
|
918
|
-
| `.pf-c-select__toggle-button`
|
|
919
|
-
| `.pf-c-select__toggle-arrow`
|
|
920
|
-
| `.pf-c-select__menu`
|
|
921
|
-
| `.pf-c-select__menu-item`
|
|
922
|
-
| `.pf-m-expanded`
|
|
923
|
-
| `.pf-m-typeahead`
|
|
924
|
-
| `.pf-m-focus`
|
|
911
|
+
| Class | Applied to | Outcome |
|
|
912
|
+
| -- | -- | -- |
|
|
913
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
914
|
+
| `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
|
|
915
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
916
|
+
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
|
|
917
|
+
| `.pf-c-select__toggle-clear` | `button.pf-c-button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
918
|
+
| `.pf-c-select__toggle-button` | `button.pf-c-button.pf-m-plain` | Initiates a toggle button. |
|
|
919
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
|
|
920
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
921
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
922
|
+
| `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
|
|
923
|
+
| `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
|
|
924
|
+
| `.pf-m-focus` | `.pf-c-select__menu-item` | Modifies the menu item to apply `:focus` styling. For use when navigating the menu items by keyboard when the typeahead input field has browser focus. |
|
|
925
925
|
|
|
926
926
|
## Typeahead multiselect
|
|
927
927
|
|
|
@@ -1443,26 +1443,26 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1443
1443
|
|
|
1444
1444
|
### Accessibility
|
|
1445
1445
|
|
|
1446
|
-
| Attribute
|
|
1447
|
-
|
|
|
1446
|
+
| Attribute | Applied to | Outcome |
|
|
1447
|
+
| -- | -- | -- |
|
|
1448
1448
|
| `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
1449
1449
|
|
|
1450
1450
|
### Usage
|
|
1451
1451
|
|
|
1452
|
-
| Class
|
|
1453
|
-
|
|
|
1454
|
-
| `.pf-c-select`
|
|
1455
|
-
| `.pf-c-select__toggle`
|
|
1456
|
-
| `.pf-c-select__toggle-wrapper`
|
|
1457
|
-
| `.pf-c-chip`
|
|
1458
|
-
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` |
|
|
1459
|
-
| `.pf-c-select__toggle-clear`
|
|
1460
|
-
| `.pf-c-select__toggle-button`
|
|
1461
|
-
| `.pf-c-select__toggle-arrow`
|
|
1462
|
-
| `.pf-c-select__menu`
|
|
1463
|
-
| `.pf-c-select__menu-item`
|
|
1464
|
-
| `.pf-m-expanded`
|
|
1465
|
-
| `.pf-m-typeahead`
|
|
1452
|
+
| Class | Applied to | Outcome |
|
|
1453
|
+
| -- | -- | -- |
|
|
1454
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
1455
|
+
| `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
|
|
1456
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
|
|
1457
|
+
| `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
|
|
1458
|
+
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
|
|
1459
|
+
| `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
1460
|
+
| `.pf-c-select__toggle-button` | `<button>` | Initiates a toggle button. |
|
|
1461
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
|
|
1462
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
1463
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
1464
|
+
| `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
|
|
1465
|
+
| `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
|
|
1466
1466
|
|
|
1467
1467
|
## Checkbox
|
|
1468
1468
|
|
|
@@ -2229,27 +2229,27 @@ The checkbox select can select multiple items using checkboxes. The number of it
|
|
|
2229
2229
|
|
|
2230
2230
|
### Usage
|
|
2231
2231
|
|
|
2232
|
-
| Class
|
|
2233
|
-
|
|
|
2234
|
-
| `.pf-c-select`
|
|
2235
|
-
| `.pf-c-select__toggle`
|
|
2236
|
-
| `.pf-c-select__toggle-wrapper`
|
|
2237
|
-
| `.pf-c-chip`
|
|
2238
|
-
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` |
|
|
2239
|
-
| `.pf-c-select__toggle-badge`
|
|
2240
|
-
| `.pf-c-select__toggle-clear`
|
|
2241
|
-
| `.pf-c-select__toggle-arrow`
|
|
2242
|
-
| `.pf-c-select__menu`
|
|
2243
|
-
| `.pf-c-select__menu-item`
|
|
2244
|
-
| `.pf-c-select__menu-item-row`
|
|
2245
|
-
| `.pf-c-select__menu-item-text`
|
|
2246
|
-
| `.pf-c-select__menu-item-count`
|
|
2247
|
-
| `.pf-c-select__menu-fieldset`
|
|
2248
|
-
| `.pf-c-select__menu-group`
|
|
2249
|
-
| `.pf-c-select__menu-group-title` | `<div>`
|
|
2250
|
-
| `.pf-c-select__menu-search`
|
|
2251
|
-
| `.pf-m-expanded`
|
|
2252
|
-
| `.pf-m-typeahead`
|
|
2232
|
+
| Class | Applied to | Outcome |
|
|
2233
|
+
| -- | -- | -- |
|
|
2234
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
2235
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2236
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
|
|
2237
|
+
| `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
|
|
2238
|
+
| `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
|
|
2239
|
+
| `.pf-c-select__toggle-badge` | `<div>` | Initiates a container for a badge to indicate the number of items checked. \* note: This should contain an unread badge \* |
|
|
2240
|
+
| `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
2241
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2242
|
+
| `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
|
|
2243
|
+
| `.pf-c-select__menu-item` | `div.pf-c-check` | Initiates the items in the select dropdown menu. |
|
|
2244
|
+
| `.pf-c-select__menu-item-row` | `<span>` | Initiates a menu item row for use with positioning other elements before/after the item text. |
|
|
2245
|
+
| `.pf-c-select__menu-item-text` | `<span>` | Initiates the menu item row text. |
|
|
2246
|
+
| `.pf-c-select__menu-item-count` | `<span>` | Initiates the menu item row count. |
|
|
2247
|
+
| `.pf-c-select__menu-fieldset` | `<fieldset>` | Initiates a fieldset for the items in a checkbox select. |
|
|
2248
|
+
| `.pf-c-select__menu-group` | `<div>` | Initiates a group within a select menu. |
|
|
2249
|
+
| `.pf-c-select__menu-group-title` | `<div>` | Initiates a title for a group with a select menu. |
|
|
2250
|
+
| `.pf-c-select__menu-search` | `<div>` | Initiates a container for the search input group. |
|
|
2251
|
+
| `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
|
|
2252
|
+
| `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
|
|
2253
2253
|
|
|
2254
2254
|
## Plain
|
|
2255
2255
|
|
|
@@ -2370,18 +2370,18 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2370
2370
|
|
|
2371
2371
|
### Usage
|
|
2372
2372
|
|
|
2373
|
-
| Class
|
|
2374
|
-
|
|
|
2375
|
-
| `.pf-c-select`
|
|
2376
|
-
| `.pf-c-select__toggle`
|
|
2377
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
2378
|
-
| `.pf-c-select__toggle-arrow`
|
|
2379
|
-
| `.pf-c-select__menu`
|
|
2380
|
-
| `.pf-c-select__menu-item`
|
|
2381
|
-
| `.pf-c-select__menu-item-icon` | `<i>`
|
|
2382
|
-
| `.pf-m-expanded`
|
|
2383
|
-
| `.pf-m-plain`
|
|
2384
|
-
| `.pf-m-selected`
|
|
2373
|
+
| Class | Applied to | Outcome |
|
|
2374
|
+
| -- | -- | -- |
|
|
2375
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
2376
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2377
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2378
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2379
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
2380
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
2381
|
+
| `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
|
|
2382
|
+
| `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
|
|
2383
|
+
| `.pf-m-plain` | `.pf-c-select__toggle` | Modifies to display the toggle with no border. |
|
|
2384
|
+
| `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
|
|
2385
2385
|
|
|
2386
2386
|
## Icon
|
|
2387
2387
|
|
|
@@ -2447,19 +2447,19 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2447
2447
|
|
|
2448
2448
|
### Accessibility
|
|
2449
2449
|
|
|
2450
|
-
| Attribute
|
|
2451
|
-
|
|
|
2452
|
-
| `aria-hidden="true"` | `.pf-c-select__toggle-icon` | Hides the icon from assistive technologies.
|
|
2450
|
+
| Attribute | Applied to | Outcome |
|
|
2451
|
+
| -- | -- | -- |
|
|
2452
|
+
| `aria-hidden="true"` | `.pf-c-select__toggle-icon` | Hides the icon from assistive technologies.
|
|
2453
2453
|
|
|
2454
2454
|
### Usage
|
|
2455
2455
|
|
|
2456
|
-
| Class
|
|
2457
|
-
|
|
|
2458
|
-
| `.pf-c-select`
|
|
2459
|
-
| `.pf-c-select__toggle`
|
|
2460
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
2461
|
-
| `.pf-c-select__toggle-icon`
|
|
2462
|
-
| `.pf-c-select__toggle-arrow`
|
|
2456
|
+
| Class | Applied to | Outcome |
|
|
2457
|
+
| -- | -- | -- |
|
|
2458
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
2459
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2460
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2461
|
+
| `.pf-c-select__toggle-icon` | `<span>` | Initiates the icon in the dropdown toggle. |
|
|
2462
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2463
2463
|
|
|
2464
2464
|
## Panel
|
|
2465
2465
|
|
|
@@ -2495,13 +2495,13 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2495
2495
|
|
|
2496
2496
|
### Usage
|
|
2497
2497
|
|
|
2498
|
-
| Class
|
|
2499
|
-
|
|
|
2500
|
-
| `.pf-c-select`
|
|
2501
|
-
| `.pf-c-select__toggle`
|
|
2502
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
2503
|
-
| `.pf-c-select__toggle-arrow`
|
|
2504
|
-
| `.pf-c-select__menu`
|
|
2498
|
+
| Class | Applied to | Outcome |
|
|
2499
|
+
| -- | -- | -- |
|
|
2500
|
+
| `.pf-c-select` | `<div>` | Initiates the select component. |
|
|
2501
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2502
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2503
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2504
|
+
| `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
|
|
2505
2505
|
|
|
2506
2506
|
## Description
|
|
2507
2507
|
|
|
@@ -2707,11 +2707,11 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2707
2707
|
|
|
2708
2708
|
### Usage
|
|
2709
2709
|
|
|
2710
|
-
| Class
|
|
2711
|
-
|
|
|
2712
|
-
| `.pf-c-select__menu-item-description` | `<span>`
|
|
2713
|
-
| `.pf-c-select__menu-item-main`
|
|
2714
|
-
| `.pf-m-description`
|
|
2710
|
+
| Class | Applied to | Outcome |
|
|
2711
|
+
| -- | -- | -- |
|
|
2712
|
+
| `.pf-c-select__menu-item-description` | `<span>` | Initiates the select menu item description element. |
|
|
2713
|
+
| `.pf-c-select__menu-item-main` | `<span>` | Initiates the select menu item main element. Used when the description element is present. |
|
|
2714
|
+
| `.pf-m-description` | `.pf-c-select__menu-item` | Modifies the select menu item when selected to accommodate the description element. |
|
|
2715
2715
|
|
|
2716
2716
|
## Favorites
|
|
2717
2717
|
|
|
@@ -2914,20 +2914,20 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2914
2914
|
|
|
2915
2915
|
### Accessibility
|
|
2916
2916
|
|
|
2917
|
-
| Attribute
|
|
2918
|
-
|
|
|
2919
|
-
| `aria-label="Not starred"` | `.pf-c-select__menu-wrapper > .pf-c-select__menu-item.pf-m-action`
|
|
2920
|
-
| `aria-label="Starred"`
|
|
2917
|
+
| Attribute | Applied to | Outcome |
|
|
2918
|
+
| -- | -- | -- |
|
|
2919
|
+
| `aria-label="Not starred"` | `.pf-c-select__menu-wrapper > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is not selected. |
|
|
2920
|
+
| `aria-label="Starred"` | `.pf-c-select__menu-wrapper.pf-m-favorite > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is selected. |
|
|
2921
2921
|
|
|
2922
2922
|
### Usage
|
|
2923
2923
|
|
|
2924
|
-
| Class
|
|
2925
|
-
|
|
|
2926
|
-
| `.pf-c-select__menu-wrapper` | `<li>`
|
|
2927
|
-
| `.pf-m-favorite`
|
|
2928
|
-
| `.pf-m-favorite-action`
|
|
2929
|
-
| `.pf-m-link`
|
|
2930
|
-
| `.pf-m-action`
|
|
2924
|
+
| Class | Applied to | Outcome |
|
|
2925
|
+
| -- | -- | -- |
|
|
2926
|
+
| `.pf-c-select__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
|
|
2927
|
+
| `.pf-m-favorite` | `.pf-c-select__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
|
|
2928
|
+
| `.pf-m-favorite-action` | `.pf-c-select__menu-item` | Modifies an item for favorite styles. |
|
|
2929
|
+
| `.pf-m-link` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item for link styles. |
|
|
2930
|
+
| `.pf-m-action` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item to for action styles. |
|
|
2931
2931
|
|
|
2932
2932
|
## View more
|
|
2933
2933
|
|
|
@@ -2992,8 +2992,8 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2992
2992
|
|
|
2993
2993
|
### Usage
|
|
2994
2994
|
|
|
2995
|
-
| Class
|
|
2996
|
-
|
|
|
2995
|
+
| Class | Applied to | Outcome |
|
|
2996
|
+
| -- | -- | -- |
|
|
2997
2997
|
| `.pf-m-load` | `.pf-c-select__menu-item` | Modifies a menu item for load styles. |
|
|
2998
2998
|
|
|
2999
2999
|
## Loading
|
|
@@ -3067,10 +3067,10 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3067
3067
|
|
|
3068
3068
|
### Usage
|
|
3069
3069
|
|
|
3070
|
-
| Class
|
|
3071
|
-
|
|
|
3072
|
-
| `.pf-c-select__list-item` | `<li>`
|
|
3073
|
-
| `.pf-m-loading`
|
|
3070
|
+
| Class | Applied to | Outcome |
|
|
3071
|
+
| -- | -- | -- |
|
|
3072
|
+
| `.pf-c-select__list-item` | `<li>` | Defines a list item element in the select menu. |
|
|
3073
|
+
| `.pf-m-loading` | `.pf-c-select__list-item` | Modifies a list item for loading styles. |
|
|
3074
3074
|
|
|
3075
3075
|
## Footer
|
|
3076
3076
|
|
|
@@ -3137,10 +3137,10 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3137
3137
|
|
|
3138
3138
|
### Usage
|
|
3139
3139
|
|
|
3140
|
-
| Class
|
|
3141
|
-
|
|
|
3142
|
-
| `.pf-c-select__menu-footer` | `<div>`
|
|
3143
|
-
| `.pf-c-select__menu-list`
|
|
3140
|
+
| Class | Applied to | Outcome |
|
|
3141
|
+
| -- | -- | -- |
|
|
3142
|
+
| `.pf-c-select__menu-footer` | `<div>` | Defines a menu footer. |
|
|
3143
|
+
| `.pf-c-select__menu-list` | `<ul>` | Defines the menu list when the list is placed in `div.pf-c-select__menu`. |
|
|
3144
3144
|
|
|
3145
3145
|
## Placeholder
|
|
3146
3146
|
|
|
@@ -3381,8 +3381,8 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3381
3381
|
|
|
3382
3382
|
### Usage
|
|
3383
3383
|
|
|
3384
|
-
| Class
|
|
3385
|
-
|
|
|
3384
|
+
| Class | Applied to | Outcome |
|
|
3385
|
+
| -- | -- | -- |
|
|
3386
3386
|
| `.pf-m-placeholder` | `.pf-c-select__toggle` | Modifies the toggle for placeholder styles. |
|
|
3387
3387
|
|
|
3388
3388
|
## Documentation
|
|
@@ -179,17 +179,17 @@ cssPrefix: pf-c-sidebar
|
|
|
179
179
|
|
|
180
180
|
### Usage
|
|
181
181
|
|
|
182
|
-
| Class
|
|
183
|
-
|
|
|
184
|
-
| `.pf-c-sidebar`
|
|
185
|
-
| `.pf-c-sidebar__main`
|
|
186
|
-
| `.pf-c-sidebar__panel`
|
|
187
|
-
| `.pf-c-sidebar__content`
|
|
188
|
-
| `.pf-m-gutter`
|
|
189
|
-
| `.pf-m-stack`
|
|
190
|
-
| `.pf-m-split`
|
|
191
|
-
| `.pf-m-panel-right`
|
|
192
|
-
| `.pf-m-sticky`
|
|
193
|
-
| `.pf-m-static`
|
|
194
|
-
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-c-sidebar__panel`
|
|
195
|
-
| `.pf-m-no-background`
|
|
182
|
+
| Class | Applied to | Outcome |
|
|
183
|
+
| -- | -- | -- |
|
|
184
|
+
| `.pf-c-sidebar` | `<div>` | Initiates the sidebar component. **Required** |
|
|
185
|
+
| `.pf-c-sidebar__main` | `<div>` | Initiates the sidebar main element. **Required** |
|
|
186
|
+
| `.pf-c-sidebar__panel` | `<div>` | Initiates the sidebar panel element. **Required** |
|
|
187
|
+
| `.pf-c-sidebar__content` | `<div>` | Initiates the sidebar content element. **Required** |
|
|
188
|
+
| `.pf-m-gutter` | `.pf-c-sidebar` | Modifies the sidebar component to add a gutter between the panel and content. |
|
|
189
|
+
| `.pf-m-stack` | `.pf-c-sidebar` | Modifies the sidebar to stack the panel on top of the content. |
|
|
190
|
+
| `.pf-m-split` | `.pf-c-sidebar` | Modifies the sidebar to position the panel and content side by side. |
|
|
191
|
+
| `.pf-m-panel-right` | `.pf-c-sidebar` | Modifies the sidebar to place the panel to the right of the content. |
|
|
192
|
+
| `.pf-m-sticky` | `.pf-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
|
|
193
|
+
| `.pf-m-static` | `.pf-c-sidebar__panel` | Modifies the panel to be positioned statically. |
|
|
194
|
+
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** does not apply when the panel is stacked on top of the content. |
|
|
195
|
+
| `.pf-m-no-background` | `.pf-c-sidebar`, `.pf-c-sidebar__panel, .pf-c-sidebar__content` | Modifies the element to have a transparent background. |
|
|
@@ -8,7 +8,7 @@ cssPrefix: pf-c-simple-list
|
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
10
|
<div class="pf-c-simple-list">
|
|
11
|
-
<ul class="pf-c-simple-list__list">
|
|
11
|
+
<ul class="pf-c-simple-list__list" role="list">
|
|
12
12
|
<li class="pf-c-simple-list__item">
|
|
13
13
|
<button
|
|
14
14
|
class="pf-c-simple-list__item-link pf-m-current"
|
|
@@ -30,7 +30,7 @@ cssPrefix: pf-c-simple-list
|
|
|
30
30
|
|
|
31
31
|
```html
|
|
32
32
|
<div class="pf-c-simple-list">
|
|
33
|
-
<ul class="pf-c-simple-list__list">
|
|
33
|
+
<ul class="pf-c-simple-list__list" role="list">
|
|
34
34
|
<li class="pf-c-simple-list__item">
|
|
35
35
|
<a
|
|
36
36
|
class="pf-c-simple-list__item-link pf-m-current"
|
|
@@ -55,7 +55,7 @@ cssPrefix: pf-c-simple-list
|
|
|
55
55
|
<div class="pf-c-simple-list">
|
|
56
56
|
<section class="pf-c-simple-list__section">
|
|
57
57
|
<h2 class="pf-c-simple-list__title">Title</h2>
|
|
58
|
-
<ul class="pf-c-simple-list__list">
|
|
58
|
+
<ul class="pf-c-simple-list__list" role="list">
|
|
59
59
|
<li class="pf-c-simple-list__item">
|
|
60
60
|
<button
|
|
61
61
|
class="pf-c-simple-list__item-link pf-m-current"
|
|
@@ -75,7 +75,7 @@ cssPrefix: pf-c-simple-list
|
|
|
75
75
|
</section>
|
|
76
76
|
<section class="pf-c-simple-list__section">
|
|
77
77
|
<h2 class="pf-c-simple-list__title">Title</h2>
|
|
78
|
-
<ul class="pf-c-simple-list__list">
|
|
78
|
+
<ul class="pf-c-simple-list__list" role="list">
|
|
79
79
|
<li class="pf-c-simple-list__item">
|
|
80
80
|
<button class="pf-c-simple-list__item-link" type="button">List item 1</button>
|
|
81
81
|
</li>
|
|
@@ -98,18 +98,18 @@ cssPrefix: pf-c-simple-list
|
|
|
98
98
|
|
|
99
99
|
### Accessibility
|
|
100
100
|
|
|
101
|
-
| Attribute
|
|
102
|
-
|
|
|
101
|
+
| Attribute | Applied to | Outcome |
|
|
102
|
+
| -- | -- | -- |
|
|
103
103
|
| `tabindex="0"` | `a.pf-c-simple-list__item-link` | Inserts the link into the tab order of the page so that it is focusable. **Required** |
|
|
104
104
|
|
|
105
105
|
### Usage
|
|
106
106
|
|
|
107
|
-
| Class
|
|
108
|
-
|
|
|
109
|
-
| `.pf-c-simple-list`
|
|
110
|
-
| `.pf-c-simple-list__section`
|
|
111
|
-
| `.pf-c-simple-list__title`
|
|
112
|
-
| `.pf-c-simple-list__list`
|
|
113
|
-
| `.pf-c-simple-list__item`
|
|
114
|
-
| `.pf-c-simple-list__item-link` | `<button>`, `<a>`
|
|
115
|
-
| `.pf-m-current`
|
|
107
|
+
| Class | Applied to | Outcome |
|
|
108
|
+
| -- | -- | -- |
|
|
109
|
+
| `.pf-c-simple-list` | `<div>` | Initiates a simple list. |
|
|
110
|
+
| `.pf-c-simple-list__section` | `<section>` | Initiates a simple list section. |
|
|
111
|
+
| `.pf-c-simple-list__title` | `<h2>` | Initiates a simple list title. |
|
|
112
|
+
| `.pf-c-simple-list__list` | `<ul>` | Initiates a simple list unordered list. |
|
|
113
|
+
| `.pf-c-simple-list__item` | `<li>` | Initiates a simple list item. |
|
|
114
|
+
| `.pf-c-simple-list__item-link` | `<button>`, `<a>` | Initiates a simple list item link. It can be a button or a link depending on the context. |
|
|
115
|
+
| `.pf-m-current` | `.pf-c-simple-list__item-link` | Modifies the simple list item link for the current state. |
|
|
@@ -90,11 +90,11 @@ Small circle
|
|
|
90
90
|
|
|
91
91
|
### Usage
|
|
92
92
|
|
|
93
|
-
| Class
|
|
94
|
-
|
|
|
95
|
-
| `.pf-c-skeleton`
|
|
96
|
-
| `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]`
|
|
97
|
-
| `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-c-skeleton` | Modifies the height of the skeleton. The default is the inherited font size.
|
|
98
|
-
| `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]`
|
|
99
|
-
| `.pf-m-circle`
|
|
100
|
-
| `.pf-m-square`
|
|
93
|
+
| Class | Applied to | Outcome |
|
|
94
|
+
| -- | -- | -- |
|
|
95
|
+
| `.pf-c-skeleton` | `<div>` | Initiates the skeleton component. **Required** |
|
|
96
|
+
| `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]` | `.pf-c-skeleton` | Modifies the width of the skeleton. The default is 100%. |
|
|
97
|
+
| `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-c-skeleton` | Modifies the height of the skeleton. The default is the inherited font size. |
|
|
98
|
+
| `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]` | `.pf-c-skeleton` | Modifies the skeleton height to match the height of PatternFly's text elements. |
|
|
99
|
+
| `.pf-m-circle` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a circle. Use a width modifier to specify the size. |
|
|
100
|
+
| `.pf-m-square` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a square. Use a width modifier to specify the size. |
|
|
@@ -139,12 +139,12 @@ When using `.pf-c-skip-to-content` you must provide an `href` attribute whose va
|
|
|
139
139
|
|
|
140
140
|
### Accessibility
|
|
141
141
|
|
|
142
|
-
| Attribute
|
|
143
|
-
|
|
|
142
|
+
| Attribute | Applied to | Outcome |
|
|
143
|
+
| -- | -- | -- |
|
|
144
144
|
| `href="[id of main container]"` | `.pf-c-skip-to-content` | Sends focus to the primary content container. **Required** |
|
|
145
145
|
|
|
146
146
|
### Usage
|
|
147
147
|
|
|
148
|
-
| Class
|
|
149
|
-
|
|
|
150
|
-
| `.pf-c-skip-to-content` | `<a>`
|
|
148
|
+
| Class | Applied to | Outcome |
|
|
149
|
+
| -- | -- | -- |
|
|
150
|
+
| `.pf-c-skip-to-content` | `<a>` | initiates the skip to content link. |
|