@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90

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 (341) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/assets/images/PF-Backdrop.svg +1 -0
  3. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/assets/images/PF-IconLogo.svg +17 -0
  8. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  9. package/assets/images/pf-background.svg +22 -0
  10. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  11. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  12. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  13. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  14. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  15. package/assets/images/pf_logo_white.hbs +35 -0
  16. package/assets/images/pf_logo_white.svg +38 -0
  17. package/base/_common.scss +8 -4
  18. package/base/_globals.scss +4 -6
  19. package/base/_variables.scss +2 -7
  20. package/base/patternfly-common.css +8 -4
  21. package/base/patternfly-globals.css +4 -3
  22. package/base/patternfly-variables.css +1005 -856
  23. package/base/tokens/_tokens-charts.scss +159 -0
  24. package/base/tokens/_tokens-dark.scss +319 -290
  25. package/base/tokens/_tokens-default.scss +485 -329
  26. package/base/tokens/_tokens-font.scss +122 -58
  27. package/base/tokens/_tokens-palette.scss +71 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +57 -94
  30. package/components/AboutModalBox/about-modal-box.scss +37 -62
  31. package/components/Accordion/accordion.css +85 -177
  32. package/components/Accordion/accordion.scss +96 -195
  33. package/components/ActionList/action-list.css +18 -17
  34. package/components/ActionList/action-list.scss +26 -16
  35. package/components/Alert/alert-group.css +20 -16
  36. package/components/Alert/alert-group.scss +20 -16
  37. package/components/Alert/alert.css +59 -84
  38. package/components/Alert/alert.scss +62 -78
  39. package/components/Avatar/avatar.css +10 -13
  40. package/components/Avatar/avatar.scss +10 -17
  41. package/components/BackToTop/back-to-top.css +17 -16
  42. package/components/BackToTop/back-to-top.scss +12 -12
  43. package/components/Backdrop/backdrop.css +6 -2
  44. package/components/Backdrop/backdrop.scss +5 -2
  45. package/components/BackgroundImage/background-image.css +5 -1
  46. package/components/BackgroundImage/background-image.scss +5 -1
  47. package/components/Badge/badge.css +23 -15
  48. package/components/Badge/badge.scss +25 -17
  49. package/components/Banner/banner.css +90 -64
  50. package/components/Banner/banner.scss +95 -32
  51. package/components/Breadcrumb/breadcrumb.css +27 -16
  52. package/components/Breadcrumb/breadcrumb.scss +27 -18
  53. package/components/Button/button.css +398 -354
  54. package/components/Button/button.scss +455 -477
  55. package/components/CalendarMonth/calendar-month.css +61 -92
  56. package/components/CalendarMonth/calendar-month.scss +68 -63
  57. package/components/Card/card.css +100 -194
  58. package/components/Card/card.scss +121 -237
  59. package/components/Check/check.css +24 -21
  60. package/components/Check/check.scss +25 -23
  61. package/components/ClipboardCopy/clipboard-copy.css +30 -33
  62. package/components/ClipboardCopy/clipboard-copy.scss +34 -26
  63. package/components/CodeBlock/code-block.css +22 -9
  64. package/components/CodeBlock/code-block.scss +22 -10
  65. package/components/CodeEditor/code-editor.css +94 -72
  66. package/components/CodeEditor/code-editor.scss +104 -82
  67. package/components/Content/content.css +7 -7
  68. package/components/Content/content.scss +7 -7
  69. package/components/DataList/data-list.css +101 -158
  70. package/components/DataList/data-list.scss +95 -154
  71. package/components/DatePicker/date-picker.css +13 -14
  72. package/components/DatePicker/date-picker.scss +12 -16
  73. package/components/DescriptionList/description-list.css +39 -34
  74. package/components/DescriptionList/description-list.scss +25 -25
  75. package/components/Divider/divider.css +91 -169
  76. package/components/Divider/divider.scss +60 -77
  77. package/components/DragDrop/drag-drop.css +18 -14
  78. package/components/DragDrop/drag-drop.scss +18 -17
  79. package/components/Drawer/drawer.css +112 -113
  80. package/components/Drawer/drawer.scss +134 -134
  81. package/components/Dropdown/dropdown.css +1 -3
  82. package/components/Dropdown/dropdown.scss +2 -6
  83. package/components/DualListSelector/dual-list-selector.css +54 -51
  84. package/components/DualListSelector/dual-list-selector.scss +55 -54
  85. package/components/EmptyState/empty-state.css +57 -34
  86. package/components/EmptyState/empty-state.scss +63 -34
  87. package/components/ExpandableSection/expandable-section.css +64 -62
  88. package/components/ExpandableSection/expandable-section.scss +73 -76
  89. package/components/FileUpload/file-upload.css +28 -34
  90. package/components/FileUpload/file-upload.scss +30 -42
  91. package/components/Form/form.css +66 -116
  92. package/components/Form/form.scss +63 -128
  93. package/components/FormControl/form-control.css +86 -111
  94. package/components/FormControl/form-control.scss +88 -92
  95. package/components/HelperText/helper-text.css +28 -34
  96. package/components/HelperText/helper-text.scss +30 -40
  97. package/components/Hint/hint.css +28 -21
  98. package/components/Hint/hint.scss +28 -24
  99. package/components/Icon/icon.css +154 -18
  100. package/components/Icon/icon.scss +187 -20
  101. package/components/InlineEdit/inline-edit.css +8 -7
  102. package/components/InlineEdit/inline-edit.scss +8 -7
  103. package/components/InputGroup/input-group.css +22 -38
  104. package/components/InputGroup/input-group.scss +21 -29
  105. package/components/JumpLinks/jump-links.css +34 -34
  106. package/components/JumpLinks/jump-links.scss +35 -36
  107. package/components/Label/label-group.css +39 -44
  108. package/components/Label/label-group.scss +39 -45
  109. package/components/Label/label.css +378 -355
  110. package/components/Label/label.scss +431 -348
  111. package/components/List/list.css +16 -16
  112. package/components/List/list.scss +17 -17
  113. package/components/Login/login.css +68 -112
  114. package/components/Login/login.scss +54 -82
  115. package/components/Masthead/masthead.css +261 -502
  116. package/components/Masthead/masthead.scss +123 -286
  117. package/components/Menu/menu.css +388 -417
  118. package/components/Menu/menu.scss +370 -525
  119. package/components/MenuToggle/menu-toggle.css +223 -276
  120. package/components/MenuToggle/menu-toggle.scss +322 -390
  121. package/components/ModalBox/modal-box.css +59 -52
  122. package/components/ModalBox/modal-box.scss +57 -53
  123. package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  124. package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
  125. package/components/Nav/nav.css +240 -918
  126. package/components/Nav/nav.scss +300 -1082
  127. package/components/NotificationBadge/notification-badge.css +4 -4
  128. package/components/NotificationBadge/notification-badge.scss +4 -4
  129. package/components/NotificationDrawer/notification-drawer.css +104 -115
  130. package/components/NotificationDrawer/notification-drawer.scss +106 -116
  131. package/components/NumberInput/number-input.css +8 -8
  132. package/components/NumberInput/number-input.scss +7 -12
  133. package/components/OverflowMenu/overflow-menu.css +17 -47
  134. package/components/OverflowMenu/overflow-menu.scss +27 -65
  135. package/components/Page/page.css +56 -164
  136. package/components/Page/page.scss +60 -154
  137. package/components/Pagination/pagination.css +57 -124
  138. package/components/Pagination/pagination.scss +40 -128
  139. package/components/Panel/panel.css +27 -23
  140. package/components/Panel/panel.scss +29 -26
  141. package/components/Popover/popover.css +42 -53
  142. package/components/Popover/popover.scss +46 -55
  143. package/components/Progress/progress.css +31 -45
  144. package/components/Progress/progress.scss +36 -55
  145. package/components/ProgressStepper/progress-stepper.css +72 -69
  146. package/components/ProgressStepper/progress-stepper.scss +65 -65
  147. package/components/Radio/radio.css +27 -20
  148. package/components/Radio/radio.scss +28 -22
  149. package/components/Sidebar/sidebar.css +20 -9
  150. package/components/Sidebar/sidebar.scss +23 -11
  151. package/components/SimpleList/simple-list.css +32 -52
  152. package/components/SimpleList/simple-list.scss +37 -51
  153. package/components/Skeleton/skeleton.css +18 -20
  154. package/components/Skeleton/skeleton.scss +17 -21
  155. package/components/SkipToContent/skip-to-content.css +6 -3
  156. package/components/SkipToContent/skip-to-content.scss +8 -6
  157. package/components/Slider/slider.css +34 -30
  158. package/components/Slider/slider.scss +46 -43
  159. package/components/Spinner/spinner.css +17 -34
  160. package/components/Spinner/spinner.scss +19 -47
  161. package/components/Switch/switch.css +42 -38
  162. package/components/Switch/switch.scss +48 -43
  163. package/components/TabContent/tab-content.css +17 -11
  164. package/components/TabContent/tab-content.scss +18 -14
  165. package/components/Table/table-grid.css +31 -47
  166. package/components/Table/table-grid.scss +42 -55
  167. package/components/Table/table-scrollable.css +6 -6
  168. package/components/Table/table-scrollable.scss +8 -8
  169. package/components/Table/table-tree-view.css +81 -74
  170. package/components/Table/table-tree-view.scss +53 -39
  171. package/components/Table/table.css +159 -264
  172. package/components/Table/table.scss +216 -351
  173. package/components/Tabs/tabs.css +142 -175
  174. package/components/Tabs/tabs.scss +158 -218
  175. package/components/TextInputGroup/text-input-group.css +0 -14
  176. package/components/TextInputGroup/text-input-group.scss +3 -16
  177. package/components/Tile/tile.css +40 -81
  178. package/components/Tile/tile.scss +38 -84
  179. package/components/Timestamp/timestamp.css +12 -9
  180. package/components/Timestamp/timestamp.scss +11 -10
  181. package/components/Title/title.css +70 -19
  182. package/components/Title/title.scss +90 -20
  183. package/components/ToggleGroup/toggle-group.css +54 -48
  184. package/components/ToggleGroup/toggle-group.scss +62 -50
  185. package/components/Toolbar/toolbar.css +2527 -1031
  186. package/components/Toolbar/toolbar.scss +233 -520
  187. package/components/Tooltip/tooltip.css +16 -18
  188. package/components/Tooltip/tooltip.scss +20 -24
  189. package/components/TreeView/tree-view.css +76 -97
  190. package/components/TreeView/tree-view.scss +82 -113
  191. package/components/Truncate/truncate.css +4 -0
  192. package/components/Truncate/truncate.scss +3 -0
  193. package/components/Wizard/wizard.css +122 -205
  194. package/components/Wizard/wizard.scss +121 -181
  195. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  196. package/docs/components/Accordion/examples/Accordion.md +614 -416
  197. package/docs/components/ActionList/examples/ActionList.md +73 -22
  198. package/docs/components/Alert/examples/Alert.md +3 -3
  199. package/docs/components/Avatar/examples/Avatar.md +5 -19
  200. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  201. package/docs/components/Badge/examples/Badge.md +21 -0
  202. package/docs/components/Banner/examples/Banner.md +48 -25
  203. package/docs/components/Brand/examples/Brand.css +12 -0
  204. package/docs/components/Brand/examples/Brand.md +51 -32
  205. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  206. package/docs/components/Button/examples/Button.css +4 -0
  207. package/docs/components/Button/examples/Button.md +1439 -113
  208. package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
  209. package/docs/components/Card/examples/Card.md +550 -133
  210. package/docs/components/Check/examples/Check.md +1 -0
  211. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  212. package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
  213. package/docs/components/Content/examples/Content.md +5 -5
  214. package/docs/components/DatePicker/examples/DatePicker.md +5 -2
  215. package/docs/components/Divider/examples/Divider.css +3 -1
  216. package/docs/components/Divider/examples/Divider.md +30 -5
  217. package/docs/components/DragDrop/examples/DragDrop.css +1 -1
  218. package/docs/components/Drawer/examples/Drawer.md +294 -256
  219. package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
  220. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  221. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  222. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  223. package/docs/components/Form/examples/Form.md +134 -89
  224. package/docs/components/Icon/examples/Icon.md +82 -11
  225. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  226. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  227. package/docs/components/Label/examples/Label.css +4 -0
  228. package/docs/components/Label/examples/Label.md +3090 -703
  229. package/docs/components/LogViewer/examples/LogViewer.md +100 -80
  230. package/docs/components/Login/examples/Login.md +160 -105
  231. package/docs/components/Masthead/examples/masthead.md +443 -65
  232. package/docs/components/Menu/examples/Menu.css +7 -11
  233. package/docs/components/Menu/examples/Menu.md +213 -486
  234. package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
  235. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  236. package/docs/components/Nav/examples/Navigation.css +1 -23
  237. package/docs/components/Nav/examples/Navigation.md +69 -243
  238. package/docs/components/Page/examples/Page.css +0 -8
  239. package/docs/components/Page/examples/Page.md +22 -21
  240. package/docs/components/Pagination/examples/Pagination.md +663 -637
  241. package/docs/components/Panel/examples/Panel.md +12 -0
  242. package/docs/components/Popover/examples/Popover.md +1 -1
  243. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  244. package/docs/components/Radio/examples/Radio.md +1 -1
  245. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  246. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  247. package/docs/components/TabContent/examples/TabContent.md +10 -10
  248. package/docs/components/Table/examples/Table.md +8 -8
  249. package/docs/components/Tabs/examples/Tabs.css +1 -1
  250. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  251. package/docs/components/Tile/examples/Tile.md +264 -144
  252. package/docs/components/Title/examples/Title.md +18 -0
  253. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  254. package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
  255. package/docs/components/TreeView/examples/TreeView.md +7 -57
  256. package/docs/components/Truncate/examples/Truncate.css +2 -2
  257. package/docs/components/Wizard/examples/Wizard.md +31 -7
  258. package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
  259. package/docs/demos/Alert/examples/Alert.md +366 -99
  260. package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
  261. package/docs/demos/Banner/examples/Banner.md +235 -68
  262. package/docs/demos/Button/examples/Button.md +1 -1
  263. package/docs/demos/Card/examples/Card.md +2 -2
  264. package/docs/demos/CardView/examples/CardView.md +256 -192
  265. package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
  266. package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
  267. package/docs/demos/DataList/examples/DataList.md +1049 -950
  268. package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
  269. package/docs/demos/Drawer/examples/Drawer.md +700 -271
  270. package/docs/demos/Form/examples/BasicForms.md +138 -84
  271. package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
  272. package/docs/demos/Masthead/examples/Masthead.md +833 -357
  273. package/docs/demos/Modal/examples/Modal.md +717 -222
  274. package/docs/demos/Nav/examples/Nav.md +763 -926
  275. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
  276. package/docs/demos/Page/examples/Page.md +1050 -309
  277. package/docs/demos/Page/examples/Penta.md +73 -31
  278. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
  279. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  280. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
  281. package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
  282. package/docs/demos/Table/examples/Table.md +4002 -3503
  283. package/docs/demos/Tabs/examples/Tabs.md +711 -219
  284. package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  285. package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
  286. package/docs/demos/Wizard/examples/Wizard.md +1134 -315
  287. package/docs/layouts/Flex/examples/Flex.md +11 -11
  288. package/package.json +32 -32
  289. package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
  290. package/patternfly-base-no-globals.css +1021 -868
  291. package/patternfly-base-theme-dark-unversioned.css +1027 -873
  292. package/patternfly-base.css +1027 -873
  293. package/patternfly-no-globals.css +9048 -8979
  294. package/patternfly-theme-dark-unversioned.css +9051 -8981
  295. package/patternfly.css +9051 -8981
  296. package/patternfly.min.css +1 -1
  297. package/patternfly.min.css.map +1 -1
  298. package/sass-utilities/mixins.scss +18 -0
  299. package/base/themes/dark/_variables.scss +0 -102
  300. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  301. package/components/Accordion/themes/dark/accordion.scss +0 -9
  302. package/components/Alert/themes/dark/alert.scss +0 -17
  303. package/components/Badge/themes/dark/badge.scss +0 -9
  304. package/components/Banner/themes/dark/banner.scss +0 -14
  305. package/components/Button/themes/dark/button.scss +0 -51
  306. package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
  307. package/components/Card/themes/dark/card.scss +0 -20
  308. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  309. package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
  310. package/components/DataList/themes/dark/data-list.scss +0 -10
  311. package/components/DatePicker/themes/dark/date-picker.scss +0 -8
  312. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  313. package/components/Drawer/themes/dark/drawer.scss +0 -13
  314. package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
  315. package/components/Form/themes/dark/form.scss +0 -7
  316. package/components/FormControl/themes/dark/form-control.scss +0 -24
  317. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  318. package/components/Hint/themes/dark/hint.scss +0 -8
  319. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  320. package/components/Label/themes/dark/label.scss +0 -53
  321. package/components/Login/themes/dark/login.scss +0 -12
  322. package/components/Masthead/themes/dark/masthead.scss +0 -14
  323. package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
  324. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  325. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  326. package/components/Page/themes/dark/page.scss +0 -69
  327. package/components/Pagination/themes/dark/pagination.scss +0 -7
  328. package/components/Panel/themes/dark/panel.scss +0 -7
  329. package/components/Popover/themes/dark/popover.scss +0 -11
  330. package/components/Progress/themes/dark/progress.scss +0 -9
  331. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  332. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  333. package/components/Switch/themes/dark/switch.scss +0 -11
  334. package/components/Tabs/themes/dark/tabs.scss +0 -10
  335. package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
  336. package/components/Tile/themes/dark/tile.scss +0 -10
  337. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  338. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  339. package/components/TreeView/themes/dark/tree-view.scss +0 -8
  340. package/components/Wizard/themes/dark/wizard.scss +0 -12
  341. package/docs/components/Avatar/examples/Avatar.css +0 -3
@@ -14,7 +14,7 @@ cssPrefix: pf-v5-c-button
14
14
  <button class="pf-v5-c-button pf-m-secondary" type="button">Secondary</button>
15
15
 
16
16
  <button
17
- class="pf-v5-c-button pf-m-secondary pf-m-danger"
17
+ class="pf-v5-c-button pf-m-danger pf-m-secondary"
18
18
  type="button"
19
19
  >Secondary danger</button>
20
20
 
@@ -26,18 +26,86 @@ 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-link pf-m-danger" type="button">Link danger</button>
33
+
34
+ <button class="pf-v5-c-button pf-m-inline pf-m-link" 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
64
+ </button>
65
+
66
+ <button class="pf-v5-c-button pf-m-secondary" type="button">
67
+ <span class="pf-v5-c-button__icon pf-m-start">
68
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
69
+ </span>
70
+ Secondary
71
+ </button>
72
+
73
+ <button class="pf-v5-c-button pf-m-danger pf-m-secondary" type="button">
74
+ <span class="pf-v5-c-button__icon pf-m-start">
75
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
76
+ </span>
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
34
92
  </button>
35
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
99
+ </button>
100
+
101
+ <br />
102
+ <br />
103
+
36
104
  <button class="pf-v5-c-button pf-m-link" type="button">
37
- Link
38
- <span class="pf-v5-c-button__icon pf-m-end">
105
+ <span class="pf-v5-c-button__icon pf-m-start">
39
106
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
40
107
  </span>
108
+ Link
41
109
  </button>
42
110
 
43
111
  <button class="pf-v5-c-button pf-m-link pf-m-danger" type="button">
@@ -47,25 +115,26 @@ cssPrefix: pf-v5-c-button
47
115
  Link danger
48
116
  </button>
49
117
 
50
- <button class="pf-v5-c-button pf-m-inline pf-m-link" type="button">Inline link</button>
51
- <br />
52
- <br />
53
- <span>Default plain button:</span>
54
- <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
55
- <i class="fas fa-times" aria-hidden="true"></i>
118
+ <button class="pf-v5-c-button pf-m-inline pf-m-link" 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
56
123
  </button>
57
- <br />
58
- <span>No padding plain button:</span>
59
- <button
60
- class="pf-v5-c-button pf-m-plain pf-m-no-padding"
61
- type="button"
62
- aria-label="Remove"
63
- >
124
+
125
+ <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
64
126
  <i class="fas fa-times" aria-hidden="true"></i>
65
127
  </button>
128
+
66
129
  <br />
67
130
  <br />
68
- <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>
69
138
 
70
139
  <button
71
140
  class="pf-v5-c-button pf-m-control"
@@ -75,206 +144,1256 @@ cssPrefix: pf-v5-c-button
75
144
  <i class="fas fa-copy" aria-hidden="true"></i>
76
145
  </button>
77
146
 
78
- ```
147
+ <br />
148
+ <br />
79
149
 
80
- ### Small buttons
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>
81
159
 
82
- ```html
83
- <button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">Primary</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>
84
166
 
85
- <button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">Secondary</button>
167
+ <button class="pf-v5-c-button pf-m-danger pf-m-secondary" 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>
86
173
 
87
- <button
88
- class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-small"
89
- type="button"
90
- >Secondary danger</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>
91
180
 
92
- <button class="pf-v5-c-button pf-m-tertiary pf-m-small" type="button">Tertiary</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>
93
187
 
94
- <button class="pf-v5-c-button pf-m-danger pf-m-small" type="button">Danger</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>
95
194
 
96
- <button class="pf-v5-c-button pf-m-warning pf-m-small" type="button">Warning</button>
195
+ <br />
196
+ <br />
97
197
 
98
- <button class="pf-v5-c-button pf-m-link pf-m-small" type="button">
198
+ <button class="pf-v5-c-button pf-m-link" type="button">
99
199
  Link
100
200
  <span class="pf-v5-c-button__icon pf-m-end">
101
201
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
102
202
  </span>
103
203
  </button>
104
204
 
105
- <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-link pf-m-danger" type="button">
106
206
  Link danger
107
207
  <span class="pf-v5-c-button__icon pf-m-end">
108
208
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
109
209
  </span>
110
210
  </button>
111
211
 
212
+ <button class="pf-v5-c-button pf-m-inline pf-m-link" 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
+
112
233
  <button
113
- class="pf-v5-c-button pf-m-inline pf-m-link pf-m-small"
234
+ class="pf-v5-c-button pf-m-control"
114
235
  type="button"
115
- >Inline link</button>
116
-
117
- <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>
118
240
 
119
241
  ```
120
242
 
121
- ### Disabled
243
+ ### Clicked buttons
122
244
 
123
245
  ```html
246
+ <button class="pf-v5-c-button pf-m-clicked pf-m-primary" type="button">Primary</button>
247
+
124
248
  <button
125
- class="pf-v5-c-button pf-m-primary"
249
+ class="pf-v5-c-button pf-m-clicked pf-m-secondary"
126
250
  type="button"
127
- disabled
128
- >Primary disabled</button>
251
+ >Secondary</button>
129
252
 
130
253
  <button
131
- class="pf-v5-c-button pf-m-secondary"
254
+ class="pf-v5-c-button pf-m-clicked pf-m-danger pf-m-secondary"
132
255
  type="button"
133
- disabled
134
- >Secondary disabled</button>
256
+ >Secondary danger</button>
257
+
258
+ <button class="pf-v5-c-button pf-m-clicked pf-m-tertiary" type="button">Tertiary</button>
259
+
260
+ <button class="pf-v5-c-button pf-m-clicked pf-m-danger" type="button">Danger</button>
261
+
262
+ <button class="pf-v5-c-button pf-m-clicked pf-m-warning" type="button">Warning</button>
263
+
264
+ <br />
265
+ <br />
266
+
267
+ <button class="pf-v5-c-button pf-m-clicked pf-m-link" type="button">Link</button>
135
268
 
136
269
  <button
137
- class="pf-v5-c-button pf-m-secondary pf-m-danger"
270
+ class="pf-v5-c-button pf-m-clicked pf-m-link pf-m-danger"
138
271
  type="button"
139
- disabled
140
- >Secondary danger disabled</button>
272
+ >Link danger</button>
141
273
 
142
274
  <button
143
- class="pf-v5-c-button pf-m-tertiary"
275
+ class="pf-v5-c-button pf-m-clicked pf-m-inline pf-m-link"
144
276
  type="button"
145
- disabled
146
- >Tertiary disabled</button>
277
+ >Inline link</button>
147
278
 
148
279
  <button
149
- class="pf-v5-c-button pf-m-danger"
280
+ class="pf-v5-c-button pf-m-clicked pf-m-plain"
150
281
  type="button"
151
- disabled
152
- >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-clicked pf-m-control" type="button">Control</button>
153
291
 
154
292
  <button
155
- class="pf-v5-c-button pf-m-warning"
293
+ class="pf-v5-c-button pf-m-clicked pf-m-control"
156
294
  type="button"
157
- disabled
158
- >Warning disabled</button>
295
+ aria-label="Copy input"
296
+ >
297
+ <i class="fas fa-copy" aria-hidden="true"></i>
298
+ </button>
159
299
 
160
- <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-clicked pf-m-primary" type="button">
161
307
  <span class="pf-v5-c-button__icon pf-m-start">
162
308
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
163
309
  </span>
164
- Link disabled
310
+ Primary
165
311
  </button>
166
312
 
167
- <button class="pf-v5-c-button pf-m-link pf-m-danger" type="button" disabled>
313
+ <button class="pf-v5-c-button pf-m-clicked pf-m-secondary" 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-clicked pf-m-danger pf-m-secondary"
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-clicked pf-m-tertiary" 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-clicked pf-m-danger" 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-clicked pf-m-warning" 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-clicked pf-m-link" 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-clicked pf-m-link pf-m-danger" 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-clicked pf-m-inline pf-m-link" 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-clicked pf-m-plain"
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-clicked pf-m-control" type="button">
387
+ <span class="pf-v5-c-button__icon pf-m-start">
388
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
389
+ </span>
390
+ Control
391
+ </button>
392
+
393
+ <button
394
+ class="pf-v5-c-button pf-m-clicked pf-m-control"
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-clicked pf-m-primary" 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-clicked pf-m-secondary" 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>
419
+ </button>
420
+
421
+ <button
422
+ class="pf-v5-c-button pf-m-clicked pf-m-danger pf-m-secondary"
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-clicked pf-m-tertiary" 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-clicked pf-m-danger" 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-clicked pf-m-warning" 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-clicked pf-m-link" 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-clicked pf-m-link pf-m-danger" 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-clicked pf-m-inline pf-m-link" 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-clicked pf-m-plain"
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-clicked pf-m-control" 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-clicked pf-m-control"
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-small pf-m-primary" type="button">Primary</button>
508
+
509
+ <button class="pf-v5-c-button pf-m-small pf-m-secondary" type="button">Secondary</button>
510
+
511
+ <button
512
+ class="pf-v5-c-button pf-m-small pf-m-danger pf-m-secondary"
513
+ type="button"
514
+ >Secondary danger</button>
515
+
516
+ <button class="pf-v5-c-button pf-m-small pf-m-tertiary" type="button">Tertiary</button>
517
+
518
+ <button class="pf-v5-c-button pf-m-small pf-m-danger" type="button">Danger</button>
519
+
520
+ <button class="pf-v5-c-button pf-m-small pf-m-warning" type="button">Warning</button>
521
+
522
+ <br />
523
+ <br />
524
+
525
+ <button class="pf-v5-c-button pf-m-small pf-m-link" type="button">Link</button>
526
+
527
+ <button
528
+ class="pf-v5-c-button pf-m-small pf-m-link pf-m-danger"
529
+ type="button"
530
+ >Link danger</button>
531
+
532
+ <button
533
+ class="pf-v5-c-button pf-m-small pf-m-inline pf-m-link"
534
+ type="button"
535
+ >Inline link</button>
536
+
537
+ <button
538
+ class="pf-v5-c-button pf-m-small pf-m-plain"
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-small pf-m-control" type="button">Control</button>
549
+
550
+ <button
551
+ class="pf-v5-c-button pf-m-small pf-m-control"
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-small pf-m-primary" 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-small pf-m-secondary" 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-small pf-m-danger pf-m-secondary"
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-small pf-m-tertiary" 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-small pf-m-danger" 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-small pf-m-warning" 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-small pf-m-link" 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-small pf-m-link pf-m-danger" 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-small pf-m-inline pf-m-link" 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-small pf-m-plain"
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-small pf-m-control" 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-small pf-m-control"
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-small pf-m-primary" 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-small pf-m-secondary" 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-small pf-m-danger pf-m-secondary"
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-small pf-m-tertiary" 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-small pf-m-danger" 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-small pf-m-warning" 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-small pf-m-link" 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-small pf-m-link pf-m-danger" 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-small pf-m-inline pf-m-link" 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-small pf-m-plain"
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-small pf-m-control" 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-small pf-m-control"
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-danger pf-m-secondary"
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-link pf-m-danger"
788
+ type="button"
789
+ disabled
790
+ >Link danger</button>
791
+
792
+ <button
793
+ class="pf-v5-c-button pf-m-inline pf-m-link"
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-danger pf-m-secondary"
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-link pf-m-danger" 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-inline pf-m-link" 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-danger pf-m-secondary"
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-link pf-m-danger" 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-inline pf-m-link" 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-aria-disabled pf-m-primary"
1036
+ type="button"
1037
+ aria-disabled="true"
1038
+ >Primary</button>
1039
+
1040
+ <button
1041
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-secondary"
1042
+ type="button"
1043
+ aria-disabled="true"
1044
+ >Secondary</button>
1045
+
1046
+ <button
1047
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-danger pf-m-secondary"
1048
+ type="button"
1049
+ aria-disabled="true"
1050
+ >Secondary danger</button>
1051
+
1052
+ <button
1053
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-tertiary"
1054
+ type="button"
1055
+ aria-disabled="true"
1056
+ >Tertiary</button>
1057
+
1058
+ <button
1059
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-danger"
1060
+ type="button"
1061
+ aria-disabled="true"
1062
+ >Danger</button>
1063
+
1064
+ <button
1065
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-warning"
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-aria-disabled pf-m-link"
1075
+ type="button"
1076
+ aria-disabled="true"
1077
+ >Link</button>
1078
+
1079
+ <button
1080
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-link pf-m-danger"
1081
+ type="button"
1082
+ aria-disabled="true"
1083
+ >Link danger</button>
1084
+
1085
+ <button
1086
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-inline pf-m-link"
1087
+ type="button"
1088
+ aria-disabled="true"
1089
+ >Inline link</button>
1090
+
1091
+ <button
1092
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-plain"
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-aria-disabled pf-m-control"
1105
+ type="button"
1106
+ aria-disabled="true"
1107
+ >Control</button>
1108
+
1109
+ <button
1110
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-control"
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-aria-disabled pf-m-primary"
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-aria-disabled pf-m-secondary"
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-aria-disabled pf-m-danger pf-m-secondary"
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-aria-disabled pf-m-tertiary"
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-aria-disabled pf-m-danger"
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-aria-disabled pf-m-warning"
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-aria-disabled pf-m-link"
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-aria-disabled pf-m-link pf-m-danger"
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-aria-disabled pf-m-inline pf-m-link"
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-aria-disabled pf-m-plain"
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-aria-disabled pf-m-control"
1240
+ type="button"
1241
+ aria-disabled="true"
1242
+ >
168
1243
  <span class="pf-v5-c-button__icon pf-m-start">
169
1244
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
170
1245
  </span>
171
- Link danger disabled
1246
+ Control
172
1247
  </button>
173
1248
 
174
1249
  <button
175
- class="pf-v5-c-button pf-m-link pf-m-inline"
176
- type="button"
177
- disabled
178
- >Inline link disabled</button>
179
-
180
- <button
181
- class="pf-v5-c-button pf-m-plain"
1250
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-control"
182
1251
  type="button"
183
- aria-label="Remove"
184
- disabled
1252
+ aria-disabled="true"
1253
+ aria-label="Copy input"
185
1254
  >
186
- <i class="fas fa-times" aria-hidden="true"></i>
1255
+ <i class="fas fa-copy" aria-hidden="true"></i>
187
1256
  </button>
188
1257
 
1258
+ <br />
1259
+ <br />
1260
+
1261
+ <div>
1262
+ <strong>Icon end</strong>
1263
+ </div>
189
1264
  <button
190
- class="pf-v5-c-button pf-m-control"
1265
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-primary"
191
1266
  type="button"
192
- disabled
193
- >Control disabled</button>
194
-
195
- ```
196
-
197
- ### Aria-disabled
1267
+ aria-disabled="true"
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>
198
1274
 
199
- ```html
200
1275
  <button
201
- class="pf-v5-c-button pf-m-primary pf-m-aria-disabled"
1276
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-secondary"
202
1277
  type="button"
203
1278
  aria-disabled="true"
204
- >Primary 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>
205
1285
 
206
1286
  <button
207
- class="pf-v5-c-button pf-m-secondary pf-m-aria-disabled"
1287
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-danger pf-m-secondary"
208
1288
  type="button"
209
1289
  aria-disabled="true"
210
- >Secondary 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>
211
1296
 
212
1297
  <button
213
- class="pf-v5-c-button pf-m-secondary pf-m-danger pf-m-aria-disabled"
1298
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-tertiary"
214
1299
  type="button"
215
1300
  aria-disabled="true"
216
- >Secondary danger 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>
217
1307
 
218
1308
  <button
219
- class="pf-v5-c-button pf-m-tertiary pf-m-aria-disabled"
1309
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-danger"
220
1310
  type="button"
221
1311
  aria-disabled="true"
222
- >Tertiary 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>
223
1318
 
224
1319
  <button
225
- class="pf-v5-c-button pf-m-danger pf-m-aria-disabled"
1320
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-warning"
226
1321
  type="button"
227
1322
  aria-disabled="true"
228
- >Danger 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 />
229
1332
 
230
1333
  <button
231
- class="pf-v5-c-button pf-m-warning pf-m-aria-disabled"
1334
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-link"
232
1335
  type="button"
233
1336
  aria-disabled="true"
234
- >Warning disabled</button>
1337
+ >
1338
+ Link
1339
+ <span class="pf-v5-c-button__icon pf-m-end">
1340
+ <i class="fas fa-plus-circle" aria-hidden="true"></i>
1341
+ </span>
1342
+ </button>
235
1343
 
236
1344
  <button
237
- class="pf-v5-c-button pf-m-link pf-m-aria-disabled"
1345
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-link pf-m-danger"
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 disabled
245
1353
  </button>
246
1354
 
247
1355
  <button
248
- class="pf-v5-c-button pf-m-link pf-m-danger pf-m-aria-disabled"
1356
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-inline pf-m-link"
249
1357
  type="button"
250
1358
  aria-disabled="true"
251
1359
  >
252
- <span class="pf-v5-c-button__icon pf-m-start">
1360
+ Inline link
1361
+ <span class="pf-v5-c-button__icon pf-m-end">
253
1362
  <i class="fas fa-plus-circle" aria-hidden="true"></i>
254
1363
  </span>
255
- Link danger disabled
256
1364
  </button>
257
1365
 
258
1366
  <button
259
- class="pf-v5-c-button pf-m-link pf-m-inline pf-m-aria-disabled"
1367
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-plain"
260
1368
  type="button"
261
1369
  aria-disabled="true"
262
- >Inline link disabled</button>
1370
+ aria-label="Remove"
1371
+ >
1372
+ <i class="fas fa-times" aria-hidden="true"></i>
1373
+ </button>
1374
+
1375
+ <br />
1376
+ <br />
263
1377
 
264
1378
  <button
265
- class="pf-v5-c-button pf-m-plain pf-m-aria-disabled"
1379
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-control"
266
1380
  type="button"
267
- aria-label="Remove"
268
1381
  aria-disabled="true"
269
1382
  >
270
- <i class="fas fa-times" aria-hidden="true"></i>
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>
271
1387
  </button>
272
1388
 
273
1389
  <button
274
- class="pf-v5-c-button pf-m-control pf-m-aria-disabled"
1390
+ class="pf-v5-c-button pf-m-aria-disabled pf-m-control"
275
1391
  type="button"
276
1392
  aria-disabled="true"
277
- >Control disabled</button>
1393
+ aria-label="Copy input"
1394
+ >
1395
+ <i class="fas fa-copy" aria-hidden="true"></i>
1396
+ </button>
278
1397
 
279
1398
  ```
280
1399
 
@@ -320,7 +1439,34 @@ cssPrefix: pf-v5-c-button
320
1439
  ### Inline link as span
321
1440
 
322
1441
  ```html
323
- 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-no-padding pf-m-plain"
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.
324
1470
  <span
325
1471
  class="pf-v5-c-button pf-m-link pf-m-inline"
326
1472
  type="button"
@@ -386,6 +1532,45 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
386
1532
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
387
1533
  </span>
388
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>
389
1574
 
390
1575
  ```
391
1576
 
@@ -393,12 +1578,12 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
393
1578
 
394
1579
  ```html
395
1580
  <button
396
- class="pf-v5-c-button pf-m-progress pf-m-primary"
1581
+ class="pf-v5-c-button pf-m-primary pf-m-progress"
397
1582
  type="button"
398
1583
  >Primary loader</button>
399
1584
 
400
1585
  <button
401
- class="pf-v5-c-button pf-m-progress pf-m-in-progress pf-m-primary"
1586
+ class="pf-v5-c-button pf-m-primary pf-m-in-progress pf-m-progress"
402
1587
  type="button"
403
1588
  >
404
1589
  <span class="pf-v5-c-button__progress">
@@ -415,12 +1600,12 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
415
1600
  </button>
416
1601
  <br />
417
1602
  <button
418
- class="pf-v5-c-button pf-m-progress pf-m-secondary"
1603
+ class="pf-v5-c-button pf-m-secondary pf-m-progress"
419
1604
  type="button"
420
1605
  >Secondary loader</button>
421
1606
 
422
1607
  <button
423
- class="pf-v5-c-button pf-m-progress pf-m-in-progress pf-m-secondary"
1608
+ class="pf-v5-c-button pf-m-secondary pf-m-in-progress pf-m-progress"
424
1609
  type="button"
425
1610
  >
426
1611
  <span class="pf-v5-c-button__progress">
@@ -440,7 +1625,7 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
440
1625
  <i class="fas fa-upload" aria-hidden="true"></i>
441
1626
  </button>
442
1627
 
443
- <button class="pf-v5-c-button pf-m-in-progress pf-m-plain" type="button">
1628
+ <button class="pf-v5-c-button pf-m-plain pf-m-in-progress" type="button">
444
1629
  <span class="pf-v5-c-button__progress">
445
1630
  <svg
446
1631
  class="pf-v5-c-spinner pf-m-md"
@@ -456,12 +1641,12 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
456
1641
  </button>
457
1642
  <br />
458
1643
  <button
459
- class="pf-v5-c-button pf-m-progress pf-m-inline pf-m-link"
1644
+ class="pf-v5-c-button pf-m-link pf-m-progress pf-m-inline"
460
1645
  type="button"
461
1646
  >Inline loader</button>
462
1647
 
463
1648
  <button
464
- 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-link pf-m-in-progress pf-m-progress pf-m-inline"
465
1650
  type="button"
466
1651
  >
467
1652
  <span class="pf-v5-c-button__progress">
@@ -479,12 +1664,80 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
479
1664
 
480
1665
  ```
481
1666
 
482
- ### Link button with a count
1667
+ ### Counts
483
1668
 
484
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
+
485
1737
  <button
486
1738
  class="pf-v5-c-button pf-m-link"
487
1739
  type="button"
1740
+ disabled
488
1741
  aria-label="View 7 issues"
489
1742
  >
490
1743
  View issues
@@ -495,6 +1748,7 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
495
1748
  <button
496
1749
  class="pf-v5-c-button pf-m-link"
497
1750
  type="button"
1751
+ disabled
498
1752
  aria-label="View 7 issues"
499
1753
  >
500
1754
  View issues
@@ -505,6 +1759,77 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
505
1759
 
506
1760
  ```
507
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
+
508
1833
  ## Documentation
509
1834
 
510
1835
  ### Overview
@@ -533,7 +1858,7 @@ Semantic buttons and links are important for usability as well as accessibility.
533
1858
 
534
1859
  | Class | Applied to | Outcome |
535
1860
  | -- | -- | -- |
536
- | `.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** |
537
1862
  | `.pf-v5-c-button__icon` | `<span>` | Initiates a button icon. |
538
1863
  | `.pf-v5-c-button__progress` | `<span>` | Initiates a button progress container. |
539
1864
  | `.pf-v5-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons.|
@@ -557,3 +1882,4 @@ Semantic buttons and links are important for usability as well as accessibility.
557
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. |
558
1883
  | `.pf-m-progress` | `.pf-v5-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
559
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`. |