@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.70
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.
- package/CODE_OF_CONDUCT.md +1 -2
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +5 -7
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -4
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +859 -833
- package/base/tokens/_tokens-dark.scss +306 -284
- package/base/tokens/_tokens-default.scss +415 -329
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +68 -68
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +78 -104
- package/components/AboutModalBox/about-modal-box.scss +62 -74
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +14 -14
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +417 -359
- package/components/Button/button.scss +472 -484
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +117 -203
- package/components/Card/card.scss +137 -246
- package/components/Check/check.css +25 -22
- package/components/Check/check.scss +26 -24
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +47 -41
- package/components/ClipboardCopy/clipboard-copy.scss +50 -34
- package/components/CodeBlock/code-block.css +24 -12
- package/components/CodeBlock/code-block.scss +24 -13
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +40 -37
- package/components/Content/content.scss +40 -37
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +165 -209
- package/components/DataList/data-list.scss +138 -185
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +47 -39
- package/components/DescriptionList/description-list.scss +33 -30
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +26 -22
- package/components/DragDrop/drag-drop.scss +26 -25
- package/components/Drawer/drawer.css +216 -158
- package/components/Drawer/drawer.scss +199 -150
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +31 -43
- package/components/FileUpload/file-upload.scss +31 -49
- package/components/Form/form.css +111 -154
- package/components/Form/form.scss +101 -160
- package/components/FormControl/form-control.css +95 -111
- package/components/FormControl/form-control.scss +97 -92
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +155 -19
- package/components/Icon/icon.scss +188 -21
- package/components/InlineEdit/inline-edit.css +12 -11
- package/components/InlineEdit/inline-edit.scss +12 -11
- package/components/InputGroup/input-group.css +32 -42
- package/components/InputGroup/input-group.scss +31 -33
- package/components/JumpLinks/jump-links.css +61 -58
- package/components/JumpLinks/jump-links.scss +61 -60
- package/components/Label/label-group.css +48 -50
- package/components/Label/label-group.scss +48 -51
- package/components/Label/label.css +382 -363
- package/components/Label/label.scss +441 -356
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +262 -506
- package/components/Masthead/masthead.scss +123 -289
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +37 -31
- package/components/MenuToggle/menu-toggle.scss +37 -33
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +87 -57
- package/components/MultipleFileUpload/multiple-file-upload.scss +92 -60
- package/components/Nav/nav.css +248 -899
- package/components/Nav/nav.scss +304 -1059
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +130 -128
- package/components/NotificationDrawer/notification-drawer.scss +130 -129
- package/components/NumberInput/number-input.css +10 -10
- package/components/NumberInput/number-input.scss +9 -14
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +182 -232
- package/components/Page/page.scss +130 -195
- package/components/Pagination/pagination.css +74 -121
- package/components/Pagination/pagination.scss +55 -125
- package/components/Panel/panel.css +40 -30
- package/components/Panel/panel.scss +42 -33
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +40 -52
- package/components/Progress/progress.scss +48 -62
- package/components/ProgressStepper/progress-stepper.css +98 -89
- package/components/ProgressStepper/progress-stepper.scss +90 -84
- package/components/Radio/radio.css +30 -23
- package/components/Radio/radio.scss +31 -25
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +31 -14
- package/components/Sidebar/sidebar.scss +34 -16
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +80 -55
- package/components/Slider/slider.scss +96 -65
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +49 -41
- package/components/Switch/switch.scss +51 -42
- package/components/TabContent/tab-content.css +21 -12
- package/components/TabContent/tab-content.scss +22 -15
- package/components/Table/table-grid.css +256 -195
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +105 -89
- package/components/Table/table.scss +105 -89
- package/components/Tabs/tabs.css +210 -214
- package/components/Tabs/tabs.scss +222 -254
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +47 -88
- package/components/Tile/tile.scss +45 -91
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +68 -59
- package/components/ToggleGroup/toggle-group.scss +72 -57
- package/components/Toolbar/toolbar.css +2553 -1054
- package/components/Toolbar/toolbar.scss +234 -516
- package/components/Tooltip/tooltip.css +74 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +13 -0
- package/components/Truncate/truncate.scss +19 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +6 -2
- package/docs/components/Button/examples/Button.md +1425 -87
- package/docs/components/Card/examples/Card.md +565 -148
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +3 -3
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3091 -704
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +300 -210
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +3 -42
- package/docs/components/Nav/examples/Navigation.md +305 -353
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +1211 -3487
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
- package/docs/demos/Alert/examples/Alert.md +330 -87
- package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
- package/docs/demos/Banner/examples/Banner.md +211 -60
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +28 -12
- package/docs/demos/CardView/examples/CardView.md +265 -207
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +105 -32
- package/docs/demos/DataList/examples/DataList.md +1002 -935
- package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
- package/docs/demos/Drawer/examples/Drawer.md +640 -251
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
- package/docs/demos/Masthead/examples/Masthead.md +786 -342
- package/docs/demos/Modal/examples/Modal.md +645 -198
- package/docs/demos/Nav/examples/Nav.md +691 -902
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
- package/docs/demos/Page/examples/Page.md +942 -273
- package/docs/demos/Page/examples/Penta.md +66 -26
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1333 -946
- package/docs/demos/Skeleton/examples/Skeleton.md +109 -64
- package/docs/demos/Table/examples/Table.md +3857 -3418
- package/docs/demos/Tabs/examples/Tabs.md +664 -215
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1313 -1475
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +895 -847
- package/patternfly-base-no-globals.css +895 -847
- package/patternfly-base-theme-dark-unversioned.css +899 -850
- package/patternfly-base.css +899 -850
- package/patternfly-no-globals.css +9935 -8997
- package/patternfly-theme-dark-unversioned.css +9940 -9001
- package/patternfly.css +9940 -9001
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +80 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- 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
|
-
|
|
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
|
-
|
|
63
|
+
Primary
|
|
34
64
|
</button>
|
|
35
65
|
|
|
36
|
-
<button class="pf-v5-c-button pf-m-
|
|
37
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
<
|
|
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
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
<
|
|
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-
|
|
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-
|
|
234
|
+
class="pf-v5-c-button pf-m-control"
|
|
103
235
|
type="button"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
<
|
|
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
|
-
###
|
|
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-
|
|
249
|
+
class="pf-v5-c-button pf-m-secondary pf-m-clicked"
|
|
115
250
|
type="button"
|
|
116
|
-
|
|
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
|
-
|
|
123
|
-
|
|
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-
|
|
270
|
+
class="pf-v5-c-button pf-m-danger pf-m-link pf-m-clicked"
|
|
127
271
|
type="button"
|
|
128
|
-
|
|
129
|
-
>Secondary danger disabled</button>
|
|
272
|
+
>Link danger</button>
|
|
130
273
|
|
|
131
274
|
<button
|
|
132
|
-
class="pf-v5-c-button pf-m-
|
|
275
|
+
class="pf-v5-c-button pf-m-link pf-m-inline pf-m-clicked"
|
|
133
276
|
type="button"
|
|
134
|
-
|
|
135
|
-
>Tertiary disabled</button>
|
|
277
|
+
>Inline link</button>
|
|
136
278
|
|
|
137
279
|
<button
|
|
138
|
-
class="pf-v5-c-button pf-m-
|
|
280
|
+
class="pf-v5-c-button pf-m-plain pf-m-clicked"
|
|
139
281
|
type="button"
|
|
140
|
-
|
|
141
|
-
>
|
|
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-
|
|
293
|
+
class="pf-v5-c-button pf-m-control pf-m-clicked"
|
|
145
294
|
type="button"
|
|
146
|
-
|
|
147
|
-
>
|
|
295
|
+
aria-label="Copy input"
|
|
296
|
+
>
|
|
297
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
298
|
+
</button>
|
|
148
299
|
|
|
149
|
-
<
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
1246
|
+
Control
|
|
161
1247
|
</button>
|
|
162
1248
|
|
|
163
1249
|
<button
|
|
164
|
-
class="pf-v5-c-button pf-m-
|
|
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-
|
|
173
|
-
|
|
1252
|
+
aria-disabled="true"
|
|
1253
|
+
aria-label="Copy input"
|
|
174
1254
|
>
|
|
175
|
-
<i class="fas fa-
|
|
1255
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
176
1256
|
</button>
|
|
177
1257
|
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
type="button"
|
|
181
|
-
disabled
|
|
182
|
-
>Control disabled</button>
|
|
183
|
-
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Aria-disabled
|
|
1258
|
+
<br />
|
|
1259
|
+
<br />
|
|
187
1260
|
|
|
188
|
-
|
|
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
|
-
>
|
|
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
|
-
>
|
|
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
|
-
>
|
|
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
|
-
>
|
|
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
|
-
>
|
|
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
|
-
>
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
-
>
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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
|
-
###
|
|
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`. |
|