@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.80
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/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/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +884 -871
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +311 -287
- package/base/tokens/_tokens-default.scss +425 -329
- package/base/tokens/_tokens-font.scss +29 -36
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- 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 +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +19 -16
- package/components/Breadcrumb/breadcrumb.scss +18 -16
- package/components/Button/button.css +419 -353
- package/components/Button/button.scss +476 -476
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +68 -114
- package/components/Form/form.scss +65 -126
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +380 -355
- package/components/Label/label.scss +434 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +70 -97
- package/components/Login/login.scss +56 -64
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +3 -0
- package/components/Menu/menu.scss +7 -3
- package/components/MenuToggle/menu-toggle.css +8 -8
- package/components/MenuToggle/menu-toggle.scss +8 -10
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +35 -52
- package/components/SimpleList/simple-list.scss +41 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +29 -45
- package/components/Table/table-grid.scss +40 -53
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +76 -74
- package/components/Table/table-tree-view.scss +44 -39
- package/components/Table/table.css +67 -93
- package/components/Table/table.scss +83 -105
- package/components/Tabs/tabs.css +143 -175
- package/components/Tabs/tabs.scss +159 -217
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- 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 +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- 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 +4 -0
- package/docs/components/Button/examples/Button.md +1419 -93
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- 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 +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +180 -180
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.md +507 -473
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +209 -356
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- 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.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- 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.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- 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 +985 -3355
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +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.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +241 -187
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
- package/docs/demos/DataList/examples/DataList.md +999 -938
- 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 +1183 -832
- package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
- package/docs/demos/Table/examples/Table.md +3811 -3456
- package/docs/demos/Tabs/examples/Tabs.md +636 -194
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
- package/patternfly-base-no-globals.css +897 -880
- package/patternfly-base-theme-dark-unversioned.css +890 -872
- package/patternfly-base.css +890 -872
- package/patternfly-no-globals.css +8053 -7977
- package/patternfly-theme-dark-unversioned.css +8059 -7982
- package/patternfly.css +8059 -7982
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- 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/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- 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/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -75,7 +75,7 @@ url: https://raw.githubusercontent.com/Azure-Samples/helm-charts/master/docs</co
|
|
|
75
75
|
kind: HelmChartRepository
|
|
76
76
|
metadata:
|
|
77
77
|
name: azure-sample-repo<div
|
|
78
|
-
class="pf-v5-c-expandable-section
|
|
78
|
+
class="pf-v5-c-expandable-section"
|
|
79
79
|
><div
|
|
80
80
|
class="pf-v5-c-expandable-section__content"
|
|
81
81
|
hidden
|
|
@@ -87,7 +87,7 @@ name: azure-sample-repo<div
|
|
|
87
87
|
</div>
|
|
88
88
|
</code>
|
|
89
89
|
</pre>
|
|
90
|
-
<div class="pf-v5-c-expandable-section
|
|
90
|
+
<div class="pf-v5-c-expandable-section">
|
|
91
91
|
<button
|
|
92
92
|
type="button"
|
|
93
93
|
class="pf-v5-c-expandable-section__toggle"
|
|
@@ -136,7 +136,7 @@ name: azure-sample-repo<div
|
|
|
136
136
|
kind: HelmChartRepository
|
|
137
137
|
metadata:
|
|
138
138
|
name: azure-sample-repo<div
|
|
139
|
-
class="pf-v5-c-expandable-section pf-m-expanded
|
|
139
|
+
class="pf-v5-c-expandable-section pf-m-expanded"
|
|
140
140
|
><div
|
|
141
141
|
class="pf-v5-c-expandable-section__content"
|
|
142
142
|
id="code-block-expandable-expanded-content"
|
|
@@ -147,7 +147,7 @@ name: azure-sample-repo<div
|
|
|
147
147
|
</div>
|
|
148
148
|
</code>
|
|
149
149
|
</pre>
|
|
150
|
-
<div class="pf-v5-c-expandable-section pf-m-expanded
|
|
150
|
+
<div class="pf-v5-c-expandable-section pf-m-expanded">
|
|
151
151
|
<button
|
|
152
152
|
type="button"
|
|
153
153
|
class="pf-v5-c-expandable-section__toggle"
|
|
@@ -9,30 +9,32 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
9
9
|
```html
|
|
10
10
|
<div class="pf-v5-c-code-editor">
|
|
11
11
|
<div class="pf-v5-c-code-editor__header">
|
|
12
|
-
<div class="pf-v5-c-code-
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
<div class="pf-v5-c-code-editor__header-content">
|
|
13
|
+
<div class="pf-v5-c-code-editor__controls">
|
|
14
|
+
<button
|
|
15
|
+
class="pf-v5-c-button pf-m-plain"
|
|
16
|
+
type="button"
|
|
17
|
+
aria-label="Copy to clipboard"
|
|
18
|
+
>
|
|
19
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
20
|
+
</button>
|
|
21
|
+
<button
|
|
22
|
+
class="pf-v5-c-button pf-m-plain"
|
|
23
|
+
type="button"
|
|
24
|
+
aria-label="Download code"
|
|
25
|
+
>
|
|
26
|
+
<i class="fas fa-download"></i>
|
|
27
|
+
</button>
|
|
28
|
+
<button
|
|
29
|
+
class="pf-v5-c-button pf-m-plain"
|
|
30
|
+
type="button"
|
|
31
|
+
aria-label="Upload code"
|
|
32
|
+
>
|
|
33
|
+
<i class="fas fa-upload"></i>
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="pf-v5-c-code-editor__header-main"></div>
|
|
34
37
|
</div>
|
|
35
|
-
<div class="pf-v5-c-code-editor__header-main"></div>
|
|
36
38
|
<div class="pf-v5-c-code-editor__tab">
|
|
37
39
|
<span class="pf-v5-c-code-editor__tab-icon">
|
|
38
40
|
<i class="fas fa-code"></i>
|
|
@@ -56,31 +58,33 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
56
58
|
```html
|
|
57
59
|
<div class="pf-v5-c-code-editor pf-m-read-only">
|
|
58
60
|
<div class="pf-v5-c-code-editor__header">
|
|
59
|
-
<div class="pf-v5-c-code-
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
61
|
+
<div class="pf-v5-c-code-editor__header-content">
|
|
62
|
+
<div class="pf-v5-c-code-editor__controls">
|
|
63
|
+
<button
|
|
64
|
+
class="pf-v5-c-button pf-m-plain"
|
|
65
|
+
type="button"
|
|
66
|
+
aria-label="Copy to clipboard"
|
|
67
|
+
>
|
|
68
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
69
|
+
</button>
|
|
70
|
+
<button
|
|
71
|
+
class="pf-v5-c-button pf-m-plain"
|
|
72
|
+
type="button"
|
|
73
|
+
aria-label="Download code"
|
|
74
|
+
>
|
|
75
|
+
<i class="fas fa-download"></i>
|
|
76
|
+
</button>
|
|
77
|
+
<button
|
|
78
|
+
class="pf-v5-c-button pf-m-plain"
|
|
79
|
+
type="button"
|
|
80
|
+
aria-label="Upload code"
|
|
81
|
+
disabled
|
|
82
|
+
>
|
|
83
|
+
<i class="fas fa-upload"></i>
|
|
84
|
+
</button>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="pf-v5-c-code-editor__header-main"></div>
|
|
82
87
|
</div>
|
|
83
|
-
<div class="pf-v5-c-code-editor__header-main"></div>
|
|
84
88
|
<div class="pf-v5-c-code-editor__tab">
|
|
85
89
|
<span class="pf-v5-c-code-editor__tab-icon">
|
|
86
90
|
<i class="fas fa-code"></i>
|
|
@@ -113,30 +117,32 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
113
117
|
</div>
|
|
114
118
|
</div>
|
|
115
119
|
<div class="pf-v5-c-code-editor__main">
|
|
116
|
-
<div class="pf-v5-c-
|
|
117
|
-
<div class="pf-v5-c-empty-
|
|
118
|
-
<div class="pf-v5-c-empty-
|
|
119
|
-
<div class="pf-v5-c-empty-
|
|
120
|
-
<
|
|
120
|
+
<div class="pf-v5-c-code-editor__upload">
|
|
121
|
+
<div class="pf-v5-c-empty-state">
|
|
122
|
+
<div class="pf-v5-c-empty-state__content">
|
|
123
|
+
<div class="pf-v5-c-empty-state__header">
|
|
124
|
+
<div class="pf-v5-c-empty-state__icon">
|
|
125
|
+
<i class="fas fa- fa-code" aria-hidden="true"></i>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="pf-v5-c-empty-state__title">
|
|
128
|
+
<h1 class="pf-v5-c-empty-state__title-text">Start editing</h1>
|
|
129
|
+
</div>
|
|
121
130
|
</div>
|
|
122
|
-
<div class="pf-v5-c-empty-state__title">
|
|
123
|
-
<h1 class="pf-v5-c-empty-state__title-text">Start editing</h1>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
131
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
<div
|
|
133
|
+
class="pf-v5-c-empty-state__body"
|
|
134
|
+
>Drag a file here or browse to upload.</div>
|
|
130
135
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
<div class="pf-v5-c-empty-state__footer">
|
|
137
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
138
|
+
<button class="pf-v5-c-button pf-m-primary" type="button">Browse</button>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
141
|
+
<button
|
|
142
|
+
class="pf-v5-c-button pf-m-link"
|
|
143
|
+
type="button"
|
|
144
|
+
>Start from scratch</button>
|
|
145
|
+
</div>
|
|
140
146
|
</div>
|
|
141
147
|
</div>
|
|
142
148
|
</div>
|
|
@@ -160,30 +166,32 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
160
166
|
</div>
|
|
161
167
|
</div>
|
|
162
168
|
<div class="pf-v5-c-code-editor__main pf-m-drag-hover">
|
|
163
|
-
<div class="pf-v5-c-
|
|
164
|
-
<div class="pf-v5-c-empty-
|
|
165
|
-
<div class="pf-v5-c-empty-
|
|
166
|
-
<div class="pf-v5-c-empty-
|
|
167
|
-
<
|
|
169
|
+
<div class="pf-v5-c-code-editor__upload">
|
|
170
|
+
<div class="pf-v5-c-empty-state">
|
|
171
|
+
<div class="pf-v5-c-empty-state__content">
|
|
172
|
+
<div class="pf-v5-c-empty-state__header">
|
|
173
|
+
<div class="pf-v5-c-empty-state__icon">
|
|
174
|
+
<i class="fas fa- fa-code" aria-hidden="true"></i>
|
|
175
|
+
</div>
|
|
176
|
+
<div class="pf-v5-c-empty-state__title">
|
|
177
|
+
<h1 class="pf-v5-c-empty-state__title-text">Start editing</h1>
|
|
178
|
+
</div>
|
|
168
179
|
</div>
|
|
169
|
-
<div class="pf-v5-c-empty-state__title">
|
|
170
|
-
<h1 class="pf-v5-c-empty-state__title-text">Start editing</h1>
|
|
171
|
-
</div>
|
|
172
|
-
</div>
|
|
173
180
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
181
|
+
<div
|
|
182
|
+
class="pf-v5-c-empty-state__body"
|
|
183
|
+
>Drag a file here or browse to upload.</div>
|
|
177
184
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
<div class="pf-v5-c-empty-state__footer">
|
|
186
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
187
|
+
<button class="pf-v5-c-button pf-m-primary" type="button">Browse</button>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
190
|
+
<button
|
|
191
|
+
class="pf-v5-c-button pf-m-link"
|
|
192
|
+
type="button"
|
|
193
|
+
>Start from scratch</button>
|
|
194
|
+
</div>
|
|
187
195
|
</div>
|
|
188
196
|
</div>
|
|
189
197
|
</div>
|
|
@@ -198,37 +206,39 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
198
206
|
```html
|
|
199
207
|
<div class="pf-v5-c-code-editor">
|
|
200
208
|
<div class="pf-v5-c-code-editor__header">
|
|
201
|
-
<div class="pf-v5-c-code-
|
|
202
|
-
<
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
<
|
|
227
|
-
<
|
|
228
|
-
<
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
209
|
+
<div class="pf-v5-c-code-editor__header-content">
|
|
210
|
+
<div class="pf-v5-c-code-editor__controls">
|
|
211
|
+
<button
|
|
212
|
+
class="pf-v5-c-button pf-m-plain"
|
|
213
|
+
type="button"
|
|
214
|
+
aria-label="Copy to clipboard"
|
|
215
|
+
>
|
|
216
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
217
|
+
</button>
|
|
218
|
+
<button
|
|
219
|
+
class="pf-v5-c-button pf-m-plain"
|
|
220
|
+
type="button"
|
|
221
|
+
aria-label="Download code"
|
|
222
|
+
>
|
|
223
|
+
<i class="fas fa-download"></i>
|
|
224
|
+
</button>
|
|
225
|
+
<button
|
|
226
|
+
class="pf-v5-c-button pf-m-plain"
|
|
227
|
+
type="button"
|
|
228
|
+
aria-label="Upload code"
|
|
229
|
+
>
|
|
230
|
+
<i class="fas fa-upload"></i>
|
|
231
|
+
</button>
|
|
232
|
+
</div>
|
|
233
|
+
<div class="pf-v5-c-code-editor__header-main">Header main content</div>
|
|
234
|
+
<div class="pf-v5-c-code-editor__keyboard-shortcuts">
|
|
235
|
+
<button class="pf-v5-c-button pf-m-link" type="button">
|
|
236
|
+
<span class="pf-v5-c-button__icon pf-m-start">
|
|
237
|
+
<i class="pf-v5-pficon pf-v5-pficon-help" aria-hidden="true"></i>
|
|
238
|
+
</span>
|
|
239
|
+
View shortcuts
|
|
240
|
+
</button>
|
|
241
|
+
</div>
|
|
232
242
|
</div>
|
|
233
243
|
<div class="pf-v5-c-code-editor__tab">
|
|
234
244
|
<span class="pf-v5-c-code-editor__tab-icon">
|
|
@@ -252,15 +262,17 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
252
262
|
|
|
253
263
|
### Usage
|
|
254
264
|
|
|
255
|
-
| Class
|
|
256
|
-
|
|
|
257
|
-
| `.pf-v5-c-code-editor`
|
|
258
|
-
| `.pf-v5-c-code-editor__header`
|
|
259
|
-
| `.pf-v5-c-code-
|
|
260
|
-
| `.pf-v5-c-code-
|
|
261
|
-
| `.pf-v5-c-code-
|
|
262
|
-
| `.pf-v5-c-code-
|
|
263
|
-
| `.pf-v5-c-code-
|
|
264
|
-
| `.pf-v5-c-code-
|
|
265
|
-
| `.pf-v5-c-code-editor__tab
|
|
266
|
-
| `.pf-v5-c-code-editor__tab-
|
|
265
|
+
| Class | Applied to | Outcome |
|
|
266
|
+
| ------------------------------------------ | ---------- | --------------------------------------------------------------------------------------------- |
|
|
267
|
+
| `.pf-v5-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
|
|
268
|
+
| `.pf-v5-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
|
|
269
|
+
| `.pf-v5-c-code-editor__header-content` | `<div>` | Initiates the code editor header content used for the controls and tab elements. **Required** |
|
|
270
|
+
| `.pf-v5-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
|
|
271
|
+
| `.pf-v5-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
|
|
272
|
+
| `.pf-v5-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
|
|
273
|
+
| `.pf-v5-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
|
|
274
|
+
| `.pf-v5-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
|
|
275
|
+
| `.pf-v5-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
|
|
276
|
+
| `.pf-v5-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
|
|
277
|
+
| `.pf-v5-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
|
|
278
|
+
| `.pf-v5-c-code-editor__upload` | `<div>` | Initiates the code editor upload border. |
|
|
@@ -163,11 +163,11 @@ cssPrefix: pf-v5-c-content
|
|
|
163
163
|
|
|
164
164
|
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-v5-c-content` as container. It can handle almost any HTML tag:
|
|
165
165
|
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
166
|
+
* `<p>` paragraphs
|
|
167
|
+
* `<ul>` `<ol>` `<dl>` lists
|
|
168
|
+
* `<h1>` to `<h6>` headings
|
|
169
|
+
* `<blockquote>` quotes
|
|
170
|
+
* `<em>` and `<strong>`
|
|
171
171
|
|
|
172
172
|
This `pf-v5-c-content` class can be used in any context where you just want to (or can only) write some text.
|
|
173
173
|
|
|
@@ -70,7 +70,7 @@ cssPrefix: pf-v5-c-date-picker
|
|
|
70
70
|
<div class="pf-v5-c-date-picker__helper-text">
|
|
71
71
|
<div class="pf-v5-c-helper-text">
|
|
72
72
|
<div class="pf-v5-c-helper-text__item">
|
|
73
|
-
<span class="pf-v5-c-helper-text__item-text">Select a date
|
|
73
|
+
<span class="pf-v5-c-helper-text__item-text">Select a date</span>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
@@ -115,6 +115,9 @@ cssPrefix: pf-v5-c-date-picker
|
|
|
115
115
|
<div class="pf-v5-c-date-picker__helper-text">
|
|
116
116
|
<div class="pf-v5-c-helper-text">
|
|
117
117
|
<div class="pf-v5-c-helper-text__item pf-m-error">
|
|
118
|
+
<span class="pf-v5-c-helper-text__item-icon">
|
|
119
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
120
|
+
</span>
|
|
118
121
|
<span class="pf-v5-c-helper-text__item-text">Invalid date</span>
|
|
119
122
|
</div>
|
|
120
123
|
</div>
|
|
@@ -196,7 +199,7 @@ cssPrefix: pf-v5-c-date-picker
|
|
|
196
199
|
```html
|
|
197
200
|
<div
|
|
198
201
|
class="pf-v5-c-date-picker"
|
|
199
|
-
style="--pf-v5-c-date-picker__input--c-form-control--width-chars:
|
|
202
|
+
style="--pf-v5-c-date-picker__input--c-form-control--width-chars: 18;"
|
|
200
203
|
>
|
|
201
204
|
<div class="pf-v5-c-date-picker__input">
|
|
202
205
|
<div class="pf-v5-c-input-group">
|
|
@@ -34,24 +34,23 @@ cssPrefix: pf-v5-c-divider
|
|
|
34
34
|
### Inset medium
|
|
35
35
|
|
|
36
36
|
```html
|
|
37
|
-
<
|
|
37
|
+
<hr class="pf-v5-c-divider pf-m-inset-md" />
|
|
38
38
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### Md inset, no inset on md, 3xl inset on lg, lg inset on xl
|
|
42
42
|
|
|
43
43
|
```html
|
|
44
|
-
<
|
|
44
|
+
<hr
|
|
45
45
|
class="pf-v5-c-divider pf-m-inset-md pf-m-inset-none-on-md pf-m-inset-3xl-on-lg pf-m-inset-lg-on-xl"
|
|
46
|
-
|
|
47
|
-
></div>
|
|
46
|
+
/>
|
|
48
47
|
|
|
49
48
|
```
|
|
50
49
|
|
|
51
50
|
### Vertical
|
|
52
51
|
|
|
53
52
|
```html
|
|
54
|
-
<div class="pf-v5-c-divider pf-m-vertical
|
|
53
|
+
<div class="pf-v5-c-divider pf-m-vertical" role="separator"></div>
|
|
55
54
|
|
|
56
55
|
```
|
|
57
56
|
|
|
@@ -92,6 +91,32 @@ cssPrefix: pf-v5-c-divider
|
|
|
92
91
|
|
|
93
92
|
```
|
|
94
93
|
|
|
94
|
+
### In flex layout
|
|
95
|
+
|
|
96
|
+
```html
|
|
97
|
+
<strong>Horizontal</strong>
|
|
98
|
+
<br />
|
|
99
|
+
<br />
|
|
100
|
+
<div class="pf-v5-l-flex">
|
|
101
|
+
<div class="pf-v5-l-flex__item">item 1</div>
|
|
102
|
+
|
|
103
|
+
<div class="pf-v5-c-divider pf-m-vertical" role="separator"></div>
|
|
104
|
+
<div class="pf-v5-l-flex__item">item 1</div>
|
|
105
|
+
</div>
|
|
106
|
+
<br />
|
|
107
|
+
<br />
|
|
108
|
+
<strong>Vertical</strong>
|
|
109
|
+
<br />
|
|
110
|
+
<br />
|
|
111
|
+
<div class="pf-v5-l-flex pf-m-column">
|
|
112
|
+
<div class="pf-v5-l-flex__item">item 1</div>
|
|
113
|
+
|
|
114
|
+
<div class="pf-v5-c-divider" role="separator"></div>
|
|
115
|
+
<div class="pf-v5-l-flex__item">item 1</div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
|
|
95
120
|
## Documentation
|
|
96
121
|
|
|
97
122
|
### Overview
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.pf-v5-c-draggable.pf-m-dragging {
|
|
6
|
-
--pf-v5-c-draggable--m-dragging--BackgroundColor: var(--pf-
|
|
6
|
+
--pf-v5-c-draggable--m-dragging--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
7
7
|
|
|
8
8
|
position: absolute;
|
|
9
9
|
inset-block-start: 23%;
|