@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.71

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 (382) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/README.md +13 -3
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/images/PF-Backdrop.svg +1 -0
  5. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  6. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  7. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  8. package/assets/images/PF-IconLogo-color.svg +17 -0
  9. package/assets/images/PF-IconLogo.svg +17 -0
  10. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  11. package/assets/images/pf-background.svg +22 -0
  12. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  13. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  14. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  15. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  16. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  17. package/assets/images/pf_logo_white.hbs +35 -0
  18. package/assets/images/pf_logo_white.svg +38 -0
  19. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  20. package/assets/pficon/pficon.scss +6 -129
  21. package/base/_common.scss +29 -4
  22. package/base/_globals.scss +5 -7
  23. package/base/_variables.scss +8 -6
  24. package/base/patternfly-common.css +24 -6
  25. package/base/patternfly-globals.css +5 -4
  26. package/base/patternfly-icons.css +5 -1
  27. package/base/patternfly-pf-icons.css +5 -1
  28. package/base/patternfly-variables.css +859 -833
  29. package/base/tokens/_tokens-dark.scss +306 -284
  30. package/base/tokens/_tokens-default.scss +415 -329
  31. package/base/tokens/_tokens-font.scss +41 -46
  32. package/base/tokens/_tokens-palette.scss +68 -68
  33. package/base/tokens/_workspace-overrides.scss +7 -0
  34. package/components/AboutModalBox/about-modal-box.css +78 -104
  35. package/components/AboutModalBox/about-modal-box.scss +62 -74
  36. package/components/Accordion/accordion.css +96 -175
  37. package/components/Accordion/accordion.scss +106 -193
  38. package/components/ActionList/action-list.css +18 -17
  39. package/components/ActionList/action-list.scss +26 -16
  40. package/components/Alert/alert-group.css +27 -20
  41. package/components/Alert/alert-group.scss +27 -20
  42. package/components/Alert/alert.css +74 -95
  43. package/components/Alert/alert.scss +76 -89
  44. package/components/AppLauncher/app-launcher.css +32 -23
  45. package/components/AppLauncher/app-launcher.scss +32 -23
  46. package/components/Avatar/avatar.css +10 -13
  47. package/components/Avatar/avatar.scss +10 -17
  48. package/components/BackToTop/back-to-top.css +17 -16
  49. package/components/BackToTop/back-to-top.scss +14 -14
  50. package/components/Backdrop/backdrop.css +8 -4
  51. package/components/Backdrop/backdrop.scss +7 -4
  52. package/components/BackgroundImage/background-image.css +11 -4
  53. package/components/BackgroundImage/background-image.scss +13 -4
  54. package/components/Badge/badge.css +25 -17
  55. package/components/Badge/badge.scss +27 -19
  56. package/components/Banner/banner.css +95 -69
  57. package/components/Banner/banner.scss +100 -34
  58. package/components/Breadcrumb/breadcrumb.css +28 -19
  59. package/components/Breadcrumb/breadcrumb.scss +26 -19
  60. package/components/Button/button.css +437 -359
  61. package/components/Button/button.scss +495 -483
  62. package/components/CalendarMonth/calendar-month.css +25 -15
  63. package/components/CalendarMonth/calendar-month.scss +23 -15
  64. package/components/Card/card.css +117 -203
  65. package/components/Card/card.scss +137 -246
  66. package/components/Check/check.css +25 -22
  67. package/components/Check/check.scss +26 -24
  68. package/components/Chip/chip-group.css +6 -6
  69. package/components/Chip/chip-group.scss +6 -6
  70. package/components/Chip/chip.css +16 -9
  71. package/components/Chip/chip.scss +17 -9
  72. package/components/ClipboardCopy/clipboard-copy.css +47 -41
  73. package/components/ClipboardCopy/clipboard-copy.scss +50 -34
  74. package/components/CodeBlock/code-block.css +24 -12
  75. package/components/CodeBlock/code-block.scss +24 -13
  76. package/components/CodeEditor/code-editor.css +31 -22
  77. package/components/CodeEditor/code-editor.scss +30 -21
  78. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  79. package/components/Content/content.css +40 -37
  80. package/components/Content/content.scss +40 -37
  81. package/components/ContextSelector/context-selector.css +41 -26
  82. package/components/ContextSelector/context-selector.scss +40 -25
  83. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  84. package/components/DataList/data-list-grid.css +21 -21
  85. package/components/DataList/data-list-grid.scss +3 -3
  86. package/components/DataList/data-list.css +165 -209
  87. package/components/DataList/data-list.scss +138 -185
  88. package/components/DatePicker/date-picker.css +8 -8
  89. package/components/DatePicker/date-picker.scss +8 -8
  90. package/components/DescriptionList/description-list.css +47 -39
  91. package/components/DescriptionList/description-list.scss +33 -30
  92. package/components/Divider/divider.css +97 -177
  93. package/components/Divider/divider.scss +60 -79
  94. package/components/DragDrop/drag-drop.css +26 -22
  95. package/components/DragDrop/drag-drop.scss +26 -25
  96. package/components/Drawer/drawer.css +216 -158
  97. package/components/Drawer/drawer.scss +199 -150
  98. package/components/Dropdown/dropdown.css +76 -69
  99. package/components/Dropdown/dropdown.scss +67 -62
  100. package/components/DualListSelector/dual-list-selector.css +29 -15
  101. package/components/DualListSelector/dual-list-selector.scss +30 -15
  102. package/components/EmptyState/empty-state.css +64 -38
  103. package/components/EmptyState/empty-state.scss +70 -38
  104. package/components/ExpandableSection/expandable-section.css +75 -66
  105. package/components/ExpandableSection/expandable-section.scss +82 -80
  106. package/components/FileUpload/file-upload.css +31 -43
  107. package/components/FileUpload/file-upload.scss +31 -49
  108. package/components/Form/form.css +111 -154
  109. package/components/Form/form.scss +101 -160
  110. package/components/FormControl/form-control.css +95 -111
  111. package/components/FormControl/form-control.scss +97 -92
  112. package/components/HelperText/helper-text.css +29 -35
  113. package/components/HelperText/helper-text.scss +31 -41
  114. package/components/Hint/hint.css +37 -27
  115. package/components/Hint/hint.scss +37 -30
  116. package/components/Icon/icon.css +155 -19
  117. package/components/Icon/icon.scss +188 -21
  118. package/components/InlineEdit/inline-edit.css +12 -11
  119. package/components/InlineEdit/inline-edit.scss +12 -11
  120. package/components/InputGroup/input-group.css +32 -42
  121. package/components/InputGroup/input-group.scss +31 -33
  122. package/components/JumpLinks/jump-links.css +61 -58
  123. package/components/JumpLinks/jump-links.scss +61 -60
  124. package/components/Label/label-group.css +48 -50
  125. package/components/Label/label-group.scss +48 -51
  126. package/components/Label/label.css +382 -363
  127. package/components/Label/label.scss +441 -356
  128. package/components/List/list.css +25 -25
  129. package/components/List/list.scss +26 -26
  130. package/components/LogViewer/log-viewer.css +14 -14
  131. package/components/LogViewer/log-viewer.scss +14 -14
  132. package/components/Login/login.css +104 -122
  133. package/components/Login/login.scss +92 -91
  134. package/components/Masthead/masthead.css +262 -506
  135. package/components/Masthead/masthead.scss +123 -289
  136. package/components/Menu/menu.css +82 -65
  137. package/components/Menu/menu.scss +85 -69
  138. package/components/MenuToggle/menu-toggle.css +37 -31
  139. package/components/MenuToggle/menu-toggle.scss +37 -33
  140. package/components/ModalBox/modal-box.css +76 -69
  141. package/components/ModalBox/modal-box.scss +74 -70
  142. package/components/MultipleFileUpload/multiple-file-upload.css +87 -57
  143. package/components/MultipleFileUpload/multiple-file-upload.scss +92 -60
  144. package/components/Nav/nav.css +248 -899
  145. package/components/Nav/nav.scss +304 -1059
  146. package/components/Nav/themes/dark/nav.scss +2 -2
  147. package/components/NotificationBadge/notification-badge.css +66 -85
  148. package/components/NotificationBadge/notification-badge.scss +72 -103
  149. package/components/NotificationDrawer/notification-drawer.css +130 -128
  150. package/components/NotificationDrawer/notification-drawer.scss +130 -129
  151. package/components/NumberInput/number-input.css +10 -10
  152. package/components/NumberInput/number-input.scss +9 -14
  153. package/components/OptionsMenu/options-menu.css +43 -31
  154. package/components/OptionsMenu/options-menu.scss +43 -31
  155. package/components/OverflowMenu/overflow-menu.css +17 -47
  156. package/components/OverflowMenu/overflow-menu.scss +27 -65
  157. package/components/Page/page.css +182 -232
  158. package/components/Page/page.scss +130 -195
  159. package/components/Pagination/pagination.css +74 -121
  160. package/components/Pagination/pagination.scss +55 -125
  161. package/components/Panel/panel.css +40 -30
  162. package/components/Panel/panel.scss +42 -33
  163. package/components/Popover/popover.css +108 -87
  164. package/components/Popover/popover.scss +120 -109
  165. package/components/Progress/progress.css +40 -52
  166. package/components/Progress/progress.scss +48 -62
  167. package/components/ProgressStepper/progress-stepper.css +98 -89
  168. package/components/ProgressStepper/progress-stepper.scss +90 -84
  169. package/components/Radio/radio.css +30 -23
  170. package/components/Radio/radio.scss +31 -25
  171. package/components/Select/select.css +56 -47
  172. package/components/Select/select.scss +56 -47
  173. package/components/Sidebar/sidebar.css +31 -14
  174. package/components/Sidebar/sidebar.scss +34 -16
  175. package/components/SimpleList/simple-list.css +45 -56
  176. package/components/SimpleList/simple-list.scss +51 -55
  177. package/components/Skeleton/skeleton.css +24 -25
  178. package/components/Skeleton/skeleton.scss +21 -26
  179. package/components/SkipToContent/skip-to-content.css +9 -6
  180. package/components/SkipToContent/skip-to-content.scss +8 -6
  181. package/components/Slider/slider.css +80 -55
  182. package/components/Slider/slider.scss +96 -65
  183. package/components/Spinner/spinner.css +17 -34
  184. package/components/Spinner/spinner.scss +19 -47
  185. package/components/Switch/switch.css +49 -41
  186. package/components/Switch/switch.scss +51 -42
  187. package/components/TabContent/tab-content.css +21 -12
  188. package/components/TabContent/tab-content.scss +22 -15
  189. package/components/Table/table-grid.css +256 -195
  190. package/components/Table/table-grid.scss +53 -39
  191. package/components/Table/table-scrollable.css +4 -4
  192. package/components/Table/table-scrollable.scss +6 -4
  193. package/components/Table/table-tree-view.css +112 -105
  194. package/components/Table/table-tree-view.scss +38 -33
  195. package/components/Table/table.css +105 -89
  196. package/components/Table/table.scss +105 -89
  197. package/components/Tabs/tabs.css +210 -214
  198. package/components/Tabs/tabs.scss +222 -254
  199. package/components/TextInputGroup/text-input-group.css +15 -15
  200. package/components/TextInputGroup/text-input-group.scss +15 -15
  201. package/components/Tile/tile.css +47 -88
  202. package/components/Tile/tile.scss +45 -91
  203. package/components/Timestamp/timestamp.css +12 -9
  204. package/components/Timestamp/timestamp.scss +11 -10
  205. package/components/Title/title.css +70 -19
  206. package/components/Title/title.scss +90 -20
  207. package/components/ToggleGroup/toggle-group.css +68 -59
  208. package/components/ToggleGroup/toggle-group.scss +72 -57
  209. package/components/Toolbar/toolbar.css +2553 -1054
  210. package/components/Toolbar/toolbar.scss +234 -516
  211. package/components/Tooltip/tooltip.css +74 -44
  212. package/components/Tooltip/tooltip.scss +93 -77
  213. package/components/TreeView/tree-view.css +48 -27
  214. package/components/TreeView/tree-view.scss +50 -28
  215. package/components/Truncate/truncate.css +13 -0
  216. package/components/Truncate/truncate.scss +19 -3
  217. package/components/Wizard/wizard.css +57 -36
  218. package/components/Wizard/wizard.scss +57 -36
  219. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  220. package/docs/components/Accordion/examples/Accordion.md +614 -416
  221. package/docs/components/ActionList/examples/ActionList.md +73 -22
  222. package/docs/components/Alert/examples/Alert.md +3 -3
  223. package/docs/components/Avatar/examples/Avatar.md +5 -19
  224. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  225. package/docs/components/Badge/examples/Badge.md +21 -0
  226. package/docs/components/Banner/examples/Banner.md +48 -25
  227. package/docs/components/Brand/examples/Brand.css +12 -0
  228. package/docs/components/Brand/examples/Brand.md +51 -32
  229. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  230. package/docs/components/Button/examples/Button.css +6 -2
  231. package/docs/components/Button/examples/Button.md +1425 -87
  232. package/docs/components/Card/examples/Card.md +565 -148
  233. package/docs/components/Check/examples/Check.md +71 -58
  234. package/docs/components/Chip/examples/Chip.md +1 -1
  235. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  236. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  237. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  238. package/docs/components/Content/examples/Content.md +5 -5
  239. package/docs/components/Divider/examples/Divider.css +3 -1
  240. package/docs/components/Divider/examples/Divider.md +4 -5
  241. package/docs/components/DragDrop/examples/DragDrop.css +3 -3
  242. package/docs/components/Drawer/examples/Drawer.md +294 -256
  243. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  244. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  245. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  246. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  247. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  248. package/docs/components/Form/examples/Form.md +134 -89
  249. package/docs/components/Icon/examples/Icon.md +82 -11
  250. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  251. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  252. package/docs/components/Label/examples/Label.css +4 -0
  253. package/docs/components/Label/examples/Label.md +3091 -704
  254. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  255. package/docs/components/LogViewer/examples/LogViewer.md +300 -210
  256. package/docs/components/Login/examples/Login.md +10 -5
  257. package/docs/components/Masthead/examples/masthead.md +443 -65
  258. package/docs/components/Menu/examples/Menu.css +8 -0
  259. package/docs/components/Menu/examples/Menu.md +594 -543
  260. package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
  261. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  262. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  263. package/docs/components/Nav/examples/Navigation.css +3 -42
  264. package/docs/components/Nav/examples/Navigation.md +305 -353
  265. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  266. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  267. package/docs/components/Page/examples/Page.css +0 -8
  268. package/docs/components/Page/examples/Page.md +22 -21
  269. package/docs/components/Pagination/examples/Pagination.md +663 -637
  270. package/docs/components/Panel/examples/Panel.md +12 -0
  271. package/docs/components/Popover/examples/Popover.css +4 -9
  272. package/docs/components/Popover/examples/Popover.md +1 -1
  273. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  274. package/docs/components/Radio/examples/Radio.md +62 -54
  275. package/docs/components/Select/deprecated/Select.md +184 -177
  276. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  277. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  278. package/docs/components/TabContent/examples/TabContent.md +10 -10
  279. package/docs/components/Table/examples/Table.css +2 -2
  280. package/docs/components/Table/examples/Table.md +10 -10
  281. package/docs/components/Tabs/examples/Tabs.css +1 -1
  282. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  283. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  284. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  285. package/docs/components/Tile/examples/Tile.css +1 -1
  286. package/docs/components/Tile/examples/Tile.md +264 -144
  287. package/docs/components/Title/examples/Title.md +18 -0
  288. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  289. package/docs/components/Toolbar/examples/Toolbar.md +1211 -3487
  290. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  291. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  292. package/docs/components/Truncate/examples/Truncate.css +2 -2
  293. package/docs/components/Truncate/examples/Truncate.md +2 -2
  294. package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
  295. package/docs/demos/Alert/examples/Alert.md +330 -87
  296. package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
  297. package/docs/demos/Banner/examples/Banner.md +211 -60
  298. package/docs/demos/Card/examples/Card.css +3 -3
  299. package/docs/demos/Card/examples/Card.md +28 -12
  300. package/docs/demos/CardView/examples/CardView.md +265 -207
  301. package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
  302. package/docs/demos/Dashboard/examples/Dashboard.md +105 -32
  303. package/docs/demos/DataList/examples/DataList.md +1002 -935
  304. package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
  305. package/docs/demos/Drawer/examples/Drawer.md +640 -251
  306. package/docs/demos/Form/examples/BasicForms.md +138 -84
  307. package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
  308. package/docs/demos/Masthead/examples/Masthead.md +786 -342
  309. package/docs/demos/Modal/examples/Modal.md +645 -198
  310. package/docs/demos/Nav/examples/Nav.md +691 -902
  311. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
  312. package/docs/demos/Page/examples/Page.md +942 -273
  313. package/docs/demos/Page/examples/Penta.md +66 -26
  314. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  315. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  316. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1333 -946
  317. package/docs/demos/Skeleton/examples/Skeleton.md +109 -64
  318. package/docs/demos/Table/examples/Table.md +3857 -3418
  319. package/docs/demos/Tabs/examples/Tabs.md +664 -215
  320. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  321. package/docs/demos/Toolbar/examples/Toolbar.md +1313 -1475
  322. package/docs/demos/Wizard/examples/Wizard.md +918 -261
  323. package/docs/layouts/Flex/examples/Flex.md +16 -16
  324. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  325. package/icons/pficons.mjs +1 -0
  326. package/layouts/Flex/flex.css +115 -43
  327. package/layouts/Flex/flex.scss +20 -8
  328. package/package.json +36 -32
  329. package/patternfly-addons.css +732 -972
  330. package/patternfly-base-no-globals-theme-dark-unversioned.css +895 -847
  331. package/patternfly-base-no-globals.css +895 -847
  332. package/patternfly-base-theme-dark-unversioned.css +899 -850
  333. package/patternfly-base.css +899 -850
  334. package/patternfly-no-globals.css +9954 -8996
  335. package/patternfly-theme-dark-unversioned.css +9959 -9000
  336. package/patternfly.css +9959 -9000
  337. package/patternfly.min.css +1 -1
  338. package/patternfly.min.css.map +1 -1
  339. package/sass-utilities/functions.scss +6 -0
  340. package/sass-utilities/mixins.scss +80 -2
  341. package/sass-utilities/scss-variables.scss +8 -8
  342. package/sass-utilities/themes/dark/mixins.scss +3 -1
  343. package/utilities/Accessibility/accessibility.css +12 -12
  344. package/utilities/Spacing/spacing.css +720 -960
  345. package/utilities/Spacing/spacing.scss +4 -8
  346. package/base/themes/dark/_variables.scss +0 -102
  347. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  348. package/components/Accordion/themes/dark/accordion.scss +0 -9
  349. package/components/Alert/themes/dark/alert.scss +0 -17
  350. package/components/Badge/themes/dark/badge.scss +0 -9
  351. package/components/Banner/themes/dark/banner.scss +0 -14
  352. package/components/Button/themes/dark/button.scss +0 -51
  353. package/components/Card/themes/dark/card.scss +0 -20
  354. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  355. package/components/DataList/themes/dark/data-list.scss +0 -10
  356. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  357. package/components/Drawer/themes/dark/drawer.scss +0 -13
  358. package/components/Form/themes/dark/form.scss +0 -7
  359. package/components/FormControl/themes/dark/form-control.scss +0 -24
  360. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  361. package/components/Hint/themes/dark/hint.scss +0 -8
  362. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  363. package/components/Label/themes/dark/label.scss +0 -53
  364. package/components/Login/themes/dark/login.scss +0 -12
  365. package/components/Masthead/themes/dark/masthead.scss +0 -14
  366. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  367. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  368. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  369. package/components/Page/themes/dark/page.scss +0 -69
  370. package/components/Pagination/themes/dark/pagination.scss +0 -7
  371. package/components/Panel/themes/dark/panel.scss +0 -7
  372. package/components/Popover/themes/dark/popover.scss +0 -11
  373. package/components/Progress/themes/dark/progress.scss +0 -9
  374. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  375. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  376. package/components/Switch/themes/dark/switch.scss +0 -11
  377. package/components/Tabs/themes/dark/tabs.scss +0 -10
  378. package/components/Tile/themes/dark/tile.scss +0 -10
  379. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  380. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  381. package/docs/components/Avatar/examples/Avatar.css +0 -3
  382. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -26,36 +26,115 @@ cssPrefix: pf-v5-c-button
26
26
 
27
27
  <br />
28
28
  <br />
29
- <button class="pf-v5-c-button pf-m-link" type="button">
29
+
30
+ <button class="pf-v5-c-button pf-m-link" type="button">Link</button>
31
+
32
+ <button class="pf-v5-c-button pf-m-danger pf-m-link" type="button">Link danger</button>
33
+
34
+ <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button">Inline link</button>
35
+
36
+ <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
37
+ <i class="fas fa-times" aria-hidden="true"></i>
38
+ </button>
39
+
40
+ <br />
41
+ <br />
42
+
43
+ <button class="pf-v5-c-button pf-m-control" type="button">Control</button>
44
+
45
+ <button
46
+ class="pf-v5-c-button pf-m-control"
47
+ type="button"
48
+ aria-label="Copy input"
49
+ >
50
+ <i class="fas fa-copy" aria-hidden="true"></i>
51
+ </button>
52
+
53
+ <br />
54
+ <br />
55
+
56
+ <div>
57
+ <strong>Icon</strong>
58
+ </div>
59
+ <button class="pf-v5-c-button pf-m-primary" type="button">
30
60
  <span class="pf-v5-c-button__icon pf-m-start">
31
61
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
32
62
  </span>
33
- Link
63
+ Primary
34
64
  </button>
35
65
 
36
- <button class="pf-v5-c-button pf-m-link" type="button">
37
- Link
38
- <span class="pf-v5-c-button__icon pf-m-end">
66
+ <button class="pf-v5-c-button pf-m-secondary" type="button">
67
+ <span class="pf-v5-c-button__icon pf-m-start">
39
68
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
40
69
  </span>
70
+ Secondary
41
71
  </button>
42
72
 
43
- <button class="pf-v5-c-button pf-m-link pf-m-danger" type="button">
73
+ <button class="pf-v5-c-button pf-m-secondary pf-m-danger" type="button">
44
74
  <span class="pf-v5-c-button__icon pf-m-start">
45
75
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
46
76
  </span>
47
- Link danger
77
+ Secondary danger
78
+ </button>
79
+
80
+ <button class="pf-v5-c-button pf-m-tertiary" type="button">
81
+ <span class="pf-v5-c-button__icon pf-m-start">
82
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
83
+ </span>
84
+ Tertiary
85
+ </button>
86
+
87
+ <button class="pf-v5-c-button pf-m-danger" type="button">
88
+ <span class="pf-v5-c-button__icon pf-m-start">
89
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
90
+ </span>
91
+ Danger
92
+ </button>
93
+
94
+ <button class="pf-v5-c-button pf-m-warning" type="button">
95
+ <span class="pf-v5-c-button__icon pf-m-start">
96
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
97
+ </span>
98
+ Warning
48
99
  </button>
49
100
 
50
- <button class="pf-v5-c-button pf-m-inline pf-m-link" type="button">Inline link</button>
51
101
  <br />
52
102
  <br />
103
+
104
+ <button class="pf-v5-c-button pf-m-link" type="button">
105
+ <span class="pf-v5-c-button__icon pf-m-start">
106
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
107
+ </span>
108
+ Link
109
+ </button>
110
+
111
+ <button class="pf-v5-c-button pf-m-danger pf-m-link" type="button">
112
+ <span class="pf-v5-c-button__icon pf-m-start">
113
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
114
+ </span>
115
+ Link danger
116
+ </button>
117
+
118
+ <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button">
119
+ <span class="pf-v5-c-button__icon pf-m-start">
120
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
121
+ </span>
122
+ Inline link
123
+ </button>
124
+
53
125
  <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
54
126
  <i class="fas fa-times" aria-hidden="true"></i>
55
127
  </button>
128
+
56
129
  <br />
57
130
  <br />
58
- <button class="pf-v5-c-button pf-m-control" type="button">Control</button>
131
+
132
+ <button class="pf-v5-c-button pf-m-control" type="button">
133
+ <span class="pf-v5-c-button__icon pf-m-start">
134
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
135
+ </span>
136
+ Control
137
+ </button>
59
138
 
60
139
  <button
61
140
  class="pf-v5-c-button pf-m-control"
@@ -65,205 +144,1256 @@ cssPrefix: pf-v5-c-button
65
144
  <i class="fas fa-copy" aria-hidden="true"></i>
66
145
  </button>
67
146
 
68
- <br />
69
147
  <br />
70
148
  <br />
71
149
 
72
- <button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">Primary</button>
150
+ <div>
151
+ <strong>Icon end</strong>
152
+ </div>
153
+ <button class="pf-v5-c-button pf-m-primary" type="button">
154
+ Primary
155
+ <span class="pf-v5-c-button__icon pf-m-end">
156
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
157
+ </span>
158
+ </button>
73
159
 
74
- <button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">Secondary</button>
160
+ <button class="pf-v5-c-button pf-m-secondary" type="button">
161
+ Secondary
162
+ <span class="pf-v5-c-button__icon pf-m-end">
163
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
164
+ </span>
165
+ </button>
75
166
 
76
- <button
77
- class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-small"
78
- type="button"
79
- >Secondary danger</button>
167
+ <button class="pf-v5-c-button pf-m-secondary pf-m-danger" type="button">
168
+ Secondary danger
169
+ <span class="pf-v5-c-button__icon pf-m-end">
170
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
171
+ </span>
172
+ </button>
80
173
 
81
- <button class="pf-v5-c-button pf-m-tertiary pf-m-small" type="button">Tertiary</button>
174
+ <button class="pf-v5-c-button pf-m-tertiary" type="button">
175
+ Tertiary
176
+ <span class="pf-v5-c-button__icon pf-m-end">
177
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
178
+ </span>
179
+ </button>
82
180
 
83
- <button class="pf-v5-c-button pf-m-danger pf-m-small" type="button">Danger</button>
181
+ <button class="pf-v5-c-button pf-m-danger" type="button">
182
+ Danger
183
+ <span class="pf-v5-c-button__icon pf-m-end">
184
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
185
+ </span>
186
+ </button>
84
187
 
85
- <button class="pf-v5-c-button pf-m-warning pf-m-small" type="button">Warning</button>
188
+ <button class="pf-v5-c-button pf-m-warning" type="button">
189
+ Warning
190
+ <span class="pf-v5-c-button__icon pf-m-end">
191
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
192
+ </span>
193
+ </button>
86
194
 
87
- <button class="pf-v5-c-button pf-m-link pf-m-small" type="button">
195
+ <br />
196
+ <br />
197
+
198
+ <button class="pf-v5-c-button pf-m-link" type="button">
88
199
  Link
89
200
  <span class="pf-v5-c-button__icon pf-m-end">
90
201
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
91
202
  </span>
92
203
  </button>
93
204
 
94
- <button class="pf-v5-c-button pf-m-link pf-m-danger pf-m-small" type="button">
205
+ <button class="pf-v5-c-button pf-m-danger pf-m-link" type="button">
95
206
  Link danger
96
207
  <span class="pf-v5-c-button__icon pf-m-end">
97
208
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
98
209
  </span>
99
210
  </button>
100
211
 
212
+ <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button">
213
+ Inline link
214
+ <span class="pf-v5-c-button__icon pf-m-end">
215
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
216
+ </span>
217
+ </button>
218
+
219
+ <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
220
+ <i class="fas fa-times" aria-hidden="true"></i>
221
+ </button>
222
+
223
+ <br />
224
+ <br />
225
+
226
+ <button class="pf-v5-c-button pf-m-control" type="button">
227
+ Control
228
+ <span class="pf-v5-c-button__icon pf-m-end">
229
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
230
+ </span>
231
+ </button>
232
+
101
233
  <button
102
- class="pf-v5-c-button pf-m-inline pf-m-link pf-m-small"
234
+ class="pf-v5-c-button pf-m-control"
103
235
  type="button"
104
- >Inline link</button>
105
-
106
- <button class="pf-v5-c-button pf-m-control pf-m-small" type="button">Control</button>
236
+ aria-label="Copy input"
237
+ >
238
+ <i class="fas fa-copy" aria-hidden="true"></i>
239
+ </button>
107
240
 
108
241
  ```
109
242
 
110
- ### Disabled
243
+ ### Clicked buttons
111
244
 
112
245
  ```html
246
+ <button class="pf-v5-c-button pf-m-primary pf-m-clicked" type="button">Primary</button>
247
+
113
248
  <button
114
- class="pf-v5-c-button pf-m-primary"
249
+ class="pf-v5-c-button pf-m-secondary pf-m-clicked"
115
250
  type="button"
116
- disabled
117
- >Primary disabled</button>
251
+ >Secondary</button>
118
252
 
119
253
  <button
120
- class="pf-v5-c-button pf-m-secondary"
254
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-clicked"
121
255
  type="button"
122
- disabled
123
- >Secondary disabled</button>
256
+ >Secondary danger</button>
257
+
258
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-clicked" type="button">Tertiary</button>
259
+
260
+ <button class="pf-v5-c-button pf-m-danger pf-m-clicked" type="button">Danger</button>
261
+
262
+ <button class="pf-v5-c-button pf-m-warning pf-m-clicked" type="button">Warning</button>
263
+
264
+ <br />
265
+ <br />
266
+
267
+ <button class="pf-v5-c-button pf-m-link pf-m-clicked" type="button">Link</button>
124
268
 
125
269
  <button
126
- class="pf-v5-c-button pf-m-secondary pf-m-danger"
270
+ class="pf-v5-c-button pf-m-danger pf-m-link pf-m-clicked"
127
271
  type="button"
128
- disabled
129
- >Secondary danger disabled</button>
272
+ >Link danger</button>
130
273
 
131
274
  <button
132
- class="pf-v5-c-button pf-m-tertiary"
275
+ class="pf-v5-c-button pf-m-link pf-m-inline pf-m-clicked"
133
276
  type="button"
134
- disabled
135
- >Tertiary disabled</button>
277
+ >Inline link</button>
136
278
 
137
279
  <button
138
- class="pf-v5-c-button pf-m-danger"
280
+ class="pf-v5-c-button pf-m-plain pf-m-clicked"
139
281
  type="button"
140
- disabled
141
- >Danger disabled</button>
282
+ aria-label="Remove"
283
+ >
284
+ <i class="fas fa-times" aria-hidden="true"></i>
285
+ </button>
286
+
287
+ <br />
288
+ <br />
289
+
290
+ <button class="pf-v5-c-button pf-m-control pf-m-clicked" type="button">Control</button>
142
291
 
143
292
  <button
144
- class="pf-v5-c-button pf-m-warning"
293
+ class="pf-v5-c-button pf-m-control pf-m-clicked"
145
294
  type="button"
146
- disabled
147
- >Warning disabled</button>
295
+ aria-label="Copy input"
296
+ >
297
+ <i class="fas fa-copy" aria-hidden="true"></i>
298
+ </button>
148
299
 
149
- <button class="pf-v5-c-button pf-m-link" type="button" disabled>
300
+ <br />
301
+ <br />
302
+
303
+ <div>
304
+ <strong>Icon</strong>
305
+ </div>
306
+ <button class="pf-v5-c-button pf-m-primary pf-m-clicked" type="button">
307
+ <span class="pf-v5-c-button__icon pf-m-start">
308
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
309
+ </span>
310
+ Primary
311
+ </button>
312
+
313
+ <button class="pf-v5-c-button pf-m-secondary pf-m-clicked" type="button">
314
+ <span class="pf-v5-c-button__icon pf-m-start">
315
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
316
+ </span>
317
+ Secondary
318
+ </button>
319
+
320
+ <button
321
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-clicked"
322
+ type="button"
323
+ >
324
+ <span class="pf-v5-c-button__icon pf-m-start">
325
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
326
+ </span>
327
+ Secondary danger
328
+ </button>
329
+
330
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-clicked" type="button">
331
+ <span class="pf-v5-c-button__icon pf-m-start">
332
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
333
+ </span>
334
+ Tertiary
335
+ </button>
336
+
337
+ <button class="pf-v5-c-button pf-m-danger pf-m-clicked" type="button">
338
+ <span class="pf-v5-c-button__icon pf-m-start">
339
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
340
+ </span>
341
+ Danger
342
+ </button>
343
+
344
+ <button class="pf-v5-c-button pf-m-warning pf-m-clicked" type="button">
345
+ <span class="pf-v5-c-button__icon pf-m-start">
346
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
347
+ </span>
348
+ Warning
349
+ </button>
350
+
351
+ <br />
352
+ <br />
353
+
354
+ <button class="pf-v5-c-button pf-m-link pf-m-clicked" type="button">
355
+ <span class="pf-v5-c-button__icon pf-m-start">
356
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
357
+ </span>
358
+ Link
359
+ </button>
360
+
361
+ <button class="pf-v5-c-button pf-m-danger pf-m-link pf-m-clicked" type="button">
362
+ <span class="pf-v5-c-button__icon pf-m-start">
363
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
364
+ </span>
365
+ Link danger
366
+ </button>
367
+
368
+ <button class="pf-v5-c-button pf-m-link pf-m-inline pf-m-clicked" type="button">
369
+ <span class="pf-v5-c-button__icon pf-m-start">
370
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
371
+ </span>
372
+ Inline link
373
+ </button>
374
+
375
+ <button
376
+ class="pf-v5-c-button pf-m-plain pf-m-clicked"
377
+ type="button"
378
+ aria-label="Remove"
379
+ >
380
+ <i class="fas fa-times" aria-hidden="true"></i>
381
+ </button>
382
+
383
+ <br />
384
+ <br />
385
+
386
+ <button class="pf-v5-c-button pf-m-control pf-m-clicked" type="button">
150
387
  <span class="pf-v5-c-button__icon pf-m-start">
151
388
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
152
389
  </span>
153
- Link disabled
390
+ Control
391
+ </button>
392
+
393
+ <button
394
+ class="pf-v5-c-button pf-m-control pf-m-clicked"
395
+ type="button"
396
+ aria-label="Copy input"
397
+ >
398
+ <i class="fas fa-copy" aria-hidden="true"></i>
399
+ </button>
400
+
401
+ <br />
402
+ <br />
403
+
404
+ <div>
405
+ <strong>Icon end</strong>
406
+ </div>
407
+ <button class="pf-v5-c-button pf-m-primary pf-m-clicked" type="button">
408
+ Primary
409
+ <span class="pf-v5-c-button__icon pf-m-end">
410
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
411
+ </span>
412
+ </button>
413
+
414
+ <button class="pf-v5-c-button pf-m-secondary pf-m-clicked" type="button">
415
+ Secondary
416
+ <span class="pf-v5-c-button__icon pf-m-end">
417
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
418
+ </span>
154
419
  </button>
155
420
 
156
- <button class="pf-v5-c-button pf-m-link pf-m-danger" type="button" disabled>
421
+ <button
422
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-clicked"
423
+ type="button"
424
+ >
425
+ Secondary danger
426
+ <span class="pf-v5-c-button__icon pf-m-end">
427
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
428
+ </span>
429
+ </button>
430
+
431
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-clicked" type="button">
432
+ Tertiary
433
+ <span class="pf-v5-c-button__icon pf-m-end">
434
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
435
+ </span>
436
+ </button>
437
+
438
+ <button class="pf-v5-c-button pf-m-danger pf-m-clicked" type="button">
439
+ Danger
440
+ <span class="pf-v5-c-button__icon pf-m-end">
441
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
442
+ </span>
443
+ </button>
444
+
445
+ <button class="pf-v5-c-button pf-m-warning pf-m-clicked" type="button">
446
+ Warning
447
+ <span class="pf-v5-c-button__icon pf-m-end">
448
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
449
+ </span>
450
+ </button>
451
+
452
+ <br />
453
+ <br />
454
+
455
+ <button class="pf-v5-c-button pf-m-link pf-m-clicked" type="button">
456
+ Link
457
+ <span class="pf-v5-c-button__icon pf-m-end">
458
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
459
+ </span>
460
+ </button>
461
+
462
+ <button class="pf-v5-c-button pf-m-danger pf-m-link pf-m-clicked" type="button">
463
+ Link danger
464
+ <span class="pf-v5-c-button__icon pf-m-end">
465
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
466
+ </span>
467
+ </button>
468
+
469
+ <button class="pf-v5-c-button pf-m-link pf-m-inline pf-m-clicked" type="button">
470
+ Inline link
471
+ <span class="pf-v5-c-button__icon pf-m-end">
472
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
473
+ </span>
474
+ </button>
475
+
476
+ <button
477
+ class="pf-v5-c-button pf-m-plain pf-m-clicked"
478
+ type="button"
479
+ aria-label="Remove"
480
+ >
481
+ <i class="fas fa-times" aria-hidden="true"></i>
482
+ </button>
483
+
484
+ <br />
485
+ <br />
486
+
487
+ <button class="pf-v5-c-button pf-m-control pf-m-clicked" type="button">
488
+ Control
489
+ <span class="pf-v5-c-button__icon pf-m-end">
490
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
491
+ </span>
492
+ </button>
493
+
494
+ <button
495
+ class="pf-v5-c-button pf-m-control pf-m-clicked"
496
+ type="button"
497
+ aria-label="Copy input"
498
+ >
499
+ <i class="fas fa-copy" aria-hidden="true"></i>
500
+ </button>
501
+
502
+ ```
503
+
504
+ ### Small buttons
505
+
506
+ ```html
507
+ <button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">Primary</button>
508
+
509
+ <button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">Secondary</button>
510
+
511
+ <button
512
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-small"
513
+ type="button"
514
+ >Secondary danger</button>
515
+
516
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-small" type="button">Tertiary</button>
517
+
518
+ <button class="pf-v5-c-button pf-m-danger pf-m-small" type="button">Danger</button>
519
+
520
+ <button class="pf-v5-c-button pf-m-warning pf-m-small" type="button">Warning</button>
521
+
522
+ <br />
523
+ <br />
524
+
525
+ <button class="pf-v5-c-button pf-m-link pf-m-small" type="button">Link</button>
526
+
527
+ <button
528
+ class="pf-v5-c-button pf-m-danger pf-m-link pf-m-small"
529
+ type="button"
530
+ >Link danger</button>
531
+
532
+ <button
533
+ class="pf-v5-c-button pf-m-link pf-m-inline pf-m-small"
534
+ type="button"
535
+ >Inline link</button>
536
+
537
+ <button
538
+ class="pf-v5-c-button pf-m-plain pf-m-small"
539
+ type="button"
540
+ aria-label="Remove"
541
+ >
542
+ <i class="fas fa-times" aria-hidden="true"></i>
543
+ </button>
544
+
545
+ <br />
546
+ <br />
547
+
548
+ <button class="pf-v5-c-button pf-m-control pf-m-small" type="button">Control</button>
549
+
550
+ <button
551
+ class="pf-v5-c-button pf-m-control pf-m-small"
552
+ type="button"
553
+ aria-label="Copy input"
554
+ >
555
+ <i class="fas fa-copy" aria-hidden="true"></i>
556
+ </button>
557
+
558
+ <br />
559
+ <br />
560
+
561
+ <div>
562
+ <strong>Icon</strong>
563
+ </div>
564
+ <button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">
565
+ <span class="pf-v5-c-button__icon pf-m-start">
566
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
567
+ </span>
568
+ Primary
569
+ </button>
570
+
571
+ <button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">
572
+ <span class="pf-v5-c-button__icon pf-m-start">
573
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
574
+ </span>
575
+ Secondary
576
+ </button>
577
+
578
+ <button
579
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-small"
580
+ type="button"
581
+ >
582
+ <span class="pf-v5-c-button__icon pf-m-start">
583
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
584
+ </span>
585
+ Secondary danger
586
+ </button>
587
+
588
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-small" type="button">
589
+ <span class="pf-v5-c-button__icon pf-m-start">
590
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
591
+ </span>
592
+ Tertiary
593
+ </button>
594
+
595
+ <button class="pf-v5-c-button pf-m-danger pf-m-small" type="button">
596
+ <span class="pf-v5-c-button__icon pf-m-start">
597
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
598
+ </span>
599
+ Danger
600
+ </button>
601
+
602
+ <button class="pf-v5-c-button pf-m-warning pf-m-small" type="button">
603
+ <span class="pf-v5-c-button__icon pf-m-start">
604
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
605
+ </span>
606
+ Warning
607
+ </button>
608
+
609
+ <br />
610
+ <br />
611
+
612
+ <button class="pf-v5-c-button pf-m-link pf-m-small" type="button">
613
+ <span class="pf-v5-c-button__icon pf-m-start">
614
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
615
+ </span>
616
+ Link
617
+ </button>
618
+
619
+ <button class="pf-v5-c-button pf-m-danger pf-m-link pf-m-small" type="button">
620
+ <span class="pf-v5-c-button__icon pf-m-start">
621
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
622
+ </span>
623
+ Link danger
624
+ </button>
625
+
626
+ <button class="pf-v5-c-button pf-m-link pf-m-inline pf-m-small" type="button">
627
+ <span class="pf-v5-c-button__icon pf-m-start">
628
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
629
+ </span>
630
+ Inline link
631
+ </button>
632
+
633
+ <button
634
+ class="pf-v5-c-button pf-m-plain pf-m-small"
635
+ type="button"
636
+ aria-label="Remove"
637
+ >
638
+ <i class="fas fa-times" aria-hidden="true"></i>
639
+ </button>
640
+
641
+ <br />
642
+ <br />
643
+
644
+ <button class="pf-v5-c-button pf-m-control pf-m-small" type="button">
645
+ <span class="pf-v5-c-button__icon pf-m-start">
646
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
647
+ </span>
648
+ Control
649
+ </button>
650
+
651
+ <button
652
+ class="pf-v5-c-button pf-m-control pf-m-small"
653
+ type="button"
654
+ aria-label="Copy input"
655
+ >
656
+ <i class="fas fa-copy" aria-hidden="true"></i>
657
+ </button>
658
+
659
+ <br />
660
+ <br />
661
+
662
+ <div>
663
+ <strong>Icon end</strong>
664
+ </div>
665
+ <button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">
666
+ Primary
667
+ <span class="pf-v5-c-button__icon pf-m-end">
668
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
669
+ </span>
670
+ </button>
671
+
672
+ <button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">
673
+ Secondary
674
+ <span class="pf-v5-c-button__icon pf-m-end">
675
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
676
+ </span>
677
+ </button>
678
+
679
+ <button
680
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-small"
681
+ type="button"
682
+ >
683
+ Secondary danger
684
+ <span class="pf-v5-c-button__icon pf-m-end">
685
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
686
+ </span>
687
+ </button>
688
+
689
+ <button class="pf-v5-c-button pf-m-tertiary pf-m-small" type="button">
690
+ Tertiary
691
+ <span class="pf-v5-c-button__icon pf-m-end">
692
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
693
+ </span>
694
+ </button>
695
+
696
+ <button class="pf-v5-c-button pf-m-danger pf-m-small" type="button">
697
+ Danger
698
+ <span class="pf-v5-c-button__icon pf-m-end">
699
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
700
+ </span>
701
+ </button>
702
+
703
+ <button class="pf-v5-c-button pf-m-warning pf-m-small" type="button">
704
+ Warning
705
+ <span class="pf-v5-c-button__icon pf-m-end">
706
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
707
+ </span>
708
+ </button>
709
+
710
+ <br />
711
+ <br />
712
+
713
+ <button class="pf-v5-c-button pf-m-link pf-m-small" type="button">
714
+ Link
715
+ <span class="pf-v5-c-button__icon pf-m-end">
716
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
717
+ </span>
718
+ </button>
719
+
720
+ <button class="pf-v5-c-button pf-m-danger pf-m-link pf-m-small" type="button">
721
+ Link danger
722
+ <span class="pf-v5-c-button__icon pf-m-end">
723
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
724
+ </span>
725
+ </button>
726
+
727
+ <button class="pf-v5-c-button pf-m-link pf-m-inline pf-m-small" type="button">
728
+ Inline link
729
+ <span class="pf-v5-c-button__icon pf-m-end">
730
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
731
+ </span>
732
+ </button>
733
+
734
+ <button
735
+ class="pf-v5-c-button pf-m-plain pf-m-small"
736
+ type="button"
737
+ aria-label="Remove"
738
+ >
739
+ <i class="fas fa-times" aria-hidden="true"></i>
740
+ </button>
741
+
742
+ <br />
743
+ <br />
744
+
745
+ <button class="pf-v5-c-button pf-m-control pf-m-small" type="button">
746
+ Control
747
+ <span class="pf-v5-c-button__icon pf-m-end">
748
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
749
+ </span>
750
+ </button>
751
+
752
+ <button
753
+ class="pf-v5-c-button pf-m-control pf-m-small"
754
+ type="button"
755
+ aria-label="Copy input"
756
+ >
757
+ <i class="fas fa-copy" aria-hidden="true"></i>
758
+ </button>
759
+
760
+ ```
761
+
762
+ ### Disabled
763
+
764
+ ```html
765
+ <button class="pf-v5-c-button pf-m-primary" type="button" disabled>Primary</button>
766
+
767
+ <button class="pf-v5-c-button pf-m-secondary" type="button" disabled>Secondary</button>
768
+
769
+ <button
770
+ class="pf-v5-c-button pf-m-secondary pf-m-danger"
771
+ type="button"
772
+ disabled
773
+ >Secondary danger</button>
774
+
775
+ <button class="pf-v5-c-button pf-m-tertiary" type="button" disabled>Tertiary</button>
776
+
777
+ <button class="pf-v5-c-button pf-m-danger" type="button" disabled>Danger</button>
778
+
779
+ <button class="pf-v5-c-button pf-m-warning" type="button" disabled>Warning</button>
780
+
781
+ <br />
782
+ <br />
783
+
784
+ <button class="pf-v5-c-button pf-m-link" type="button" disabled>Link</button>
785
+
786
+ <button
787
+ class="pf-v5-c-button pf-m-danger pf-m-link"
788
+ type="button"
789
+ disabled
790
+ >Link danger</button>
791
+
792
+ <button
793
+ class="pf-v5-c-button pf-m-link pf-m-inline"
794
+ type="button"
795
+ disabled
796
+ >Inline link</button>
797
+
798
+ <button
799
+ class="pf-v5-c-button pf-m-plain"
800
+ type="button"
801
+ disabled
802
+ aria-label="Remove"
803
+ >
804
+ <i class="fas fa-times" aria-hidden="true"></i>
805
+ </button>
806
+
807
+ <br />
808
+ <br />
809
+
810
+ <button class="pf-v5-c-button pf-m-control" type="button" disabled>Control</button>
811
+
812
+ <button
813
+ class="pf-v5-c-button pf-m-control"
814
+ type="button"
815
+ disabled
816
+ aria-label="Copy input"
817
+ >
818
+ <i class="fas fa-copy" aria-hidden="true"></i>
819
+ </button>
820
+
821
+ <br />
822
+ <br />
823
+
824
+ <div>
825
+ <strong>Icon</strong>
826
+ </div>
827
+ <button class="pf-v5-c-button pf-m-primary" type="button" disabled>
828
+ <span class="pf-v5-c-button__icon pf-m-start">
829
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
830
+ </span>
831
+ Primary
832
+ </button>
833
+
834
+ <button class="pf-v5-c-button pf-m-secondary" type="button" disabled>
835
+ <span class="pf-v5-c-button__icon pf-m-start">
836
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
837
+ </span>
838
+ Secondary
839
+ </button>
840
+
841
+ <button
842
+ class="pf-v5-c-button pf-m-secondary pf-m-danger"
843
+ type="button"
844
+ disabled
845
+ >
846
+ <span class="pf-v5-c-button__icon pf-m-start">
847
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
848
+ </span>
849
+ Secondary danger
850
+ </button>
851
+
852
+ <button class="pf-v5-c-button pf-m-tertiary" type="button" disabled>
853
+ <span class="pf-v5-c-button__icon pf-m-start">
854
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
855
+ </span>
856
+ Tertiary
857
+ </button>
858
+
859
+ <button class="pf-v5-c-button pf-m-danger" type="button" disabled>
860
+ <span class="pf-v5-c-button__icon pf-m-start">
861
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
862
+ </span>
863
+ Danger
864
+ </button>
865
+
866
+ <button class="pf-v5-c-button pf-m-warning" type="button" disabled>
867
+ <span class="pf-v5-c-button__icon pf-m-start">
868
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
869
+ </span>
870
+ Warning
871
+ </button>
872
+
873
+ <br />
874
+ <br />
875
+
876
+ <button class="pf-v5-c-button pf-m-link" type="button" disabled>
877
+ <span class="pf-v5-c-button__icon pf-m-start">
878
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
879
+ </span>
880
+ Link
881
+ </button>
882
+
883
+ <button class="pf-v5-c-button pf-m-danger pf-m-link" type="button" disabled>
884
+ <span class="pf-v5-c-button__icon pf-m-start">
885
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
886
+ </span>
887
+ Link danger
888
+ </button>
889
+
890
+ <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button" disabled>
891
+ <span class="pf-v5-c-button__icon pf-m-start">
892
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
893
+ </span>
894
+ Inline link
895
+ </button>
896
+
897
+ <button
898
+ class="pf-v5-c-button pf-m-plain"
899
+ type="button"
900
+ disabled
901
+ aria-label="Remove"
902
+ >
903
+ <i class="fas fa-times" aria-hidden="true"></i>
904
+ </button>
905
+
906
+ <br />
907
+ <br />
908
+
909
+ <button class="pf-v5-c-button pf-m-control" type="button" disabled>
910
+ <span class="pf-v5-c-button__icon pf-m-start">
911
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
912
+ </span>
913
+ Control
914
+ </button>
915
+
916
+ <button
917
+ class="pf-v5-c-button pf-m-control"
918
+ type="button"
919
+ disabled
920
+ aria-label="Copy input"
921
+ >
922
+ <i class="fas fa-copy" aria-hidden="true"></i>
923
+ </button>
924
+
925
+ <br />
926
+ <br />
927
+
928
+ <div>
929
+ <strong>Icon end</strong>
930
+ </div>
931
+ <button class="pf-v5-c-button pf-m-primary" type="button" disabled>
932
+ Primary
933
+ <span class="pf-v5-c-button__icon pf-m-end">
934
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
935
+ </span>
936
+ </button>
937
+
938
+ <button class="pf-v5-c-button pf-m-secondary" type="button" disabled>
939
+ Secondary
940
+ <span class="pf-v5-c-button__icon pf-m-end">
941
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
942
+ </span>
943
+ </button>
944
+
945
+ <button
946
+ class="pf-v5-c-button pf-m-secondary pf-m-danger"
947
+ type="button"
948
+ disabled
949
+ >
950
+ Secondary danger
951
+ <span class="pf-v5-c-button__icon pf-m-end">
952
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
953
+ </span>
954
+ </button>
955
+
956
+ <button class="pf-v5-c-button pf-m-tertiary" type="button" disabled>
957
+ Tertiary
958
+ <span class="pf-v5-c-button__icon pf-m-end">
959
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
960
+ </span>
961
+ </button>
962
+
963
+ <button class="pf-v5-c-button pf-m-danger" type="button" disabled>
964
+ Danger
965
+ <span class="pf-v5-c-button__icon pf-m-end">
966
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
967
+ </span>
968
+ </button>
969
+
970
+ <button class="pf-v5-c-button pf-m-warning" type="button" disabled>
971
+ Warning
972
+ <span class="pf-v5-c-button__icon pf-m-end">
973
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
974
+ </span>
975
+ </button>
976
+
977
+ <br />
978
+ <br />
979
+
980
+ <button class="pf-v5-c-button pf-m-link" type="button" disabled>
981
+ Link
982
+ <span class="pf-v5-c-button__icon pf-m-end">
983
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
984
+ </span>
985
+ </button>
986
+
987
+ <button class="pf-v5-c-button pf-m-danger pf-m-link" type="button" disabled>
988
+ Link danger
989
+ <span class="pf-v5-c-button__icon pf-m-end">
990
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
991
+ </span>
992
+ </button>
993
+
994
+ <button class="pf-v5-c-button pf-m-link pf-m-inline" type="button" disabled>
995
+ Inline link
996
+ <span class="pf-v5-c-button__icon pf-m-end">
997
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
998
+ </span>
999
+ </button>
1000
+
1001
+ <button
1002
+ class="pf-v5-c-button pf-m-plain"
1003
+ type="button"
1004
+ disabled
1005
+ aria-label="Remove"
1006
+ >
1007
+ <i class="fas fa-times" aria-hidden="true"></i>
1008
+ </button>
1009
+
1010
+ <br />
1011
+ <br />
1012
+
1013
+ <button class="pf-v5-c-button pf-m-control" type="button" disabled>
1014
+ Control
1015
+ <span class="pf-v5-c-button__icon pf-m-end">
1016
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1017
+ </span>
1018
+ </button>
1019
+
1020
+ <button
1021
+ class="pf-v5-c-button pf-m-control"
1022
+ type="button"
1023
+ disabled
1024
+ aria-label="Copy input"
1025
+ >
1026
+ <i class="fas fa-copy" aria-hidden="true"></i>
1027
+ </button>
1028
+
1029
+ ```
1030
+
1031
+ ### Aria-disabled
1032
+
1033
+ ```html
1034
+ <button
1035
+ class="pf-v5-c-button pf-m-primary pf-m-aria-disabled"
1036
+ type="button"
1037
+ aria-disabled="true"
1038
+ >Primary</button>
1039
+
1040
+ <button
1041
+ class="pf-v5-c-button pf-m-secondary pf-m-aria-disabled"
1042
+ type="button"
1043
+ aria-disabled="true"
1044
+ >Secondary</button>
1045
+
1046
+ <button
1047
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-aria-disabled"
1048
+ type="button"
1049
+ aria-disabled="true"
1050
+ >Secondary danger</button>
1051
+
1052
+ <button
1053
+ class="pf-v5-c-button pf-m-tertiary pf-m-aria-disabled"
1054
+ type="button"
1055
+ aria-disabled="true"
1056
+ >Tertiary</button>
1057
+
1058
+ <button
1059
+ class="pf-v5-c-button pf-m-danger pf-m-aria-disabled"
1060
+ type="button"
1061
+ aria-disabled="true"
1062
+ >Danger</button>
1063
+
1064
+ <button
1065
+ class="pf-v5-c-button pf-m-warning pf-m-aria-disabled"
1066
+ type="button"
1067
+ aria-disabled="true"
1068
+ >Warning</button>
1069
+
1070
+ <br />
1071
+ <br />
1072
+
1073
+ <button
1074
+ class="pf-v5-c-button pf-m-link pf-m-aria-disabled"
1075
+ type="button"
1076
+ aria-disabled="true"
1077
+ >Link</button>
1078
+
1079
+ <button
1080
+ class="pf-v5-c-button pf-m-danger pf-m-link pf-m-aria-disabled"
1081
+ type="button"
1082
+ aria-disabled="true"
1083
+ >Link danger</button>
1084
+
1085
+ <button
1086
+ class="pf-v5-c-button pf-m-link pf-m-inline pf-m-aria-disabled"
1087
+ type="button"
1088
+ aria-disabled="true"
1089
+ >Inline link</button>
1090
+
1091
+ <button
1092
+ class="pf-v5-c-button pf-m-plain pf-m-aria-disabled"
1093
+ type="button"
1094
+ aria-disabled="true"
1095
+ aria-label="Remove"
1096
+ >
1097
+ <i class="fas fa-times" aria-hidden="true"></i>
1098
+ </button>
1099
+
1100
+ <br />
1101
+ <br />
1102
+
1103
+ <button
1104
+ class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
1105
+ type="button"
1106
+ aria-disabled="true"
1107
+ >Control</button>
1108
+
1109
+ <button
1110
+ class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
1111
+ type="button"
1112
+ aria-disabled="true"
1113
+ aria-label="Copy input"
1114
+ >
1115
+ <i class="fas fa-copy" aria-hidden="true"></i>
1116
+ </button>
1117
+
1118
+ <br />
1119
+ <br />
1120
+
1121
+ <div>
1122
+ <strong>Icon</strong>
1123
+ </div>
1124
+ <button
1125
+ class="pf-v5-c-button pf-m-primary pf-m-aria-disabled"
1126
+ type="button"
1127
+ aria-disabled="true"
1128
+ >
1129
+ <span class="pf-v5-c-button__icon pf-m-start">
1130
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1131
+ </span>
1132
+ Primary
1133
+ </button>
1134
+
1135
+ <button
1136
+ class="pf-v5-c-button pf-m-secondary pf-m-aria-disabled"
1137
+ type="button"
1138
+ aria-disabled="true"
1139
+ >
1140
+ <span class="pf-v5-c-button__icon pf-m-start">
1141
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1142
+ </span>
1143
+ Secondary
1144
+ </button>
1145
+
1146
+ <button
1147
+ class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-aria-disabled"
1148
+ type="button"
1149
+ aria-disabled="true"
1150
+ >
1151
+ <span class="pf-v5-c-button__icon pf-m-start">
1152
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1153
+ </span>
1154
+ Secondary danger
1155
+ </button>
1156
+
1157
+ <button
1158
+ class="pf-v5-c-button pf-m-tertiary pf-m-aria-disabled"
1159
+ type="button"
1160
+ aria-disabled="true"
1161
+ >
1162
+ <span class="pf-v5-c-button__icon pf-m-start">
1163
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1164
+ </span>
1165
+ Tertiary
1166
+ </button>
1167
+
1168
+ <button
1169
+ class="pf-v5-c-button pf-m-danger pf-m-aria-disabled"
1170
+ type="button"
1171
+ aria-disabled="true"
1172
+ >
1173
+ <span class="pf-v5-c-button__icon pf-m-start">
1174
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1175
+ </span>
1176
+ Danger
1177
+ </button>
1178
+
1179
+ <button
1180
+ class="pf-v5-c-button pf-m-warning pf-m-aria-disabled"
1181
+ type="button"
1182
+ aria-disabled="true"
1183
+ >
1184
+ <span class="pf-v5-c-button__icon pf-m-start">
1185
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1186
+ </span>
1187
+ Warning
1188
+ </button>
1189
+
1190
+ <br />
1191
+ <br />
1192
+
1193
+ <button
1194
+ class="pf-v5-c-button pf-m-link pf-m-aria-disabled"
1195
+ type="button"
1196
+ aria-disabled="true"
1197
+ >
1198
+ <span class="pf-v5-c-button__icon pf-m-start">
1199
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1200
+ </span>
1201
+ Link
1202
+ </button>
1203
+
1204
+ <button
1205
+ class="pf-v5-c-button pf-m-danger pf-m-link pf-m-aria-disabled"
1206
+ type="button"
1207
+ aria-disabled="true"
1208
+ >
1209
+ <span class="pf-v5-c-button__icon pf-m-start">
1210
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1211
+ </span>
1212
+ Link danger
1213
+ </button>
1214
+
1215
+ <button
1216
+ class="pf-v5-c-button pf-m-link pf-m-inline pf-m-aria-disabled"
1217
+ type="button"
1218
+ aria-disabled="true"
1219
+ >
1220
+ <span class="pf-v5-c-button__icon pf-m-start">
1221
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1222
+ </span>
1223
+ Inline link
1224
+ </button>
1225
+
1226
+ <button
1227
+ class="pf-v5-c-button pf-m-plain pf-m-aria-disabled"
1228
+ type="button"
1229
+ aria-disabled="true"
1230
+ aria-label="Remove"
1231
+ >
1232
+ <i class="fas fa-times" aria-hidden="true"></i>
1233
+ </button>
1234
+
1235
+ <br />
1236
+ <br />
1237
+
1238
+ <button
1239
+ class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
1240
+ type="button"
1241
+ aria-disabled="true"
1242
+ >
157
1243
  <span class="pf-v5-c-button__icon pf-m-start">
158
1244
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
159
1245
  </span>
160
- Link danger disabled
1246
+ Control
161
1247
  </button>
162
1248
 
163
1249
  <button
164
- class="pf-v5-c-button pf-m-link pf-m-inline"
165
- type="button"
166
- disabled
167
- >Inline link disabled</button>
168
-
169
- <button
170
- class="pf-v5-c-button pf-m-plain"
1250
+ class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
171
1251
  type="button"
172
- aria-label="Remove"
173
- disabled
1252
+ aria-disabled="true"
1253
+ aria-label="Copy input"
174
1254
  >
175
- <i class="fas fa-times" aria-hidden="true"></i>
1255
+ <i class="fas fa-copy" aria-hidden="true"></i>
176
1256
  </button>
177
1257
 
178
- <button
179
- class="pf-v5-c-button pf-m-control"
180
- type="button"
181
- disabled
182
- >Control disabled</button>
183
-
184
- ```
185
-
186
- ### Aria-disabled
1258
+ <br />
1259
+ <br />
187
1260
 
188
- ```html
1261
+ <div>
1262
+ <strong>Icon end</strong>
1263
+ </div>
189
1264
  <button
190
1265
  class="pf-v5-c-button pf-m-primary pf-m-aria-disabled"
191
1266
  type="button"
192
1267
  aria-disabled="true"
193
- >Primary disabled</button>
1268
+ >
1269
+ Primary
1270
+ <span class="pf-v5-c-button__icon pf-m-end">
1271
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1272
+ </span>
1273
+ </button>
194
1274
 
195
1275
  <button
196
1276
  class="pf-v5-c-button pf-m-secondary pf-m-aria-disabled"
197
1277
  type="button"
198
1278
  aria-disabled="true"
199
- >Secondary disabled</button>
1279
+ >
1280
+ Secondary
1281
+ <span class="pf-v5-c-button__icon pf-m-end">
1282
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1283
+ </span>
1284
+ </button>
200
1285
 
201
1286
  <button
202
1287
  class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-aria-disabled"
203
1288
  type="button"
204
1289
  aria-disabled="true"
205
- >Secondary danger disabled</button>
1290
+ >
1291
+ Secondary danger
1292
+ <span class="pf-v5-c-button__icon pf-m-end">
1293
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1294
+ </span>
1295
+ </button>
206
1296
 
207
1297
  <button
208
1298
  class="pf-v5-c-button pf-m-tertiary pf-m-aria-disabled"
209
1299
  type="button"
210
1300
  aria-disabled="true"
211
- >Tertiary disabled</button>
1301
+ >
1302
+ Tertiary
1303
+ <span class="pf-v5-c-button__icon pf-m-end">
1304
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1305
+ </span>
1306
+ </button>
212
1307
 
213
1308
  <button
214
1309
  class="pf-v5-c-button pf-m-danger pf-m-aria-disabled"
215
1310
  type="button"
216
1311
  aria-disabled="true"
217
- >Danger disabled</button>
1312
+ >
1313
+ Danger
1314
+ <span class="pf-v5-c-button__icon pf-m-end">
1315
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1316
+ </span>
1317
+ </button>
218
1318
 
219
1319
  <button
220
1320
  class="pf-v5-c-button pf-m-warning pf-m-aria-disabled"
221
1321
  type="button"
222
1322
  aria-disabled="true"
223
- >Warning disabled</button>
1323
+ >
1324
+ Warning
1325
+ <span class="pf-v5-c-button__icon pf-m-end">
1326
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1327
+ </span>
1328
+ </button>
1329
+
1330
+ <br />
1331
+ <br />
224
1332
 
225
1333
  <button
226
1334
  class="pf-v5-c-button pf-m-link pf-m-aria-disabled"
227
1335
  type="button"
228
1336
  aria-disabled="true"
229
1337
  >
230
- <span class="pf-v5-c-button__icon pf-m-start">
1338
+ Link
1339
+ <span class="pf-v5-c-button__icon pf-m-end">
231
1340
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
232
1341
  </span>
233
- Link disabled
234
1342
  </button>
235
1343
 
236
1344
  <button
237
- class="pf-v5-c-button pf-m-link pf-m-danger pf-m-aria-disabled"
1345
+ class="pf-v5-c-button pf-m-danger pf-m-link pf-m-aria-disabled"
238
1346
  type="button"
239
1347
  aria-disabled="true"
240
1348
  >
241
- <span class="pf-v5-c-button__icon pf-m-start">
1349
+ Link danger
1350
+ <span class="pf-v5-c-button__icon pf-m-end">
242
1351
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
243
1352
  </span>
244
- Link danger disabled
245
1353
  </button>
246
1354
 
247
1355
  <button
248
1356
  class="pf-v5-c-button pf-m-link pf-m-inline pf-m-aria-disabled"
249
1357
  type="button"
250
1358
  aria-disabled="true"
251
- >Inline link disabled</button>
1359
+ >
1360
+ Inline link
1361
+ <span class="pf-v5-c-button__icon pf-m-end">
1362
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1363
+ </span>
1364
+ </button>
252
1365
 
253
1366
  <button
254
1367
  class="pf-v5-c-button pf-m-plain pf-m-aria-disabled"
255
1368
  type="button"
256
- aria-label="Remove"
257
1369
  aria-disabled="true"
1370
+ aria-label="Remove"
258
1371
  >
259
1372
  <i class="fas fa-times" aria-hidden="true"></i>
260
1373
  </button>
261
1374
 
1375
+ <br />
1376
+ <br />
1377
+
1378
+ <button
1379
+ class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
1380
+ type="button"
1381
+ aria-disabled="true"
1382
+ >
1383
+ Control
1384
+ <span class="pf-v5-c-button__icon pf-m-end">
1385
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1386
+ </span>
1387
+ </button>
1388
+
262
1389
  <button
263
1390
  class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
264
1391
  type="button"
265
1392
  aria-disabled="true"
266
- >Control disabled</button>
1393
+ aria-label="Copy input"
1394
+ >
1395
+ <i class="fas fa-copy" aria-hidden="true"></i>
1396
+ </button>
267
1397
 
268
1398
  ```
269
1399
 
@@ -309,7 +1439,34 @@ cssPrefix: pf-v5-c-button
309
1439
  ### Inline link as span
310
1440
 
311
1441
  ```html
312
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
1442
+ <strong>Plain</strong>
1443
+ <br />
1444
+ <span
1445
+ class="pf-v5-c-button pf-m-plain"
1446
+ type="button"
1447
+ role="button"
1448
+ tabindex="0"
1449
+ aria-label="Remove"
1450
+ >
1451
+ <i class="fas fa-times" aria-hidden="true"></i>
1452
+ </span>
1453
+ <br />
1454
+ <br />
1455
+ <strong>Plain no padding</strong>
1456
+ <br />
1457
+ <span
1458
+ class="pf-v5-c-button pf-m-plain pf-m-no-padding"
1459
+ type="button"
1460
+ role="button"
1461
+ tabindex="0"
1462
+ aria-label="Remove"
1463
+ >
1464
+ <i class="fas fa-times" aria-hidden="true"></i>
1465
+ </span>
1466
+ <br />
1467
+ <br />
1468
+ <strong>Inline link</strong>
1469
+ <br />Lorem ipsum dolor sit amet, consectetur adipiscing elit.
313
1470
  <span
314
1471
  class="pf-v5-c-button pf-m-link pf-m-inline"
315
1472
  type="button"
@@ -375,6 +1532,45 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
375
1532
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
376
1533
  </span>
377
1534
  </button>
1535
+ <br />
1536
+ <br />
1537
+ <strong>disabled</strong>
1538
+ <br />
1539
+ <button
1540
+ class="pf-v5-c-button pf-m-primary pf-m-display-lg"
1541
+ type="button"
1542
+ disabled
1543
+ >Call to action</button>
1544
+
1545
+ <button
1546
+ class="pf-v5-c-button pf-m-secondary pf-m-display-lg"
1547
+ type="button"
1548
+ disabled
1549
+ >Call to action</button>
1550
+
1551
+ <button
1552
+ class="pf-v5-c-button pf-m-tertiary pf-m-display-lg"
1553
+ type="button"
1554
+ disabled
1555
+ >Call to action</button>
1556
+
1557
+ <button class="pf-v5-c-button pf-m-link pf-m-display-lg" type="button" disabled>
1558
+ Call to action
1559
+ <span class="pf-v5-c-button__icon pf-m-end">
1560
+ <i class="fas fa-arrow-right" aria-hidden="true"></i>
1561
+ </span>
1562
+ </button>
1563
+
1564
+ <button
1565
+ class="pf-v5-c-button pf-m-link pf-m-inline pf-m-display-lg"
1566
+ type="button"
1567
+ disabled
1568
+ >
1569
+ Call to action
1570
+ <span class="pf-v5-c-button__icon pf-m-end">
1571
+ <i class="fas fa-arrow-right" aria-hidden="true"></i>
1572
+ </span>
1573
+ </button>
378
1574
 
379
1575
  ```
380
1576
 
@@ -445,12 +1641,12 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
445
1641
  </button>
446
1642
  <br />
447
1643
  <button
448
- class="pf-v5-c-button pf-m-progress pf-m-inline pf-m-link"
1644
+ class="pf-v5-c-button pf-m-inline pf-m-progress pf-m-link"
449
1645
  type="button"
450
1646
  >Inline loader</button>
451
1647
 
452
1648
  <button
453
- class="pf-v5-c-button pf-m-progress pf-m-in-progress pf-m-inline pf-m-link"
1649
+ class="pf-v5-c-button pf-m-inline pf-m-progress pf-m-in-progress pf-m-link"
454
1650
  type="button"
455
1651
  >
456
1652
  <span class="pf-v5-c-button__progress">
@@ -468,12 +1664,80 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
468
1664
 
469
1665
  ```
470
1666
 
471
- ### Link button with a count
1667
+ ### Counts
472
1668
 
473
1669
  ```html isBeta
1670
+ <button
1671
+ class="pf-v5-c-button pf-m-primary"
1672
+ type="button"
1673
+ aria-label="View 7 issues"
1674
+ >
1675
+ View issues
1676
+ <span class="pf-v5-c-button__count">
1677
+ <span class="pf-v5-c-badge pf-m-unread">7</span>
1678
+ </span>
1679
+ </button>
1680
+ <button
1681
+ class="pf-v5-c-button pf-m-primary"
1682
+ type="button"
1683
+ aria-label="View 7 issues"
1684
+ >
1685
+ View issues
1686
+ <span class="pf-v5-c-button__count">
1687
+ <span class="pf-v5-c-badge pf-m-read">7</span>
1688
+ </span>
1689
+ </button>
1690
+
1691
+ <button
1692
+ class="pf-v5-c-button pf-m-link"
1693
+ type="button"
1694
+ aria-label="View 7 issues"
1695
+ >
1696
+ View issues
1697
+ <span class="pf-v5-c-button__count">
1698
+ <span class="pf-v5-c-badge pf-m-unread">7</span>
1699
+ </span>
1700
+ </button>
1701
+ <button
1702
+ class="pf-v5-c-button pf-m-link"
1703
+ type="button"
1704
+ aria-label="View 7 issues"
1705
+ >
1706
+ View issues
1707
+ <span class="pf-v5-c-button__count">
1708
+ <span class="pf-v5-c-badge pf-m-read">7</span>
1709
+ </span>
1710
+ </button>
1711
+ <br />
1712
+ <strong>disabled</strong>
1713
+ <br />
1714
+ <button
1715
+ class="pf-v5-c-button pf-m-primary"
1716
+ type="button"
1717
+ disabled
1718
+ aria-label="View 7 issues"
1719
+ >
1720
+ View issues
1721
+ <span class="pf-v5-c-button__count">
1722
+ <span class="pf-v5-c-badge pf-m-unread">7</span>
1723
+ </span>
1724
+ </button>
1725
+ <button
1726
+ class="pf-v5-c-button pf-m-primary"
1727
+ type="button"
1728
+ disabled
1729
+ aria-label="View 7 issues"
1730
+ >
1731
+ View issues
1732
+ <span class="pf-v5-c-button__count">
1733
+ <span class="pf-v5-c-badge pf-m-read">7</span>
1734
+ </span>
1735
+ </button>
1736
+
474
1737
  <button
475
1738
  class="pf-v5-c-button pf-m-link"
476
1739
  type="button"
1740
+ disabled
477
1741
  aria-label="View 7 issues"
478
1742
  >
479
1743
  View issues
@@ -484,6 +1748,7 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
484
1748
  <button
485
1749
  class="pf-v5-c-button pf-m-link"
486
1750
  type="button"
1751
+ disabled
487
1752
  aria-label="View 7 issues"
488
1753
  >
489
1754
  View issues
@@ -494,6 +1759,77 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
494
1759
 
495
1760
  ```
496
1761
 
1762
+ ### Plain with no padding
1763
+
1764
+ ```html
1765
+ For when a plain/icon button is placed inline with text
1766
+ <button
1767
+ class="pf-v5-c-button pf-m-plain pf-m-no-padding"
1768
+ type="button"
1769
+ aria-label="More info"
1770
+ >
1771
+ <i class="fas fa-question-circle" aria-hidden="true"></i>
1772
+ </button>
1773
+ .
1774
+
1775
+ ```
1776
+
1777
+ ### Stateful
1778
+
1779
+ ```html
1780
+ <strong>Read</strong>
1781
+ <br />
1782
+ <button class="pf-v5-c-button pf-m-stateful pf-m-read" type="button">
1783
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1784
+ <span class="pf-v5-screen-reader">items</span>
1785
+ </button>
1786
+
1787
+ <button
1788
+ class="pf-v5-c-button pf-m-stateful pf-m-read pf-m-clicked"
1789
+ type="button"
1790
+ >
1791
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1792
+ <span class="pf-v5-screen-reader">items</span>
1793
+ </button>
1794
+
1795
+ <br />
1796
+ <br />
1797
+
1798
+ <strong>Unread</strong>
1799
+ <br />
1800
+ <button class="pf-v5-c-button pf-m-stateful pf-m-unread" type="button">
1801
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1802
+ <span class="pf-v5-screen-reader">unread items</span>
1803
+ </button>
1804
+
1805
+ <button
1806
+ class="pf-v5-c-button pf-m-stateful pf-m-unread pf-m-clicked"
1807
+ type="button"
1808
+ >
1809
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1810
+ <span class="pf-v5-screen-reader">unread items</span>
1811
+ </button>
1812
+
1813
+ <br />
1814
+ <br />
1815
+
1816
+ <strong>Attention</strong>
1817
+ <br />
1818
+ <button class="pf-v5-c-button pf-m-stateful pf-m-attention" type="button">
1819
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1820
+ <span class="pf-v5-screen-reader">unread items, needs attention</span>
1821
+ </button>
1822
+
1823
+ <button
1824
+ class="pf-v5-c-button pf-m-stateful pf-m-attention pf-m-clicked"
1825
+ type="button"
1826
+ >
1827
+ <i class="fas fa-bell" aria-hidden="true"></i> 10
1828
+ <span class="pf-v5-screen-reader">unread items, needs attention</span>
1829
+ </button>
1830
+
1831
+ ```
1832
+
497
1833
  ## Documentation
498
1834
 
499
1835
  ### Overview
@@ -522,7 +1858,7 @@ Semantic buttons and links are important for usability as well as accessibility.
522
1858
 
523
1859
  | Class | Applied to | Outcome |
524
1860
  | -- | -- | -- |
525
- | `.pf-v5-c-button` | `<button>` | Initiates a button. Always use it with a modifier class. **Required** |
1861
+ | `.pf-v5-c-button` | `<button>, <span>` | Initiates a button. Always use it with a modifier class. **Required** |
526
1862
  | `.pf-v5-c-button__icon` | `<span>` | Initiates a button icon. |
527
1863
  | `.pf-v5-c-button__progress` | `<span>` | Initiates a button progress container. |
528
1864
  | `.pf-v5-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons.|
@@ -533,6 +1869,7 @@ Semantic buttons and links are important for usability as well as accessibility.
533
1869
  | `.pf-m-warning` | `.pf-v5-c-button` | Modifies for warning styles. |
534
1870
  | `.pf-m-link` | `.pf-v5-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
535
1871
  | `.pf-m-plain` | `.pf-v5-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
1872
+ | `.pf-m-no-padding` | `.pf-v5-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
536
1873
  | `.pf-m-inline` | `.pf-v5-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
537
1874
  | `.pf-m-block` | `.pf-v5-c-button` | Creates a block level button. |
538
1875
  | `.pf-m-control` | `.pf-v5-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
@@ -545,3 +1882,4 @@ Semantic buttons and links are important for usability as well as accessibility.
545
1882
  | `.pf-m-display-lg` | `.pf-v5-c-button`, `pf-v5-c-button.pf-m-link` | Modifies the button and link button for large display styling. For example, use this modifier to achieve "call to action" styles. |
546
1883
  | `.pf-m-progress` | `.pf-v5-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
547
1884
  | `.pf-m-in-progress` | `.pf-v5-c-button` | Indicates that the button is in the in progress state. |
1885
+ | `.pf-m-stateful` | `.pf-v5-c-button` | Indicates that the button is used for one of read, unread, and attention states. **Note:** Always use with a modifier of `.pf-m-read`, `.pf-m-unread`, or `.pf-m-attention`. |