@patternfly/patternfly 6.0.0-alpha.4 → 6.0.0-alpha.41
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 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +889 -787
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +428 -306
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +69 -71
- 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 +2 -2
- package/components/ActionList/action-list.scss +2 -2
- 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 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- 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 +35 -23
- package/components/Button/button.scss +36 -26
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- 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 +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- 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 +100 -97
- package/components/Content/content.scss +101 -98
- 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 +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- 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 +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +59 -50
- package/components/Form/form.scss +50 -45
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- 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 +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- 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 +273 -498
- package/components/Masthead/masthead.scss +137 -282
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +90 -100
- package/components/MenuToggle/menu-toggle.scss +93 -111
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- 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 +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- 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 +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- 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 +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -43
- package/components/Toolbar/toolbar.scss +45 -25
- 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/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 +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +143 -37
- 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 +2 -2
- 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/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +12 -12
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- 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 +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +2 -8
- package/docs/components/Nav/examples/Navigation.md +240 -114
- 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/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- 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/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
- 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 +103 -30
- package/docs/demos/Alert/examples/Alert.md +303 -84
- package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
- package/docs/demos/Banner/examples/Banner.md +209 -58
- 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 +259 -197
- package/docs/demos/ContextSelector/examples/ContextSelector.md +374 -91
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +974 -907
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +505 -140
- package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
- package/docs/demos/Masthead/examples/Masthead.md +745 -310
- package/docs/demos/Modal/examples/Modal.md +606 -168
- package/docs/demos/Nav/examples/Nav.md +808 -224
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +909 -252
- package/docs/demos/Page/examples/Penta.md +570 -503
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1293 -914
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3842 -3400
- package/docs/demos/Tabs/examples/Tabs.md +636 -191
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1305 -1467
- package/docs/demos/Wizard/examples/Wizard.md +909 -252
- 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 +923 -799
- package/patternfly-base-no-globals.css +923 -799
- package/patternfly-base-theme-dark-unversioned.css +928 -804
- package/patternfly-base.css +928 -804
- package/patternfly-no-globals.css +5253 -4984
- package/patternfly-theme-dark-unversioned.css +5258 -4989
- package/patternfly.css +5258 -4989
- 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 +62 -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/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- 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/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- 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
|
@@ -185,7 +185,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
185
185
|
&.pf-m-horizontal {
|
|
186
186
|
&.pf-m-align-right {
|
|
187
187
|
.#{$form}__label {
|
|
188
|
-
text-align:
|
|
188
|
+
text-align: end;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
|
|
@@ -199,7 +199,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.#{$form}__group-label {
|
|
202
|
-
padding-
|
|
202
|
+
padding-block-start: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
|
|
203
203
|
|
|
204
204
|
// stylelint-disable-next-line
|
|
205
205
|
&.pf-m-no-padding-top {
|
|
@@ -221,8 +221,10 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.#{$form}__group {
|
|
224
|
+
min-width: 0;
|
|
225
|
+
|
|
224
226
|
&.pf-m-action {
|
|
225
|
-
margin-
|
|
227
|
+
margin-block-start: var(--#{$form}__group--m-action--MarginTop);
|
|
226
228
|
overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
|
|
227
229
|
}
|
|
228
230
|
}
|
|
@@ -233,12 +235,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
233
235
|
|
|
234
236
|
& + .#{$form}__group:not(.pf-m-action),
|
|
235
237
|
&:not(:first-child) {
|
|
236
|
-
margin-
|
|
238
|
+
margin-block-start: var(--#{$form}__section--MarginTop);
|
|
237
239
|
}
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
.#{$form}__section-title {
|
|
241
|
-
margin-
|
|
243
|
+
margin-block-end: var(--#{$form}__section-title--MarginBottom);
|
|
242
244
|
font-size: var(--#{$form}__section-title--FontSize);
|
|
243
245
|
font-weight: var(--#{$form}__section-title--FontWeight);
|
|
244
246
|
}
|
|
@@ -246,7 +248,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
246
248
|
.#{$form}__group-label {
|
|
247
249
|
--#{$form}__helper-text--MarginTop: 0;
|
|
248
250
|
|
|
249
|
-
padding-
|
|
251
|
+
padding-block-end: var(--#{$form}__group-label--PaddingBottom);
|
|
250
252
|
|
|
251
253
|
&.pf-m-info {
|
|
252
254
|
display: flex;
|
|
@@ -259,7 +261,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
.#{$form}__group-label-info {
|
|
262
|
-
margin-
|
|
264
|
+
margin-inline-start: var(--#{$form}__group-label-info--MarginLeft);
|
|
263
265
|
font-size: var(--#{$form}__group-label-info--FontSize);
|
|
264
266
|
}
|
|
265
267
|
|
|
@@ -289,20 +291,20 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
289
291
|
}
|
|
290
292
|
|
|
291
293
|
.#{$form}__label-required {
|
|
292
|
-
margin-
|
|
294
|
+
margin-inline-start: var(--#{$form}__label-required--MarginLeft);
|
|
293
295
|
font-size: var(--#{$form}__label-required--FontSize);
|
|
294
296
|
color: var(--#{$form}__label-required--Color);
|
|
295
297
|
}
|
|
296
298
|
|
|
297
299
|
.#{$form}__group-label-help {
|
|
298
|
-
padding-
|
|
299
|
-
padding-
|
|
300
|
-
padding-
|
|
301
|
-
padding-
|
|
302
|
-
margin-
|
|
303
|
-
margin-
|
|
304
|
-
margin-
|
|
305
|
-
margin-
|
|
300
|
+
padding-block-start: var(--#{$form}__group-label-help--PaddingTop);
|
|
301
|
+
padding-block-end: var(--#{$form}__group-label-help--PaddingBottom);
|
|
302
|
+
padding-inline-start: var(--#{$form}__group-label-help--PaddingLeft);
|
|
303
|
+
padding-inline-end: var(--#{$form}__group-label-help--PaddingRight);
|
|
304
|
+
margin-block-start: var(--#{$form}__group-label-help--MarginTop);
|
|
305
|
+
margin-block-end: var(--#{$form}__group-label-help--MarginBottom);
|
|
306
|
+
margin-inline-start: var(--#{$form}__group-label-help--MarginLeft);
|
|
307
|
+
margin-inline-end: var(--#{$form}__group-label-help--MarginRight);
|
|
306
308
|
font-size: var(--#{$form}__group-label-help--FontSize);
|
|
307
309
|
line-height: 1;
|
|
308
310
|
color: var(--#{$form}__group-label-help--Color);
|
|
@@ -320,14 +322,15 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
320
322
|
}
|
|
321
323
|
}
|
|
322
324
|
|
|
323
|
-
|
|
324
325
|
.#{$form}__group-control {
|
|
326
|
+
min-width: 0;
|
|
327
|
+
|
|
325
328
|
&.pf-m-inline {
|
|
326
329
|
display: flex;
|
|
327
330
|
flex-flow: row wrap;
|
|
328
331
|
|
|
329
332
|
> * {
|
|
330
|
-
margin-
|
|
333
|
+
margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginRight);
|
|
331
334
|
}
|
|
332
335
|
|
|
333
336
|
> :last-child {
|
|
@@ -345,12 +348,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
345
348
|
.#{$form}__helper-text:first-child {
|
|
346
349
|
--#{$form}__helper-text--MarginTop: 0;
|
|
347
350
|
|
|
348
|
-
margin-
|
|
351
|
+
margin-block-end: var(--#{$form}__group-control__helper-text--MarginBottom);
|
|
349
352
|
}
|
|
350
353
|
}
|
|
351
354
|
|
|
352
355
|
.#{$form}__helper-text {
|
|
353
|
-
margin-
|
|
356
|
+
margin-block-start: var(--#{$form}__helper-text--MarginTop);
|
|
354
357
|
font-size: var(--#{$form}__helper-text--FontSize);
|
|
355
358
|
color: var(--#{$form}__helper-text--Color);
|
|
356
359
|
|
|
@@ -377,7 +380,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
377
380
|
}
|
|
378
381
|
|
|
379
382
|
.#{$form}__helper-text-icon {
|
|
380
|
-
margin-
|
|
383
|
+
margin-inline-end: var(--#{$form}__helper-text-icon--MarginRight);
|
|
381
384
|
font-size: var(--#{$form}__helper-text-icon--FontSize);
|
|
382
385
|
}
|
|
383
386
|
|
|
@@ -389,16 +392,16 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
389
392
|
.#{$form}__actions {
|
|
390
393
|
display: flex;
|
|
391
394
|
flex-wrap: wrap;
|
|
392
|
-
margin-
|
|
393
|
-
margin-
|
|
394
|
-
margin-
|
|
395
|
-
margin-
|
|
395
|
+
margin-block-start: var(--#{$form}__actions--MarginTop);
|
|
396
|
+
margin-block-end: var(--#{$form}__actions--MarginBottom);
|
|
397
|
+
margin-inline-start: var(--#{$form}__actions--MarginLeft);
|
|
398
|
+
margin-inline-end: var(--#{$form}__actions--MarginRight);
|
|
396
399
|
|
|
397
400
|
> * {
|
|
398
|
-
margin-
|
|
399
|
-
margin-
|
|
400
|
-
margin-
|
|
401
|
-
margin-
|
|
401
|
+
margin-block-start: var(--#{$form}__actions--child--MarginTop);
|
|
402
|
+
margin-block-end: var(--#{$form}__actions--child--MarginBottom);
|
|
403
|
+
margin-inline-start: var(--#{$form}__actions--child--MarginLeft);
|
|
404
|
+
margin-inline-end: var(--#{$form}__actions--child--MarginRight);
|
|
402
405
|
}
|
|
403
406
|
}
|
|
404
407
|
|
|
@@ -407,8 +410,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
407
410
|
|
|
408
411
|
display: grid;
|
|
409
412
|
grid-template-columns: minmax(var(--#{$form}__field-group--GridTemplateColumns--toggle), max-content) 1fr;
|
|
410
|
-
border-
|
|
411
|
-
border-
|
|
413
|
+
border-block-start: var(--#{$form}__field-group--BorderTopWidth) solid var(--#{$form}__field-group--BorderTopColor);
|
|
414
|
+
border-block-end: var(--#{$form}__field-group--BorderBottomWidth) solid var(--#{$form}__field-group--BorderBottomColor);
|
|
412
415
|
|
|
413
416
|
&:last-child {
|
|
414
417
|
--#{$form}__field-group--BorderBottomWidth: 0;
|
|
@@ -420,7 +423,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
420
423
|
}
|
|
421
424
|
|
|
422
425
|
& + & {
|
|
423
|
-
margin-
|
|
426
|
+
margin-block-start: var(--#{$form}__field-group--field-group--MarginTop);
|
|
424
427
|
}
|
|
425
428
|
|
|
426
429
|
// nested
|
|
@@ -446,8 +449,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
446
449
|
.#{$form}__field-group-toggle {
|
|
447
450
|
grid-row: 1 / 2;
|
|
448
451
|
grid-column: 1 / 2;
|
|
449
|
-
padding-
|
|
450
|
-
padding-
|
|
452
|
+
padding-block-start: var(--#{$form}__field-group-toggle--PaddingTop);
|
|
453
|
+
padding-inline-end: var(--#{$form}__field-group-toggle--PaddingRight);
|
|
451
454
|
|
|
452
455
|
+ .#{$form}__field-group-header {
|
|
453
456
|
--#{$form}__field-group-header--GridColumn: var(--#{$form}__field-group-toggle--field-group-header--GridColumn);
|
|
@@ -455,8 +458,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
455
458
|
}
|
|
456
459
|
|
|
457
460
|
.#{$form}__field-group-toggle-button {
|
|
458
|
-
margin-
|
|
459
|
-
margin-
|
|
461
|
+
margin-block-start: var(--#{$form}__field-group-toggle-button--MarginTop);
|
|
462
|
+
margin-block-end: var(--#{$form}__field-group-toggle-button--MarginBottom);
|
|
460
463
|
}
|
|
461
464
|
|
|
462
465
|
.#{$form}__field-group-toggle-icon {
|
|
@@ -465,6 +468,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
465
468
|
text-align: center;
|
|
466
469
|
transition: var(--#{$form}__field-group-toggle-icon--Transition);
|
|
467
470
|
transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
|
|
471
|
+
|
|
472
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
468
473
|
}
|
|
469
474
|
|
|
470
475
|
.#{$form}__field-group-header {
|
|
@@ -472,8 +477,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
472
477
|
grid-row: 1 / 2;
|
|
473
478
|
grid-column: var(--#{$form}__field-group-header--GridColumn);
|
|
474
479
|
align-items: flex-start;
|
|
475
|
-
padding-
|
|
476
|
-
padding-
|
|
480
|
+
padding-block-start: var(--#{$form}__field-group-header--PaddingTop);
|
|
481
|
+
padding-block-end: var(--#{$form}__field-group-header--PaddingBottom);
|
|
477
482
|
}
|
|
478
483
|
|
|
479
484
|
.#{$form}__field-group-header-main {
|
|
@@ -491,14 +496,14 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
491
496
|
}
|
|
492
497
|
|
|
493
498
|
.#{$form}__field-group-header-description {
|
|
494
|
-
margin-
|
|
499
|
+
margin-block-start: var(--#{$form}__field-group-header-description--MarginTop);
|
|
495
500
|
color: var(--#{$form}__field-group-header-description--Color);
|
|
496
501
|
}
|
|
497
502
|
|
|
498
503
|
.#{$form}__field-group-header-actions {
|
|
499
|
-
margin-
|
|
500
|
-
margin-
|
|
501
|
-
margin-
|
|
504
|
+
margin-block-start: var(--#{$form}__field-group-header-actions--MarginTop);
|
|
505
|
+
margin-block-end: var(--#{$form}__field-group-header-actions--MarginBottom);
|
|
506
|
+
margin-inline-start: var(--#{$form}__field-group-header-actions--MarginLeft);
|
|
502
507
|
white-space: nowrap;
|
|
503
508
|
}
|
|
504
509
|
|
|
@@ -506,8 +511,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
506
511
|
display: grid;
|
|
507
512
|
grid-column: var(--#{$form}__field-group-body--GridColumn);
|
|
508
513
|
gap: var(--#{$form}__field-group-body--Gap);
|
|
509
|
-
padding-
|
|
510
|
-
padding-
|
|
514
|
+
padding-block-start: var(--#{$form}__field-group-body--PaddingTop);
|
|
515
|
+
padding-block-end: var(--#{$form}__field-group-body--PaddingBottom);
|
|
511
516
|
|
|
512
517
|
> .#{$form}__field-group {
|
|
513
518
|
&:first-child {
|
|
@@ -516,7 +521,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
516
521
|
}
|
|
517
522
|
|
|
518
523
|
&:last-child {
|
|
519
|
-
margin-
|
|
524
|
+
margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
|
|
520
525
|
}
|
|
521
526
|
}
|
|
522
527
|
}
|
|
@@ -105,17 +105,26 @@
|
|
|
105
105
|
content: "";
|
|
106
106
|
}
|
|
107
107
|
.pf-v5-c-form-control::before {
|
|
108
|
-
border-color: var(--pf-v5-c-form-control--before--BorderTopColor) var(--pf-v5-c-form-control--before--BorderRightColor) var(--pf-v5-c-form-control--before--BorderBottomColor) var(--pf-v5-c-form-control--before--BorderLeftColor);
|
|
109
108
|
border-style: var(--pf-v5-c-form-control--before--BorderStyle, solid);
|
|
110
|
-
border-
|
|
109
|
+
border-block-start-color: var(--pf-v5-c-form-control--before--BorderTopColor);
|
|
110
|
+
border-block-start-width: var(--pf-v5-c-form-control--before--BorderTopWidth);
|
|
111
|
+
border-block-end-color: var(--pf-v5-c-form-control--before--BorderBottomColor);
|
|
112
|
+
border-block-end-width: var(--pf-v5-c-form-control--before--BorderBottomWidth);
|
|
113
|
+
border-inline-start-color: var(--pf-v5-c-form-control--before--BorderLeftColor);
|
|
114
|
+
border-inline-start-width: var(--pf-v5-c-form-control--before--BorderLeftWidth);
|
|
115
|
+
border-inline-end-color: var(--pf-v5-c-form-control--before--BorderRightColor);
|
|
116
|
+
border-inline-end-width: var(--pf-v5-c-form-control--before--BorderRightWidth);
|
|
111
117
|
}
|
|
112
118
|
.pf-v5-c-form-control::after {
|
|
113
|
-
border-
|
|
119
|
+
border-block-end: var(--pf-v5-c-form-control--after--BorderBottomWidth) var(--pf-v5-c-form-control--after--BorderStyle, solid) var(--pf-v5-c-form-control--after--BorderBottomColor);
|
|
114
120
|
}
|
|
115
121
|
.pf-v5-c-form-control > :is(input, select, textarea) {
|
|
116
122
|
grid-row: 1/2;
|
|
117
123
|
grid-column: 1/-1;
|
|
118
|
-
padding: var(--pf-v5-c-form-control--PaddingTop)
|
|
124
|
+
padding-block-start: var(--pf-v5-c-form-control--PaddingTop);
|
|
125
|
+
padding-block-end: var(--pf-v5-c-form-control--PaddingBottom);
|
|
126
|
+
padding-inline-start: var(--pf-v5-c-form-control--PaddingLeft);
|
|
127
|
+
padding-inline-end: var(--pf-v5-c-form-control--PaddingRight);
|
|
119
128
|
color: var(--pf-v5-c-form-control--Color);
|
|
120
129
|
background-color: transparent;
|
|
121
130
|
border: none;
|
|
@@ -238,7 +247,7 @@
|
|
|
238
247
|
}
|
|
239
248
|
|
|
240
249
|
.pf-v5-c-form-control__icon {
|
|
241
|
-
padding-
|
|
250
|
+
padding-block-start: var(--pf-v5-c-form-control__icon--PaddingTop);
|
|
242
251
|
color: var(--pf-v5-c-form-control__icon--Color);
|
|
243
252
|
}
|
|
244
253
|
.pf-v5-c-form-control__icon.pf-m-status {
|
|
@@ -248,9 +257,9 @@
|
|
|
248
257
|
.pf-v5-c-form-control__toggle-icon {
|
|
249
258
|
grid-row: 1/2;
|
|
250
259
|
grid-column: 3;
|
|
251
|
-
padding-
|
|
252
|
-
padding-
|
|
253
|
-
padding-
|
|
260
|
+
padding-block-start: var(--pf-v5-c-form-control__toggle-icon--PaddingTop);
|
|
261
|
+
padding-inline-start: var(--pf-v5-c-form-control__toggle-icon--PaddingLeft);
|
|
262
|
+
padding-inline-end: var(--pf-v5-c-form-control__toggle-icon--PaddingRight);
|
|
254
263
|
color: var(--pf-v5-c-form-control__toggle-icon--Color);
|
|
255
264
|
pointer-events: none;
|
|
256
265
|
}
|
|
@@ -261,7 +270,7 @@
|
|
|
261
270
|
grid-row: 1/2;
|
|
262
271
|
grid-column: 2;
|
|
263
272
|
gap: var(--pf-v5-c-form-control__utilities--Gap);
|
|
264
|
-
padding-
|
|
273
|
+
padding-inline-end: var(--pf-v5-c-form-control__utilities--PaddingRight);
|
|
265
274
|
pointer-events: none;
|
|
266
275
|
}
|
|
267
276
|
|
|
@@ -136,19 +136,28 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&::before {
|
|
139
|
-
border-color: var(--#{$form-control}--before--BorderTopColor) var(--#{$form-control}--before--BorderRightColor) var(--#{$form-control}--before--BorderBottomColor) var(--#{$form-control}--before--BorderLeftColor);
|
|
140
139
|
border-style: var(--#{$form-control}--before--BorderStyle, solid);
|
|
141
|
-
border-
|
|
140
|
+
border-block-start-color: var(--#{$form-control}--before--BorderTopColor);
|
|
141
|
+
border-block-start-width: var(--#{$form-control}--before--BorderTopWidth);
|
|
142
|
+
border-block-end-color: var(--#{$form-control}--before--BorderBottomColor);
|
|
143
|
+
border-block-end-width: var(--#{$form-control}--before--BorderBottomWidth);
|
|
144
|
+
border-inline-start-color: var(--#{$form-control}--before--BorderLeftColor);
|
|
145
|
+
border-inline-start-width: var(--#{$form-control}--before--BorderLeftWidth);
|
|
146
|
+
border-inline-end-color: var(--#{$form-control}--before--BorderRightColor);
|
|
147
|
+
border-inline-end-width: var(--#{$form-control}--before--BorderRightWidth);
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
&::after {
|
|
145
|
-
border-
|
|
151
|
+
border-block-end: var(--#{$form-control}--after--BorderBottomWidth) var(--#{$form-control}--after--BorderStyle, solid) var(--#{$form-control}--after--BorderBottomColor);
|
|
146
152
|
}
|
|
147
153
|
|
|
148
154
|
> :is(input, select, textarea) {
|
|
149
155
|
grid-row: 1 / 2;
|
|
150
156
|
grid-column: 1 / -1;
|
|
151
|
-
padding: var(--#{$form-control}--PaddingTop)
|
|
157
|
+
padding-block-start: var(--#{$form-control}--PaddingTop);
|
|
158
|
+
padding-block-end: var(--#{$form-control}--PaddingBottom);
|
|
159
|
+
padding-inline-start: var(--#{$form-control}--PaddingLeft);
|
|
160
|
+
padding-inline-end: var(--#{$form-control}--PaddingRight);
|
|
152
161
|
color: var(--#{$form-control}--Color);
|
|
153
162
|
background-color: transparent;
|
|
154
163
|
border: none;
|
|
@@ -308,7 +317,7 @@
|
|
|
308
317
|
}
|
|
309
318
|
|
|
310
319
|
.#{$form-control}__icon {
|
|
311
|
-
padding-
|
|
320
|
+
padding-block-start: var(--#{$form-control}__icon--PaddingTop);
|
|
312
321
|
color: var(--#{$form-control}__icon--Color);
|
|
313
322
|
|
|
314
323
|
&.pf-m-status {
|
|
@@ -319,9 +328,9 @@
|
|
|
319
328
|
.#{$form-control}__toggle-icon {
|
|
320
329
|
grid-row: 1 / 2;
|
|
321
330
|
grid-column: 3;
|
|
322
|
-
padding-
|
|
323
|
-
padding-
|
|
324
|
-
padding-
|
|
331
|
+
padding-block-start: var(--#{$form-control}__toggle-icon--PaddingTop);
|
|
332
|
+
padding-inline-start: var(--#{$form-control}__toggle-icon--PaddingLeft);
|
|
333
|
+
padding-inline-end: var(--#{$form-control}__toggle-icon--PaddingRight);
|
|
325
334
|
color: var(--#{$form-control}__toggle-icon--Color);
|
|
326
335
|
pointer-events: none;
|
|
327
336
|
}
|
|
@@ -332,7 +341,7 @@
|
|
|
332
341
|
grid-row: 1 / 2;
|
|
333
342
|
grid-column: 2;
|
|
334
343
|
gap: var(--#{$form-control}__utilities--Gap);
|
|
335
|
-
padding-
|
|
344
|
+
padding-inline-end: var(--#{$form-control}__utilities--PaddingRight);
|
|
336
345
|
pointer-events: none;
|
|
337
346
|
}
|
|
338
347
|
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-helper-text--Gap: var(--pf-t--global--spacer--xs);
|
|
3
|
+
--pf-v5-c-helper-text--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
4
|
+
--pf-v5-c-helper-text__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
5
|
+
--pf-v5-c-helper-text__item-text--Color: var(--pf-t--global--text--color--regular);
|
|
6
|
+
--pf-v5-c-helper-text__item-text--FontWeight: var(--pf-t--global--font--weight--body);
|
|
7
|
+
--pf-v5-c-helper-text__item-icon--m-indeterminate--Color: var(--pf-t--global--icon--color--subtle);
|
|
8
|
+
--pf-v5-c-helper-text__item-text--m-indeterminate--Color: var(--pf-t--global--text--color--subtle);
|
|
9
|
+
--pf-v5-c-helper-text__item-icon--m-warning--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
10
|
+
--pf-v5-c-helper-text__item-text--m-warning--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
11
|
+
--pf-v5-c-helper-text__item-icon--m-success--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
12
|
+
--pf-v5-c-helper-text__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
13
|
+
--pf-v5-c-helper-text__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
14
|
+
--pf-v5-c-helper-text__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
|
+
--pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
16
|
+
--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
17
|
+
--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
18
|
+
--pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
19
|
+
--pf-v5-c-helper-text--m-dynamic--m-warning__item-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
20
|
+
--pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
21
|
+
--pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
22
|
+
--pf-v5-c-helper-text__item-icon--MarginRight: var(--pf-t--global--spacer--xs);
|
|
23
|
+
}
|
|
24
|
+
|
|
1
25
|
.pf-v5-c-helper-text {
|
|
2
|
-
--pf-v5-c-helper-text--Gap: var(--pf-v5-global--spacer--xs);
|
|
3
|
-
--pf-v5-c-helper-text--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
4
|
-
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-global--Color--100);
|
|
5
|
-
--pf-v5-c-helper-text__item-text--Color: var(--pf-v5-global--Color--100);
|
|
6
|
-
--pf-v5-c-helper-text__item-icon--m-indeterminate--Color: var(--pf-v5-global--Color--200);
|
|
7
|
-
--pf-v5-c-helper-text__item-text--m-indeterminate--Color: var(--pf-v5-global--Color--200);
|
|
8
|
-
--pf-v5-c-helper-text__item-icon--m-warning--Color: var(--pf-v5-global--warning-color--100);
|
|
9
|
-
--pf-v5-c-helper-text__item-text--m-warning--Color: var(--pf-v5-global--warning-color--200);
|
|
10
|
-
--pf-v5-c-helper-text__item-icon--m-success--Color: var(--pf-v5-global--success-color--100);
|
|
11
|
-
--pf-v5-c-helper-text__item-text--m-success--Color: var(--pf-v5-global--success-color--200);
|
|
12
|
-
--pf-v5-c-helper-text__item-icon--m-error--Color: var(--pf-v5-global--danger-color--100);
|
|
13
|
-
--pf-v5-c-helper-text__item-text--m-error--Color: var(--pf-v5-global--danger-color--200);
|
|
14
|
-
--pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-global--Color--100);
|
|
15
|
-
--pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-global--Color--100);
|
|
16
|
-
--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-v5-global--Color--200);
|
|
17
|
-
--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color: var(--pf-v5-global--Color--200);
|
|
18
|
-
--pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color: var(--pf-v5-global--warning-color--100);
|
|
19
|
-
--pf-v5-c-helper-text--m-dynamic--m-warning__item-text--Color: var(--pf-v5-global--Color--200);
|
|
20
|
-
--pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color: var(--pf-v5-global--success-color--100);
|
|
21
|
-
--pf-v5-c-helper-text--m-dynamic--m-success__item-text--Color: var(--pf-v5-global--Color--200);
|
|
22
|
-
--pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color: var(--pf-v5-global--danger-color--100);
|
|
23
|
-
--pf-v5-c-helper-text--m-dynamic--m-error__item-text--Color: var(--pf-v5-global--Color--100);
|
|
24
|
-
--pf-v5-c-helper-text__item-icon--MarginRight: var(--pf-v5-global--spacer--xs);
|
|
25
26
|
display: grid;
|
|
26
27
|
gap: var(--pf-v5-c-helper-text--Gap);
|
|
27
28
|
font-size: var(--pf-v5-c-helper-text--FontSize);
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
|
|
34
35
|
.pf-v5-c-helper-text__item {
|
|
35
36
|
display: flex;
|
|
37
|
+
font-weight: var(--pf-v5-c-helper-text__item-text--FontWeight);
|
|
36
38
|
}
|
|
37
39
|
.pf-v5-c-helper-text__item.pf-m-indeterminate {
|
|
38
40
|
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-indeterminate--Color);
|
|
@@ -41,37 +43,29 @@
|
|
|
41
43
|
--pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color);
|
|
42
44
|
}
|
|
43
45
|
.pf-v5-c-helper-text__item.pf-m-warning {
|
|
46
|
+
--pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-warning--FontWeight);
|
|
44
47
|
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-warning--Color);
|
|
45
|
-
--pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-warning--Color);
|
|
46
48
|
--pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color);
|
|
47
|
-
--pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-warning__item-text--Color);
|
|
48
49
|
}
|
|
49
50
|
.pf-v5-c-helper-text__item.pf-m-success {
|
|
51
|
+
--pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-success--FontWeight);
|
|
50
52
|
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-success--Color);
|
|
51
|
-
--pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-success--Color);
|
|
52
53
|
--pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color);
|
|
53
|
-
--pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-success__item-text--Color);
|
|
54
54
|
}
|
|
55
55
|
.pf-v5-c-helper-text__item.pf-m-error {
|
|
56
|
+
--pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-error--FontWeight);
|
|
56
57
|
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-error--Color);
|
|
57
|
-
--pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-error--Color);
|
|
58
58
|
--pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color);
|
|
59
|
-
--pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-error__item-text--Color);
|
|
60
59
|
}
|
|
61
60
|
.pf-v5-c-helper-text__item.pf-m-dynamic {
|
|
62
|
-
--pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic__item-text--Color);
|
|
63
61
|
--pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic__item-icon--Color);
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
.pf-v5-c-helper-text__item-icon {
|
|
67
|
-
margin-
|
|
65
|
+
margin-inline-end: var(--pf-v5-c-helper-text__item-icon--MarginRight);
|
|
68
66
|
color: var(--pf-v5-c-helper-text__item-icon--Color);
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
.pf-v5-c-helper-text__item-text {
|
|
72
70
|
color: var(--pf-v5-c-helper-text__item-text--Color);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-helper-text {
|
|
76
|
-
--pf-v5-c-helper-text__item-text--m-success--Color: var(--pf-v5-global--success-color--100);
|
|
77
71
|
}
|
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
// @debug $helper-text; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--#{$helper-text}--
|
|
5
|
-
--#{$helper-text}--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
2
|
+
:root {
|
|
3
|
+
--#{$helper-text}--Gap: var(--pf-t--global--spacer--xs);
|
|
4
|
+
--#{$helper-text}--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
6
5
|
|
|
7
6
|
// item
|
|
8
|
-
--#{$helper-text}__item-icon--Color: var(
|
|
9
|
-
--#{$helper-text}__item-text--Color: var(
|
|
10
|
-
--#{$helper-text}__item-
|
|
11
|
-
--#{$helper-text}__item-
|
|
12
|
-
--#{$helper-text}__item-
|
|
13
|
-
--#{$helper-text}__item-
|
|
14
|
-
--#{$helper-text}__item-
|
|
15
|
-
--#{$helper-text}__item-
|
|
16
|
-
--#{$helper-text}__item-
|
|
17
|
-
--#{$helper-text}__item-
|
|
7
|
+
--#{$helper-text}__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
8
|
+
--#{$helper-text}__item-text--Color: var(--pf-t--global--text--color--regular);
|
|
9
|
+
--#{$helper-text}__item-text--FontWeight: var(--pf-t--global--font--weight--body);
|
|
10
|
+
--#{$helper-text}__item-icon--m-indeterminate--Color: var(--pf-t--global--icon--color--subtle);
|
|
11
|
+
--#{$helper-text}__item-text--m-indeterminate--Color: var(--pf-t--global--text--color--subtle);
|
|
12
|
+
--#{$helper-text}__item-icon--m-warning--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
13
|
+
--#{$helper-text}__item-text--m-warning--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
14
|
+
--#{$helper-text}__item-icon--m-success--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
15
|
+
--#{$helper-text}__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
16
|
+
--#{$helper-text}__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
17
|
+
--#{$helper-text}__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
18
18
|
|
|
19
19
|
// dynamic
|
|
20
|
-
--#{$helper-text}--m-dynamic__item-icon--Color: var(
|
|
21
|
-
--#{$helper-text}--m-
|
|
22
|
-
--#{$helper-text}--m-dynamic--m-indeterminate__item-
|
|
23
|
-
--#{$helper-text}--m-dynamic--m-
|
|
24
|
-
--#{$helper-text}--m-dynamic--m-warning__item-
|
|
25
|
-
--#{$helper-text}--m-dynamic--m-
|
|
26
|
-
--#{$helper-text}--m-dynamic--m-
|
|
27
|
-
--#{$helper-text}--m-dynamic--m-success__item-text--Color: var(--#{$pf-global}--Color--200);
|
|
28
|
-
--#{$helper-text}--m-dynamic--m-error__item-icon--Color: var(--#{$pf-global}--danger-color--100);
|
|
29
|
-
--#{$helper-text}--m-dynamic--m-error__item-text--Color: var(--#{$pf-global}--Color--100);
|
|
20
|
+
--#{$helper-text}--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
21
|
+
--#{$helper-text}--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
22
|
+
--#{$helper-text}--m-dynamic--m-indeterminate__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
23
|
+
--#{$helper-text}--m-dynamic--m-warning__item-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
24
|
+
--#{$helper-text}--m-dynamic--m-warning__item-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
25
|
+
--#{$helper-text}--m-dynamic--m-success__item-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
26
|
+
--#{$helper-text}--m-dynamic--m-error__item-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
30
27
|
|
|
31
28
|
// icon
|
|
32
|
-
--#{$helper-text}__item-icon--MarginRight: var(
|
|
33
|
-
|
|
29
|
+
--#{$helper-text}__item-icon--MarginRight: var(--pf-t--global--spacer--xs);
|
|
30
|
+
}
|
|
31
|
+
.#{$helper-text} {
|
|
34
32
|
// text
|
|
35
33
|
|
|
36
34
|
display: grid;
|
|
@@ -45,6 +43,8 @@
|
|
|
45
43
|
|
|
46
44
|
.#{$helper-text}__item {
|
|
47
45
|
display: flex;
|
|
46
|
+
font-weight: var(--#{$helper-text}__item-text--FontWeight);
|
|
47
|
+
|
|
48
48
|
|
|
49
49
|
&.pf-m-indeterminate {
|
|
50
50
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-indeterminate--Color);
|
|
@@ -54,34 +54,30 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&.pf-m-warning {
|
|
57
|
+
--#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-warning--FontWeight);
|
|
57
58
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-warning--Color);
|
|
58
|
-
--#{$helper-text}__item-text--Color: var(--#{$helper-text}__item-text--m-warning--Color);
|
|
59
59
|
--#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-warning__item-icon--Color);
|
|
60
|
-
--#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-warning__item-text--Color);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
&.pf-m-success {
|
|
63
|
+
--#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-success--FontWeight);
|
|
64
64
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-success--Color);
|
|
65
|
-
--#{$helper-text}
|
|
66
|
-
--#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-success__item-icon--Color);
|
|
67
|
-
--#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-success__item-text--Color);
|
|
65
|
+
--#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-success__item-icon--Color);
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
&.pf-m-error {
|
|
69
|
+
--#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-error--FontWeight);
|
|
71
70
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-error--Color);
|
|
72
|
-
--#{$helper-text}__item-text--Color: var(--#{$helper-text}__item-text--m-error--Color);
|
|
73
71
|
--#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-error__item-icon--Color);
|
|
74
|
-
--#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-error__item-text--Color);
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
&.pf-m-dynamic {
|
|
78
|
-
--#{$helper-text}__item-text--Color: var(--#{$helper-text}--m-dynamic__item-text--Color);
|
|
79
75
|
--#{$helper-text}__item-icon--Color: var(--#{$helper-text}--m-dynamic__item-icon--Color);
|
|
80
76
|
}
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
.#{$helper-text}__item-icon {
|
|
84
|
-
margin-
|
|
80
|
+
margin-inline-end: var(--#{$helper-text}__item-icon--MarginRight);
|
|
85
81
|
color: var(--#{$helper-text}__item-icon--Color);
|
|
86
82
|
}
|
|
87
83
|
|
|
@@ -89,9 +85,3 @@
|
|
|
89
85
|
color: var(--#{$helper-text}__item-text--Color);
|
|
90
86
|
}
|
|
91
87
|
|
|
92
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
93
|
-
@import "themes/dark/helper-text";
|
|
94
|
-
|
|
95
|
-
@include pf-v5-theme-dark {
|
|
96
|
-
@include pf-v5-theme-dark-helper-text;
|
|
97
|
-
}
|