@patternfly/patternfly 5.0.0-alpha.14 → 5.0.0-alpha.18
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/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 -31
- 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 -47
- 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 +196 -176
- package/patternfly.css +196 -176
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -67,19 +67,19 @@ cssPrefix: pf-c-table
|
|
|
67
67
|
|
|
68
68
|
### Basic table accessibility
|
|
69
69
|
|
|
70
|
-
| Attribute
|
|
71
|
-
|
|
|
72
|
-
| `role="grid"`
|
|
73
|
-
| `aria-label`
|
|
74
|
-
| `data-label="[td description]"` | `<td>`
|
|
70
|
+
| Attribute | Applied to | Outcome |
|
|
71
|
+
| -- | -- | -- |
|
|
72
|
+
| `role="grid"` | `.pf-c-table` | Identifies the element that serves as the grid widget container. **Required** |
|
|
73
|
+
| `aria-label` | `.pf-c-table` | Provides an accessible name for the table when a descriptive `<caption>` or `<h*>` is not available. **Required in the absence of `<caption>` or `<h*>`** |
|
|
74
|
+
| `data-label="[td description]"` | `<td>` | This attribute replaces table header in mobile viewport. It is rendered by `::before` pseudo element. |
|
|
75
75
|
|
|
76
76
|
### Basic table usage
|
|
77
77
|
|
|
78
|
-
| Class
|
|
79
|
-
|
|
|
80
|
-
| `.pf-c-table`
|
|
81
|
-
| `.pf-c-table__caption` | `<caption>`
|
|
82
|
-
| `.pf-m-center`
|
|
78
|
+
| Class | Applied to | Outcome |
|
|
79
|
+
| -- | -- | -- |
|
|
80
|
+
| `.pf-c-table` | `<table>` | Initiates a table element. **Required** |
|
|
81
|
+
| `.pf-c-table__caption` | `<caption>` | Initiates a table caption. |
|
|
82
|
+
| `.pf-m-center` | `<th>`, `<td>` | Modifies cell to center its contents. |
|
|
83
83
|
|
|
84
84
|
## Responsive table behavior
|
|
85
85
|
|
|
@@ -87,10 +87,10 @@ cssPrefix: pf-c-table
|
|
|
87
87
|
|
|
88
88
|
These classes can be used to ensure that the table changes between the tabular and grid-based layout at an appropriate screen width.
|
|
89
89
|
|
|
90
|
-
| Class
|
|
91
|
-
|
|
|
90
|
+
| Class | Applied to | Outcome |
|
|
91
|
+
| -- | -- | -- |
|
|
92
92
|
| `.pf-m-grid-md`, `.pf-m-grid-lg`, `.pf-m-grid-xl`, `.pf-m-grid-2xl` | `.pf-c-table` | Changes tabular layout to responsive, grid based layout at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
93
|
-
| `.pf-m-grid`
|
|
93
|
+
| `.pf-m-grid` | `.pf-c-table` | Changes tabular layout to responsive, grid based layout. This approach requires JavaScript to set this class at some prescribed viewport width value. |
|
|
94
94
|
|
|
95
95
|
## Sortable
|
|
96
96
|
|
|
@@ -218,23 +218,23 @@ These classes can be used to ensure that the table changes between the tabular a
|
|
|
218
218
|
|
|
219
219
|
### Sortable accessibility
|
|
220
220
|
|
|
221
|
-
| Attribute
|
|
222
|
-
|
|
|
221
|
+
| Attribute | Applied to | Outcome |
|
|
222
|
+
| -- | -- | -- |
|
|
223
223
|
| `aria-sort=[ascending or descending]` | `.pf-c-table__sort` | Indicates if columns in a table are sorted in ascending or descending order. For each table, authors **SHOULD** apply aria-sort to only one header at a time. **Required** |
|
|
224
224
|
|
|
225
225
|
### Sortable usage
|
|
226
226
|
|
|
227
|
-
| Class
|
|
228
|
-
|
|
|
229
|
-
| `.pf-c-table__sort`
|
|
230
|
-
| `.pf-c-table__button`
|
|
231
|
-
| `.pf-c-table__button-content` | `<div>`
|
|
232
|
-
| `.pf-c-table__sort-indicator` | `.pf-c-table__sort > .pf-c-table__button > span`
|
|
233
|
-
| `.pf-m-selected`
|
|
234
|
-
| `.pf-m-help`
|
|
235
|
-
| `.fa-arrows-alt-v`
|
|
236
|
-
| `.fa-long-arrow-alt-up`
|
|
237
|
-
| `.fa-long-arrow-alt-down`
|
|
227
|
+
| Class | Applied to | Outcome |
|
|
228
|
+
| -- | -- | -- |
|
|
229
|
+
| `.pf-c-table__sort` | `<th>` | Initiates a table header sort cell. **Required for sortable table columns** |
|
|
230
|
+
| `.pf-c-table__button` | `<button>`, `<a>` | Initiates a table header sort cell button. If sorting a table row generates a unique URL that can be used as the `href` value for this element, use an `<a>`. Otherwise, use a `<button>`. **Required for sortable table columns** |
|
|
231
|
+
| `.pf-c-table__button-content` | `<div>` | Initiates a table header sort cell button content container. **Required for sortable table columns** Note: this is only necessary because `<button>` does not support`display: grid`. |
|
|
232
|
+
| `.pf-c-table__sort-indicator` | `.pf-c-table__sort > .pf-c-table__button > span` | Initiates a sort indicator. **Required for sortable table columns** |
|
|
233
|
+
| `.pf-m-selected` | `.pf-c-table__sort` | Modifies for sort selected state. **Required for sortable table columns** |
|
|
234
|
+
| `.pf-m-help` | `.pf-c-table__sort`, `.pf-c-table th` | Modifies a sortable table header to accommodate a help tooltip. **Required for sortable table columns with help tooltips** |
|
|
235
|
+
| `.fa-arrows-alt-v` | `.pf-c-table__sort > .pf-c-table__button > .pf-c-table__sort-indicator > .fas` | Initiates icon within unsorted, sortable table header. **Required for sortable table columns** |
|
|
236
|
+
| `.fa-long-arrow-alt-up` | `.pf-c-table__sort > .pf-c-table__button > .pf-c-table__sort-indicator > .fas` | Initiates icon within ascending sorted and selected, sortable table header. **Required for sortable table columns** |
|
|
237
|
+
| `.fa-long-arrow-alt-down` | `.pf-c-table__sort > .pf-c-table__button > .pf-c-table__sort-indicator > .fas` | Initiates icon within descending sorted and selected, sortable table header. **Required for sortable table columns** |
|
|
238
238
|
|
|
239
239
|
### Overflow menu usage, desktop
|
|
240
240
|
|
|
@@ -1105,18 +1105,18 @@ When header cells are empty or they contain interactive elements, `<th>` should
|
|
|
1105
1105
|
|
|
1106
1106
|
### Checkboxes, radio select, and actions accessibility
|
|
1107
1107
|
|
|
1108
|
-
| Attribute
|
|
1109
|
-
|
|
|
1110
|
-
| `aria-labelledby="[row_header_id]"` or `aria-label="[descriptive text]` | `.pf-c-table__check input` | Provides an accessible name for the checkbox or radio input. **Required**
|
|
1111
|
-
| `id`
|
|
1108
|
+
| Attribute | Applied to | Outcome |
|
|
1109
|
+
| -- | -- | -- |
|
|
1110
|
+
| `aria-labelledby="[row_header_id]"` or `aria-label="[descriptive text]` | `.pf-c-table__check input` | Provides an accessible name for the checkbox or radio input. **Required** |
|
|
1111
|
+
| `id` | row header `<th> > *` | Provides an accessible description for the checkbox or radio. **Required if using `aria-labelledby` for `.pf-c-table__check input`** |
|
|
1112
1112
|
|
|
1113
1113
|
### Checkboxes, radio select, and actions usage
|
|
1114
1114
|
|
|
1115
|
-
| Class
|
|
1116
|
-
|
|
|
1117
|
-
| `.pf-c-table__check`
|
|
1118
|
-
| `.pf-c-table__action`
|
|
1119
|
-
| `.pf-c-table__inline-edit-action` | `<th>`, `<td>` | Initiates an inline edit action table cell.
|
|
1115
|
+
| Class | Applied to | Outcome |
|
|
1116
|
+
| -- | -- | -- |
|
|
1117
|
+
| `.pf-c-table__check` | `<th>`, `<td>` | Initiates a checkbox or radio input table cell. |
|
|
1118
|
+
| `.pf-c-table__action` | `<th>`, `<td>` | Initiates an action table cell. |
|
|
1119
|
+
| `.pf-c-table__inline-edit-action` | `<th>`, `<td>` | Initiates an inline edit action table cell. |
|
|
1120
1120
|
|
|
1121
1121
|
## Expandable
|
|
1122
1122
|
|
|
@@ -2609,24 +2609,24 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
2609
2609
|
|
|
2610
2610
|
### Expandable accessibility
|
|
2611
2611
|
|
|
2612
|
-
| Attribute
|
|
2613
|
-
|
|
|
2614
|
-
| `hidden`
|
|
2615
|
-
| `aria-expanded="true"`
|
|
2616
|
-
| `aria-label="[descriptive text]"`
|
|
2617
|
-
| `aria-labelledby="[title_cell_id] [button_id]"`
|
|
2618
|
-
| `id="[button_id]"`
|
|
2612
|
+
| Attribute | Applied to | Outcome |
|
|
2613
|
+
| -- | -- | -- |
|
|
2614
|
+
| `hidden` | `.pf-c-table__expandable-row` | Indicates that the expandable content is hidden. **Required** |
|
|
2615
|
+
| `aria-expanded="true"` | `.pf-c-table__toggle` > `.pf-c-button` | Indicates that the row is visible. **Required**|
|
|
2616
|
+
| `aria-label="[descriptive text]"` | `.pf-c-table__toggle` > `.pf-c-button` | Provides an accessible name for toggle button. **Required**|
|
|
2617
|
+
| `aria-labelledby="[title_cell_id] [button_id]"` | `.pf-c-table__toggle` > `.pf-c-button` | Provides an accessible description for toggle button. **Required** |
|
|
2618
|
+
| `id="[button_id]"` | `.pf-c-table__toggle` > `.pf-c-button` | Provides a reference for toggle button description. **Required** |
|
|
2619
2619
|
| `aria-controls="[id of element the button controls]"` | `.pf-c-table__toggle` > `.pf-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
|
|
2620
2620
|
|
|
2621
2621
|
### Expandable usage
|
|
2622
2622
|
|
|
2623
|
-
| Class
|
|
2624
|
-
|
|
|
2625
|
-
| `.pf-c-table__toggle-icon`
|
|
2626
|
-
| `.pf-c-table__expandable-row`
|
|
2627
|
-
| `.pf-c-table__expandable-row-content` | `.pf-c-table__expandable-row` > `<td>` > `<div>`
|
|
2628
|
-
| `.pf-m-expanded`
|
|
2629
|
-
| `.pf-m-no-padding`
|
|
2623
|
+
| Class | Applied to | Outcome |
|
|
2624
|
+
| -- | -- | -- |
|
|
2625
|
+
| `.pf-c-table__toggle-icon` | `<span>` | Initiates the table toggle icon wrapper. |
|
|
2626
|
+
| `.pf-c-table__expandable-row` | `<tr>` | Initiates an expandable row. |
|
|
2627
|
+
| `.pf-c-table__expandable-row-content` | `.pf-c-table__expandable-row` > `<td>` > `<div>` | Initiates an expandable row content wrapper. |
|
|
2628
|
+
| `.pf-m-expanded` | `.pf-c-table__toggle` > `.pf-c-button`, `.pf-c-table__expandable-row` | Modifies for expanded state. |
|
|
2629
|
+
| `.pf-m-no-padding` | `.pf-c-table__expandable-row` > `<td>` | Modifies the expandable row to have no padding. |
|
|
2630
2630
|
|
|
2631
2631
|
## Compound expansion
|
|
2632
2632
|
|
|
@@ -5940,19 +5940,19 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
5940
5940
|
|
|
5941
5941
|
### Compound expansion accessibility
|
|
5942
5942
|
|
|
5943
|
-
| Attribute
|
|
5944
|
-
|
|
|
5945
|
-
| `hidden`
|
|
5946
|
-
| `aria-expanded="true"`
|
|
5943
|
+
| Attribute | Applied to | Outcome |
|
|
5944
|
+
| -- | -- | -- |
|
|
5945
|
+
| `hidden` | `.pf-c-table__expandable-row` | Indicates that the expandable content is hidden. **Required** |
|
|
5946
|
+
| `aria-expanded="true"` | `.pf-c-table__compound-expansion-toggle` > `.pf-c-button` | Indicates that the row is visible. **Required**|
|
|
5947
5947
|
| `aria-controls="[id of element the button controls]"` | `.pf-c-table__compound-expansion-toggle` > `.pf-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
|
|
5948
5948
|
|
|
5949
5949
|
### Compound expansion usage
|
|
5950
5950
|
|
|
5951
|
-
| Class
|
|
5952
|
-
|
|
|
5953
|
-
| `.pf-c-table__control-row`
|
|
5954
|
-
| `.pf-m-expanded`
|
|
5955
|
-
| `.pf-c-table__compound-expansion-toggle` | `<td>`
|
|
5951
|
+
| Class | Applied to | Outcome |
|
|
5952
|
+
| -- | -- | -- |
|
|
5953
|
+
| `.pf-c-table__control-row` | `.pf-c-table__expandable > <tr>` | Modifies a compound expandable table control row. |
|
|
5954
|
+
| `.pf-m-expanded` | `<tbody>`, `.pf-c-table__compound-expansion-toggle` > `.pf-c-button` | Modifies a tbody with a row and an expandable row. |
|
|
5955
|
+
| `.pf-c-table__compound-expansion-toggle` | `<td>` | Modifies a `<td>` on active/focus. |
|
|
5956
5956
|
|
|
5957
5957
|
## Compact variant
|
|
5958
5958
|
|
|
@@ -7191,8 +7191,8 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
7191
7191
|
|
|
7192
7192
|
### Compact Usage
|
|
7193
7193
|
|
|
7194
|
-
| Class
|
|
7195
|
-
|
|
|
7194
|
+
| Class | Applied to | Outcome |
|
|
7195
|
+
| -- | -- | -- |
|
|
7196
7196
|
| `.pf-m-compact` | `.pf-c-table` | Modifies for a compact table. |
|
|
7197
7197
|
|
|
7198
7198
|
## Hoverable and selected
|
|
@@ -9895,16 +9895,16 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
9895
9895
|
|
|
9896
9896
|
### Hoverable accessibility
|
|
9897
9897
|
|
|
9898
|
-
| Attribute
|
|
9899
|
-
|
|
|
9898
|
+
| Attribute | Applied to | Outcome |
|
|
9899
|
+
| -- | -- | -- |
|
|
9900
9900
|
| `tabindex="0"` | `.pf-c-table tbody.pf-m-hoverable` | Inserts the hoverable table element into the tab order of the page so that it is focusable. **Required** |
|
|
9901
9901
|
|
|
9902
9902
|
### Hoverable and selected usage
|
|
9903
9903
|
|
|
9904
|
-
| Class
|
|
9905
|
-
|
|
|
9906
|
-
| `.pf-m-hoverable` | `.pf-c-table tbody`, `.pf-c-table tr` | Modifies a tbody or tr table element to be hoverable.
|
|
9907
|
-
| `.pf-m-selected`
|
|
9904
|
+
| Class | Applied to | Outcome |
|
|
9905
|
+
| -- | -- | -- |
|
|
9906
|
+
| `.pf-m-hoverable` | `.pf-c-table tbody`, `.pf-c-table tr` | Modifies a tbody or tr table element to be hoverable. |
|
|
9907
|
+
| `.pf-m-selected` | `.pf-c-table tbody`, `.pf-c-table tr` | Modifies a selectable tbody or tr table element to be selected. |
|
|
9908
9908
|
|
|
9909
9909
|
## Tree table
|
|
9910
9910
|
|
|
@@ -14648,30 +14648,30 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
14648
14648
|
|
|
14649
14649
|
### Tree table accessibility
|
|
14650
14650
|
|
|
14651
|
-
| Attribute
|
|
14652
|
-
|
|
|
14653
|
-
| `role="treegrid"`
|
|
14654
|
-
| `role="row"`
|
|
14655
|
-
| `role="gridcell"`
|
|
14656
|
-
| `tabindex="-1"`
|
|
14657
|
-
| `tabindex="0"`
|
|
14658
|
-
| `aria-expanded="false"`
|
|
14659
|
-
| `aria-expanded="true"`
|
|
14660
|
-
| `aria-level="number"`
|
|
14661
|
-
| `aria-setsize="number"`
|
|
14662
|
-
| `aria-posinset="number"` | `.pf-c-table.pf-m-tree-view tr`
|
|
14651
|
+
| Attribute | Applied to | Outcome |
|
|
14652
|
+
| -- | -- | -- |
|
|
14653
|
+
| `role="treegrid"` | `.pf-c-table.pf-m-tree-view` | Identifies the `table` as a treegrid. **Place on the outermost `table` only** |
|
|
14654
|
+
| `role="row"` | `.pf-c-table.pf-m-tree-view tr` | Identifies the `tr` element as a `row`. The row role is not an implicit semantic for the tr element when in a treegrid. |
|
|
14655
|
+
| `role="gridcell"` | `.pf-c-table.pf-m-tree-view tr` | Identifies the `td` as a gridcell. The `gridcell` role is not an implicit semantic for the td element when in a treegrid. |
|
|
14656
|
+
| `tabindex="-1"` | `.pf-c-table.pf-m-tree-view tr` | Makes the element with the treeitem role focusable without including it in the tab sequence of the page. |
|
|
14657
|
+
| `tabindex="0"` | `.pf-c-table.pf-m-tree-view tr` | 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. |
|
|
14658
|
+
| `aria-expanded="false"` | `.pf-c-table.pf-m-tree-view tr` | For an expandable item, indicates the parent node is closed, i.e., the descendant elements are not visible. |
|
|
14659
|
+
| `aria-expanded="true"` | `.pf-c-table.pf-m-tree-view tr.pf-m-expanded` | Indicates the parent node is open, i.e., the descendant elements are visible. |
|
|
14660
|
+
| `aria-level="number"` | `.pf-c-table.pf-m-tree-view tr` | Defines the level of the row in the hierarchical treegrid structure. Counting is one-based. Root rows have aria-level=“1”. |
|
|
14661
|
+
| `aria-setsize="number"` | `.pf-c-table.pf-m-tree-view tr` | Defines the number of rows in the set of rows that are in the same branch and at the same level within the hierarchy. |
|
|
14662
|
+
| `aria-posinset="number"` | `.pf-c-table.pf-m-tree-view tr` | Defines the position of the row within the set of other rows that are in the same branch and at the same level within the hierarchy. Counting is one-based, not zero-based. |
|
|
14663
14663
|
|
|
14664
14664
|
### Tree table usage
|
|
14665
14665
|
|
|
14666
|
-
| Class
|
|
14667
|
-
|
|
|
14668
|
-
| `.pf-c-table__tree-view-main`
|
|
14669
|
-
| `.pf-c-table__tree-view-text`
|
|
14670
|
-
| `.pf-c-table__tree-view-icon`
|
|
14671
|
-
| `.pf-c-table__tree-view-title-header-cell`
|
|
14672
|
-
| `.pf-c-table__tree-view-details-toggle`
|
|
14673
|
-
| `.pf-c-table__tree-view-details-toggle-icon` | `<span>` | Initiates a tree view details toggle icon.
|
|
14674
|
-
| `.pf-m-treeview-details-expanded`
|
|
14666
|
+
| Class | Applied | Outcome |
|
|
14667
|
+
| -- | -- | -- |
|
|
14668
|
+
| `.pf-c-table__tree-view-main` | `<div>` | Initiates a tree view table main container. **Required with tree view** |
|
|
14669
|
+
| `.pf-c-table__tree-view-text` | `<div>` | Initiates a tree view table text element. **Required with tree view** |
|
|
14670
|
+
| `.pf-c-table__tree-view-icon` | `<span>` | Initiates a tree view icon wrapper. **Required with tree view** |
|
|
14671
|
+
| `.pf-c-table__tree-view-title-header-cell` | `<th>` | Initiates a tree view title header cell. **Required with tree view** |
|
|
14672
|
+
| `.pf-c-table__tree-view-details-toggle` | `<span>` | Initiates a tree view details toggle container. |
|
|
14673
|
+
| `.pf-c-table__tree-view-details-toggle-icon` | `<span>` | Initiates a tree view details toggle icon. |
|
|
14674
|
+
| `.pf-m-treeview-details-expanded` | `<tr>` | Modifies a tbody with a row and an expandable row. |
|
|
14675
14675
|
|
|
14676
14676
|
## Borderless variant
|
|
14677
14677
|
|
|
@@ -20188,10 +20188,10 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
20188
20188
|
|
|
20189
20189
|
### Borderless usage
|
|
20190
20190
|
|
|
20191
|
-
| Class
|
|
20192
|
-
|
|
|
20191
|
+
| Class | Applied to | Outcome |
|
|
20192
|
+
| -- | -- | -- |
|
|
20193
20193
|
| `.pf-m-no-border-rows` | `.pf-c-table.pf-m-compact` | Modifies to remove borders between rows. **Note: Does not affect `.pf-c-table__control-row`.** |
|
|
20194
|
-
| `.pf-m-expandable`
|
|
20194
|
+
| `.pf-m-expandable` | `.pf-c-table.pf-m-compact` | Indicates that the table has expandable rows. |
|
|
20195
20195
|
|
|
20196
20196
|
## Width modifiers
|
|
20197
20197
|
|
|
@@ -20368,11 +20368,11 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
20368
20368
|
|
|
20369
20369
|
Width modifiers control the width of the columns. To control the responsive behavior of the table at different screen widths, see [responsive table behavior](#responsive-table-behavior).
|
|
20370
20370
|
|
|
20371
|
-
| Class
|
|
20372
|
-
|
|
|
20371
|
+
| Class | Applied to | Outcome |
|
|
20372
|
+
| -- | -- | -- |
|
|
20373
20373
|
| `.pf-m-width-[10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, or 90]` | `<th>`, `<td>` | Percentage based modifier for `th` and `td` widths. **Recommended for sortable title cell** |
|
|
20374
|
-
| `.pf-m-width-max`
|
|
20375
|
-
| `.pf-m-fit-content`
|
|
20374
|
+
| `.pf-m-width-max` | `<th>`, `<td>` | Percentage based modifier for `th` and `td` maximum width. |
|
|
20375
|
+
| `.pf-m-fit-content` | `<th>`, `<td>` | Percentage based modifier for `th` and `td` minimum width with no text wrapping. |
|
|
20376
20376
|
|
|
20377
20377
|
## Hidden/visible breakpoint modifiers
|
|
20378
20378
|
|
|
@@ -20494,14 +20494,14 @@ Width modifiers control the width of the columns. To control the responsive beha
|
|
|
20494
20494
|
|
|
20495
20495
|
### Hidden/visible breakpoint modifiers usage
|
|
20496
20496
|
|
|
20497
|
-
| Class
|
|
20498
|
-
|
|
|
20499
|
-
| `.pf-m-hidden{-on-[breakpoint]}`
|
|
20500
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-table tr > *` | Shows a table cell at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes).
|
|
20497
|
+
| Class | Applied to | Outcome |
|
|
20498
|
+
| -- | -- | -- |
|
|
20499
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-c-table tr > *` | Hides a table cell at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes), or hides it at all breakpoints with `.pf-m-hidden`. **Note: Needs to apply to all cells in the column you want to hide.** |
|
|
20500
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-table tr > *` | Shows a table cell at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
20501
20501
|
|
|
20502
20502
|
## Text control modifiers
|
|
20503
20503
|
|
|
20504
|
-
To better control table cell behavior, PatternFly provides a series of modifiers to help contextually control layout. By default, `thead` cells are set to truncate, whereas `tbody` cells are set to wrap. Both `th` and `td` cells use a set of shared css properties mapped to customizable css variable values. Because only the shared css variables are changed by the modifier selector and not the properties, the modifier can be applied to any parent element up until `.pf-c-table` itself [`thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text`].
|
|
20504
|
+
To better control table cell behavior, PatternFly provides a series of modifiers to help contextually control layout. By default, `thead` cells are set to truncate, whereas `tbody` cells are set to wrap. Both `th` and `td` cells use a set of shared css properties mapped to customizable css variable values. Because only the shared css variables are changed by the modifier selector and not the properties, the modifier can be applied to any parent element up until `.pf-c-table` itself \[`thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text`].
|
|
20505
20505
|
|
|
20506
20506
|
### Text control example
|
|
20507
20507
|
|
|
@@ -20892,14 +20892,14 @@ Add a [width modifier](#width-modifiers) to `thead th` to limit string length or
|
|
|
20892
20892
|
|
|
20893
20893
|
### Text control modifiers usage
|
|
20894
20894
|
|
|
20895
|
-
| Class
|
|
20896
|
-
|
|
|
20897
|
-
| `.pf-c-table__text` | `th > *`, `td > *`
|
|
20898
|
-
| `.pf-m-wrap`
|
|
20899
|
-
| `.pf-m-truncate`
|
|
20900
|
-
| `.pf-m-nowrap`
|
|
20901
|
-
| `.pf-m-fit-content` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Fit column width to cell content. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected.
|
|
20902
|
-
| `.pf-m-break-word`
|
|
20895
|
+
| Class | Applied to | Outcome |
|
|
20896
|
+
| -- | -- | -- |
|
|
20897
|
+
| `.pf-c-table__text` | `th > *`, `td > *` | Initiates a table text element. |
|
|
20898
|
+
| `.pf-m-wrap` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Sets table cell content to wrap. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected. This is the default behavior for <code>tbody</code> cells. |
|
|
20899
|
+
| `.pf-m-truncate` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Sets text to truncate based on a minimum width and available space adjacent table cells. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected. This is the default behavior for <code>thead</code> cells. |
|
|
20900
|
+
| `.pf-m-nowrap` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Unsets min/max width and sets whitespace to nowrap. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected. This is specifically beneficial for cell's whose <code>thead th</code> cells are blank. The following example highlights link text that should display inline. Be careful with this modifier, it will prioritize its cell's content above all other cell's contents. |
|
|
20901
|
+
| `.pf-m-fit-content` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Fit column width to cell content. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected. |
|
|
20902
|
+
| `.pf-m-break-word` | `thead`, `tbody`, `tr`, `th`, `td`, `.pf-c-table__text` | Breaks long strings to break wherever necessary as defined by the table layout. If applied to `thead`, `tbody` or `tr`, then all child cells will be affected. |
|
|
20903
20903
|
|
|
20904
20904
|
## Sticky table modifiers
|
|
20905
20905
|
|
|
@@ -20907,9 +20907,9 @@ Add a [width modifier](#width-modifiers) to `thead th` to limit string length or
|
|
|
20907
20907
|
|
|
20908
20908
|
There are a few ways this can be handled:
|
|
20909
20909
|
|
|
20910
|
-
|
|
20911
|
-
|
|
20912
|
-
|
|
20910
|
+
* Manipulate the `z-index` of the menu and/or table headers/columns manually.
|
|
20911
|
+
* Use the `menuAppendTo` prop in non-composable react components with menus to append the menu to an element outside of the table (e.g., the `<body>` element) so that the menu has a higher stacking context than - and can appear on top of - sticky headers/columns as well as appear outside of any scrollable content in the table.
|
|
20912
|
+
* In the case where the menu is outside of the table (e.g., above the table in a toolbar, or below the table and the menu expands up), assign the entire table a lower `z-index` than the `z-index` of the menu. This creates a lower stacking context for the entire table compared to the menu, while preserving the stacking context of the elements inside of the table.
|
|
20913
20913
|
|
|
20914
20914
|
### Sticky header
|
|
20915
20915
|
|
|
@@ -22589,12 +22589,12 @@ There are a few ways this can be handled:
|
|
|
22589
22589
|
|
|
22590
22590
|
For sticky columns to function correctly, the parent table's width must be controlled with `.pf-c-scroll-inner-wrapper`. For sticky columns and sticky headers to function correctly, the parent table needs an inner and outer wrapper (`.pf-c-scroll-outer-wrapper` and `.pf-c-scroll-inner-wrapper`)
|
|
22591
22591
|
|
|
22592
|
-
| Class
|
|
22593
|
-
|
|
|
22594
|
-
| `.pf-m-sticky-header`
|
|
22595
|
-
| `.pf-c-scroll-outer-wrapper` | `<div>`
|
|
22596
|
-
| `.pf-c-scroll-inner-wrapper` | `<div>`
|
|
22597
|
-
| `.pf-c-table__sticky-column` | `<th>`, `<td>` | Initiates a sticky table cell.
|
|
22592
|
+
| Class | Applied to | Outcome |
|
|
22593
|
+
| -- | -- | -- |
|
|
22594
|
+
| `.pf-m-sticky-header` | `.pf-c-table` | Makes the table cells in `<thead>` sticky to the top of the table on scroll. |
|
|
22595
|
+
| `.pf-c-scroll-outer-wrapper` | `<div>` | Initiates a table container sticky columns outer wrapper. |
|
|
22596
|
+
| `.pf-c-scroll-inner-wrapper` | `<div>` | Initiates a table container sticky columns inner wrapper. |
|
|
22597
|
+
| `.pf-c-table__sticky-column` | `<th>`, `<td>` | Initiates a sticky table cell. |
|
|
22598
22598
|
|
|
22599
22599
|
## Nested column headers
|
|
22600
22600
|
|
|
@@ -24388,18 +24388,18 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
24388
24388
|
|
|
24389
24389
|
### Accessibility
|
|
24390
24390
|
|
|
24391
|
-
| Attribute
|
|
24392
|
-
|
|
|
24393
|
-
| `aria-hidden="true"` | `.pf-m-border-row` |
|
|
24391
|
+
| Attribute | Applied to | Outcome |
|
|
24392
|
+
| -- | -- | -- |
|
|
24393
|
+
| `aria-hidden="true"` | `.pf-m-border-row` | Hides table row from assistive technologies. **Required** |
|
|
24394
24394
|
|
|
24395
24395
|
### Nested column header modifier usage
|
|
24396
24396
|
|
|
24397
|
-
| Class
|
|
24398
|
-
|
|
|
24399
|
-
| `.pf-m-nested-column-header` | `<thead>`
|
|
24400
|
-
| `.pf-m-border-row`
|
|
24401
|
-
| `.pf-m-border-right`
|
|
24402
|
-
| `.pf-m-border-left`
|
|
24397
|
+
| Class | Applied to | Outcome |
|
|
24398
|
+
| -- | -- | -- |
|
|
24399
|
+
| `.pf-m-nested-column-header` | `<thead>` | Modifies a table header to handle nested header cells. |
|
|
24400
|
+
| `.pf-m-border-row` | `.pf-m-sticky-header > .pf-m-nested-column-header > tr` | Modifies the last row in a sticky header with nested column headers to display as a border. |
|
|
24401
|
+
| `.pf-m-border-right` | `<th>`, `<td>` | Modifies a table cell to show a right border. |
|
|
24402
|
+
| `.pf-m-border-left` | `<th>`, `<td>` | Modifies a table cell to show a left border. |
|
|
24403
24403
|
|
|
24404
24404
|
## Favorites
|
|
24405
24405
|
|
|
@@ -24901,19 +24901,19 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
24901
24901
|
|
|
24902
24902
|
### Favorites accessibility
|
|
24903
24903
|
|
|
24904
|
-
| Attribute
|
|
24905
|
-
|
|
|
24906
|
-
| `role="grid"`
|
|
24907
|
-
| `aria-label`
|
|
24908
|
-
| `data-label="[td description]"` | `<td>`
|
|
24904
|
+
| Attribute | Applied to | Outcome |
|
|
24905
|
+
| -- | -- | -- |
|
|
24906
|
+
| `role="grid"` | `.pf-c-table` | Identifies the element that serves as the grid widget container. **Required** |
|
|
24907
|
+
| `aria-label` | `.pf-c-table` | Provides an accessible name for the table when a descriptive `<caption>` or `<h*>` is not available. **Required in the absence of `<caption>` or `<h*>`** |
|
|
24908
|
+
| `data-label="[td description]"` | `<td>` | This attribute replaces table header in mobile viewport. It is rendered by `::before` pseudo element. |
|
|
24909
24909
|
|
|
24910
24910
|
### Favorites usage
|
|
24911
24911
|
|
|
24912
|
-
| Class
|
|
24913
|
-
|
|
|
24914
|
-
| `.pf-c-table__favorite` | `td`
|
|
24915
|
-
| `.pf-m-favorited`
|
|
24916
|
-
| `.pf-m-favorite`
|
|
24912
|
+
| Class | Applied to | Outcome |
|
|
24913
|
+
| -- | -- | -- |
|
|
24914
|
+
| `.pf-c-table__favorite` | `td` | Initiates a favorite table body cell. |
|
|
24915
|
+
| `.pf-m-favorited` | `.pf-c-table__favorite` | Modifies a favorite cell for the favorited state. |
|
|
24916
|
+
| `.pf-m-favorite` | `.pf-c-table__sort` | Modifies a sortable table header cell for use with a favorites column. |
|
|
24917
24917
|
|
|
24918
24918
|
## Draggable rows
|
|
24919
24919
|
|
|
@@ -25046,20 +25046,20 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
25046
25046
|
|
|
25047
25047
|
### Draggable rows accessibility
|
|
25048
25048
|
|
|
25049
|
-
| Attribute
|
|
25050
|
-
|
|
|
25051
|
-
| `aria-pressed="true or false"`
|
|
25052
|
-
| `aria-live`
|
|
25053
|
-
| `aria-describedby="[id value of applicable content]"`
|
|
25054
|
-
| `aria-labelledby="[id of .pf-c-table__draggable .pf-c-button] [id of row title text]"` | `.pf-c-table__draggable .pf-c-button`
|
|
25055
|
-
| `id="[]"`
|
|
25049
|
+
| Attribute | Applied to | Outcome |
|
|
25050
|
+
| -- | -- | -- |
|
|
25051
|
+
| `aria-pressed="true or false"` | `.pf-c-table__draggable .pf-c-button` | Indicates whether the button is currently pressed or not. |
|
|
25052
|
+
| `aria-live` | `[element with live text]` | To give screen reader users live feedback about what's happening during interaction with the table, both during drag and drop interactions and keyboard interactions. **Highly Recommended** |
|
|
25053
|
+
| `aria-describedby="[id value of applicable content]"` | `.pf-c-table__draggable .pf-c-button` | Gives the draggable button an accessible description by referring to the textual content that describes how to use the button to drag elements. The example here uses a `<div id="table-draggable-rows-help"></div>`. **Highly recommended** |
|
|
25054
|
+
| `aria-labelledby="[id of .pf-c-table__draggable .pf-c-button] [id of row title text]"` | `.pf-c-table__draggable .pf-c-button` | Provides an accessible name for the draggable button. |
|
|
25055
|
+
| `id="[]"` | `.pf-c-table__draggable .pf-c-button`, `[element with row title text]` | Gives the button and the text element accessible IDs. |
|
|
25056
25056
|
|
|
25057
25057
|
### Draggable rows usage
|
|
25058
25058
|
|
|
25059
|
-
| Class
|
|
25060
|
-
|
|
|
25061
|
-
| `.pf-c-table__draggable` | `<td>`
|
|
25062
|
-
| `.pf-m-drag-over`
|
|
25059
|
+
| Class | Applied to | Outcome |
|
|
25060
|
+
| -- | -- | -- |
|
|
25061
|
+
| `.pf-c-table__draggable` | `<td>` | Initiates a draggable table cell. |
|
|
25062
|
+
| `.pf-m-drag-over` | `.pf-c-table` | Modifies the table to indicate that a draggable item is being dragged over the table. |
|
|
25063
25063
|
|
|
25064
25064
|
## Striped
|
|
25065
25065
|
|
|
@@ -25736,10 +25736,10 @@ Basic striped table rows are supported on tables with a single `<tbody>` element
|
|
|
25736
25736
|
|
|
25737
25737
|
### Striped table usage
|
|
25738
25738
|
|
|
25739
|
-
| Class
|
|
25740
|
-
|
|
|
25741
|
-
| `.pf-m-striped`
|
|
25742
|
-
| `.pf-m-striped-even` | `tbody`
|
|
25739
|
+
| Class | Applied to | Outcome |
|
|
25740
|
+
| -- | -- | -- |
|
|
25741
|
+
| `.pf-m-striped` | `.pf-c-table`, `tbody`, `tr` | Modifies odd table rows to be striped. |
|
|
25742
|
+
| `.pf-m-striped-even` | `tbody` | Modifies even table rows to be striped. For use in tables with multiple `tbody` elements where adjacent `tbody` elements need even row striping to maintain visual consistency. |
|
|
25743
25743
|
|
|
25744
25744
|
## Documentation
|
|
25745
25745
|
|
|
@@ -25761,8 +25761,8 @@ By default, all table header cells are set to `white-space: nowrap`. If a `<th>`
|
|
|
25761
25761
|
|
|
25762
25762
|
### Implementation support
|
|
25763
25763
|
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25764
|
+
* One expandable toggle button, positioned in the first cell of a non-expandable row, preceding an expandable row.
|
|
25765
|
+
* One checkbox or radio input, positioned in the first or second cell of a non-expandable row.
|
|
25766
|
+
* One action button, positioned in the last cell of a non-expandable row.
|
|
25767
|
+
* Tabular data.
|
|
25768
|
+
* Compact presentation modifier (not compatible with expandable table).
|