@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.10

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 (501) hide show
  1. package/README.md +1 -2
  2. package/assets/fontawesome/_animated.scss +1 -0
  3. package/assets/fontawesome/_bordered-pulled.scss +1 -0
  4. package/assets/fontawesome/_fixed-width.scss +3 -1
  5. package/assets/fontawesome/_icons.scss +1333 -1330
  6. package/assets/fontawesome/_index.scss +11 -0
  7. package/assets/fontawesome/_larger.scss +4 -2
  8. package/assets/fontawesome/_list.scss +4 -2
  9. package/assets/fontawesome/_rotated-flipped.scss +2 -0
  10. package/assets/fontawesome/_screen-reader.scss +1 -0
  11. package/assets/fontawesome/_stacked.scss +3 -1
  12. package/assets/fontawesome/_variables.scss +4 -4
  13. package/assets/fontawesome/fontawesome.scss +12 -12
  14. package/assets/icons/iconUnicodes.json +6 -0
  15. package/assets/images/img_avatar-dark.svg +22 -16
  16. package/assets/images/img_avatar-light.svg +25 -18
  17. package/assets/images/pf-background.svg +21 -21
  18. package/assets/images/pf_logo.svg +11 -11
  19. package/assets/images/pf_logo_white.svg +16 -17
  20. package/assets/pficon/pf-v6-pficon.woff2 +0 -0
  21. package/assets/pficon/pficon.scss +310 -271
  22. package/base/_index.scss +10 -0
  23. package/base/{_globals.scss → normalize.scss} +15 -48
  24. package/base/patternfly-common.css +14 -0
  25. package/base/patternfly-common.scss +69 -2
  26. package/base/patternfly-fa-icons.css +2787 -1420
  27. package/base/patternfly-fa-icons.scss +53 -2
  28. package/base/patternfly-fonts.css +10 -80
  29. package/base/patternfly-fonts.scss +49 -2
  30. package/base/patternfly-pf-icons.css +158 -134
  31. package/base/patternfly-pf-icons.scss +1 -2
  32. package/base/patternfly-svg-icons.css +5 -0
  33. package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
  34. package/base/patternfly-variables.css +1094 -1206
  35. package/base/patternfly-variables.scss +20 -2
  36. package/base/reset.scss +33 -0
  37. package/base/tokens/_index.scss +6 -0
  38. package/base/tokens/tokens-charts-dark.scss +173 -0
  39. package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
  40. package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +310 -294
  41. package/base/tokens/{_tokens-default.scss → tokens-default.scss} +580 -447
  42. package/base/tokens/{_tokens-font.scss → tokens-local.scss} +16 -34
  43. package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
  44. package/components/AboutModalBox/about-modal-box.css +86 -81
  45. package/components/AboutModalBox/about-modal-box.scss +80 -82
  46. package/components/Accordion/accordion.css +46 -45
  47. package/components/Accordion/accordion.scss +56 -55
  48. package/components/ActionList/action-list.css +6 -5
  49. package/components/ActionList/action-list.scss +7 -5
  50. package/components/Alert/alert-group.css +72 -19
  51. package/components/Alert/alert-group.scss +105 -18
  52. package/components/Alert/alert.css +52 -59
  53. package/components/Alert/alert.scss +56 -65
  54. package/components/Avatar/avatar.css +42 -41
  55. package/components/Avatar/avatar.scss +8 -7
  56. package/components/BackToTop/back-to-top.css +19 -17
  57. package/components/BackToTop/back-to-top.scss +17 -17
  58. package/components/Backdrop/backdrop.css +1 -1
  59. package/components/Backdrop/backdrop.scss +3 -4
  60. package/components/BackgroundImage/background-image.scss +3 -4
  61. package/components/Badge/badge.css +29 -7
  62. package/components/Badge/badge.scss +33 -9
  63. package/components/Banner/banner.css +30 -37
  64. package/components/Banner/banner.scss +30 -43
  65. package/components/Brand/brand.css +14 -10
  66. package/components/Brand/brand.scss +8 -5
  67. package/components/Breadcrumb/breadcrumb.css +23 -24
  68. package/components/Breadcrumb/breadcrumb.scss +25 -28
  69. package/components/Button/button.css +152 -130
  70. package/components/Button/button.scss +157 -133
  71. package/components/CalendarMonth/calendar-month.css +47 -47
  72. package/components/CalendarMonth/calendar-month.scss +50 -51
  73. package/components/Card/card.css +111 -94
  74. package/components/Card/card.scss +119 -93
  75. package/components/Check/check.css +6 -6
  76. package/components/Check/check.scss +8 -9
  77. package/components/ClipboardCopy/clipboard-copy.css +34 -45
  78. package/components/ClipboardCopy/clipboard-copy.scss +36 -49
  79. package/components/CodeBlock/code-block.css +21 -20
  80. package/components/CodeBlock/code-block.scss +21 -21
  81. package/components/CodeEditor/code-editor.css +36 -35
  82. package/components/CodeEditor/code-editor.scss +36 -36
  83. package/components/Content/content.css +167 -153
  84. package/components/Content/content.scss +204 -145
  85. package/components/DataList/data-list-grid.css +117 -117
  86. package/components/DataList/data-list-grid.scss +22 -20
  87. package/components/DataList/data-list.css +308 -312
  88. package/components/DataList/data-list.scss +145 -152
  89. package/components/DatePicker/date-picker.css +17 -17
  90. package/components/DatePicker/date-picker.scss +17 -18
  91. package/components/DescriptionList/description-list-order.css +5 -5
  92. package/components/DescriptionList/description-list-order.scss +3 -1
  93. package/components/DescriptionList/description-list.css +52 -50
  94. package/components/DescriptionList/description-list.scss +32 -37
  95. package/components/Divider/divider.css +104 -107
  96. package/components/Divider/divider.scss +19 -19
  97. package/components/DragDrop/drag-drop.css +4 -2
  98. package/components/DragDrop/drag-drop.scss +3 -3
  99. package/components/Drawer/drawer.css +119 -114
  100. package/components/Drawer/drawer.scss +139 -134
  101. package/components/DualListSelector/dual-list-selector.css +65 -62
  102. package/components/DualListSelector/dual-list-selector.scss +55 -52
  103. package/components/EmptyState/empty-state.css +38 -37
  104. package/components/EmptyState/empty-state.scss +39 -39
  105. package/components/ExpandableSection/expandable-section.css +27 -86
  106. package/components/ExpandableSection/expandable-section.scss +32 -101
  107. package/components/FileUpload/file-upload.css +3 -3
  108. package/components/FileUpload/file-upload.scss +3 -4
  109. package/components/Form/form.css +177 -125
  110. package/components/Form/form.scss +121 -115
  111. package/components/FormControl/form-control.css +68 -64
  112. package/components/FormControl/form-control.scss +80 -74
  113. package/components/HelperText/helper-text.css +5 -4
  114. package/components/HelperText/helper-text.scss +8 -6
  115. package/components/Hint/hint.css +25 -25
  116. package/components/Hint/hint.scss +25 -27
  117. package/components/Icon/icon.css +10 -10
  118. package/components/Icon/icon.scss +11 -12
  119. package/components/InlineEdit/inline-edit.css +12 -12
  120. package/components/InlineEdit/inline-edit.scss +12 -13
  121. package/components/InputGroup/input-group.css +17 -17
  122. package/components/InputGroup/input-group.scss +19 -20
  123. package/components/JumpLinks/jump-links.css +80 -96
  124. package/components/JumpLinks/jump-links.scss +80 -100
  125. package/components/Label/label-group.css +28 -28
  126. package/components/Label/label-group.scss +29 -30
  127. package/components/Label/label.css +103 -88
  128. package/components/Label/label.scss +114 -95
  129. package/components/List/list.css +44 -47
  130. package/components/List/list.scss +51 -58
  131. package/components/Login/login.css +122 -118
  132. package/components/Login/login.scss +105 -112
  133. package/components/Masthead/masthead.css +273 -175
  134. package/components/Masthead/masthead.scss +102 -68
  135. package/components/Menu/menu.css +151 -95
  136. package/components/Menu/menu.scss +59 -40
  137. package/components/MenuToggle/menu-toggle.css +131 -110
  138. package/components/MenuToggle/menu-toggle.scss +152 -130
  139. package/components/ModalBox/modal-box.css +53 -45
  140. package/components/ModalBox/modal-box.scss +52 -46
  141. package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
  142. package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
  143. package/components/Nav/nav.css +33 -9
  144. package/components/Nav/nav.scss +46 -13
  145. package/components/NotificationDrawer/notification-drawer.css +50 -51
  146. package/components/NotificationDrawer/notification-drawer.scss +58 -57
  147. package/components/NumberInput/number-input.css +7 -11
  148. package/components/NumberInput/number-input.scss +5 -7
  149. package/components/OverflowMenu/overflow-menu.css +2 -1
  150. package/components/OverflowMenu/overflow-menu.scss +3 -1
  151. package/components/Page/page.css +177 -517
  152. package/components/Page/page.scss +157 -384
  153. package/components/Pagination/pagination.css +82 -79
  154. package/components/Pagination/pagination.scss +43 -40
  155. package/components/Panel/panel.css +33 -30
  156. package/components/Panel/panel.scss +35 -33
  157. package/components/Popover/popover.css +54 -52
  158. package/components/Popover/popover.scss +55 -54
  159. package/components/Progress/progress.css +8 -4
  160. package/components/Progress/progress.scss +14 -11
  161. package/components/ProgressStepper/progress-stepper.css +246 -245
  162. package/components/ProgressStepper/progress-stepper.scss +118 -118
  163. package/components/Radio/radio.css +9 -9
  164. package/components/Radio/radio.scss +11 -12
  165. package/components/Sidebar/sidebar.css +139 -139
  166. package/components/Sidebar/sidebar.scss +61 -61
  167. package/components/SimpleList/simple-list.css +21 -20
  168. package/components/SimpleList/simple-list.scss +22 -23
  169. package/components/Skeleton/skeleton.css +4 -4
  170. package/components/Skeleton/skeleton.scss +7 -8
  171. package/components/SkipToContent/skip-to-content.css +7 -6
  172. package/components/SkipToContent/skip-to-content.scss +7 -7
  173. package/components/Slider/slider.css +31 -31
  174. package/components/Slider/slider.scss +54 -55
  175. package/components/Spinner/spinner.scss +4 -5
  176. package/components/Switch/switch.css +4 -10
  177. package/components/Switch/switch.scss +8 -17
  178. package/components/TabContent/tab-content.css +25 -25
  179. package/components/TabContent/tab-content.scss +28 -28
  180. package/components/Table/table-grid.css +434 -508
  181. package/components/Table/table-grid.scss +131 -150
  182. package/components/Table/table-scrollable.css +31 -34
  183. package/components/Table/table-scrollable.scss +44 -41
  184. package/components/Table/table-tree-view.css +287 -279
  185. package/components/Table/table-tree-view.scss +84 -84
  186. package/components/Table/table.css +316 -279
  187. package/components/Table/table.scss +346 -301
  188. package/components/Tabs/tabs.css +215 -240
  189. package/components/Tabs/tabs.scss +130 -162
  190. package/components/TextInputGroup/text-input-group.css +122 -64
  191. package/components/TextInputGroup/text-input-group.scss +144 -87
  192. package/components/Tile/tile.css +15 -15
  193. package/components/Tile/tile.scss +16 -17
  194. package/components/Timestamp/timestamp.css +13 -19
  195. package/components/Timestamp/timestamp.scss +16 -22
  196. package/components/Title/title.css +14 -13
  197. package/components/Title/title.scss +15 -15
  198. package/components/ToggleGroup/toggle-group.css +37 -37
  199. package/components/ToggleGroup/toggle-group.scss +38 -41
  200. package/components/Toolbar/toolbar.css +547 -1431
  201. package/components/Toolbar/toolbar.scss +159 -123
  202. package/components/Tooltip/tooltip.css +28 -27
  203. package/components/Tooltip/tooltip.scss +31 -30
  204. package/components/TreeView/tree-view.css +184 -184
  205. package/components/TreeView/tree-view.scss +133 -133
  206. package/components/Truncate/truncate.css +2 -2
  207. package/components/Truncate/truncate.scss +7 -8
  208. package/components/Wizard/wizard.css +190 -154
  209. package/components/Wizard/wizard.scss +211 -165
  210. package/components/_index.css +22381 -0
  211. package/components/_index.scss +82 -0
  212. package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
  213. package/docs/components/Accordion/examples/Accordion.md +1 -1
  214. package/docs/components/ActionList/examples/ActionList.md +64 -24
  215. package/docs/components/Alert/examples/Alert.md +116 -74
  216. package/docs/components/BackToTop/examples/BackToTop.md +1 -1
  217. package/docs/components/Badge/examples/Badge.md +6 -16
  218. package/docs/components/Banner/examples/Banner.md +16 -10
  219. package/docs/components/Brand/examples/Brand.md +2 -2
  220. package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
  221. package/docs/components/Button/examples/Button.md +537 -368
  222. package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
  223. package/docs/components/Card/examples/Card.md +372 -658
  224. package/docs/components/Check/examples/Check.md +10 -15
  225. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
  226. package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
  227. package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
  228. package/docs/components/Content/examples/Content.md +600 -60
  229. package/docs/components/DataList/examples/DataList.md +291 -1028
  230. package/docs/components/DatePicker/examples/DatePicker.md +18 -6
  231. package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
  232. package/docs/components/Drawer/examples/Drawer.md +60 -21
  233. package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
  234. package/docs/components/EmptyState/examples/EmptyState.md +123 -53
  235. package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
  236. package/docs/components/FileUpload/examples/FileUpload.md +42 -14
  237. package/docs/components/Form/examples/Form.md +100 -26
  238. package/docs/components/Hint/examples/Hint.md +54 -164
  239. package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
  240. package/docs/components/InputGroup/examples/InputGroup.md +38 -62
  241. package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
  242. package/docs/components/Label/examples/Label.md +2577 -406
  243. package/docs/components/Login/examples/Login.md +372 -334
  244. package/docs/components/Masthead/examples/masthead.md +515 -484
  245. package/docs/components/Menu/examples/Menu.md +77 -138
  246. package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
  247. package/docs/components/ModalBox/examples/ModalBox.md +158 -100
  248. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
  249. package/docs/components/Nav/examples/Navigation.css +2 -7
  250. package/docs/components/Nav/examples/Navigation.md +337 -270
  251. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
  252. package/docs/components/NumberInput/examples/NumberInput.md +96 -48
  253. package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
  254. package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
  255. package/docs/components/Page/examples/Page.css +5 -9
  256. package/docs/components/Page/examples/Page.md +254 -181
  257. package/docs/components/Pagination/examples/Pagination.md +336 -756
  258. package/docs/components/Panel/examples/Panel.md +3 -2
  259. package/docs/components/Popover/examples/Popover.md +60 -15
  260. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
  261. package/docs/components/Sidebar/examples/Sidebar.css +4 -2
  262. package/docs/components/Sidebar/examples/Sidebar.md +3 -3
  263. package/docs/components/Skeleton/examples/Skeleton.css +1 -1
  264. package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
  265. package/docs/components/Slider/examples/Slider.md +53 -45
  266. package/docs/components/Spinner/examples/Spinner.md +1 -1
  267. package/docs/components/Switch/examples/Switch.md +33 -148
  268. package/docs/components/Table/examples/Table.css +11 -6
  269. package/docs/components/Table/examples/Table.md +5302 -2464
  270. package/docs/components/Tabs/examples/Tabs.md +1267 -607
  271. package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
  272. package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
  273. package/docs/components/Tile/examples/Tile.css +5 -5
  274. package/docs/components/Timestamp/examples/Timestamp.md +7 -1
  275. package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
  276. package/docs/components/Toolbar/examples/Toolbar.css +50 -39
  277. package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
  278. package/docs/components/Tooltip/examples/Tooltip.css +1 -1
  279. package/docs/components/TreeView/examples/TreeView.md +627 -49
  280. package/docs/components/Truncate/examples/Truncate.css +1 -2
  281. package/docs/components/Wizard/examples/Wizard.md +1595 -126
  282. package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
  283. package/docs/demos/Alert/examples/Alert.md +924 -909
  284. package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
  285. package/docs/demos/Banner/examples/Banner.md +641 -659
  286. package/docs/demos/Button/examples/Button.md +8 -8
  287. package/docs/demos/Card/examples/Card.css +6 -6
  288. package/docs/demos/Card/examples/Card.md +419 -606
  289. package/docs/demos/CardView/examples/CardView.md +822 -1435
  290. package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
  291. package/docs/demos/DataList/examples/DataList.md +3210 -3424
  292. package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
  293. package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
  294. package/docs/demos/Form/examples/BasicForms.md +153 -88
  295. package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
  296. package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
  297. package/docs/demos/Modal/examples/Modal.md +1231 -1235
  298. package/docs/demos/Nav/examples/Nav.md +1216 -1230
  299. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
  300. package/docs/demos/Page/examples/Page.css +11 -0
  301. package/docs/demos/Page/examples/Page.md +3753 -2540
  302. package/docs/demos/Panel/Panel.md +88 -0
  303. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
  304. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
  305. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
  306. package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
  307. package/docs/demos/Table/examples/Table.md +14272 -15154
  308. package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
  309. package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
  310. package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
  311. package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
  312. package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
  313. package/docs/layouts/Flex/examples/Flex.css +4 -4
  314. package/docs/layouts/Flex/examples/Flex.md +50 -50
  315. package/docs/layouts/Gallery/examples/Gallery.css +4 -4
  316. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  317. package/docs/layouts/Grid/examples/Grid.css +3 -3
  318. package/docs/layouts/Grid/examples/Grid.md +33 -33
  319. package/docs/layouts/Level/examples/Level.css +5 -5
  320. package/docs/layouts/Split/examples/Split.css +4 -4
  321. package/docs/layouts/Stack/examples/Stack.css +5 -5
  322. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  323. package/docs/utilities/Alignment/examples/Alignment.css +6 -6
  324. package/docs/utilities/Alignment/examples/Alignment.md +5 -5
  325. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
  326. package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
  327. package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
  328. package/docs/utilities/Display/examples/Display.css +3 -10
  329. package/docs/utilities/Display/examples/Display.md +21 -12
  330. package/docs/utilities/Flex/examples/Flex.css +7 -7
  331. package/docs/utilities/Flex/examples/Flex.md +82 -40
  332. package/docs/utilities/Float/examples/Float.css +5 -5
  333. package/docs/utilities/Float/examples/Float.md +6 -6
  334. package/docs/utilities/Sizing/examples/Sizing.css +6 -6
  335. package/docs/utilities/Sizing/examples/Sizing.md +60 -60
  336. package/docs/utilities/Spacing/examples/Spacing.css +3 -3
  337. package/docs/utilities/Spacing/examples/Spacing.md +37 -37
  338. package/docs/utilities/Text/examples/Text.md +78 -77
  339. package/icons/pficons.mjs +6 -0
  340. package/layouts/Bullseye/bullseye.css +4 -0
  341. package/layouts/Bullseye/bullseye.scss +5 -1
  342. package/layouts/Flex/flex.css +241 -237
  343. package/layouts/Flex/flex.scss +48 -44
  344. package/layouts/Gallery/gallery.css +15 -11
  345. package/layouts/Gallery/gallery.scss +9 -5
  346. package/layouts/Grid/grid.css +20 -16
  347. package/layouts/Grid/grid.scss +12 -8
  348. package/layouts/Level/level.css +5 -1
  349. package/layouts/Level/level.scss +6 -2
  350. package/layouts/Split/split.css +5 -1
  351. package/layouts/Split/split.scss +6 -2
  352. package/layouts/Stack/stack.css +5 -1
  353. package/layouts/Stack/stack.scss +6 -2
  354. package/layouts/_index.css +3461 -0
  355. package/layouts/_index.scss +8 -0
  356. package/package.json +39 -39
  357. package/patternfly-addons.css +2071 -2648
  358. package/patternfly-addons.scss +2 -12
  359. package/patternfly-base-no-globals.css +4227 -3064
  360. package/patternfly-base-no-globals.scss +5 -3
  361. package/patternfly-base.css +4307 -3140
  362. package/patternfly-base.scss +2 -6
  363. package/patternfly-charts.css +579 -240
  364. package/patternfly-charts.scss +352 -337
  365. package/patternfly-no-globals.css +21105 -23238
  366. package/patternfly-no-globals.scss +5 -4
  367. package/patternfly.css +21209 -23338
  368. package/patternfly.min.css +1 -1
  369. package/patternfly.min.css.map +1 -1
  370. package/patternfly.scss +6 -4
  371. package/sass-utilities/_index.scss +6 -0
  372. package/sass-utilities/functions.scss +25 -25
  373. package/sass-utilities/{_init.scss → init.scss} +6 -6
  374. package/sass-utilities/mixins.scss +108 -72
  375. package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
  376. package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
  377. package/sass-utilities/scss-variables.scss +48 -261
  378. package/utilities/Accessibility/accessibility.css +15 -15
  379. package/utilities/Accessibility/accessibility.scss +8 -6
  380. package/utilities/Alignment/alignment.css +29 -29
  381. package/utilities/Alignment/alignment.scss +6 -4
  382. package/utilities/BackgroundColor/background-color.css +67 -0
  383. package/utilities/BackgroundColor/background-color.scss +16 -0
  384. package/utilities/BoxShadow/box-shadow.css +15 -39
  385. package/utilities/BoxShadow/box-shadow.scss +19 -28
  386. package/utilities/Display/display.css +43 -5
  387. package/utilities/Display/display.scss +7 -4
  388. package/utilities/Flex/flex.css +50 -50
  389. package/utilities/Flex/flex.scss +21 -20
  390. package/utilities/Float/float.css +29 -29
  391. package/utilities/Float/float.scss +6 -6
  392. package/utilities/Sizing/sizing.css +58 -58
  393. package/utilities/Sizing/sizing.scss +23 -21
  394. package/utilities/Spacing/spacing.css +1372 -1372
  395. package/utilities/Spacing/spacing.scss +6 -6
  396. package/utilities/Text/text.css +419 -662
  397. package/utilities/Text/text.scss +81 -107
  398. package/utilities/_index.css +7815 -0
  399. package/utilities/_index.scss +10 -0
  400. package/assets/fontawesome/_core.scss +0 -20
  401. package/assets/images/pf-logo-small.svg +0 -23
  402. package/assets/images/pf_logo_white.hbs +0 -35
  403. package/assets/images/pfbg-icon.svg +0 -1
  404. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  405. package/base/_base.scss +0 -2
  406. package/base/_chart-globals.scss +0 -415
  407. package/base/_common.scss +0 -50
  408. package/base/_fa-icons.scss +0 -33
  409. package/base/_fonts.scss +0 -136
  410. package/base/_icons.scss +0 -3
  411. package/base/_pficons.scss +0 -2
  412. package/base/_themes.scss +0 -43
  413. package/base/_variables.scss +0 -299
  414. package/base/patternfly-globals.css +0 -120
  415. package/base/patternfly-globals.scss +0 -2
  416. package/base/patternfly-icons.css +0 -4728
  417. package/base/patternfly-icons.scss +0 -2
  418. package/base/patternfly-themes.css +0 -82
  419. package/base/patternfly-themes.scss +0 -2
  420. package/base/themes/dark/_chart-globals.scss +0 -42
  421. package/base/themes/dark/_globals.scss +0 -5
  422. package/base/tokens/_workspace-overrides.scss +0 -7
  423. package/components/AppLauncher/app-launcher.css +0 -244
  424. package/components/AppLauncher/app-launcher.scss +0 -308
  425. package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
  426. package/components/Chip/chip-group.css +0 -93
  427. package/components/Chip/chip-group.scss +0 -98
  428. package/components/Chip/chip.css +0 -122
  429. package/components/Chip/chip.scss +0 -140
  430. package/components/Chip/themes/dark/chip.scss +0 -9
  431. package/components/ContextSelector/context-selector.css +0 -336
  432. package/components/ContextSelector/context-selector.scss +0 -384
  433. package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
  434. package/components/Dropdown/dropdown.css +0 -686
  435. package/components/Dropdown/dropdown.scss +0 -820
  436. package/components/Dropdown/themes/dark/dropdown.scss +0 -32
  437. package/components/LogViewer/log-viewer.css +0 -197
  438. package/components/LogViewer/log-viewer.scss +0 -226
  439. package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
  440. package/components/NotificationBadge/notification-badge.css +0 -87
  441. package/components/NotificationBadge/notification-badge.scss +0 -108
  442. package/components/OptionsMenu/options-menu.css +0 -279
  443. package/components/OptionsMenu/options-menu.scss +0 -332
  444. package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
  445. package/components/Select/select.css +0 -599
  446. package/components/Select/select.scss +0 -713
  447. package/components/Select/themes/dark/select.scss +0 -23
  448. package/components/_all.scss +0 -91
  449. package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
  450. package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
  451. package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
  452. package/docs/components/Chip/examples/Chip.md +0 -846
  453. package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
  454. package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
  455. package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
  456. package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
  457. package/docs/components/LogViewer/examples/LogViewer.css +0 -17
  458. package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
  459. package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
  460. package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
  461. package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
  462. package/docs/components/Page/deprecated/PageHeader.css +0 -17
  463. package/docs/components/Page/deprecated/PageHeader.md +0 -261
  464. package/docs/components/Pagination/examples/Pagination.css +0 -3
  465. package/docs/components/Select/deprecated/Select.css +0 -56
  466. package/docs/components/Select/deprecated/Select.md +0 -3525
  467. package/docs/components/Tabs/examples/Tabs.css +0 -10
  468. package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
  469. package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
  470. package/docs/demos/Page/examples/Penta.md +0 -821
  471. package/docs/utilities/Text/examples/Text.css +0 -0
  472. package/layouts/_all.scss +0 -7
  473. package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
  474. package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
  475. package/patternfly-base-theme-dark-unversioned.css +0 -6393
  476. package/patternfly-base-theme-dark-unversioned.scss +0 -5
  477. package/patternfly-charts-theme-dark-unversioned.css +0 -70
  478. package/patternfly-charts-theme-dark-unversioned.scss +0 -8
  479. package/patternfly-charts-theme-dark.css +0 -70
  480. package/patternfly-charts-theme-dark.scss +0 -8
  481. package/patternfly-theme-dark-unversioned.css +0 -35533
  482. package/patternfly-theme-dark-unversioned.scss +0 -6
  483. package/patternfly-theme-dark.css +0 -0
  484. package/patternfly-theme-dark.scss +0 -1
  485. package/sass-utilities/_all.scss +0 -9
  486. package/sass-utilities/colors.scss +0 -82
  487. package/sass-utilities/div.import.scss +0 -3
  488. package/sass-utilities/div.scss +0 -4
  489. package/sass-utilities/placeholders.scss +0 -72
  490. package/sass-utilities/themes/dark/_all.scss +0 -4
  491. package/sass-utilities/themes/dark/colors.scss +0 -16
  492. package/sass-utilities/themes/dark/mixins.scss +0 -7
  493. package/sass-utilities/themes/dark/placeholders.scss +0 -5
  494. package/sass-utilities/themes/dark/scss-variables.scss +0 -92
  495. package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
  496. package/utilities/BackgroundColor/BackgroundColor.css +0 -414
  497. package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
  498. package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
  499. package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
  500. package/utilities/Text/themes/dark/text.css +0 -0
  501. package/utilities/Text/themes/dark/text.scss +0 -33
@@ -1,846 +0,0 @@
1
- ---
2
- id: Chip
3
- section: components
4
- cssPrefix: ['pf-v6-c-chip', 'pf-v6-c-chip-group']
5
- ---## Examples
6
-
7
- ### Chip variants
8
-
9
- ```html
10
- <div class="pf-v6-c-chip">
11
- <span class="pf-v6-c-chip__content">
12
- <span class="pf-v6-c-chip__text" id="chip_one">Chip</span>
13
- </span>
14
- <span class="pf-v6-c-chip__actions">
15
- <button
16
- class="pf-v6-c-button pf-m-plain"
17
- type="button"
18
- aria-labelledby="remove_chip_one chip_one"
19
- aria-label="Remove"
20
- id="remove_chip_one"
21
- >
22
- <i class="fas fa-times" aria-hidden="true"></i>
23
- </button>
24
- </span>
25
- </div>
26
- <br />
27
- <br />
28
- <div class="pf-v6-c-chip">
29
- <span class="pf-v6-c-chip__content">
30
- <span
31
- class="pf-v6-c-chip__text"
32
- id="chip_two"
33
- >Really long chip that goes on and on</span>
34
- </span>
35
- <span class="pf-v6-c-chip__actions">
36
- <button
37
- class="pf-v6-c-button pf-m-plain"
38
- type="button"
39
- aria-labelledby="remove_chip_two chip_two"
40
- aria-label="Remove"
41
- id="remove_chip_two"
42
- >
43
- <i class="fas fa-times" aria-hidden="true"></i>
44
- </button>
45
- </span>
46
- </div>
47
- <br />
48
- <br />
49
- <div class="pf-v6-c-chip">
50
- <span class="pf-v6-c-chip__content">
51
- <span class="pf-v6-c-chip__text" id="chip_three">Chip</span>
52
- <span class="pf-v6-c-badge pf-m-read">00</span>
53
- </span>
54
- <span class="pf-v6-c-chip__actions">
55
- <button
56
- class="pf-v6-c-button pf-m-plain"
57
- type="button"
58
- aria-labelledby="remove_chip_three chip_three"
59
- aria-label="Remove"
60
- id="remove_chip_three"
61
- >
62
- <i class="fas fa-times" aria-hidden="true"></i>
63
- </button>
64
- </span>
65
- </div>
66
- <br />
67
- <br />
68
- <div class="pf-v6-c-chip">
69
- <span class="pf-v6-c-chip__content">
70
- <span class="pf-v6-c-chip__text">Read-only chip</span>
71
- </span>
72
- </div>
73
- <br />
74
- <br />
75
- <button class="pf-v6-c-chip pf-m-overflow">
76
- <span class="pf-v6-c-chip__content">
77
- <span class="pf-v6-c-chip__text">Overflow chip</span>
78
- </span>
79
- </button>
80
- <br />
81
- <br />
82
- <div class="pf-v6-c-chip pf-m-draggable">
83
- <span class="pf-v6-c-chip__content">
84
- <span class="pf-v6-c-chip__icon">
85
- <i class="fas fa-grip-vertical" role="img" aria-label="Drag"></i>
86
- </span>
87
- <span class="pf-v6-c-chip__text">Draggable chip</span>
88
- </span>
89
- </div>
90
-
91
- ```
92
-
93
- ### Simple inline chip group with overflow
94
-
95
- ```html
96
- <div
97
- class="pf-v6-c-chip-group"
98
- role="group"
99
- aria-label="simple inline chip group with overflow"
100
- >
101
- <div class="pf-v6-c-chip-group__main">
102
- <ul
103
- class="pf-v6-c-chip-group__list"
104
- role="list"
105
- aria-label="Chip group list"
106
- >
107
- <li class="pf-v6-c-chip-group__list-item">
108
- <div class="pf-v6-c-chip">
109
- <span class="pf-v6-c-chip__content">
110
- <span
111
- class="pf-v6-c-chip__text"
112
- id="simple-inline-chip-group-overflowchip_one_select_collapsed"
113
- >Chip one</span>
114
- </span>
115
- <span class="pf-v6-c-chip__actions">
116
- <button
117
- class="pf-v6-c-button pf-m-plain"
118
- type="button"
119
- aria-labelledby="simple-inline-chip-group-overflowremove_chip_one_select_collapsed simple-inline-chip-group-overflowchip_one_select_collapsed"
120
- aria-label="Remove"
121
- id="simple-inline-chip-group-overflowremove_chip_one_select_collapsed"
122
- >
123
- <i class="fas fa-times" aria-hidden="true"></i>
124
- </button>
125
- </span>
126
- </div>
127
- </li>
128
- <li class="pf-v6-c-chip-group__list-item">
129
- <div class="pf-v6-c-chip">
130
- <span class="pf-v6-c-chip__content">
131
- <span
132
- class="pf-v6-c-chip__text"
133
- id="simple-inline-chip-group-overflowchip_two_select_collapsed"
134
- >Chip two</span>
135
- </span>
136
- <span class="pf-v6-c-chip__actions">
137
- <button
138
- class="pf-v6-c-button pf-m-plain"
139
- type="button"
140
- aria-labelledby="simple-inline-chip-group-overflowremove_chip_two_select_collapsed simple-inline-chip-group-overflowchip_two_select_collapsed"
141
- aria-label="Remove"
142
- id="simple-inline-chip-group-overflowremove_chip_two_select_collapsed"
143
- >
144
- <i class="fas fa-times" aria-hidden="true"></i>
145
- </button>
146
- </span>
147
- </div>
148
- </li>
149
- <li class="pf-v6-c-chip-group__list-item">
150
- <div class="pf-v6-c-chip">
151
- <span class="pf-v6-c-chip__content">
152
- <span
153
- class="pf-v6-c-chip__text"
154
- id="simple-inline-chip-group-overflowchip_three_select_collapsed"
155
- >Chip three</span>
156
- </span>
157
- <span class="pf-v6-c-chip__actions">
158
- <button
159
- class="pf-v6-c-button pf-m-plain"
160
- type="button"
161
- aria-labelledby="simple-inline-chip-group-overflowremove_chip_three_select_collapsed simple-inline-chip-group-overflowchip_three_select_collapsed"
162
- aria-label="Remove"
163
- id="simple-inline-chip-group-overflowremove_chip_three_select_collapsed"
164
- >
165
- <i class="fas fa-times" aria-hidden="true"></i>
166
- </button>
167
- </span>
168
- </div>
169
- </li>
170
- <li class="pf-v6-c-chip-group__list-item">
171
- <button class="pf-v6-c-chip pf-m-overflow">
172
- <span class="pf-v6-c-chip__content">
173
- <span class="pf-v6-c-chip__text">2 more</span>
174
- </span>
175
- </button>
176
- </li>
177
- </ul>
178
- </div>
179
- </div>
180
-
181
- ```
182
-
183
- ### Simple inline chip group expanded
184
-
185
- ```html
186
- <div
187
- class="pf-v6-c-chip-group"
188
- role="group"
189
- aria-label="simple inline chip group expanded"
190
- >
191
- <div class="pf-v6-c-chip-group__main">
192
- <ul
193
- class="pf-v6-c-chip-group__list"
194
- role="list"
195
- aria-label="Chip group list"
196
- >
197
- <li class="pf-v6-c-chip-group__list-item">
198
- <div class="pf-v6-c-chip">
199
- <span class="pf-v6-c-chip__content">
200
- <span
201
- class="pf-v6-c-chip__text"
202
- id="simple-inline-chip-group-expandedchip_one_select"
203
- >Chip one</span>
204
- </span>
205
- <span class="pf-v6-c-chip__actions">
206
- <button
207
- class="pf-v6-c-button pf-m-plain"
208
- type="button"
209
- aria-labelledby="simple-inline-chip-group-expandedremove_chip_one_select simple-inline-chip-group-expandedchip_one_select"
210
- aria-label="Remove"
211
- id="simple-inline-chip-group-expandedremove_chip_one_select"
212
- >
213
- <i class="fas fa-times" aria-hidden="true"></i>
214
- </button>
215
- </span>
216
- </div>
217
- </li>
218
- <li class="pf-v6-c-chip-group__list-item">
219
- <div class="pf-v6-c-chip">
220
- <span class="pf-v6-c-chip__content">
221
- <span
222
- class="pf-v6-c-chip__text"
223
- id="simple-inline-chip-group-expandedchip_two_select"
224
- >Chip two</span>
225
- </span>
226
- <span class="pf-v6-c-chip__actions">
227
- <button
228
- class="pf-v6-c-button pf-m-plain"
229
- type="button"
230
- aria-labelledby="simple-inline-chip-group-expandedremove_chip_two_select simple-inline-chip-group-expandedchip_two_select"
231
- aria-label="Remove"
232
- id="simple-inline-chip-group-expandedremove_chip_two_select"
233
- >
234
- <i class="fas fa-times" aria-hidden="true"></i>
235
- </button>
236
- </span>
237
- </div>
238
- </li>
239
- <li class="pf-v6-c-chip-group__list-item">
240
- <div class="pf-v6-c-chip">
241
- <span class="pf-v6-c-chip__content">
242
- <span
243
- class="pf-v6-c-chip__text"
244
- id="simple-inline-chip-group-expandedchip_three_select"
245
- >Chip three</span>
246
- </span>
247
- <span class="pf-v6-c-chip__actions">
248
- <button
249
- class="pf-v6-c-button pf-m-plain"
250
- type="button"
251
- aria-labelledby="simple-inline-chip-group-expandedremove_chip_three_select simple-inline-chip-group-expandedchip_three_select"
252
- aria-label="Remove"
253
- id="simple-inline-chip-group-expandedremove_chip_three_select"
254
- >
255
- <i class="fas fa-times" aria-hidden="true"></i>
256
- </button>
257
- </span>
258
- </div>
259
- </li>
260
- <li class="pf-v6-c-chip-group__list-item">
261
- <div class="pf-v6-c-chip">
262
- <span class="pf-v6-c-chip__content">
263
- <span
264
- class="pf-v6-c-chip__text"
265
- id="simple-inline-chip-group-expandedchip_four_select"
266
- >Chip four</span>
267
- </span>
268
- <span class="pf-v6-c-chip__actions">
269
- <button
270
- class="pf-v6-c-button pf-m-plain"
271
- type="button"
272
- aria-labelledby="simple-inline-chip-group-expandedremove_chip_four_select simple-inline-chip-group-expandedchip_four_select"
273
- aria-label="Remove"
274
- id="simple-inline-chip-group-expandedremove_chip_four_select"
275
- >
276
- <i class="fas fa-times" aria-hidden="true"></i>
277
- </button>
278
- </span>
279
- </div>
280
- </li>
281
- <li class="pf-v6-c-chip-group__list-item">
282
- <div class="pf-v6-c-chip">
283
- <span class="pf-v6-c-chip__content">
284
- <span
285
- class="pf-v6-c-chip__text"
286
- id="simple-inline-chip-group-expandedchip_five_select"
287
- >Chip five</span>
288
- </span>
289
- <span class="pf-v6-c-chip__actions">
290
- <button
291
- class="pf-v6-c-button pf-m-plain"
292
- type="button"
293
- aria-labelledby="simple-inline-chip-group-expandedremove_chip_five_select simple-inline-chip-group-expandedchip_five_select"
294
- aria-label="Remove"
295
- id="simple-inline-chip-group-expandedremove_chip_five_select"
296
- >
297
- <i class="fas fa-times" aria-hidden="true"></i>
298
- </button>
299
- </span>
300
- </div>
301
- </li>
302
- <li class="pf-v6-c-chip-group__list-item">
303
- <button class="pf-v6-c-chip pf-m-overflow">
304
- <span class="pf-v6-c-chip__content">
305
- <span class="pf-v6-c-chip__text">Show less</span>
306
- </span>
307
- </button>
308
- </li>
309
- </ul>
310
- </div>
311
- </div>
312
-
313
- ```
314
-
315
- ### Chip group with categories
316
-
317
- ```html
318
- <div
319
- class="pf-v6-c-chip-group pf-m-category"
320
- role="group"
321
- aria-labelledby="chip-group-with-categories-label"
322
- >
323
- <div class="pf-v6-c-chip-group__main">
324
- <span
325
- class="pf-v6-c-chip-group__label"
326
- id="chip-group-with-categories-label"
327
- >Category one</span>
328
- <ul
329
- class="pf-v6-c-chip-group__list"
330
- role="list"
331
- aria-labelledby="chip-group-with-categories-label"
332
- >
333
- <li class="pf-v6-c-chip-group__list-item">
334
- <div class="pf-v6-c-chip">
335
- <span class="pf-v6-c-chip__content">
336
- <span
337
- class="pf-v6-c-chip__text"
338
- id="chip-group-with-categorieschip_one_toolbar_collapsed"
339
- >Chip one</span>
340
- </span>
341
- <span class="pf-v6-c-chip__actions">
342
- <button
343
- class="pf-v6-c-button pf-m-plain"
344
- type="button"
345
- aria-labelledby="chip-group-with-categoriesremove_chip_one_toolbar_collapsed chip-group-with-categorieschip_one_toolbar_collapsed"
346
- aria-label="Remove"
347
- id="chip-group-with-categoriesremove_chip_one_toolbar_collapsed"
348
- >
349
- <i class="fas fa-times" aria-hidden="true"></i>
350
- </button>
351
- </span>
352
- </div>
353
- </li>
354
- <li class="pf-v6-c-chip-group__list-item">
355
- <div class="pf-v6-c-chip">
356
- <span class="pf-v6-c-chip__content">
357
- <span
358
- class="pf-v6-c-chip__text"
359
- id="chip-group-with-categorieschip_two_toolbar_collapsed"
360
- >Chip two</span>
361
- </span>
362
- <span class="pf-v6-c-chip__actions">
363
- <button
364
- class="pf-v6-c-button pf-m-plain"
365
- type="button"
366
- aria-labelledby="chip-group-with-categoriesremove_chip_two_toolbar_collapsed chip-group-with-categorieschip_two_toolbar_collapsed"
367
- aria-label="Remove"
368
- id="chip-group-with-categoriesremove_chip_two_toolbar_collapsed"
369
- >
370
- <i class="fas fa-times" aria-hidden="true"></i>
371
- </button>
372
- </span>
373
- </div>
374
- </li>
375
- <li class="pf-v6-c-chip-group__list-item">
376
- <div class="pf-v6-c-chip">
377
- <span class="pf-v6-c-chip__content">
378
- <span
379
- class="pf-v6-c-chip__text"
380
- id="chip-group-with-categorieschip_three_toolbar_collapsed"
381
- >Chip three</span>
382
- </span>
383
- <span class="pf-v6-c-chip__actions">
384
- <button
385
- class="pf-v6-c-button pf-m-plain"
386
- type="button"
387
- aria-labelledby="chip-group-with-categoriesremove_chip_three_toolbar_collapsed chip-group-with-categorieschip_three_toolbar_collapsed"
388
- aria-label="Remove"
389
- id="chip-group-with-categoriesremove_chip_three_toolbar_collapsed"
390
- >
391
- <i class="fas fa-times" aria-hidden="true"></i>
392
- </button>
393
- </span>
394
- </div>
395
- </li>
396
- </ul>
397
- </div>
398
- </div>
399
-
400
- ```
401
-
402
- ### Chip group with categories and overflow
403
-
404
- ```html
405
- <div
406
- class="pf-v6-c-chip-group pf-m-category"
407
- role="group"
408
- aria-labelledby="chip-group-with-categories-overflow-label"
409
- >
410
- <div class="pf-v6-c-chip-group__main">
411
- <span
412
- class="pf-v6-c-chip-group__label"
413
- id="chip-group-with-categories-overflow-label"
414
- >Category one</span>
415
- <ul
416
- class="pf-v6-c-chip-group__list"
417
- role="list"
418
- aria-labelledby="chip-group-with-categories-overflow-label"
419
- >
420
- <li class="pf-v6-c-chip-group__list-item">
421
- <div class="pf-v6-c-chip">
422
- <span class="pf-v6-c-chip__content">
423
- <span
424
- class="pf-v6-c-chip__text"
425
- id="chip-group-with-categories-overflowchip_one_toolbar_collapsed"
426
- >Chip one</span>
427
- </span>
428
- <span class="pf-v6-c-chip__actions">
429
- <button
430
- class="pf-v6-c-button pf-m-plain"
431
- type="button"
432
- aria-labelledby="chip-group-with-categories-overflowremove_chip_one_toolbar_collapsed chip-group-with-categories-overflowchip_one_toolbar_collapsed"
433
- aria-label="Remove"
434
- id="chip-group-with-categories-overflowremove_chip_one_toolbar_collapsed"
435
- >
436
- <i class="fas fa-times" aria-hidden="true"></i>
437
- </button>
438
- </span>
439
- </div>
440
- </li>
441
- <li class="pf-v6-c-chip-group__list-item">
442
- <div class="pf-v6-c-chip">
443
- <span class="pf-v6-c-chip__content">
444
- <span
445
- class="pf-v6-c-chip__text"
446
- id="chip-group-with-categories-overflowchip_two_toolbar_collapsed"
447
- >Chip two</span>
448
- </span>
449
- <span class="pf-v6-c-chip__actions">
450
- <button
451
- class="pf-v6-c-button pf-m-plain"
452
- type="button"
453
- aria-labelledby="chip-group-with-categories-overflowremove_chip_two_toolbar_collapsed chip-group-with-categories-overflowchip_two_toolbar_collapsed"
454
- aria-label="Remove"
455
- id="chip-group-with-categories-overflowremove_chip_two_toolbar_collapsed"
456
- >
457
- <i class="fas fa-times" aria-hidden="true"></i>
458
- </button>
459
- </span>
460
- </div>
461
- </li>
462
- <li class="pf-v6-c-chip-group__list-item">
463
- <div class="pf-v6-c-chip">
464
- <span class="pf-v6-c-chip__content">
465
- <span
466
- class="pf-v6-c-chip__text"
467
- id="chip-group-with-categories-overflowchip_three_toolbar_collapsed"
468
- >Chip three</span>
469
- </span>
470
- <span class="pf-v6-c-chip__actions">
471
- <button
472
- class="pf-v6-c-button pf-m-plain"
473
- type="button"
474
- aria-labelledby="chip-group-with-categories-overflowremove_chip_three_toolbar_collapsed chip-group-with-categories-overflowchip_three_toolbar_collapsed"
475
- aria-label="Remove"
476
- id="chip-group-with-categories-overflowremove_chip_three_toolbar_collapsed"
477
- >
478
- <i class="fas fa-times" aria-hidden="true"></i>
479
- </button>
480
- </span>
481
- </div>
482
- </li>
483
- <li class="pf-v6-c-chip-group__list-item">
484
- <button class="pf-v6-c-chip pf-m-overflow">
485
- <span class="pf-v6-c-chip__content">
486
- <span class="pf-v6-c-chip__text">2 more</span>
487
- </span>
488
- </button>
489
- </li>
490
- </ul>
491
- </div>
492
- </div>
493
-
494
- ```
495
-
496
- ### Chip group with categories and overflow expanded
497
-
498
- ```html
499
- <div
500
- class="pf-v6-c-chip-group pf-m-category"
501
- role="group"
502
- aria-labelledby="chip-group-with-categories-overflow-expanded-label"
503
- >
504
- <div class="pf-v6-c-chip-group__main">
505
- <span
506
- class="pf-v6-c-chip-group__label"
507
- id="chip-group-with-categories-overflow-expanded-label"
508
- >Category one</span>
509
- <ul
510
- class="pf-v6-c-chip-group__list"
511
- role="list"
512
- aria-labelledby="chip-group-with-categories-overflow-expanded-label"
513
- >
514
- <li class="pf-v6-c-chip-group__list-item">
515
- <div class="pf-v6-c-chip">
516
- <span class="pf-v6-c-chip__content">
517
- <span
518
- class="pf-v6-c-chip__text"
519
- id="chip-group-with-categories-overflow-expandedchip_one_toolbar"
520
- >Chip one</span>
521
- </span>
522
- <span class="pf-v6-c-chip__actions">
523
- <button
524
- class="pf-v6-c-button pf-m-plain"
525
- type="button"
526
- aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_one_toolbar chip-group-with-categories-overflow-expandedchip_one_toolbar"
527
- aria-label="Remove"
528
- id="chip-group-with-categories-overflow-expandedremove_chip_one_toolbar"
529
- >
530
- <i class="fas fa-times" aria-hidden="true"></i>
531
- </button>
532
- </span>
533
- </div>
534
- </li>
535
- <li class="pf-v6-c-chip-group__list-item">
536
- <div class="pf-v6-c-chip">
537
- <span class="pf-v6-c-chip__content">
538
- <span
539
- class="pf-v6-c-chip__text"
540
- id="chip-group-with-categories-overflow-expandedchip_two_toolbar"
541
- >Chip two</span>
542
- </span>
543
- <span class="pf-v6-c-chip__actions">
544
- <button
545
- class="pf-v6-c-button pf-m-plain"
546
- type="button"
547
- aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_two_toolbar chip-group-with-categories-overflow-expandedchip_two_toolbar"
548
- aria-label="Remove"
549
- id="chip-group-with-categories-overflow-expandedremove_chip_two_toolbar"
550
- >
551
- <i class="fas fa-times" aria-hidden="true"></i>
552
- </button>
553
- </span>
554
- </div>
555
- </li>
556
- <li class="pf-v6-c-chip-group__list-item">
557
- <div class="pf-v6-c-chip">
558
- <span class="pf-v6-c-chip__content">
559
- <span
560
- class="pf-v6-c-chip__text"
561
- id="chip-group-with-categories-overflow-expandedchip_three_toolbar"
562
- >Chip three</span>
563
- </span>
564
- <span class="pf-v6-c-chip__actions">
565
- <button
566
- class="pf-v6-c-button pf-m-plain"
567
- type="button"
568
- aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_three_toolbar chip-group-with-categories-overflow-expandedchip_three_toolbar"
569
- aria-label="Remove"
570
- id="chip-group-with-categories-overflow-expandedremove_chip_three_toolbar"
571
- >
572
- <i class="fas fa-times" aria-hidden="true"></i>
573
- </button>
574
- </span>
575
- </div>
576
- </li>
577
- <li class="pf-v6-c-chip-group__list-item">
578
- <div class="pf-v6-c-chip">
579
- <span class="pf-v6-c-chip__content">
580
- <span
581
- class="pf-v6-c-chip__text"
582
- id="chip-group-with-categories-overflow-expandedchip_four_toolbar"
583
- >Chip four</span>
584
- </span>
585
- <span class="pf-v6-c-chip__actions">
586
- <button
587
- class="pf-v6-c-button pf-m-plain"
588
- type="button"
589
- aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_four_toolbar chip-group-with-categories-overflow-expandedchip_four_toolbar"
590
- aria-label="Remove"
591
- id="chip-group-with-categories-overflow-expandedremove_chip_four_toolbar"
592
- >
593
- <i class="fas fa-times" aria-hidden="true"></i>
594
- </button>
595
- </span>
596
- </div>
597
- </li>
598
- <li class="pf-v6-c-chip-group__list-item">
599
- <div class="pf-v6-c-chip">
600
- <span class="pf-v6-c-chip__content">
601
- <span
602
- class="pf-v6-c-chip__text"
603
- id="chip-group-with-categories-overflow-expandedchip_five_select"
604
- >Chip five</span>
605
- </span>
606
- <span class="pf-v6-c-chip__actions">
607
- <button
608
- class="pf-v6-c-button pf-m-plain"
609
- type="button"
610
- aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_five_select chip-group-with-categories-overflow-expandedchip_five_select"
611
- aria-label="Remove"
612
- id="chip-group-with-categories-overflow-expandedremove_chip_five_select"
613
- >
614
- <i class="fas fa-times" aria-hidden="true"></i>
615
- </button>
616
- </span>
617
- </div>
618
- </li>
619
- <li class="pf-v6-c-chip-group__list-item">
620
- <button class="pf-v6-c-chip pf-m-overflow">
621
- <span class="pf-v6-c-chip__content">
622
- <span class="pf-v6-c-chip__text">Show less</span>
623
- </span>
624
- </button>
625
- </li>
626
- </ul>
627
- </div>
628
- </div>
629
-
630
- ```
631
-
632
- ### Chip group with removable categories
633
-
634
- ```html
635
- <div
636
- class="pf-v6-c-chip-group pf-m-category"
637
- role="group"
638
- aria-labelledby="chip-group-with-categories-removable-label"
639
- >
640
- <div class="pf-v6-c-chip-group__main">
641
- <span
642
- class="pf-v6-c-chip-group__label"
643
- id="chip-group-with-categories-removable-label"
644
- >Category one</span>
645
- <ul
646
- class="pf-v6-c-chip-group__list"
647
- role="list"
648
- aria-labelledby="chip-group-with-categories-removable-label"
649
- >
650
- <li class="pf-v6-c-chip-group__list-item">
651
- <div class="pf-v6-c-chip">
652
- <span class="pf-v6-c-chip__content">
653
- <span
654
- class="pf-v6-c-chip__text"
655
- id="chip-group-with-categories-removablechip_one_toolbar"
656
- >Chip one</span>
657
- </span>
658
- <span class="pf-v6-c-chip__actions">
659
- <button
660
- class="pf-v6-c-button pf-m-plain"
661
- type="button"
662
- aria-labelledby="chip-group-with-categories-removableremove_chip_one_toolbar chip-group-with-categories-removablechip_one_toolbar"
663
- aria-label="Remove"
664
- id="chip-group-with-categories-removableremove_chip_one_toolbar"
665
- >
666
- <i class="fas fa-times" aria-hidden="true"></i>
667
- </button>
668
- </span>
669
- </div>
670
- </li>
671
- <li class="pf-v6-c-chip-group__list-item">
672
- <div class="pf-v6-c-chip">
673
- <span class="pf-v6-c-chip__content">
674
- <span
675
- class="pf-v6-c-chip__text"
676
- id="chip-group-with-categories-removablechip_two_toolbar"
677
- >Chip two</span>
678
- </span>
679
- <span class="pf-v6-c-chip__actions">
680
- <button
681
- class="pf-v6-c-button pf-m-plain"
682
- type="button"
683
- aria-labelledby="chip-group-with-categories-removableremove_chip_two_toolbar chip-group-with-categories-removablechip_two_toolbar"
684
- aria-label="Remove"
685
- id="chip-group-with-categories-removableremove_chip_two_toolbar"
686
- >
687
- <i class="fas fa-times" aria-hidden="true"></i>
688
- </button>
689
- </span>
690
- </div>
691
- </li>
692
- <li class="pf-v6-c-chip-group__list-item">
693
- <div class="pf-v6-c-chip">
694
- <span class="pf-v6-c-chip__content">
695
- <span
696
- class="pf-v6-c-chip__text"
697
- id="chip-group-with-categories-removablechip_three_toolbar"
698
- >Chip three</span>
699
- </span>
700
- <span class="pf-v6-c-chip__actions">
701
- <button
702
- class="pf-v6-c-button pf-m-plain"
703
- type="button"
704
- aria-labelledby="chip-group-with-categories-removableremove_chip_three_toolbar chip-group-with-categories-removablechip_three_toolbar"
705
- aria-label="Remove"
706
- id="chip-group-with-categories-removableremove_chip_three_toolbar"
707
- >
708
- <i class="fas fa-times" aria-hidden="true"></i>
709
- </button>
710
- </span>
711
- </div>
712
- </li>
713
- <li class="pf-v6-c-chip-group__list-item">
714
- <div class="pf-v6-c-chip">
715
- <span class="pf-v6-c-chip__content">
716
- <span
717
- class="pf-v6-c-chip__text"
718
- id="chip-group-with-categories-removablechip_four_toolbar"
719
- >Chip four</span>
720
- </span>
721
- <span class="pf-v6-c-chip__actions">
722
- <button
723
- class="pf-v6-c-button pf-m-plain"
724
- type="button"
725
- aria-labelledby="chip-group-with-categories-removableremove_chip_four_toolbar chip-group-with-categories-removablechip_four_toolbar"
726
- aria-label="Remove"
727
- id="chip-group-with-categories-removableremove_chip_four_toolbar"
728
- >
729
- <i class="fas fa-times" aria-hidden="true"></i>
730
- </button>
731
- </span>
732
- </div>
733
- </li>
734
- <li class="pf-v6-c-chip-group__list-item">
735
- <div class="pf-v6-c-chip">
736
- <span class="pf-v6-c-chip__content">
737
- <span
738
- class="pf-v6-c-chip__text"
739
- id="chip-group-with-categories-removablechip_five_toolbar"
740
- >Chip five</span>
741
- </span>
742
- <span class="pf-v6-c-chip__actions">
743
- <button
744
- class="pf-v6-c-button pf-m-plain"
745
- type="button"
746
- aria-labelledby="chip-group-with-categories-removableremove_chip_five_toolbar chip-group-with-categories-removablechip_five_toolbar"
747
- aria-label="Remove"
748
- id="chip-group-with-categories-removableremove_chip_five_toolbar"
749
- >
750
- <i class="fas fa-times" aria-hidden="true"></i>
751
- </button>
752
- </span>
753
- </div>
754
- </li>
755
- <li class="pf-v6-c-chip-group__list-item">
756
- <div class="pf-v6-c-chip">
757
- <span class="pf-v6-c-chip__content">
758
- <span
759
- class="pf-v6-c-chip__text"
760
- id="chip-group-with-categories-removablechip_six_toolbar"
761
- >Chip six</span>
762
- </span>
763
- <span class="pf-v6-c-chip__actions">
764
- <button
765
- class="pf-v6-c-button pf-m-plain"
766
- type="button"
767
- aria-labelledby="chip-group-with-categories-removableremove_chip_six_toolbar chip-group-with-categories-removablechip_six_toolbar"
768
- aria-label="Remove"
769
- id="chip-group-with-categories-removableremove_chip_six_toolbar"
770
- >
771
- <i class="fas fa-times" aria-hidden="true"></i>
772
- </button>
773
- </span>
774
- </div>
775
- </li>
776
- </ul>
777
- </div>
778
- <div class="pf-v6-c-chip-group__close">
779
- <button
780
- class="pf-v6-c-button pf-m-plain"
781
- type="button"
782
- aria-labelledby="chip-group-with-categories-removable-button chip-group-with-categories-removable-label"
783
- aria-label="Close chip group"
784
- id="chip-group-with-categories-removable-button"
785
- >
786
- <i class="fas fa-times-circle" aria-hidden="true"></i>
787
- </button>
788
- </div>
789
- </div>
790
-
791
- ```
792
-
793
- ## Documentation
794
-
795
- ### Chip overview
796
-
797
- A Chip is used to display items that have been filtered or selected from a larger group. They comprise of a text element and a button component that is used to remove the chip from selection. When the text overflows it is truncated using ellipses. A chip can be grouped by using the "chip-group" component.
798
-
799
- ### Chip accessibility
800
-
801
- | Attribute | Applied to | Outcome |
802
- | -- | -- | -- |
803
- | `aria-label="[button label text]"` | `.pf-v6-c-button` | Provides an accessible name for the button when an icon is used instead of text. Required when an icon is used with no supporting text. |
804
- | `aria-labelledby="[id value of .pf-v6-c-button]"` | `.pf-v6-c-button` | Gives the button an accessible name by referring to the element that provides the position of the button within a list. Required when the button is being removed. |
805
- | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
806
-
807
- ### Chip usage
808
-
809
- | Class | Applied to | Outcome |
810
- | -- | -- | -- |
811
- | `.pf-v6-c-chip` | `<div>`, `<button>`, | Initiates the chip component. Use a `<button>` with overflow chips **Required** |
812
- | `.pf-v6-c-chip__content` | `<span>` | Creates a content wrapper for the chip. **Required** |
813
- | `.pf-v6-c-chip__text` | `<span>` | Initiates the text inside the chip. **Required** |
814
- | `.pf-v6-c-chip__icon` | `<span>` | Initiates the icon inside the chip. |
815
- | `.pf-v6-c-chip__actions` | `<span>` | Creates a wrapper for chip actions. **Required for removable chips** |
816
- | `.pf-m-overflow` | `button.pf-v6-c-chip` | Applies styling of the overflow chip. |
817
- | `.pf-m-draggable` | `.pf-v6-c-chip` | Modifies the chip to be in the draggable state. |
818
-
819
- ### Chip group overview
820
-
821
- A chip group is constrained to the width of its container and will wrap when it exceeds that width. An overflow value can be set and when the number of chips exceeds that value, additional chips will be hidden by default. The default overflow value will be set to 3 chips but this can be adjusted per application needs. The toggle button after the last chip allows the group to be expanded (or collapsed).
822
-
823
- If you want to create sub-groupings of chips to represent multiple values applied against the same category, chips can be grouped by category. This can be useful in filtering use cases, for example, where you want all items that match more than one value of the same attribute, e.g., ‘status = down OR needs maintenance’.
824
-
825
- The chip group requires the [chip component](#chip-overview). **All single chip accessibility and usage requirements apply.**
826
-
827
- ### Chip group accessibility
828
-
829
- | Attributes for closable chip group button | Applied to | Outcome |
830
- | -- | -- | -- |
831
- | `role="list"` | `.pf-v6-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-v6-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list properly. **Required** |
832
- | `aria-label="[button label text]"` | `.pf-v6-c-chip-group__close > button` | Provides an accessible name for a chip group close when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
833
- | `aria-labelledby="[id value of .pf-v6-c-chip-group__close > button] [id value of .pf-v6-c-chip-group__label]"` | `.pf-v6-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
834
-
835
- ### Chip group usage
836
-
837
- | Class | Applied to | Outcome |
838
- | -- | -- | -- |
839
- | `.pf-v6-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
840
- | `.pf-v6-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
841
- | `.pf-v6-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
842
- | `.pf-v6-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
843
- | `.pf-v6-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
844
- | `.pf-v6-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. **Required** |
845
- | `.pf-v6-c-button` | `.pf-v6-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
846
- | `.pf-m-category` | `.pf-v6-c-chip-group` | Modifies the chip group to support category styling. |