@patternfly/patternfly 5.0.0-alpha.4 → 5.0.0-alpha.40

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 (340) hide show
  1. package/RELEASE-NOTES.md +18 -1
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/images/pfbg-icon.svg +1 -0
  4. package/assets/pficon/pficon.scss +7 -2
  5. package/assets/pficon/pficon.woff2 +0 -0
  6. package/base/_base.scss +0 -18
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/_fa-icons.scss +1 -2
  10. package/base/_fonts.scss +22 -27
  11. package/base/_globals.scss +92 -86
  12. package/base/_icons.scss +1 -28
  13. package/base/_svg-icons.scss +6 -0
  14. package/base/_variables.scss +4 -4
  15. package/base/patternfly-common.css +0 -10
  16. package/base/patternfly-fa-icons.css +1 -1
  17. package/base/patternfly-fonts.css +17 -17
  18. package/base/patternfly-globals.css +35 -41
  19. package/base/patternfly-icons.css +8 -22
  20. package/base/patternfly-pf-icons.css +6 -2
  21. package/base/patternfly-themes.css +0 -42
  22. package/base/patternfly-variables.css +3 -3
  23. package/base/themes/dark/_globals.scss +1 -1
  24. package/base/themes/dark/_variables.scss +1 -1
  25. package/components/AboutModalBox/about-modal-box.css +20 -50
  26. package/components/AboutModalBox/about-modal-box.scss +22 -14
  27. package/components/Accordion/accordion.css +2 -0
  28. package/components/Accordion/accordion.scss +2 -0
  29. package/components/Alert/alert.css +17 -8
  30. package/components/Alert/alert.scss +21 -7
  31. package/components/Alert/themes/dark/alert.scss +1 -1
  32. package/components/AppLauncher/app-launcher.css +2 -0
  33. package/components/AppLauncher/app-launcher.scss +2 -0
  34. package/components/Avatar/avatar.scss +2 -2
  35. package/components/BackgroundImage/background-image.css +8 -35
  36. package/components/BackgroundImage/background-image.scss +17 -43
  37. package/components/Banner/banner.css +14 -52
  38. package/components/Banner/banner.scss +9 -13
  39. package/components/Breadcrumb/breadcrumb.css +2 -0
  40. package/components/Breadcrumb/breadcrumb.scss +2 -0
  41. package/components/CalendarMonth/calendar-month.css +2 -2
  42. package/components/CalendarMonth/calendar-month.scss +3 -3
  43. package/components/Card/card.css +115 -50
  44. package/components/Card/card.scss +164 -63
  45. package/components/Chip/chip.css +33 -24
  46. package/components/Chip/chip.scss +40 -31
  47. package/components/ChipGroup/chip-group.css +27 -17
  48. package/components/ChipGroup/chip-group.scss +36 -22
  49. package/components/Content/content.css +11 -5
  50. package/components/Content/content.scss +17 -9
  51. package/components/ContextSelector/context-selector.css +13 -6
  52. package/components/ContextSelector/context-selector.scss +14 -7
  53. package/components/DataList/data-list-grid.css +7 -7
  54. package/components/DataList/data-list-grid.scss +1 -1
  55. package/components/DataList/data-list.css +46 -40
  56. package/components/DataList/data-list.scss +37 -28
  57. package/components/DatePicker/date-picker.css +0 -8
  58. package/components/DatePicker/date-picker.scss +0 -9
  59. package/components/DescriptionList/description-list.css +7 -7
  60. package/components/DescriptionList/description-list.scss +7 -7
  61. package/components/Divider/divider.css +2 -2
  62. package/components/Divider/divider.scss +3 -3
  63. package/components/Drawer/drawer.css +15 -16
  64. package/components/Drawer/drawer.scss +2 -3
  65. package/components/Dropdown/dropdown.css +26 -25
  66. package/components/Dropdown/dropdown.scss +17 -18
  67. package/components/DualListSelector/dual-list-selector.css +1 -1
  68. package/components/DualListSelector/dual-list-selector.scss +1 -1
  69. package/components/EmptyState/empty-state.css +46 -52
  70. package/components/EmptyState/empty-state.scss +58 -57
  71. package/components/ExpandableSection/expandable-section.css +2 -0
  72. package/components/ExpandableSection/expandable-section.scss +2 -0
  73. package/components/Form/form.css +14 -12
  74. package/components/Form/form.scss +9 -7
  75. package/components/FormControl/form-control.css +2 -5
  76. package/components/FormControl/themes/dark/form-control.scss +2 -6
  77. package/components/HelperText/helper-text.css +4 -0
  78. package/components/HelperText/helper-text.scss +5 -0
  79. package/components/Hint/hint.css +2 -2
  80. package/components/Hint/hint.scss +2 -2
  81. package/components/Icon/icon.css +3 -3
  82. package/components/Icon/icon.scss +3 -3
  83. package/components/InputGroup/input-group.css +61 -85
  84. package/components/InputGroup/input-group.scss +55 -61
  85. package/components/InputGroup/themes/dark/input-group.scss +11 -25
  86. package/components/Label/label.css +49 -36
  87. package/components/Label/label.scss +53 -38
  88. package/components/Label/themes/dark/label.scss +2 -2
  89. package/components/LabelGroup/label-group.css +26 -22
  90. package/components/LabelGroup/label-group.scss +31 -26
  91. package/components/LogViewer/log-viewer.css +0 -38
  92. package/components/Login/login.css +20 -60
  93. package/components/Login/login.scss +16 -18
  94. package/components/Login/themes/dark/login.scss +4 -0
  95. package/components/Masthead/masthead.css +4 -42
  96. package/components/Masthead/masthead.scss +4 -4
  97. package/components/Menu/menu.css +9 -6
  98. package/components/Menu/menu.scss +34 -31
  99. package/components/MenuToggle/menu-toggle.css +3 -1
  100. package/components/MenuToggle/menu-toggle.scss +3 -1
  101. package/components/ModalBox/modal-box.css +12 -11
  102. package/components/ModalBox/modal-box.scss +14 -14
  103. package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  104. package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
  105. package/components/Nav/nav.css +1 -1
  106. package/components/Nav/nav.scss +2 -2
  107. package/components/NotificationDrawer/notification-drawer.css +8 -8
  108. package/components/NotificationDrawer/notification-drawer.scss +8 -8
  109. package/components/OptionsMenu/options-menu.css +8 -10
  110. package/components/OptionsMenu/options-menu.scss +9 -11
  111. package/components/Page/page.css +101 -122
  112. package/components/Page/page.scss +49 -21
  113. package/components/Pagination/pagination.css +2 -110
  114. package/components/Pagination/pagination.scss +0 -6
  115. package/components/Popover/popover.css +31 -37
  116. package/components/Popover/popover.scss +32 -37
  117. package/components/Popover/themes/dark/popover.scss +3 -9
  118. package/components/Progress/progress.css +13 -10
  119. package/components/Progress/progress.scss +13 -10
  120. package/components/ProgressStepper/progress-stepper.css +5 -5
  121. package/components/ProgressStepper/progress-stepper.scss +5 -5
  122. package/components/SearchInput/search-input.css +4 -2
  123. package/components/SearchInput/search-input.scss +4 -2
  124. package/components/Select/select.css +1 -1
  125. package/components/Select/select.scss +1 -1
  126. package/components/Sidebar/sidebar.css +69 -26
  127. package/components/Sidebar/sidebar.scss +84 -27
  128. package/components/SimpleList/simple-list.css +1 -1
  129. package/components/SimpleList/simple-list.scss +2 -2
  130. package/components/Spinner/spinner.css +4 -4
  131. package/components/Spinner/spinner.scss +4 -4
  132. package/components/Table/table-grid.css +28 -28
  133. package/components/Table/table-scrollable.css +31 -26
  134. package/components/Table/table-scrollable.scss +33 -28
  135. package/components/Table/table-tree-view.css +14 -4
  136. package/components/Table/table-tree-view.scss +15 -0
  137. package/components/Table/table.css +67 -65
  138. package/components/Table/table.scss +65 -62
  139. package/components/Tabs/tabs.css +0 -4
  140. package/components/Tabs/tabs.scss +0 -7
  141. package/components/TextInputGroup/text-input-group.css +6 -4
  142. package/components/TextInputGroup/text-input-group.scss +6 -5
  143. package/components/Tile/tile.css +1 -1
  144. package/components/Tile/tile.scss +1 -1
  145. package/components/Timestamp/timestamp.css +3 -3
  146. package/components/Timestamp/timestamp.scss +3 -3
  147. package/components/Toolbar/toolbar.css +78 -43
  148. package/components/Toolbar/toolbar.scss +50 -10
  149. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  150. package/components/Tooltip/tooltip.css +7 -12
  151. package/components/Tooltip/tooltip.scss +6 -3
  152. package/components/TreeView/tree-view.css +7 -15
  153. package/components/TreeView/tree-view.scss +7 -18
  154. package/components/Wizard/wizard.css +16 -39
  155. package/components/Wizard/wizard.scss +20 -2
  156. package/docs/components/AboutModalBox/examples/AboutModalBox.md +20 -14
  157. package/docs/components/Accordion/examples/Accordion.md +12 -12
  158. package/docs/components/ActionList/examples/ActionList.md +6 -6
  159. package/docs/components/Alert/examples/Alert.md +29 -29
  160. package/docs/components/AlertGroup/examples/AlertGroup.md +15 -15
  161. package/docs/components/AppLauncher/examples/application-launcher.md +52 -46
  162. package/docs/components/Avatar/examples/Avatar.md +11 -11
  163. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  164. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  165. package/docs/components/BackgroundImage/examples/BackgroundImage.md +13 -29
  166. package/docs/components/Badge/examples/Badge.md +5 -5
  167. package/docs/components/Banner/examples/Banner.md +8 -8
  168. package/docs/components/Brand/examples/Brand.md +9 -9
  169. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  170. package/docs/components/Button/examples/Button.md +35 -35
  171. package/docs/components/CalendarMonth/examples/CalendarMonth.md +301 -284
  172. package/docs/components/Card/examples/Card.md +676 -116
  173. package/docs/components/Check/examples/Check.md +16 -19
  174. package/docs/components/Chip/examples/Chip.md +70 -52
  175. package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
  176. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  177. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  178. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  179. package/docs/components/Content/examples/Content.md +37 -9
  180. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  181. package/docs/components/ContextSelector/examples/context-selector.md +87 -80
  182. package/docs/components/DataList/examples/DataList.md +239 -202
  183. package/docs/components/DatePicker/examples/DatePicker.md +139 -104
  184. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  185. package/docs/components/Divider/examples/Divider.md +10 -10
  186. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  187. package/docs/components/Drawer/examples/Drawer.md +43 -43
  188. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  189. package/docs/components/Dropdown/examples/Dropdown.md +125 -100
  190. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  191. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  192. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  193. package/docs/components/FileUpload/examples/FileUpload.md +146 -105
  194. package/docs/components/Form/examples/Form.md +152 -130
  195. package/docs/components/FormControl/examples/FormControl.md +21 -20
  196. package/docs/components/HelperText/examples/HelperText.md +24 -35
  197. package/docs/components/Hint/examples/Hint.md +7 -7
  198. package/docs/components/Icon/examples/Icon.md +11 -12
  199. package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
  200. package/docs/components/InputGroup/examples/InputGroup.md +229 -179
  201. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  202. package/docs/components/Label/examples/Label.md +1427 -746
  203. package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
  204. package/docs/components/List/examples/List.md +18 -18
  205. package/docs/components/LogViewer/examples/LogViewer.md +79 -74
  206. package/docs/components/Login/examples/Login.md +103 -181
  207. package/docs/components/Masthead/examples/masthead.md +9 -9
  208. package/docs/components/Menu/examples/Menu.md +83 -80
  209. package/docs/components/MenuToggle/examples/MenuToggle.md +29 -28
  210. package/docs/components/ModalBox/examples/ModalBox.md +113 -92
  211. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +27 -26
  212. package/docs/components/Nav/examples/Navigation.md +69 -69
  213. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  214. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +64 -64
  215. package/docs/components/NumberInput/examples/NumberInput.md +311 -239
  216. package/docs/components/OptionsMenu/examples/options-menu.md +28 -28
  217. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  218. package/docs/components/Page/examples/Page.css +7 -1
  219. package/docs/components/Page/examples/Page.md +81 -54
  220. package/docs/components/Pagination/examples/Pagination.md +27 -27
  221. package/docs/components/Panel/examples/Panel.md +10 -10
  222. package/docs/components/Popover/examples/Popover.md +206 -149
  223. package/docs/components/Progress/examples/Progress.md +32 -61
  224. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -39
  225. package/docs/components/Radio/examples/Radio.md +12 -11
  226. package/docs/components/SearchInput/examples/SearchInput.md +185 -148
  227. package/docs/components/Select/examples/Select.md +368 -313
  228. package/docs/components/Sidebar/examples/Sidebar.md +70 -14
  229. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  230. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  231. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  232. package/docs/components/Slider/examples/Slider.md +84 -62
  233. package/docs/components/Spinner/examples/Spinner.md +24 -24
  234. package/docs/components/Switch/examples/Switch.md +19 -19
  235. package/docs/components/TabContent/examples/TabContent.md +13 -13
  236. package/docs/components/Table/examples/Table.css +4 -0
  237. package/docs/components/Table/examples/Table.md +5212 -5750
  238. package/docs/components/Tabs/examples/Tabs.md +155 -155
  239. package/docs/components/TextInputGroup/examples/TextInputGroup.md +523 -406
  240. package/docs/components/Tile/examples/Tile.md +16 -17
  241. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  242. package/docs/components/Title/examples/Title.md +17 -17
  243. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  244. package/docs/components/Toolbar/examples/Toolbar.md +848 -726
  245. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  246. package/docs/components/TreeView/examples/TreeView.md +34 -34
  247. package/docs/components/Truncate/examples/Truncate.md +4 -5
  248. package/docs/components/Wizard/examples/Wizard.md +119 -127
  249. package/docs/demos/AboutModal/examples/AboutModal.md +4 -5
  250. package/docs/demos/Alert/examples/Alert.md +118 -71
  251. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  252. package/docs/demos/Banner/examples/Banner.md +8 -9
  253. package/docs/demos/Card/examples/Card.md +216 -153
  254. package/docs/demos/CardView/examples/CardView.md +57 -30
  255. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  256. package/docs/demos/Dashboard/examples/Dashboard.md +51 -33
  257. package/docs/demos/DataList/examples/DataList.md +312 -255
  258. package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
  259. package/docs/demos/Drawer/examples/Drawer.md +24 -22
  260. package/docs/demos/Form/examples/BasicForms.md +220 -213
  261. package/docs/demos/HelperText/examples/HelperText.md +16 -14
  262. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  263. package/docs/demos/Masthead/examples/Masthead.md +302 -284
  264. package/docs/demos/Modal/examples/Modal.md +54 -66
  265. package/docs/demos/Nav/examples/Nav.md +47 -47
  266. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +70 -58
  267. package/docs/demos/Page/examples/Page.md +982 -51
  268. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +22 -18
  269. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +121 -106
  270. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +345 -311
  271. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  272. package/docs/demos/Table/examples/Table.md +3323 -1288
  273. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  274. package/docs/demos/Toolbar/examples/Toolbar.md +1994 -329
  275. package/docs/demos/Wizard/examples/Wizard.md +289 -266
  276. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  277. package/docs/layouts/Flex/examples/Flex.md +98 -98
  278. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  279. package/docs/layouts/Grid/examples/Grid.md +9 -9
  280. package/docs/layouts/Level/examples/Level.md +5 -5
  281. package/docs/layouts/Split/examples/Split.md +7 -7
  282. package/docs/layouts/Stack/examples/Stack.md +6 -6
  283. package/docs/utilities/Accessibility/examples/Accessibility.md +5 -5
  284. package/docs/utilities/Alignment/examples/Alignment.md +7 -7
  285. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +13 -13
  286. package/docs/utilities/BoxShadow/examples/box-shadow.md +23 -23
  287. package/docs/utilities/Display/examples/Display.md +12 -12
  288. package/docs/utilities/Flex/examples/Flex.md +35 -35
  289. package/docs/utilities/Float/examples/Float.md +5 -5
  290. package/docs/utilities/Sizing/examples/Sizing.md +51 -51
  291. package/docs/utilities/Spacing/examples/Spacing.md +35 -35
  292. package/docs/utilities/Text/examples/Text.md +31 -31
  293. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  294. package/layouts/Gallery/gallery.css +1 -1
  295. package/layouts/Gallery/gallery.scss +1 -1
  296. package/layouts/Grid/grid.css +7 -7
  297. package/layouts/Grid/grid.scss +2 -2
  298. package/package.json +59 -65
  299. package/patternfly-addons.css +48 -48
  300. package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +28 -73
  301. package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
  302. package/patternfly-base.css +63 -114
  303. package/{patternfly-no-reset.css → patternfly-no-globals.css} +1179 -2293
  304. package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
  305. package/patternfly.css +1207 -2327
  306. package/patternfly.min.css +1 -1
  307. package/patternfly.min.css.map +1 -1
  308. package/sass-utilities/functions.scss +8 -24
  309. package/sass-utilities/mixins.scss +15 -39
  310. package/sass-utilities/placeholders.scss +0 -23
  311. package/sass-utilities/scss-variables.scss +5 -6
  312. package/sass-utilities/themes/dark/placeholders.scss +0 -22
  313. package/sass-utilities/themes/dark/scss-variables.scss +1 -1
  314. package/utilities/Spacing/spacing.scss +2 -2
  315. package/utilities/Text/text.css +48 -48
  316. package/utilities/Text/text.scss +6 -6
  317. package/utilities/Text/themes/dark/text.scss +2 -2
  318. package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
  319. package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
  320. package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
  321. package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
  322. package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
  323. package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
  324. package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
  325. package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
  326. package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
  327. package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
  328. package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
  329. package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
  330. package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
  331. package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
  332. package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
  333. package/assets/pficon/pficon.woff +0 -0
  334. package/base/_shield-inheritable.scss +0 -69
  335. package/base/_shield-noninheritable.scss +0 -13
  336. package/base/patternfly-shield-inheritable.css +0 -66
  337. package/base/patternfly-shield-inheritable.scss +0 -4
  338. package/base/patternfly-shield-noninheritable.css +0 -9
  339. package/base/patternfly-shield-noninheritable.scss +0 -4
  340. package/sass-utilities/bs-variables.scss +0 -709
@@ -42,26 +42,26 @@ cssPrefix: pf-c-data-list
42
42
 
43
43
  ### Accessibility
44
44
 
45
- | Attribute | Applied to | Outcome |
46
- | ----------------- | -------------------------------------------------- | ------------------------------------------------------------------- |
47
- | `role="list"` | `.pf-c-data-list` | Indicates that the data list is a list. **Required** |
48
- | `aria-label` | `.pf-c-data-list` | Provides an accessible name for the data list. **Required** |
49
- | `aria-labelledby` | `.pf-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
- | `id` | `.pf-c-data-list__cell`, `.pf-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
45
+ | Attribute | Applied to | Outcome |
46
+ | -- | -- | -- |
47
+ | `role="list"` | `.pf-c-data-list` | Indicates that the data list is a list. **Required** |
48
+ | `aria-label` | `.pf-c-data-list` | Provides an accessible name for the data list. **Required** |
49
+ | `aria-labelledby` | `.pf-c-data-list__item` | Provides an accessible description for data list item. **Required** |
50
+ | `id` | `.pf-c-data-list__cell`, `.pf-c-data-list__cell *` | Provides a reference for data list item description. **Required** |
51
51
 
52
52
  ### Usage
53
53
 
54
- | Class | Applied to | Outcome |
55
- | ------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------- |
56
- | `.pf-c-data-list` | `<ul>` | Initiates a data list. **Required** |
57
- | `.pf-c-data-list__item` | `<li>` | Initiates a data list item. **Required** |
58
- | `.pf-c-data-list__item-row` | `<div>` | Initiates a data list item row. **Required** |
59
- | `.pf-c-data-list__item-content` | `<div>` | Initiates a container for data list content. **Required** |
60
- | `.pf-c-data-list__cell` | `*` | Initiates a data list content cell. **Required** |
61
- | `.pf-c-data-list__cell-text` | `<span>` | Initiates a data list content cell text element. |
62
- | `.pf-m-align-left` | `.pf-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-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
- | `.pf-m-align-right` | `.pf-c-data-list__cell` | Modifies a data list cell to align-right. |
54
+ | Class | Applied to | Outcome |
55
+ | -- | -- | -- |
56
+ | `.pf-c-data-list` | `<ul>` | Initiates a data list. **Required** |
57
+ | `.pf-c-data-list__item` | `<li>` | Initiates a data list item. **Required** |
58
+ | `.pf-c-data-list__item-row` | `<div>` | Initiates a data list item row. **Required** |
59
+ | `.pf-c-data-list__item-content` | `<div>` | Initiates a container for data list content. **Required**|
60
+ | `.pf-c-data-list__cell` | `*` | Initiates a data list content cell. **Required** |
61
+ | `.pf-c-data-list__cell-text` | `<span>` | Initiates a data list content cell text element. |
62
+ | `.pf-m-align-left` | `.pf-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-c-data-list__cell` | Modifies a data list cell to not fill the available horizontal space. |
64
+ | `.pf-m-align-right` | `.pf-c-data-list__cell` | Modifies a data list cell to align-right. |
65
65
 
66
66
  ### With headings
67
67
 
@@ -127,11 +127,14 @@ When a list item includes more than one block of content, it can be difficult fo
127
127
  <div class="pf-c-data-list__item-row">
128
128
  <div class="pf-c-data-list__item-control">
129
129
  <div class="pf-c-data-list__check">
130
- <input
131
- type="checkbox"
132
- name="data-list-checkboxes-actions-addl-cells-item-1-checkbox"
133
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-1"
134
- />
130
+ <div class="pf-c-check pf-m-standalone">
131
+ <input
132
+ class="pf-c-check__input"
133
+ type="checkbox"
134
+ name="data-list-checkboxes-actions-addl-cells-item-1-checkbox"
135
+ aria-labelledby="data-list-checkboxes-actions-addl-cells-item-1"
136
+ />
137
+ </div>
135
138
  </div>
136
139
  </div>
137
140
  <div class="pf-c-data-list__item-content">
@@ -209,11 +212,14 @@ When a list item includes more than one block of content, it can be difficult fo
209
212
  <div class="pf-c-data-list__item-row">
210
213
  <div class="pf-c-data-list__item-control">
211
214
  <div class="pf-c-data-list__check">
212
- <input
213
- type="checkbox"
214
- name="data-list-checkboxes-actions-addl-cells-item-2-checkbox"
215
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-2"
216
- />
215
+ <div class="pf-c-check pf-m-standalone">
216
+ <input
217
+ class="pf-c-check__input"
218
+ type="checkbox"
219
+ name="data-list-checkboxes-actions-addl-cells-item-2-checkbox"
220
+ aria-labelledby="data-list-checkboxes-actions-addl-cells-item-2"
221
+ />
222
+ </div>
217
223
  </div>
218
224
  </div>
219
225
  <div class="pf-c-data-list__item-content">
@@ -286,11 +292,14 @@ When a list item includes more than one block of content, it can be difficult fo
286
292
  <div class="pf-c-data-list__item-row">
287
293
  <div class="pf-c-data-list__item-control">
288
294
  <div class="pf-c-data-list__check">
289
- <input
290
- type="checkbox"
291
- name="data-list-checkboxes-actions-addl-cells-item-3-checkbox"
292
- aria-labelledby="data-list-checkboxes-actions-addl-cells-item-3"
293
- />
295
+ <div class="pf-c-check pf-m-standalone">
296
+ <input
297
+ class="pf-c-check__input"
298
+ type="checkbox"
299
+ name="data-list-checkboxes-actions-addl-cells-item-3-checkbox"
300
+ aria-labelledby="data-list-checkboxes-actions-addl-cells-item-3"
301
+ />
302
+ </div>
294
303
  </div>
295
304
  </div>
296
305
  <div class="pf-c-data-list__item-content">
@@ -363,23 +372,23 @@ When a list item includes more than one block of content, it can be difficult fo
363
372
 
364
373
  ### Accessibility
365
374
 
366
- | Attribute | Applied to | Outcome |
367
- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
368
- | `aria-label="[descriptive text]"` | `.pf-c-data-list__action` > `.pf-c-button` | Provides an accessible label buttons. **Required** |
369
- | `aria-labelledby="{title_cell_id}"` | `.pf-c-data-list__check` > `.pf-c-check__input` | Creates an accessible label for the checkbox based on the title cell. **Required** |
370
- | `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-c-data-list__action` > `.pf-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
371
- | `id` | `.pf-c-data-list__cell > *`, `.pf-c-data-list__check` > `.pf-c-check__input`, `.pf-c-data-list__action` > `.pf-c-button` | Provides a reference for interactive elements. **Required** |
375
+ | Attribute | Applied to | Outcome |
376
+ | -- | -- | -- |
377
+ | `aria-label="[descriptive text]"` | `.pf-c-data-list__action` > `.pf-c-button` | Provides an accessible label buttons. **Required** |
378
+ | `aria-labelledby="{title_cell_id}"` | `.pf-c-data-list__check` > `.pf-c-check__input` | Creates an accessible label for the checkbox based on the title cell. **Required** |
379
+ | `aria-labelledby="{title_cell_id} {data_list_action_id}"` | `.pf-c-data-list__action` > `.pf-c-button` | Creates an accessible label for the action button using the title cell and button label **Required** |
380
+ | `id` | `.pf-c-data-list__cell > *`, `.pf-c-data-list__check` > `.pf-c-check__input`, `.pf-c-data-list__action` > `.pf-c-button` | Provides a reference for interactive elements. **Required** |
372
381
 
373
382
  ### Usage
374
383
 
375
- | Class | Applied to | Outcome |
376
- | --------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
377
- | `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__check` here. **Required** |
378
- | `.pf-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-c-data-list__action` here. **Required** |
379
- | `.pf-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
380
- | `.pf-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
381
- | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-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`. |
382
- | `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
384
+ | Class | Applied to | Outcome |
385
+ | -- | -- | -- |
386
+ | `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__check` here. **Required** |
387
+ | `.pf-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-c-data-list__action` here. **Required** |
388
+ | `.pf-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
389
+ | `.pf-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
390
+ | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-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`. |
391
+ | `.pf-m-visible{-on-[breakpoint]}` | `.pf-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
383
392
 
384
393
  ### Expandable
385
394
 
@@ -1414,11 +1423,14 @@ When a list item includes more than one block of content, it can be difficult fo
1414
1423
  <div class="pf-c-data-list__item-row">
1415
1424
  <div class="pf-c-data-list__item-control">
1416
1425
  <div class="pf-c-data-list__check">
1417
- <input
1418
- type="checkbox"
1419
- name="data-list-compact-item-1-checkbox"
1420
- aria-labelledby="data-list-compact-item-1"
1421
- />
1426
+ <div class="pf-c-check pf-m-standalone">
1427
+ <input
1428
+ class="pf-c-check__input"
1429
+ type="checkbox"
1430
+ name="data-list-compact-item-1-checkbox"
1431
+ aria-labelledby="data-list-compact-item-1"
1432
+ />
1433
+ </div>
1422
1434
  </div>
1423
1435
  </div>
1424
1436
  <div class="pf-c-data-list__item-content">
@@ -1491,11 +1503,14 @@ When a list item includes more than one block of content, it can be difficult fo
1491
1503
  <div class="pf-c-data-list__item-row">
1492
1504
  <div class="pf-c-data-list__item-control">
1493
1505
  <div class="pf-c-data-list__check">
1494
- <input
1495
- type="checkbox"
1496
- name="data-list-compact-item-2-checkbox"
1497
- aria-labelledby="data-list-compact-item-2"
1498
- />
1506
+ <div class="pf-c-check pf-m-standalone">
1507
+ <input
1508
+ class="pf-c-check__input"
1509
+ type="checkbox"
1510
+ name="data-list-compact-item-2-checkbox"
1511
+ aria-labelledby="data-list-compact-item-2"
1512
+ />
1513
+ </div>
1499
1514
  </div>
1500
1515
  </div>
1501
1516
  <div class="pf-c-data-list__item-content">
@@ -1563,11 +1578,14 @@ When a list item includes more than one block of content, it can be difficult fo
1563
1578
  <div class="pf-c-data-list__item-row">
1564
1579
  <div class="pf-c-data-list__item-control">
1565
1580
  <div class="pf-c-data-list__check">
1566
- <input
1567
- type="checkbox"
1568
- name="data-list-compact-item-3-checkbox"
1569
- aria-labelledby="data-list-compact-item-3"
1570
- />
1581
+ <div class="pf-c-check pf-m-standalone">
1582
+ <input
1583
+ class="pf-c-check__input"
1584
+ type="checkbox"
1585
+ name="data-list-compact-item-3-checkbox"
1586
+ aria-labelledby="data-list-compact-item-3"
1587
+ />
1588
+ </div>
1571
1589
  </div>
1572
1590
  </div>
1573
1591
  <div class="pf-c-data-list__item-content">
@@ -1638,28 +1656,28 @@ When a list item includes more than one block of content, it can be difficult fo
1638
1656
 
1639
1657
  ### Accessibility
1640
1658
 
1641
- | Attribute | Applied to | Outcome |
1642
- | ----------------------------------------------- | ------------------------------------------ | -------------------------------------------------------------------------------- |
1643
- | `aria-expanded="true"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Indicates that the expandable content is visible. **Required** |
1644
- | `hidden` | `.pf-c-data-list__expandable-content` | Indicates that the expandable content is hidden. **Required** |
1645
- | `aria-label="[descriptive text]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides an accessible name for toggle button. **Required** |
1646
- | `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Establishes relationship between aria-label text and toggle button. **Required** |
1647
- | `id="{button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides a reference for toggle button description. **Required** |
1648
- | `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
1659
+ | Attribute | Applied to | Outcome |
1660
+ | -- | -- | -- |
1661
+ | `aria-expanded="true"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Indicates that the expandable content is visible. **Required**|
1662
+ | `hidden` | `.pf-c-data-list__expandable-content` | Indicates that the expandable content is hidden. **Required**|
1663
+ | `aria-label="[descriptive text]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides an accessible name for toggle button. **Required**|
1664
+ | `aria-labelledby="{title_cell_id} {button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Establishes relationship between aria-label text and toggle button. **Required**
1665
+ | `id="{button_id}"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Provides a reference for toggle button description. **Required** |
1666
+ | `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
1649
1667
 
1650
1668
  ### Usage
1651
1669
 
1652
- | Class | Applied to | Outcome |
1653
- | ------------------------------------------ | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
1654
- | `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__toggle` here. **Required** |
1655
- | `.pf-c-data-list__toggle` | `<div>` | Initiates a toggle button. |
1656
- | `.pf-c-data-list__toggle-icon` | `<span>` | Initiates a toggle icon. |
1657
- | `.pf-c-data-list__expandable-content` | `<div>` | Initiates an expandable content container. |
1658
- | `.pf-c-data-list__expandable-content-body` | `<div>` | Initiates an expandable content container body. **Required** when `.pf-c-data-list__expandable-content` is used. |
1659
- | `.pf-m-expanded` | `.pf-c-data-list__item` | Modifies for expanded state. |
1660
- | `.pf-m-compact` | `.pf-c-data-list` | Modifies for compact variation. |
1661
- | `.pf-m-no-padding` | `.pf-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1662
- | `.pf-m-icon` | `.pf-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
1670
+ | Class | Applied to | Outcome |
1671
+ | -- | -- | -- |
1672
+ | `.pf-c-data-list__item-control` | `<div>` | Initiates a container for data list controls. For example, add `.pf-c-data-list__toggle` here. **Required** |
1673
+ | `.pf-c-data-list__toggle` | `<div>` | Initiates a toggle button. |
1674
+ | `.pf-c-data-list__toggle-icon` | `<span>` | Initiates a toggle icon. |
1675
+ | `.pf-c-data-list__expandable-content` | `<div>` | Initiates an expandable content container. |
1676
+ | `.pf-c-data-list__expandable-content-body` | `<div>` | Initiates an expandable content container body. **Required** when `.pf-c-data-list__expandable-content` is used. |
1677
+ | `.pf-m-expanded` | `.pf-c-data-list__item` | Modifies for expanded state. |
1678
+ | `.pf-m-compact` | `.pf-c-data-list` | Modifies for compact variation. |
1679
+ | `.pf-m-no-padding` | `.pf-c-data-list__expandable-content-body` | Removes padding for the expandable content body. |
1680
+ | `.pf-m-icon` | `.pf-c-data-list__cell` | Modifies a data list cell to not grow and align-left when its the first data-list\_\_cell element. |
1663
1681
 
1664
1682
  ### Modifiers
1665
1683
 
@@ -1678,11 +1696,14 @@ When a list item includes more than one block of content, it can be difficult fo
1678
1696
  <div class="pf-c-data-list__item-row">
1679
1697
  <div class="pf-c-data-list__item-control">
1680
1698
  <div class="pf-c-data-list__check">
1681
- <input
1682
- type="checkbox"
1683
- name="data-list-default-fitting-item-1-checkbox"
1684
- aria-labelledby="data-list-default-fitting-item-1"
1685
- />
1699
+ <div class="pf-c-check pf-m-standalone">
1700
+ <input
1701
+ class="pf-c-check__input"
1702
+ type="checkbox"
1703
+ name="data-list-default-fitting-item-1-checkbox"
1704
+ aria-labelledby="data-list-default-fitting-item-1"
1705
+ />
1706
+ </div>
1686
1707
  </div>
1687
1708
  </div>
1688
1709
  <div class="pf-c-data-list__item-content">
@@ -1716,11 +1737,14 @@ When a list item includes more than one block of content, it can be difficult fo
1716
1737
  <div class="pf-c-data-list__item-row">
1717
1738
  <div class="pf-c-data-list__item-control">
1718
1739
  <div class="pf-c-data-list__check">
1719
- <input
1720
- type="checkbox"
1721
- name="data-list-flex-modifiers-item-1-checkbox"
1722
- aria-labelledby="data-list-flex-modifiers-item-1"
1723
- />
1740
+ <div class="pf-c-check pf-m-standalone">
1741
+ <input
1742
+ class="pf-c-check__input"
1743
+ type="checkbox"
1744
+ name="data-list-flex-modifiers-item-1-checkbox"
1745
+ aria-labelledby="data-list-flex-modifiers-item-1"
1746
+ />
1747
+ </div>
1724
1748
  </div>
1725
1749
  </div>
1726
1750
  <div class="pf-c-data-list__item-content">
@@ -1816,11 +1840,14 @@ When a list item includes more than one block of content, it can be difficult fo
1816
1840
  </div>
1817
1841
 
1818
1842
  <div class="pf-c-data-list__check">
1819
- <input
1820
- type="checkbox"
1821
- name="data-list-flex-modifiers-2-item-1-checkbox"
1822
- aria-labelledby="data-list-flex-modifiers-2-item-1"
1823
- />
1843
+ <div class="pf-c-check pf-m-standalone">
1844
+ <input
1845
+ class="pf-c-check__input"
1846
+ type="checkbox"
1847
+ name="data-list-flex-modifiers-2-item-1-checkbox"
1848
+ aria-labelledby="data-list-flex-modifiers-2-item-1"
1849
+ />
1850
+ </div>
1824
1851
  </div>
1825
1852
  </div>
1826
1853
  <div class="pf-c-data-list__item-content">
@@ -1912,64 +1939,62 @@ When a list item includes more than one block of content, it can be difficult fo
1912
1939
 
1913
1940
  ### Accessibility
1914
1941
 
1915
- | Attribute | Applied to | Outcome |
1916
- | -------------------------------------------- | ------------------------------------------ | -------------------------------------------------------------------- |
1917
- | `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
1942
+ | Attribute | Applied to | Outcome |
1943
+ | -- | -- | -- |
1944
+ | `aria-controls="[id of element controlled]"` | `.pf-c-data-list__toggle` > `.pf-c-button` | Identifies the section controlled by the toggle button. **Required** |
1918
1945
 
1919
1946
  ### Usage
1920
1947
 
1921
- | Class | Applied to | Outcome |
1922
- | ---------------------------- | ----------------------- | ------------------------------------------------------------- |
1948
+ | Class | Applied to | Outcome |
1949
+ | -- | -- | -- |
1923
1950
  | `.pf-m-flex-{1, 2, 3, 4, 5}` | `.pf-c-data-list__cell` | Percentage based modifier for `.pf-c-data-list__cell` widths. |
1924
1951
 
1925
- ### Selectable rows
1952
+ ### Clickable rows
1926
1953
 
1927
1954
  ```html
1928
1955
  <ul
1929
1956
  class="pf-c-data-list"
1930
1957
  role="list"
1931
- aria-label="Selectable rows data list example"
1932
- id="data-list-selectable-rows"
1958
+ aria-label="Clickable rows data list example"
1959
+ id="data-list-clickable-rows"
1933
1960
  >
1934
1961
  <li
1935
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable pf-m-selected"
1936
- aria-labelledby="data-list-selectable-rows-item-1"
1962
+ class="pf-c-data-list__item pf-m-clickable pf-m-selected"
1963
+ aria-labelledby="data-list-clickable-rows-item-1"
1937
1964
  tabindex="0"
1938
1965
  >
1939
1966
  <div class="pf-c-data-list__item-row">
1940
1967
  <div class="pf-c-data-list__item-content">
1941
1968
  <div class="pf-c-data-list__cell">
1942
- <span id="data-list-selectable-rows-item-1">Primary content</span>
1969
+ <span id="data-list-clickable-rows-item-1">Primary content (clicked)</span>
1943
1970
  </div>
1944
1971
  </div>
1945
1972
  </div>
1946
1973
  </li>
1947
1974
 
1948
1975
  <li
1949
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable pf-m-selected"
1950
- aria-labelledby="data-list-selectable-rows-item-2"
1976
+ class="pf-c-data-list__item pf-m-clickable"
1977
+ aria-labelledby="data-list-clickable-rows-item-2"
1951
1978
  tabindex="0"
1952
1979
  >
1953
1980
  <div class="pf-c-data-list__item-row">
1954
1981
  <div class="pf-c-data-list__item-content">
1955
1982
  <div class="pf-c-data-list__cell">
1956
- <span
1957
- id="data-list-selectable-rows-item-2"
1958
- >Secondary content (selected)</span>
1983
+ <span id="data-list-clickable-rows-item-2">Secondary content</span>
1959
1984
  </div>
1960
1985
  </div>
1961
1986
  </div>
1962
1987
  </li>
1963
1988
 
1964
1989
  <li
1965
- class="pf-c-data-list__item pf-m-selectable"
1966
- aria-labelledby="data-list-selectable-rows-item-3"
1990
+ class="pf-c-data-list__item pf-m-clickable"
1991
+ aria-labelledby="data-list-clickable-rows-item-3"
1967
1992
  tabindex="0"
1968
1993
  >
1969
1994
  <div class="pf-c-data-list__item-row">
1970
1995
  <div class="pf-c-data-list__item-content">
1971
1996
  <div class="pf-c-data-list__cell">
1972
- <span id="data-list-selectable-rows-item-3">Tertiary content</span>
1997
+ <span id="data-list-clickable-rows-item-3">Tertiary content</span>
1973
1998
  </div>
1974
1999
  </div>
1975
2000
  </div>
@@ -1980,29 +2005,29 @@ When a list item includes more than one block of content, it can be difficult fo
1980
2005
 
1981
2006
  ### Accessibility
1982
2007
 
1983
- | Attribute | Applied to | Outcome |
1984
- | -------------- | --------------------------------------- | ----------------------------------------------------------------------------------------------- |
1985
- | `tabindex="0"` | `.pf-c-data-list__item.pf-m-selectable` | Inserts the selectable row into the tab order of the page so that it is focusable. **Required** |
2008
+ | Attribute | Applied to | Outcome |
2009
+ | -- | -- | -- |
2010
+ | `tabindex="0"` | `.pf-c-data-list__item.pf-m-clickable` | Inserts the clickable row into the tab order of the page so that it is focusable. **Required** |
1986
2011
 
1987
2012
  ### Usage
1988
2013
 
1989
- | Class | Applied to | Outcome |
1990
- | ------------------ | ----------------------- | --------------------------------------------------- |
1991
- | `.pf-m-selectable` | `.pf-c-data-list__item` | Modifies a data list item so that it is selectable. |
1992
- | `.pf-m-selected` | `.pf-c-data-list__item` | Modifies a data list item for the selected state. |
2014
+ | Class | Applied to | Outcome |
2015
+ | -- | -- | -- |
2016
+ | `.pf-m-clickable` | `.pf-c-data-list__item` | Modifies a data list item so that it is clickable. |
2017
+ | `.pf-m-selected` | `.pf-c-data-list__item` | Modifies a data list item for the selected state. |
1993
2018
 
1994
- ### Selectable expandable rows
2019
+ ### Clickable expandable rows
1995
2020
 
1996
2021
  ```html
1997
2022
  <ul
1998
2023
  class="pf-c-data-list"
1999
2024
  role="list"
2000
- aria-label="Selectable, expandable data list example"
2001
- id="data-list-selectable-expandable-rows"
2025
+ aria-label="Clickable, expandable data list example"
2026
+ id="data-list-clickable-expandable-rows"
2002
2027
  >
2003
2028
  <li
2004
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable"
2005
- aria-labelledby="data-list-selectable-expandable-rows-item-1"
2029
+ class="pf-c-data-list__item pf-m-expanded pf-m-clickable pf-m-selected"
2030
+ aria-labelledby="data-list-clickable-expandable-rows-item-1"
2006
2031
  tabindex="0"
2007
2032
  >
2008
2033
  <div class="pf-c-data-list__item-row">
@@ -2011,11 +2036,11 @@ When a list item includes more than one block of content, it can be difficult fo
2011
2036
  <button
2012
2037
  class="pf-c-button pf-m-plain"
2013
2038
  type="button"
2014
- aria-labelledby="data-list-selectable-expandable-rows-toggle1 data-list-selectable-expandable-rows-item1"
2015
- id="data-list-selectable-expandable-rows-toggle1"
2039
+ aria-labelledby="data-list-clickable-expandable-rows-toggle1 data-list-clickable-expandable-rows-item1"
2040
+ id="data-list-clickable-expandable-rows-toggle1"
2016
2041
  aria-label="Toggle details for"
2017
2042
  aria-expanded="true"
2018
- aria-controls="data-list-selectable-expandable-rows-content1"
2043
+ aria-controls="data-list-clickable-expandable-rows-content1"
2019
2044
  >
2020
2045
  <div class="pf-c-data-list__toggle-icon">
2021
2046
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2026,15 +2051,15 @@ When a list item includes more than one block of content, it can be difficult fo
2026
2051
  <div class="pf-c-data-list__item-content">
2027
2052
  <div class="pf-c-data-list__cell">
2028
2053
  <span
2029
- id="data-list-selectable-expandable-rows-item-1"
2030
- >Primary content (selected, expanded)</span>
2054
+ id="data-list-clickable-expandable-rows-item-1"
2055
+ >Primary content (clicked and expanded)</span>
2031
2056
  </div>
2032
2057
  </div>
2033
2058
  </div>
2034
2059
  <section
2035
2060
  class="pf-c-data-list__expandable-content"
2036
- id="data-list-selectable-expandable-rows-content1"
2037
- aria-label="Selectable expandable row primary content details"
2061
+ id="data-list-clickable-expandable-rows-content1"
2062
+ aria-label="Clickable expandable row primary content details"
2038
2063
  >
2039
2064
  <div
2040
2065
  class="pf-c-data-list__expandable-content-body"
@@ -2043,8 +2068,8 @@ When a list item includes more than one block of content, it can be difficult fo
2043
2068
  </li>
2044
2069
 
2045
2070
  <li
2046
- class="pf-c-data-list__item pf-m-selectable"
2047
- aria-labelledby="data-list-selectable-expandable-rows-item-2"
2071
+ class="pf-c-data-list__item pf-m-clickable"
2072
+ aria-labelledby="data-list-clickable-expandable-rows-item-2"
2048
2073
  tabindex="0"
2049
2074
  >
2050
2075
  <div class="pf-c-data-list__item-row">
@@ -2053,11 +2078,11 @@ When a list item includes more than one block of content, it can be difficult fo
2053
2078
  <button
2054
2079
  class="pf-c-button pf-m-plain"
2055
2080
  type="button"
2056
- aria-labelledby="data-list-selectable-expandable-rows-toggle2 data-list-selectable-expandable-rows-item2"
2057
- id="data-list-selectable-expandable-rows-toggle2"
2081
+ aria-labelledby="data-list-clickable-expandable-rows-toggle2 data-list-clickable-expandable-rows-item2"
2082
+ id="data-list-clickable-expandable-rows-toggle2"
2058
2083
  aria-label="Toggle details for"
2059
2084
  aria-expanded="false"
2060
- aria-controls="data-list-selectable-expandable-rows-content2"
2085
+ aria-controls="data-list-clickable-expandable-rows-content2"
2061
2086
  >
2062
2087
  <div class="pf-c-data-list__toggle-icon">
2063
2088
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2068,15 +2093,15 @@ When a list item includes more than one block of content, it can be difficult fo
2068
2093
  <div class="pf-c-data-list__item-content">
2069
2094
  <div class="pf-c-data-list__cell">
2070
2095
  <span
2071
- id="data-list-selectable-expandable-rows-item-2"
2096
+ id="data-list-clickable-expandable-rows-item-2"
2072
2097
  >Secondary content</span>
2073
2098
  </div>
2074
2099
  </div>
2075
2100
  </div>
2076
2101
  <section
2077
2102
  class="pf-c-data-list__expandable-content"
2078
- id="data-list-selectable-expandable-rows-content2"
2079
- aria-label="Selectable expandable row secondary content details"
2103
+ id="data-list-clickable-expandable-rows-content2"
2104
+ aria-label="Clickable expandable row secondary content details"
2080
2105
  hidden
2081
2106
  >
2082
2107
  <div
@@ -2086,8 +2111,8 @@ When a list item includes more than one block of content, it can be difficult fo
2086
2111
  </li>
2087
2112
 
2088
2113
  <li
2089
- class="pf-c-data-list__item pf-m-expanded pf-m-selectable"
2090
- aria-labelledby="data-list-selectable-expandable-rows-item-3"
2114
+ class="pf-c-data-list__item pf-m-expanded pf-m-clickable"
2115
+ aria-labelledby="data-list-clickable-expandable-rows-item-3"
2091
2116
  tabindex="0"
2092
2117
  >
2093
2118
  <div class="pf-c-data-list__item-row">
@@ -2096,11 +2121,11 @@ When a list item includes more than one block of content, it can be difficult fo
2096
2121
  <button
2097
2122
  class="pf-c-button pf-m-plain"
2098
2123
  type="button"
2099
- aria-labelledby="data-list-selectable-expandable-rows-toggle3 data-list-selectable-expandable-rows-item3"
2100
- id="data-list-selectable-expandable-rows-toggle3"
2124
+ aria-labelledby="data-list-clickable-expandable-rows-toggle3 data-list-clickable-expandable-rows-item3"
2125
+ id="data-list-clickable-expandable-rows-toggle3"
2101
2126
  aria-label="Toggle details for"
2102
2127
  aria-expanded="true"
2103
- aria-controls="data-list-selectable-expandable-rows-content3"
2128
+ aria-controls="data-list-clickable-expandable-rows-content3"
2104
2129
  >
2105
2130
  <div class="pf-c-data-list__toggle-icon">
2106
2131
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2111,15 +2136,15 @@ When a list item includes more than one block of content, it can be difficult fo
2111
2136
  <div class="pf-c-data-list__item-content">
2112
2137
  <div class="pf-c-data-list__cell">
2113
2138
  <span
2114
- id="data-list-selectable-expandable-rows-item-3"
2115
- >Tertiary content (not selected, expanded)</span>
2139
+ id="data-list-clickable-expandable-rows-item-3"
2140
+ >Tertiary content (expanded)</span>
2116
2141
  </div>
2117
2142
  </div>
2118
2143
  </div>
2119
2144
  <section
2120
2145
  class="pf-c-data-list__expandable-content"
2121
- id="data-list-selectable-expandable-rows-content3"
2122
- aria-label="Selectable expandable row tertiary content details"
2146
+ id="data-list-clickable-expandable-rows-content3"
2147
+ aria-label="Clickable expandable row tertiary content details"
2123
2148
  >
2124
2149
  <div
2125
2150
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -2128,8 +2153,8 @@ When a list item includes more than one block of content, it can be difficult fo
2128
2153
  </li>
2129
2154
 
2130
2155
  <li
2131
- class="pf-c-data-list__item pf-m-selectable"
2132
- aria-labelledby="data-list-selectable-expandable-rows-item-4"
2156
+ class="pf-c-data-list__item pf-m-clickable"
2157
+ aria-labelledby="data-list-clickable-expandable-rows-item-4"
2133
2158
  tabindex="0"
2134
2159
  >
2135
2160
  <div class="pf-c-data-list__item-row">
@@ -2138,11 +2163,11 @@ When a list item includes more than one block of content, it can be difficult fo
2138
2163
  <button
2139
2164
  class="pf-c-button pf-m-plain"
2140
2165
  type="button"
2141
- aria-labelledby="data-list-selectable-expandable-rows-toggle4 data-list-selectable-expandable-rows-item4"
2142
- id="data-list-selectable-expandable-rows-toggle4"
2166
+ aria-labelledby="data-list-clickable-expandable-rows-toggle4 data-list-clickable-expandable-rows-item4"
2167
+ id="data-list-clickable-expandable-rows-toggle4"
2143
2168
  aria-label="Toggle details for"
2144
2169
  aria-expanded="false"
2145
- aria-controls="data-list-selectable-expandable-rows-content4"
2170
+ aria-controls="data-list-clickable-expandable-rows-content4"
2146
2171
  >
2147
2172
  <div class="pf-c-data-list__toggle-icon">
2148
2173
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2153,15 +2178,15 @@ When a list item includes more than one block of content, it can be difficult fo
2153
2178
  <div class="pf-c-data-list__item-content">
2154
2179
  <div class="pf-c-data-list__cell">
2155
2180
  <span
2156
- id="data-list-selectable-expandable-rows-item-4"
2157
- >Quaternary content (selected)</span>
2181
+ id="data-list-clickable-expandable-rows-item-4"
2182
+ >Quaternary content</span>
2158
2183
  </div>
2159
2184
  </div>
2160
2185
  </div>
2161
2186
  <section
2162
2187
  class="pf-c-data-list__expandable-content"
2163
- id="data-list-selectable-expandable-rows-content4"
2164
- aria-label="Selectable expandable row quaternary content details"
2188
+ id="data-list-clickable-expandable-rows-content4"
2189
+ aria-label="Clickable expandable row quaternary content details"
2165
2190
  hidden
2166
2191
  >
2167
2192
  <div
@@ -2203,11 +2228,14 @@ When a list item includes more than one block of content, it can be difficult fo
2203
2228
  </span>
2204
2229
  </button>
2205
2230
  <div class="pf-c-data-list__check">
2206
- <input
2207
- type="checkbox"
2208
- name="data-list-draggable-item-1-checkbox"
2209
- aria-labelledby="data-list-draggable-item-1"
2210
- />
2231
+ <div class="pf-c-check pf-m-standalone">
2232
+ <input
2233
+ class="pf-c-check__input"
2234
+ type="checkbox"
2235
+ name="data-list-draggable-item-1-checkbox"
2236
+ aria-labelledby="data-list-draggable-item-1"
2237
+ />
2238
+ </div>
2211
2239
  </div>
2212
2240
  </div>
2213
2241
  <div class="pf-c-data-list__item-content">
@@ -2238,11 +2266,14 @@ When a list item includes more than one block of content, it can be difficult fo
2238
2266
  </span>
2239
2267
  </button>
2240
2268
  <div class="pf-c-data-list__check">
2241
- <input
2242
- type="checkbox"
2243
- name="data-list-draggable-item-2-checkbox"
2244
- aria-labelledby="data-list-draggable-item-2"
2245
- />
2269
+ <div class="pf-c-check pf-m-standalone">
2270
+ <input
2271
+ class="pf-c-check__input"
2272
+ type="checkbox"
2273
+ name="data-list-draggable-item-2-checkbox"
2274
+ aria-labelledby="data-list-draggable-item-2"
2275
+ />
2276
+ </div>
2246
2277
  </div>
2247
2278
  </div>
2248
2279
  <div class="pf-c-data-list__item-content">
@@ -2277,11 +2308,14 @@ When a list item includes more than one block of content, it can be difficult fo
2277
2308
  </span>
2278
2309
  </button>
2279
2310
  <div class="pf-c-data-list__check">
2280
- <input
2281
- type="checkbox"
2282
- name="data-list-draggable-item-3-checkbox"
2283
- aria-labelledby="data-list-draggable-item-3"
2284
- />
2311
+ <div class="pf-c-check pf-m-standalone">
2312
+ <input
2313
+ class="pf-c-check__input"
2314
+ type="checkbox"
2315
+ name="data-list-draggable-item-3-checkbox"
2316
+ aria-labelledby="data-list-draggable-item-3"
2317
+ />
2318
+ </div>
2285
2319
  </div>
2286
2320
  </div>
2287
2321
  <div class="pf-c-data-list__item-content">
@@ -2312,11 +2346,14 @@ When a list item includes more than one block of content, it can be difficult fo
2312
2346
  </span>
2313
2347
  </button>
2314
2348
  <div class="pf-c-data-list__check">
2315
- <input
2316
- type="checkbox"
2317
- name="data-list-draggable-item-4-checkbox"
2318
- aria-labelledby="data-list-draggable-item-4"
2319
- />
2349
+ <div class="pf-c-check pf-m-standalone">
2350
+ <input
2351
+ class="pf-c-check__input"
2352
+ type="checkbox"
2353
+ name="data-list-draggable-item-4-checkbox"
2354
+ aria-labelledby="data-list-draggable-item-4"
2355
+ />
2356
+ </div>
2320
2357
  </div>
2321
2358
  </div>
2322
2359
  <div class="pf-c-data-list__item-content">
@@ -2339,24 +2376,24 @@ When a list item includes more than one block of content, it can be difficult fo
2339
2376
 
2340
2377
  ### Accessibility
2341
2378
 
2342
- | Attribute | Applied to | Outcome |
2343
- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2344
- | `aria-pressed="true or false"` | `.pf-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. |
2345
- | `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** |
2346
- | `aria-describedby="[id value of applicable content]"` | `.pf-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** |
2347
- | `aria-labelledby="[id value of .pf-c-data-list__item-draggable-button] [id value of .pf-c-data-list__cell-text]"` | `.pf-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
2348
- | `id="[]"` | `.pf-c-data-list__item-draggable-button`, `.pf-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
2379
+ | Attribute | Applied to | Outcome |
2380
+ | -- | -- | -- |
2381
+ | `aria-pressed="true or false"` | `.pf-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. |
2382
+ | `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** |
2383
+ | `aria-describedby="[id value of applicable content]"` | `.pf-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** |
2384
+ | `aria-labelledby="[id value of .pf-c-data-list__item-draggable-button] [id value of .pf-c-data-list__cell-text]"` | `.pf-c-data-list__item-draggable-button` | Provides an accessible name for the draggable button. |
2385
+ | `id="[]"` | `.pf-c-data-list__item-draggable-button`, `.pf-c-data-list__cell-text` | Gives the button and the text element accessible IDs |
2349
2386
 
2350
2387
  ### Usage
2351
2388
 
2352
- | Class | Applied to | Outcome |
2353
- | ---------------------------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------- |
2354
- | `.pf-c-data-list__item-draggable-button` | `<button>` | Initiates the draggable button. Use for drag and drop. |
2355
- | `.pf-c-data-list__item-draggable-icon` | `<span>` | Initiates the draggable button icon. |
2356
- | `.pf-m-draggable` | `.pf-c-data-list__item` | Modifies a data list item so that it is draggable. |
2357
- | `.pf-m-ghost-row` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a draggable data list item to be the ghost row. |
2358
- | `.pf-m-disabled` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
2359
- | `.pf-m-drag-over` | `.pf-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
2389
+ | Class | Applied to | Outcome |
2390
+ | -- | -- | -- |
2391
+ | `.pf-c-data-list__item-draggable-button` | `<button>` | Initiates the draggable button. Use for drag and drop. |
2392
+ | `.pf-c-data-list__item-draggable-icon` | `<span>` | Initiates the draggable button icon. |
2393
+ | `.pf-m-draggable` | `.pf-c-data-list__item` | Modifies a data list item so that it is draggable. |
2394
+ | `.pf-m-ghost-row` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a draggable data list item to be the ghost row. |
2395
+ | `.pf-m-disabled` | `.pf-c-data-list__item.pf-m-draggable` | Modifies a data list draggable item for the disabled state. |
2396
+ | `.pf-m-drag-over` | `.pf-c-data-list` | Modifies the data list to indicate that a draggable item is being dragged over the data list. |
2360
2397
 
2361
2398
  ### Text modifiers
2362
2399
 
@@ -2478,12 +2515,12 @@ When a list item includes more than one block of content, it can be difficult fo
2478
2515
 
2479
2516
  ### Usage
2480
2517
 
2481
- | Class | Applied to | Outcome |
2482
- | ----------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
2483
- | `.pf-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
2484
- | `.pf-m-truncate` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text is truncated. |
2485
- | `.pf-m-break-word` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
2486
- | `.pf-m-nowrap` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
2518
+ | Class | Applied to | Outcome |
2519
+ | -- | -- | -- |
2520
+ | `.pf-c-data-list__text` | `*` | Inserts the data list text element. Use this class to modify specific text directly. |
2521
+ | `.pf-m-truncate` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text is truncated. |
2522
+ | `.pf-m-break-word` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text breaks to the next line. |
2523
+ | `.pf-m-nowrap` | `.pf-c-data-list`, `.pf-c-data-list__item-row`, `.pf-c-data-list__cell`, `.pf-c-data-list__text` | Modifies the data list element so that text does not wrap to the next line. |
2487
2524
 
2488
2525
  ## Documentation
2489
2526
 
@@ -2622,6 +2659,6 @@ The DataList component provides a flexible alternative to the Table component, w
2622
2659
 
2623
2660
  ### Usage
2624
2661
 
2625
- | Class | Applied to | Outcome |
2626
- | ------------------------------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2662
+ | Class | Applied to | Outcome |
2663
+ | -- | -- | -- |
2627
2664
  | `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-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. |