@patternfly/patternfly 5.0.0-alpha.14 → 5.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list.css +2 -0
- package/components/DataList/data-list.scss +2 -0
- package/components/Drawer/drawer.css +13 -13
- package/components/Dropdown/dropdown.css +12 -10
- package/components/Dropdown/dropdown.scss +2 -0
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Label/label.css +2 -0
- package/components/Label/label.scss +2 -0
- package/components/Login/login.css +1 -1
- package/components/Menu/menu.css +2 -0
- package/components/Menu/menu.scss +2 -0
- package/components/MenuToggle/menu-toggle.css +2 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/Page/page.css +60 -60
- package/components/Pagination/pagination.css +2 -2
- package/components/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/Table/table-grid.css +28 -28
- package/components/Table/table-tree-view.css +4 -4
- package/components/TextInputGroup/text-input-group.css +4 -2
- package/components/TextInputGroup/text-input-group.scss +4 -3
- package/components/Toolbar/toolbar.css +35 -35
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +2 -0
- package/components/Wizard/wizard.scss +2 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +10 -10
- package/docs/components/AppLauncher/examples/application-launcher.md +34 -34
- 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 +15 -15
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +27 -27
- package/docs/components/Check/examples/Check.md +13 -13
- package/docs/components/Chip/examples/Chip.md +13 -13
- package/docs/components/ChipGroup/examples/ChipGroup.md +15 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +56 -33
- package/docs/components/Content/examples/Content.md +10 -10
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +80 -74
- package/docs/components/DataList/examples/DataList.md +83 -83
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +9 -9
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +50 -50
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +19 -19
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +21 -21
- package/docs/components/Label/examples/Label.md +31 -31
- package/docs/components/LabelGroup/examples/LabelGroup.md +22 -22
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.md +69 -69
- package/docs/components/Login/examples/Login.md +22 -22
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +78 -76
- package/docs/components/MenuToggle/examples/MenuToggle.md +24 -24
- package/docs/components/ModalBox/examples/ModalBox.md +35 -35
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +22 -22
- package/docs/components/Nav/examples/Navigation.md +36 -36
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +39 -39
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +34 -34
- package/docs/components/Progress/examples/Progress.md +31 -60
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +24 -24
- 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 +11 -11
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +24 -24
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.md +155 -155
- package/docs/components/Tabs/examples/Tabs.md +47 -47
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +113 -113
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +47 -51
- package/docs/demos/DataList/examples/DataList.md +4 -4
- package/docs/demos/Masthead/examples/Masthead.md +6 -6
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +6 -6
- package/docs/demos/Table/examples/Table.md +22 -22
- package/docs/demos/Toolbar/examples/Toolbar.md +8 -8
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +1 -1
- package/layouts/Grid/grid.css +5 -5
- package/package.json +56 -61
- package/patternfly-no-reset.css +201 -178
- package/patternfly.css +201 -178
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -657,40 +657,40 @@ cssPrefix: pf-c-app-launcher
|
|
|
657
657
|
|
|
658
658
|
### Accessibility
|
|
659
659
|
|
|
660
|
-
| Attribute
|
|
661
|
-
|
|
|
662
|
-
| `aria-label="Application launcher"` | `.pf-c-app-launcher`
|
|
663
|
-
| `aria-expanded="false"`
|
|
664
|
-
| `aria-expanded="true"`
|
|
665
|
-
| `aria-label="Actions"`
|
|
666
|
-
| `hidden`
|
|
667
|
-
| `disabled`
|
|
668
|
-
| `disabled`
|
|
669
|
-
| `aria-disabled="true"`
|
|
670
|
-
| `tabindex="-1"`
|
|
671
|
-
| `aria-hidden="true"`
|
|
660
|
+
| Attribute | Applied | Outcome |
|
|
661
|
+
| -- | -- | -- |
|
|
662
|
+
| `aria-label="Application launcher"` | `.pf-c-app-launcher` | Gives the app launcher element an accessible name. **Required** |
|
|
663
|
+
| `aria-expanded="false"` | `.pf-c-button` | Indicates that the menu is hidden. |
|
|
664
|
+
| `aria-expanded="true"` | `.pf-c-button` | Indicates that the menu is visible. |
|
|
665
|
+
| `aria-label="Actions"` | `.pf-c-button` | Provides an accessible name for the app launcher when an icon is used. **Required** |
|
|
666
|
+
| `hidden` | `.pf-c-app-launcher__menu` | Indicates that the menu is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
|
|
667
|
+
| `disabled` | `.pf-c-app-launcher__toggle` | Disables the app launcher toggle and removes it from keyboard focus. |
|
|
668
|
+
| `disabled` | `button.pf-c-app-launcher__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
|
|
669
|
+
| `aria-disabled="true"` | `a.pf-c-app-launcher__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
|
|
670
|
+
| `tabindex="-1"` | `a.pf-c-app-launcher__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
|
|
671
|
+
| `aria-hidden="true"` | `.pf-c-app-launcher__menu-item-external-icon > *` | Hides the icon from assistive technologies. |
|
|
672
672
|
|
|
673
673
|
### Usage
|
|
674
674
|
|
|
675
|
-
| Class
|
|
676
|
-
|
|
|
677
|
-
| `.pf-c-app-launcher`
|
|
678
|
-
| `.pf-c-app-launcher__toggle`
|
|
679
|
-
| `.pf-c-app-launcher__menu`
|
|
680
|
-
| `.pf-c-app-launcher__menu-search`
|
|
681
|
-
| `.pf-c-app-launcher__group`
|
|
682
|
-
| `.pf-c-app-launcher__group-title`
|
|
683
|
-
| `.pf-c-app-launcher__menu-wrapper`
|
|
684
|
-
| `.pf-c-app-launcher__menu-item`
|
|
685
|
-
| `.pf-c-app-launcher__menu-item-icon`
|
|
686
|
-
| `.pf-c-app-launcher__menu-item-external-icon` | `<span>`
|
|
687
|
-
| `.pf-m-expanded`
|
|
688
|
-
| `.pf-m-top`
|
|
689
|
-
| `.pf-m-align-right`
|
|
690
|
-
| `.pf-m-static`
|
|
691
|
-
| `.pf-m-disabled`
|
|
692
|
-
| `.pf-m-external`
|
|
693
|
-
| `.pf-m-favorite`
|
|
694
|
-
| `.pf-m-link`
|
|
695
|
-
| `.pf-m-action`
|
|
696
|
-
| `.pf-m-active`
|
|
675
|
+
| Class | Applied | Outcome |
|
|
676
|
+
| -- | -- | -- |
|
|
677
|
+
| `.pf-c-app-launcher` | `<nav>` | Defines the parent wrapper of the app launcher. |
|
|
678
|
+
| `.pf-c-app-launcher__toggle` | `<button>` | Defines the app launcher toggle. |
|
|
679
|
+
| `.pf-c-app-launcher__menu` | `<ul>`, `<div>` | Defines the parent wrapper of the menu items. Use a `<div>` if your app launcher has groups. |
|
|
680
|
+
| `.pf-c-app-launcher__menu-search` | `<div>` | Defines the wrapper for the search input. |
|
|
681
|
+
| `.pf-c-app-launcher__group` | `<section>` | Defines a group of items. Required when there is more than one group. |
|
|
682
|
+
| `.pf-c-app-launcher__group-title` | `<h1>` | Defines a title for a group of items. |
|
|
683
|
+
| `.pf-c-app-launcher__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
|
|
684
|
+
| `.pf-c-app-launcher__menu-item` | `<a>`, `<button>` | Defines a menu item. |
|
|
685
|
+
| `.pf-c-app-launcher__menu-item-icon` | `<span>` | Defines the wrapper for the menu item icon. |
|
|
686
|
+
| `.pf-c-app-launcher__menu-item-external-icon` | `<span>` | Defines the wrapper for the external link icon that appears on hover/focus. Use with `.pf-m-external`. |
|
|
687
|
+
| `.pf-m-expanded` | `.pf-c-app-launcher` | Modifies for the expanded state. |
|
|
688
|
+
| `.pf-m-top` | `.pf-c-app-launcher` | Modifies to display the menu above the toggle. |
|
|
689
|
+
| `.pf-m-align-right` | `.pf-c-app-launcher__menu` | Modifies to display the menu aligned to the right edge of the toggle. |
|
|
690
|
+
| `.pf-m-static` | `.pf-c-app-launcher__menu` | Modifies to position the menu statically to support custom positioning. |
|
|
691
|
+
| `.pf-m-disabled` | `a.pf-c-app-launcher__menu-item` | Modifies to display the menu item as disabled. |
|
|
692
|
+
| `.pf-m-external` | `.pf-c-app-launcher__menu-item` | Modifies to display the menu item as having an external link icon on hover/focus. |
|
|
693
|
+
| `.pf-m-favorite` | `.pf-c-app-launcher__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
|
|
694
|
+
| `.pf-m-link` | `.pf-c-app-launcher__menu-item.pf-m-wrapper > .pf-c-app-launcher__menu-item` | Modifies item for link styles. |
|
|
695
|
+
| `.pf-m-action` | `.pf-c-app-launcher__menu-item.pf-m-wrapper > .pf-c-app-launcher__menu-item` | Modifies item to for action styles. |
|
|
696
|
+
| `.pf-m-active` | `.pf-c-app-launcher__toggle` | Forces display of the active state of the toggle. |
|
|
@@ -91,18 +91,18 @@ The avatar component provides a default SVG icon. If an image is used it should
|
|
|
91
91
|
|
|
92
92
|
### Accessibility
|
|
93
93
|
|
|
94
|
-
| Attribute | Applied to
|
|
95
|
-
|
|
|
96
|
-
| `alt`
|
|
94
|
+
| Attribute | Applied to | Outcome |
|
|
95
|
+
| -- | -- | -- |
|
|
96
|
+
| `alt` | `.pf-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required** |
|
|
97
97
|
|
|
98
98
|
### Usage
|
|
99
99
|
|
|
100
|
-
| Class
|
|
101
|
-
|
|
|
102
|
-
| `.pf-c-avatar`
|
|
103
|
-
| `.pf-m-light`
|
|
104
|
-
| `.pf-m-dark`
|
|
105
|
-
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes).
|
|
100
|
+
| Class | Applied to | Outcome |
|
|
101
|
+
| -- | -- | -- |
|
|
102
|
+
| `.pf-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
|
|
103
|
+
| `.pf-m-light` | `.pf-c-avatar` | Modifies an avatar for use against a light background. |
|
|
104
|
+
| `.pf-m-dark` | `.pf-c-avatar` | Modifies an avatar for use against a dark background. |
|
|
105
|
+
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
106
106
|
| `.pf-m-md{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** This is the default size. |
|
|
107
|
-
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes).
|
|
108
|
-
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes).
|
|
107
|
+
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
108
|
+
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -24,7 +24,7 @@ cssPrefix: pf-c-back-to-top
|
|
|
24
24
|
|
|
25
25
|
### Usage
|
|
26
26
|
|
|
27
|
-
| Class
|
|
28
|
-
|
|
|
29
|
-
| `.pf-c-back-to-top` | `<div>`
|
|
30
|
-
| `.pf-m-hidden`
|
|
27
|
+
| Class | Applied to | Outcome |
|
|
28
|
+
| -- | -- | -- |
|
|
29
|
+
| `.pf-c-back-to-top` | `<div>` | Initiates the back to top component. **Required** |
|
|
30
|
+
| `.pf-m-hidden` | `.pf-c-back-to-top` | Modifies the component to be hidden. |
|
|
@@ -19,7 +19,7 @@ This component puts a backdrop over the entire viewport.
|
|
|
19
19
|
|
|
20
20
|
### Usage
|
|
21
21
|
|
|
22
|
-
| Class
|
|
23
|
-
|
|
|
24
|
-
| `.pf-c-backdrop`
|
|
25
|
-
| `.pf-c-backdrop__open` | `<body>`
|
|
22
|
+
| Class | Applied to | Outcome |
|
|
23
|
+
| -- | -- | -- |
|
|
24
|
+
| `.pf-c-backdrop` | `<div>` | Initiates backdrop. **Required** |
|
|
25
|
+
| `.pf-c-backdrop__open` | `<body>` | Lock scrolling when backdrop is active. This class should be set on `<body>` while backdrop is active and removed while backdrop is inactive. **Required** |
|
|
@@ -42,7 +42,7 @@ This component puts an image on the background with an svg filter applied to it.
|
|
|
42
42
|
|
|
43
43
|
### Usage
|
|
44
44
|
|
|
45
|
-
| Class
|
|
46
|
-
|
|
|
47
|
-
| `.pf-c-background-image`
|
|
48
|
-
| `.pf-c-background-image__filter` | `*`
|
|
45
|
+
| Class | Applied to | Outcome |
|
|
46
|
+
| -- | -- | -- |
|
|
47
|
+
| `.pf-c-background-image` | `*` | A fixed background image is applied to the background of the page. |
|
|
48
|
+
| `.pf-c-background-image__filter` | `*` | The inline svg that provides the filter for the background image. |
|
|
@@ -32,8 +32,8 @@ Always add a modifier class. Never use the class `.pf-c-badge` on its own.
|
|
|
32
32
|
|
|
33
33
|
### Usage
|
|
34
34
|
|
|
35
|
-
| Class
|
|
36
|
-
|
|
|
37
|
-
| `.pf-c-badge`
|
|
38
|
-
| `.pf-m-read`
|
|
39
|
-
| `.pf-m-unread` | `.pf-c-badge` | Applies unread badge styling.
|
|
35
|
+
| Class | Applied to | Outcome |
|
|
36
|
+
| -- | -- | -- |
|
|
37
|
+
| `.pf-c-badge` | `<span>` | Initiates a badge. **Always use with a modifier class.** |
|
|
38
|
+
| `.pf-m-read` | `.pf-c-badge` | Applies read badge styling. |
|
|
39
|
+
| `.pf-m-unread` | `.pf-c-badge` | Applies unread badge styling. |
|
|
@@ -151,11 +151,11 @@ Add a modifier class to the default banner to change the presentation: `.pf-m-bl
|
|
|
151
151
|
|
|
152
152
|
### Usage
|
|
153
153
|
|
|
154
|
-
| Class
|
|
155
|
-
|
|
|
156
|
-
| `.pf-c-banner` | `<div>`
|
|
157
|
-
| `.pf-m-blue`
|
|
158
|
-
| `.pf-m-red`
|
|
159
|
-
| `.pf-m-green`
|
|
160
|
-
| `.pf-m-gold`
|
|
161
|
-
| `.pf-m-sticky` | `.pf-c-banner` |
|
|
154
|
+
| Class | Applied to | Outcome |
|
|
155
|
+
| -- | -- | -- |
|
|
156
|
+
| `.pf-c-banner` | `<div>` | Initiates a banner. **Required** |
|
|
157
|
+
| `.pf-m-blue` | `.pf-c-banner` | Modifies banner for blue styling. |
|
|
158
|
+
| `.pf-m-red` | `.pf-c-banner` | Modifies banner for red styling. |
|
|
159
|
+
| `.pf-m-green` | `.pf-c-banner` | Modifies banner for green styling. |
|
|
160
|
+
| `.pf-m-gold` | `.pf-c-banner` | Modifies banner for gold styling. |
|
|
161
|
+
| `.pf-m-sticky` | `.pf-c-banner` | Modifies banner to be sticky to the top of its container. |
|
|
@@ -50,15 +50,15 @@ Simple brand component.
|
|
|
50
50
|
|
|
51
51
|
### Accessibility
|
|
52
52
|
|
|
53
|
-
| Attribute | Applied to
|
|
54
|
-
|
|
|
55
|
-
| `alt`
|
|
53
|
+
| Attribute | Applied to | Outcome |
|
|
54
|
+
| -- | -- | -- |
|
|
55
|
+
| `alt` | `.pf-c-brand` | The alt attribute specifies an alternate text for an image, if the image cannot be displayed. **Required** |
|
|
56
56
|
|
|
57
57
|
### Usage
|
|
58
58
|
|
|
59
|
-
| Class
|
|
60
|
-
|
|
|
61
|
-
| `.pf-c-brand`
|
|
62
|
-
| `.pf-m-picture`
|
|
63
|
-
| `--pf-c-brand--Width{-on-[breakpoint]}: {width}`
|
|
64
|
-
| `--pf-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-c-brand`
|
|
59
|
+
| Class | Applied to | Outcome |
|
|
60
|
+
| -- | -- | -- |
|
|
61
|
+
| `.pf-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
|
|
62
|
+
| `.pf-m-picture` | `.pf-c-brand` | Modifies a brand image to a picture. |
|
|
63
|
+
| `--pf-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-c-brand` | Modifies the width value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
64
|
+
| `--pf-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-c-brand` | Modifies the height value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -275,26 +275,26 @@ cssPrefix: pf-c-breadcrumb
|
|
|
275
275
|
|
|
276
276
|
A breadcrumb is a list of links to display a user's navigational hierarchy. The last item of the breadcrumb list indicates the current page's location.
|
|
277
277
|
|
|
278
|
-
|
|
278
|
+
* `.pf-c-breadcrumb__list` is the default breadcrumb navigation. It provides links to previous navigation pages and also shows the current page's location.
|
|
279
279
|
|
|
280
280
|
In the event that a page does not have a traditional `<h1>` page title, a heading can be included in the breadcrumbs and an optional link within.
|
|
281
281
|
|
|
282
282
|
### Accessibility
|
|
283
283
|
|
|
284
|
-
| Attribute
|
|
285
|
-
|
|
|
286
|
-
| `aria-label="[landmark description]"` | `.pf-c-breadcrumb`
|
|
287
|
-
| `aria-label="[link name]"`
|
|
288
|
-
| `aria-current="page"`
|
|
284
|
+
| Attribute | Applied to | Outcome |
|
|
285
|
+
| -- | -- | -- |
|
|
286
|
+
| `aria-label="[landmark description]"` | `.pf-c-breadcrumb` | Describes `<nav>` landmark. |
|
|
287
|
+
| `aria-label="[link name]"` | `.pf-c-breadcrumb__link` | If link has no text (icon), add an aria-label. |
|
|
288
|
+
| `aria-current="page"` | `.pf-c-breadcrumb__item`, `.pf-c-breadcrumb__link` | Indicates the current page within a set of pages. |
|
|
289
289
|
|
|
290
290
|
### Usage
|
|
291
291
|
|
|
292
|
-
| Class
|
|
293
|
-
|
|
|
294
|
-
| `.pf-c-breadcrumb`
|
|
295
|
-
| `.pf-c-breadcrumb__list`
|
|
296
|
-
| `.pf-c-breadcrumb__item`
|
|
297
|
-
| `.pf-c-breadcrumb__item-divider` | `<span>`
|
|
298
|
-
| `.pf-c-breadcrumb__link`
|
|
299
|
-
| `.pf-c-breadcrumb__title`
|
|
300
|
-
| `.pf-m-current`
|
|
292
|
+
| Class | Applied to | Outcome |
|
|
293
|
+
| -- | -- | -- |
|
|
294
|
+
| `.pf-c-breadcrumb` | `<nav>` | Initiates a primary breadcrumb element. **Required** |
|
|
295
|
+
| `.pf-c-breadcrumb__list` | `<ol>` | Initiates default breadcrumb ordered list. |
|
|
296
|
+
| `.pf-c-breadcrumb__item` | `<li>` | Initiates default breadcrumb list item. |
|
|
297
|
+
| `.pf-c-breadcrumb__item-divider` | `<span>` | Initiates default breadcrumb list item divider. |
|
|
298
|
+
| `.pf-c-breadcrumb__link` | `<a>`, `<button>` | Initiates default breadcrumb list link. |
|
|
299
|
+
| `.pf-c-breadcrumb__title` | `<h1>` | Initiates breadcrumb header. |
|
|
300
|
+
| `.pf-m-current` | `.pf-c-breadcrumb__link` | Modifies to display the list item as the current item. |
|
|
@@ -479,41 +479,41 @@ Semantic buttons and links are important for usability as well as accessibility.
|
|
|
479
479
|
|
|
480
480
|
### Accessibility
|
|
481
481
|
|
|
482
|
-
| Attribute
|
|
483
|
-
|
|
|
484
|
-
| `aria-pressed="true or false"`
|
|
485
|
-
| `aria-label="[button label text]"` | `.pf-c-button.pf-m-plain`
|
|
486
|
-
| `aria-label="[descriptive text]"`
|
|
487
|
-
| `disabled`
|
|
488
|
-
| `aria-disabled="true"`
|
|
489
|
-
| `aria-disabled="true"`
|
|
490
|
-
| `aria-expanded="true"`
|
|
491
|
-
| `tabindex="-1"`
|
|
492
|
-
| `tabindex="0"`
|
|
482
|
+
| Attribute | Applied to | Outcome |
|
|
483
|
+
| -- | -- | -- |
|
|
484
|
+
| `aria-pressed="true or false"` | `.pf-c-button` | Indicates that the button is a toggle. When set to "true", `pf-m-active` should also be set so that the button displays in an active state. **Required when button is a toggle** |
|
|
485
|
+
| `aria-label="[button label text]"` | `.pf-c-button.pf-m-plain` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
|
|
486
|
+
| `aria-label="[descriptive text]"` | `a.pf-c-button`, `span.pf-c-button.pf-m-link.pf-m-inline` | The button component's text should adequately describe its purpose. If it does not, `aria-label` can provide more detailed interaction information. |
|
|
487
|
+
| `disabled` | `button.pf-c-button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
|
|
488
|
+
| `aria-disabled="true"` | `button.pf-c-button` | When a button element is used, indicates that it is unavailable but does not prevent keyboard or hover interactions. Used when a disabled button provides interactive elements like a tooltip. |
|
|
489
|
+
| `aria-disabled="true"` | `a.pf-c-button.pf-m-disabled`, `span.pf-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, indicates that it is unavailable. **Required when element is disabled** |
|
|
490
|
+
| `aria-expanded="true"` | `.pf-c-button.pf-m-expanded` | Indicates that the expanded content element is visible. **Required** |
|
|
491
|
+
| `tabindex="-1"` | `a.pf-c-button.pf-m-disabled`, `span.pf-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, removes it from keyboard focus. **Required when element is disabled** |
|
|
492
|
+
| `tabindex="0"` | `span.pf-c-button.pf-m-link.pf-m-inline` | Inserts the span into the tab order of the page so that it is focusable. **Required when the element is a span** |
|
|
493
493
|
|
|
494
494
|
### Usage
|
|
495
495
|
|
|
496
|
-
| Class
|
|
497
|
-
|
|
|
498
|
-
| `.pf-c-button`
|
|
499
|
-
| `.pf-c-button__icon`
|
|
500
|
-
| `.pf-c-button__progress` | `<span>`
|
|
501
|
-
| `.pf-c-button__count`
|
|
502
|
-
| `.pf-m-primary`
|
|
503
|
-
| `.pf-m-secondary`
|
|
504
|
-
| `.pf-m-tertiary`
|
|
505
|
-
| `.pf-m-danger`
|
|
506
|
-
| `.pf-m-link`
|
|
507
|
-
| `.pf-m-plain`
|
|
508
|
-
| `.pf-m-inline`
|
|
509
|
-
| `.pf-m-block`
|
|
510
|
-
| `.pf-m-control`
|
|
511
|
-
| `.pf-m-expanded`
|
|
512
|
-
| `.pf-m-start`
|
|
513
|
-
| `.pf-m-end`
|
|
514
|
-
| `.pf-m-active`
|
|
515
|
-
| `.pf-m-small`
|
|
516
|
-
| `.pf-m-aria-disabled`
|
|
517
|
-
| `.pf-m-display-lg`
|
|
518
|
-
| `.pf-m-progress`
|
|
519
|
-
| `.pf-m-in-progress`
|
|
496
|
+
| Class | Applied to | Outcome |
|
|
497
|
+
| -- | -- | -- |
|
|
498
|
+
| `.pf-c-button` | `<button>` | Initiates a button. Always use it with a modifier class. **Required** |
|
|
499
|
+
| `.pf-c-button__icon` | `<span>` | Initiates a button icon. |
|
|
500
|
+
| `.pf-c-button__progress` | `<span>` | Initiates a button progress container. |
|
|
501
|
+
| `.pf-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons.|
|
|
502
|
+
| `.pf-m-primary` | `.pf-c-button` | Modifies for primary styles. |
|
|
503
|
+
| `.pf-m-secondary` | `.pf-c-button` | Modifies for secondary styles. |
|
|
504
|
+
| `.pf-m-tertiary` | `.pf-c-button` | Modifies for tertiary styles. |
|
|
505
|
+
| `.pf-m-danger` | `.pf-c-button` | Modifies for danger styles. |
|
|
506
|
+
| `.pf-m-link` | `.pf-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
|
|
507
|
+
| `.pf-m-plain` | `.pf-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
|
|
508
|
+
| `.pf-m-inline` | `.pf-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
|
|
509
|
+
| `.pf-m-block` | `.pf-c-button` | Creates a block level button. |
|
|
510
|
+
| `.pf-m-control` | `.pf-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
|
|
511
|
+
| `.pf-m-expanded` | `.pf-c-button.pf-m-control` | Modifies a control button for the expanded state. |
|
|
512
|
+
| `.pf-m-start` | `.pf-c-button__icon` | Applies right spacing to an icon inside of a button when the icon comes before text. |
|
|
513
|
+
| `.pf-m-end` | `.pf-c-button__icon` | Applies left spacing to an icon inside of a button when the icon comes after text. |
|
|
514
|
+
| `.pf-m-active` | `.pf-c-button` | Forces display of the active state of the button. This modifier should be used when `aria-pressed` is set to true so that the button displays in an active state. |
|
|
515
|
+
| `.pf-m-small` | `.pf-c-button` | Modifies the button so that it has small font size. |
|
|
516
|
+
| `.pf-m-aria-disabled` | `.pf-c-button` | Modifies a button to be visually disabled, yet is still focusable. |
|
|
517
|
+
| `.pf-m-display-lg` | `.pf-c-button`, `pf-c-button.pf-m-link` | Modifies the button and link button for large display styling. For example, use this modifier to achieve "call to action" styles. |
|
|
518
|
+
| `.pf-m-progress` | `.pf-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
|
|
519
|
+
| `.pf-m-in-progress` | `.pf-c-button` | Indicates that the button is in the in progress state. |
|
|
@@ -1597,38 +1597,38 @@ cssPrefix: pf-c-calendar-month
|
|
|
1597
1597
|
|
|
1598
1598
|
### Accessibility
|
|
1599
1599
|
|
|
1600
|
-
| Attribute
|
|
1601
|
-
|
|
|
1602
|
-
| `aria-hidden="true"`
|
|
1603
|
-
| `aria-hidden="true"`
|
|
1604
|
-
| `.pf-screen-reader`
|
|
1605
|
-
| `aria-label="[Prev/Next] month"`
|
|
1606
|
-
| `disabled`
|
|
1607
|
-
| `aria-label="[date] [month] [year]"` | `.pf-c-calendar-month__date`
|
|
1600
|
+
| Attribute | Applied to | Outcome |
|
|
1601
|
+
| -- | -- | -- |
|
|
1602
|
+
| `aria-hidden="true"` | `.pf-c-calendar-month__header-nav-control > button > [icon]` | Hides the nav control icon from assistive technologies. **Required** |
|
|
1603
|
+
| `aria-hidden="true"` | `.pf-c-calendar-month__day > span` | Hides the visual day of the month label from assistive technologies. **Required** |
|
|
1604
|
+
| `.pf-screen-reader` | `.pf-c-calendar-month__day > span` | Hides the full day of the month text visually. **Required** |
|
|
1605
|
+
| `aria-label="[Prev/Next] month"` | `.pf-c-calendar-month__header-nav-control` | Provides an accessible label for the nav controls. **Required** |
|
|
1606
|
+
| `disabled` | `.pf-c-calendar-month__date` | Indicates that a date is selected. **Required when the parent is `.pf-c-calendar-month__dates-cell.pf-m-disabled`** |
|
|
1607
|
+
| `aria-label="[date] [month] [year]"` | `.pf-c-calendar-month__date` | Provides an accessible label for the date button. **Required** |
|
|
1608
1608
|
|
|
1609
1609
|
### Usage
|
|
1610
1610
|
|
|
1611
|
-
| Class
|
|
1612
|
-
|
|
|
1613
|
-
| `.pf-c-calendar-month`
|
|
1614
|
-
| `.pf-c-calendar-month__header`
|
|
1615
|
-
| `.pf-c-calendar-month__header-nav-control` | `<div>`
|
|
1616
|
-
| `.pf-c-calendar-month__header-month`
|
|
1617
|
-
| `.pf-c-calendar-month__header-year`
|
|
1618
|
-
| `.pf-c-calendar-month__calendar`
|
|
1619
|
-
| `.pf-c-calendar-month__days`
|
|
1620
|
-
| `.pf-c-calendar-month__days-row`
|
|
1621
|
-
| `.pf-c-calendar-month__day`
|
|
1622
|
-
| `.pf-c-calendar-month__dates`
|
|
1623
|
-
| `.pf-c-calendar-month__dates-row`
|
|
1624
|
-
| `.pf-c-calendar-month__dates-cell`
|
|
1625
|
-
| `.pf-c-calendar-month__date`
|
|
1626
|
-
| `.pf-m-prev-month`
|
|
1627
|
-
| `.pf-m-next-month`
|
|
1628
|
-
| `.pf-m-current`
|
|
1629
|
-
| `.pf-m-selected`
|
|
1630
|
-
| `.pf-m-start-range`
|
|
1631
|
-
| `.pf-m-in-range`
|
|
1632
|
-
| `.pf-m-end-range`
|
|
1633
|
-
| `.pf-m-adjacent-month`
|
|
1634
|
-
| `.pf-m-disabled`
|
|
1611
|
+
| Class | Applied to | Outcome |
|
|
1612
|
+
| -- | -- | -- |
|
|
1613
|
+
| `.pf-c-calendar-month` | `<div>` | Initiates the calendar month component. **Required** |
|
|
1614
|
+
| `.pf-c-calendar-month__header` | `<div>` | Initiates the calendar month header. **Required** |
|
|
1615
|
+
| `.pf-c-calendar-month__header-nav-control` | `<div>` | Initiates a nav control for navigating by month. **Required** |
|
|
1616
|
+
| `.pf-c-calendar-month__header-month` | `<div>` | Initiates the month select. **Required** |
|
|
1617
|
+
| `.pf-c-calendar-month__header-year` | `<div>` | Initiates the year input. **Required** |
|
|
1618
|
+
| `.pf-c-calendar-month__calendar` | `<table>` | Initiates the calendar. **Required** |
|
|
1619
|
+
| `.pf-c-calendar-month__days` | `<thead>` | Initiates the calendar days section. **Required** |
|
|
1620
|
+
| `.pf-c-calendar-month__days-row` | `<tr>` | Initiates the calendar days row. **Required** |
|
|
1621
|
+
| `.pf-c-calendar-month__day` | `<th>` | Initiates a calendar day. **Required** |
|
|
1622
|
+
| `.pf-c-calendar-month__dates` | `<tbody>` | Initiates the calendar dates section. **Required** |
|
|
1623
|
+
| `.pf-c-calendar-month__dates-row` | `<tr>` | Initiates a calendar dates row. **Required** |
|
|
1624
|
+
| `.pf-c-calendar-month__dates-cell` | `<td>` | Initiates a calendar date cell. **Required** |
|
|
1625
|
+
| `.pf-c-calendar-month__date` | `<button>` | Initiates a calendar date. **Required** |
|
|
1626
|
+
| `.pf-m-prev-month` | `.pf-c-calendar-month__header-nav-control` | Indicates a nav control is the previous month. **Required** |
|
|
1627
|
+
| `.pf-m-next-month` | `.pf-c-calendar-month__header-nav-control` | Indicates a nav control is the next month. **Required** |
|
|
1628
|
+
| `.pf-m-current` | `.pf-c-calendar-month__dates-cell` | Indicates a date is the current day. **Required** |
|
|
1629
|
+
| `.pf-m-selected` | `.pf-c-calendar-month__dates-cell` | Indicates a date is selected. |
|
|
1630
|
+
| `.pf-m-start-range` | `.pf-c-calendar-month__dates-cell` | Indicates a date is the start of a range. |
|
|
1631
|
+
| `.pf-m-in-range` | `.pf-c-calendar-month__dates-cell` | Indicates a date is in a range. |
|
|
1632
|
+
| `.pf-m-end-range` | `.pf-c-calendar-month__dates-cell` | Indicates a date is the end of a range. |
|
|
1633
|
+
| `.pf-m-adjacent-month` | `.pf-c-calendar-month__dates-cell` | Indicates a date is in an adjacent month. |
|
|
1634
|
+
| `.pf-m-disabled` | `.pf-c-calendar-month__dates-cell` | Indicates a date is disabled and unavailable. |
|
|
@@ -906,30 +906,30 @@ A card is a generic rectangular container that can be used to build other compon
|
|
|
906
906
|
|
|
907
907
|
### Usage
|
|
908
908
|
|
|
909
|
-
| Class
|
|
910
|
-
|
|
|
911
|
-
| `.pf-c-card`
|
|
912
|
-
| `.pf-c-card__title`
|
|
913
|
-
| `.pf-c-card__body`
|
|
914
|
-
| `.pf-c-card__footer`
|
|
915
|
-
| `.pf-c-card__header`
|
|
916
|
-
| `.pf-c-card__header-toggle`
|
|
917
|
-
| `.pf-c-card__header-toggle-icon` | `<span>`
|
|
918
|
-
| `.pf-c-card__actions`
|
|
919
|
-
| `.pf-c-card__header-main`
|
|
920
|
-
| `.pf-c-card__expandable-content` | `<div>`
|
|
921
|
-
| `.pf-c-card__sr-input`
|
|
922
|
-
| `.pf-m-compact`
|
|
923
|
-
| `.pf-m-display-lg`
|
|
924
|
-
| `.pf-m-no-fill`
|
|
925
|
-
| `.pf-m-hoverable-raised`
|
|
926
|
-
| `.pf-m-selectable-raised`
|
|
927
|
-
| `.pf-m-selected-raised`
|
|
928
|
-
| `.pf-m-non-selectable-raised`
|
|
929
|
-
| `.pf-m-flat`
|
|
930
|
-
| `.pf-m-rounded`
|
|
931
|
-
| `.pf-m-plain`
|
|
932
|
-
| `.pf-m-expanded`
|
|
933
|
-
| `.pf-m-toggle-right`
|
|
934
|
-
| `.pf-m-full-height`
|
|
935
|
-
| `.pf-m-no-offset`
|
|
909
|
+
| Class | Applied | Outcome |
|
|
910
|
+
| ---- | ---- | ---- |
|
|
911
|
+
| `.pf-c-card` | `<div>` | Creates a card component. **Required** |
|
|
912
|
+
| `.pf-c-card__title` | `<div>` | Creates the title of a card. |
|
|
913
|
+
| `.pf-c-card__body` | `<div>` | Creates the body of a card. By default, the body element fills the available space in the card. You can use multiple `.pf-c-card__body` elements. |
|
|
914
|
+
| `.pf-c-card__footer` | `<div>` | Creates the footer of a card. |
|
|
915
|
+
| `.pf-c-card__header` | `<div>` | Creates the header of the card where images, actions, and/or the card title can go. |
|
|
916
|
+
| `.pf-c-card__header-toggle` | `<div>` | Creates the expandable card toggle. |
|
|
917
|
+
| `.pf-c-card__header-toggle-icon` | `<span>` | Creates the expandable card toggle icon. |
|
|
918
|
+
| `.pf-c-card__actions` | `<div>` | Creates an actions element to be used in the card header. |
|
|
919
|
+
| `.pf-c-card__header-main` | `<div>` | Creates a wrapper element to be used in the card header when using an image, logo, or text. **Required if `.pf-c-card__header` has content outside of a card header toggle or card header actions** |
|
|
920
|
+
| `.pf-c-card__expandable-content` | `<div>` | Creates the expandable card's expandable content. |
|
|
921
|
+
| `.pf-c-card__sr-input` | `<input>` | Creates an input which, when focused, makes a following `.pf-c-card` appear focused. |
|
|
922
|
+
| `.pf-m-compact` | `.pf-c-card` | Creates a compact variation of the card component that involves smaller font sizes and spacing. This variation is for use on dashboards and where a smaller card is preferred. |
|
|
923
|
+
| `.pf-m-display-lg` | `.pf-c-card` | Creates a large variation of the card component that involves larger font sizes and spacing. This variation is for marketing use cases. |
|
|
924
|
+
| `.pf-m-no-fill` | `.pf-c-card__body` | Sets a `.pf-c-card__body` to not fill the available space in `.pf-c-card`. `.pf-m-no-fill` can be added to multiple card bodies. |
|
|
925
|
+
| `.pf-m-hoverable-raised` | `.pf-c-card` | Modifies the card to include hover styles on `:hover`. |
|
|
926
|
+
| `.pf-m-selectable-raised` | `.pf-c-card` | Modifies a selectable card so that it is selectable. |
|
|
927
|
+
| `.pf-m-selected-raised` | `.pf-c-card.pf-m-selectable-raised` | Modifies a selectable card for the selected state. |
|
|
928
|
+
| `.pf-m-non-selectable-raised` | `.pf-c-card` | Modifies a selectable card so that it is not selectable. |
|
|
929
|
+
| `.pf-m-flat` | `.pf-c-card` | Modifies the card to have a border instead of a shadow. `.pf-m-flat` is for use in layouts where cards are against a white background. |
|
|
930
|
+
| `.pf-m-rounded` | `.pf-c-card` | Modifies the card to have rounded corners. |
|
|
931
|
+
| `.pf-m-plain` | `.pf-c-card` | Modifies the card to have no box shadow and no background color. |
|
|
932
|
+
| `.pf-m-expanded` | `.pf-c-card` | Modifies the card for the expanded state. |
|
|
933
|
+
| `.pf-m-toggle-right` | `.pf-c-card__header` | Modifies the expandable card header toggle to be positioned at flex-end. |
|
|
934
|
+
| `.pf-m-full-height` | `.pf-c-card` | Modifies the card to full height of its parent. |
|
|
935
|
+
| `.pf-m-no-offset` | `.pf-c-card__actions` | Removes the negative vertical margins on the actions element intended to align the action content with the card title. |
|
|
@@ -209,20 +209,20 @@ If you extend this component or modify the styles of this component, then make s
|
|
|
209
209
|
|
|
210
210
|
### Accessibility
|
|
211
211
|
|
|
212
|
-
| Attribute
|
|
213
|
-
|
|
|
212
|
+
| Attribute | Applied to | Outcome |
|
|
213
|
+
| -- | -- | -- |
|
|
214
214
|
| `disabled` | `.pf-c-check__input` | Indicates that the element is unavailable and removes it from keyboard focus. **Required when input is disabled** |
|
|
215
|
-
| `required` | `.pf-c-check__input` | Indicates that the element is required.
|
|
215
|
+
| `required` | `.pf-c-check__input` | Indicates that the element is required. |
|
|
216
216
|
|
|
217
217
|
### Usage
|
|
218
218
|
|
|
219
|
-
| Class
|
|
220
|
-
|
|
|
221
|
-
| `.pf-c-check`
|
|
222
|
-
| `.pf-c-check__input`
|
|
223
|
-
| `.pf-c-check__label`
|
|
224
|
-
| `.pf-c-check__label-required` | `<span>`
|
|
225
|
-
| `.pf-c-check__description`
|
|
226
|
-
| `.pf-c-check__body`
|
|
227
|
-
| `.pf-m-standalone`
|
|
228
|
-
| `.pf-m-disabled`
|
|
219
|
+
| Class | Applied to | Outcome |
|
|
220
|
+
| -- | -- | -- |
|
|
221
|
+
| `.pf-c-check` | `<div>`, `<label>` | Initiates the check component. **Required** |
|
|
222
|
+
| `.pf-c-check__input` | `<input type="checkbox">` | Initiates a check input. **Required** |
|
|
223
|
+
| `.pf-c-check__label` | `<label>`, `<span>` | Initiates a label. **Required** |
|
|
224
|
+
| `.pf-c-check__label-required` | `<span>` | Initiates a required indicator. |
|
|
225
|
+
| `.pf-c-check__description` | `<span>` | Initiates a check description. |
|
|
226
|
+
| `.pf-c-check__body` | `<span>` | Initiates a check body. |
|
|
227
|
+
| `.pf-m-standalone` | `.pf-c-check` | Modifies the check component for use with a standalone `<input type="checkbox">`. **Required when there is no label** |
|
|
228
|
+
| `.pf-m-disabled` | `.pf-c-check__label` | Modifies the check component for the disabled state. **Required when input is disabled** |
|