@patternfly/patternfly 6.5.0-prerelease.5 → 6.5.0-prerelease.50

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 (376) hide show
  1. package/README.md +1 -1
  2. package/assets/fontawesome/_variables.scss +2 -1
  3. package/assets/images/RHAiExperienceIcon.svg +27 -0
  4. package/assets/images/RHAutomationsLogo.svg +96 -0
  5. package/assets/images/RHServerStackIcon.svg +16 -0
  6. package/assets/images/compass--hero-bg.png +0 -0
  7. package/assets/images/compass--rh-wallpaper-dark.png +0 -0
  8. package/assets/images/compass--rh-wallpaper-light.png +0 -0
  9. package/assets/images/compass--wallpaper-dark.png +0 -0
  10. package/assets/images/compass--wallpaper-light.png +0 -0
  11. package/base/normalize.scss +7 -0
  12. package/base/patternfly-common.css +50 -0
  13. package/base/patternfly-common.scss +59 -0
  14. package/base/patternfly-svg-icons.css +11 -0
  15. package/base/patternfly-svg-icons.scss +14 -0
  16. package/base/patternfly-variables.css +345 -14
  17. package/base/patternfly-variables.scss +40 -0
  18. package/base/tokens/tokens-dark.scss +51 -3
  19. package/base/tokens/tokens-default.scss +67 -13
  20. package/base/tokens/tokens-glass-dark.scss +9 -0
  21. package/base/tokens/tokens-glass.scss +9 -0
  22. package/base/tokens/tokens-local.scss +16 -0
  23. package/base/tokens/tokens-palette.scss +3 -1
  24. package/base/tokens/tokens-redhat-dark.scss +14 -0
  25. package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
  26. package/base/tokens/tokens-redhat-glass.scss +15 -0
  27. package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
  28. package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
  29. package/base/tokens/tokens-redhat.scss +15 -0
  30. package/components/AboutModalBox/about-modal-box.css +36 -26
  31. package/components/Accordion/accordion.css +17 -14
  32. package/components/Accordion/accordion.scss +1 -2
  33. package/components/ActionList/action-list.css +2 -0
  34. package/components/ActionList/action-list.scss +2 -0
  35. package/components/Alert/alert.css +7 -5
  36. package/components/Alert/alert.scss +2 -1
  37. package/components/Avatar/avatar.css +12 -4
  38. package/components/BackgroundImage/background-image.css +6 -3
  39. package/components/Banner/banner.css +8 -6
  40. package/components/Brand/brand.css +3 -1
  41. package/components/Breadcrumb/breadcrumb.css +4 -3
  42. package/components/Button/button.css +117 -14
  43. package/components/Button/button.scss +127 -10
  44. package/components/CalendarMonth/calendar-month.css +4 -3
  45. package/components/Card/card.css +20 -7
  46. package/components/Card/card.scss +16 -2
  47. package/components/ClipboardCopy/clipboard-copy.css +7 -6
  48. package/components/ClipboardCopy/clipboard-copy.scss +3 -3
  49. package/components/CodeEditor/code-editor.css +1 -1
  50. package/components/CodeEditor/code-editor.scss +1 -1
  51. package/components/Compass/compass.css +320 -0
  52. package/components/Compass/compass.scss +350 -0
  53. package/components/DataList/data-list.css +34 -23
  54. package/components/DataList/data-list.scss +7 -2
  55. package/components/DescriptionList/description-list-order.scss +5 -1
  56. package/components/DescriptionList/description-list.css +7 -5
  57. package/components/DescriptionList/description-list.scss +5 -1
  58. package/components/Divider/divider.css +7 -5
  59. package/components/Drawer/drawer.css +110 -56
  60. package/components/Drawer/drawer.scss +69 -9
  61. package/components/DualListSelector/dual-list-selector.css +18 -12
  62. package/components/DualListSelector/dual-list-selector.scss +1 -1
  63. package/components/ExpandableSection/expandable-section.css +21 -16
  64. package/components/ExpandableSection/expandable-section.scss +6 -3
  65. package/components/Form/form.css +2 -2
  66. package/components/Form/form.scss +2 -2
  67. package/components/FormControl/form-control.css +3 -3
  68. package/components/FormControl/form-control.scss +3 -3
  69. package/components/Hero/hero.css +74 -0
  70. package/components/Hero/hero.scss +86 -0
  71. package/components/JumpLinks/jump-links.css +5 -4
  72. package/components/JumpLinks/jump-links.scss +6 -2
  73. package/components/Label/label-group.css +2 -2
  74. package/components/Label/label-group.scss +2 -2
  75. package/components/Label/label.css +4 -3
  76. package/components/Login/login.css +51 -37
  77. package/components/Masthead/masthead.css +70 -16
  78. package/components/Masthead/masthead.scss +54 -1
  79. package/components/Menu/menu.css +23 -14
  80. package/components/MenuToggle/menu-toggle.css +5 -1
  81. package/components/MenuToggle/menu-toggle.scss +6 -1
  82. package/components/ModalBox/modal-box.css +9 -7
  83. package/components/ModalBox/modal-box.scss +2 -2
  84. package/components/Nav/nav.css +74 -11
  85. package/components/Nav/nav.scss +77 -5
  86. package/components/NotificationDrawer/notification-drawer.css +19 -9
  87. package/components/NotificationDrawer/notification-drawer.scss +14 -5
  88. package/components/Page/page.css +55 -29
  89. package/components/Page/page.scss +44 -5
  90. package/components/Pagination/pagination.scss +5 -1
  91. package/components/ProgressStepper/progress-stepper.scss +5 -1
  92. package/components/Sidebar/sidebar.css +1 -1
  93. package/components/Sidebar/sidebar.scss +7 -3
  94. package/components/Skeleton/skeleton.css +16 -15
  95. package/components/Slider/slider.css +32 -18
  96. package/components/Switch/switch.css +4 -2
  97. package/components/Switch/switch.scss +1 -1
  98. package/components/Table/table-grid.css +28 -36
  99. package/components/Table/table-grid.scss +4 -4
  100. package/components/Table/table-tree-view.css +4 -2
  101. package/components/Table/table.css +33 -29
  102. package/components/Table/table.scss +2 -2
  103. package/components/Tabs/tabs.css +35 -18
  104. package/components/Tabs/tabs.scss +35 -7
  105. package/components/TextInputGroup/text-input-group.css +2 -2
  106. package/components/TextInputGroup/text-input-group.scss +2 -2
  107. package/components/ToggleGroup/toggle-group.css +34 -17
  108. package/components/ToggleGroup/toggle-group.scss +36 -20
  109. package/components/Toolbar/toolbar.css +47 -15
  110. package/components/Toolbar/toolbar.scss +34 -6
  111. package/components/TreeView/tree-view.css +45 -14
  112. package/components/TreeView/tree-view.scss +32 -1
  113. package/components/Wizard/wizard.css +21 -17
  114. package/components/Wizard/wizard.scss +4 -4
  115. package/components/_index.css +1602 -676
  116. package/components/_index.scss +3 -1
  117. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
  118. package/docs/components/Accordion/examples/Accordion.md +390 -30
  119. package/docs/components/ActionList/examples/ActionList.md +143 -11
  120. package/docs/components/Alert/examples/Alert.md +678 -54
  121. package/docs/components/Avatar/examples/Avatar.md +4 -4
  122. package/docs/components/BackToTop/examples/BackToTop.md +13 -1
  123. package/docs/components/Banner/examples/Banner.md +65 -5
  124. package/docs/components/Brand/examples/Brand.md +2 -2
  125. package/docs/components/Breadcrumb/examples/Breadcrumb.md +299 -23
  126. package/docs/components/Button/examples/Button.md +2217 -241
  127. package/docs/components/CalendarMonth/examples/CalendarMonth.md +104 -8
  128. package/docs/components/Card/examples/Card.md +206 -4
  129. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +286 -22
  130. package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
  131. package/docs/components/CodeEditor/examples/CodeEditor.md +195 -15
  132. package/docs/components/Compass/examples/Compass.css +17 -0
  133. package/docs/components/Compass/examples/Compass.md +119 -0
  134. package/docs/components/DataList/examples/DataList.md +405 -205
  135. package/docs/components/DatePicker/examples/DatePicker.md +78 -6
  136. package/docs/components/DescriptionList/examples/DescriptionList.md +327 -27
  137. package/docs/components/Divider/examples/Divider.md +2 -2
  138. package/docs/components/Drawer/examples/Drawer.md +353 -35
  139. package/docs/components/DualListSelector/examples/DualListSelector.md +1013 -143
  140. package/docs/components/ExpandableSection/examples/ExpandableSection.md +91 -7
  141. package/docs/components/Form/examples/Form.md +78 -6
  142. package/docs/components/Hero/examples/Hero.md +25 -0
  143. package/docs/components/Icon/examples/Icon.md +92 -8
  144. package/docs/components/InlineEdit/examples/InlineEdit.md +312 -24
  145. package/docs/components/InputGroup/examples/InputGroup.md +27 -3
  146. package/docs/components/JumpLinks/examples/JumpLinks.md +54 -6
  147. package/docs/components/Label/examples/Label.md +2834 -218
  148. package/docs/components/Login/examples/Login.md +26 -2
  149. package/docs/components/Masthead/examples/masthead.md +80 -1
  150. package/docs/components/Menu/examples/Menu.md +1458 -114
  151. package/docs/components/MenuToggle/examples/MenuToggle.md +53 -1
  152. package/docs/components/ModalBox/examples/ModalBox.md +287 -23
  153. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
  154. package/docs/components/Nav/examples/Navigation.md +798 -58
  155. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +598 -46
  156. package/docs/components/OverflowMenu/examples/overflow-menu.md +78 -6
  157. package/docs/components/Page/examples/Page.md +51 -2
  158. package/docs/components/Pagination/examples/Pagination.md +627 -51
  159. package/docs/components/Popover/examples/Popover.md +286 -22
  160. package/docs/components/ProgressStepper/examples/ProgressStepper.md +275 -23
  161. package/docs/components/Sidebar/examples/Sidebar.md +1 -1
  162. package/docs/components/Slider/examples/Slider.md +52 -4
  163. package/docs/components/Table/examples/Table.md +875 -70
  164. package/docs/components/Tabs/examples/Tabs.md +4127 -320
  165. package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
  166. package/docs/components/ToggleGroup/examples/toggle-group.md +195 -15
  167. package/docs/components/Toolbar/examples/Toolbar.md +490 -42
  168. package/docs/components/TreeView/examples/TreeView.md +1390 -130
  169. package/docs/components/Wizard/examples/Wizard.md +492 -72
  170. package/docs/demos/AboutModal/examples/AboutModal.md +57 -9
  171. package/docs/demos/Alert/examples/Alert.md +236 -32
  172. package/docs/demos/BackToTop/examples/BackToTop.md +57 -9
  173. package/docs/demos/Banner/examples/Banner.md +88 -16
  174. package/docs/demos/Button/examples/Button.md +13 -1
  175. package/docs/demos/Card/examples/Card.md +399 -42
  176. package/docs/demos/CardView/examples/CardView.md +161 -17
  177. package/docs/demos/Compass/examples/Compass.md +6836 -0
  178. package/docs/demos/Dashboard/examples/Dashboard.md +173 -26
  179. package/docs/demos/DataList/examples/DataList.md +566 -65
  180. package/docs/demos/DescriptionList/examples/DescriptionList.md +156 -27
  181. package/docs/demos/Drawer/examples/Drawer.md +216 -45
  182. package/docs/demos/Form/examples/BasicForms.md +273 -21
  183. package/docs/demos/JumpLinks/examples/JumpLinks.md +272 -59
  184. package/docs/demos/Masthead/examples/Masthead.md +458 -89
  185. package/docs/demos/Modal/examples/Modal.md +342 -57
  186. package/docs/demos/Nav/examples/Nav.md +660 -87
  187. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1088 -140
  188. package/docs/demos/Page/examples/Page.md +618 -123
  189. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
  190. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +52 -4
  191. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +691 -113
  192. package/docs/demos/Skeleton/examples/Skeleton.md +44 -8
  193. package/docs/demos/Table/examples/Table.md +3924 -256
  194. package/docs/demos/Tabs/examples/Tabs.md +407 -65
  195. package/docs/demos/Toolbar/examples/Toolbar.md +502 -52
  196. package/docs/demos/Wizard/examples/Wizard.md +796 -130
  197. package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
  198. package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
  199. package/docs/layouts/Flex/examples/Flex.css +3 -3
  200. package/docs/layouts/Flex/examples/Flex.md +3 -2
  201. package/docs/layouts/Gallery/examples/Gallery.css +2 -2
  202. package/docs/layouts/Gallery/examples/Gallery.md +4 -3
  203. package/docs/layouts/Grid/examples/Grid.css +1 -1
  204. package/docs/layouts/Grid/examples/Grid.md +6 -5
  205. package/docs/layouts/Level/examples/Level.css +3 -3
  206. package/docs/layouts/Level/examples/Level.md +2 -1
  207. package/docs/layouts/Split/examples/Split.css +1 -1
  208. package/docs/layouts/Split/examples/Split.md +2 -1
  209. package/docs/layouts/Stack/examples/Stack.css +3 -3
  210. package/docs/layouts/Stack/examples/Stack.md +2 -1
  211. package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
  212. package/docs/utilities/Alignment/examples/Alignment.css +4 -4
  213. package/docs/utilities/Alignment/examples/Alignment.md +3 -2
  214. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
  215. package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
  216. package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
  217. package/docs/utilities/Display/examples/Display.css +1 -1
  218. package/docs/utilities/Display/examples/Display.md +3 -2
  219. package/docs/utilities/Flex/examples/Flex.css +7 -7
  220. package/docs/utilities/Flex/examples/Flex.md +3 -2
  221. package/docs/utilities/Float/examples/Float.css +2 -2
  222. package/docs/utilities/Float/examples/Float.md +3 -2
  223. package/docs/utilities/Sizing/examples/Sizing.md +8 -7
  224. package/docs/utilities/Spacing/examples/Spacing.css +2 -2
  225. package/docs/utilities/Spacing/examples/Spacing.md +3 -2
  226. package/docs/utilities/Text/examples/Text.md +5 -4
  227. package/icons/PfIcons/add-circle-o.svg +4 -0
  228. package/icons/PfIcons/ansible-tower.svg +4 -0
  229. package/icons/PfIcons/applications.svg +4 -0
  230. package/icons/PfIcons/arrow.svg +4 -0
  231. package/icons/PfIcons/asleep.svg +4 -0
  232. package/icons/PfIcons/attention-bell.svg +4 -0
  233. package/icons/PfIcons/automation.svg +4 -0
  234. package/icons/PfIcons/bell.svg +4 -0
  235. package/icons/PfIcons/blueprint.svg +4 -0
  236. package/icons/PfIcons/build.svg +4 -0
  237. package/icons/PfIcons/builder-image.svg +4 -0
  238. package/icons/PfIcons/bundle.svg +4 -0
  239. package/icons/PfIcons/catalog.svg +4 -0
  240. package/icons/PfIcons/chat.svg +4 -0
  241. package/icons/PfIcons/close.svg +4 -0
  242. package/icons/PfIcons/cloud-security.svg +4 -0
  243. package/icons/PfIcons/cloud-tenant.svg +4 -0
  244. package/icons/PfIcons/cluster.svg +4 -0
  245. package/icons/PfIcons/connected.svg +4 -0
  246. package/icons/PfIcons/container-node.svg +4 -0
  247. package/icons/PfIcons/cpu.svg +4 -0
  248. package/icons/PfIcons/critical-risk.svg +4 -0
  249. package/icons/PfIcons/data-processor.svg +4 -0
  250. package/icons/PfIcons/data-sink.svg +4 -0
  251. package/icons/PfIcons/data-source.svg +4 -0
  252. package/icons/PfIcons/degraded.svg +4 -0
  253. package/icons/PfIcons/disconnected.svg +4 -0
  254. package/icons/PfIcons/domain.svg +4 -0
  255. package/icons/PfIcons/edit.svg +4 -0
  256. package/icons/PfIcons/enhancement.svg +4 -0
  257. package/icons/PfIcons/enterprise.svg +4 -0
  258. package/icons/PfIcons/equalizer.svg +4 -0
  259. package/icons/PfIcons/error-circle-o.svg +4 -0
  260. package/icons/PfIcons/export.svg +4 -0
  261. package/icons/PfIcons/filter.svg +4 -0
  262. package/icons/PfIcons/flavor.svg +4 -0
  263. package/icons/PfIcons/folder-close.svg +4 -0
  264. package/icons/PfIcons/folder-open.svg +4 -0
  265. package/icons/PfIcons/globe-route.svg +4 -0
  266. package/icons/PfIcons/help.svg +4 -0
  267. package/icons/PfIcons/history.svg +4 -0
  268. package/icons/PfIcons/home.svg +4 -0
  269. package/icons/PfIcons/import.svg +4 -0
  270. package/icons/PfIcons/in-progress.svg +4 -0
  271. package/icons/PfIcons/info.svg +4 -0
  272. package/icons/PfIcons/infrastructure.svg +4 -0
  273. package/icons/PfIcons/integration.svg +4 -0
  274. package/icons/PfIcons/key.svg +4 -0
  275. package/icons/PfIcons/locked.svg +4 -0
  276. package/icons/PfIcons/maintenance.svg +4 -0
  277. package/icons/PfIcons/memory.svg +4 -0
  278. package/icons/PfIcons/messages.svg +4 -0
  279. package/icons/PfIcons/middleware.svg +4 -0
  280. package/icons/PfIcons/migration.svg +4 -0
  281. package/icons/PfIcons/module.svg +4 -0
  282. package/icons/PfIcons/monitoring.svg +4 -0
  283. package/icons/PfIcons/multicluster.svg +4 -0
  284. package/icons/PfIcons/namespaces.svg +4 -0
  285. package/icons/PfIcons/network.svg +4 -0
  286. package/icons/PfIcons/new-process.svg +4 -0
  287. package/icons/PfIcons/not-started.svg +4 -0
  288. package/icons/PfIcons/off.svg +4 -0
  289. package/icons/PfIcons/ok.svg +4 -0
  290. package/icons/PfIcons/on-running.svg +4 -0
  291. package/icons/PfIcons/on.svg +4 -0
  292. package/icons/PfIcons/open-drawer-right.svg +4 -0
  293. package/icons/PfIcons/openshift.svg +4 -0
  294. package/icons/PfIcons/openstack.svg +4 -0
  295. package/icons/PfIcons/optimize.svg +4 -0
  296. package/icons/PfIcons/orders.svg +4 -0
  297. package/icons/PfIcons/os-image.svg +4 -0
  298. package/icons/PfIcons/package.svg +4 -0
  299. package/icons/PfIcons/panel-close.svg +4 -0
  300. package/icons/PfIcons/panel-open.svg +4 -0
  301. package/icons/PfIcons/paused.svg +4 -0
  302. package/icons/PfIcons/pending.svg +4 -0
  303. package/icons/PfIcons/pficon-dragdrop.svg +4 -0
  304. package/icons/PfIcons/pficon-history.svg +4 -0
  305. package/icons/PfIcons/pficon-network-range.svg +4 -0
  306. package/icons/PfIcons/pficon-satellite.svg +4 -0
  307. package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
  308. package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
  309. package/icons/PfIcons/pficon-template.svg +4 -0
  310. package/icons/PfIcons/pficon-vcenter.svg +4 -0
  311. package/icons/PfIcons/plugged.svg +4 -0
  312. package/icons/PfIcons/port.svg +4 -0
  313. package/icons/PfIcons/print.svg +4 -0
  314. package/icons/PfIcons/private.svg +4 -0
  315. package/icons/PfIcons/process-automation.svg +4 -0
  316. package/icons/PfIcons/project.svg +4 -0
  317. package/icons/PfIcons/rebalance.svg +4 -0
  318. package/icons/PfIcons/rebooting.svg +4 -0
  319. package/icons/PfIcons/regions.svg +4 -0
  320. package/icons/PfIcons/registry.svg +4 -0
  321. package/icons/PfIcons/remove2.svg +4 -0
  322. package/icons/PfIcons/replicator.svg +4 -0
  323. package/icons/PfIcons/repository.svg +4 -0
  324. package/icons/PfIcons/resource-pool.svg +4 -0
  325. package/icons/PfIcons/resources-almost-empty.svg +4 -0
  326. package/icons/PfIcons/resources-almost-full.svg +4 -0
  327. package/icons/PfIcons/resources-empty.svg +4 -0
  328. package/icons/PfIcons/resources-full.svg +4 -0
  329. package/icons/PfIcons/running.svg +4 -0
  330. package/icons/PfIcons/save.svg +4 -0
  331. package/icons/PfIcons/screen.svg +4 -0
  332. package/icons/PfIcons/security.svg +4 -0
  333. package/icons/PfIcons/server-group.svg +4 -0
  334. package/icons/PfIcons/server.svg +4 -0
  335. package/icons/PfIcons/service-catalog.svg +4 -0
  336. package/icons/PfIcons/service.svg +4 -0
  337. package/icons/PfIcons/services.svg +4 -0
  338. package/icons/PfIcons/severity-critical.svg +4 -0
  339. package/icons/PfIcons/severity-important.svg +4 -0
  340. package/icons/PfIcons/severity-minor.svg +4 -0
  341. package/icons/PfIcons/severity-moderate.svg +4 -0
  342. package/icons/PfIcons/severity-none.svg +4 -0
  343. package/icons/PfIcons/severity-undefined.svg +4 -0
  344. package/icons/PfIcons/spinner.svg +4 -0
  345. package/icons/PfIcons/spinner2.svg +4 -0
  346. package/icons/PfIcons/storage-domain.svg +4 -0
  347. package/icons/PfIcons/task.svg +4 -0
  348. package/icons/PfIcons/tenant.svg +4 -0
  349. package/icons/PfIcons/thumb-tack.svg +4 -0
  350. package/icons/PfIcons/topology.svg +4 -0
  351. package/icons/PfIcons/treeview.svg +4 -0
  352. package/icons/PfIcons/trend-down.svg +4 -0
  353. package/icons/PfIcons/trend-up.svg +4 -0
  354. package/icons/PfIcons/unknown.svg +4 -0
  355. package/icons/PfIcons/unlocked.svg +4 -0
  356. package/icons/PfIcons/unplugged.svg +4 -0
  357. package/icons/PfIcons/user.svg +4 -0
  358. package/icons/PfIcons/users.svg +4 -0
  359. package/icons/PfIcons/virtual-machine.svg +4 -0
  360. package/icons/PfIcons/volume.svg +4 -0
  361. package/icons/PfIcons/warning-triangle.svg +4 -0
  362. package/icons/PfIcons/zone.svg +4 -0
  363. package/layouts/Flex/flex.scss +83 -19
  364. package/layouts/Gallery/gallery.css +6 -2
  365. package/layouts/_index.css +6 -2
  366. package/package.json +34 -16
  367. package/patternfly-base-no-globals.css +406 -14
  368. package/patternfly-base.css +413 -14
  369. package/patternfly-charts.css +3 -3
  370. package/patternfly-no-globals.css +1947 -625
  371. package/patternfly.css +1954 -625
  372. package/patternfly.min.css +1 -1
  373. package/patternfly.min.css.map +1 -1
  374. package/sass-utilities/functions.scss +32 -25
  375. package/sass-utilities/mixins.scss +36 -20
  376. package/sass-utilities/namespaces-components.scss +6 -0
@@ -2,9 +2,9 @@
2
2
  id: Data list
3
3
  section: components
4
4
  cssPrefix: pf-v6-c-data-list
5
- ---## Examples
5
+ ---## Basic data list
6
6
 
7
- ### Basic
7
+ ### Basic data list example
8
8
 
9
9
  ```html
10
10
  <ul
@@ -40,7 +40,7 @@ cssPrefix: pf-v6-c-data-list
40
40
 
41
41
  ```
42
42
 
43
- ### Accessibility
43
+ ### Basic data list accessibility
44
44
 
45
45
  | Attribute | Applied to | Outcome |
46
46
  | -- | -- | -- |
@@ -49,7 +49,7 @@ cssPrefix: pf-v6-c-data-list
49
49
  | `aria-labelledby` | `.pf-v6-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
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
- ### Usage
52
+ ### Basic data list usage
53
53
 
54
54
  | Class | Applied to | Outcome |
55
55
  | -- | -- | -- |
@@ -63,7 +63,9 @@ cssPrefix: pf-v6-c-data-list
63
63
  | `.pf-m-no-fill` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
64
  | `.pf-m-align-right` | `.pf-v6-c-data-list__cell` | Modifies a data list cell to align-right. |
65
65
 
66
- ### With headings
66
+ ## Data list with headings
67
+
68
+ ### Data list with headings example
67
69
 
68
70
  ```html
69
71
  <ul
@@ -76,7 +78,7 @@ cssPrefix: pf-v6-c-data-list
76
78
  <div class="pf-v6-c-data-list__item-row">
77
79
  <div class="pf-v6-c-data-list__item-content">
78
80
  <div class="pf-v6-c-data-list__cell">
79
- <h2 id="data-list-with-headings-item-1">Primary content</h2>
81
+ <h4 id="data-list-with-headings-item-1">Primary content</h4>
80
82
  </div>
81
83
  <div class="pf-v6-c-data-list__cell">Secondary content</div>
82
84
  </div>
@@ -87,9 +89,9 @@ cssPrefix: pf-v6-c-data-list
87
89
  <div class="pf-v6-c-data-list__item-row">
88
90
  <div class="pf-v6-c-data-list__item-content">
89
91
  <div class="pf-v6-c-data-list__cell pf-m-no-fill">
90
- <h2
92
+ <h4
91
93
  id="data-list-with-headings-item-2"
92
- >Secondary content (pf-m-no-fill)</h2>
94
+ >Secondary content (pf-m-no-fill)</h4>
93
95
  </div>
94
96
  <div
95
97
  class="pf-v6-c-data-list__cell pf-m-no-fill pf-m-align-right"
@@ -101,11 +103,13 @@ cssPrefix: pf-v6-c-data-list
101
103
 
102
104
  ```
103
105
 
104
- ### Usage
106
+ ### Data list with headings usage
105
107
 
106
108
  When a list item includes more than one block of content, it can be difficult for some screen reader users to discern where one list item ends and the next one begins. A simple way to provide better separation of list items is to define the primary content section as a heading. Headings are useful for indicating a new section of contents, but also provide an easy way for screen reader users to navigate to specific sections on the page. The heading level should be based on the context in which the DataList component is being used. For example, if the heading for the section that contains the DataList is a level 3, then `h4` elements should be used in the DataList list items.
107
109
 
108
- ### Checkboxes, actions, and additional cells
110
+ ## Data list with checkboxes, actions, and additional cells
111
+
112
+ ### Data list with checkboxes, actions, and additional cells example
109
113
 
110
114
  ```html
111
115
  <ul
@@ -284,7 +288,7 @@ When a list item includes more than one block of content, it can be difficult fo
284
288
 
285
289
  ```
286
290
 
287
- ### Accessibility
291
+ ### Data list with checkboxes, actions, and additional cells accessibility
288
292
 
289
293
  | Attribute | Applied to | Outcome |
290
294
  | -- | -- | -- |
@@ -293,7 +297,7 @@ When a list item includes more than one block of content, it can be difficult fo
293
297
  | `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** |
294
298
  | `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** |
295
299
 
296
- ### Usage
300
+ ### Data list with checkboxes, actions, and additional cells usage
297
301
 
298
302
  | Class | Applied to | Outcome |
299
303
  | -- | -- | -- |
@@ -301,10 +305,12 @@ When a list item includes more than one block of content, it can be difficult fo
301
305
  | `.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** |
302
306
  | `.pf-v6-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
303
307
  | `.pf-v6-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
304
- | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/tokens/all-patternfly-tokens), or hides it at all breakpoints with `.pf-m-hidden`. |
305
- | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/tokens/all-patternfly-tokens). |
308
+ | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens), or hides it at all breakpoints with `.pf-m-hidden`. |
309
+ | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
306
310
 
307
- ### Expandable
311
+ ## Exandable data list
312
+
313
+ ### Expandable data list example
308
314
 
309
315
  ```html
310
316
  <ul
@@ -328,7 +334,19 @@ When a list item includes more than one block of content, it can be difficult fo
328
334
  >
329
335
  <span class="pf-v6-c-button__icon pf-m-start">
330
336
  <div class="pf-v6-c-data-list__toggle-icon">
331
- <i class="fas fa-angle-right" aria-hidden="true"></i>
337
+ <svg
338
+ class="pf-v6-svg"
339
+ viewBox="0 0 20 20"
340
+ fill="currentColor"
341
+ aria-hidden="true"
342
+ role="img"
343
+ width="1em"
344
+ height="1em"
345
+ >
346
+ <path
347
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
348
+ />
349
+ </svg>
332
350
  </div>
333
351
  </span>
334
352
  </button>
@@ -390,7 +408,19 @@ When a list item includes more than one block of content, it can be difficult fo
390
408
  >
391
409
  <span class="pf-v6-c-button__icon pf-m-start">
392
410
  <div class="pf-v6-c-data-list__toggle-icon">
393
- <i class="fas fa-angle-right" aria-hidden="true"></i>
411
+ <svg
412
+ class="pf-v6-svg"
413
+ viewBox="0 0 20 20"
414
+ fill="currentColor"
415
+ aria-hidden="true"
416
+ role="img"
417
+ width="1em"
418
+ height="1em"
419
+ >
420
+ <path
421
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
422
+ />
423
+ </svg>
394
424
  </div>
395
425
  </span>
396
426
  </button>
@@ -449,7 +479,19 @@ When a list item includes more than one block of content, it can be difficult fo
449
479
  >
450
480
  <span class="pf-v6-c-button__icon pf-m-start">
451
481
  <div class="pf-v6-c-data-list__toggle-icon">
452
- <i class="fas fa-angle-right" aria-hidden="true"></i>
482
+ <svg
483
+ class="pf-v6-svg"
484
+ viewBox="0 0 20 20"
485
+ fill="currentColor"
486
+ aria-hidden="true"
487
+ role="img"
488
+ width="1em"
489
+ height="1em"
490
+ >
491
+ <path
492
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
493
+ />
494
+ </svg>
453
495
  </div>
454
496
  </span>
455
497
  </button>
@@ -498,7 +540,7 @@ When a list item includes more than one block of content, it can be difficult fo
498
540
 
499
541
  ```
500
542
 
501
- ### Expandable compact
543
+ ### Compact expandable data list example
502
544
 
503
545
  ```html
504
546
  <ul
@@ -522,7 +564,19 @@ When a list item includes more than one block of content, it can be difficult fo
522
564
  >
523
565
  <span class="pf-v6-c-button__icon pf-m-start">
524
566
  <div class="pf-v6-c-data-list__toggle-icon">
525
- <i class="fas fa-angle-right" aria-hidden="true"></i>
567
+ <svg
568
+ class="pf-v6-svg"
569
+ viewBox="0 0 20 20"
570
+ fill="currentColor"
571
+ aria-hidden="true"
572
+ role="img"
573
+ width="1em"
574
+ height="1em"
575
+ >
576
+ <path
577
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
578
+ />
579
+ </svg>
526
580
  </div>
527
581
  </span>
528
582
  </button>
@@ -584,7 +638,19 @@ When a list item includes more than one block of content, it can be difficult fo
584
638
  >
585
639
  <span class="pf-v6-c-button__icon pf-m-start">
586
640
  <div class="pf-v6-c-data-list__toggle-icon">
587
- <i class="fas fa-angle-right" aria-hidden="true"></i>
641
+ <svg
642
+ class="pf-v6-svg"
643
+ viewBox="0 0 20 20"
644
+ fill="currentColor"
645
+ aria-hidden="true"
646
+ role="img"
647
+ width="1em"
648
+ height="1em"
649
+ >
650
+ <path
651
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
652
+ />
653
+ </svg>
588
654
  </div>
589
655
  </span>
590
656
  </button>
@@ -646,7 +712,19 @@ When a list item includes more than one block of content, it can be difficult fo
646
712
  >
647
713
  <span class="pf-v6-c-button__icon pf-m-start">
648
714
  <div class="pf-v6-c-data-list__toggle-icon">
649
- <i class="fas fa-angle-right" aria-hidden="true"></i>
715
+ <svg
716
+ class="pf-v6-svg"
717
+ viewBox="0 0 20 20"
718
+ fill="currentColor"
719
+ aria-hidden="true"
720
+ role="img"
721
+ width="1em"
722
+ height="1em"
723
+ >
724
+ <path
725
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
726
+ />
727
+ </svg>
650
728
  </div>
651
729
  </span>
652
730
  </button>
@@ -695,7 +773,7 @@ When a list item includes more than one block of content, it can be difficult fo
695
773
 
696
774
  ```
697
775
 
698
- ### Expandable nested
776
+ ### Nested expandable data list example
699
777
 
700
778
  ```html
701
779
  <ul
@@ -719,7 +797,19 @@ When a list item includes more than one block of content, it can be difficult fo
719
797
  >
720
798
  <span class="pf-v6-c-button__icon pf-m-start">
721
799
  <div class="pf-v6-c-data-list__toggle-icon">
722
- <i class="fas fa-angle-right" aria-hidden="true"></i>
800
+ <svg
801
+ class="pf-v6-svg"
802
+ viewBox="0 0 20 20"
803
+ fill="currentColor"
804
+ aria-hidden="true"
805
+ role="img"
806
+ width="1em"
807
+ height="1em"
808
+ >
809
+ <path
810
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
811
+ />
812
+ </svg>
723
813
  </div>
724
814
  </span>
725
815
  </button>
@@ -782,7 +872,19 @@ When a list item includes more than one block of content, it can be difficult fo
782
872
  >
783
873
  <span class="pf-v6-c-button__icon pf-m-start">
784
874
  <div class="pf-v6-c-data-list__toggle-icon">
785
- <i class="fas fa-angle-right" aria-hidden="true"></i>
875
+ <svg
876
+ class="pf-v6-svg"
877
+ viewBox="0 0 20 20"
878
+ fill="currentColor"
879
+ aria-hidden="true"
880
+ role="img"
881
+ width="1em"
882
+ height="1em"
883
+ >
884
+ <path
885
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
886
+ />
887
+ </svg>
786
888
  </div>
787
889
  </span>
788
890
  </button>
@@ -822,7 +924,19 @@ When a list item includes more than one block of content, it can be difficult fo
822
924
  >
823
925
  <span class="pf-v6-c-button__icon pf-m-start">
824
926
  <div class="pf-v6-c-data-list__toggle-icon">
825
- <i class="fas fa-angle-right" aria-hidden="true"></i>
927
+ <svg
928
+ class="pf-v6-svg"
929
+ viewBox="0 0 20 20"
930
+ fill="currentColor"
931
+ aria-hidden="true"
932
+ role="img"
933
+ width="1em"
934
+ height="1em"
935
+ >
936
+ <path
937
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
938
+ />
939
+ </svg>
826
940
  </div>
827
941
  </span>
828
942
  </button>
@@ -863,7 +977,19 @@ When a list item includes more than one block of content, it can be difficult fo
863
977
  >
864
978
  <span class="pf-v6-c-button__icon pf-m-start">
865
979
  <div class="pf-v6-c-data-list__toggle-icon">
866
- <i class="fas fa-angle-right" aria-hidden="true"></i>
980
+ <svg
981
+ class="pf-v6-svg"
982
+ viewBox="0 0 20 20"
983
+ fill="currentColor"
984
+ aria-hidden="true"
985
+ role="img"
986
+ width="1em"
987
+ height="1em"
988
+ >
989
+ <path
990
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
991
+ />
992
+ </svg>
867
993
  </div>
868
994
  </span>
869
995
  </button>
@@ -907,7 +1033,19 @@ When a list item includes more than one block of content, it can be difficult fo
907
1033
  >
908
1034
  <span class="pf-v6-c-button__icon pf-m-start">
909
1035
  <div class="pf-v6-c-data-list__toggle-icon">
910
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1036
+ <svg
1037
+ class="pf-v6-svg"
1038
+ viewBox="0 0 20 20"
1039
+ fill="currentColor"
1040
+ aria-hidden="true"
1041
+ role="img"
1042
+ width="1em"
1043
+ height="1em"
1044
+ >
1045
+ <path
1046
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1047
+ />
1048
+ </svg>
911
1049
  </div>
912
1050
  </span>
913
1051
  </button>
@@ -966,7 +1104,19 @@ When a list item includes more than one block of content, it can be difficult fo
966
1104
  >
967
1105
  <span class="pf-v6-c-button__icon pf-m-start">
968
1106
  <div class="pf-v6-c-data-list__toggle-icon">
969
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1107
+ <svg
1108
+ class="pf-v6-svg"
1109
+ viewBox="0 0 20 20"
1110
+ fill="currentColor"
1111
+ aria-hidden="true"
1112
+ role="img"
1113
+ width="1em"
1114
+ height="1em"
1115
+ >
1116
+ <path
1117
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1118
+ />
1119
+ </svg>
970
1120
  </div>
971
1121
  </span>
972
1122
  </button>
@@ -1015,7 +1165,9 @@ When a list item includes more than one block of content, it can be difficult fo
1015
1165
 
1016
1166
  ```
1017
1167
 
1018
- ### Compact
1168
+ ## Compact data list
1169
+
1170
+ ### Compact data list example
1019
1171
 
1020
1172
  ```html
1021
1173
  <ul
@@ -1188,7 +1340,7 @@ When a list item includes more than one block of content, it can be difficult fo
1188
1340
 
1189
1341
  ```
1190
1342
 
1191
- ### Accessibility
1343
+ ### Compact data list accessibility
1192
1344
 
1193
1345
  | Attribute | Applied to | Outcome |
1194
1346
  | -- | -- | -- |
@@ -1199,7 +1351,7 @@ When a list item includes more than one block of content, it can be difficult fo
1199
1351
  | `id="{button_id}"` | `.pf-v6-c-data-list__toggle` > `.pf-v6-c-button` | Provides a reference for toggle button description. **Required** |
1200
1352
  | `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** |
1201
1353
 
1202
- ### Usage
1354
+ ### Compact data list usage
1203
1355
 
1204
1356
  | Class | Applied to | Outcome |
1205
1357
  | -- | -- | -- |
@@ -1213,15 +1365,16 @@ When a list item includes more than one block of content, it can be difficult fo
1213
1365
  | `.pf-m-no-padding` | `.pf-v6-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1214
1366
  | `.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. |
1215
1367
 
1216
- ### Modifiers
1368
+ ## Data list modifiers
1369
+
1370
+ ### Data list flex modifiers example
1217
1371
 
1218
1372
  ```html
1219
- <h2 class="Preview__section-title">Default fitting - example 1</h2>
1220
1373
  <ul
1221
1374
  class="pf-v6-c-data-list"
1222
1375
  role="list"
1223
1376
  aria-label="Width modifier data list example 1"
1224
- id="data-list-default-fitting"
1377
+ id="data-list-modifiers"
1225
1378
  >
1226
1379
  <li class="pf-v6-c-data-list__item">
1227
1380
  <div class="pf-v6-c-data-list__item-row">
@@ -1229,13 +1382,13 @@ When a list item includes more than one block of content, it can be difficult fo
1229
1382
  <div class="pf-v6-c-data-list__check">
1230
1383
  <label
1231
1384
  class="pf-v6-c-check pf-m-standalone"
1232
- for="data-list-default-fitting-item-1&quot;-input"
1385
+ for="data-list-modifiers-item-1&quot;-input"
1233
1386
  >
1234
1387
  <input
1235
1388
  class="pf-v6-c-check__input"
1236
1389
  type="checkbox"
1237
- id="data-list-default-fitting-item-1&quot;-input"
1238
- name="data-list-default-fitting-item-1&quot;-input"
1390
+ id="data-list-modifiers-item-1&quot;-input"
1391
+ name="data-list-modifiers-item-1&quot;-input"
1239
1392
  aria-label="Standalone check"
1240
1393
  />
1241
1394
  </label>
@@ -1244,7 +1397,7 @@ When a list item includes more than one block of content, it can be difficult fo
1244
1397
  <div class="pf-v6-c-data-list__item-content">
1245
1398
  <div class="pf-v6-c-data-list__cell">
1246
1399
  <div class="Preview__placeholder">
1247
- <b id="data-list-default-fitting-item-1">default</b>
1400
+ <b id="data-list-modifiers-item-1">default</b>
1248
1401
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
1249
1402
  </div>
1250
1403
  </div>
@@ -1257,28 +1410,19 @@ When a list item includes more than one block of content, it can be difficult fo
1257
1410
  </div>
1258
1411
  </div>
1259
1412
  </li>
1260
- </ul>
1261
-
1262
- <h2 class="Preview__section-title">Flex modifiers - example 2</h2>
1263
- <ul
1264
- class="pf-v6-c-data-list"
1265
- role="list"
1266
- aria-label="Width modifier data list example 2"
1267
- id="data-list-flex-modifiers"
1268
- >
1269
1413
  <li class="pf-v6-c-data-list__item">
1270
1414
  <div class="pf-v6-c-data-list__item-row">
1271
1415
  <div class="pf-v6-c-data-list__item-control">
1272
1416
  <div class="pf-v6-c-data-list__check">
1273
1417
  <label
1274
1418
  class="pf-v6-c-check pf-m-standalone"
1275
- for="data-list-flex-modifiers-item-1&quot;-input"
1419
+ for="data-list-modifiers-item-2&quot;-input"
1276
1420
  >
1277
1421
  <input
1278
1422
  class="pf-v6-c-check__input"
1279
1423
  type="checkbox"
1280
- id="data-list-flex-modifiers-item-1&quot;-input"
1281
- name="data-list-flex-modifiers-item-1&quot;-input"
1424
+ id="data-list-modifiers-item-2&quot;-input"
1425
+ name="data-list-modifiers-item-2&quot;-input"
1282
1426
  aria-label="Standalone check"
1283
1427
  />
1284
1428
  </label>
@@ -1287,7 +1431,7 @@ When a list item includes more than one block of content, it can be difficult fo
1287
1431
  <div class="pf-v6-c-data-list__item-content">
1288
1432
  <div class="pf-v6-c-data-list__cell pf-m-flex-2">
1289
1433
  <div class="Preview__placeholder">
1290
- <b id="data-list-flex-modifiers-item-1">.pf-m-flex-2</b>
1434
+ <b id="data-list-modifiers-item-2">.pf-m-flex-2</b>
1291
1435
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
1292
1436
  </div>
1293
1437
  </div>
@@ -1304,7 +1448,7 @@ When a list item includes more than one block of content, it can be difficult fo
1304
1448
  type="button"
1305
1449
  aria-expanded="false"
1306
1450
  aria-label="Data list item menu toggle"
1307
- id="data-list-flex-modifiers-item-1-menu-toggle"
1451
+ id="data-list-modifiers-item-2-menu-toggle"
1308
1452
  >
1309
1453
  <span class="pf-v6-c-menu-toggle__icon">
1310
1454
  <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
@@ -1313,15 +1457,6 @@ When a list item includes more than one block of content, it can be difficult fo
1313
1457
  </div>
1314
1458
  </div>
1315
1459
  </li>
1316
- </ul>
1317
-
1318
- <h2 class="Preview__section-title">Flex modifiers - example 3</h2>
1319
- <ul
1320
- class="pf-v6-c-data-list"
1321
- role="list"
1322
- aria-label="Width modifier data list example 3"
1323
- id="data-list-flex-modifiers-2"
1324
- >
1325
1460
  <li class="pf-v6-c-data-list__item pf-m-expanded">
1326
1461
  <div class="pf-v6-c-data-list__item-row">
1327
1462
  <div class="pf-v6-c-data-list__item-control">
@@ -1329,15 +1464,27 @@ When a list item includes more than one block of content, it can be difficult fo
1329
1464
  <button
1330
1465
  class="pf-v6-c-button pf-m-plain"
1331
1466
  type="button"
1332
- aria-labelledby="data-list-flex-modifiers-2-toggle1 data-list-flex-modifiers-2-item-1"
1333
- id="data-list-flex-modifiers-2-toggle1"
1467
+ aria-labelledby="data-list-modifiers-toggle1 data-list-modifiers-item-1"
1468
+ id="data-list-modifiers-toggle1"
1334
1469
  aria-label="Toggle details for"
1335
1470
  aria-expanded="true"
1336
- aria-controls="data-list-flex-modifiers-2-content1"
1471
+ aria-controls="data-list-modifiers-content1"
1337
1472
  >
1338
1473
  <span class="pf-v6-c-button__icon pf-m-start">
1339
1474
  <div class="pf-v6-c-data-list__toggle-icon">
1340
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1475
+ <svg
1476
+ class="pf-v6-svg"
1477
+ viewBox="0 0 20 20"
1478
+ fill="currentColor"
1479
+ aria-hidden="true"
1480
+ role="img"
1481
+ width="1em"
1482
+ height="1em"
1483
+ >
1484
+ <path
1485
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1486
+ />
1487
+ </svg>
1341
1488
  </div>
1342
1489
  </span>
1343
1490
  </button>
@@ -1346,13 +1493,13 @@ When a list item includes more than one block of content, it can be difficult fo
1346
1493
  <div class="pf-v6-c-data-list__check">
1347
1494
  <label
1348
1495
  class="pf-v6-c-check pf-m-standalone"
1349
- for="data-list-flex-modifiers-2-item-1&quot;-input"
1496
+ for="data-list-modifiers-item-3&quot;-input"
1350
1497
  >
1351
1498
  <input
1352
1499
  class="pf-v6-c-check__input"
1353
1500
  type="checkbox"
1354
- id="data-list-flex-modifiers-2-item-1&quot;-input"
1355
- name="data-list-flex-modifiers-2-item-1&quot;-input"
1501
+ id="data-list-modifiers-item-3&quot;-input"
1502
+ name="data-list-modifiers-item-3&quot;-input"
1356
1503
  aria-label="Standalone check"
1357
1504
  />
1358
1505
  </label>
@@ -1361,7 +1508,7 @@ When a list item includes more than one block of content, it can be difficult fo
1361
1508
  <div class="pf-v6-c-data-list__item-content">
1362
1509
  <div class="pf-v6-c-data-list__cell pf-m-flex-5">
1363
1510
  <div class="Preview__placeholder">
1364
- <b id="data-list-flex-modifiers-2-item-1">.pf-m-flex-5</b>
1511
+ <b id="data-list-modifiers-item-3">.pf-m-flex-5</b>
1365
1512
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
1366
1513
  </div>
1367
1514
  </div>
@@ -1390,7 +1537,7 @@ When a list item includes more than one block of content, it can be difficult fo
1390
1537
  type="button"
1391
1538
  aria-expanded="false"
1392
1539
  aria-label="Data list item menu toggle"
1393
- id="data-list-flex-modifiers-2-item-1-menu-toggle"
1540
+ id="data-list-modifiers-item-3-menu-toggle"
1394
1541
  >
1395
1542
  <span class="pf-v6-c-menu-toggle__icon">
1396
1543
  <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
@@ -1400,7 +1547,7 @@ When a list item includes more than one block of content, it can be difficult fo
1400
1547
  </div>
1401
1548
  <section
1402
1549
  class="pf-v6-c-data-list__expandable-content"
1403
- id="data-list-flex-modifiers-2-content1"
1550
+ id="data-list-modifiers-content1"
1404
1551
  aria-label="Flex modifier expandable primary content details"
1405
1552
  >
1406
1553
  <div
@@ -1412,19 +1559,103 @@ When a list item includes more than one block of content, it can be difficult fo
1412
1559
 
1413
1560
  ```
1414
1561
 
1415
- ### Accessibility
1562
+ ### Data list text modifiers example
1563
+
1564
+ ```html
1565
+ <ul
1566
+ class="pf-v6-c-data-list"
1567
+ role="list"
1568
+ aria-label="Data list with text modifiers"
1569
+ id="data-list-with-text-modifiers"
1570
+ >
1571
+ <li class="pf-v6-c-data-list__item">
1572
+ <div class="pf-v6-c-data-list__item-row">
1573
+ <div class="pf-v6-c-data-list__item-content">
1574
+ <div class="pf-v6-c-data-list__cell">
1575
+ <span
1576
+ id="data-list-with-text-modifiers-item"
1577
+ >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1578
+ </div>
1579
+ <div
1580
+ class="pf-v6-c-data-list__cell pf-m-truncate"
1581
+ tabindex="0"
1582
+ >This text will truncate because it is very very long.</div>
1583
+ <div
1584
+ class="pf-v6-c-data-list__cell pf-m-break-word"
1585
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1586
+ <div
1587
+ class="pf-v6-c-data-list__cell pf-m-nowrap"
1588
+ >This text will not break or wrap.</div>
1589
+ </div>
1590
+ </div>
1591
+ <div class="pf-v6-c-data-list__item-row pf-m-truncate">
1592
+ <div class="pf-v6-c-data-list__item-content">
1593
+ <div
1594
+ class="pf-v6-c-data-list__cell"
1595
+ tabindex="0"
1596
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1597
+ <div
1598
+ class="pf-v6-c-data-list__cell"
1599
+ tabindex="0"
1600
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1601
+ <div
1602
+ class="pf-v6-c-data-list__cell"
1603
+ tabindex="0"
1604
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1605
+ <div
1606
+ class="pf-v6-c-data-list__cell"
1607
+ tabindex="0"
1608
+ >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1609
+ </div>
1610
+ </div>
1611
+ <div class="pf-v6-c-data-list__item-row pf-m-break-word">
1612
+ <div class="pf-v6-c-data-list__item-content">
1613
+ <div
1614
+ class="pf-v6-c-data-list__cell"
1615
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1616
+ <div
1617
+ class="pf-v6-c-data-list__cell"
1618
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1619
+ <div
1620
+ class="pf-v6-c-data-list__cell"
1621
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1622
+ <div
1623
+ class="pf-v6-c-data-list__cell"
1624
+ >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1625
+ </div>
1626
+ </div>
1627
+ <div class="pf-v6-c-data-list__item-row pf-m-nowrap">
1628
+ <div class="pf-v6-c-data-list__item-content">
1629
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1630
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1631
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1632
+ <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1633
+ </div>
1634
+ </div>
1635
+ </li>
1636
+ </ul>
1637
+
1638
+ ```
1639
+
1640
+ ### Data list modifiers accessibility
1416
1641
 
1417
1642
  | Attribute | Applied to | Outcome |
1418
1643
  | -- | -- | -- |
1419
1644
  | `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** |
1420
1645
 
1421
- ### Usage
1646
+ ### Data list modifiers usage
1422
1647
 
1423
1648
  | Class | Applied to | Outcome |
1424
1649
  | -- | -- | -- |
1425
1650
  | `.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. |
1651
+ | `.pf-v6-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
1652
+ | `.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. |
1653
+ | `.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. |
1654
+ | `.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. |
1655
+
1656
+ ## Data list with clickable rows
1426
1657
 
1427
- ### Clickable rows
1658
+ ### Data list with clickable rows example
1428
1659
 
1429
1660
  ```html
1430
1661
  <ul
@@ -1466,20 +1697,7 @@ When a list item includes more than one block of content, it can be difficult fo
1466
1697
 
1467
1698
  ```
1468
1699
 
1469
- ### Accessibility
1470
-
1471
- | Attribute | Applied to | Outcome |
1472
- | -- | -- | -- |
1473
- | `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** |
1474
-
1475
- ### Usage
1476
-
1477
- | Class | Applied to | Outcome |
1478
- | -- | -- | -- |
1479
- | `.pf-m-clickable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is clickable. |
1480
- | `.pf-m-selected` | `.pf-v6-c-data-list__item` | Modifies a data list item for the selected state. |
1481
-
1482
- ### Clickable expandable rows
1700
+ ### Data list with clickable expandable rows example
1483
1701
 
1484
1702
  ```html
1485
1703
  <ul
@@ -1506,7 +1724,19 @@ When a list item includes more than one block of content, it can be difficult fo
1506
1724
  >
1507
1725
  <span class="pf-v6-c-button__icon pf-m-start">
1508
1726
  <div class="pf-v6-c-data-list__toggle-icon">
1509
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1727
+ <svg
1728
+ class="pf-v6-svg"
1729
+ viewBox="0 0 20 20"
1730
+ fill="currentColor"
1731
+ aria-hidden="true"
1732
+ role="img"
1733
+ width="1em"
1734
+ height="1em"
1735
+ >
1736
+ <path
1737
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1738
+ />
1739
+ </svg>
1510
1740
  </div>
1511
1741
  </span>
1512
1742
  </button>
@@ -1546,7 +1776,19 @@ When a list item includes more than one block of content, it can be difficult fo
1546
1776
  >
1547
1777
  <span class="pf-v6-c-button__icon pf-m-start">
1548
1778
  <div class="pf-v6-c-data-list__toggle-icon">
1549
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1779
+ <svg
1780
+ class="pf-v6-svg"
1781
+ viewBox="0 0 20 20"
1782
+ fill="currentColor"
1783
+ aria-hidden="true"
1784
+ role="img"
1785
+ width="1em"
1786
+ height="1em"
1787
+ >
1788
+ <path
1789
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1790
+ />
1791
+ </svg>
1550
1792
  </div>
1551
1793
  </span>
1552
1794
  </button>
@@ -1587,7 +1829,19 @@ When a list item includes more than one block of content, it can be difficult fo
1587
1829
  >
1588
1830
  <span class="pf-v6-c-button__icon pf-m-start">
1589
1831
  <div class="pf-v6-c-data-list__toggle-icon">
1590
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1832
+ <svg
1833
+ class="pf-v6-svg"
1834
+ viewBox="0 0 20 20"
1835
+ fill="currentColor"
1836
+ aria-hidden="true"
1837
+ role="img"
1838
+ width="1em"
1839
+ height="1em"
1840
+ >
1841
+ <path
1842
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1843
+ />
1844
+ </svg>
1591
1845
  </div>
1592
1846
  </span>
1593
1847
  </button>
@@ -1627,7 +1881,19 @@ When a list item includes more than one block of content, it can be difficult fo
1627
1881
  >
1628
1882
  <span class="pf-v6-c-button__icon pf-m-start">
1629
1883
  <div class="pf-v6-c-data-list__toggle-icon">
1630
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1884
+ <svg
1885
+ class="pf-v6-svg"
1886
+ viewBox="0 0 20 20"
1887
+ fill="currentColor"
1888
+ aria-hidden="true"
1889
+ role="img"
1890
+ width="1em"
1891
+ height="1em"
1892
+ >
1893
+ <path
1894
+ d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
1895
+ />
1896
+ </svg>
1631
1897
  </div>
1632
1898
  </span>
1633
1899
  </button>
@@ -1656,7 +1922,22 @@ When a list item includes more than one block of content, it can be difficult fo
1656
1922
 
1657
1923
  ```
1658
1924
 
1659
- ### Draggable
1925
+ ### Data list with clickable rows accessibility
1926
+
1927
+ | Attribute | Applied to | Outcome |
1928
+ | -- | -- | -- |
1929
+ | `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** |
1930
+
1931
+ ### Data list with clickable rows usage
1932
+
1933
+ | Class | Applied to | Outcome |
1934
+ | -- | -- | -- |
1935
+ | `.pf-m-clickable` | `.pf-v6-c-data-list__item` | Modifies a data list item so that it is clickable. |
1936
+ | `.pf-m-selected` | `.pf-v6-c-data-list__item` | Modifies a data list item for the selected state. |
1937
+
1938
+ ## Draggable data list
1939
+
1940
+ ### Draggable data list example
1660
1941
 
1661
1942
  ```html
1662
1943
  <div
@@ -1845,7 +2126,7 @@ When a list item includes more than one block of content, it can be difficult fo
1845
2126
 
1846
2127
  ```
1847
2128
 
1848
- ### Accessibility
2129
+ ### Draggable data list accessibility
1849
2130
 
1850
2131
  | Attribute | Applied to | Outcome |
1851
2132
  | -- | -- | -- |
@@ -1855,7 +2136,7 @@ When a list item includes more than one block of content, it can be difficult fo
1855
2136
  | `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. |
1856
2137
  | `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 |
1857
2138
 
1858
- ### Usage
2139
+ ### Draggable data list usage
1859
2140
 
1860
2141
  | Class | Applied to | Outcome |
1861
2142
  | -- | -- | -- |
@@ -1866,117 +2147,37 @@ When a list item includes more than one block of content, it can be difficult fo
1866
2147
  | `.pf-m-disabled` | `.pf-v6-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
1867
2148
  | `.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. |
1868
2149
 
1869
- ### Text modifiers
2150
+ ## Plain data list
1870
2151
 
1871
- ```html
2152
+ ### Plain data list example
2153
+
2154
+ ```html isBeta
1872
2155
  <ul
1873
- class="pf-v6-c-data-list"
2156
+ class="pf-v6-c-data-list pf-m-plain"
1874
2157
  role="list"
1875
- aria-label="Data list with text modifiers"
1876
- id="data-list-with-text-modifiers"
2158
+ aria-label="Basic data list example"
2159
+ id="data-list-basic"
1877
2160
  >
1878
2161
  <li class="pf-v6-c-data-list__item">
1879
2162
  <div class="pf-v6-c-data-list__item-row">
1880
2163
  <div class="pf-v6-c-data-list__item-content">
1881
2164
  <div class="pf-v6-c-data-list__cell">
1882
- <span
1883
- id="data-list-with-text-modifiers-item"
1884
- >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
2165
+ <span id="data-list-basic-item-1">Primary content</span>
1885
2166
  </div>
1886
- <div
1887
- class="pf-v6-c-data-list__cell pf-m-truncate"
1888
- tabindex="0"
1889
- >This text will truncate because it is very very long.</div>
1890
- <div
1891
- class="pf-v6-c-data-list__cell pf-m-break-word"
1892
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1893
- <div
1894
- class="pf-v6-c-data-list__cell pf-m-nowrap"
1895
- >This text will not break or wrap.</div>
1896
- </div>
1897
- </div>
1898
- <div class="pf-v6-c-data-list__item-row pf-m-truncate">
1899
- <div class="pf-v6-c-data-list__item-content">
1900
- <div
1901
- class="pf-v6-c-data-list__cell"
1902
- tabindex="0"
1903
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1904
- <div
1905
- class="pf-v6-c-data-list__cell"
1906
- tabindex="0"
1907
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1908
- <div
1909
- class="pf-v6-c-data-list__cell"
1910
- tabindex="0"
1911
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1912
- <div
1913
- class="pf-v6-c-data-list__cell"
1914
- tabindex="0"
1915
- >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1916
- </div>
1917
- </div>
1918
- <div class="pf-v6-c-data-list__item-row pf-m-break-word">
1919
- <div class="pf-v6-c-data-list__item-content">
1920
- <div
1921
- class="pf-v6-c-data-list__cell"
1922
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1923
- <div
1924
- class="pf-v6-c-data-list__cell"
1925
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1926
- <div
1927
- class="pf-v6-c-data-list__cell"
1928
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1929
- <div
1930
- class="pf-v6-c-data-list__cell"
1931
- >http://thisisaverylongurlthatneedstobreakusethebreakwordmodifier.org</div>
1932
- </div>
1933
- </div>
1934
- <div class="pf-v6-c-data-list__item-row pf-m-nowrap">
1935
- <div class="pf-v6-c-data-list__item-content">
1936
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1937
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1938
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
1939
- <div class="pf-v6-c-data-list__cell">This text will not break or wrap.</div>
2167
+ <div class="pf-v6-c-data-list__cell">Secondary content</div>
1940
2168
  </div>
1941
2169
  </div>
1942
2170
  </li>
1943
- </ul>
1944
-
1945
- ```
1946
-
1947
- ### Text-modifiers-data-list-text
1948
2171
 
1949
- ```html
1950
- <ul
1951
- class="pf-v6-c-data-list"
1952
- role="list"
1953
- aria-label="Data list with modifiers and text"
1954
- id="data-list-with-text-modifiers-and-text"
1955
- >
1956
2172
  <li class="pf-v6-c-data-list__item">
1957
2173
  <div class="pf-v6-c-data-list__item-row">
1958
2174
  <div class="pf-v6-c-data-list__item-content">
1959
- <div class="pf-v6-c-data-list__cell">
1960
- <span
1961
- id="data-list-with-text-modifiers-and-text-item-1"
1962
- >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1963
- <span
1964
- class="pf-v6-c-data-list__text pf-m-truncate"
1965
- tabindex="0"
1966
- >This is data list text, you can apply `pf-m-truncate` directly to the text. This is data list text, you can apply `pf-m-truncate` directly to the text.</span>
1967
- </div>
1968
- <div class="pf-v6-c-data-list__cell">
1969
- This text will wrap to the next line because it has the default behavior of the data list cell.
1970
- <span
1971
- class="pf-v6-c-data-list__text pf-m-break-word"
1972
- >http://thisisaverylongdatalisttextthatneedstobreakusethebreakwordmodifier.org</span>
1973
- </div>
1974
- <div class="pf-v6-c-data-list__cell">
1975
- This text will wrap to the next line because it has the default behavior of the data list cell.
1976
- <span
1977
- class="pf-v6-c-data-list__text pf-m-nowrap"
1978
- >This is data list text, you can apply `pf-m-nowrap` directly to the text.</span>
2175
+ <div class="pf-v6-c-data-list__cell pf-m-no-fill">
2176
+ <span id="data-list-basic-item-2">Secondary content (pf-m-no-fill)</span>
1979
2177
  </div>
2178
+ <div
2179
+ class="pf-v6-c-data-list__cell pf-m-no-fill pf-m-align-right"
2180
+ >Secondary content (pf-m-align-right pf-m-no-fill)</div>
1980
2181
  </div>
1981
2182
  </div>
1982
2183
  </li>
@@ -1984,22 +2185,15 @@ When a list item includes more than one block of content, it can be difficult fo
1984
2185
 
1985
2186
  ```
1986
2187
 
1987
- ### Usage
2188
+ ### Plain data list usage
1988
2189
 
1989
2190
  | Class | Applied to | Outcome |
1990
2191
  | -- | -- | -- |
1991
- | `.pf-v6-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
1992
- | `.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. |
1993
- | `.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. |
1994
- | `.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. |
1995
-
1996
- ## Documentation
2192
+ | `.pf-m-plain` | `.pf-v6-c-data-list` | Modifies a data list to have a transparent background. |
1997
2193
 
1998
- ### Overview
1999
-
2000
- 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).
2194
+ ## Data list as grid
2001
2195
 
2002
- ### Grid
2196
+ ### Data list as grid example
2003
2197
 
2004
2198
  ```html
2005
2199
  <ul
@@ -2040,7 +2234,7 @@ The DataList component provides a flexible alternative to the Table component, w
2040
2234
 
2041
2235
  ```
2042
2236
 
2043
- ### Grid (small breakpoint)
2237
+ ### Data list as grid on small breakpoint example
2044
2238
 
2045
2239
  ```html
2046
2240
  <ul
@@ -2081,7 +2275,7 @@ The DataList component provides a flexible alternative to the Table component, w
2081
2275
 
2082
2276
  ```
2083
2277
 
2084
- ### Grid none
2278
+ ### Data list with no grid
2085
2279
 
2086
2280
  ```html
2087
2281
  <ul
@@ -2122,8 +2316,14 @@ The DataList component provides a flexible alternative to the Table component, w
2122
2316
 
2123
2317
  ```
2124
2318
 
2125
- ### Usage
2319
+ ### Data list as grid usage
2126
2320
 
2127
2321
  | Class | Applied to | Outcome |
2128
2322
  | -- | -- | -- |
2129
- | `.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](/tokens/all-patternfly-tokens). `.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. |
2323
+ | `.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](/foundations-and-styles/design-tokens/all-design-tokens). `.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. |
2324
+
2325
+ ## Documentation
2326
+
2327
+ ### Overview
2328
+
2329
+ 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` elements. DataLists do not have headers. If headers are required, use the [table component](/components/table).