@patternfly/patternfly 6.0.0-prerelease.4 → 6.0.0-prerelease.5
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/base/patternfly-variables.css +3 -0
- package/base/tokens/tokens-local.scss +3 -0
- package/components/Accordion/accordion.css +2 -2
- package/components/Accordion/accordion.scss +4 -3
- package/components/CalendarMonth/calendar-month.css +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +1 -1
- package/components/Card/card.scss +1 -1
- package/components/Check/check.css +1 -1
- package/components/Check/check.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +3 -3
- package/components/ClipboardCopy/clipboard-copy.scss +3 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/DescriptionList/description-list.css +6 -6
- package/components/DescriptionList/description-list.scss +6 -6
- package/components/Drawer/drawer.css +1 -1
- package/components/Drawer/drawer.scss +1 -1
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/FileUpload/file-upload.css +1 -1
- package/components/FileUpload/file-upload.scss +1 -1
- package/components/Form/form.css +9 -15
- package/components/Form/form.scss +9 -17
- package/components/FormControl/form-control.css +2 -2
- package/components/FormControl/form-control.scss +2 -2
- package/components/InputGroup/input-group.css +1 -1
- package/components/InputGroup/input-group.scss +1 -1
- package/components/Label/label.css +1 -1
- package/components/Label/label.scss +1 -1
- package/components/_index.css +31 -37
- package/package.json +1 -1
- package/patternfly-base-no-globals.css +3 -0
- package/patternfly-base.css +3 -0
- package/patternfly-no-globals.css +34 -37
- package/patternfly.css +34 -37
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -829,6 +829,9 @@
|
|
|
829
829
|
var(--pf-t--global--box-shadow--color--lg);
|
|
830
830
|
--pf-t--global--list-style: disc outside;
|
|
831
831
|
--pf-t--temp--dev--tbd: #BC11E0;
|
|
832
|
+
--pf-t--global--spacer--gap--group-to-group--horizontal--compact: var(--pf-t--global--spacer--sm);
|
|
833
|
+
--pf-t--global--spacer--gap--group-to-group--vertical--compact: var(--pf-t--global--spacer--md);
|
|
834
|
+
--pf-t--global--spacer--gap--text-to-element--compact: var(--pf-t--global--spacer--xs);
|
|
832
835
|
}
|
|
833
836
|
|
|
834
837
|
:root:where(.pf-v6-theme-dark) {
|
|
@@ -125,4 +125,7 @@
|
|
|
125
125
|
--pf-t--temp--dev--tbd: #BC11E0;
|
|
126
126
|
|
|
127
127
|
// styleline-enable custom-property-pattern
|
|
128
|
+
--pf-t--global--spacer--gap--group-to-group--horizontal--compact: var(--pf-t--global--spacer--sm);
|
|
129
|
+
--pf-t--global--spacer--gap--group-to-group--vertical--compact: var(--pf-t--global--spacer--md);
|
|
130
|
+
--pf-t--global--spacer--gap--text-to-element--compact: var(--pf-t--global--spacer--xs);
|
|
128
131
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--pf-v6-c-accordion--RowGap: var(--pf-t--global--spacer--xs);
|
|
5
5
|
--pf-v6-c-accordion__item--BorderRadius: var(--pf-t--global--border--radius--200);
|
|
6
6
|
--pf-v6-c-accordion__item--m-expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
7
|
-
--pf-v6-c-accordion__toggle--ColumnGap: var(--pf-t--global--spacer--
|
|
7
|
+
--pf-v6-c-accordion__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
8
8
|
--pf-v6-c-accordion__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
9
9
|
--pf-v6-c-accordion__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
10
10
|
--pf-v6-c-accordion__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--pf-v6-c-accordion__toggle--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
14
14
|
--pf-v6-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
15
15
|
--pf-v6-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
16
|
-
--pf-v6-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--
|
|
16
|
+
--pf-v6-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
17
17
|
--pf-v6-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
18
18
|
--pf-v6-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
19
19
|
--pf-v6-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
@include pf-root($accordion) {
|
|
4
4
|
// accordion
|
|
5
5
|
--#{$accordion}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
6
|
-
--#{$accordion}--RowGap: var(--pf-t--global--spacer--xs);
|
|
6
|
+
--#{$accordion}--RowGap: var(--pf-t--global--spacer--xs); // No applicable spacer
|
|
7
7
|
|
|
8
8
|
// accordion item
|
|
9
9
|
--#{$accordion}__item--BorderRadius: var(--pf-t--global--border--radius--200);
|
|
10
10
|
--#{$accordion}__item--m-expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
11
11
|
|
|
12
12
|
// accordion toggle
|
|
13
|
-
--#{$accordion}__toggle--ColumnGap: var(--pf-t--global--spacer--
|
|
13
|
+
--#{$accordion}__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
14
14
|
--#{$accordion}__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
15
15
|
--#{$accordion}__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
16
16
|
--#{$accordion}__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
--#{$accordion}__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
22
22
|
|
|
23
23
|
// Accordion toggle toggle-start modifier
|
|
24
|
-
|
|
24
|
+
// This decreases the gap between icon and text, alternative is calc it to * 2 the token or create a new token
|
|
25
|
+
--#{$accordion}--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
25
26
|
|
|
26
27
|
// accordion toggle text
|
|
27
28
|
--#{$accordion}__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--pf-v6-c-calendar-month--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
|
8
8
|
--pf-v6-c-calendar-month--FontSize: var(--pf-t--global--font--size--sm);
|
|
9
9
|
--pf-v6-c-calendar-month__header--MarginBlockEnd: var(--pf-t--global--spacer--md);
|
|
10
|
-
--pf-v6-c-calendar-month__header--Gap: var(--pf-t--global--spacer--
|
|
10
|
+
--pf-v6-c-calendar-month__header--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
11
11
|
--pf-v6-c-calendar-month__header-year--Width: 9ch;
|
|
12
12
|
--pf-v6-c-calendar-month__header-nav-control--MarginInlineEnd: 0;
|
|
13
13
|
--pf-v6-c-calendar-month__header-nav-control--MarginInlineStart: 0;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
// header
|
|
12
12
|
--#{$calendar-month}__header--MarginBlockEnd: var(--pf-t--global--spacer--md);
|
|
13
|
-
--#{$calendar-month}__header--Gap: var(--pf-t--global--spacer--
|
|
13
|
+
--#{$calendar-month}__header--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
14
14
|
--#{$calendar-month}__header-year--Width: 9ch;
|
|
15
15
|
--#{$calendar-month}__header-nav-control--MarginInlineEnd: 0;
|
|
16
16
|
--#{$calendar-month}__header-nav-control--MarginInlineStart: 0;
|
package/components/Card/card.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--pf-v6-c-card__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
|
22
22
|
--pf-v6-c-card__footer--Color: var(--pf-t--global--text--color--subtle);
|
|
23
23
|
--pf-v6-c-card__actions--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
24
|
-
--pf-v6-c-card__actions--Gap: var(--pf-t--global--spacer--
|
|
24
|
+
--pf-v6-c-card__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--default);
|
|
25
25
|
--pf-v6-c-card__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
26
26
|
--pf-v6-c-card__actions--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
27
27
|
--pf-v6-c-card__header-toggle--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--#{$card}__footer--FontSize: var(--pf-t--global--font--size--body--default);
|
|
23
23
|
--#{$card}__footer--Color: var(--pf-t--global--text--color--subtle);
|
|
24
24
|
--#{$card}__actions--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
25
|
-
--#{$card}__actions--Gap: var(--pf-t--global--spacer--
|
|
25
|
+
--#{$card}__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--default);
|
|
26
26
|
--#{$card}__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
27
27
|
--#{$card}__actions--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-check {
|
|
3
|
-
--pf-v6-c-check--GridGap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-check--GridGap: var(--pf-t--global--spacer--gap--group--vertical) var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
4
4
|
--pf-v6-c-check--AccentColor: var(--pf-t--global--color--brand--default);
|
|
5
5
|
--pf-v6-c-check--MinHeight: calc(var(--pf-v6-c-check__label--FontSize) * var(--pf-v6-c-check__label--LineHeight));
|
|
6
6
|
--pf-v6-c-check__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
@include pf-root($check) {
|
|
4
|
-
--#{$check}--GridGap: var(--pf-t--global--spacer--
|
|
4
|
+
--#{$check}--GridGap: var(--pf-t--global--spacer--gap--group--vertical) var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
5
5
|
--#{$check}--AccentColor: var(--pf-t--global--color--brand--default);
|
|
6
6
|
--#{$check}--MinHeight: calc(var(--#{$check}__label--FontSize) * var(--#{$check}__label--LineHeight));
|
|
7
7
|
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-t--global--border--color--default);
|
|
16
16
|
--pf-v6-c-clipboard-copy__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
17
17
|
--pf-v6-c-clipboard-copy__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
|
|
18
|
-
--pf-v6-c-clipboard-copy__group--Gap: var(--pf-t--global--spacer--
|
|
18
|
+
--pf-v6-c-clipboard-copy__group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
19
19
|
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineStart: var(--pf-t--global--spacer--xs);
|
|
20
20
|
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
|
21
21
|
--pf-v6-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
22
|
-
--pf-v6-c-clipboard-copy__actions--Gap: var(--pf-t--global--spacer--
|
|
23
|
-
--pf-v6-c-clipboard-copy__actions--MarginInlineStart: var(--pf-t--global--spacer--
|
|
22
|
+
--pf-v6-c-clipboard-copy__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
23
|
+
--pf-v6-c-clipboard-copy__actions--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--compact);
|
|
24
24
|
--pf-v6-c-clipboard-copy__actions-item--button--Color: var(--pf-t--global--icon--color--subtle);
|
|
25
25
|
--pf-v6-c-clipboard-copy__actions-item--button--hover--Color: var(--pf-t--global--icon--color--regular);
|
|
26
26
|
--pf-v6-c-clipboard-copy__text--m-code--FontFamily: var(--pf-t--global--font--family--mono);
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
--#{$clipboard-copy}__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
|
|
22
22
|
|
|
23
23
|
// Group
|
|
24
|
-
--#{$clipboard-copy}__group--Gap: var(--pf-t--global--spacer--
|
|
24
|
+
--#{$clipboard-copy}__group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
25
25
|
|
|
26
26
|
// Inline
|
|
27
27
|
--#{$clipboard-copy}--m-inline--PaddingInlineStart: var(--pf-t--global--spacer--xs);
|
|
28
28
|
--#{$clipboard-copy}--m-inline--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
|
29
29
|
--#{$clipboard-copy}--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
30
|
-
--#{$clipboard-copy}__actions--Gap: var(--pf-t--global--spacer--
|
|
31
|
-
--#{$clipboard-copy}__actions--MarginInlineStart: var(--pf-t--global--spacer--
|
|
30
|
+
--#{$clipboard-copy}__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
31
|
+
--#{$clipboard-copy}__actions--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--compact);
|
|
32
32
|
--#{$clipboard-copy}__actions-item--button--Color: var(--pf-t--global--icon--color--subtle);
|
|
33
33
|
--#{$clipboard-copy}__actions-item--button--hover--Color: var(--pf-t--global--icon--color--regular);
|
|
34
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-code-editor {
|
|
3
3
|
--pf-v6-c-code-editor__controls--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
4
|
-
--pf-v6-c-code-editor__controls--Gap: var(--pf-t--global--spacer--
|
|
4
|
+
--pf-v6-c-code-editor__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
5
5
|
--pf-v6-c-code-editor__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
|
|
6
6
|
--pf-v6-c-code-editor__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
7
7
|
--pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@include pf-root($code-editor) {
|
|
4
4
|
// controls
|
|
5
5
|
--#{$code-editor}__controls--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
6
|
-
--#{$code-editor}__controls--Gap: var(--pf-t--global--spacer--
|
|
6
|
+
--#{$code-editor}__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
7
7
|
|
|
8
8
|
// header
|
|
9
9
|
--#{$code-editor}__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-description-list {
|
|
3
|
-
--pf-v6-c-description-list--RowGap: var(--pf-t--global--spacer--
|
|
4
|
-
--pf-v6-c-description-list--ColumnGap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-description-list--RowGap: var(--pf-t--global--spacer--gap--group-to-group--vertical);
|
|
4
|
+
--pf-v6-c-description-list--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal);
|
|
5
5
|
--pf-v6-c-description-list--GridTemplateColumns--count: 1;
|
|
6
6
|
--pf-v6-c-description-list--GridTemplateColumns--width: 1fr;
|
|
7
7
|
--pf-v6-c-description-list--GridTemplateColumns--min: 0;
|
|
8
|
-
--pf-v6-c-description-list__group--RowGap: var(--pf-t--global--spacer--
|
|
9
|
-
--pf-v6-c-description-list__group--ColumnGap: var(--pf-t--global--spacer--
|
|
8
|
+
--pf-v6-c-description-list__group--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
9
|
+
--pf-v6-c-description-list__group--ColumnGap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
10
10
|
--pf-v6-c-description-list__group--GridTemplateColumns: auto;
|
|
11
11
|
--pf-v6-c-description-list__group--GridTemplateRows: auto 1fr;
|
|
12
12
|
--pf-v6-c-description-list__group--GridColumn: auto;
|
|
13
|
-
--pf-v6-c-description-list--m-compact--RowGap: var(--pf-t--global--spacer--
|
|
14
|
-
--pf-v6-c-description-list--m-compact--ColumnGap: var(--pf-t--global--spacer--
|
|
13
|
+
--pf-v6-c-description-list--m-compact--RowGap: var(--pf-t--global--spacer--gap--group-to-group--vertical--compact);
|
|
14
|
+
--pf-v6-c-description-list--m-compact--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal--compact);
|
|
15
15
|
--pf-v6-c-description-list__term--Display: inline;
|
|
16
16
|
--pf-v6-c-description-list__term--sm--Display: flex;
|
|
17
17
|
--pf-v6-c-description-list__term--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
$pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
4
4
|
|
|
5
5
|
@include pf-root($description-list) {
|
|
6
|
-
--#{$description-list}--RowGap: var(--pf-t--global--spacer--
|
|
7
|
-
--#{$description-list}--ColumnGap: var(--pf-t--global--spacer--
|
|
6
|
+
--#{$description-list}--RowGap: var(--pf-t--global--spacer--gap--group-to-group--vertical);
|
|
7
|
+
--#{$description-list}--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal);
|
|
8
8
|
--#{$description-list}--GridTemplateColumns--count: 1;
|
|
9
9
|
--#{$description-list}--GridTemplateColumns--width: 1fr;
|
|
10
10
|
--#{$description-list}--GridTemplateColumns--min: 0;
|
|
11
11
|
|
|
12
12
|
// group
|
|
13
|
-
--#{$description-list}__group--RowGap: var(--pf-t--global--spacer--
|
|
14
|
-
--#{$description-list}__group--ColumnGap: var(--pf-t--global--spacer--
|
|
13
|
+
--#{$description-list}__group--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
14
|
+
--#{$description-list}__group--ColumnGap: var(--pf-t--global--spacer--gap--group--horizontal); // Increases current Gap
|
|
15
15
|
--#{$description-list}__group--GridTemplateColumns: auto;
|
|
16
16
|
--#{$description-list}__group--GridTemplateRows: auto 1fr;
|
|
17
17
|
--#{$description-list}__group--GridColumn: auto;
|
|
18
18
|
|
|
19
19
|
// compact
|
|
20
|
-
--#{$description-list}--m-compact--RowGap: var(--pf-t--global--spacer--
|
|
21
|
-
--#{$description-list}--m-compact--ColumnGap: var(--pf-t--global--spacer--
|
|
20
|
+
--#{$description-list}--m-compact--RowGap: var(--pf-t--global--spacer--gap--group-to-group--vertical--compact);
|
|
21
|
+
--#{$description-list}--m-compact--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal--compact);
|
|
22
22
|
|
|
23
23
|
// term
|
|
24
24
|
--#{$description-list}__term--Display: inline;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection: column;
|
|
33
33
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: 1.5rem;
|
|
34
34
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--MinHeight: 1.5rem;
|
|
35
|
-
--pf-v6-c-drawer__head--ColumnGap: var(--pf-t--global--spacer--
|
|
35
|
+
--pf-v6-c-drawer__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
36
36
|
--pf-v6-c-drawer__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
37
37
|
--pf-v6-c-drawer__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
38
38
|
--pf-v6-c-drawer__head--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -45,7 +45,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
45
45
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
|
|
46
46
|
|
|
47
47
|
// Drawer panel head
|
|
48
|
-
--#{$drawer}__head--ColumnGap: var(--pf-t--global--spacer--
|
|
48
|
+
--#{$drawer}__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
49
49
|
--#{$drawer}__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
50
50
|
--#{$drawer}__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
51
51
|
--#{$drawer}__head--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
--pf-v6-c-dual-list-selector__status-text--Color: var(--pf-t--global--text--color--subtle);
|
|
45
45
|
--pf-v6-c-dual-list-selector__controls--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
46
46
|
--pf-v6-c-dual-list-selector__controls--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
47
|
-
--pf-v6-c-dual-list-selector__controls--Gap: var(--pf-t--global--spacer--
|
|
47
|
+
--pf-v6-c-dual-list-selector__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
48
48
|
--pf-v6-c-dual-list-selector__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
49
49
|
--pf-v6-c-dual-list-selector__item-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
50
50
|
--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart: 0;
|
|
@@ -66,7 +66,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
66
66
|
// Controls
|
|
67
67
|
--#{$dual-list-selector}__controls--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
68
68
|
--#{$dual-list-selector}__controls--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
69
|
-
--#{$dual-list-selector}__controls--Gap: var(--pf-t--global--spacer--
|
|
69
|
+
--#{$dual-list-selector}__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
70
70
|
--#{$dual-list-selector}__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
71
71
|
|
|
72
72
|
// Toggle
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-file-upload {
|
|
3
|
-
--pf-v6-c-file-upload--RowGap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-file-upload--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
4
4
|
--pf-v6-c-file-upload--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
5
5
|
--pf-v6-c-file-upload--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
6
6
|
--pf-v6-c-file-upload--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
@include pf-root($file-upload) {
|
|
4
|
-
--#{$file-upload}--RowGap: var(--pf-t--global--spacer--
|
|
4
|
+
--#{$file-upload}--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
5
5
|
--#{$file-upload}--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
6
6
|
--#{$file-upload}--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
7
7
|
--#{$file-upload}--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
package/components/Form/form.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-form {
|
|
3
|
-
--pf-v6-c-form--GridGap: var(--pf-t--global--spacer--
|
|
4
|
-
--pf-v6-c-form__group--Gap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-form--GridGap: var(--pf-t--global--spacer--gap--group-to-group--vertical);
|
|
4
|
+
--pf-v6-c-form__group--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
5
5
|
--pf-v6-c-form__group--m-action--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
6
6
|
--pf-v6-c-form--m-horizontal__group-label--md--GridColumnWidth: 9.375rem;
|
|
7
|
-
--pf-v6-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--
|
|
7
|
+
--pf-v6-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
8
8
|
--pf-v6-c-form--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
9
9
|
--pf-v6-c-form--m-limit-width--MaxWidth: 55rem;
|
|
10
10
|
--pf-v6-c-form--m-horizontal__group-label--md--PaddingBlockStart: 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));
|
|
@@ -21,13 +21,12 @@
|
|
|
21
21
|
--pf-v6-c-form__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
22
22
|
--pf-v6-c-form__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
23
23
|
--pf-v6-c-form__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
24
|
-
--pf-v6-c-form__group-label--m-info--Gap: var(--pf-t--global--spacer--
|
|
24
|
+
--pf-v6-c-form__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--horizontal);
|
|
25
25
|
--pf-v6-c-form__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
26
|
-
--pf-v6-c-form--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--
|
|
27
|
-
--pf-v6-c-form__group-control--m-inline--
|
|
26
|
+
--pf-v6-c-form--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
27
|
+
--pf-v6-c-form__group-control--m-inline--Gap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
28
28
|
--pf-v6-c-form__group-control__helper-text--MarginBlockEnd: var(--pf-t--global--spacer--xs);
|
|
29
|
-
--pf-v6-c-form__group-control--Gap: var(--pf-t--global--spacer--
|
|
30
|
-
--pf-v6-c-form__group-control--m-stack--Gap: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--pf-v6-c-form__group-control--m-stack--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
31
30
|
--pf-v6-c-form__group-control--m-stack__helper-text--MarginBlockStart: calc(var(--pf-v6-c-form__group-control--m-stack--Gap) * -1 + var(--pf-v6-c-form__helper-text--MarginBlockStart--base));
|
|
32
31
|
--pf-v6-c-form__actions--child--MarginBlockStart: var(--pf-t--global--spacer--sm);
|
|
33
32
|
--pf-v6-c-form__actions--child--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
--pf-v6-c-form__helper-text--MarginBlockStart--base: var(--pf-t--global--spacer--xs);
|
|
41
40
|
--pf-v6-c-form__helper-text--MarginBlockStart: var(--pf-v6-c-form__helper-text--MarginBlockStart--base);
|
|
42
41
|
--pf-v6-c-form__section--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
43
|
-
--pf-v6-c-form__section--Gap: var(--pf-
|
|
42
|
+
--pf-v6-c-form__section--Gap: var(--pf-v6-c-form--GridGap);
|
|
44
43
|
--pf-v6-c-form__section-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
45
44
|
--pf-v6-c-form__section-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
46
45
|
--pf-v6-c-form__section-title--MarginBlockEnd: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
@@ -368,12 +367,7 @@
|
|
|
368
367
|
.pf-v6-c-form__group-control.pf-m-inline {
|
|
369
368
|
display: flex;
|
|
370
369
|
flex-flow: row wrap;
|
|
371
|
-
|
|
372
|
-
.pf-v6-c-form__group-control.pf-m-inline > * {
|
|
373
|
-
margin-inline-end: var(--pf-v6-c-form__group-control--m-inline--child--MarginInlineEnd);
|
|
374
|
-
}
|
|
375
|
-
.pf-v6-c-form__group-control.pf-m-inline > :last-child {
|
|
376
|
-
--pf-v6-c-form__group-control--m-inline--child--MarginInlineEnd: 0;
|
|
370
|
+
gap: var(--pf-v6-c-form__group-control--m-inline--Gap);
|
|
377
371
|
}
|
|
378
372
|
.pf-v6-c-form__group-control.pf-m-stack {
|
|
379
373
|
--pf-v6-c-form__helper-text--MarginBlockStart: var(--pf-v6-c-form__group-control--m-stack__helper-text--MarginBlockStart);
|
|
@@ -26,13 +26,13 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@include pf-root($form) {
|
|
29
|
-
--#{$form}--GridGap: var(--pf-t--global--spacer--
|
|
29
|
+
--#{$form}--GridGap: var(--pf-t--global--spacer--gap--group-to-group--vertical);
|
|
30
30
|
|
|
31
31
|
// Group
|
|
32
|
-
--#{$form}__group--Gap: var(--pf-t--global--spacer--
|
|
32
|
+
--#{$form}__group--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
33
33
|
--#{$form}__group--m-action--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
34
34
|
--#{$form}--m-horizontal__group-label--md--GridColumnWidth: #{pf-size-prem(150px)};
|
|
35
|
-
--#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--
|
|
35
|
+
--#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
36
36
|
--#{$form}--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
37
37
|
|
|
38
38
|
// limit width
|
|
@@ -85,15 +85,14 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
85
85
|
--#{$form}__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
86
86
|
|
|
87
87
|
// Form group label info
|
|
88
|
-
--#{$form}__group-label--m-info--Gap: var(--pf-t--global--spacer--
|
|
88
|
+
--#{$form}__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--horizontal);
|
|
89
89
|
--#{$form}__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
90
|
-
--#{$form}--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--
|
|
90
|
+
--#{$form}--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
91
91
|
|
|
92
92
|
// Group control
|
|
93
|
-
--#{$form}__group-control--m-inline--
|
|
93
|
+
--#{$form}__group-control--m-inline--Gap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
94
94
|
--#{$form}__group-control__helper-text--MarginBlockEnd: var(--pf-t--global--spacer--xs);
|
|
95
|
-
--#{$form}__group-control--Gap: var(--pf-t--global--spacer--
|
|
96
|
-
--#{$form}__group-control--m-stack--Gap: var(--pf-t--global--spacer--sm);
|
|
95
|
+
--#{$form}__group-control--m-stack--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
97
96
|
--#{$form}__group-control--m-stack__helper-text--MarginBlockStart: calc(var(--#{$form}__group-control--m-stack--Gap) * -1 + var(--#{$form}__helper-text--MarginBlockStart--base));
|
|
98
97
|
|
|
99
98
|
// Actions
|
|
@@ -112,7 +111,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
112
111
|
|
|
113
112
|
// Section
|
|
114
113
|
--#{$form}__section--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
115
|
-
--#{$form}__section--Gap: var(--
|
|
114
|
+
--#{$form}__section--Gap: var(--#{$form}--GridGap);
|
|
116
115
|
|
|
117
116
|
// Section title
|
|
118
117
|
--#{$form}__section-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
@@ -301,14 +300,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
301
300
|
&.pf-m-inline {
|
|
302
301
|
display: flex;
|
|
303
302
|
flex-flow: row wrap;
|
|
304
|
-
|
|
305
|
-
> * {
|
|
306
|
-
margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginInlineEnd);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
> :last-child {
|
|
310
|
-
--#{$form}__group-control--m-inline--child--MarginInlineEnd: 0;
|
|
311
|
-
}
|
|
303
|
+
gap: var(--#{$form}__group-control--m-inline--Gap);
|
|
312
304
|
}
|
|
313
305
|
|
|
314
306
|
&.pf-m-stack {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-form-control {
|
|
3
|
-
--pf-v6-c-form-control--ColumnGap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-form-control--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
4
4
|
--pf-v6-c-form-control--Color: var(--pf-t--global--text--color--regular);
|
|
5
5
|
--pf-v6-c-form-control--FontSize: var(--pf-t--global--font--size--body--default);
|
|
6
6
|
--pf-v6-c-form-control--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
--pf-v6-c-form-control--m-success__icon--m-status--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
66
66
|
--pf-v6-c-form-control--m-warning__icon--m-status--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
67
67
|
--pf-v6-c-form-control--m-error__icon--m-status--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
68
|
-
--pf-v6-c-form-control__utilities--Gap: var(--pf-t--global--spacer--
|
|
68
|
+
--pf-v6-c-form-control__utilities--Gap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
69
69
|
--pf-v6-c-form-control__utilities--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
|
|
70
70
|
--pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control--inset--base);
|
|
71
71
|
--pf-v6-c-form-control__toggle-icon--PaddingInlineEnd: var(--pf-v6-c-form-control--inset--base);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
@include pf-root($form-control) {
|
|
4
|
-
--#{$form-control}--ColumnGap: var(--pf-t--global--spacer--
|
|
4
|
+
--#{$form-control}--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
5
5
|
--#{$form-control}--Color: var(--pf-t--global--text--color--regular);
|
|
6
6
|
--#{$form-control}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
7
7
|
--#{$form-control}--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
--#{$form-control}--m-error__icon--m-status--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
101
101
|
|
|
102
102
|
// Form control utilities
|
|
103
|
-
--#{$form-control}__utilities--Gap: var(--pf-t--global--spacer--
|
|
103
|
+
--#{$form-control}__utilities--Gap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
104
104
|
--#{$form-control}__utilities--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
|
|
105
105
|
--#{$form-control}__utilities--PaddingInlineEnd: var(--#{$form-control}--inset--base);
|
|
106
106
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
.pf-v6-c-input-group {
|
|
3
|
-
--pf-v6-c-input-group--Gap: var(--pf-t--global--spacer--
|
|
3
|
+
--pf-v6-c-input-group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
4
4
|
--pf-v6-c-input-group__item--offset: var(--pf-t--global--border--width--control--default);
|
|
5
5
|
--pf-v6-c-input-group__item--BorderWidth--base: var(--pf-t--global--border--width--control--default);
|
|
6
6
|
--pf-v6-c-input-group__item--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
@include pf-root($input-group) {
|
|
4
|
-
--#{$input-group}--Gap: var(--pf-t--global--spacer--
|
|
4
|
+
--#{$input-group}--Gap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
|
5
5
|
|
|
6
6
|
// Input group item
|
|
7
7
|
--#{$input-group}__item--offset: var(--pf-t--global--border--width--control--default);
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
--pf-v6-c-label--m-compact--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
163
163
|
--pf-v6-c-label--m-compact--m-editable--TextUnderlineOffset: 0.0625rem;
|
|
164
164
|
--pf-v6-c-label__content--MaxWidth: 100%;
|
|
165
|
-
--pf-v6-c-label__content--Gap: var(--pf-t--global--spacer--
|
|
165
|
+
--pf-v6-c-label__content--Gap: var(--pf-t--global--spacer--gap--text-to-element--compact);
|
|
166
166
|
--pf-v6-c-label__content--Cursor: initial;
|
|
167
167
|
--pf-v6-c-label__icon--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
168
168
|
--pf-v6-c-label__text--MaxWidth: 100%;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
|
|
206
206
|
// Content
|
|
207
207
|
--#{$label}__content--MaxWidth: 100%;
|
|
208
|
-
--#{$label}__content--Gap: var(--pf-t--global--spacer--
|
|
208
|
+
--#{$label}__content--Gap: var(--pf-t--global--spacer--gap--text-to-element--compact);
|
|
209
209
|
--#{$label}__content--Cursor: initial;
|
|
210
210
|
|
|
211
211
|
// Icon
|