@patternfly/react-styles 5.2.0-prerelease.6 → 6.0.0-alpha.10
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/CHANGELOG.md +70 -0
- package/css/assets/images/PF-Backdrop.svg +1 -0
- package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/css/assets/images/PF-IconLogo-color.svg +17 -0
- package/css/assets/images/PF-IconLogo.svg +17 -0
- package/css/assets/images/pf-background.svg +22 -0
- package/css/components/AboutModalBox/about-modal-box.css +57 -94
- package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
- package/css/components/AboutModalBox/about-modal-box.js +1 -2
- package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
- package/css/components/Accordion/accordion.css +81 -182
- package/css/components/Accordion/accordion.d.ts +2 -2
- package/css/components/Accordion/accordion.js +2 -2
- package/css/components/Accordion/accordion.mjs +2 -2
- package/css/components/ActionList/action-list.css +18 -17
- package/css/components/Alert/alert-group.css +20 -16
- package/css/components/Alert/alert.css +57 -84
- package/css/components/Alert/alert.d.ts +1 -2
- package/css/components/Alert/alert.js +1 -2
- package/css/components/Alert/alert.mjs +1 -2
- package/css/components/Avatar/avatar.css +10 -13
- package/css/components/Avatar/avatar.d.ts +1 -2
- package/css/components/Avatar/avatar.js +1 -2
- package/css/components/Avatar/avatar.mjs +1 -2
- package/css/components/BackToTop/back-to-top.css +17 -16
- package/css/components/Backdrop/backdrop.css +6 -2
- package/css/components/BackgroundImage/background-image.css +5 -1
- package/css/components/Badge/badge.css +23 -15
- package/css/components/Badge/badge.d.ts +2 -2
- package/css/components/Badge/badge.js +2 -2
- package/css/components/Badge/badge.mjs +2 -2
- package/css/components/Banner/banner.css +90 -64
- package/css/components/Banner/banner.d.ts +12 -4
- package/css/components/Banner/banner.js +12 -4
- package/css/components/Banner/banner.mjs +12 -4
- package/css/components/Breadcrumb/breadcrumb.css +19 -16
- package/css/components/Button/button.css +444 -435
- package/css/components/Button/button.d.ts +10 -9
- package/css/components/Button/button.js +10 -9
- package/css/components/Button/button.mjs +10 -9
- package/css/components/Card/card.css +97 -194
- package/css/components/Card/card.d.ts +3 -9
- package/css/components/Card/card.js +3 -9
- package/css/components/Card/card.mjs +3 -9
- package/css/components/Check/check.css +17 -16
- package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
- package/css/components/CodeBlock/code-block.css +18 -9
- package/css/components/Content/content.css +67 -67
- package/css/components/DataList/data-list.css +101 -158
- package/css/components/DataList/data-list.d.ts +1 -2
- package/css/components/DataList/data-list.js +1 -2
- package/css/components/DataList/data-list.mjs +1 -2
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/Divider/divider.css +97 -177
- package/css/components/Divider/divider.d.ts +1 -0
- package/css/components/Divider/divider.js +1 -0
- package/css/components/Divider/divider.mjs +1 -0
- package/css/components/DragDrop/drag-drop.css +18 -14
- package/css/components/DragDrop/drag-drop.d.ts +1 -2
- package/css/components/DragDrop/drag-drop.js +1 -2
- package/css/components/DragDrop/drag-drop.mjs +1 -2
- package/css/components/Drawer/drawer.css +112 -113
- package/css/components/Drawer/drawer.d.ts +3 -3
- package/css/components/Drawer/drawer.js +3 -3
- package/css/components/Drawer/drawer.mjs +3 -3
- package/css/components/EmptyState/empty-state.css +57 -34
- package/css/components/EmptyState/empty-state.d.ts +6 -1
- package/css/components/EmptyState/empty-state.js +6 -1
- package/css/components/EmptyState/empty-state.mjs +6 -1
- package/css/components/ExpandableSection/expandable-section.css +64 -62
- package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
- package/css/components/ExpandableSection/expandable-section.js +1 -3
- package/css/components/ExpandableSection/expandable-section.mjs +1 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/Form/form.css +62 -114
- package/css/components/Form/form.d.ts +2 -6
- package/css/components/Form/form.js +2 -6
- package/css/components/Form/form.mjs +2 -6
- package/css/components/FormControl/form-control.css +86 -111
- package/css/components/FormControl/form-control.d.ts +1 -2
- package/css/components/FormControl/form-control.js +1 -2
- package/css/components/FormControl/form-control.mjs +1 -2
- package/css/components/HelperText/helper-text.css +28 -34
- package/css/components/HelperText/helper-text.d.ts +1 -2
- package/css/components/HelperText/helper-text.js +1 -2
- package/css/components/HelperText/helper-text.mjs +1 -2
- package/css/components/Hint/hint.css +28 -21
- package/css/components/Hint/hint.d.ts +1 -2
- package/css/components/Hint/hint.js +1 -2
- package/css/components/Hint/hint.mjs +1 -2
- package/css/components/Icon/icon.css +154 -18
- package/css/components/Icon/icon.d.ts +11 -0
- package/css/components/Icon/icon.js +11 -0
- package/css/components/Icon/icon.mjs +11 -0
- package/css/components/InlineEdit/inline-edit.css +8 -7
- package/css/components/InputGroup/input-group.css +22 -38
- package/css/components/InputGroup/input-group.d.ts +1 -2
- package/css/components/InputGroup/input-group.js +1 -2
- package/css/components/InputGroup/input-group.mjs +1 -2
- package/css/components/JumpLinks/jump-links.css +34 -34
- package/css/components/Label/label-group.css +39 -44
- package/css/components/Label/label.css +258 -355
- package/css/components/Label/label.d.ts +11 -10
- package/css/components/Label/label.js +11 -10
- package/css/components/Label/label.mjs +11 -10
- package/css/components/List/list.css +16 -16
- package/css/components/Login/login.css +70 -97
- package/css/components/Login/login.d.ts +0 -2
- package/css/components/Login/login.js +0 -2
- package/css/components/Login/login.mjs +0 -2
- package/css/components/Masthead/masthead.css +262 -498
- package/css/components/Masthead/masthead.d.ts +3 -45
- package/css/components/Masthead/masthead.js +3 -45
- package/css/components/Masthead/masthead.mjs +3 -45
- package/css/components/MenuToggle/menu-toggle.css +56 -78
- package/css/components/ModalBox/modal-box.css +59 -52
- package/css/components/ModalBox/modal-box.d.ts +1 -2
- package/css/components/ModalBox/modal-box.js +1 -2
- package/css/components/ModalBox/modal-box.mjs +1 -2
- package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
- package/css/components/Nav/nav.css +241 -917
- package/css/components/Nav/nav.d.ts +9 -20
- package/css/components/Nav/nav.js +9 -20
- package/css/components/Nav/nav.mjs +9 -20
- package/css/components/NotificationBadge/notification-badge.css +56 -81
- package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
- package/css/components/NotificationBadge/notification-badge.js +1 -5
- package/css/components/NotificationBadge/notification-badge.mjs +1 -5
- package/css/components/NotificationDrawer/notification-drawer.css +104 -115
- package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
- package/css/components/NotificationDrawer/notification-drawer.js +3 -3
- package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
- package/css/components/NumberInput/number-input.css +8 -8
- package/css/components/NumberInput/number-input.d.ts +0 -3
- package/css/components/NumberInput/number-input.js +0 -3
- package/css/components/NumberInput/number-input.mjs +0 -3
- package/css/components/OverflowMenu/overflow-menu.css +17 -47
- package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
- package/css/components/OverflowMenu/overflow-menu.js +1 -3
- package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
- package/css/components/Page/page.css +112 -209
- package/css/components/Page/page.d.ts +5 -12
- package/css/components/Page/page.js +5 -12
- package/css/components/Page/page.mjs +5 -12
- package/css/components/Pagination/pagination.css +64 -121
- package/css/components/Pagination/pagination.d.ts +2 -5
- package/css/components/Pagination/pagination.js +2 -5
- package/css/components/Pagination/pagination.mjs +2 -5
- package/css/components/Panel/panel.css +27 -23
- package/css/components/Panel/panel.d.ts +2 -2
- package/css/components/Panel/panel.js +2 -2
- package/css/components/Panel/panel.mjs +2 -2
- package/css/components/Popover/popover.css +42 -51
- package/css/components/Popover/popover.d.ts +1 -2
- package/css/components/Popover/popover.js +1 -2
- package/css/components/Popover/popover.mjs +1 -2
- package/css/components/Progress/progress.css +31 -45
- package/css/components/Progress/progress.d.ts +1 -2
- package/css/components/Progress/progress.js +1 -2
- package/css/components/Progress/progress.mjs +1 -2
- package/css/components/Radio/radio.css +15 -11
- package/css/components/Sidebar/sidebar.css +20 -9
- package/css/components/Sidebar/sidebar.d.ts +1 -0
- package/css/components/Sidebar/sidebar.js +1 -0
- package/css/components/Sidebar/sidebar.mjs +1 -0
- package/css/components/SimpleList/simple-list.css +35 -52
- package/css/components/SimpleList/simple-list.d.ts +2 -2
- package/css/components/SimpleList/simple-list.js +2 -2
- package/css/components/SimpleList/simple-list.mjs +2 -2
- package/css/components/Skeleton/skeleton.css +18 -20
- package/css/components/Skeleton/skeleton.d.ts +1 -2
- package/css/components/Skeleton/skeleton.js +1 -2
- package/css/components/Skeleton/skeleton.mjs +1 -2
- package/css/components/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Slider/slider.css +34 -30
- package/css/components/Spinner/spinner.css +17 -34
- package/css/components/Switch/switch.css +41 -37
- package/css/components/Switch/switch.d.ts +1 -2
- package/css/components/Switch/switch.js +1 -2
- package/css/components/Switch/switch.mjs +1 -2
- package/css/components/TabContent/tab-content.css +17 -11
- package/css/components/TabContent/tab-content.d.ts +1 -1
- package/css/components/TabContent/tab-content.js +1 -1
- package/css/components/TabContent/tab-content.mjs +1 -1
- package/css/components/Table/table-grid.css +8 -8
- package/css/components/Table/table.css +79 -88
- package/css/components/Tile/tile.css +40 -81
- package/css/components/Tile/tile.d.ts +0 -1
- package/css/components/Tile/tile.js +0 -1
- package/css/components/Tile/tile.mjs +0 -1
- package/css/components/Timestamp/timestamp.css +12 -9
- package/css/components/Title/title.css +70 -19
- package/css/components/Title/title.d.ts +7 -1
- package/css/components/Title/title.js +7 -1
- package/css/components/Title/title.mjs +7 -1
- package/css/components/ToggleGroup/toggle-group.css +34 -47
- package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
- package/css/components/ToggleGroup/toggle-group.js +0 -1
- package/css/components/ToggleGroup/toggle-group.mjs +0 -1
- package/css/components/Toolbar/toolbar.css +2527 -1040
- package/css/components/Toolbar/toolbar.d.ts +406 -103
- package/css/components/Toolbar/toolbar.js +406 -103
- package/css/components/Toolbar/toolbar.mjs +406 -103
- package/css/components/Tooltip/tooltip.css +16 -16
- package/css/components/Tooltip/tooltip.d.ts +0 -1
- package/css/components/Tooltip/tooltip.js +0 -1
- package/css/components/Tooltip/tooltip.mjs +0 -1
- package/css/components/Truncate/truncate.css +4 -0
- package/css/docs/components/Button/examples/Button.css +4 -0
- package/css/docs/components/Divider/examples/Divider.css +3 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/css/docs/components/Nav/examples/Navigation.css +1 -22
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
- package/css/docs/components/Nav/examples/Navigation.js +0 -3
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
- package/css/docs/components/Page/examples/Page.css +0 -8
- package/css/docs/components/Page/examples/Page.d.ts +0 -7
- package/css/docs/components/Page/examples/Page.js +0 -7
- package/css/docs/components/Page/examples/Page.mjs +0 -7
- package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/css/docs/components/Truncate/examples/Truncate.css +2 -2
- package/package.json +5 -4
- package/css/docs/components/Avatar/examples/Avatar.css +0 -3
- package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
- package/css/docs/components/Avatar/examples/Avatar.js +0 -4
- package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
|
@@ -1,50 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-expandable-section__toggle--PaddingTop: var(--pf-
|
|
3
|
-
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-
|
|
4
|
-
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-
|
|
5
|
-
--pf-v5-c-expandable-section__toggle--PaddingLeft:
|
|
6
|
-
--pf-v5-c-expandable-section__toggle--MarginTop: 0;
|
|
7
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-global--link--Color);
|
|
8
|
-
--pf-v5-c-expandable-section__toggle--hover--Color: var(--pf-v5-global--link--Color--hover);
|
|
9
|
-
--pf-v5-c-expandable-section__toggle--active--Color: var(--pf-v5-global--link--Color--hover);
|
|
10
|
-
--pf-v5-c-expandable-section__toggle--focus--Color: var(--pf-v5-global--link--Color--hover);
|
|
11
|
-
--pf-v5-c-expandable-section__toggle--m-expanded--Color: var(--pf-v5-global--link--Color--hover);
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-expandable-section__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-expandable-section__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
12
6
|
--pf-v5-c-expandable-section__toggle--BackgroundColor: transparent;
|
|
7
|
+
--pf-v5-c-expandable-section__toggle--ColumnGap: calc(var(--pf-t--global--spacer--xs) + var(--pf-t--global--spacer--sm));
|
|
13
8
|
--pf-v5-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
14
|
-
--pf-v5-c-expandable-section__toggle-icon--Color: var(--pf-
|
|
9
|
+
--pf-v5-c-expandable-section__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
15
10
|
--pf-v5-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
|
|
16
11
|
--pf-v5-c-expandable-section__toggle-icon--Rotate: 0;
|
|
17
12
|
--pf-v5-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
|
|
18
13
|
--pf-v5-c-expandable-section--m-expanded__toggle-icon--Rotate: 90deg;
|
|
19
14
|
--pf-v5-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
20
|
-
--pf-v5-c-expandable-section__toggle-text--
|
|
21
|
-
--pf-v5-c-expandable-
|
|
15
|
+
--pf-v5-c-expandable-section__toggle-text--Color: var(--pf-t--global--color--brand--default);
|
|
16
|
+
--pf-v5-c-expandable-section__toggle-text--hover--Color: var(--pf-t--global--color--brand--hover);
|
|
17
|
+
--pf-v5-c-expandable-section--m-expanded__toggle-text--Color: var(--pf-t--global--color--brand--hover);
|
|
18
|
+
--pf-v5-c-expandable-section__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
19
|
+
--pf-v5-c-expandable-section__content--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
20
|
+
--pf-v5-c-expandable-section__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
21
|
+
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
22
22
|
--pf-v5-c-expandable-section__content--MaxWidth: auto;
|
|
23
23
|
--pf-v5-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
24
|
-
--pf-v5-c-expandable-section--m-display-lg--
|
|
25
|
-
--pf-v5-c-expandable-section--m-display-
|
|
26
|
-
--pf-v5-c-expandable-section--m-display-
|
|
27
|
-
--pf-v5-c-expandable-section--m-display-lg__toggle--
|
|
28
|
-
--pf-v5-c-expandable-section--m-display-lg__toggle--
|
|
29
|
-
--pf-v5-c-expandable-section--m-display-
|
|
30
|
-
--pf-v5-c-expandable-section--m-display-
|
|
31
|
-
--pf-v5-c-expandable-section--m-display-
|
|
32
|
-
--pf-v5-c-expandable-section--m-display-
|
|
33
|
-
--pf-v5-c-expandable-section--m-display-
|
|
34
|
-
--pf-v5-c-expandable-section--m-display-
|
|
35
|
-
--pf-v5-c-expandable-section--m-display-
|
|
36
|
-
--pf-v5-c-expandable-section--m-
|
|
24
|
+
--pf-v5-c-expandable-section--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
25
|
+
--pf-v5-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
26
|
+
--pf-v5-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
27
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
|
28
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
29
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
30
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
31
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
32
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--Width: 100%;
|
|
33
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
34
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--active--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
35
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
36
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
37
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
38
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
39
|
+
--pf-v5-c-expandable-section--m-expanded--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium) var(--pf-t--global--border--radius--medium) 0 0;
|
|
40
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base: calc(var(--pf-v5-c-expandable-section__toggle--ColumnGap) + var(--pf-v5-c-expandable-section__toggle-icon--MinWidth));
|
|
41
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base) + var(--pf-v5-c-expandable-section__toggle--PaddingLeft));
|
|
42
|
+
--pf-v5-c-expandable-section--m-display-lg--m-indented__content--PaddingLeft: calc(var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base) + var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft));
|
|
43
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
44
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingRight: var(--pf-t--global--spacer--md);
|
|
45
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
46
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
47
|
+
--pf-v5-c-expandable-section--m-truncate__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
37
48
|
--pf-v5-c-expandable-section--m-truncate__content--LineClamp: 3;
|
|
38
|
-
--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop: var(--pf-v5-global--spacer--xs);
|
|
39
49
|
}
|
|
50
|
+
|
|
40
51
|
.pf-v5-c-expandable-section.pf-m-expanded {
|
|
41
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-
|
|
52
|
+
--pf-v5-c-expandable-section__toggle-text--Color: var(--pf-v5-c-expandable-section--m-expanded__toggle-text--Color);
|
|
42
53
|
--pf-v5-c-expandable-section__toggle-icon--Rotate: var(--pf-v5-c-expandable-section--m-expanded__toggle-icon--Rotate);
|
|
43
54
|
--pf-v5-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v5-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
44
55
|
--pf-v5-c-expandable-section--m-display-lg--after--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor);
|
|
45
|
-
|
|
46
|
-
.pf-v5-c-expandable-section.pf-m-detached, .pf-v5-c-expandable-section.pf-m-truncate {
|
|
47
|
-
--pf-v5-c-expandable-section__content--MarginTop: 0;
|
|
56
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius: var(--pf-v5-c-expandable-section--m-expanded--m-display-lg__toggle--BorderRadius);
|
|
48
57
|
}
|
|
49
58
|
.pf-v5-c-expandable-section.pf-m-limit-width {
|
|
50
59
|
--pf-v5-c-expandable-section__content--MaxWidth: var(--pf-v5-c-expandable-section--m-limit-width__content--MaxWidth);
|
|
@@ -54,31 +63,31 @@
|
|
|
54
63
|
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingRight);
|
|
55
64
|
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingBottom);
|
|
56
65
|
--pf-v5-c-expandable-section__toggle--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingLeft);
|
|
66
|
+
--pf-v5-c-expandable-section__toggle--hover--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--hover--BackgroundColor);
|
|
67
|
+
--pf-v5-c-expandable-section__toggle--active--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--active--BackgroundColor);
|
|
68
|
+
--pf-v5-c-expandable-section__toggle--focus--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--focus--BackgroundColor);
|
|
69
|
+
--pf-v5-c-expandable-section__toggle--BorderRadius: var(--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius);
|
|
70
|
+
--pf-v5-c-expandable-section__toggle--Width: var(--pf-v5-c-expandable-section--m-display-lg__toggle--Width);
|
|
57
71
|
--pf-v5-c-expandable-section__content--PaddingRight: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingRight);
|
|
58
72
|
--pf-v5-c-expandable-section__content--PaddingBottom: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingBottom);
|
|
59
73
|
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft);
|
|
60
|
-
--pf-v5-c-expandable-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.pf-v5-c-expandable-section.pf-m-display-lg::after {
|
|
65
|
-
position: absolute;
|
|
66
|
-
inset-block-start: 0;
|
|
67
|
-
inset-block-end: 0;
|
|
68
|
-
inset-inline-start: 0;
|
|
69
|
-
width: var(--pf-v5-c-expandable-section--m-display-lg--after--Width);
|
|
70
|
-
content: "";
|
|
71
|
-
background-color: var(--pf-v5-c-expandable-section--m-display-lg--after--BackgroundColor);
|
|
74
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg--m-indented__content--PaddingLeft);
|
|
75
|
+
background-color: var(--pf-v5-c-expandable-section--m-display-lg--BackgroundColor);
|
|
76
|
+
border: solid 1px var(--pf-v5-c-expandable-section--m-display-lg--BorderColor);
|
|
77
|
+
border-radius: var(--pf-v5-c-expandable-section--m-display-lg--BorderRadius);
|
|
72
78
|
}
|
|
73
79
|
.pf-v5-c-expandable-section.pf-m-indented {
|
|
74
80
|
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft);
|
|
75
81
|
}
|
|
76
82
|
.pf-v5-c-expandable-section.pf-m-truncate {
|
|
77
|
-
--pf-v5-c-expandable-section__toggle--MarginTop: var(--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop);
|
|
78
83
|
--pf-v5-c-expandable-section__toggle--PaddingTop: 0;
|
|
79
84
|
--pf-v5-c-expandable-section__toggle--PaddingRight: 0;
|
|
80
|
-
--pf-v5-c-expandable-section__toggle--PaddingBottom:
|
|
81
|
-
--pf-v5-c-expandable-section__toggle
|
|
85
|
+
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-v5-c-expandable-section--m-truncate__toggle--PaddingBottom);
|
|
86
|
+
--pf-v5-c-expandable-section__toggle--PaddingLeft: 0;
|
|
87
|
+
--pf-v5-c-expandable-section__content--PaddingTop: 0;
|
|
88
|
+
--pf-v5-c-expandable-section__content--PaddingRight: 0;
|
|
89
|
+
--pf-v5-c-expandable-section__content--PaddingBottom: 0;
|
|
90
|
+
--pf-v5-c-expandable-section__content--PaddingLeft: 0;
|
|
82
91
|
}
|
|
83
92
|
.pf-v5-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v5-c-expandable-section__content {
|
|
84
93
|
display: -webkit-box;
|
|
@@ -86,29 +95,22 @@
|
|
|
86
95
|
-webkit-line-clamp: var(--pf-v5-c-expandable-section--m-truncate__content--LineClamp);
|
|
87
96
|
overflow: hidden;
|
|
88
97
|
}
|
|
89
|
-
.pf-v5-c-expandable-section.pf-m-detached {
|
|
90
|
-
--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop: 0;
|
|
91
|
-
}
|
|
92
98
|
|
|
93
99
|
.pf-v5-c-expandable-section__toggle {
|
|
94
100
|
display: flex;
|
|
101
|
+
column-gap: var(--pf-v5-c-expandable-section__toggle--ColumnGap);
|
|
102
|
+
width: var(--pf-v5-c-expandable-section__toggle--Width, initial);
|
|
95
103
|
padding-block-start: var(--pf-v5-c-expandable-section__toggle--PaddingTop);
|
|
96
104
|
padding-block-end: var(--pf-v5-c-expandable-section__toggle--PaddingBottom);
|
|
97
105
|
padding-inline-start: var(--pf-v5-c-expandable-section__toggle--PaddingLeft);
|
|
98
106
|
padding-inline-end: var(--pf-v5-c-expandable-section__toggle--PaddingRight);
|
|
99
|
-
margin-block-start: var(--pf-v5-c-expandable-section__toggle--MarginTop);
|
|
100
|
-
color: var(--pf-v5-c-expandable-section__toggle--Color);
|
|
101
107
|
background-color: var(--pf-v5-c-expandable-section__toggle--BackgroundColor);
|
|
102
108
|
border: none;
|
|
109
|
+
border-radius: var(--pf-v5-c-expandable-section__toggle--BorderRadius, 0);
|
|
103
110
|
}
|
|
104
|
-
.pf-v5-c-expandable-section__toggle:hover {
|
|
105
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--hover--Color);
|
|
106
|
-
|
|
107
|
-
.pf-v5-c-expandable-section__toggle:active, .pf-v5-c-expandable-section__toggle.pf-m-active {
|
|
108
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--active--Color);
|
|
109
|
-
}
|
|
110
|
-
.pf-v5-c-expandable-section__toggle:focus {
|
|
111
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--focus--Color);
|
|
111
|
+
.pf-v5-c-expandable-section__toggle:is(:hover, :focus) {
|
|
112
|
+
--pf-v5-c-expandable-section__toggle-text--Color: var(--pf-v5-c-expandable-section__toggle-text--hover--Color);
|
|
113
|
+
--pf-v5-c-expandable-section__toggle--BackgroundColor: var(--pf-v5-c-expandable-section__toggle--hover--BackgroundColor, initial);
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
.pf-v5-c-expandable-section__toggle-icon {
|
|
@@ -126,13 +128,13 @@
|
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
.pf-v5-c-expandable-section__toggle-text {
|
|
129
|
-
|
|
131
|
+
color: var(--pf-v5-c-expandable-section__toggle-text--Color);
|
|
130
132
|
}
|
|
131
133
|
|
|
132
134
|
.pf-v5-c-expandable-section__content {
|
|
133
135
|
max-width: var(--pf-v5-c-expandable-section__content--MaxWidth);
|
|
136
|
+
padding-block-start: var(--pf-v5-c-expandable-section__content--PaddingTop);
|
|
134
137
|
padding-block-end: var(--pf-v5-c-expandable-section__content--PaddingBottom);
|
|
135
138
|
padding-inline-start: var(--pf-v5-c-expandable-section__content--PaddingLeft);
|
|
136
139
|
padding-inline-end: var(--pf-v5-c-expandable-section__content--PaddingRight);
|
|
137
|
-
margin-block-start: var(--pf-v5-c-expandable-section__content--MarginTop);
|
|
138
140
|
}
|
|
@@ -8,12 +8,10 @@ declare const _default: {
|
|
|
8
8
|
"expandableSectionToggleText": "pf-v5-c-expandable-section__toggle-text",
|
|
9
9
|
"modifiers": {
|
|
10
10
|
"expanded": "pf-m-expanded",
|
|
11
|
-
"detached": "pf-m-detached",
|
|
12
|
-
"truncate": "pf-m-truncate",
|
|
13
11
|
"limitWidth": "pf-m-limit-width",
|
|
14
12
|
"displayLg": "pf-m-display-lg",
|
|
15
13
|
"indented": "pf-m-indented",
|
|
16
|
-
"
|
|
14
|
+
"truncate": "pf-m-truncate",
|
|
17
15
|
"expandTop": "pf-m-expand-top"
|
|
18
16
|
}
|
|
19
17
|
};
|
|
@@ -10,12 +10,10 @@ exports.default = {
|
|
|
10
10
|
"expandableSectionToggleText": "pf-v5-c-expandable-section__toggle-text",
|
|
11
11
|
"modifiers": {
|
|
12
12
|
"expanded": "pf-m-expanded",
|
|
13
|
-
"detached": "pf-m-detached",
|
|
14
|
-
"truncate": "pf-m-truncate",
|
|
15
13
|
"limitWidth": "pf-m-limit-width",
|
|
16
14
|
"displayLg": "pf-m-display-lg",
|
|
17
15
|
"indented": "pf-m-indented",
|
|
18
|
-
"
|
|
16
|
+
"truncate": "pf-m-truncate",
|
|
19
17
|
"expandTop": "pf-m-expand-top"
|
|
20
18
|
}
|
|
21
19
|
};
|
|
@@ -8,12 +8,10 @@ export default {
|
|
|
8
8
|
"expandableSectionToggleText": "pf-v5-c-expandable-section__toggle-text",
|
|
9
9
|
"modifiers": {
|
|
10
10
|
"expanded": "pf-m-expanded",
|
|
11
|
-
"detached": "pf-m-detached",
|
|
12
|
-
"truncate": "pf-m-truncate",
|
|
13
11
|
"limitWidth": "pf-m-limit-width",
|
|
14
12
|
"displayLg": "pf-m-display-lg",
|
|
15
13
|
"indented": "pf-m-indented",
|
|
16
|
-
"
|
|
14
|
+
"truncate": "pf-m-truncate",
|
|
17
15
|
"expandTop": "pf-m-expand-top"
|
|
18
16
|
}
|
|
19
17
|
};
|
|
@@ -1,45 +1,39 @@
|
|
|
1
|
+
:where(:root),
|
|
2
|
+
:where(.pf-v5-c-file-upload) {
|
|
3
|
+
--pf-v5-c-file-upload--RowGap: var(--pf-t--global--spacer--sm);
|
|
4
|
+
--pf-v5-c-file-upload--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-file-upload--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--pf-v5-c-file-upload--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
7
|
+
--pf-v5-c-file-upload--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--pf-v5-c-file-upload--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
9
|
+
--pf-v5-c-file-upload--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
10
|
+
--pf-v5-c-file-upload--BorderColor: transparent;
|
|
11
|
+
--pf-v5-c-file-upload--BorderStyle: solid;
|
|
12
|
+
--pf-v5-c-file-upload--m-drag-hover--BorderColor: var(--pf-t--global--icon--color--brand--default);
|
|
13
|
+
--pf-v5-c-file-upload--m-drag-hover--BorderStyle: dashed;
|
|
14
|
+
--pf-v5-c-file-upload__file-select__c-button--m-control--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
15
|
+
--pf-v5-c-file-upload__file-details__c-form-control--MinHeight: calc(var(--pf-t--global--spacer--3xl) * 2);
|
|
16
|
+
}
|
|
17
|
+
|
|
1
18
|
.pf-v5-c-file-upload {
|
|
2
|
-
--pf-v5-c-file-upload--m-loading__file-details--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
3
|
-
--pf-v5-c-file-upload--m-loading__file-details--before--Left: var(--pf-v5-global--BorderWidth--sm);
|
|
4
|
-
--pf-v5-c-file-upload--m-loading__file-details--before--Right: var(--pf-v5-global--BorderWidth--sm);
|
|
5
|
-
--pf-v5-c-file-upload--m-loading__file-details--before--Bottom: var(--pf-v5-global--BorderWidth--sm);
|
|
6
|
-
--pf-v5-c-file-upload--m-drag-hover--before--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
7
|
-
--pf-v5-c-file-upload--m-drag-hover--before--BorderColor: var(--pf-v5-global--primary-color--100);
|
|
8
|
-
--pf-v5-c-file-upload--m-drag-hover--before--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
|
9
|
-
--pf-v5-c-file-upload--m-drag-hover--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
|
|
10
|
-
--pf-v5-c-file-upload--m-drag-hover--after--Opacity: .1;
|
|
11
|
-
--pf-v5-c-file-upload__file-details__c-form-control--MinHeight: calc(var(--pf-v5-global--spacer--3xl) * 2);
|
|
12
|
-
--pf-v5-c-file-upload__file-select__c-button--m-control--OutlineOffset: calc(-1 * var(--pf-v5-global--spacer--xs));
|
|
13
19
|
position: relative;
|
|
14
20
|
display: flex;
|
|
15
21
|
flex-direction: column;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
border: var(--pf-v5-c-file-upload--
|
|
23
|
-
}
|
|
24
|
-
.pf-v5-c-file-upload.pf-m-drag-hover
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
content: "";
|
|
28
|
-
background-color: var(--pf-v5-c-file-upload--m-drag-hover--after--BackgroundColor);
|
|
29
|
-
opacity: var(--pf-v5-c-file-upload--m-drag-hover--after--Opacity);
|
|
22
|
+
row-gap: var(--pf-v5-c-file-upload--RowGap);
|
|
23
|
+
padding-block-start: var(--pf-v5-c-file-upload--PaddingBlockStart);
|
|
24
|
+
padding-block-end: var(--pf-v5-c-file-upload--PaddingBlockEnd);
|
|
25
|
+
padding-inline-start: var(--pf-v5-c-file-upload--PaddingInlineStart);
|
|
26
|
+
padding-inline-end: var(--pf-v5-c-file-upload--PaddingInlineEnd);
|
|
27
|
+
border: var(--pf-v5-c-file-upload--BorderWidth) var(--pf-v5-c-file-upload--BorderStyle) var(--pf-v5-c-file-upload--BorderColor);
|
|
28
|
+
border-radius: var(--pf-v5-c-file-upload--BorderRadius);
|
|
29
|
+
}
|
|
30
|
+
.pf-v5-c-file-upload.pf-m-drag-hover {
|
|
31
|
+
--pf-v5-c-file-upload--BorderColor: var(--pf-v5-c-file-upload--m-drag-hover--BorderColor);
|
|
32
|
+
--pf-v5-c-file-upload--BorderStyle: var(--pf-v5-c-file-upload--m-drag-hover--BorderStyle);
|
|
30
33
|
}
|
|
31
34
|
.pf-v5-c-file-upload.pf-m-loading .pf-v5-c-file-upload__file-details {
|
|
32
35
|
position: relative;
|
|
33
36
|
}
|
|
34
|
-
.pf-v5-c-file-upload.pf-m-loading .pf-v5-c-file-upload__file-details::before {
|
|
35
|
-
position: absolute;
|
|
36
|
-
inset-block-start: 0;
|
|
37
|
-
inset-block-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
38
|
-
inset-inline-start: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
39
|
-
inset-inline-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
40
|
-
content: "";
|
|
41
|
-
background-color: var(--pf-v5-c-file-upload--m-loading__file-details--before--BackgroundColor);
|
|
42
|
-
}
|
|
43
37
|
|
|
44
38
|
.pf-v5-c-file-upload__file-select .pf-v5-c-button.pf-m-control {
|
|
45
39
|
outline-offset: var(--pf-v5-c-file-upload__file-select__c-button--m-control--OutlineOffset);
|
|
@@ -1,102 +1,88 @@
|
|
|
1
|
+
:root,
|
|
1
2
|
.pf-v5-c-form {
|
|
2
|
-
--pf-v5-c-form--GridGap: var(--pf-
|
|
3
|
-
--pf-v5-c-form__group--
|
|
3
|
+
--pf-v5-c-form--GridGap: var(--pf-t--global--spacer--lg);
|
|
4
|
+
--pf-v5-c-form__group--Gap: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-form__group--m-action--MarginTop: var(--pf-t--global--spacer--xl);
|
|
4
6
|
--pf-v5-c-form--m-horizontal__group-label--md--GridColumnWidth: 9.375rem;
|
|
5
|
-
--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-
|
|
7
|
+
--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--md);
|
|
6
8
|
--pf-v5-c-form--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
7
9
|
--pf-v5-c-form--m-limit-width--MaxWidth: 55rem;
|
|
8
|
-
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-
|
|
9
|
-
--pf-v5-c-form__group-label--PaddingBottom: var(--pf-
|
|
10
|
+
--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) + (2 * var(--pf-t--global--border--width--control--default))) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)) - ((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) + var(--pf-t--global--border--width--control--default));
|
|
11
|
+
--pf-v5-c-form__group-label--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
10
12
|
--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop: 0;
|
|
11
|
-
--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-
|
|
12
|
-
--pf-v5-c-form__label--FontSize: var(--pf-
|
|
13
|
-
--pf-v5-c-form__label--LineHeight: var(--pf-
|
|
14
|
-
--pf-v5-c-form__label--m-disabled--Color: var(--pf-
|
|
13
|
+
--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) - ((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)));
|
|
14
|
+
--pf-v5-c-form__label--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15
|
+
--pf-v5-c-form__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
16
|
+
--pf-v5-c-form__label--m-disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
15
17
|
--pf-v5-c-form__label--hover--Cursor: pointer;
|
|
16
18
|
--pf-v5-c-form__label--m-disabled--hover--Cursor: not-allowed;
|
|
17
|
-
--pf-v5-c-form__label-text--FontWeight: var(--pf-
|
|
18
|
-
--pf-v5-c-form__label-required--MarginLeft: var(--pf-
|
|
19
|
-
--pf-v5-c-form__label-required--FontSize: var(--pf-
|
|
20
|
-
--pf-v5-c-form__label-required--Color: var(--pf-
|
|
21
|
-
--pf-v5-c-form__group-label-help--
|
|
22
|
-
--pf-v5-c-form__group-label-
|
|
23
|
-
--pf-v5-c-form__group-label-
|
|
24
|
-
--pf-v5-c-form__group-
|
|
25
|
-
--pf-v5-c-form__group-
|
|
26
|
-
--pf-v5-c-form__group-
|
|
27
|
-
--pf-v5-c-form__group-
|
|
28
|
-
--pf-v5-c-form__group-label-help--MarginBottom: calc(var(--pf-v5-c-form__group-label-help--PaddingBottom) * -1);
|
|
29
|
-
--pf-v5-c-form__group-label-help--MarginLeft: calc(var(--pf-v5-c-form__group-label-help--PaddingLeft) * -1 + var(--pf-v5-global--spacer--xs));
|
|
30
|
-
--pf-v5-c-form__group-label-help--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
31
|
-
--pf-v5-c-form__group-label-help--TranslateY: 0.125rem;
|
|
32
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-global--Color--200);
|
|
33
|
-
--pf-v5-c-form__group-label-help--hover--Color: var(--pf-v5-global--Color--100);
|
|
34
|
-
--pf-v5-c-form__group-label-help--focus--Color: var(--pf-v5-global--Color--100);
|
|
35
|
-
--pf-v5-c-form__group-label-info--MarginLeft: var(--pf-v5-global--spacer--sm);
|
|
36
|
-
--pf-v5-c-form__group-label-info--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
37
|
-
--pf-v5-c-form__group-control--m-inline--child--MarginRight: var(--pf-v5-global--spacer--lg);
|
|
38
|
-
--pf-v5-c-form__group-control__helper-text--MarginBottom: var(--pf-v5-global--spacer--xs);
|
|
39
|
-
--pf-v5-c-form__group-control--m-stack--Gap: var(--pf-v5-global--spacer--sm);
|
|
19
|
+
--pf-v5-c-form__label-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
20
|
+
--pf-v5-c-form__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
21
|
+
--pf-v5-c-form__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
22
|
+
--pf-v5-c-form__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
23
|
+
--pf-v5-c-form__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
24
|
+
--pf-v5-c-form__group-label-info--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
25
|
+
--pf-v5-c-form__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
26
|
+
--pf-v5-c-form__group-control--m-inline--child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
27
|
+
--pf-v5-c-form__group-control__helper-text--MarginBottom: var(--pf-t--global--spacer--xs);
|
|
28
|
+
--pf-v5-c-form__group-control--Gap: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--pf-v5-c-form__group-control--m-stack--Gap: var(--pf-t--global--spacer--sm);
|
|
40
30
|
--pf-v5-c-form__group-control--m-stack__helper-text--MarginTop: calc(var(--pf-v5-c-form__group-control--m-stack--Gap) * -1 + var(--pf-v5-c-form__helper-text--MarginTop--base));
|
|
41
|
-
--pf-v5-c-form__actions--child--MarginTop: var(--pf-
|
|
42
|
-
--pf-v5-c-form__actions--child--MarginRight: var(--pf-
|
|
43
|
-
--pf-v5-c-form__actions--child--MarginBottom: var(--pf-
|
|
44
|
-
--pf-v5-c-form__actions--child--MarginLeft: var(--pf-
|
|
31
|
+
--pf-v5-c-form__actions--child--MarginTop: var(--pf-t--global--spacer--sm);
|
|
32
|
+
--pf-v5-c-form__actions--child--MarginRight: var(--pf-t--global--spacer--sm);
|
|
33
|
+
--pf-v5-c-form__actions--child--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
34
|
+
--pf-v5-c-form__actions--child--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
45
35
|
--pf-v5-c-form__actions--MarginTop: calc(var(--pf-v5-c-form__actions--child--MarginTop) * -1);
|
|
46
36
|
--pf-v5-c-form__actions--MarginRight: calc(var(--pf-v5-c-form__actions--child--MarginRight) * -1);
|
|
47
37
|
--pf-v5-c-form__actions--MarginBottom: calc(var(--pf-v5-c-form__actions--child--MarginBottom) * -1);
|
|
48
38
|
--pf-v5-c-form__actions--MarginLeft: calc(var(--pf-v5-c-form__actions--child--MarginLeft) * -1);
|
|
49
|
-
--pf-v5-c-form__helper-text--MarginTop--base: var(--pf-
|
|
39
|
+
--pf-v5-c-form__helper-text--MarginTop--base: var(--pf-t--global--spacer--xs);
|
|
50
40
|
--pf-v5-c-form__helper-text--MarginTop: var(--pf-v5-c-form__helper-text--MarginTop--base);
|
|
51
|
-
--pf-v5-c-
|
|
52
|
-
--pf-v5-c-
|
|
53
|
-
--pf-v5-c-
|
|
54
|
-
--pf-v5-c-
|
|
55
|
-
--pf-v5-c-
|
|
56
|
-
--pf-v5-c-
|
|
57
|
-
--pf-v5-c-form__helper-text--m-error--Color: var(--pf-v5-global--danger-color--100);
|
|
58
|
-
--pf-v5-c-form__section--MarginTop: var(--pf-v5-global--spacer--xl);
|
|
59
|
-
--pf-v5-c-form__section--Gap: var(--pf-v5-global--gutter--md);
|
|
60
|
-
--pf-v5-c-form__section-title--FontSize: var(--pf-v5-global--FontSize--lg);
|
|
61
|
-
--pf-v5-c-form__section-title--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
62
|
-
--pf-v5-c-form__section-title--MarginBottom: calc(var(--pf-v5-global--spacer--sm) * -1);
|
|
63
|
-
--pf-v5-c-form__field-group--border-width-base: var(--pf-v5-global--BorderWidth--sm);
|
|
41
|
+
--pf-v5-c-form__section--MarginTop: var(--pf-t--global--spacer--xl);
|
|
42
|
+
--pf-v5-c-form__section--Gap: var(--pf-t--global--spacer--md);
|
|
43
|
+
--pf-v5-c-form__section-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
44
|
+
--pf-v5-c-form__section-title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
45
|
+
--pf-v5-c-form__section-title--MarginBottom: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
46
|
+
--pf-v5-c-form__field-group--border-width-base: var(--pf-t--global--border--width--divider--default);
|
|
64
47
|
--pf-v5-c-form__field-group--BorderTopWidth: var(--pf-v5-c-form__field-group--border-width-base);
|
|
65
|
-
--pf-v5-c-form__field-group--BorderTopColor: var(--pf-
|
|
48
|
+
--pf-v5-c-form__field-group--BorderTopColor: var(--pf-t--global--border--color--default);
|
|
66
49
|
--pf-v5-c-form__field-group--BorderBottomWidth: var(--pf-v5-c-form__field-group--border-width-base);
|
|
67
|
-
--pf-v5-c-form__field-group--BorderBottomColor: var(--pf-
|
|
50
|
+
--pf-v5-c-form__field-group--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
68
51
|
--pf-v5-c-form__field-group--field-group--MarginTop: calc(var(--pf-v5-c-form--GridGap) * -1);
|
|
69
|
-
--pf-v5-c-form__field-group--GridTemplateColumns--toggle: calc(var(--pf-
|
|
70
|
-
--pf-v5-c-form__field-group-toggle--PaddingTop: var(--pf-
|
|
71
|
-
--pf-v5-c-form__field-group-toggle--PaddingRight: var(--pf-
|
|
72
|
-
--pf-v5-c-form__field-group__field-group__field-group-toggle--PaddingTop: var(--pf-
|
|
73
|
-
--pf-v5-c-form__field-group-header-toggle--BorderWidth--base: var(--pf-
|
|
52
|
+
--pf-v5-c-form__field-group--GridTemplateColumns--toggle: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v5-c-form__field-group-toggle-icon--MinWidth) + var(--pf-t--global--spacer--xs));
|
|
53
|
+
--pf-v5-c-form__field-group-toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
54
|
+
--pf-v5-c-form__field-group-toggle--PaddingRight: var(--pf-t--global--spacer--xs);
|
|
55
|
+
--pf-v5-c-form__field-group__field-group__field-group-toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
|
56
|
+
--pf-v5-c-form__field-group-header-toggle--BorderWidth--base: var(--pf-t--global--border--width--divider--default);
|
|
74
57
|
--pf-v5-c-form__field-group__field-group--field-group__field-group-toggle--after--BorderTopWidth: var(--pf-v5-c-form__field-group-header-toggle--BorderWidth--base);
|
|
75
|
-
--pf-v5-c-form__field-group-toggle-button--MarginTop: calc(var(--pf-
|
|
76
|
-
--pf-v5-c-form__field-group-toggle-button--MarginBottom: calc(var(--pf-
|
|
58
|
+
--pf-v5-c-form__field-group-toggle-button--MarginTop: calc(var(--pf-t--global--spacer--form-element) * -1);
|
|
59
|
+
--pf-v5-c-form__field-group-toggle-button--MarginBottom: calc(var(--pf-t--global--spacer--form-element) * -1);
|
|
77
60
|
--pf-v5-c-form__field-group-toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
78
|
-
--pf-v5-c-form__field-group-toggle-icon--MinWidth: var(--pf-
|
|
61
|
+
--pf-v5-c-form__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
79
62
|
--pf-v5-c-form__field-group-toggle-icon--Rotate: 0;
|
|
80
63
|
--pf-v5-c-form__field-group--m-expanded__toggle-icon--Rotate: 90deg;
|
|
81
|
-
--pf-v5-c-form__field-group-header--PaddingTop: var(--pf-
|
|
82
|
-
--pf-v5-c-form__field-group-header--PaddingBottom: var(--pf-
|
|
64
|
+
--pf-v5-c-form__field-group-header--PaddingTop: var(--pf-t--global--spacer--md);
|
|
65
|
+
--pf-v5-c-form__field-group-header--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
83
66
|
--pf-v5-c-form__field-group-header--GridColumn: 1 / 3;
|
|
84
|
-
--pf-v5-c-form__field-group__field-group__field-group-header--PaddingTop: var(--pf-
|
|
85
|
-
--pf-v5-c-form__field-group__field-group__field-group-header--PaddingBottom: var(--pf-
|
|
67
|
+
--pf-v5-c-form__field-group__field-group__field-group-header--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
68
|
+
--pf-v5-c-form__field-group__field-group__field-group-header--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
86
69
|
--pf-v5-c-form__field-group-toggle--field-group-header--GridColumn: 2 / 3;
|
|
87
70
|
--pf-v5-c-form__field-group__field-group--field-group__field-group-header--after--BorderTopWidth: var(--pf-v5-c-form__field-group-header-toggle--BorderWidth--base);
|
|
88
|
-
--pf-v5-c-form__field-group-header-description--MarginTop: var(--pf-
|
|
89
|
-
--pf-v5-c-form__field-group-header-description--Color: var(--pf-
|
|
90
|
-
--pf-v5-c-form__field-group-header-actions--MarginTop: calc(var(--pf-
|
|
91
|
-
--pf-v5-c-form__field-group-header-actions--MarginBottom: calc(var(--pf-
|
|
92
|
-
--pf-v5-c-form__field-group-header-actions--MarginLeft: var(--pf-
|
|
93
|
-
--pf-v5-c-form__field-group-body--PaddingTop: var(--pf-
|
|
94
|
-
--pf-v5-c-form__field-group-body--PaddingBottom: var(--pf-
|
|
71
|
+
--pf-v5-c-form__field-group-header-description--MarginTop: var(--pf-t--global--spacer--xs);
|
|
72
|
+
--pf-v5-c-form__field-group-header-description--Color: var(--pf-t--global--text--color--subtle);
|
|
73
|
+
--pf-v5-c-form__field-group-header-actions--MarginTop: calc(var(--pf-t--global--spacer--form-element) * -1);
|
|
74
|
+
--pf-v5-c-form__field-group-header-actions--MarginBottom: calc(var(--pf-t--global--spacer--form-element) * -1);
|
|
75
|
+
--pf-v5-c-form__field-group-header-actions--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
76
|
+
--pf-v5-c-form__field-group-body--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
77
|
+
--pf-v5-c-form__field-group-body--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
95
78
|
--pf-v5-c-form__field-group-body--Gap: var(--pf-v5-c-form--GridGap);
|
|
96
79
|
--pf-v5-c-form__field-group-body--GridColumn: 2 / 3;
|
|
97
80
|
--pf-v5-c-form__field-group__field-group__field-group-body--GridColumn: 1 / 3;
|
|
98
81
|
--pf-v5-c-form__field-group__field-group__field-group-toggle--field-group-body--GridColumn: 2 / 3;
|
|
99
82
|
--pf-v5-c-form__field-group-body__field-group--last-child--MarginBottom: calc(var(--pf-v5-c-form__field-group-body--PaddingBottom) * -1);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.pf-v5-c-form {
|
|
100
86
|
display: grid;
|
|
101
87
|
gap: var(--pf-v5-c-form--GridGap);
|
|
102
88
|
}
|
|
@@ -248,6 +234,9 @@
|
|
|
248
234
|
}
|
|
249
235
|
|
|
250
236
|
.pf-v5-c-form__group {
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
gap: var(--pf-v5-c-form__group--Gap);
|
|
251
240
|
min-width: 0;
|
|
252
241
|
}
|
|
253
242
|
.pf-v5-c-form__group.pf-m-action {
|
|
@@ -271,7 +260,6 @@
|
|
|
271
260
|
|
|
272
261
|
.pf-v5-c-form__group-label {
|
|
273
262
|
--pf-v5-c-form__helper-text--MarginTop: 0;
|
|
274
|
-
padding-block-end: var(--pf-v5-c-form__group-label--PaddingBottom);
|
|
275
263
|
}
|
|
276
264
|
.pf-v5-c-form__group-label.pf-m-info {
|
|
277
265
|
display: flex;
|
|
@@ -314,28 +302,8 @@
|
|
|
314
302
|
color: var(--pf-v5-c-form__label-required--Color);
|
|
315
303
|
}
|
|
316
304
|
|
|
317
|
-
.pf-v5-c-form__group-label-help {
|
|
318
|
-
|
|
319
|
-
padding-block-end: var(--pf-v5-c-form__group-label-help--PaddingBottom);
|
|
320
|
-
padding-inline-start: var(--pf-v5-c-form__group-label-help--PaddingLeft);
|
|
321
|
-
padding-inline-end: var(--pf-v5-c-form__group-label-help--PaddingRight);
|
|
322
|
-
margin-block-start: var(--pf-v5-c-form__group-label-help--MarginTop);
|
|
323
|
-
margin-block-end: var(--pf-v5-c-form__group-label-help--MarginBottom);
|
|
324
|
-
margin-inline-start: var(--pf-v5-c-form__group-label-help--MarginLeft);
|
|
325
|
-
margin-inline-end: var(--pf-v5-c-form__group-label-help--MarginRight);
|
|
326
|
-
font-size: var(--pf-v5-c-form__group-label-help--FontSize);
|
|
327
|
-
line-height: 1;
|
|
328
|
-
color: var(--pf-v5-c-form__group-label-help--Color);
|
|
329
|
-
cursor: pointer;
|
|
330
|
-
background-color: var(--pf-v5-c-form__group-label-help--BackgroundColor);
|
|
331
|
-
border: 0;
|
|
332
|
-
transform: translateY(var(--pf-v5-c-form__group-label-help--TranslateY));
|
|
333
|
-
}
|
|
334
|
-
.pf-v5-c-form__group-label-help:hover {
|
|
335
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--hover--Color);
|
|
336
|
-
}
|
|
337
|
-
.pf-v5-c-form__group-label-help:focus-within {
|
|
338
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--focus--Color);
|
|
305
|
+
.pf-v5-c-form__group-label-help .pf-v5-c-button {
|
|
306
|
+
--pf-v5-c-button--FontSize: var(--pf-v5-c-form__group-label-help--FontSize);
|
|
339
307
|
}
|
|
340
308
|
|
|
341
309
|
.pf-v5-c-form__group-control {
|
|
@@ -363,17 +331,6 @@
|
|
|
363
331
|
|
|
364
332
|
.pf-v5-c-form__helper-text {
|
|
365
333
|
margin-block-start: var(--pf-v5-c-form__helper-text--MarginTop);
|
|
366
|
-
font-size: var(--pf-v5-c-form__helper-text--FontSize);
|
|
367
|
-
color: var(--pf-v5-c-form__helper-text--Color);
|
|
368
|
-
}
|
|
369
|
-
.pf-v5-c-form__helper-text.pf-m-error {
|
|
370
|
-
--pf-v5-c-form__helper-text--Color: var(--pf-v5-c-form__helper-text--m-error--Color);
|
|
371
|
-
}
|
|
372
|
-
.pf-v5-c-form__helper-text.pf-m-success {
|
|
373
|
-
--pf-v5-c-form__helper-text--Color: var(--pf-v5-c-form__helper-text--m-success--Color);
|
|
374
|
-
}
|
|
375
|
-
.pf-v5-c-form__helper-text.pf-m-warning {
|
|
376
|
-
--pf-v5-c-form__helper-text--Color: var(--pf-v5-c-form__helper-text--m-warning--Color);
|
|
377
334
|
}
|
|
378
335
|
.pf-v5-c-form__helper-text.pf-m-inactive {
|
|
379
336
|
display: none;
|
|
@@ -383,11 +340,6 @@
|
|
|
383
340
|
opacity: 0;
|
|
384
341
|
}
|
|
385
342
|
|
|
386
|
-
.pf-v5-c-form__helper-text-icon {
|
|
387
|
-
margin-inline-end: var(--pf-v5-c-form__helper-text-icon--MarginRight);
|
|
388
|
-
font-size: var(--pf-v5-c-form__helper-text-icon--FontSize);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
343
|
.pf-v5-c-form__fieldset {
|
|
392
344
|
border: 0;
|
|
393
345
|
}
|
|
@@ -511,8 +463,4 @@
|
|
|
511
463
|
}
|
|
512
464
|
.pf-v5-c-form__field-group-body > .pf-v5-c-form__field-group:last-child {
|
|
513
465
|
margin-block-end: var(--pf-v5-c-form__field-group-body__field-group--last-child--MarginBottom);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-form {
|
|
517
|
-
--pf-v5-c-form__helper-text--m-success--Color: var(--pf-v5-global--success-color--100);
|
|
518
466
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import './form.css';
|
|
2
2
|
declare const _default: {
|
|
3
|
+
"button": "pf-v5-c-button",
|
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
|
4
5
|
"form": "pf-v5-c-form",
|
|
5
6
|
"formActions": "pf-v5-c-form__actions",
|
|
@@ -22,7 +23,6 @@ declare const _default: {
|
|
|
22
23
|
"formGroupLabelInfo": "pf-v5-c-form__group-label-info",
|
|
23
24
|
"formGroupLabelMain": "pf-v5-c-form__group-label-main",
|
|
24
25
|
"formHelperText": "pf-v5-c-form__helper-text",
|
|
25
|
-
"formHelperTextIcon": "pf-v5-c-form__helper-text-icon",
|
|
26
26
|
"formLabel": "pf-v5-c-form__label",
|
|
27
27
|
"formLabelRequired": "pf-v5-c-form__label-required",
|
|
28
28
|
"formLabelText": "pf-v5-c-form__label-text",
|
|
@@ -44,13 +44,9 @@ declare const _default: {
|
|
|
44
44
|
"disabled": "pf-m-disabled",
|
|
45
45
|
"inline": "pf-m-inline",
|
|
46
46
|
"stack": "pf-m-stack",
|
|
47
|
-
"error": "pf-m-error",
|
|
48
|
-
"success": "pf-m-success",
|
|
49
|
-
"warning": "pf-m-warning",
|
|
50
47
|
"inactive": "pf-m-inactive",
|
|
51
48
|
"hidden": "pf-m-hidden",
|
|
52
49
|
"expanded": "pf-m-expanded"
|
|
53
|
-
}
|
|
54
|
-
"themeDark": "pf-v5-theme-dark"
|
|
50
|
+
}
|
|
55
51
|
};
|
|
56
52
|
export default _default;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
exports.__esModule = true;
|
|
3
3
|
require('./form.css');
|
|
4
4
|
exports.default = {
|
|
5
|
+
"button": "pf-v5-c-button",
|
|
5
6
|
"dirRtl": "pf-v5-m-dir-rtl",
|
|
6
7
|
"form": "pf-v5-c-form",
|
|
7
8
|
"formActions": "pf-v5-c-form__actions",
|
|
@@ -24,7 +25,6 @@ exports.default = {
|
|
|
24
25
|
"formGroupLabelInfo": "pf-v5-c-form__group-label-info",
|
|
25
26
|
"formGroupLabelMain": "pf-v5-c-form__group-label-main",
|
|
26
27
|
"formHelperText": "pf-v5-c-form__helper-text",
|
|
27
|
-
"formHelperTextIcon": "pf-v5-c-form__helper-text-icon",
|
|
28
28
|
"formLabel": "pf-v5-c-form__label",
|
|
29
29
|
"formLabelRequired": "pf-v5-c-form__label-required",
|
|
30
30
|
"formLabelText": "pf-v5-c-form__label-text",
|
|
@@ -46,12 +46,8 @@ exports.default = {
|
|
|
46
46
|
"disabled": "pf-m-disabled",
|
|
47
47
|
"inline": "pf-m-inline",
|
|
48
48
|
"stack": "pf-m-stack",
|
|
49
|
-
"error": "pf-m-error",
|
|
50
|
-
"success": "pf-m-success",
|
|
51
|
-
"warning": "pf-m-warning",
|
|
52
49
|
"inactive": "pf-m-inactive",
|
|
53
50
|
"hidden": "pf-m-hidden",
|
|
54
51
|
"expanded": "pf-m-expanded"
|
|
55
|
-
}
|
|
56
|
-
"themeDark": "pf-v5-theme-dark"
|
|
52
|
+
}
|
|
57
53
|
};
|