@patternfly/patternfly 6.0.0-alpha.97 → 6.0.0-alpha.99

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.
Files changed (153) hide show
  1. package/components/Card/card.css +1 -0
  2. package/components/Card/card.scss +1 -0
  3. package/components/Check/check.css +10 -3
  4. package/components/Check/check.scss +17 -4
  5. package/components/Masthead/masthead.css +17 -9
  6. package/components/Masthead/masthead.scss +18 -9
  7. package/components/MenuToggle/menu-toggle.css +20 -6
  8. package/components/MenuToggle/menu-toggle.scss +32 -6
  9. package/components/ModalBox/modal-box.css +11 -7
  10. package/components/ModalBox/modal-box.scss +27 -12
  11. package/components/Nav/nav.css +64 -110
  12. package/components/Nav/nav.scss +70 -143
  13. package/components/Page/page.css +9 -17
  14. package/components/Page/page.scss +10 -23
  15. package/components/Radio/radio.css +12 -5
  16. package/components/Radio/radio.scss +21 -6
  17. package/components/Table/table-grid.css +30 -35
  18. package/components/Table/table-grid.scss +44 -32
  19. package/components/Table/table-scrollable.css +14 -6
  20. package/components/Table/table-scrollable.scss +6 -1
  21. package/components/Table/table-tree-view.css +5 -5
  22. package/components/Table/table-tree-view.scss +14 -8
  23. package/components/Table/table.css +90 -254
  24. package/components/Table/table.scss +158 -347
  25. package/components/Toolbar/toolbar.css +66 -2
  26. package/components/Toolbar/toolbar.scss +21 -2
  27. package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
  28. package/docs/components/Accordion/examples/Accordion.md +19 -19
  29. package/docs/components/ActionList/examples/ActionList.md +5 -5
  30. package/docs/components/Alert/examples/Alert.md +26 -26
  31. package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
  32. package/docs/components/Avatar/examples/Avatar.md +8 -8
  33. package/docs/components/BackToTop/examples/BackToTop.md +3 -3
  34. package/docs/components/Backdrop/examples/Backdrop.md +3 -3
  35. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  36. package/docs/components/Badge/examples/Badge.md +6 -6
  37. package/docs/components/Banner/examples/Banner.md +17 -17
  38. package/docs/components/Brand/examples/Brand.css +3 -3
  39. package/docs/components/Brand/examples/Brand.md +7 -7
  40. package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
  41. package/docs/components/Button/examples/Button.css +2 -2
  42. package/docs/components/Button/examples/Button.md +35 -35
  43. package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
  44. package/docs/components/Card/examples/Card.md +30 -30
  45. package/docs/components/Check/examples/Check.md +12 -12
  46. package/docs/components/Chip/examples/Chip.md +21 -21
  47. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
  48. package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
  49. package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
  50. package/docs/components/Content/examples/Content.md +5 -5
  51. package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
  52. package/docs/components/DataList/examples/DataList.md +177 -112
  53. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  54. package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
  55. package/docs/components/Divider/examples/Divider.md +7 -7
  56. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  57. package/docs/components/Drawer/examples/Drawer.md +36 -36
  58. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  59. package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
  60. package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
  61. package/docs/components/EmptyState/examples/EmptyState.md +21 -21
  62. package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
  63. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  64. package/docs/components/Form/examples/Form.md +52 -52
  65. package/docs/components/FormControl/examples/FormControl.md +22 -22
  66. package/docs/components/HelperText/examples/HelperText.md +11 -11
  67. package/docs/components/Hint/examples/Hint.md +6 -6
  68. package/docs/components/Icon/examples/Icon.md +13 -13
  69. package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
  70. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  71. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  72. package/docs/components/Label/examples/Label.css +4 -4
  73. package/docs/components/Label/examples/Label.md +45 -45
  74. package/docs/components/List/examples/List.md +6 -6
  75. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  76. package/docs/components/LogViewer/examples/LogViewer.md +35 -35
  77. package/docs/components/Login/examples/Login.md +21 -21
  78. package/docs/components/Masthead/examples/masthead.md +7 -7
  79. package/docs/components/Menu/examples/Menu.md +60 -60
  80. package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
  81. package/docs/components/ModalBox/examples/ModalBox.md +75 -34
  82. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
  83. package/docs/components/Nav/examples/Navigation.css +20 -3
  84. package/docs/components/Nav/examples/Navigation.md +44 -50
  85. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  86. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
  87. package/docs/components/NumberInput/examples/NumberInput.md +13 -13
  88. package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
  89. package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
  90. package/docs/components/Page/deprecated/PageHeader.md +30 -30
  91. package/docs/components/Page/examples/Page.md +55 -54
  92. package/docs/components/Pagination/examples/Pagination.md +25 -25
  93. package/docs/components/Panel/examples/Panel.md +10 -10
  94. package/docs/components/Popover/examples/Popover.md +30 -30
  95. package/docs/components/Progress/examples/Progress.md +31 -31
  96. package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
  97. package/docs/components/Radio/examples/Radio.md +9 -9
  98. package/docs/components/Select/deprecated/Select.md +110 -110
  99. package/docs/components/Sidebar/examples/Sidebar.md +16 -16
  100. package/docs/components/SimpleList/examples/SimpleList.md +9 -9
  101. package/docs/components/Skeleton/examples/Skeleton.md +14 -14
  102. package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
  103. package/docs/components/Slider/examples/Slider.md +33 -33
  104. package/docs/components/Spinner/examples/Spinner.md +14 -14
  105. package/docs/components/Switch/examples/Switch.md +14 -14
  106. package/docs/components/TabContent/examples/TabContent.md +10 -10
  107. package/docs/components/Table/examples/Table.md +5395 -15077
  108. package/docs/components/Tabs/examples/Tabs.md +39 -39
  109. package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
  110. package/docs/components/Tile/examples/Tile.md +12 -12
  111. package/docs/components/Timestamp/examples/Timestamp.md +4 -4
  112. package/docs/components/Title/examples/Title.md +20 -20
  113. package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
  114. package/docs/components/Toolbar/examples/Toolbar.md +57 -57
  115. package/docs/components/Tooltip/examples/Tooltip.md +9 -9
  116. package/docs/components/TreeView/examples/TreeView.md +31 -31
  117. package/docs/components/Truncate/examples/Truncate.md +8 -8
  118. package/docs/components/Wizard/examples/Wizard.md +46 -46
  119. package/docs/demos/Banner/examples/Banner.md +1 -1
  120. package/docs/demos/Card/examples/Card.md +12 -19
  121. package/docs/demos/DataList/examples/DataList.md +179 -280
  122. package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
  123. package/docs/demos/Masthead/examples/Masthead.md +4 -8
  124. package/docs/demos/Nav/examples/Nav.md +45 -149
  125. package/docs/demos/Page/examples/Page.md +3 -37
  126. package/docs/demos/Page/examples/Penta.md +119 -40
  127. package/docs/demos/Table/examples/Table.md +1531 -4970
  128. package/docs/demos/Tabs/examples/Tabs.md +118 -174
  129. package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
  130. package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
  131. package/docs/layouts/Flex/examples/Flex.md +76 -76
  132. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  133. package/docs/layouts/Grid/examples/Grid.md +8 -8
  134. package/docs/layouts/Level/examples/Level.md +4 -4
  135. package/docs/layouts/Split/examples/Split.md +6 -6
  136. package/docs/layouts/Stack/examples/Stack.md +5 -5
  137. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  138. package/docs/utilities/Alignment/examples/Alignment.md +4 -4
  139. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
  140. package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
  141. package/docs/utilities/Display/examples/Display.md +9 -9
  142. package/docs/utilities/Flex/examples/Flex.md +32 -32
  143. package/docs/utilities/Float/examples/Float.md +2 -2
  144. package/docs/utilities/Sizing/examples/Sizing.md +41 -41
  145. package/docs/utilities/Spacing/examples/Spacing.md +11 -11
  146. package/docs/utilities/Text/examples/Text.md +28 -28
  147. package/package.json +2 -1
  148. package/patternfly-no-globals.css +363 -465
  149. package/patternfly-theme-dark-unversioned.css +363 -465
  150. package/patternfly.css +363 -465
  151. package/patternfly.min.css +1 -1
  152. package/patternfly.min.css.map +1 -1
  153. package/components/Table/themes/dark/table.scss +0 -16
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Data list
3
3
  section: components
4
- cssPrefix: pf-v5-c-data-list
4
+ cssPrefix: pf-v6-c-data-list
5
5
  ---## Examples
6
6
 
7
7
  ### Basic
@@ -44,24 +44,24 @@ cssPrefix: pf-v5-c-data-list
44
44
 
45
45
  | Attribute | Applied to | Outcome |
46
46
  | -- | -- | -- |
47
- | `role="list"` | `.pf-v5-c-data-list` | Indicates that the data list is a list. **Required** |
48
- | `aria-label` | `.pf-v5-c-data-list` | Provides an accessible name for the data list. **Required** |
49
- | `aria-labelledby` | `.pf-v5-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
- | `id` | `.pf-v5-c-data-list__cell`, `.pf-v5-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
47
+ | `role="list"` | `.pf-v6-c-data-list` | Indicates that the data list is a list. **Required** |
48
+ | `aria-label` | `.pf-v6-c-data-list` | Provides an accessible name for the data list. **Required** |
49
+ | `aria-labelledby` | `.pf-v6-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
+ | `id` | `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
51
51
 
52
52
  ### Usage
53
53
 
54
54
  | Class | Applied to | Outcome |
55
55
  | -- | -- | -- |
56
- | `.pf-v5-c-data-list` | `<ul>` | Initiates a data list. **Required** |
57
- | `.pf-v5-c-data-list__item` | `<li>` | Initiates a data list item. **Required** |
58
- | `.pf-v5-c-data-list__item-row` | `<div>` | Initiates a data list item row. **Required** |
59
- | `.pf-v5-c-data-list__item-content` | `<div>` | Initiates a container for data list content. **Required**|
60
- | `.pf-v5-c-data-list__cell` | `*` | Initiates a data list content cell. **Required** |
61
- | `.pf-v5-c-data-list__cell-text` | `<span>` | Initiates a data list content cell text element. |
62
- | `.pf-m-align-left` | `.pf-v5-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
63
- | `.pf-m-no-fill` | `.pf-v5-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
- | `.pf-m-align-right` | `.pf-v5-c-data-list__cell` | Modifies a data list cell to align-right. |
56
+ | `.pf-v6-c-data-list` | `<ul>` | Initiates a data list. **Required** |
57
+ | `.pf-v6-c-data-list__item` | `<li>` | Initiates a data list item. **Required** |
58
+ | `.pf-v6-c-data-list__item-row` | `<div>` | Initiates a data list item row. **Required** |
59
+ | `.pf-v6-c-data-list__item-content` | `<div>` | Initiates a container for data list content. **Required**|
60
+ | `.pf-v6-c-data-list__cell` | `*` | Initiates a data list content cell. **Required** |
61
+ | `.pf-v6-c-data-list__cell-text` | `<span>` | Initiates a data list content cell text element. |
62
+ | `.pf-m-align-left` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
63
+ | `.pf-m-no-fill` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
+ | `.pf-m-align-right` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to align-right. |
65
65
 
66
66
  ### With headings
67
67
 
@@ -127,14 +127,19 @@ When a list item includes more than one block of content, it can be difficult fo
127
127
  <div class="pf-v6-c-data-list__item-row">
128
128
  <div class="pf-v6-c-data-list__item-control">
129
129
  <div class="pf-v6-c-data-list__check">
130
- <div class="pf-v6-c-check pf-m-standalone">
130
+ <label
131
+ class="pf-v6-c-check pf-m-standalone"
132
+ id="data-list-checkboxes-actions-addl-cells-item-1&quot;"
133
+ for="data-list-checkboxes-actions-addl-cells-item-1&quot;-input"
134
+ >
131
135
  <input
132
136
  class="pf-v6-c-check__input"
133
137
  type="checkbox"
134
- name="data-list-checkboxes-actions-addl-cells-item-1-checkbox"
135
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-1"
138
+ id="data-list-checkboxes-actions-addl-cells-item-1&quot;-input"
139
+ name="data-list-checkboxes-actions-addl-cells-item-1&quot;-input"
140
+ aria-label="Standalone check"
136
141
  />
137
- </div>
142
+ </label>
138
143
  </div>
139
144
  </div>
140
145
  <div class="pf-v6-c-data-list__item-content">
@@ -227,14 +232,19 @@ When a list item includes more than one block of content, it can be difficult fo
227
232
  <div class="pf-v6-c-data-list__item-row">
228
233
  <div class="pf-v6-c-data-list__item-control">
229
234
  <div class="pf-v6-c-data-list__check">
230
- <div class="pf-v6-c-check pf-m-standalone">
235
+ <label
236
+ class="pf-v6-c-check pf-m-standalone"
237
+ id="data-list-checkboxes-actions-addl-cells-item-2&quot;"
238
+ for="data-list-checkboxes-actions-addl-cells-item-2&quot;-input"
239
+ >
231
240
  <input
232
241
  class="pf-v6-c-check__input"
233
242
  type="checkbox"
234
- name="data-list-checkboxes-actions-addl-cells-item-2-checkbox"
235
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-2"
243
+ id="data-list-checkboxes-actions-addl-cells-item-2&quot;-input"
244
+ name="data-list-checkboxes-actions-addl-cells-item-2&quot;-input"
245
+ aria-label="Standalone check"
236
246
  />
237
- </div>
247
+ </label>
238
248
  </div>
239
249
  </div>
240
250
  <div class="pf-v6-c-data-list__item-content">
@@ -324,14 +334,19 @@ When a list item includes more than one block of content, it can be difficult fo
324
334
  <div class="pf-v6-c-data-list__item-row">
325
335
  <div class="pf-v6-c-data-list__item-control">
326
336
  <div class="pf-v6-c-data-list__check">
327
- <div class="pf-v6-c-check pf-m-standalone">
337
+ <label
338
+ class="pf-v6-c-check pf-m-standalone"
339
+ id="data-list-checkboxes-actions-addl-cells-item-3&quot;"
340
+ for="data-list-checkboxes-actions-addl-cells-item-3&quot;-input"
341
+ >
328
342
  <input
329
343
  class="pf-v6-c-check__input"
330
344
  type="checkbox"
331
- name="data-list-checkboxes-actions-addl-cells-item-3-checkbox"
332
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-3"
345
+ id="data-list-checkboxes-actions-addl-cells-item-3&quot;-input"
346
+ name="data-list-checkboxes-actions-addl-cells-item-3&quot;-input"
347
+ aria-label="Standalone check"
333
348
  />
334
- </div>
349
+ </label>
335
350
  </div>
336
351
  </div>
337
352
  <div class="pf-v6-c-data-list__item-content">
@@ -423,21 +438,21 @@ When a list item includes more than one block of content, it can be difficult fo
423
438
 
424
439
  | Attribute | Applied to | Outcome |
425
440
  | -- | -- | -- |
426
- | `aria-label="[descriptive text]"` | `.pf-v5-c-data-list__action` > `.pf-v5-c-button` | Provides an accessible label buttons. **Required** |
427
- | `aria-labelledby="{title_cell_id}"` | `.pf-v5-c-data-list__check` > `.pf-v5-c-check__input` | Creates an accessible label for the checkbox based on the title cell. **Required** |
428
- | `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-v5-c-data-list__action` > `.pf-v5-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
429
- | `id` | `.pf-v5-c-data-list__cell > *`, `.pf-v5-c-data-list__check` > `.pf-v5-c-check__input`, `.pf-v5-c-data-list__action` > `.pf-v5-c-button` | Provides a reference for interactive elements. **Required** |
441
+ | `aria-label="[descriptive text]"` | `.pf-v6-c-data-list__action` > `.pf-v6-c-button` | Provides an accessible label buttons. **Required** |
442
+ | `aria-labelledby="{title_cell_id}"` | `.pf-v6-c-data-list__check` > `.pf-v6-c-check__input` | Creates an accessible label for the checkbox based on the title cell. **Required** |
443
+ | `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-v6-c-data-list__action` > `.pf-v6-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
444
+ | `id` | `.pf-v6-c-data-list__cell > *`, `.pf-v6-c-data-list__check` > `.pf-v6-c-check__input`, `.pf-v6-c-data-list__action` > `.pf-v6-c-button` | Provides a reference for interactive elements. **Required** |
430
445
 
431
446
  ### Usage
432
447
 
433
448
  | Class | Applied to | Outcome |
434
449
  | -- | -- | -- |
435
- | `.pf-v5-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-v5-c-data-list__check` here. **Required** |
436
- | `.pf-v5-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-v5-c-data-list__action` here. **Required** |
437
- | `.pf-v5-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
438
- | `.pf-v5-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
439
- | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v5-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes), or hides it at all breakpoints with `.pf-m-hidden`. |
440
- | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v5-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
450
+ | `.pf-v6-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-v6-c-data-list__check` here. **Required** |
451
+ | `.pf-v6-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-v6-c-data-list__action` here. **Required** |
452
+ | `.pf-v6-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
453
+ | `.pf-v6-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
454
+ | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes), or hides it at all breakpoints with `.pf-m-hidden`. |
455
+ | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
441
456
 
442
457
  ### Expandable
443
458
 
@@ -1610,14 +1625,19 @@ When a list item includes more than one block of content, it can be difficult fo
1610
1625
  <div class="pf-v6-c-data-list__item-row">
1611
1626
  <div class="pf-v6-c-data-list__item-control">
1612
1627
  <div class="pf-v6-c-data-list__check">
1613
- <div class="pf-v6-c-check pf-m-standalone">
1628
+ <label
1629
+ class="pf-v6-c-check pf-m-standalone"
1630
+ id="data-list-compact-item-1&quot;"
1631
+ for="data-list-compact-item-1&quot;-input"
1632
+ >
1614
1633
  <input
1615
1634
  class="pf-v6-c-check__input"
1616
1635
  type="checkbox"
1617
- name="data-list-compact-item-1-checkbox"
1618
- aria-labelledby="data-list-compact-item-1"
1636
+ id="data-list-compact-item-1&quot;-input"
1637
+ name="data-list-compact-item-1&quot;-input"
1638
+ aria-label="Standalone check"
1619
1639
  />
1620
- </div>
1640
+ </label>
1621
1641
  </div>
1622
1642
  </div>
1623
1643
  <div class="pf-v6-c-data-list__item-content">
@@ -1708,14 +1728,19 @@ When a list item includes more than one block of content, it can be difficult fo
1708
1728
  <div class="pf-v6-c-data-list__item-row">
1709
1729
  <div class="pf-v6-c-data-list__item-control">
1710
1730
  <div class="pf-v6-c-data-list__check">
1711
- <div class="pf-v6-c-check pf-m-standalone">
1731
+ <label
1732
+ class="pf-v6-c-check pf-m-standalone"
1733
+ id="data-list-compact-item-2&quot;"
1734
+ for="data-list-compact-item-2&quot;-input"
1735
+ >
1712
1736
  <input
1713
1737
  class="pf-v6-c-check__input"
1714
1738
  type="checkbox"
1715
- name="data-list-compact-item-2-checkbox"
1716
- aria-labelledby="data-list-compact-item-2"
1739
+ id="data-list-compact-item-2&quot;-input"
1740
+ name="data-list-compact-item-2&quot;-input"
1741
+ aria-label="Standalone check"
1717
1742
  />
1718
- </div>
1743
+ </label>
1719
1744
  </div>
1720
1745
  </div>
1721
1746
  <div class="pf-v6-c-data-list__item-content">
@@ -1803,14 +1828,19 @@ When a list item includes more than one block of content, it can be difficult fo
1803
1828
  <div class="pf-v6-c-data-list__item-row">
1804
1829
  <div class="pf-v6-c-data-list__item-control">
1805
1830
  <div class="pf-v6-c-data-list__check">
1806
- <div class="pf-v6-c-check pf-m-standalone">
1831
+ <label
1832
+ class="pf-v6-c-check pf-m-standalone"
1833
+ id="data-list-compact-item-3&quot;"
1834
+ for="data-list-compact-item-3&quot;-input"
1835
+ >
1807
1836
  <input
1808
1837
  class="pf-v6-c-check__input"
1809
1838
  type="checkbox"
1810
- name="data-list-compact-item-3-checkbox"
1811
- aria-labelledby="data-list-compact-item-3"
1839
+ id="data-list-compact-item-3&quot;-input"
1840
+ name="data-list-compact-item-3&quot;-input"
1841
+ aria-label="Standalone check"
1812
1842
  />
1813
- </div>
1843
+ </label>
1814
1844
  </div>
1815
1845
  </div>
1816
1846
  <div class="pf-v6-c-data-list__item-content">
@@ -1900,26 +1930,26 @@ When a list item includes more than one block of content, it can be difficult fo
1900
1930
 
1901
1931
  | Attribute | Applied to | Outcome |
1902
1932
  | -- | -- | -- |
1903
- | `aria-expanded="true"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Indicates that the expandable content is visible. **Required**|
1904
- | `hidden` | `.pf-v5-c-data-list__expandable-content` | Indicates that the expandable content is hidden. **Required**|
1905
- | `aria-label="[descriptive text]"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Provides an accessible name for toggle button. **Required**|
1906
- | `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Establishes relationship between aria-label text and toggle button. **Required**
1907
- | `id="{button_id}"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Provides a reference for toggle button description. **Required** |
1908
- | `aria-controls="[id of element controlled]"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Identifies the section controlled by the toggle button. **Required** |
1933
+ | `aria-expanded="true"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Indicates that the expandable content is visible. **Required**|
1934
+ | `hidden` | `.pf-v6-c-data-list__expandable-content` | Indicates that the expandable content is hidden. **Required**|
1935
+ | `aria-label="[descriptive text]"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Provides an accessible name for toggle button. **Required**|
1936
+ | `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Establishes relationship between aria-label text and toggle button. **Required**
1937
+ | `id="{button_id}"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Provides a reference for toggle button description. **Required** |
1938
+ | `aria-controls="[id of element controlled]"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Identifies the section controlled by the toggle button. **Required** |
1909
1939
 
1910
1940
  ### Usage
1911
1941
 
1912
1942
  | Class | Applied to | Outcome |
1913
1943
  | -- | -- | -- |
1914
- | `.pf-v5-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-v5-c-data-list__toggle` here. **Required** |
1915
- | `.pf-v5-c-data-list__toggle` | `<div>` | Initiates a toggle button. |
1916
- | `.pf-v5-c-data-list__toggle-icon` | `<span>` | Initiates a toggle icon. |
1917
- | `.pf-v5-c-data-list__expandable-content` | `<div>` | Initiates an expandable content container. |
1918
- | `.pf-v5-c-data-list__expandable-content-body` | `<div>` | Initiates an expandable content container body. **Required** when `.pf-v5-c-data-list__expandable-content` is used. |
1919
- | `.pf-m-expanded` | `.pf-v5-c-data-list__item` | Modifies for expanded state. |
1920
- | `.pf-m-compact` | `.pf-v5-c-data-list` | Modifies for compact variation. |
1921
- | `.pf-m-no-padding` | `.pf-v5-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1922
- | `.pf-m-icon` | `.pf-v5-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
1944
+ | `.pf-v6-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-v6-c-data-list__toggle` here. **Required** |
1945
+ | `.pf-v6-c-data-list__toggle` | `<div>` | Initiates a toggle button. |
1946
+ | `.pf-v6-c-data-list__toggle-icon` | `<span>` | Initiates a toggle icon. |
1947
+ | `.pf-v6-c-data-list__expandable-content` | `<div>` | Initiates an expandable content container. |
1948
+ | `.pf-v6-c-data-list__expandable-content-body` | `<div>` | Initiates an expandable content container body. **Required** when `.pf-v6-c-data-list__expandable-content` is used. |
1949
+ | `.pf-m-expanded` | `.pf-v6-c-data-list__item` | Modifies for expanded state. |
1950
+ | `.pf-m-compact` | `.pf-v6-c-data-list` | Modifies for compact variation. |
1951
+ | `.pf-m-no-padding` | `.pf-v6-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1952
+ | `.pf-m-icon` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
1923
1953
 
1924
1954
  ### Modifiers
1925
1955
 
@@ -1938,14 +1968,19 @@ When a list item includes more than one block of content, it can be difficult fo
1938
1968
  <div class="pf-v6-c-data-list__item-row">
1939
1969
  <div class="pf-v6-c-data-list__item-control">
1940
1970
  <div class="pf-v6-c-data-list__check">
1941
- <div class="pf-v6-c-check pf-m-standalone">
1971
+ <label
1972
+ class="pf-v6-c-check pf-m-standalone"
1973
+ id="data-list-default-fitting-item-1&quot;"
1974
+ for="data-list-default-fitting-item-1&quot;-input"
1975
+ >
1942
1976
  <input
1943
1977
  class="pf-v6-c-check__input"
1944
1978
  type="checkbox"
1945
- name="data-list-default-fitting-item-1-checkbox"
1946
- aria-labelledby="data-list-default-fitting-item-1"
1979
+ id="data-list-default-fitting-item-1&quot;-input"
1980
+ name="data-list-default-fitting-item-1&quot;-input"
1981
+ aria-label="Standalone check"
1947
1982
  />
1948
- </div>
1983
+ </label>
1949
1984
  </div>
1950
1985
  </div>
1951
1986
  <div class="pf-v6-c-data-list__item-content">
@@ -1979,14 +2014,19 @@ When a list item includes more than one block of content, it can be difficult fo
1979
2014
  <div class="pf-v6-c-data-list__item-row">
1980
2015
  <div class="pf-v6-c-data-list__item-control">
1981
2016
  <div class="pf-v6-c-data-list__check">
1982
- <div class="pf-v6-c-check pf-m-standalone">
2017
+ <label
2018
+ class="pf-v6-c-check pf-m-standalone"
2019
+ id="data-list-flex-modifiers-item-1&quot;"
2020
+ for="data-list-flex-modifiers-item-1&quot;-input"
2021
+ >
1983
2022
  <input
1984
2023
  class="pf-v6-c-check__input"
1985
2024
  type="checkbox"
1986
- name="data-list-flex-modifiers-item-1-checkbox"
1987
- aria-labelledby="data-list-flex-modifiers-item-1"
2025
+ id="data-list-flex-modifiers-item-1&quot;-input"
2026
+ name="data-list-flex-modifiers-item-1&quot;-input"
2027
+ aria-label="Standalone check"
1988
2028
  />
1989
- </div>
2029
+ </label>
1990
2030
  </div>
1991
2031
  </div>
1992
2032
  <div class="pf-v6-c-data-list__item-content">
@@ -2097,14 +2137,19 @@ When a list item includes more than one block of content, it can be difficult fo
2097
2137
  </div>
2098
2138
 
2099
2139
  <div class="pf-v6-c-data-list__check">
2100
- <div class="pf-v6-c-check pf-m-standalone">
2140
+ <label
2141
+ class="pf-v6-c-check pf-m-standalone"
2142
+ id="data-list-flex-modifiers-2-item-1&quot;"
2143
+ for="data-list-flex-modifiers-2-item-1&quot;-input"
2144
+ >
2101
2145
  <input
2102
2146
  class="pf-v6-c-check__input"
2103
2147
  type="checkbox"
2104
- name="data-list-flex-modifiers-2-item-1-checkbox"
2105
- aria-labelledby="data-list-flex-modifiers-2-item-1"
2148
+ id="data-list-flex-modifiers-2-item-1&quot;-input"
2149
+ name="data-list-flex-modifiers-2-item-1&quot;-input"
2150
+ aria-label="Standalone check"
2106
2151
  />
2107
- </div>
2152
+ </label>
2108
2153
  </div>
2109
2154
  </div>
2110
2155
  <div class="pf-v6-c-data-list__item-content">
@@ -2213,13 +2258,13 @@ When a list item includes more than one block of content, it can be difficult fo
2213
2258
 
2214
2259
  | Attribute | Applied to | Outcome |
2215
2260
  | -- | -- | -- |
2216
- | `aria-controls="[id of element controlled]"` | `.pf-v5-c-data-list__toggle` > `.pf-v5-c-button` | Identifies the section controlled by the toggle button. **Required** |
2261
+ | `aria-controls="[id of element controlled]"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Identifies the section controlled by the toggle button. **Required** |
2217
2262
 
2218
2263
  ### Usage
2219
2264
 
2220
2265
  | Class | Applied to | Outcome |
2221
2266
  | -- | -- | -- |
2222
- | `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-v5-c-data-list__cell` | Percentage based modifier for `.pf-v5-c-data-list__cell` widths. |
2267
+ | `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-v6-c-data-list__cell` | Percentage based modifier for `.pf-v6-c-data-list__cell` widths. |
2223
2268
 
2224
2269
  ### Clickable rows
2225
2270
 
@@ -2279,14 +2324,14 @@ When a list item includes more than one block of content, it can be difficult fo
2279
2324
 
2280
2325
  | Attribute | Applied to | Outcome |
2281
2326
  | -- | -- | -- |
2282
- | `tabindex="0"` | `.pf-v5-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
2327
+ | `tabindex="0"` | `.pf-v6-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
2283
2328
 
2284
2329
  ### Usage
2285
2330
 
2286
2331
  | Class | Applied to | Outcome |
2287
2332
  | -- | -- | -- |
2288
- | `.pf-m-clickable` | `.pf-v5-c-data-list__item` | Modifies a data list item so that it is clickable. |
2289
- | `.pf-m-selected` | `.pf-v5-c-data-list__item` | Modifies a data list item for the selected state. |
2333
+ | `.pf-m-clickable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is clickable. |
2334
+ | `.pf-m-selected` | `.pf-v6-c-data-list__item` | Modifies a data list item for the selected state. |
2290
2335
 
2291
2336
  ### Clickable expandable rows
2292
2337
 
@@ -2503,14 +2548,19 @@ When a list item includes more than one block of content, it can be difficult fo
2503
2548
  </span>
2504
2549
  </button>
2505
2550
  <div class="pf-v6-c-data-list__check">
2506
- <div class="pf-v6-c-check pf-m-standalone">
2551
+ <label
2552
+ class="pf-v6-c-check pf-m-standalone"
2553
+ id="data-list-draggable-item-1&quot;"
2554
+ for="data-list-draggable-item-1&quot;-input"
2555
+ >
2507
2556
  <input
2508
2557
  class="pf-v6-c-check__input"
2509
2558
  type="checkbox"
2510
- name="data-list-draggable-item-1-checkbox"
2511
- aria-labelledby="data-list-draggable-item-1"
2559
+ id="data-list-draggable-item-1&quot;-input"
2560
+ name="data-list-draggable-item-1&quot;-input"
2561
+ aria-label="Standalone check"
2512
2562
  />
2513
- </div>
2563
+ </label>
2514
2564
  </div>
2515
2565
  </div>
2516
2566
  <div class="pf-v6-c-data-list__item-content">
@@ -2544,14 +2594,19 @@ When a list item includes more than one block of content, it can be difficult fo
2544
2594
  </span>
2545
2595
  </button>
2546
2596
  <div class="pf-v6-c-data-list__check">
2547
- <div class="pf-v6-c-check pf-m-standalone">
2597
+ <label
2598
+ class="pf-v6-c-check pf-m-standalone"
2599
+ id="data-list-draggable-item-2&quot;"
2600
+ for="data-list-draggable-item-2&quot;-input"
2601
+ >
2548
2602
  <input
2549
2603
  class="pf-v6-c-check__input"
2550
2604
  type="checkbox"
2551
- name="data-list-draggable-item-2-checkbox"
2552
- aria-labelledby="data-list-draggable-item-2"
2605
+ id="data-list-draggable-item-2&quot;-input"
2606
+ name="data-list-draggable-item-2&quot;-input"
2607
+ aria-label="Standalone check"
2553
2608
  />
2554
- </div>
2609
+ </label>
2555
2610
  </div>
2556
2611
  </div>
2557
2612
  <div class="pf-v6-c-data-list__item-content">
@@ -2586,14 +2641,19 @@ When a list item includes more than one block of content, it can be difficult fo
2586
2641
  </span>
2587
2642
  </button>
2588
2643
  <div class="pf-v6-c-data-list__check">
2589
- <div class="pf-v6-c-check pf-m-standalone">
2644
+ <label
2645
+ class="pf-v6-c-check pf-m-standalone"
2646
+ id="data-list-draggable-item-3&quot;"
2647
+ for="data-list-draggable-item-3&quot;-input"
2648
+ >
2590
2649
  <input
2591
2650
  class="pf-v6-c-check__input"
2592
2651
  type="checkbox"
2593
- name="data-list-draggable-item-3-checkbox"
2594
- aria-labelledby="data-list-draggable-item-3"
2652
+ id="data-list-draggable-item-3&quot;-input"
2653
+ name="data-list-draggable-item-3&quot;-input"
2654
+ aria-label="Standalone check"
2595
2655
  />
2596
- </div>
2656
+ </label>
2597
2657
  </div>
2598
2658
  </div>
2599
2659
  <div class="pf-v6-c-data-list__item-content">
@@ -2627,14 +2687,19 @@ When a list item includes more than one block of content, it can be difficult fo
2627
2687
  </span>
2628
2688
  </button>
2629
2689
  <div class="pf-v6-c-data-list__check">
2630
- <div class="pf-v6-c-check pf-m-standalone">
2690
+ <label
2691
+ class="pf-v6-c-check pf-m-standalone"
2692
+ id="data-list-draggable-item-4&quot;"
2693
+ for="data-list-draggable-item-4&quot;-input"
2694
+ >
2631
2695
  <input
2632
2696
  class="pf-v6-c-check__input"
2633
2697
  type="checkbox"
2634
- name="data-list-draggable-item-4-checkbox"
2635
- aria-labelledby="data-list-draggable-item-4"
2698
+ id="data-list-draggable-item-4&quot;-input"
2699
+ name="data-list-draggable-item-4&quot;-input"
2700
+ aria-label="Standalone check"
2636
2701
  />
2637
- </div>
2702
+ </label>
2638
2703
  </div>
2639
2704
  </div>
2640
2705
  <div class="pf-v6-c-data-list__item-content">
@@ -2659,22 +2724,22 @@ When a list item includes more than one block of content, it can be difficult fo
2659
2724
 
2660
2725
  | Attribute | Applied to | Outcome |
2661
2726
  | -- | -- | -- |
2662
- | `aria-pressed="true or false"` | `.pf-v5-c-data-list__item-draggable-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. |
2727
+ | `aria-pressed="true or false"` | `.pf-v6-c-data-list__item-draggable-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. |
2663
2728
  | `aria-live` | `[element with live text]` | Gives screen reader users live feedback about what's happening during interaction with the data list, both during drag and drop interactions and keyboard interactions. **Highly Recommended** |
2664
- | `aria-describedby="[id value of applicable content]"` | `.pf-v5-c-data-list__item-draggable-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="draggable-help"></div>`. **Highly recommended** |
2665
- | `aria-labelledby="[id value of .pf-v5-c-data-list__item-draggable-button] [id value of .pf-v5-c-data-list__cell-text]"` | `.pf-v5-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
2666
- | `id="[]"` | `.pf-v5-c-data-list__item-draggable-button`, `.pf-v5-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
2729
+ | `aria-describedby="[id value of applicable content]"` | `.pf-v6-c-data-list__item-draggable-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="draggable-help"></div>`. **Highly recommended** |
2730
+ | `aria-labelledby="[id value of .pf-v6-c-data-list__item-draggable-button] [id value of .pf-v6-c-data-list__cell-text]"` | `.pf-v6-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
2731
+ | `id="[]"` | `.pf-v6-c-data-list__item-draggable-button`, `.pf-v6-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
2667
2732
 
2668
2733
  ### Usage
2669
2734
 
2670
2735
  | Class | Applied to | Outcome |
2671
2736
  | -- | -- | -- |
2672
- | `.pf-v5-c-data-list__item-draggable-button` | `<button>` | Initiates the draggable button. Use for drag and drop. |
2673
- | `.pf-v5-c-data-list__item-draggable-icon` | `<span>` | Initiates the draggable button icon. |
2674
- | `.pf-m-draggable` | `.pf-v5-c-data-list__item` | Modifies a data list item so that it is draggable. |
2675
- | `.pf-m-ghost-row` | `.pf-v5-c-data-list__item.pf-m-draggable` | Modifies a draggable data list item to be the ghost row. |
2676
- | `.pf-m-disabled` | `.pf-v5-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
2677
- | `.pf-m-drag-over` | `.pf-v5-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
2737
+ | `.pf-v6-c-data-list__item-draggable-button` | `<button>` | Initiates the draggable button. Use for drag and drop. |
2738
+ | `.pf-v6-c-data-list__item-draggable-icon` | `<span>` | Initiates the draggable button icon. |
2739
+ | `.pf-m-draggable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is draggable. |
2740
+ | `.pf-m-ghost-row` | `.pf-v6-c-data-list__item.pf-m-draggable` | Modifies a draggable data list item to be the ghost row. |
2741
+ | `.pf-m-disabled` | `.pf-v6-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
2742
+ | `.pf-m-drag-over` | `.pf-v6-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
2678
2743
 
2679
2744
  ### Text modifiers
2680
2745
 
@@ -2798,16 +2863,16 @@ When a list item includes more than one block of content, it can be difficult fo
2798
2863
 
2799
2864
  | Class | Applied to | Outcome |
2800
2865
  | -- | -- | -- |
2801
- | `.pf-v5-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
2802
- | `.pf-m-truncate` | `.pf-v5-c-data-list`, `.pf-v5-c-data-list__item-row`, `.pf-v5-c-data-list__cell`, `.pf-v5-c-data-list__text` | Modifies the data list element so that text is truncated. |
2803
- | `.pf-m-break-word` | `.pf-v5-c-data-list`, `.pf-v5-c-data-list__item-row`, `.pf-v5-c-data-list__cell`, `.pf-v5-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
2804
- | `.pf-m-nowrap` | `.pf-v5-c-data-list`, `.pf-v5-c-data-list__item-row`, `.pf-v5-c-data-list__cell`, `.pf-v5-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
2866
+ | `.pf-v6-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
2867
+ | `.pf-m-truncate` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text is truncated. |
2868
+ | `.pf-m-break-word` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
2869
+ | `.pf-m-nowrap` | `.pf-v6-c-data-list`, `.pf-v6-c-data-list__item-row`, `.pf-v6-c-data-list__cell`, `.pf-v6-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
2805
2870
 
2806
2871
  ## Documentation
2807
2872
 
2808
2873
  ### Overview
2809
2874
 
2810
- The DataList component provides a flexible alternative to the Table component, wherein individual data points may or may not exist within each row. DataList relies upon PatternFly layouts to achieve desired presentation within `pf-v5-c-data-list__cell`s. DataLists do not have headers. If headers are required, use the [table component](/components/table).
2875
+ The DataList component provides a flexible alternative to the Table component, wherein individual data points may or may not exist within each row. DataList relies upon PatternFly layouts to achieve desired presentation within `pf-v6-c-data-list__cell`s. DataLists do not have headers. If headers are required, use the [table component](/components/table).
2811
2876
 
2812
2877
  ### Grid
2813
2878
 
@@ -2948,4 +3013,4 @@ The DataList component provides a flexible alternative to the Table component, w
2948
3013
 
2949
3014
  | Class | Applied to | Outcome |
2950
3015
  | -- | -- | -- |
2951
- | `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-v5-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). `.pf-m-grid` will display the grid layout at all breakpoints. `.pf-m-grid-none` will display the desktop layout at all breakpoints. **Note:** Without a grid modifier, the data list will display the grid layout by default and switch to the desktop layout at a medium breakpoint. |
3016
+ | `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-v6-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). `.pf-m-grid` will display the grid layout at all breakpoints. `.pf-m-grid-none` will display the desktop layout at all breakpoints. **Note:** Without a grid modifier, the data list will display the grid layout by default and switch to the desktop layout at a medium breakpoint. |
@@ -2,7 +2,7 @@
2
2
  id: 'Date picker'
3
3
  section: components
4
4
  subsection: date-and-time
5
- cssPrefix: pf-v5-c-date-picker
5
+ cssPrefix: pf-v6-c-date-picker
6
6
  ---import './DatePicker.css'
7
7
 
8
8
  ## Examples
@@ -164,7 +164,7 @@ cssPrefix: pf-v5-c-date-picker
164
164
  ```html
165
165
  <div
166
166
  class="pf-v6-c-date-picker"
167
- style="--pf-v5-c-date-picker__input--c-form-control--Width: 220px;"
167
+ style="--pf-v6-c-date-picker__input--c-form-control--Width: 220px;"
168
168
  >
169
169
  <div class="pf-v6-c-date-picker__input">
170
170
  <div class="pf-v6-c-input-group">
@@ -199,7 +199,7 @@ cssPrefix: pf-v5-c-date-picker
199
199
  ```html
200
200
  <div
201
201
  class="pf-v6-c-date-picker"
202
- style="--pf-v5-c-date-picker__input--c-form-control--width-chars: 18;"
202
+ style="--pf-v6-c-date-picker__input--c-form-control--width-chars: 18;"
203
203
  >
204
204
  <div class="pf-v6-c-date-picker__input">
205
205
  <div class="pf-v6-c-input-group">
@@ -235,10 +235,10 @@ cssPrefix: pf-v5-c-date-picker
235
235
 
236
236
  | Class | Applied to | Outcome |
237
237
  | -- | -- | -- |
238
- | `.pf-v5-c-date-picker` | `<div>` | Initiates the date picker component. **Required** |
239
- | `.pf-v5-c-date-picker__input` | `<div>` | Initiates the date picker input container. **Required** |
240
- | `.pf-v5-c-date-picker__helper-text` | `<div>` | Initiates the date picker helper text. |
241
- | `.pf-v5-c-date-picker__calendar` | `<div>` | Initiates an optional date picker calendar container. **Note:** Required in the react date picker component. |
242
- | `.pf-m-top` | `.pf-v5-c-date-picker` | Modifies to display the calendar above the date picker. |
243
- | `.pf-m-align-right` | `.pf-v5-c-date-picker__calendar` | Modifies the calendar to align the calendar to the right edge of the date picker. |
244
- | `.pf-m-static` | `.pf-v5-c-date-picker__calendar` | Modifies the calendar to be statically positioned to support custom positioning. |
238
+ | `.pf-v6-c-date-picker` | `<div>` | Initiates the date picker component. **Required** |
239
+ | `.pf-v6-c-date-picker__input` | `<div>` | Initiates the date picker input container. **Required** |
240
+ | `.pf-v6-c-date-picker__helper-text` | `<div>` | Initiates the date picker helper text. |
241
+ | `.pf-v6-c-date-picker__calendar` | `<div>` | Initiates an optional date picker calendar container. **Note:** Required in the react date picker component. |
242
+ | `.pf-m-top` | `.pf-v6-c-date-picker` | Modifies to display the calendar above the date picker. |
243
+ | `.pf-m-align-right` | `.pf-v6-c-date-picker__calendar` | Modifies the calendar to align the calendar to the right edge of the date picker. |
244
+ | `.pf-m-static` | `.pf-v6-c-date-picker__calendar` | Modifies the calendar to be statically positioned to support custom positioning. |