@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.31
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/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- 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 +886 -771
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +426 -306
- package/base/tokens/_tokens-font.scss +59 -35
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- 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/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +91 -69
- package/components/Banner/banner.scss +95 -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 +25 -17
- package/components/Card/card.scss +24 -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/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 +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +75 -59
- package/components/ExpandableSection/expandable-section.scss +81 -72
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- 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 +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +89 -100
- package/components/MenuToggle/menu-toggle.scss +92 -112
- 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 +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +110 -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 +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- 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 +176 -159
- package/components/Table/table.scss +177 -165
- 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 -44
- package/components/Toolbar/toolbar.scss +45 -26
- package/components/Tooltip/tooltip.css +76 -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 +9 -0
- package/components/Truncate/truncate.scss +16 -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 +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 +75 -32
- 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 +125 -17
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- 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/ExpandableSection/examples/ExpandableSection.md +47 -24
- package/docs/components/Label/examples/Label.md +1 -1
- 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 +5 -0
- package/docs/components/Masthead/examples/masthead.md +7 -54
- 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 +3 -25
- package/docs/components/Nav/examples/Navigation.md +239 -113
- 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/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- 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 +570 -2803
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- 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 +139 -79
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +524 -354
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +793 -277
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +2313 -1887
- package/docs/demos/Tabs/examples/Tabs.md +528 -71
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- 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 +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +921 -784
- package/patternfly-base-no-globals.css +921 -784
- package/patternfly-base-theme-dark-unversioned.css +926 -789
- package/patternfly-base.css +926 -789
- package/patternfly-no-globals.css +4838 -4253
- package/patternfly-theme-dark-unversioned.css +4843 -4258
- package/patternfly.css +4843 -4258
- 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/Popover/themes/dark/popover.scss +0 -11
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -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
|
-
}
|
package/components/Hint/hint.css
CHANGED
|
@@ -1,30 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-hint--GridRowGap: var(--pf-
|
|
3
|
-
--pf-v5-c-hint--PaddingTop: var(--pf-
|
|
4
|
-
--pf-v5-c-hint--PaddingRight: var(--pf-
|
|
5
|
-
--pf-v5-c-hint--PaddingBottom: var(--pf-
|
|
6
|
-
--pf-v5-c-hint--PaddingLeft: var(--pf-
|
|
7
|
-
--pf-v5-c-hint--BackgroundColor: var(--pf-
|
|
8
|
-
--pf-v5-c-hint--BorderColor: var(--pf-
|
|
9
|
-
--pf-v5-c-hint--BorderWidth: var(--pf-
|
|
10
|
-
--pf-v5-c-hint--
|
|
11
|
-
--pf-v5-c-hint--Color: var(--pf-
|
|
12
|
-
--pf-v5-c-hint__title--
|
|
13
|
-
--pf-v5-c-
|
|
14
|
-
--pf-v5-c-
|
|
15
|
-
--pf-v5-c-
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-hint--GridRowGap: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-hint--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
4
|
+
--pf-v5-c-hint--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
5
|
+
--pf-v5-c-hint--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
6
|
+
--pf-v5-c-hint--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
7
|
+
--pf-v5-c-hint--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
8
|
+
--pf-v5-c-hint--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
9
|
+
--pf-v5-c-hint--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
10
|
+
--pf-v5-c-hint--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
11
|
+
--pf-v5-c-hint--Color: var(--pf-t--global--text--color--regular);
|
|
12
|
+
--pf-v5-c-hint__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
13
|
+
--pf-v5-c-hint__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
14
|
+
--pf-v5-c-hint__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
15
|
+
--pf-v5-c-hint__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
16
|
+
--pf-v5-c-hint__body--FontSize: var(--pf-t--global--font--size--body--default);
|
|
17
|
+
--pf-v5-c-hint__footer--MarginTop: var(--pf-t--global--spacer--sm);
|
|
18
|
+
--pf-v5-c-hint__footer--child--MarginRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--pf-v5-c-hint__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
|
|
16
20
|
--pf-v5-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pf-v5-c-hint {
|
|
17
24
|
display: grid;
|
|
18
25
|
grid-template-columns: 1fr auto;
|
|
19
26
|
grid-row-gap: var(--pf-v5-c-hint--GridRowGap);
|
|
20
|
-
padding: var(--pf-v5-c-hint--PaddingTop)
|
|
27
|
+
padding-block-start: var(--pf-v5-c-hint--PaddingTop);
|
|
28
|
+
padding-block-end: var(--pf-v5-c-hint--PaddingBottom);
|
|
29
|
+
padding-inline-start: var(--pf-v5-c-hint--PaddingLeft);
|
|
30
|
+
padding-inline-end: var(--pf-v5-c-hint--PaddingRight);
|
|
21
31
|
color: var(--pf-v5-c-hint--Color);
|
|
22
32
|
background-color: var(--pf-v5-c-hint--BackgroundColor);
|
|
23
33
|
border: var(--pf-v5-c-hint--BorderWidth) solid var(--pf-v5-c-hint--BorderColor);
|
|
24
|
-
|
|
34
|
+
border-radius: var(--pf-v5-c-hint--BorderRadius);
|
|
25
35
|
}
|
|
26
36
|
.pf-v5-c-hint .pf-v5-c-button.pf-m-link.pf-m-inline {
|
|
27
|
-
text-align:
|
|
37
|
+
text-align: start;
|
|
28
38
|
white-space: normal;
|
|
29
39
|
}
|
|
30
40
|
|
|
@@ -33,18 +43,22 @@
|
|
|
33
43
|
grid-row: 1;
|
|
34
44
|
grid-column: 2;
|
|
35
45
|
grid-auto-flow: column;
|
|
36
|
-
margin-
|
|
37
|
-
text-align:
|
|
46
|
+
margin-inline-start: var(--pf-v5-c-hint__actions--MarginLeft);
|
|
47
|
+
text-align: end;
|
|
38
48
|
}
|
|
39
49
|
.pf-v5-c-hint__actions .pf-v5-c-dropdown .pf-v5-c-dropdown__toggle.pf-m-plain {
|
|
40
|
-
margin-
|
|
50
|
+
margin-block-start: var(--pf-v5-c-hint__actions--c-dropdown--MarginTop);
|
|
41
51
|
}
|
|
42
52
|
.pf-v5-c-hint__actions + .pf-v5-c-hint__body {
|
|
43
53
|
grid-column: 1;
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
.pf-v5-c-hint__title {
|
|
57
|
+
align-self: center;
|
|
58
|
+
font-family: var(--pf-v5-c-hint__title--FontFamily);
|
|
47
59
|
font-size: var(--pf-v5-c-hint__title--FontSize);
|
|
60
|
+
font-weight: var(--pf-v5-c-hint__title--FontWeight);
|
|
61
|
+
line-height: var(--pf-v5-c-hint__title--LineHeight);
|
|
48
62
|
}
|
|
49
63
|
|
|
50
64
|
.pf-v5-c-hint__body {
|
|
@@ -54,12 +68,8 @@
|
|
|
54
68
|
|
|
55
69
|
.pf-v5-c-hint__footer {
|
|
56
70
|
grid-column: 1/-1;
|
|
71
|
+
margin-block-start: var(--pf-v5-c-hint__footer--MarginTop);
|
|
57
72
|
}
|
|
58
73
|
.pf-v5-c-hint__footer > :not(:last-child) {
|
|
59
|
-
margin-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-hint {
|
|
63
|
-
--pf-v5-c-hint--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
64
|
-
--pf-v5-c-hint--BorderColor: var(--pf-v5-global--BorderColor--300);
|
|
74
|
+
margin-inline-end: var(--pf-v5-c-hint__footer--child--MarginRight);
|
|
65
75
|
}
|
|
@@ -1,42 +1,51 @@
|
|
|
1
1
|
// @debug $hint; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
--#{$hint}--GridRowGap: var(
|
|
5
|
-
--#{$hint}--PaddingTop: var(
|
|
6
|
-
--#{$hint}--PaddingRight: var(
|
|
7
|
-
--#{$hint}--PaddingBottom: var(
|
|
8
|
-
--#{$hint}--PaddingLeft: var(
|
|
9
|
-
--#{$hint}--BackgroundColor: var(
|
|
10
|
-
--#{$hint}--BorderColor: var(
|
|
11
|
-
--#{$hint}--BorderWidth: var(
|
|
12
|
-
--#{$hint}--
|
|
13
|
-
--#{$hint}--Color: var(
|
|
3
|
+
:root {
|
|
4
|
+
--#{$hint}--GridRowGap: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--#{$hint}--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
6
|
+
--#{$hint}--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
7
|
+
--#{$hint}--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
8
|
+
--#{$hint}--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
9
|
+
--#{$hint}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
10
|
+
--#{$hint}--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
11
|
+
--#{$hint}--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
12
|
+
--#{$hint}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
13
|
+
--#{$hint}--Color: var(--pf-t--global--text--color--regular);
|
|
14
14
|
|
|
15
15
|
// Hint Title
|
|
16
|
-
--#{$hint}__title--
|
|
16
|
+
--#{$hint}__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
17
|
+
--#{$hint}__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
18
|
+
--#{$hint}__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
19
|
+
--#{$hint}__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
17
20
|
|
|
18
21
|
// Hint Body
|
|
19
|
-
--#{$hint}__body--FontSize: var(
|
|
22
|
+
--#{$hint}__body--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
23
|
|
|
21
24
|
// Hint Footer
|
|
22
|
-
--#{$hint}__footer--
|
|
25
|
+
--#{$hint}__footer--MarginTop: var(--pf-t--global--spacer--sm);
|
|
26
|
+
--#{$hint}__footer--child--MarginRight: var(--pf-t--global--spacer--md);
|
|
23
27
|
|
|
24
28
|
// Hint Actions
|
|
25
|
-
--#{$hint}__actions--MarginLeft: var(
|
|
26
|
-
--#{$hint}__actions--c-dropdown--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
29
|
+
--#{$hint}__actions--MarginLeft: var(--pf-t--global--spacer--2xl);
|
|
30
|
+
--#{$hint}__actions--c-dropdown--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1); // TODO form element spacer
|
|
31
|
+
}
|
|
27
32
|
|
|
33
|
+
.#{$hint} {
|
|
28
34
|
display: grid;
|
|
29
35
|
grid-template-columns: 1fr auto;
|
|
30
36
|
grid-row-gap: var(--#{$hint}--GridRowGap);
|
|
31
|
-
padding: var(--#{$hint}--PaddingTop)
|
|
37
|
+
padding-block-start: var(--#{$hint}--PaddingTop);
|
|
38
|
+
padding-block-end: var(--#{$hint}--PaddingBottom);
|
|
39
|
+
padding-inline-start: var(--#{$hint}--PaddingLeft);
|
|
40
|
+
padding-inline-end: var(--#{$hint}--PaddingRight);
|
|
32
41
|
color: var(--#{$hint}--Color);
|
|
33
42
|
background-color: var(--#{$hint}--BackgroundColor);
|
|
34
43
|
border: var(--#{$hint}--BorderWidth) solid var(--#{$hint}--BorderColor);
|
|
35
|
-
|
|
44
|
+
border-radius: var(--#{$hint}--BorderRadius);
|
|
36
45
|
|
|
37
46
|
// Remove this when the inline link button is updated
|
|
38
47
|
.#{$button}.pf-m-link.pf-m-inline {
|
|
39
|
-
text-align:
|
|
48
|
+
text-align: start;
|
|
40
49
|
white-space: normal;
|
|
41
50
|
}
|
|
42
51
|
}
|
|
@@ -46,12 +55,12 @@
|
|
|
46
55
|
grid-row: 1;
|
|
47
56
|
grid-column: 2;
|
|
48
57
|
grid-auto-flow: column;
|
|
49
|
-
margin-
|
|
50
|
-
text-align:
|
|
58
|
+
margin-inline-start: var(--#{$hint}__actions--MarginLeft);
|
|
59
|
+
text-align: end;
|
|
51
60
|
|
|
52
61
|
// Only applies to the plain dropdown
|
|
53
62
|
.#{$dropdown} .#{$dropdown}__toggle.pf-m-plain {
|
|
54
|
-
margin-
|
|
63
|
+
margin-block-start: var(--#{$hint}__actions--c-dropdown--MarginTop);
|
|
55
64
|
}
|
|
56
65
|
|
|
57
66
|
+ .#{$hint}__body {
|
|
@@ -60,7 +69,11 @@
|
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
.#{$hint}__title {
|
|
72
|
+
align-self: center;
|
|
73
|
+
font-family: var(--#{$hint}__title--FontFamily);
|
|
63
74
|
font-size: var(--#{$hint}__title--FontSize);
|
|
75
|
+
font-weight: var(--#{$hint}__title--FontWeight);
|
|
76
|
+
line-height: var(--#{$hint}__title--LineHeight);
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
.#{$hint}__body {
|
|
@@ -70,15 +83,9 @@
|
|
|
70
83
|
|
|
71
84
|
.#{$hint}__footer {
|
|
72
85
|
grid-column: 1 / -1;
|
|
86
|
+
margin-block-start: var(--#{$hint}__footer--MarginTop);
|
|
73
87
|
|
|
74
88
|
> :not(:last-child) {
|
|
75
|
-
margin-
|
|
89
|
+
margin-inline-end: var(--#{$hint}__footer--child--MarginRight);
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
|
-
|
|
79
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
80
|
-
@import "themes/dark/hint";
|
|
81
|
-
|
|
82
|
-
@include pf-v5-theme-dark {
|
|
83
|
-
@include pf-v5-theme-dark-hint;
|
|
84
|
-
}
|
package/components/Icon/icon.css
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
.pf-v5-c-icon__progress {
|
|
116
116
|
position: absolute;
|
|
117
|
-
|
|
117
|
+
inset-block-start: calc(50% + 0.5 * var(--pf-v5-c-icon__content--svg--VerticalAlign));
|
|
118
118
|
opacity: var(--pf-v5-c-icon__progress--Opacity, 0);
|
|
119
119
|
transform: translateY(calc(-50% - 0.5 * var(--pf-v5-c-icon__content--svg--VerticalAlign)));
|
|
120
120
|
}
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
// Progress element
|
|
145
145
|
.#{$icon}__progress {
|
|
146
146
|
position: absolute;
|
|
147
|
-
|
|
147
|
+
inset-block-start: calc(50% + calc(.5 * var(--#{$icon}__content--svg--VerticalAlign)));
|
|
148
148
|
opacity: var(--#{$icon}__progress--Opacity, 0);
|
|
149
149
|
transform: translateY(calc(-50% - calc(.5 * var(--#{$icon}__content--svg--VerticalAlign))));
|
|
150
150
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.pf-v5-c-inline-edit {
|
|
2
|
-
--pf-v5-c-inline-edit__group--item--MarginRight: var(--pf-
|
|
3
|
-
--pf-v5-c-inline-edit__action--c-button--m-valid--m-plain--Color: var(--pf-
|
|
4
|
-
--pf-v5-c-inline-edit__action--c-button--m-valid--m-plain--hover--Color: var(--pf-
|
|
2
|
+
--pf-v5-c-inline-edit__group--item--MarginRight: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-inline-edit__action--c-button--m-valid--m-plain--Color: var(--pf-t--global--icon--color--brand--default);
|
|
4
|
+
--pf-v5-c-inline-edit__action--c-button--m-valid--m-plain--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
5
5
|
--pf-v5-c-inline-edit__action--m-icon-group--item--MarginRight: 0;
|
|
6
|
-
--pf-v5-c-inline-edit__group--m-footer--MarginTop: var(--pf-
|
|
7
|
-
--pf-v5-c-inline-edit__label--m-bold--FontWeight: var(--pf-
|
|
6
|
+
--pf-v5-c-inline-edit__group--m-footer--MarginTop: var(--pf-t--global--spacer--xl);
|
|
7
|
+
--pf-v5-c-inline-edit__label--m-bold--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.pf-v5-c-inline-edit__group {
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
align-items: baseline;
|
|
13
13
|
}
|
|
14
14
|
.pf-v5-c-inline-edit__group > * {
|
|
15
|
-
margin-
|
|
15
|
+
margin-inline-end: var(--pf-v5-c-inline-edit__group--item--MarginRight);
|
|
16
16
|
}
|
|
17
17
|
.pf-v5-c-inline-edit__group.pf-m-icon-group {
|
|
18
18
|
--pf-v5-c-inline-edit__group--item--MarginRight: var(--pf-v5-c-inline-edit__action--m-icon-group--item--MarginRight);
|
|
19
19
|
}
|
|
20
20
|
.pf-v5-c-inline-edit__group.pf-m-footer {
|
|
21
|
-
margin-
|
|
21
|
+
margin-block-start: var(--pf-v5-c-inline-edit__group--m-footer--MarginTop);
|
|
22
22
|
}
|
|
23
23
|
.pf-v5-c-inline-edit__group.pf-m-column {
|
|
24
24
|
--pf-v5-c-inline-edit__group--item--MarginRight: 0;
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.pf-v5-c-inline-edit__label + .pf-v5-c-inline-edit__action.pf-m-enable > .pf-v5-c-button {
|
|
72
|
-
margin-
|
|
73
|
-
margin-
|
|
72
|
+
margin-block-start: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
73
|
+
margin-block-end: calc(var(--pf-v5-c-button--PaddingBottom) * -1);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.pf-v5-c-inline-edit__label.pf-m-bold {
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$inline-edit} {
|
|
4
4
|
// Group
|
|
5
|
-
--#{$inline-edit}__group--item--MarginRight: var(
|
|
5
|
+
--#{$inline-edit}__group--item--MarginRight: var(--pf-t--global--spacer--sm);
|
|
6
6
|
|
|
7
7
|
// Valid action
|
|
8
|
-
--#{$inline-edit}__action--c-button--m-valid--m-plain--Color: var(
|
|
9
|
-
--#{$inline-edit}__action--c-button--m-valid--m-plain--hover--Color: var(
|
|
8
|
+
--#{$inline-edit}__action--c-button--m-valid--m-plain--Color: var(--pf-t--global--icon--color--brand--default);
|
|
9
|
+
--#{$inline-edit}__action--c-button--m-valid--m-plain--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
10
10
|
|
|
11
11
|
// Icon button
|
|
12
12
|
--#{$inline-edit}__action--m-icon-group--item--MarginRight: 0;
|
|
13
13
|
|
|
14
14
|
// Footer group
|
|
15
|
-
--#{$inline-edit}__group--m-footer--MarginTop: var(
|
|
15
|
+
--#{$inline-edit}__group--m-footer--MarginTop: var(--pf-t--global--spacer--xl);
|
|
16
16
|
|
|
17
17
|
// Label
|
|
18
|
-
--#{$inline-edit}__label--m-bold--FontWeight: var(
|
|
18
|
+
--#{$inline-edit}__label--m-bold--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// Group
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
align-items: baseline;
|
|
25
25
|
|
|
26
26
|
> * {
|
|
27
|
-
margin-
|
|
27
|
+
margin-inline-end: var(--#{$inline-edit}__group--item--MarginRight);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&.pf-m-icon-group {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
// Footer
|
|
35
35
|
&.pf-m-footer {
|
|
36
|
-
margin-
|
|
36
|
+
margin-block-start: var(--#{$inline-edit}__group--m-footer--MarginTop);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
// Column
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
|
|
103
103
|
// offset button by top padding
|
|
104
104
|
.#{$inline-edit}__label + .#{$inline-edit}__action.pf-m-enable > .#{$button} {
|
|
105
|
-
margin-
|
|
106
|
-
margin-
|
|
105
|
+
margin-block-start: calc(var(--#{$button}--PaddingTop) * -1);
|
|
106
|
+
margin-block-end: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.#{$inline-edit}__label.pf-m-bold {
|
|
@@ -30,17 +30,23 @@
|
|
|
30
30
|
min-width: var(--pf-v5-c-input-group__item--MinWidth, revert);
|
|
31
31
|
max-width: var(--pf-v5-c-input-group__item--MaxWidth, revert);
|
|
32
32
|
background-color: var(--pf-v5-c-input-group__item--BackgroundColor);
|
|
33
|
-
border-color: var(--pf-v5-c-input-group__item--m-box--BorderTopColor)
|
|
33
|
+
border-block-start-color: var(--pf-v5-c-input-group__item--m-box--BorderTopColor);
|
|
34
|
+
border-block-end-color: var(--pf-v5-c-input-group__item--m-box--BorderBottomColor);
|
|
35
|
+
border-inline-start-color: var(--pf-v5-c-input-group__item--m-box--BorderLeftColor);
|
|
36
|
+
border-inline-end-color: var(--pf-v5-c-input-group__item--m-box--BorderRightColor);
|
|
34
37
|
}
|
|
35
38
|
.pf-v5-c-input-group__item:where(:not(:first-child)) {
|
|
36
|
-
margin-
|
|
39
|
+
margin-inline-start: var(--pf-v5-c-input-group__item--MarginLeft);
|
|
37
40
|
}
|
|
38
41
|
.pf-v5-c-input-group__item.pf-m-box {
|
|
39
42
|
--pf-v5-c-input-group__item--BackgroundColor: var(--pf-v5-c-input-group__item--m-box--BackgroundColor);
|
|
40
|
-
padding-
|
|
41
|
-
padding-
|
|
43
|
+
padding-inline-start: var(--pf-v5-c-input-group__item--m-box--PaddingLeft);
|
|
44
|
+
padding-inline-end: var(--pf-v5-c-input-group__item--m-box--PaddingRight);
|
|
42
45
|
border: var(--pf-v5-c-input-group__item--m-box--BorderWidth) solid;
|
|
43
|
-
border-color: var(--pf-v5-c-input-group__item--m-box--BorderTopColor)
|
|
46
|
+
border-block-start-color: var(--pf-v5-c-input-group__item--m-box--BorderTopColor);
|
|
47
|
+
border-block-end-color: var(--pf-v5-c-input-group__item--m-box--BorderBottomColor);
|
|
48
|
+
border-inline-start-color: var(--pf-v5-c-input-group__item--m-box--BorderLeftColor);
|
|
49
|
+
border-inline-end-color: var(--pf-v5-c-input-group__item--m-box--BorderRightColor);
|
|
44
50
|
}
|
|
45
51
|
.pf-v5-c-input-group__item.pf-m-plain {
|
|
46
52
|
--pf-v5-c-input-group__item--MarginLeft: 0;
|
|
@@ -79,5 +85,5 @@ label.pf-v5-c-input-group__text {
|
|
|
79
85
|
}
|
|
80
86
|
:where(.pf-v5-theme-dark) .pf-v5-c-input-group > * + * {
|
|
81
87
|
--pf-v5-c-input-group__item--m-box--BorderLeftColor: var(--pf-v5-c-input-group__item--BorderLeftColor);
|
|
82
|
-
border-
|
|
88
|
+
border-inline-start: var(--pf-v5-c-input-group__item--BorderLeftWidth) solid var(--pf-v5-c-input-group__item--BorderLeftColor);
|
|
83
89
|
}
|
|
@@ -44,19 +44,25 @@
|
|
|
44
44
|
min-width: var(--#{$input-group}__item--MinWidth, revert);
|
|
45
45
|
max-width: var(--#{$input-group}__item--MaxWidth, revert);
|
|
46
46
|
background-color: var(--#{$input-group}__item--BackgroundColor);
|
|
47
|
-
border-color: var(--#{$input-group}__item--m-box--BorderTopColor)
|
|
47
|
+
border-block-start-color: var(--#{$input-group}__item--m-box--BorderTopColor);
|
|
48
|
+
border-block-end-color: var(--#{$input-group}__item--m-box--BorderBottomColor);
|
|
49
|
+
border-inline-start-color: var(--#{$input-group}__item--m-box--BorderLeftColor);
|
|
50
|
+
border-inline-end-color: var(--#{$input-group}__item--m-box--BorderRightColor);
|
|
48
51
|
|
|
49
52
|
&:where(:not(:first-child)) {
|
|
50
|
-
margin-
|
|
53
|
+
margin-inline-start: var(--#{$input-group}__item--MarginLeft);
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
&.pf-m-box {
|
|
54
57
|
--#{$input-group}__item--BackgroundColor: var(--#{$input-group}__item--m-box--BackgroundColor);
|
|
55
58
|
|
|
56
|
-
padding-
|
|
57
|
-
padding-
|
|
59
|
+
padding-inline-start: var(--#{$input-group}__item--m-box--PaddingLeft);
|
|
60
|
+
padding-inline-end: var(--#{$input-group}__item--m-box--PaddingRight);
|
|
58
61
|
border: var(--#{$input-group}__item--m-box--BorderWidth) solid;
|
|
59
|
-
border-color: var(--#{$input-group}__item--m-box--BorderTopColor)
|
|
62
|
+
border-block-start-color: var(--#{$input-group}__item--m-box--BorderTopColor);
|
|
63
|
+
border-block-end-color: var(--#{$input-group}__item--m-box--BorderBottomColor);
|
|
64
|
+
border-inline-start-color: var(--#{$input-group}__item--m-box--BorderLeftColor);
|
|
65
|
+
border-inline-end-color: var(--#{$input-group}__item--m-box--BorderRightColor);
|
|
60
66
|
}
|
|
61
67
|
|
|
62
68
|
&.pf-m-plain {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
> * + * {
|
|
17
17
|
--#{$input-group}__item--m-box--BorderLeftColor: var(--#{$input-group}__item--BorderLeftColor);
|
|
18
18
|
|
|
19
|
-
border-
|
|
19
|
+
border-inline-start: var(--#{$input-group}__item--BorderLeftWidth) solid var(--#{$input-group}__item--BorderLeftColor);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|