@patternfly/patternfly 6.2.3 → 6.3.0-prerelease.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/assets/images/icon-help.hbs +3 -0
  3. package/components/Alert/alert-group.css +52 -31
  4. package/components/Alert/alert-group.scss +77 -46
  5. package/components/Card/card.css +3 -0
  6. package/components/Card/card.scss +3 -0
  7. package/components/Drawer/drawer.css +28 -14
  8. package/components/Drawer/drawer.scss +28 -9
  9. package/components/FormControl/form-control.css +1 -2
  10. package/components/FormControl/form-control.scss +1 -5
  11. package/components/MenuToggle/menu-toggle.css +8 -4
  12. package/components/MenuToggle/menu-toggle.scss +15 -3
  13. package/components/Skeleton/skeleton.css +22 -2
  14. package/components/Skeleton/skeleton.scss +25 -3
  15. package/components/Tabs/tabs.css +65 -0
  16. package/components/Tabs/tabs.scss +77 -0
  17. package/components/Truncate/truncate.css +5 -0
  18. package/components/Truncate/truncate.scss +6 -0
  19. package/components/_index.css +183 -53
  20. package/docs/components/Button/examples/Button.md +13 -1
  21. package/docs/components/CodeEditor/examples/CodeEditor.md +26 -2
  22. package/docs/components/Divider/examples/Divider.md +1 -1
  23. package/docs/components/Drawer/examples/Drawer.md +4 -0
  24. package/docs/components/Form/examples/Form.md +156 -12
  25. package/docs/components/MenuToggle/examples/MenuToggle.md +3 -4
  26. package/docs/components/ModalBox/examples/ModalBox.md +13 -1
  27. package/docs/components/Table/examples/Table.md +30 -6
  28. package/docs/components/Tabs/examples/Tabs.md +6741 -12
  29. package/docs/components/Truncate/examples/Truncate.md +53 -10
  30. package/docs/demos/Card/examples/Card.md +57 -0
  31. package/docs/demos/DescriptionList/examples/DescriptionList.md +38 -0
  32. package/docs/demos/Drawer/examples/Drawer.md +38 -0
  33. package/docs/demos/Form/examples/BasicForms.md +130 -10
  34. package/docs/demos/Modal/examples/Modal.md +39 -3
  35. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
  36. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +76 -0
  37. package/docs/demos/Table/examples/Table.md +67 -23
  38. package/docs/demos/Tabs/examples/Tabs.md +570 -0
  39. package/package.json +6 -6
  40. package/patternfly-no-globals.css +183 -53
  41. package/patternfly.css +183 -53
  42. package/patternfly.min.css +1 -1
  43. package/patternfly.min.css.map +1 -1
@@ -567,17 +567,29 @@
567
567
  flex-wrap: nowrap;
568
568
  }
569
569
 
570
+ %pf-v6-menu-toggle__icon--MarginBlock {
571
+ margin-block-start: calc(var(--#{$menu-toggle}--PaddingBlockStart) * -1);
572
+ margin-block-end: calc(var(--#{$menu-toggle}--PaddingBlockEnd) * -1);
573
+ }
574
+
570
575
  .#{$menu-toggle}__icon {
571
576
  flex-shrink: 0;
572
-
577
+
578
+ @at-root .#{$menu-toggle}:not(.pf-m-plain) & {
579
+ @extend %pf-v6-menu-toggle__icon--MarginBlock;
580
+ }
581
+
573
582
  &.pf-m-avatar {
574
583
  .#{$avatar},
575
584
  img,
576
585
  svg {
577
- margin-block-start: calc(var(--#{$menu-toggle}--PaddingBlockStart) * -1);
578
- margin-block-end: calc(var(--#{$menu-toggle}--PaddingBlockEnd) * -1);
586
+ @extend %pf-v6-menu-toggle__icon--MarginBlock;
579
587
  }
580
588
  }
589
+
590
+ :where(picture, img) {
591
+ vertical-align: middle;
592
+ }
581
593
  }
582
594
 
583
595
  // - Menu toggle controls
@@ -11,8 +11,8 @@
11
11
  --pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
12
12
  --pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
13
13
  --pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
14
- --pf-v6-c-skeleton--after--TranslateX: -100%;
15
- --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
14
+ --pf-v6-c-skeleton--after--TranslateX: 0;
15
+ --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading-reduced-motion;
16
16
  --pf-v6-c-skeleton--after--AnimationDuration: 3s;
17
17
  --pf-v6-c-skeleton--after--AnimationIterationCount: infinite;
18
18
  --pf-v6-c-skeleton--after--AnimationTimingFunction: linear;
@@ -44,6 +44,15 @@
44
44
  --pf-v6-c-skeleton--m-height-75--Height: 75%;
45
45
  --pf-v6-c-skeleton--m-height-100--Height: 100%;
46
46
  }
47
+ @media screen and (prefers-reduced-motion: no-preference) {
48
+ .pf-v6-c-skeleton {
49
+ --pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
50
+ --pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
51
+ --pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
52
+ --pf-v6-c-skeleton--after--TranslateX: -100%;
53
+ --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
54
+ }
55
+ }
47
56
 
48
57
  .pf-v6-c-skeleton {
49
58
  position: relative;
@@ -163,4 +172,15 @@
163
172
  100% {
164
173
  transform: translateX(100%);
165
174
  }
175
+ }
176
+ @keyframes pf-v6-c-skeleton-loading-reduced-motion {
177
+ 0% {
178
+ opacity: 0.25;
179
+ }
180
+ 60% {
181
+ opacity: 1;
182
+ }
183
+ 100% {
184
+ opacity: 0.25;
185
+ }
166
186
  }
@@ -14,15 +14,23 @@
14
14
  // After
15
15
  --#{$skeleton}--after--LinearGradientAngle: 90deg;
16
16
  --#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
17
- --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover); // TODO: replace with new token
17
+ --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
18
18
  --#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
19
- --#{$skeleton}--after--TranslateX: -100%;
20
- --#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
19
+ --#{$skeleton}--after--TranslateX: 0;
20
+ --#{$skeleton}--after--AnimationName: #{$skeleton}-loading-reduced-motion;
21
21
  --#{$skeleton}--after--AnimationDuration: 3s;
22
22
  --#{$skeleton}--after--AnimationIterationCount: infinite;
23
23
  --#{$skeleton}--after--AnimationTimingFunction: linear;
24
24
  --#{$skeleton}--after--AnimationDelay: .5s;
25
25
 
26
+ @media screen and (prefers-reduced-motion: no-preference) {
27
+ --#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
28
+ --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
29
+ --#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
30
+ --#{$skeleton}--after--TranslateX: -100%;
31
+ --#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
32
+ }
33
+
26
34
  // Circle
27
35
  --#{$skeleton}--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
28
36
  --#{$skeleton}--m-circle--before--PaddingBlockEnd: 100%;
@@ -209,3 +217,17 @@
209
217
  transform: translateX(100%);
210
218
  }
211
219
  }
220
+
221
+ @keyframes #{$skeleton}-loading-reduced-motion {
222
+ 0% {
223
+ opacity: 0.25;
224
+ }
225
+
226
+ 60% {
227
+ opacity: 1;
228
+ }
229
+
230
+ 100% {
231
+ opacity: 0.25;
232
+ }
233
+ }
@@ -1,3 +1,13 @@
1
+ @property --pf-v6-c-tabs--link-accent--length {
2
+ syntax: "<length>";
3
+ inherits: true;
4
+ initial-value: 0px;
5
+ }
6
+ @property --pf-v6-c-tabs--link-accent--start {
7
+ syntax: "<length>";
8
+ inherits: true;
9
+ initial-value: 0px;
10
+ }
1
11
  .pf-v6-c-tabs {
2
12
  --pf-v6-c-tabs--inset: 0;
3
13
  --pf-v6-c-tabs--Width: auto;
@@ -59,6 +69,8 @@
59
69
  --pf-v6-c-tabs--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
60
70
  --pf-v6-c-tabs--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
61
71
  --pf-v6-c-tabs--m-subtab__link--FontSize: var(--pf-t--global--font--size--xs);
72
+ --pf-v6-c-tabs__link--TransitionDuration--background-color: var(--pf-t--global--motion--duration--fade--short);
73
+ --pf-v6-c-tabs__link--TransitionTimingFunction--background-color: var(--pf-t--global--motion--timing-function--default);
62
74
  --pf-v6-c-tabs__link--before--border-color--base: var(--pf-t--global--border--color--default);
63
75
  --pf-v6-c-tabs__link--before--border-width--base: var(--pf-t--global--border--width--regular);
64
76
  --pf-v6-c-tabs__link--before--BorderBlockStartColor: var(--pf-v6-c-tabs__link--before--border-color--base);
@@ -83,6 +95,26 @@
83
95
  --pf-v6-c-tabs__link--after--BorderInlineStartWidth: 0;
84
96
  --pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
85
97
  --pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
98
+ --pf-v6-c-tabs--link-accent--start: 0;
99
+ --pf-v6-c-tabs--link-accent--length: auto;
100
+ --pf-v6-c-tabs--link-accent--color: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
101
+ --pf-v6-c-tabs--link-accent--border-size: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
102
+ --pf-v6-c-tabs--link-accent--InsetBlockStart: auto;
103
+ --pf-v6-c-tabs--link-accent--InsetBlockEnd: 0;
104
+ --pf-v6-c-tabs--link-accent--InsetInlineStart: initial;
105
+ --pf-v6-c-tabs--link-accent--Width: initial;
106
+ --pf-v6-c-tabs--link-accent--Height: 0;
107
+ --pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--link-accent--border-size);
108
+ --pf-v6-c-tabs--link-accent--BorderInlineStartWidth: 0;
109
+ --pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart: initial;
110
+ --pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd: auto;
111
+ --pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart: 0;
112
+ --pf-v6-c-tabs--m-vertical--link-accent--Width: 0;
113
+ --pf-v6-c-tabs--m-vertical--link-accent--Height: initial;
114
+ --pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth: 0;
115
+ --pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--link-accent--border-size);
116
+ --pf-v6-c-tabs--link-accent--TransitionDuration: var(--pf-t--global--motion--duration--md);
117
+ --pf-v6-c-tabs--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
86
118
  --pf-v6-c-tabs__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
87
119
  --pf-v6-c-tabs__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
88
120
  --pf-v6-c-tabs__scroll-button--PaddingInlineStart: var(--pf-t--global--spacer--sm);
@@ -240,6 +272,13 @@
240
272
  --pf-v6-c-tabs__link--after--InsetBlockEnd: 0;
241
273
  --pf-v6-c-tabs__link--after--InsetInlineEnd: auto;
242
274
  --pf-v6-c-tabs__list--ScrollSnapTypeAxis: var(--pf-v6-c-tabs--m-vertical__list--ScrollSnapTypeAxis);
275
+ --pf-v6-c-tabs--link-accent--InsetBlockStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart);
276
+ --pf-v6-c-tabs--link-accent--InsetBlockEnd: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd);
277
+ --pf-v6-c-tabs--link-accent--InsetInlineStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart);
278
+ --pf-v6-c-tabs--link-accent--Width: var(--pf-v6-c-tabs--m-vertical--link-accent--Width);
279
+ --pf-v6-c-tabs--link-accent--Height: var(--pf-v6-c-tabs--m-vertical--link-accent--Height);
280
+ --pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth);
281
+ --pf-v6-c-tabs--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth);
243
282
  display: inline-flex;
244
283
  flex-direction: column;
245
284
  height: 100%;
@@ -502,6 +541,7 @@
502
541
  text-decoration-line: none;
503
542
  background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
504
543
  border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
544
+ transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
505
545
  }
506
546
  .pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
507
547
  --pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
@@ -812,4 +852,29 @@
812
852
  --pf-v6-c-tabs--m-vertical--inset: var(--pf-t--global--spacer--2xl);
813
853
  --pf-v6-c-tabs--m-vertical--m-box--inset: var(--pf-t--global--spacer--2xl);
814
854
  }
855
+ }
856
+
857
+ @media (prefers-reduced-motion: no-preference) {
858
+ .pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__link::after,
859
+ .pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__item.pf-m-action::after {
860
+ content: revert;
861
+ }
862
+ .pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__list::after {
863
+ position: absolute;
864
+ inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart, var(--pf-v6-c-tabs--link-accent--start));
865
+ inset-block-end: var(--pf-v6-c-tabs--link-accent--InsetBlockEnd);
866
+ inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart, var(--pf-v6-c-tabs--link-accent--start));
867
+ width: var(--pf-v6-c-tabs--link-accent--Width, var(--pf-v6-c-tabs--link-accent--length));
868
+ height: var(--pf-v6-c-tabs--link-accent--Height, var(--pf-v6-c-tabs--link-accent--length));
869
+ content: "";
870
+ border: 0 solid var(--pf-v6-c-tabs--link-accent--color);
871
+ border-block-end-width: var(--pf-v6-c-tabs--link-accent--BorderBlockEndWidth);
872
+ border-inline-start-width: var(--pf-v6-c-tabs--link-accent--BorderInlineStartWidth);
873
+ transition-timing-function: var(--pf-v6-c-tabs--link-accent--TransitionTimingFunction);
874
+ transition-duration: var(--pf-v6-c-tabs--link-accent--TransitionDuration);
875
+ transition-property: --pf-v6-c-tabs--link-accent--length, --pf-v6-c-tabs--link-accent--start, width;
876
+ }
877
+ .pf-v6-c-tabs.pf-m-initializing-accent {
878
+ --pf-v6-c-tabs--link-accent--TransitionDuration: 0;
879
+ }
815
880
  }
@@ -3,6 +3,20 @@
3
3
  $pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
4
4
  $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
5
5
 
6
+ @property --#{$tabs}--link-accent--length {
7
+ syntax: "<length>";
8
+ inherits: true;
9
+ // stylelint-disable-next-line length-zero-no-unit
10
+ initial-value: 0px;
11
+ }
12
+
13
+ @property --#{$tabs}--link-accent--start {
14
+ syntax: "<length>";
15
+ inherits: true;
16
+ // stylelint-disable-next-line length-zero-no-unit
17
+ initial-value: 0px;
18
+ }
19
+
6
20
  @include pf-root($tabs) {
7
21
  --#{$tabs}--inset: 0;
8
22
  --#{$tabs}--Width: auto;
@@ -74,6 +88,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
74
88
  --#{$tabs}--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
75
89
  --#{$tabs}--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
76
90
  --#{$tabs}--m-subtab__link--FontSize: var(--pf-t--global--font--size--xs);
91
+ --#{$tabs}__link--TransitionDuration--background-color: var(--pf-t--global--motion--duration--fade--short);
92
+ --#{$tabs}__link--TransitionTimingFunction--background-color: var(--pf-t--global--motion--timing-function--default);
77
93
 
78
94
  // Link before
79
95
  --#{$tabs}__link--before--border-color--base: var(--pf-t--global--border--color--default);
@@ -103,6 +119,28 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
103
119
  --#{$tabs}__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
104
120
  --#{$tabs}__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
105
121
 
122
+ // Link accent
123
+ --#{$tabs}--link-accent--start: 0; // needed to create react-token
124
+ --#{$tabs}--link-accent--length: auto; // needed to create react-token
125
+ --#{$tabs}--link-accent--color: var(--#{$tabs}__item--m-current__link--after--BorderColor);
126
+ --#{$tabs}--link-accent--border-size: var(--#{$tabs}__item--m-current__link--after--BorderWidth);
127
+ --#{$tabs}--link-accent--InsetBlockStart: auto;
128
+ --#{$tabs}--link-accent--InsetBlockEnd: 0;
129
+ --#{$tabs}--link-accent--InsetInlineStart: initial;
130
+ --#{$tabs}--link-accent--Width: initial;
131
+ --#{$tabs}--link-accent--Height: 0;
132
+ --#{$tabs}--link-accent--BorderBlockEndWidth: var(--#{$tabs}--link-accent--border-size);
133
+ --#{$tabs}--link-accent--BorderInlineStartWidth: 0;
134
+ --#{$tabs}--m-vertical--link-accent--InsetBlockStart: initial;
135
+ --#{$tabs}--m-vertical--link-accent--InsetBlockEnd: auto;
136
+ --#{$tabs}--m-vertical--link-accent--InsetInlineStart: 0;
137
+ --#{$tabs}--m-vertical--link-accent--Width: 0;
138
+ --#{$tabs}--m-vertical--link-accent--Height: initial;
139
+ --#{$tabs}--m-vertical--link-accent--BorderBlockEndWidth: 0;
140
+ --#{$tabs}--m-vertical--link-accent--BorderInlineStartWidth: var(--#{$tabs}--link-accent--border-size);
141
+ --#{$tabs}--link-accent--TransitionDuration: var(--pf-t--global--motion--duration--md);
142
+ --#{$tabs}--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
143
+
106
144
  // Scroll buttons
107
145
  --#{$tabs}__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
108
146
  --#{$tabs}__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -314,6 +352,13 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
314
352
  --#{$tabs}__link--after--InsetBlockEnd: 0;
315
353
  --#{$tabs}__link--after--InsetInlineEnd: auto;
316
354
  --#{$tabs}__list--ScrollSnapTypeAxis: var(--#{$tabs}--m-vertical__list--ScrollSnapTypeAxis);
355
+ --#{$tabs}--link-accent--InsetBlockStart: var(--#{$tabs}--m-vertical--link-accent--InsetBlockStart);
356
+ --#{$tabs}--link-accent--InsetBlockEnd: var(--#{$tabs}--m-vertical--link-accent--InsetBlockEnd);
357
+ --#{$tabs}--link-accent--InsetInlineStart: var(--#{$tabs}--m-vertical--link-accent--InsetInlineStart);
358
+ --#{$tabs}--link-accent--Width: var(--#{$tabs}--m-vertical--link-accent--Width);
359
+ --#{$tabs}--link-accent--Height: var(--#{$tabs}--m-vertical--link-accent--Height);
360
+ --#{$tabs}--link-accent--BorderBlockEndWidth: var(--#{$tabs}--m-vertical--link-accent--BorderBlockEndWidth);
361
+ --#{$tabs}--link-accent--BorderInlineStartWidth: var(--#{$tabs}--m-vertical--link-accent--BorderInlineStartWidth);
317
362
 
318
363
  display: inline-flex;
319
364
  flex-direction: column;
@@ -580,6 +625,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
580
625
  text-decoration-line: none;
581
626
  background-color: var(--#{$tabs}__link--BackgroundColor);
582
627
  border-radius: var(--#{$tabs}__link--BorderRadius);
628
+ transition: background-color var(--#{$tabs}__link--TransitionDuration--background-color) var(--#{$tabs}__link--TransitionTimingFunction--background-color);
583
629
 
584
630
  @at-root .#{$tabs}__item.pf-m-action,
585
631
  & {
@@ -737,3 +783,34 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
737
783
  }
738
784
  }
739
785
  // stylelint-enable
786
+
787
+ @media (prefers-reduced-motion: no-preference) {
788
+ .#{$tabs}:not(.pf-m-box) {
789
+ .#{$tabs}__link,
790
+ .#{$tabs}__item.pf-m-action {
791
+ &::after {
792
+ content: revert;
793
+ }
794
+ }
795
+
796
+ .#{$tabs}__list::after {
797
+ position: absolute;
798
+ inset-block-start: var(--#{$tabs}--link-accent--InsetBlockStart, var(--#{$tabs}--link-accent--start));
799
+ inset-block-end: var(--#{$tabs}--link-accent--InsetBlockEnd);
800
+ inset-inline-start: var(--#{$tabs}--link-accent--InsetInlineStart, var(--#{$tabs}--link-accent--start));
801
+ width: var(--#{$tabs}--link-accent--Width, var(--#{$tabs}--link-accent--length));
802
+ height: var(--#{$tabs}--link-accent--Height, var(--#{$tabs}--link-accent--length));
803
+ content: "";
804
+ border: 0 solid var(--#{$tabs}--link-accent--color);
805
+ border-block-end-width: var(--#{$tabs}--link-accent--BorderBlockEndWidth);
806
+ border-inline-start-width: var(--#{$tabs}--link-accent--BorderInlineStartWidth);
807
+ transition-timing-function: var(--#{$tabs}--link-accent--TransitionTimingFunction);
808
+ transition-duration: var(--#{$tabs}--link-accent--TransitionDuration);
809
+ transition-property: --#{$tabs}--link-accent--length, --#{$tabs}--link-accent--start, width;
810
+ }
811
+ }
812
+
813
+ .#{$tabs}.pf-m-initializing-accent {
814
+ --#{$tabs}--link-accent--TransitionDuration: 0;
815
+ }
816
+ }
@@ -9,6 +9,11 @@
9
9
  align-items: baseline;
10
10
  min-width: var(--pf-v6-c-truncate--MinWidth);
11
11
  }
12
+ .pf-v6-c-truncate.pf-m-fixed {
13
+ display: inline;
14
+ align-items: revert;
15
+ min-width: revert;
16
+ }
12
17
 
13
18
  .pf-v6-c-truncate__start,
14
19
  .pf-v6-c-truncate__end {
@@ -10,6 +10,12 @@
10
10
  grid-auto-flow: column;
11
11
  align-items: baseline;
12
12
  min-width: var(--#{$truncate}--MinWidth);
13
+
14
+ &.pf-m-fixed {
15
+ display: inline;
16
+ align-items: revert;
17
+ min-width: revert;
18
+ }
13
19
  }
14
20
 
15
21
  .#{$truncate}__start,