@patternfly/react-styles 6.0.0-prerelease.5 → 6.0.0-prerelease.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/css/components/Alert/alert.css +2 -6
- package/css/components/Button/button.css +8 -0
- package/css/components/DataList/data-list.css +4 -13
- package/css/components/DataList/data-list.d.ts +0 -1
- package/css/components/DataList/data-list.js +0 -1
- package/css/components/DataList/data-list.mjs +0 -1
- package/css/components/Drawer/drawer.css +0 -4
- package/css/components/Drawer/drawer.d.ts +1 -2
- package/css/components/Drawer/drawer.js +1 -2
- package/css/components/Drawer/drawer.mjs +1 -2
- package/css/components/FormControl/form-control.css +22 -3
- package/css/components/FormControl/form-control.d.ts +2 -1
- package/css/components/FormControl/form-control.js +2 -1
- package/css/components/FormControl/form-control.mjs +2 -1
- package/css/components/MenuToggle/menu-toggle.css +66 -55
- package/css/components/MenuToggle/menu-toggle.d.ts +4 -2
- package/css/components/MenuToggle/menu-toggle.js +4 -2
- package/css/components/MenuToggle/menu-toggle.mjs +4 -2
- package/css/components/Page/page.css +10 -8
- package/css/components/Page/page.d.ts +0 -1
- package/css/components/Page/page.js +0 -1
- package/css/components/Page/page.mjs +0 -1
- package/css/components/Pagination/pagination.css +31 -17
- package/css/components/Pagination/pagination.d.ts +1 -1
- package/css/components/Pagination/pagination.js +1 -1
- package/css/components/Pagination/pagination.mjs +1 -1
- package/css/components/Table/table-grid.css +9 -4
- package/css/components/Table/table.css +6 -5
- package/css/components/_index.css +158 -115
- package/css/components/_index.d.ts +3 -3
- package/css/components/_index.js +3 -3
- package/css/components/_index.mjs +3 -3
- package/css/docs/utilities/BoxShadow/examples/box-shadow.css +6 -17
- package/css/docs/utilities/BoxShadow/examples/box-shadow.d.ts +2 -1
- package/css/docs/utilities/BoxShadow/examples/box-shadow.js +2 -1
- package/css/docs/utilities/BoxShadow/examples/box-shadow.mjs +2 -1
- package/package.json +3 -3
- package/css/assets/images/PF-Masthead-Logo.svg +0 -1
- package/css/assets/images/background-filter.svg +0 -17
- package/css/assets/images/g_sizing.png +0 -0
- package/css/assets/images/img_avatar-dark.svg +0 -22
- package/css/assets/images/img_avatar.svg +0 -21
- package/css/assets/images/l_pf-reverse-164x11.png +0 -0
- package/css/assets/images/l_pf-reverse.svg +0 -1
- package/css/assets/images/logo-dropbox-old.svg +0 -1
- package/css/assets/images/logo-dropbox.svg +0 -6
- package/css/assets/images/logo-facebook.svg +0 -4
- package/css/assets/images/logo-github.svg +0 -4
- package/css/assets/images/logo-gitlab.svg +0 -4
- package/css/assets/images/logo-google.svg +0 -4
- package/css/assets/images/logo-google2.svg +0 -10
- package/css/assets/images/logo__pf--reverse--base.png +0 -0
- package/css/assets/images/logo__pf--reverse--base.svg +0 -40
- package/css/assets/images/logo__pf--reverse-on-md.svg +0 -40
- package/css/assets/images/pf-c-brand__logo-base.jpg +0 -0
- package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +0 -32
- package/css/assets/images/pf-c-brand__logo-on-lg.svg +0 -32
- package/css/assets/images/pf-c-brand__logo-on-md-white.svg +0 -42
- package/css/assets/images/pf-c-brand__logo-on-md.svg +0 -42
- package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +0 -17
- package/css/assets/images/pf-c-brand__logo-on-sm.svg +0 -17
- package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +0 -39
- package/css/assets/images/pf-c-brand__logo-on-xl.svg +0 -39
- package/css/assets/images/pf-c-brand__logo.svg +0 -10
- package/css/assets/images/pf-logo.svg +0 -28
- package/css/assets/images/pf_logo.svg +0 -37
- package/css/assets/images/pf_logo_color.svg +0 -22
- package/css/assets/images/pf_logo_white.svg +0 -37
- package/css/assets/images/pf_mini_logo_white.svg +0 -1
- package/css/assets/images/pfbg_1200.jpg +0 -0
- package/css/assets/images/pfbg_2000.jpg +0 -0
- package/css/assets/images/pfbg_576.jpg +0 -0
- package/css/assets/images/pfbg_576@2x.jpg +0 -0
- package/css/assets/images/pfbg_768.jpg +0 -0
- package/css/assets/images/pfbg_768@2x.jpg +0 -0
- package/css/assets/images/pfbg_992.jpg +0 -0
- package/css/assets/images/pfbg_992@2x.jpg +0 -0
- package/css/assets/images/status-icon-sprite.svg +0 -38
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [6.0.0-prerelease.6](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.0.0-prerelease.5...@patternfly/react-styles@6.0.0-prerelease.6) (2024-10-02)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **Menu toggle:** Remove pf-m-action modifier ([#11096](https://github.com/patternfly/patternfly-react/issues/11096)) ([fe6871c](https://github.com/patternfly/patternfly-react/commit/fe6871cf3063eab33dc572f30a57c52e84f34131))
|
11
|
+
|
6
12
|
# [6.0.0-prerelease.5](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.0.0-prerelease.4...@patternfly/react-styles@6.0.0-prerelease.5) (2024-09-26)
|
7
13
|
|
8
14
|
### Bug Fixes
|
@@ -16,6 +16,7 @@
|
|
16
16
|
--pf-v6-c-alert--FontSize: var(--pf-t--global--font--size--body--default);
|
17
17
|
--pf-v6-c-alert__toggle--MarginBlockStart: calc(-1 * var(--pf-t--global--spacer--control--vertical--default));
|
18
18
|
--pf-v6-c-alert__toggle--MarginBlockEnd: calc(-1 * var(--pf-t--global--spacer--control--vertical--default));
|
19
|
+
--pf-v6-c-alert__toggle--MarginInlineStart: calc(-1 * var(--pf-t--global--spacer--action--horizontal--plain--default));
|
19
20
|
--pf-v6-c-alert__toggle--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
20
21
|
--pf-v6-c-alert__toggle-icon--Rotate: 0;
|
21
22
|
--pf-v6-c-alert__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
@@ -135,6 +136,7 @@
|
|
135
136
|
.pf-v6-c-alert__toggle {
|
136
137
|
margin-block-start: var(--pf-v6-c-alert__toggle--MarginBlockStart);
|
137
138
|
margin-block-end: var(--pf-v6-c-alert__toggle--MarginBlockEnd);
|
139
|
+
margin-inline-start: var(--pf-v6-c-alert__toggle--MarginInlineStart);
|
138
140
|
margin-inline-end: var(--pf-v6-c-alert__toggle--MarginInlineEnd);
|
139
141
|
}
|
140
142
|
|
@@ -148,9 +150,7 @@
|
|
148
150
|
}
|
149
151
|
|
150
152
|
.pf-v6-c-alert__icon {
|
151
|
-
display: flex;
|
152
153
|
grid-area: icon;
|
153
|
-
margin-block-start: var(--pf-v6-c-alert__icon--MarginBlockStart);
|
154
154
|
margin-inline-end: var(--pf-v6-c-alert__icon--MarginInlineEnd);
|
155
155
|
font-size: var(--pf-v6-c-alert__icon--FontSize);
|
156
156
|
color: var(--pf-v6-c-alert__icon--Color);
|
@@ -183,10 +183,6 @@
|
|
183
183
|
margin-block-start: var(--pf-v6-c-alert__action--MarginBlockStart);
|
184
184
|
margin-block-end: var(--pf-v6-c-alert__action--MarginBlockEnd);
|
185
185
|
margin-inline-end: var(--pf-v6-c-alert__action--MarginInlineEnd);
|
186
|
-
transform: translateY(var(--pf-v6-c-alert__action--TranslateY));
|
187
|
-
}
|
188
|
-
.pf-v6-c-alert__action > .pf-v6-c-button {
|
189
|
-
--pf-v6-c-button--LineHeight: 1;
|
190
186
|
}
|
191
187
|
|
192
188
|
.pf-v6-c-alert__action-group {
|
@@ -40,6 +40,7 @@
|
|
40
40
|
--pf-v6-c-button--m-primary--m-clicked__icon--Color: var(--pf-t--global--icon--color--on-brand--clicked);
|
41
41
|
--pf-v6-c-button--m-secondary--Color: var(--pf-t--global--text--color--brand--default);
|
42
42
|
--pf-v6-c-button--m-secondary--BorderColor: var(--pf-t--global--border--color--brand--default);
|
43
|
+
--pf-v6-c-button--m-secondary--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
|
43
44
|
--pf-v6-c-button--m-secondary__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
44
45
|
--pf-v6-c-button--m-secondary--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
45
46
|
--pf-v6-c-button--m-secondary--hover--BorderColor: var(--pf-t--global--border--color--brand--hover);
|
@@ -58,6 +59,7 @@
|
|
58
59
|
--pf-v6-c-button--m-secondary--m-danger--m-clicked__icon--Color: var(--pf-t--global--icon--color--status--danger--clicked);
|
59
60
|
--pf-v6-c-button--m-tertiary--Color: var(--pf-t--global--text--color--brand--default);
|
60
61
|
--pf-v6-c-button--m-tertiary--BorderColor: var(--pf-t--global--border--color--default);
|
62
|
+
--pf-v6-c-button--m-tertiary--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
|
61
63
|
--pf-v6-c-button--m-tertiary__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
62
64
|
--pf-v6-c-button--m-tertiary--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
63
65
|
--pf-v6-c-button--m-tertiary--hover--BorderColor: var(--pf-t--global--border--color--hover);
|
@@ -126,7 +128,9 @@
|
|
126
128
|
--pf-v6-c-button--m-plain--m-no-padding--PaddingInlineEnd: 0;
|
127
129
|
--pf-v6-c-button--m-plain--m-no-padding--PaddingBlockEnd: 0;
|
128
130
|
--pf-v6-c-button--m-plain--m-no-padding--PaddingInlineStart: 0;
|
131
|
+
--pf-v6-c-button--m-plain--m-no-padding__icon--Color: var(--pf-t--global--icon--color--subtle);
|
129
132
|
--pf-v6-c-button--m-plain--m-no-padding--BackgroundColor: transparent;
|
133
|
+
--pf-v6-c-button--m-plain--m-no-padding--hover__icon--Color: var(--pf-t--global--icon--color--regular);
|
130
134
|
--pf-v6-c-button--m-plain--m-no-padding--hover--BackgroundColor: transparent;
|
131
135
|
--pf-v6-c-button--m-plain--m-no-padding--m-clicked--BackgroundColor: transparent;
|
132
136
|
--pf-v6-c-button__progress--Color: var(--pf-v6-c-button__icon--Color);
|
@@ -290,6 +294,7 @@
|
|
290
294
|
.pf-v6-c-button.pf-m-secondary {
|
291
295
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--m-secondary--Color);
|
292
296
|
--pf-v6-c-button--BorderColor: var(--pf-v6-c-button--m-secondary--BorderColor);
|
297
|
+
--pf-v6-c-button--TransitionDuration: var(--pf-v6-c-button--m-secondary--TransitionDuration);
|
293
298
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-secondary__icon--Color);
|
294
299
|
--pf-v6-c-button--hover--Color: var(--pf-v6-c-button--m-secondary--hover--Color);
|
295
300
|
--pf-v6-c-button--hover--BorderColor: var(--pf-v6-c-button--m-secondary--hover--BorderColor);
|
@@ -315,6 +320,7 @@
|
|
315
320
|
.pf-v6-c-button.pf-m-tertiary {
|
316
321
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--m-tertiary--Color);
|
317
322
|
--pf-v6-c-button--BorderColor: var(--pf-v6-c-button--m-tertiary--BorderColor);
|
323
|
+
--pf-v6-c-button--TransitionDuration: var(--pf-v6-c-button--m-tertiary--TransitionDuration);
|
318
324
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-tertiary__icon--Color);
|
319
325
|
--pf-v6-c-button--hover--Color: var(--pf-v6-c-button--m-tertiary--hover--Color);
|
320
326
|
--pf-v6-c-button--hover--BorderColor: var(--pf-v6-c-button--m-tertiary--hover--BorderColor);
|
@@ -478,6 +484,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
478
484
|
--pf-v6-c-button--m-small--PaddingInlineStart: var(--pf-v6-c-button--m-plain--m-small--PaddingInlineStart);
|
479
485
|
}
|
480
486
|
.pf-v6-c-button.pf-m-plain.pf-m-no-padding {
|
487
|
+
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-plain--m-no-padding__icon--Color);
|
481
488
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--m-plain--m-no-padding--BackgroundColor);
|
482
489
|
--pf-v6-c-button--hover--BackgroundColor: var(--pf-v6-c-button--m-plain--m-no-padding--hover--BackgroundColor);
|
483
490
|
--pf-v6-c-button--m-clicked--BackgroundColor: var(--pf-v6-c-button--m-plain--m-no-padding--m-clicked--BackgroundColor);
|
@@ -509,6 +516,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
509
516
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--hover--BackgroundColor);
|
510
517
|
--pf-v6-c-button--BorderColor: var(--pf-v6-c-button--hover--BorderColor);
|
511
518
|
--pf-v6-c-button--BorderWidth: var(--pf-v6-c-button--hover--BorderWidth);
|
519
|
+
--pf-v6-c-button--m-plain--m-no-padding__icon--Color: var(--pf-v6-c-button--m-plain--m-no-padding--hover__icon--Color);
|
512
520
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--hover__icon--Color);
|
513
521
|
text-decoration: var(--pf-v6-c-button--hover--TextDecorationLine) var(--pf-v6-c-button--hover--TextDecorationStyle);
|
514
522
|
}
|
@@ -470,11 +470,11 @@
|
|
470
470
|
--pf-v6-c-data-list__item-action--Display: flex;
|
471
471
|
--pf-v6-c-data-list__item-action--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
472
472
|
--pf-v6-c-data-list__item-action--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
473
|
+
--pf-v6-c-data-list__item-action--PaddingBlockStart--offset: var(--pf-t--global--spacer--control--vertical--default);
|
474
|
+
--pf-v6-c-data-list__item-action--PaddingBlockEnd--offset: var(--pf-t--global--spacer--control--vertical--default);
|
473
475
|
--pf-v6-c-data-list__item-action--MarginInlineStart: var(--pf-t--global--spacer--md);
|
474
476
|
--pf-v6-c-data-list__item-action--md--MarginInlineStart: var(--pf-t--global--spacer--xl);
|
475
477
|
--pf-v6-c-data-list__item-action--Gap: var(--pf-t--global--spacer--gap--action-to-action--default);
|
476
|
-
--pf-v6-c-data-list__action--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--plain) * -1);
|
477
|
-
--pf-v6-c-data-list__action--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--plain) * -1);
|
478
478
|
--pf-v6-c-data-list__expandable-content--BackgroundColor: var( --pf-t--global--background--color--primary--default);
|
479
479
|
--pf-v6-c-data-list__expandable-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
|
480
480
|
--pf-v6-c-data-list__expandable-content--MarginInlineStart: var(--pf-t--global--spacer--md);
|
@@ -504,8 +504,6 @@
|
|
504
504
|
--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
505
505
|
--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
506
506
|
--pf-v6-c-data-list--m-compact__item-action--MarginInlineStart: var(--pf-t--global--spacer--md);
|
507
|
-
--pf-v6-c-data-list--m-compact__action--MarginBlockStart: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart) * -1);
|
508
|
-
--pf-v6-c-data-list--m-compact__action--MarginBlockEnd: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd) * -1);
|
509
507
|
--pf-v6-c-data-list--m-compact__item-content--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
510
508
|
--pf-v6-c-data-list--m-compact__item-draggable-button--MarginBlockStart: calc(var(--pf-t--global--spacer--sm) * -1);
|
511
509
|
--pf-v6-c-data-list--m-compact__item-draggable-button--MarginBlockEnd: calc(var(--pf-t--global--spacer--sm) * -1);
|
@@ -538,8 +536,6 @@
|
|
538
536
|
--pf-v6-c-data-list__item-action--MarginInlineStart: var(--pf-v6-c-data-list--m-compact__item-action--MarginInlineStart);
|
539
537
|
--pf-v6-c-data-list__item-action--PaddingBlockStart: var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart);
|
540
538
|
--pf-v6-c-data-list__item-action--PaddingBlockEnd: var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd);
|
541
|
-
--pf-v6-c-data-list__action--MarginBlockStart: var(--pf-v6-c-data-list--m-compact__action--MarginBlockStart);
|
542
|
-
--pf-v6-c-data-list__action--MarginBlockEnd: var(--pf-v6-c-data-list--m-compact__action--MarginBlockEnd);
|
543
539
|
--pf-v6-c-data-list__item-control--MarginInlineEnd: var(--pf-v6-c-data-list--m-compact__item-control--MarginInlineEnd);
|
544
540
|
--pf-v6-c-data-list__item-control--PaddingBlockStart: var(--pf-v6-c-data-list--m-compact__item-control--PaddingBlockStart);
|
545
541
|
--pf-v6-c-data-list__item-control--PaddingBlockEnd: var(--pf-v6-c-data-list--m-compact__item-control--PaddingBlockEnd);
|
@@ -685,8 +681,8 @@
|
|
685
681
|
gap: var(--pf-v6-c-data-list__item-action--Gap);
|
686
682
|
align-content: flex-start;
|
687
683
|
align-items: flex-start;
|
688
|
-
padding-block-start: var(--pf-v6-c-data-list__item-action--PaddingBlockStart);
|
689
|
-
padding-block-end: var(--pf-v6-c-data-list__item-action--PaddingBlockEnd);
|
684
|
+
padding-block-start: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockStart) - var(--pf-v6-c-data-list__item-action--PaddingBlockStart--offset));
|
685
|
+
padding-block-end: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockEnd) - var(--pf-v6-c-data-list__item-action--PaddingBlockEnd--offset));
|
690
686
|
margin-inline-start: var(--pf-v6-c-data-list__item-action--MarginInlineStart);
|
691
687
|
}
|
692
688
|
.pf-v6-c-data-list__item-action.pf-m-hidden {
|
@@ -733,11 +729,6 @@
|
|
733
729
|
}
|
734
730
|
}
|
735
731
|
|
736
|
-
.pf-v6-c-data-list__action {
|
737
|
-
margin-block-start: var(--pf-v6-c-data-list__action--MarginBlockStart);
|
738
|
-
margin-block-end: var(--pf-v6-c-data-list__action--MarginBlockEnd);
|
739
|
-
}
|
740
|
-
|
741
732
|
.pf-v6-c-data-list__toggle {
|
742
733
|
margin-block-start: var(--pf-v6-c-data-list__toggle--MarginBlockStart);
|
743
734
|
margin-block-end: var(--pf-v6-c-data-list__toggle--MarginBlockEnd);
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import './data-list.css';
|
2
2
|
declare const _default: {
|
3
3
|
"dataList": "pf-v6-c-data-list",
|
4
|
-
"dataListAction": "pf-v6-c-data-list__action",
|
5
4
|
"dataListCell": "pf-v6-c-data-list__cell",
|
6
5
|
"dataListCheck": "pf-v6-c-data-list__check",
|
7
6
|
"dataListExpandableContent": "pf-v6-c-data-list__expandable-content",
|
@@ -3,7 +3,6 @@ exports.__esModule = true;
|
|
3
3
|
require('./data-list.css');
|
4
4
|
exports.default = {
|
5
5
|
"dataList": "pf-v6-c-data-list",
|
6
|
-
"dataListAction": "pf-v6-c-data-list__action",
|
7
6
|
"dataListCell": "pf-v6-c-data-list__cell",
|
8
7
|
"dataListCheck": "pf-v6-c-data-list__check",
|
9
8
|
"dataListExpandableContent": "pf-v6-c-data-list__expandable-content",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import './data-list.css';
|
2
2
|
export default {
|
3
3
|
"dataList": "pf-v6-c-data-list",
|
4
|
-
"dataListAction": "pf-v6-c-data-list__action",
|
5
4
|
"dataListCell": "pf-v6-c-data-list__cell",
|
6
5
|
"dataListCheck": "pf-v6-c-data-list__check",
|
7
6
|
"dataListExpandableContent": "pf-v6-c-data-list__expandable-content",
|
@@ -61,6 +61,10 @@
|
|
61
61
|
--pf-v6-c-form-control__select--m-error--m-status--PaddingInlineEnd: calc((var(--pf-v6-c-form-control__icon--FontSize) * 2) + var(--pf-v6-c-form-control__utilities--Gap) + var(--pf-v6-c-form-control__toggle-icon--PaddingInlineEnd) + var(--pf-v6-c-form-control__toggle-icon--PaddingInlineStart));
|
62
62
|
--pf-v6-c-form-control--textarea--Width: var(--pf-v6-c-form-control--Width);
|
63
63
|
--pf-v6-c-form-control--textarea--Height: auto;
|
64
|
+
--pf-v6-c-form-control--textarea--PaddingBlockStart--offset: calc(-1 * var(--pf-v6-c-form-control--OutlineOffset));
|
65
|
+
--pf-v6-c-form-control--textarea--PaddingBlockEnd--offset: calc(-1 * var(--pf-v6-c-form-control--OutlineOffset));
|
66
|
+
--pf-v6-c-form-control--textarea--PaddingInlineEnd--offset: calc(-1 * var(--pf-v6-c-form-control--OutlineOffset));
|
67
|
+
--pf-v6-c-form-control--textarea--PaddingInlineStart--offset: calc(-1 * var(--pf-v6-c-form-control--OutlineOffset));
|
64
68
|
--pf-v6-c-form-control__icon--Color: var(--pf-t--global--icon--color--regular);
|
65
69
|
--pf-v6-c-form-control__icon--FontSize: var(--pf-t--global--icon--size--font--body--default);
|
66
70
|
--pf-v6-c-form-control__icon--m-status--Color: var(--pf-t--global--icon--color--regular);
|
@@ -116,18 +120,33 @@
|
|
116
120
|
background-color: transparent;
|
117
121
|
border: none;
|
118
122
|
border-radius: var(--pf-v6-c-form-control--BorderRadius);
|
123
|
+
outline-offset: var(--pf-v6-c-form-control--OutlineOffset);
|
119
124
|
-moz-appearance: none;
|
120
125
|
-webkit-appearance: none;
|
121
126
|
}
|
122
|
-
.pf-v6-c-form-control > :is(input, select, textarea):focus {
|
123
|
-
outline-offset: var(--pf-v6-c-form-control--OutlineOffset);
|
124
|
-
}
|
125
127
|
.pf-v6-c-form-control > ::placeholder {
|
126
128
|
color: var(--pf-v6-c-form-control--m-placeholder--Color);
|
127
129
|
}
|
128
130
|
.pf-v6-c-form-control > :is(input, select) {
|
129
131
|
text-overflow: ellipsis;
|
130
132
|
}
|
133
|
+
.pf-v6-c-form-control.pf-m-textarea {
|
134
|
+
padding-block-start: var(--pf-v6-c-form-control--textarea--PaddingBlockStart--offset);
|
135
|
+
padding-block-end: var(--pf-v6-c-form-control--textarea--PaddingBlockEnd--offset);
|
136
|
+
padding-inline-start: var(--pf-v6-c-form-control--textarea--PaddingInlineStart--offset);
|
137
|
+
padding-inline-end: var(--pf-v6-c-form-control--textarea--PaddingInlineEnd--offset);
|
138
|
+
}
|
139
|
+
.pf-v6-c-form-control.pf-m-textarea.pf-m-success, .pf-v6-c-form-control.pf-m-textarea.pf-m-warning, .pf-v6-c-form-control.pf-m-textarea.pf-m-error {
|
140
|
+
--pf-v6-c-form-control--m-status--PaddingInlineEnd--offset: calc(var(--pf-v6-c-form-control__icon--FontSize) + var(--pf-v6-c-form-control--ColumnGap));
|
141
|
+
}
|
142
|
+
.pf-v6-c-form-control.pf-m-textarea > textarea {
|
143
|
+
padding-block-start: calc(var(--pf-v6-c-form-control--PaddingBlockStart) - var(--pf-v6-c-form-control--textarea--PaddingBlockStart--offset));
|
144
|
+
padding-block-end: calc(var(--pf-v6-c-form-control--PaddingBlockEnd) - var(--pf-v6-c-form-control--textarea--PaddingBlockEnd--offset));
|
145
|
+
padding-inline-start: calc(var(--pf-v6-c-form-control--PaddingInlineStart) - var(--pf-v6-c-form-control--textarea--PaddingInlineStart--offset));
|
146
|
+
padding-inline-end: calc(var(--pf-v6-c-form-control--PaddingInlineEnd) - var(--pf-v6-c-form-control--textarea--PaddingInlineEnd--offset) + var(--pf-v6-c-form-control--m-status--PaddingInlineEnd--offset, 0));
|
147
|
+
outline-offset: 0;
|
148
|
+
scrollbar-gutter: stable;
|
149
|
+
}
|
131
150
|
.pf-v6-c-form-control.pf-m-readonly {
|
132
151
|
--pf-v6-c-form-control--BackgroundColor: var(--pf-v6-c-form-control--m-readonly--BackgroundColor);
|
133
152
|
--pf-v6-c-form-control--before--BorderColor: var(--pf-v6-c-form-control--m-readonly--BorderColor);
|
@@ -5,10 +5,11 @@ declare const _default: {
|
|
5
5
|
"formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
|
6
6
|
"formControlUtilities": "pf-v6-c-form-control__utilities",
|
7
7
|
"modifiers": {
|
8
|
-
"
|
8
|
+
"textarea": "pf-m-textarea",
|
9
9
|
"success": "pf-m-success",
|
10
10
|
"warning": "pf-m-warning",
|
11
11
|
"error": "pf-m-error",
|
12
|
+
"readonly": "pf-m-readonly",
|
12
13
|
"plain": "pf-m-plain",
|
13
14
|
"expanded": "pf-m-expanded",
|
14
15
|
"disabled": "pf-m-disabled",
|
@@ -7,10 +7,11 @@ exports.default = {
|
|
7
7
|
"formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
|
8
8
|
"formControlUtilities": "pf-v6-c-form-control__utilities",
|
9
9
|
"modifiers": {
|
10
|
-
"
|
10
|
+
"textarea": "pf-m-textarea",
|
11
11
|
"success": "pf-m-success",
|
12
12
|
"warning": "pf-m-warning",
|
13
13
|
"error": "pf-m-error",
|
14
|
+
"readonly": "pf-m-readonly",
|
14
15
|
"plain": "pf-m-plain",
|
15
16
|
"expanded": "pf-m-expanded",
|
16
17
|
"disabled": "pf-m-disabled",
|
@@ -5,10 +5,11 @@ export default {
|
|
5
5
|
"formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
|
6
6
|
"formControlUtilities": "pf-v6-c-form-control__utilities",
|
7
7
|
"modifiers": {
|
8
|
-
"
|
8
|
+
"textarea": "pf-m-textarea",
|
9
9
|
"success": "pf-m-success",
|
10
10
|
"warning": "pf-m-warning",
|
11
11
|
"error": "pf-m-error",
|
12
|
+
"readonly": "pf-m-readonly",
|
12
13
|
"plain": "pf-m-plain",
|
13
14
|
"expanded": "pf-m-expanded",
|
14
15
|
"disabled": "pf-m-disabled",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.pf-v6-c-menu-toggle {
|
2
|
-
--pf-v6-c-menu-toggle--
|
2
|
+
--pf-v6-c-menu-toggle--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
3
3
|
--pf-v6-c-menu-toggle--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
|
4
4
|
--pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
5
5
|
--pf-v6-c-menu-toggle--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
|
@@ -64,26 +64,30 @@
|
|
64
64
|
--pf-v6-c-menu-toggle--m-secondary__toggle-icon--Color: var(--pf-t--global--icon--color--brand--default);
|
65
65
|
--pf-v6-c-menu-toggle--m-secondary--hover__toggle-icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
66
66
|
--pf-v6-c-menu-toggle--m-secondary--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--brand--clicked);
|
67
|
-
--pf-v6-c-menu-toggle__controls--MinWidth: calc(var(--pf-v6-c-menu-toggle--FontSize) + var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--sm));
|
68
67
|
--pf-v6-c-menu-toggle--m-full-height--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--spacious);
|
69
68
|
--pf-v6-c-menu-toggle--m-full-height--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--spacious);
|
70
69
|
--pf-v6-c-menu-toggle--m-split-button--child--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
71
70
|
--pf-v6-c-menu-toggle--m-split-button--child--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
72
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
73
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
74
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
75
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
76
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
77
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
78
|
-
--pf-v6-c-menu-toggle--m-split-button--m-
|
79
|
-
--pf-v6-c-menu-toggle--m-split-button--m-
|
80
|
-
--pf-v6-c-menu-toggle--m-split-button--m-
|
71
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartWidth: var(--pf-t--global--border--width--action--default);
|
72
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-t--global--border--color--default);
|
73
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderRadius: var(--pf-t--global--border--radius--pill);
|
74
|
+
--pf-v6-c-menu-toggle--m-split-button--child--disabled--BorderInlineStartColor: var(--pf-t--global--icon--color--on-disabled);
|
75
|
+
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
76
|
+
--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset: var(--pf-t--global--spacer--control--horizontal--default);
|
77
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-t--global--color--brand--default);
|
78
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
79
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BorderInlineStartColor: var(--pf-t--global--border--color--default);
|
80
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--expanded--child--BackgroundColor: var(--pf-t--global--color--brand--clicked);
|
81
|
+
--pf-v6-c-menu-toggle--m-split-button--m-secondary--child--BorderInlineStartColor: var(--pf-t--global--color--brand--default);
|
81
82
|
--pf-v6-c-menu-toggle__button--BackgroundColor: transparent;
|
83
|
+
--pf-v6-c-menu-toggle__button--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
82
84
|
--pf-v6-c-menu-toggle__button--AlignSelf: baseline;
|
83
85
|
--pf-v6-c-menu-toggle__button--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--plain);
|
84
86
|
--pf-v6-c-menu-toggle__button--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--plain);
|
85
87
|
--pf-v6-c-menu-toggle__button--MinWidth: calc(var(--pf-v6-c-menu-toggle--FontSize) * var(--pf-v6-c-menu-toggle--LineHeight) + var(--pf-v6-c-menu-toggle--PaddingBlockStart) + var(--pf-v6-c-menu-toggle--PaddingBlockEnd));
|
86
88
|
--pf-v6-c-menu-toggle__button--m-text--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
89
|
+
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
|
90
|
+
--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
|
87
91
|
--pf-v6-c-menu-toggle--m-plain--PaddingInlineStart: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
88
92
|
--pf-v6-c-menu-toggle--m-plain--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--plain--default);
|
89
93
|
--pf-v6-c-menu-toggle--m-plain--Color: var(--pf-t--global--icon--color--regular);
|
@@ -91,14 +95,15 @@
|
|
91
95
|
--pf-v6-c-menu-toggle--m-plain--BorderColor: transparent;
|
92
96
|
--pf-v6-c-menu-toggle--m-plain--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
93
97
|
--pf-v6-c-menu-toggle--m-plain--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
94
|
-
--pf-v6-c-menu-toggle--m-plain--disabled--Color: var(--pf-t--global--
|
98
|
+
--pf-v6-c-menu-toggle--m-plain--disabled--Color: var(--pf-t--global--text--color--disabled);
|
99
|
+
--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color: var(--pf-t--global--icon--color--disabled);
|
100
|
+
--pf-v6-c-menu-toggle--m-plain--disabled__toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
95
101
|
--pf-v6-c-menu-toggle--m-plain--disabled--BackgroundColor: transparent;
|
96
102
|
--pf-v6-c-menu-toggle--m-typeahead__button--AlignSelf: stretch;
|
97
103
|
--pf-v6-c-menu-toggle--m-small--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--compact);
|
98
104
|
--pf-v6-c-menu-toggle--m-small--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--compact);
|
99
105
|
--pf-v6-c-menu-toggle--m-small--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--compact);
|
100
106
|
--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--compact);
|
101
|
-
--pf-v6-c-menu-toggle__status-icon--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
102
107
|
--pf-v6-c-menu-toggle__status-icon--Color: var(--pf-t--global--icon--color--regular);
|
103
108
|
--pf-v6-c-menu-toggle--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
104
109
|
--pf-v6-c-menu-toggle--m-success__status-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
@@ -107,12 +112,13 @@
|
|
107
112
|
--pf-v6-c-menu-toggle--m-danger--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
108
113
|
--pf-v6-c-menu-toggle--m-danger__status-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
109
114
|
--pf-v6-c-menu-toggle--m-placeholder--Color: var(--pf-t--global--text--color--placeholder);
|
115
|
+
--pf-v6-c-menu-toggle__controls--Gap: var(--pf-t--global--spacer--sm);
|
110
116
|
}
|
111
117
|
|
112
118
|
.pf-v6-c-menu-toggle {
|
113
119
|
position: relative;
|
114
120
|
display: inline-flex;
|
115
|
-
|
121
|
+
gap: var(--pf-v6-c-menu-toggle--Gap);
|
116
122
|
align-items: center;
|
117
123
|
justify-content: center;
|
118
124
|
min-width: var(--pf-v6-c-menu-toggle--MinWidth);
|
@@ -198,6 +204,8 @@
|
|
198
204
|
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(--pf-v6-c-menu-toggle--m-plain--hover--BackgroundColor);
|
199
205
|
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--pf-v6-c-menu-toggle--m-plain--expanded--BackgroundColor);
|
200
206
|
--pf-v6-c-menu-toggle--disabled--Color: var(--pf-v6-c-menu-toggle--m-plain--disabled--Color);
|
207
|
+
--pf-v6-c-menu-toggle--disabled__icon--Color: var(--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color);
|
208
|
+
--pf-v6-c-menu-toggle--disabled__toggle-icon--Color: var(--pf-v6-c-menu-toggle--m-plain--disabled__icon--Color);
|
201
209
|
--pf-v6-c-menu-toggle--disabled--BackgroundColor: var(--pf-v6-c-menu-toggle--m-plain--disabled--BackgroundColor);
|
202
210
|
}
|
203
211
|
.pf-v6-c-menu-toggle.pf-m-plain::before {
|
@@ -226,9 +234,6 @@
|
|
226
234
|
--pf-v6-c-menu-toggle--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-small--PaddingInlineStart);
|
227
235
|
--pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-v6-c-menu-toggle--m-small--PaddingInlineEnd);
|
228
236
|
}
|
229
|
-
.pf-v6-c-menu-toggle:has(.pf-v6-c-button) {
|
230
|
-
background-color: transparent;
|
231
|
-
}
|
232
237
|
.pf-v6-c-menu-toggle.pf-m-success {
|
233
238
|
--pf-v6-c-menu-toggle--BorderColor: var(--pf-v6-c-menu-toggle--m-success--BorderColor);
|
234
239
|
--pf-v6-c-menu-toggle__status-icon--Color: var(--pf-v6-c-menu-toggle--m-success__status-icon--Color);
|
@@ -257,7 +262,8 @@
|
|
257
262
|
}
|
258
263
|
|
259
264
|
.pf-v6-c-menu-toggle.pf-m-split-button {
|
260
|
-
--pf-v6-c-menu-toggle--
|
265
|
+
--pf-v6-c-menu-toggle--Gap: 0;
|
266
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--BorderColor);
|
261
267
|
padding: 0;
|
262
268
|
}
|
263
269
|
.pf-v6-c-menu-toggle.pf-m-split-button > * {
|
@@ -276,7 +282,6 @@
|
|
276
282
|
border-end-end-radius: var(--pf-v6-c-menu-toggle--BorderRadius);
|
277
283
|
}
|
278
284
|
.pf-v6-c-menu-toggle.pf-m-split-button > .pf-v6-c-check {
|
279
|
-
--pf-v6-c-menu-toggle--PaddingInlineEnd: 0;
|
280
285
|
--pf-v6-c-check__label--Color: currentcolor;
|
281
286
|
--pf-v6-c-check__label--disabled--Color: currentcolor;
|
282
287
|
align-items: center;
|
@@ -286,49 +291,51 @@
|
|
286
291
|
--pf-v6-c-check__input--TranslateY: 0;
|
287
292
|
align-self: center;
|
288
293
|
}
|
289
|
-
.pf-v6-c-menu-toggle.pf-m-split-button
|
290
|
-
--pf-v6-c-menu-toggle--
|
291
|
-
}
|
292
|
-
|
293
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-action {
|
294
|
-
--pf-v6-c-menu-toggle--m-split-button--m-action--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--BorderColor);
|
294
|
+
.pf-v6-c-menu-toggle.pf-m-split-button > :not(:first-child) {
|
295
|
+
border-inline-start: var(--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartWidth) solid var(--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor);
|
295
296
|
}
|
296
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
297
|
-
|
297
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary {
|
298
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BorderInlineStartColor);
|
298
299
|
}
|
299
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
300
|
-
|
300
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary > .pf-v6-c-menu-toggle__button,
|
301
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary > .pf-v6-c-check {
|
302
|
+
background-color: var(--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor);
|
301
303
|
}
|
302
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
303
|
-
|
304
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary > .pf-v6-c-menu-toggle__button:is(:hover, :focus),
|
305
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary > .pf-v6-c-check:is(:hover, :focus) {
|
306
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-v6-c-menu-toggle--m-split-button--m-primary--child--hover--BackgroundColor);
|
304
307
|
}
|
305
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
306
|
-
|
308
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary.pf-m-expanded {
|
309
|
+
--pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-v6-c-menu-toggle--m-split-button--m-primary--expanded--child--BackgroundColor);
|
307
310
|
}
|
308
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
309
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
311
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary {
|
312
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--m-split-button--m-secondary--child--BorderInlineStartColor);
|
310
313
|
}
|
311
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
312
|
-
|
314
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__toggle-icon:only-child)):first-child,
|
315
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):first-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__toggle-icon:only-child)):first-child,
|
316
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-check:not(.pf-m-standalone):first-child {
|
317
|
+
padding-inline-end: var(--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset);
|
313
318
|
}
|
314
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-
|
315
|
-
|
319
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__toggle-icon:only-child)):last-child,
|
320
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary .pf-v6-c-check:not(.pf-m-standalone):last-child, .pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-menu-toggle__button:not(:has(.pf-v6-c-menu-toggle__toggle-icon:only-child)):last-child,
|
321
|
+
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary .pf-v6-c-check:not(.pf-m-standalone):last-child {
|
322
|
+
padding-inline-start: var(--pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset);
|
316
323
|
}
|
317
|
-
.pf-v6-c-menu-toggle.pf-m-split-button
|
318
|
-
--pf-v6-c-menu-toggle--m-split-button--
|
319
|
-
}
|
320
|
-
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-action:is(.pf-m-disabled, :disabled)::before {
|
321
|
-
content: none;
|
324
|
+
.pf-v6-c-menu-toggle.pf-m-split-button:is(.pf-m-disabled, :disabled) {
|
325
|
+
--pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor: var(--pf-v6-c-menu-toggle--m-split-button--child--disabled--BorderInlineStartColor);
|
322
326
|
}
|
323
|
-
.pf-v6-c-menu-toggle.pf-m-split-button
|
324
|
-
|
327
|
+
.pf-v6-c-menu-toggle.pf-m-split-button:is(.pf-m-disabled, :disabled) > .pf-v6-c-menu-toggle__button,
|
328
|
+
.pf-v6-c-menu-toggle.pf-m-split-button:is(.pf-m-disabled, :disabled) > .pf-v6-c-check {
|
325
329
|
color: var(--pf-v6-c-menu-toggle--m-split-button--child--disabled--Color);
|
326
330
|
background-color: var(--pf-v6-c-menu-toggle--m-split-button--child--disabled--BackgroundColor);
|
327
331
|
}
|
332
|
+
.pf-v6-c-menu-toggle.pf-m-split-button:is(.pf-m-disabled, :disabled)::before {
|
333
|
+
content: none;
|
334
|
+
}
|
328
335
|
|
329
336
|
.pf-v6-c-menu-toggle.pf-m-typeahead {
|
330
337
|
--pf-v6-c-menu-toggle__button--AlignSelf: var(--pf-v6-c-menu-toggle--m-typeahead__button--AlignSelf);
|
331
|
-
--pf-v6-c-menu-toggle--
|
338
|
+
--pf-v6-c-menu-toggle--Gap: 0;
|
332
339
|
align-items: stretch;
|
333
340
|
padding: 0;
|
334
341
|
}
|
@@ -346,6 +353,7 @@
|
|
346
353
|
}
|
347
354
|
|
348
355
|
.pf-v6-c-menu-toggle__button {
|
356
|
+
gap: var(--pf-v6-c-menu-toggle__button--Gap);
|
349
357
|
align-self: var(--pf-v6-c-menu-toggle__button--AlignSelf);
|
350
358
|
min-width: var(--pf-v6-c-menu-toggle__button--MinWidth);
|
351
359
|
padding-inline-start: var(--pf-v6-c-menu-toggle__button--PaddingInlineStart);
|
@@ -354,13 +362,13 @@
|
|
354
362
|
background-color: var(--pf-v6-c-menu-toggle__button--BackgroundColor);
|
355
363
|
border: 0;
|
356
364
|
}
|
357
|
-
.pf-v6-c-menu-toggle__button:has(.pf-v6-c-menu-toggle__controls) {
|
358
|
-
padding-inline-start: 0;
|
359
|
-
}
|
360
365
|
.pf-v6-c-menu-toggle__button.pf-m-text {
|
361
366
|
display: inline-flex;
|
362
367
|
align-items: baseline;
|
363
|
-
|
368
|
+
}
|
369
|
+
.pf-v6-c-menu-toggle.pf-m-split-button > .pf-v6-c-check.pf-m-standalone, .pf-v6-c-menu-toggle__button:has(> .pf-v6-c-menu-toggle__controls:only-child) {
|
370
|
+
padding-inline-start: var(--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineStart);
|
371
|
+
padding-inline-end: var(--pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineEnd);
|
364
372
|
}
|
365
373
|
|
366
374
|
.pf-v6-c-menu-toggle__text {
|
@@ -375,7 +383,6 @@
|
|
375
383
|
flex-wrap: nowrap;
|
376
384
|
}
|
377
385
|
|
378
|
-
.pf-v6-c-menu-toggle__icon,
|
379
386
|
.pf-v6-c-menu-toggle__controls,
|
380
387
|
.pf-v6-c-menu-toggle__toggle-icon {
|
381
388
|
display: flex;
|
@@ -385,11 +392,16 @@
|
|
385
392
|
|
386
393
|
.pf-v6-c-menu-toggle__icon {
|
387
394
|
flex-shrink: 0;
|
388
|
-
|
395
|
+
}
|
396
|
+
.pf-v6-c-menu-toggle__icon.pf-m-avatar .pf-v6-c-avatar,
|
397
|
+
.pf-v6-c-menu-toggle__icon.pf-m-avatar img,
|
398
|
+
.pf-v6-c-menu-toggle__icon.pf-m-avatar svg {
|
399
|
+
margin-block-start: calc(var(--pf-v6-c-menu-toggle--PaddingBlockStart) * -1);
|
400
|
+
margin-block-end: calc(var(--pf-v6-c-menu-toggle--PaddingBlockEnd) * -1);
|
389
401
|
}
|
390
402
|
|
391
403
|
.pf-v6-c-menu-toggle__controls {
|
392
|
-
|
404
|
+
gap: var(--pf-v6-c-menu-toggle__controls--Gap);
|
393
405
|
margin-inline-start: auto;
|
394
406
|
}
|
395
407
|
|
@@ -399,6 +411,5 @@
|
|
399
411
|
}
|
400
412
|
|
401
413
|
.pf-v6-c-menu-toggle__status-icon {
|
402
|
-
margin-inline-end: var(--pf-v6-c-menu-toggle__status-icon--MarginInlineEnd);
|
403
414
|
color: var(--pf-v6-c-menu-toggle__status-icon--Color, inherit);
|
404
415
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import './menu-toggle.css';
|
2
2
|
declare const _default: {
|
3
|
+
"avatar": "pf-v6-c-avatar",
|
3
4
|
"button": "pf-v6-c-button",
|
4
5
|
"check": "pf-v6-c-check",
|
5
6
|
"checkInput": "pf-v6-c-check__input",
|
@@ -25,9 +26,10 @@ declare const _default: {
|
|
25
26
|
"danger": "pf-m-danger",
|
26
27
|
"placeholder": "pf-m-placeholder",
|
27
28
|
"splitButton": "pf-m-split-button",
|
28
|
-
"
|
29
|
+
"standalone": "pf-m-standalone",
|
29
30
|
"typeahead": "pf-m-typeahead",
|
30
|
-
"text": "pf-m-text"
|
31
|
+
"text": "pf-m-text",
|
32
|
+
"avatar": "pf-m-avatar"
|
31
33
|
},
|
32
34
|
"textInputGroup": "pf-v6-c-text-input-group"
|
33
35
|
};
|
@@ -2,6 +2,7 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./menu-toggle.css');
|
4
4
|
exports.default = {
|
5
|
+
"avatar": "pf-v6-c-avatar",
|
5
6
|
"button": "pf-v6-c-button",
|
6
7
|
"check": "pf-v6-c-check",
|
7
8
|
"checkInput": "pf-v6-c-check__input",
|
@@ -27,9 +28,10 @@ exports.default = {
|
|
27
28
|
"danger": "pf-m-danger",
|
28
29
|
"placeholder": "pf-m-placeholder",
|
29
30
|
"splitButton": "pf-m-split-button",
|
30
|
-
"
|
31
|
+
"standalone": "pf-m-standalone",
|
31
32
|
"typeahead": "pf-m-typeahead",
|
32
|
-
"text": "pf-m-text"
|
33
|
+
"text": "pf-m-text",
|
34
|
+
"avatar": "pf-m-avatar"
|
33
35
|
},
|
34
36
|
"textInputGroup": "pf-v6-c-text-input-group"
|
35
37
|
};
|