@patternfly/patternfly 6.5.0-prerelease.33 → 6.5.0-prerelease.35

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.
Files changed (93) hide show
  1. package/assets/fontawesome/_variables.scss +2 -1
  2. package/base/patternfly-variables.css +340 -14
  3. package/base/patternfly-variables.scss +40 -0
  4. package/base/tokens/tokens-dark.scss +49 -3
  5. package/base/tokens/tokens-default.scss +65 -13
  6. package/base/tokens/tokens-glass-dark.scss +11 -0
  7. package/base/tokens/tokens-glass.scss +11 -0
  8. package/base/tokens/tokens-local.scss +1 -1
  9. package/base/tokens/tokens-redhat-dark.scss +14 -0
  10. package/base/tokens/tokens-redhat-glass-dark.scss +18 -0
  11. package/base/tokens/tokens-redhat-glass.scss +17 -0
  12. package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
  13. package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
  14. package/base/tokens/tokens-redhat.scss +15 -0
  15. package/components/AboutModalBox/about-modal-box.css +36 -26
  16. package/components/Accordion/accordion.css +16 -13
  17. package/components/Alert/alert.css +5 -4
  18. package/components/Avatar/avatar.css +12 -4
  19. package/components/BackgroundImage/background-image.css +6 -3
  20. package/components/Banner/banner.css +8 -6
  21. package/components/Brand/brand.css +3 -1
  22. package/components/Breadcrumb/breadcrumb.css +4 -3
  23. package/components/Button/button.css +6 -6
  24. package/components/CalendarMonth/calendar-month.css +4 -3
  25. package/components/Card/card.css +7 -6
  26. package/components/ClipboardCopy/clipboard-copy.css +4 -3
  27. package/components/CodeEditor/code-editor.css +1 -1
  28. package/components/CodeEditor/code-editor.scss +1 -1
  29. package/components/Compass/compass.css +6 -2
  30. package/components/DataList/data-list.css +28 -21
  31. package/components/DescriptionList/description-list-order.scss +5 -1
  32. package/components/DescriptionList/description-list.css +7 -5
  33. package/components/DescriptionList/description-list.scss +5 -1
  34. package/components/Divider/divider.css +7 -5
  35. package/components/Drawer/drawer.css +38 -28
  36. package/components/Drawer/drawer.scss +12 -4
  37. package/components/DualListSelector/dual-list-selector.css +17 -11
  38. package/components/ExpandableSection/expandable-section.css +16 -14
  39. package/components/ExpandableSection/expandable-section.scss +1 -1
  40. package/components/Form/form.css +1 -1
  41. package/components/Form/form.scss +1 -1
  42. package/components/FormControl/form-control.css +1 -1
  43. package/components/FormControl/form-control.scss +1 -1
  44. package/components/JumpLinks/jump-links.css +4 -3
  45. package/components/JumpLinks/jump-links.scss +5 -1
  46. package/components/Label/label-group.css +2 -2
  47. package/components/Label/label-group.scss +2 -2
  48. package/components/Label/label.css +4 -3
  49. package/components/Login/login.css +51 -37
  50. package/components/Masthead/masthead.css +20 -18
  51. package/components/Masthead/masthead.scss +6 -2
  52. package/components/Menu/menu.css +23 -14
  53. package/components/ModalBox/modal-box.css +9 -7
  54. package/components/ModalBox/modal-box.scss +2 -2
  55. package/components/Nav/nav.css +13 -9
  56. package/components/NotificationDrawer/notification-drawer.css +6 -6
  57. package/components/Page/page.css +35 -29
  58. package/components/Page/page.scss +17 -5
  59. package/components/Pagination/pagination.scss +5 -1
  60. package/components/ProgressStepper/progress-stepper.scss +5 -1
  61. package/components/Sidebar/sidebar.css +1 -1
  62. package/components/Sidebar/sidebar.scss +7 -3
  63. package/components/Skeleton/skeleton.css +16 -15
  64. package/components/Slider/slider.css +32 -18
  65. package/components/Switch/switch.css +3 -1
  66. package/components/Table/table-tree-view.css +4 -2
  67. package/components/Table/table.css +31 -27
  68. package/components/Tabs/tabs.css +17 -15
  69. package/components/Tabs/tabs.scss +12 -4
  70. package/components/Toolbar/toolbar.css +14 -8
  71. package/components/Toolbar/toolbar.scss +5 -1
  72. package/components/TreeView/tree-view.css +44 -13
  73. package/components/TreeView/tree-view.scss +31 -0
  74. package/components/Wizard/wizard.css +20 -16
  75. package/components/Wizard/wizard.scss +3 -3
  76. package/components/_index.css +598 -427
  77. package/docs/components/Compass/examples/Compass.md +38 -32
  78. package/docs/components/ModalBox/examples/ModalBox.md +1 -1
  79. package/docs/components/TreeView/examples/TreeView.md +38 -26
  80. package/docs/demos/Compass/examples/Compass.md +16 -0
  81. package/layouts/Flex/flex.scss +83 -19
  82. package/layouts/Gallery/gallery.css +6 -2
  83. package/layouts/_index.css +6 -2
  84. package/package.json +4 -2
  85. package/patternfly-base-no-globals.css +340 -14
  86. package/patternfly-base.css +340 -14
  87. package/patternfly-charts.css +3 -3
  88. package/patternfly-no-globals.css +928 -427
  89. package/patternfly.css +928 -427
  90. package/patternfly.min.css +1 -1
  91. package/patternfly.min.css.map +1 -1
  92. package/sass-utilities/functions.scss +32 -25
  93. package/sass-utilities/mixins.scss +36 -20
@@ -412,6 +412,14 @@
412
412
  --pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
413
413
  --pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
414
414
  --pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
415
+ }
416
+ @media screen and (min-width: 36rem) {
417
+ .pf-v6-c-data-list {
418
+ --pf-v6-c-data-list--BorderBlockStartColor: var(--pf-v6-c-data-list--sm--BorderBlockStartColor);
419
+ --pf-v6-c-data-list--BorderBlockStartWidth: var(--pf-v6-c-data-list--sm--BorderBlockStartWidth);
420
+ }
421
+ }
422
+ .pf-v6-c-data-list {
415
423
  --pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
416
424
  --pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
417
425
  --pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
@@ -421,6 +429,14 @@
421
429
  --pf-v6-c-data-list__item--BorderBlockEndWidth: var(--pf-t--global--border--width--strong);
422
430
  --pf-v6-c-data-list__item--sm--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
423
431
  --pf-v6-c-data-list__item--sm--BorderBlockEndColor: var(--pf-t--global--border--color--default);
432
+ }
433
+ @media screen and (min-width: 36rem) {
434
+ .pf-v6-c-data-list {
435
+ --pf-v6-c-data-list__item--BorderBlockEndWidth: var(--pf-v6-c-data-list__item--sm--BorderBlockEndWidth);
436
+ --pf-v6-c-data-list__item--BorderBlockEndColor: var(--pf-v6-c-data-list__item--sm--BorderBlockEndColor);
437
+ }
438
+ }
439
+ .pf-v6-c-data-list {
424
440
  --pf-v6-c-data-list__item-row--PaddingInlineEnd: var(--pf-t--global--spacer--md);
425
441
  --pf-v6-c-data-list__item-row--PaddingInlineStart: var(--pf-t--global--spacer--md);
426
442
  --pf-v6-c-data-list__item-row--xl--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -516,18 +532,6 @@
516
532
  --pf-v6-c-data-list--m-compact__item-draggable-button--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
517
533
  --pf-v6-c-data-list--m-compact__cell--m-icon--cell--PaddingBlockStart: var(--pf-t--global--spacer--sm);
518
534
  }
519
- @media screen and (min-width: 36rem) {
520
- .pf-v6-c-data-list {
521
- --pf-v6-c-data-list--BorderBlockStartColor: var(--pf-v6-c-data-list--sm--BorderBlockStartColor);
522
- --pf-v6-c-data-list--BorderBlockStartWidth: var(--pf-v6-c-data-list--sm--BorderBlockStartWidth);
523
- }
524
- }
525
- @media screen and (min-width: 36rem) {
526
- .pf-v6-c-data-list {
527
- --pf-v6-c-data-list__item--BorderBlockEndWidth: var(--pf-v6-c-data-list__item--sm--BorderBlockEndWidth);
528
- --pf-v6-c-data-list__item--BorderBlockEndColor: var(--pf-v6-c-data-list__item--sm--BorderBlockEndColor);
529
- }
530
- }
531
535
 
532
536
  .pf-v6-c-data-list {
533
537
  font-size: var(--pf-v6-c-data-list--FontSize);
@@ -690,12 +694,6 @@
690
694
  --pf-v6-hidden-visible--hidden--Display: none;
691
695
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
692
696
  display: var(--pf-v6-hidden-visible--Display);
693
- gap: var(--pf-v6-c-data-list__item-action--Gap);
694
- align-content: flex-start;
695
- align-items: flex-start;
696
- padding-block-start: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockStart) - var(--pf-v6-c-data-list__item-action--PaddingBlockStart--offset));
697
- padding-block-end: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockEnd) - var(--pf-v6-c-data-list__item-action--PaddingBlockEnd--offset));
698
- margin-inline-start: var(--pf-v6-c-data-list__item-action--MarginInlineStart);
699
697
  }
700
698
  .pf-v6-c-data-list__item-action.pf-m-hidden {
701
699
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
@@ -740,6 +738,14 @@
740
738
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
741
739
  }
742
740
  }
741
+ .pf-v6-c-data-list__item-action {
742
+ gap: var(--pf-v6-c-data-list__item-action--Gap);
743
+ align-content: flex-start;
744
+ align-items: flex-start;
745
+ padding-block-start: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockStart) - var(--pf-v6-c-data-list__item-action--PaddingBlockStart--offset));
746
+ padding-block-end: calc(var(--pf-v6-c-data-list__item-action--PaddingBlockEnd) - var(--pf-v6-c-data-list__item-action--PaddingBlockEnd--offset));
747
+ margin-inline-start: var(--pf-v6-c-data-list__item-action--MarginInlineStart);
748
+ }
743
749
 
744
750
  .pf-v6-c-data-list__toggle {
745
751
  margin-block-start: var(--pf-v6-c-data-list__toggle--MarginBlockStart);
@@ -747,15 +753,16 @@
747
753
  margin-inline-start: var(--pf-v6-c-data-list__toggle--MarginInlineStart);
748
754
  }
749
755
 
756
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-data-list__toggle-icon {
757
+ scale: -1 1;
758
+ }
759
+
750
760
  .pf-v6-c-data-list__toggle-icon {
751
761
  height: var(--pf-v6-c-data-list__toggle-icon--Height);
752
762
  pointer-events: none;
753
763
  transition: var(--pf-v6-c-data-list__toggle-icon--Transition);
754
764
  transform: rotate(var(--pf-v6-c-data-list__toggle-icon--Rotate));
755
765
  }
756
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-data-list__toggle-icon {
757
- scale: -1 1;
758
- }
759
766
 
760
767
  .pf-v6-c-data-list__item-content {
761
768
  display: grid;
@@ -6,7 +6,11 @@ $pf-v6-c-description-list-order--limit: 12;
6
6
  // stylelint-disable max-nesting-depth
7
7
  .#{$description-list}__group {
8
8
  @each $breakpoint, $breakpoint-value in $pf-v6-c-description-list-order--breakpoint-map {
9
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
9
+ $breakpoint-name: "";
10
+
11
+ @if $breakpoint != "base" {
12
+ $breakpoint-name: -on-#{$breakpoint};
13
+ }
10
14
 
11
15
  @include pf-v6-apply-breakpoint($breakpoint) {
12
16
  @for $i from 0 through $pf-v6-c-description-list-order--limit {
@@ -16,6 +16,13 @@
16
16
  --pf-v6-c-description-list__term--FontWeight: var(--pf-t--global--font--weight--body--bold);
17
17
  --pf-v6-c-description-list__term--FontSize: var(--pf-t--global--font--size--body--default);
18
18
  --pf-v6-c-description-list__term--LineHeight: var(--pf-t--global--font--line-height--body);
19
+ }
20
+ @media screen and (min-width: 36rem) {
21
+ .pf-v6-c-description-list {
22
+ --pf-v6-c-description-list__term--Display: var(--pf-v6-c-description-list__term--sm--Display);
23
+ }
24
+ }
25
+ .pf-v6-c-description-list {
19
26
  --pf-v6-c-description-list__term-icon--MinWidth: var(--pf-t--global--font--size--body--sm);
20
27
  --pf-v6-c-description-list__term-icon--MarginInlineEnd: var(--pf-t--global--spacer--sm);
21
28
  --pf-v6-c-description-list__term-icon--Color: var(--pf-t--global--icon--color--subtle);
@@ -44,11 +51,6 @@
44
51
  --pf-v6-c-description-list--m-horizontal__term--width-on-2xl: inherit;
45
52
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width);
46
53
  }
47
- @media screen and (min-width: 36rem) {
48
- .pf-v6-c-description-list {
49
- --pf-v6-c-description-list__term--Display: var(--pf-v6-c-description-list__term--sm--Display);
50
- }
51
- }
52
54
  @media (min-width: 36rem) {
53
55
  .pf-v6-c-description-list {
54
56
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width));
@@ -195,7 +195,11 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
195
195
  // stylelint-disable no-duplicate-selectors
196
196
  .#{$description-list} {
197
197
  @each $breakpoint, $breakpoint-value in $pf-v6-c-description-list--breakpoint-map {
198
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
198
+ $breakpoint-name: "";
199
+
200
+ @if $breakpoint != "base" {
201
+ $breakpoint-name: -on-#{$breakpoint};
202
+ }
199
203
 
200
204
  @include pf-v6-apply-breakpoint($breakpoint) {
201
205
  &.pf-m-1-col#{$breakpoint-name} {
@@ -13,11 +13,6 @@
13
13
  --pf-v6-hidden-visible--hidden--Display: none;
14
14
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
15
15
  display: var(--pf-v6-hidden-visible--Display);
16
- flex-shrink: 0;
17
- align-items: stretch;
18
- align-self: stretch;
19
- justify-content: center;
20
- border: 0;
21
16
  }
22
17
  .pf-v6-c-divider.pf-m-hidden {
23
18
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
@@ -62,6 +57,13 @@
62
57
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
63
58
  }
64
59
  }
60
+ .pf-v6-c-divider {
61
+ flex-shrink: 0;
62
+ align-items: stretch;
63
+ align-self: stretch;
64
+ justify-content: center;
65
+ border: 0;
66
+ }
65
67
  .pf-v6-c-divider::before {
66
68
  flex-basis: var(--pf-v6-c-divider--before--FlexBasis);
67
69
  content: "";
@@ -56,6 +56,19 @@
56
56
  --pf-v6-c-drawer__panel--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--default);
57
57
  --pf-v6-c-drawer__panel--m-glass--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
58
58
  --pf-v6-c-drawer__panel--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
59
+ }
60
+ @media screen and (prefers-reduced-motion: no-preference) {
61
+ .pf-v6-c-drawer {
62
+ --pf-v6-c-drawer__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
63
+ --pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDuration--slide);
64
+ --pf-v6-c-drawer__panel--TransitionDelay: 0s, 0s, 0s, 0s, var(--pf-v6-c-drawer__panel--TransitionDelay--focus);
65
+ --pf-v6-c-drawer__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
66
+ --pf-v6-c-drawer__panel--TransitionDuration: 0s, var(--pf-v6-c-drawer__panel--TransitionDuration--slide), 0s, 0s, 0s;
67
+ --pf-v6-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis, visibility;
68
+ --pf-v6-c-drawer__panel--Opacity: 1;
69
+ }
70
+ }
71
+ .pf-v6-c-drawer {
59
72
  --pf-v6-c-drawer__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
60
73
  --pf-v6-c-drawer__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
61
74
  --pf-v6-c-drawer__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -118,6 +131,17 @@
118
131
  --pf-v6-c-drawer__splitter-handle--after--Height: 0.25rem;
119
132
  --pf-v6-c-drawer__splitter--m-vertical__splitter-handle--after--Width: 0.25rem;
120
133
  --pf-v6-c-drawer__splitter--m-vertical__splitter-handle--after--Height: 0.75rem;
134
+ }
135
+ @media screen and (min-width: 75rem) {
136
+ .pf-v6-c-drawer {
137
+ --pf-v6-c-drawer__panel--MinWidth: var(--pf-v6-c-drawer__panel--xl--MinWidth);
138
+ }
139
+ .pf-v6-c-drawer.pf-m-panel-bottom {
140
+ --pf-v6-c-drawer__panel--MinWidth: auto;
141
+ --pf-v6-c-drawer__panel--MinHeight: var(--pf-v6-c-drawer--m-panel-bottom__panel--xl--MinHeight);
142
+ }
143
+ }
144
+ .pf-v6-c-drawer {
121
145
  --pf-v6-c-drawer__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--compact) * -1.5);
122
146
  --pf-v6-c-drawer__actions--MarginInlineEnd: calc(var(--pf-t--global--spacer--control--horizontal--compact) * -1.5);
123
147
  --pf-v6-c-drawer__panel--BoxShadow: none;
@@ -132,43 +156,27 @@
132
156
  --pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd: 0;
133
157
  --pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart: 0;
134
158
  }
135
- @media screen and (prefers-reduced-motion: no-preference) {
136
- .pf-v6-c-drawer {
137
- --pf-v6-c-drawer__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
138
- --pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDuration--slide);
139
- --pf-v6-c-drawer__panel--TransitionDelay: 0s, 0s, 0s, 0s, var(--pf-v6-c-drawer__panel--TransitionDelay--focus);
140
- --pf-v6-c-drawer__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
141
- --pf-v6-c-drawer__panel--TransitionDuration: 0s, var(--pf-v6-c-drawer__panel--TransitionDuration--slide), 0s, 0s, 0s;
142
- --pf-v6-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis, visibility;
143
- --pf-v6-c-drawer__panel--Opacity: 1;
144
- }
145
- }
146
- @media screen and (min-width: 75rem) {
147
- .pf-v6-c-drawer {
148
- --pf-v6-c-drawer__panel--MinWidth: var(--pf-v6-c-drawer__panel--xl--MinWidth);
149
- }
150
- .pf-v6-c-drawer.pf-m-panel-bottom {
151
- --pf-v6-c-drawer__panel--MinWidth: auto;
152
- --pf-v6-c-drawer__panel--MinHeight: var(--pf-v6-c-drawer--m-panel-bottom__panel--xl--MinHeight);
153
- }
154
- }
155
159
 
156
160
  .pf-v6-c-drawer {
157
161
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: var(--pf-t--global--box-shadow--md--left);
158
- --pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-t--global--box-shadow--md--right);
159
- display: flex;
160
- flex-direction: column;
161
- height: 100%;
162
- overflow-x: hidden;
163
162
  }
164
163
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-drawer {
165
164
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: var(--pf-t--global--box-shadow--md--right);
166
165
  }
167
166
 
167
+ .pf-v6-c-drawer {
168
+ --pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-t--global--box-shadow--md--right);
169
+ }
168
170
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-drawer {
169
171
  --pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-t--global--box-shadow--md--left);
170
172
  }
171
173
 
174
+ .pf-v6-c-drawer {
175
+ display: flex;
176
+ flex-direction: column;
177
+ height: 100%;
178
+ overflow-x: hidden;
179
+ }
172
180
  .pf-v6-c-drawer.pf-m-inline, .pf-v6-c-drawer.pf-m-static {
173
181
  --pf-v6-c-drawer__panel--BackgroundColor: var(--pf-v6-c-drawer__panel--m-inline--BackgroundColor);
174
182
  --pf-v6-c-drawer__panel--BorderInlineStartWidth: var(--pf-v6-c-drawer--m-inline__panel--after--Width);
@@ -198,13 +206,15 @@
198
206
  }
199
207
  .pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
200
208
  transform: translateX(calc(-100% - var(--pf-v6-c-drawer--m-expanded__panel--inset)));
201
- --pf-v6-c-drawer__panel--Opacity: var(--pf-v6-c-drawer--m-expanded__panel--Opacity);
202
- visibility: visible;
203
209
  }
204
210
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
205
211
  transform: translateX(calc(calc(-100% - var(--pf-v6-c-drawer--m-expanded__panel--inset)) * var(--pf-v6-global--inverse--multiplier)));
206
212
  }
207
213
 
214
+ .pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
215
+ --pf-v6-c-drawer__panel--Opacity: var(--pf-v6-c-drawer--m-expanded__panel--Opacity);
216
+ visibility: visible;
217
+ }
208
218
  .pf-v6-c-drawer.pf-m-expanded.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
209
219
  transform: translateX(0);
210
220
  }
@@ -261,8 +271,8 @@
261
271
  .pf-v6-c-drawer__panel,
262
272
  .pf-v6-c-drawer__panel-main {
263
273
  display: flex;
264
- flex-direction: column;
265
274
  flex-shrink: 0;
275
+ flex-direction: column;
266
276
  overflow: auto;
267
277
  }
268
278
 
@@ -335,8 +335,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
335
335
  .#{$drawer}__panel,
336
336
  .#{$drawer}__panel-main {
337
337
  display: flex;
338
- flex-direction: column;
339
338
  flex-shrink: 0;
339
+ flex-direction: column;
340
340
  overflow: auto;
341
341
  }
342
342
 
@@ -703,7 +703,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
703
703
 
704
704
  // Responsive width modifiers
705
705
  @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
706
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
706
+ $breakpoint-name: "";
707
+
708
+ @if $breakpoint != "base" {
709
+ $breakpoint-name: -on-#{$breakpoint};
710
+ }
707
711
 
708
712
  @if $breakpoint == "base" {
709
713
  $breakpoint: "md";
@@ -712,7 +716,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
712
716
  @include pf-v6-apply-breakpoint($breakpoint) {
713
717
  @each $width-value in $pf-v6-c-drawer__panel--list--width {
714
718
  .#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
715
- --#{$drawer}__panel--md--FlexBasis: calc(#{percentage(math.div($width-value, 100))} - (2 * var(--#{$drawer}--m-expanded__panel--inset)));
719
+ --#{$drawer}__panel--md--FlexBasis: calc(#{math.percentage(math.div($width-value, 100))} - (2 * var(--#{$drawer}--m-expanded__panel--inset)));
716
720
 
717
721
  @if $width-value == 100 {
718
722
  --#{$drawer}__main--Gap: 0; // Reset gap for width-100 inline pill drawers to prevent misalignment
@@ -724,7 +728,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
724
728
 
725
729
  // Responsive modifiers
726
730
  @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
727
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
731
+ $breakpoint-name: "";
732
+
733
+ @if $breakpoint != "base" {
734
+ $breakpoint-name: -on-#{$breakpoint};
735
+ }
728
736
 
729
737
  @if $breakpoint == "base" {
730
738
  $breakpoint: "md";
@@ -32,6 +32,15 @@
32
32
  --pf-v6-c-dual-list-selector--m-expanded__list--Opacity: 1;
33
33
  --pf-v6-c-dual-list-selector__list--TranslateY: 0;
34
34
  --pf-v6-c-dual-list-selector--m-expanded__list--TranslateY: 0;
35
+ }
36
+ @media screen and (prefers-reduced-motion: no-preference) {
37
+ .pf-v6-c-dual-list-selector {
38
+ --pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
39
+ --pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
40
+ --pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
41
+ }
42
+ }
43
+ .pf-v6-c-dual-list-selector {
35
44
  --pf-v6-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
36
45
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
37
46
  --pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
@@ -73,13 +82,6 @@
73
82
  --pf-v6-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v6-c-dual-list-selector__list-item-row--FontSize);
74
83
  --pf-v6-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
75
84
  }
76
- @media screen and (prefers-reduced-motion: no-preference) {
77
- .pf-v6-c-dual-list-selector {
78
- --pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
79
- --pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
80
- --pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
81
- }
82
- }
83
85
 
84
86
  .pf-v6-c-dual-list-selector {
85
87
  display: grid;
@@ -150,8 +152,6 @@
150
152
 
151
153
  .pf-v6-c-dual-list-selector__list {
152
154
  --pf-v6-c-dual-list-selector__item-toggle-icon--Rotate: 0;
153
- display: flex;
154
- flex-direction: column;
155
155
  }
156
156
  .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list {
157
157
  --pf-v6-c-dual-list-selector__item-toggle--MarginBlockStart: 0;
@@ -159,16 +159,22 @@
159
159
  }
160
160
  .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
161
161
  transform: translateX(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX));
162
- position: absolute;
163
- inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
164
162
  }
165
163
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
166
164
  transform: translateX(calc(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
167
165
  }
168
166
 
167
+ .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
168
+ position: absolute;
169
+ inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
170
+ }
169
171
  .pf-v6-c-dual-list-selector__list.pf-m-drag-over {
170
172
  overflow-anchor: none;
171
173
  }
174
+ .pf-v6-c-dual-list-selector__list {
175
+ display: flex;
176
+ flex-direction: column;
177
+ }
172
178
 
173
179
  .pf-v6-c-dual-list-selector__list-item:focus-visible {
174
180
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor);
@@ -27,6 +27,17 @@
27
27
  --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
28
28
  --pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
29
29
  --pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
30
+ }
31
+ @media screen and (prefers-reduced-motion: no-preference) {
32
+ .pf-v6-c-expandable-section {
33
+ --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
34
+ --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
35
+ --pf-v6-c-expandable-section__content--TranslateY: -.5rem;
36
+ --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
37
+ --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
38
+ }
39
+ }
40
+ .pf-v6-c-expandable-section {
30
41
  --pf-v6-c-expandable-section__content--MaxWidth: auto;
31
42
  --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
32
43
  --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -43,15 +54,6 @@
43
54
  --pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
44
55
  --pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
45
56
  }
46
- @media screen and (prefers-reduced-motion: no-preference) {
47
- .pf-v6-c-expandable-section {
48
- --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
49
- --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
50
- --pf-v6-c-expandable-section__content--TranslateY: -.5rem;
51
- --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
52
- --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
53
- }
54
- }
55
57
 
56
58
  .pf-v6-c-expandable-section {
57
59
  display: flex;
@@ -110,9 +112,13 @@
110
112
  }
111
113
  .pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
112
114
  display: -webkit-box;
115
+ overflow: hidden;
113
116
  -webkit-box-orient: vertical;
114
117
  -webkit-line-clamp: var(--pf-v6-c-expandable-section--m-truncate__content--LineClamp);
115
- overflow: hidden;
118
+ }
119
+
120
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
121
+ scale: -1 1;
116
122
  }
117
123
 
118
124
  .pf-v6-c-expandable-section__toggle-icon {
@@ -122,10 +128,6 @@
122
128
  transition: var(--pf-v6-c-expandable-section__toggle-icon--Transition);
123
129
  transform: rotate(var(--pf-v6-c-expandable-section__toggle-icon--Rotate));
124
130
  }
125
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
126
- scale: -1 1;
127
- }
128
-
129
131
  .pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top {
130
132
  --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
131
133
  }
@@ -138,10 +138,10 @@
138
138
  &:not(.pf-m-expanded) .#{$expandable-section}__content {
139
139
  // stylelint-disable
140
140
  display: -webkit-box;
141
+ overflow: hidden;
141
142
  -webkit-box-orient: vertical;
142
143
  -webkit-line-clamp: var(--#{$expandable-section}--m-truncate__content--LineClamp);
143
144
  // stylelint-enable
144
- overflow: hidden;
145
145
  }
146
146
  }
147
147
  }
@@ -499,8 +499,8 @@
499
499
 
500
500
  .pf-v6-c-form__field-group-header-main {
501
501
  display: flex;
502
- flex-direction: column;
503
502
  flex-grow: 1;
503
+ flex-direction: column;
504
504
  }
505
505
 
506
506
  .pf-v6-c-form__field-group-header-title {
@@ -459,8 +459,8 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
459
459
 
460
460
  .#{$form}__field-group-header-main {
461
461
  display: flex;
462
- flex-direction: column;
463
462
  flex-grow: 1;
463
+ flex-direction: column;
464
464
  }
465
465
 
466
466
  .#{$form}__field-group-header-title {
@@ -189,8 +189,8 @@
189
189
  --pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control__utilities--textarea--PaddingInlineEnd);
190
190
  }
191
191
  .pf-v6-c-form-control.pf-m-textarea > textarea {
192
- outline-offset: 0;
193
192
  scrollbar-gutter: stable;
193
+ outline-offset: 0;
194
194
  }
195
195
  .pf-v6-c-form-control.pf-m-textarea .pf-v6-c-form-control__utilities {
196
196
  padding-block-start: var(--pf-v6-c-form-control__utilities--textarea--PaddingBlockStart);
@@ -244,8 +244,8 @@
244
244
  }
245
245
 
246
246
  > textarea {
247
- outline-offset: 0;
248
247
  scrollbar-gutter: stable;
248
+ outline-offset: 0;
249
249
  }
250
250
 
251
251
  .#{$form-control}__utilities {
@@ -234,6 +234,10 @@
234
234
  margin-block-end: var(--pf-v6-c-jump-links__toggle--MarginBlockEnd);
235
235
  }
236
236
 
237
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-jump-links__toggle-icon {
238
+ scale: -1 1;
239
+ }
240
+
237
241
  .pf-v6-c-jump-links__toggle-icon {
238
242
  display: inline-block;
239
243
  color: var(--pf-v6-c-jump-links__toggle-icon--Color);
@@ -241,7 +245,4 @@
241
245
  transition-duration: var(--pf-v6-c-jump-links__toggle-icon--TransitionDuration);
242
246
  transition-property: transform;
243
247
  transform: rotate(var(--pf-v6-c-jump-links__toggle-icon--Rotate));
244
- }
245
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-jump-links__toggle-icon {
246
- scale: -1 1;
247
248
  }
@@ -95,7 +95,11 @@ $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
95
95
  }
96
96
 
97
97
  @each $breakpoint, $breakpoint-value in $pf-v6-c-jump-links--m-expandable--breakpoint-map {
98
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
98
+ $breakpoint-name: "";
99
+
100
+ @if $breakpoint != "base" {
101
+ $breakpoint-name: -on-#{$breakpoint};
102
+ }
99
103
 
100
104
  @include pf-v6-apply-breakpoint($breakpoint) {
101
105
  &.pf-m-expandable#{$breakpoint-name} {
@@ -137,9 +137,9 @@
137
137
  padding-inline-end: var(--pf-v6-c-label-group__textarea--PaddingInlineEnd);
138
138
  white-space: nowrap;
139
139
  resize: none;
140
- border: 0;
141
- -ms-overflow-style: none;
142
140
  scrollbar-width: none;
141
+ -ms-overflow-style: none;
142
+ border: 0;
143
143
  }
144
144
  .pf-v6-c-label-group__textarea::-webkit-scrollbar {
145
145
  display: none;
@@ -163,11 +163,11 @@
163
163
  padding-inline-end: var(--#{$label-group}__textarea--PaddingInlineEnd);
164
164
  white-space: nowrap;
165
165
  resize: none;
166
- border: 0;
167
166
 
168
167
  // Hide scrollbar for IE, Edge and Firefox
169
- -ms-overflow-style: none; // IE and Edge
170
168
  scrollbar-width: none; // Firefox
169
+ -ms-overflow-style: none; // IE and Edge
170
+ border: 0;
171
171
 
172
172
  // Hide scrollbar for Chrome, Safari and Opera
173
173
  &::-webkit-scrollbar {
@@ -493,6 +493,10 @@ input.pf-v6-c-label__content {
493
493
  .pf-v6-c-label__actions {
494
494
  margin-inline-end: var(--pf-v6-c-label__actions--MarginInlineEnd);
495
495
  }
496
+ .pf-v6-c-label.pf-m-compact .pf-v6-c-label__actions .pf-v6-c-button {
497
+ --pf-v6-c-button--m-plain--m-no-padding--after--Inset: 0 calc(-0.125rem);
498
+ }
499
+
496
500
  .pf-v6-c-label__actions .pf-v6-c-button {
497
501
  --pf-v6-c-button--FontSize: var(--pf-v6-c-label__actions--c-button--FontSize);
498
502
  --pf-v6-c-button--m-plain--m-no-padding--PaddingBlockStart: var(--pf-v6-c-label__actions--c-button--PaddingBlockStart);
@@ -502,7 +506,4 @@ input.pf-v6-c-label__content {
502
506
  margin-block-start: var(--pf-v6-c-label__actions--c-button--MarginBlockStart);
503
507
  margin-block-end: var(--pf-v6-c-label__actions--c-button--MarginBlockEnd);
504
508
  outline-offset: var(--pf-v6-c-label__actions--c-button--OutlineOffset);
505
- }
506
- .pf-v6-c-label.pf-m-compact .pf-v6-c-label__actions .pf-v6-c-button {
507
- --pf-v6-c-button--m-plain--m-no-padding--after--Inset: 0 calc(-0.125rem);
508
509
  }