@patternfly/patternfly 6.2.1 → 6.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # PatternFly
2
-
2
+
3
3
  ## Install
4
4
 
5
5
  - This assumes an environment is already set up for npm packages - if not, please use npm init following the steps at [https://docs.npmjs.com/getting-started/using-a-package.json](https://docs.npmjs.com/getting-started/using-a-package.json).
@@ -15,7 +15,6 @@
15
15
  --pf-v6-c-card__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
16
16
  --pf-v6-c-card__title-text--FontWeight: var(--pf-t--global--font--weight--heading--default);
17
17
  --pf-v6-c-card__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
18
- --pf-v6-c-card__title-text--OverflowWrap: break-word;
19
18
  --pf-v6-c-card--c-button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
20
19
  --pf-v6-c-card__body--FontSize: var(--pf-t--global--font--size--body--default);
21
20
  --pf-v6-c-card__footer--FontSize: var(--pf-t--global--font--size--body--default);
@@ -228,13 +227,11 @@
228
227
  }
229
228
 
230
229
  .pf-v6-c-card__title-text {
231
- overflow: auto;
232
230
  font-family: var(--pf-v6-c-card__title-text--FontFamily);
233
231
  font-size: var(--pf-v6-c-card__title-text--FontSize);
234
232
  font-weight: var(--pf-v6-c-card__title-text--FontWeight);
235
233
  line-height: var(--pf-v6-c-card__title-text--LineHeight);
236
234
  color: var(--pf-v6-c-card__title-text--Color);
237
- overflow-wrap: var(--pf-v6-c-card__title-text--OverflowWrap);
238
235
  }
239
236
 
240
237
  .pf-v6-c-card__actions {
@@ -17,7 +17,6 @@
17
17
  --#{$card}__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
18
18
  --#{$card}__title-text--FontWeight: var(--pf-t--global--font--weight--heading--default);
19
19
  --#{$card}__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
20
- --#{$card}__title-text--OverflowWrap: break-word;
21
20
  --#{$card}--c-button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
22
21
  --#{$card}__body--FontSize: var(--pf-t--global--font--size--body--default);
23
22
  --#{$card}__footer--FontSize: var(--pf-t--global--font--size--body--default);
@@ -312,13 +311,11 @@
312
311
  }
313
312
 
314
313
  .#{$card}__title-text {
315
- overflow: auto;
316
314
  font-family: var(--#{$card}__title-text--FontFamily);
317
315
  font-size: var(--#{$card}__title-text--FontSize);
318
316
  font-weight: var(--#{$card}__title-text--FontWeight);
319
317
  line-height: var(--#{$card}__title-text--LineHeight);
320
318
  color: var(--#{$card}__title-text--Color);
321
- overflow-wrap: var(--#{$card}__title-text--OverflowWrap);
322
319
  }
323
320
 
324
321
  .#{$card}__actions {
@@ -15,15 +15,9 @@
15
15
  --pf-v6-c-drawer__panel--RowGap: var(--pf-t--global--spacer--sm);
16
16
  --pf-v6-c-drawer__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
17
17
  --pf-v6-c-drawer__panel--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
18
- --pf-v6-c-drawer__panel--TransitionDelay: 0s, var(--pf-v6-c-drawer__panel--TransitionDelay--focus), var(--pf-v6-c-drawer__panel--TransitionDelay--focus);
19
- --pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDuration--fade);
20
- --pf-v6-c-drawer__panel--TransitionDelay--expand--focus: 0s;
21
18
  --pf-v6-c-drawer__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
22
- --pf-v6-c-drawer__panel--TransitionDuration--fade: var(--pf-t--global--motion--duration--fade--default);
23
- --pf-v6-c-drawer__panel--TransitionDuration: var(--pf-v6-c-drawer__panel--TransitionDuration--fade), 0s, 0s;
24
- --pf-v6-c-drawer__panel--TransitionProperty: opacity, visibility, transform;
25
- --pf-v6-c-drawer__panel--Opacity: 0;
26
- --pf-v6-c-drawer--m-expanded__panel--Opacity: 1;
19
+ --pf-v6-c-drawer__panel--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--short);
20
+ --pf-v6-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;
27
21
  --pf-v6-c-drawer__panel--FlexBasis: 100%;
28
22
  --pf-v6-c-drawer__panel--md--FlexBasis--min: 1.5rem;
29
23
  --pf-v6-c-drawer__panel--md--FlexBasis: 50%;
@@ -113,17 +107,6 @@
113
107
  --pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd: var(--pf-v6-c-drawer__panel--after--Width);
114
108
  --pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart: var(--pf-v6-c-drawer__panel--after--Width);
115
109
  }
116
- @media screen and (prefers-reduced-motion: no-preference) {
117
- .pf-v6-c-drawer {
118
- --pf-v6-c-drawer__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
119
- --pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDuration--slide);
120
- --pf-v6-c-drawer__panel--TransitionDelay: 0s, 0s, 0s, 0s, var(--pf-v6-c-drawer__panel--TransitionDelay--focus);
121
- --pf-v6-c-drawer__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
122
- --pf-v6-c-drawer__panel--TransitionDuration: 0s, var(--pf-v6-c-drawer__panel--TransitionDuration--slide), 0s, 0s, 0s;
123
- --pf-v6-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis, visibility;
124
- --pf-v6-c-drawer__panel--Opacity: 1;
125
- }
126
- }
127
110
  @media screen and (min-width: 75rem) {
128
111
  .pf-v6-c-drawer {
129
112
  --pf-v6-c-drawer__panel--MinWidth: var(--pf-v6-c-drawer__panel--xl--MinWidth);
@@ -171,13 +154,8 @@
171
154
  .pf-v6-c-drawer.pf-m-panel-bottom > .pf-v6-c-drawer__main {
172
155
  flex-direction: column;
173
156
  }
174
- .pf-v6-c-drawer.pf-m-expanded {
175
- --pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDelay--expand--focus);
176
- }
177
157
  .pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
178
158
  transform: translateX(-100%);
179
- --pf-v6-c-drawer__panel--Opacity: var(--pf-v6-c-drawer--m-expanded__panel--Opacity);
180
- visibility: visible;
181
159
  }
182
160
  :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 {
183
161
  transform: translateX(calc(-100% * var(--pf-v6-global--inverse--multiplier)));
@@ -250,11 +228,8 @@
250
228
  order: 1;
251
229
  max-height: var(--pf-v6-c-drawer__panel--MaxHeight);
252
230
  overflow: auto;
253
- visibility: hidden;
254
231
  background-color: var(--pf-v6-c-drawer__panel--BackgroundColor);
255
232
  box-shadow: var(--pf-v6-c-drawer__panel--BoxShadow);
256
- opacity: var(--pf-v6-c-drawer__panel--Opacity);
257
- transition-delay: var(--pf-v6-c-drawer__panel--TransitionDelay);
258
233
  transition-timing-function: var(--pf-v6-c-drawer__panel--TransitionTimingFunction);
259
234
  transition-duration: var(--pf-v6-c-drawer__panel--TransitionDuration);
260
235
  transition-property: var(--pf-v6-c-drawer__panel--TransitionProperty);
@@ -311,6 +286,17 @@
311
286
  padding-block-end: var(--pf-v6-c-drawer__panel--PaddingBlockEnd);
312
287
  }
313
288
 
289
+ @keyframes pf-remove-tab-focus {
290
+ to {
291
+ visibility: hidden;
292
+ }
293
+ }
294
+ .pf-v6-c-drawer__panel[hidden] {
295
+ animation-name: pf-remove-tab-focus;
296
+ animation-delay: var(--pf-v6-c-drawer__panel--TransitionDuration);
297
+ animation-fill-mode: forwards;
298
+ }
299
+
314
300
  .pf-v6-c-drawer__head {
315
301
  display: grid;
316
302
  grid-template-columns: auto;
@@ -418,7 +404,7 @@
418
404
  .pf-v6-c-drawer {
419
405
  min-width: var(--pf-v6-c-drawer__panel--MinWidth);
420
406
  }
421
- .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
407
+ .pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
422
408
  box-shadow: var(--pf-v6-c-drawer--m-expanded__panel--BoxShadow);
423
409
  }
424
410
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable {
@@ -27,15 +27,9 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
27
27
  --#{$drawer}__panel--RowGap: var(--pf-t--global--spacer--sm);
28
28
  --#{$drawer}__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
29
29
  --#{$drawer}__panel--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
30
- --#{$drawer}__panel--TransitionDelay: 0s, var(--#{$drawer}__panel--TransitionDelay--focus), var(--#{$drawer}__panel--TransitionDelay--focus);
31
- --#{$drawer}__panel--TransitionDelay--focus: var(--#{$drawer}__panel--TransitionDuration--fade);
32
- --#{$drawer}__panel--TransitionDelay--expand--focus: 0s; // on expand, transition visible immediately
33
30
  --#{$drawer}__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
34
- --#{$drawer}__panel--TransitionDuration--fade: var(--pf-t--global--motion--duration--fade--default);
35
- --#{$drawer}__panel--TransitionDuration: var(--#{$drawer}__panel--TransitionDuration--fade), 0s, 0s;
36
- --#{$drawer}__panel--TransitionProperty: opacity, visibility, transform; // by default, fade the drawer
37
- --#{$drawer}__panel--Opacity: 0;
38
- --#{$drawer}--m-expanded__panel--Opacity: 1;
31
+ --#{$drawer}__panel--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--short);
32
+ --#{$drawer}__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;
39
33
  --#{$drawer}__panel--FlexBasis: 100%;
40
34
  --#{$drawer}__panel--md--FlexBasis--min: #{pf-size-prem(24px)};
41
35
  --#{$drawer}__panel--md--FlexBasis: 50%;
@@ -52,16 +46,6 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
52
46
  --#{$drawer}--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: #{pf-size-prem(24px)};
53
47
  --#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
54
48
 
55
- @media screen and (prefers-reduced-motion: no-preference) {
56
- --#{$drawer}__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
57
- --#{$drawer}__panel--TransitionDelay--focus: var(--#{$drawer}__panel--TransitionDuration--slide);
58
- --#{$drawer}__panel--TransitionDelay: 0s, 0s, 0s, 0s, var(--#{$drawer}__panel--TransitionDelay--focus);
59
- --#{$drawer}__panel--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
60
- --#{$drawer}__panel--TransitionDuration: 0s, var(--#{$drawer}__panel--TransitionDuration--slide), 0s, 0s, 0s;
61
- --#{$drawer}__panel--TransitionProperty: margin, transform, box-shadow, flex-basis, visibility; // with no preference, slide the panel
62
- --#{$drawer}__panel--Opacity: 1;
63
- }
64
-
65
49
  // Drawer panel head
66
50
  --#{$drawer}__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
67
51
  --#{$drawer}__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -221,18 +205,12 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
221
205
  // Expanded
222
206
  // stylelint-disable selector-max-class
223
207
  &.pf-m-expanded {
224
- --#{$drawer}__panel--TransitionDelay--focus: var(--#{$drawer}__panel--TransitionDelay--expand--focus);
225
-
226
208
  > .#{$drawer}__main > .#{$drawer}__panel {
227
209
  @include pf-v6-bidirectional-style(
228
210
  $prop: transform,
229
211
  $ltr-val: translateX(-100%),
230
212
  $rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
231
213
  );
232
-
233
- --#{$drawer}__panel--Opacity: var(--#{$drawer}--m-expanded__panel--Opacity);
234
-
235
- visibility: visible;
236
214
  }
237
215
 
238
216
  &.pf-m-panel-left > .#{$drawer}__main > .#{$drawer}__panel {
@@ -319,11 +297,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
319
297
  order: 1;
320
298
  max-height: var(--#{$drawer}__panel--MaxHeight);
321
299
  overflow: auto;
322
- visibility: hidden; // hidden by default
323
300
  background-color: var(--#{$drawer}__panel--BackgroundColor);
324
301
  box-shadow: var(--#{$drawer}__panel--BoxShadow);
325
- opacity: var(--#{$drawer}__panel--Opacity);
326
- transition-delay: var(--#{$drawer}__panel--TransitionDelay);
327
302
  transition-timing-function: var(--#{$drawer}__panel--TransitionTimingFunction);
328
303
  transition-duration: var(--#{$drawer}__panel--TransitionDuration);
329
304
  transition-property: var(--#{$drawer}__panel--TransitionProperty);
@@ -385,6 +360,9 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
385
360
  padding-block-end: var(--#{$drawer}__panel--PaddingBlockEnd);
386
361
  }
387
362
 
363
+ // Remove tab focus
364
+ @include pf-v6-animate-remove-tab-focus(".#{$drawer}__panel", var(--#{$drawer}__panel--TransitionDuration));
365
+
388
366
  // Panel head
389
367
  .#{$drawer}__head {
390
368
  display: grid;
@@ -513,7 +491,9 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
513
491
  .#{$drawer} {
514
492
  min-width: var(--#{$drawer}__panel--MinWidth);
515
493
 
516
- > .#{$drawer}__main {
494
+ // stylelint-disable selector-max-class
495
+ // Expanded
496
+ &.pf-m-expanded > .#{$drawer}__main {
517
497
  > .#{$drawer}__panel {
518
498
  box-shadow: var(--#{$drawer}--m-expanded__panel--BoxShadow);
519
499
  }
@@ -638,6 +618,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
638
618
  .#{$drawer}.pf-m-panel-left > .#{$drawer}__main > .#{$drawer}__panel.pf-m-no-border {
639
619
  --#{$drawer}--m-expanded__panel--BoxShadow: none;
640
620
  }
621
+ // stylelint-enable
641
622
 
642
623
  .#{$drawer}__splitter {
643
624
  display: block;
@@ -146,11 +146,12 @@
146
146
  padding-inline-start: var(--pf-v6-c-form-control--PaddingInlineStart);
147
147
  padding-inline-end: var(--pf-v6-c-form-control--PaddingInlineEnd);
148
148
  color: var(--pf-v6-c-form-control--Color);
149
- appearance: none;
150
149
  background-color: transparent;
151
150
  border: none;
152
151
  border-radius: var(--pf-v6-c-form-control--BorderRadius);
153
152
  outline-offset: var(--pf-v6-c-form-control--OutlineOffset);
153
+ -moz-appearance: none;
154
+ -webkit-appearance: none;
154
155
  }
155
156
  .pf-v6-c-form-control > ::placeholder {
156
157
  color: var(--pf-v6-c-form-control--m-placeholder--Color);
@@ -190,11 +190,15 @@
190
190
  padding-inline-start: var(--#{$form-control}--PaddingInlineStart);
191
191
  padding-inline-end: var(--#{$form-control}--PaddingInlineEnd);
192
192
  color: var(--#{$form-control}--Color);
193
- appearance: none;
194
193
  background-color: transparent;
195
194
  border: none;
196
195
  border-radius: var(--#{$form-control}--BorderRadius);
197
196
  outline-offset: var(--#{$form-control}--OutlineOffset);
197
+
198
+ // stylelint-disable
199
+ -moz-appearance: none;
200
+ -webkit-appearance: none;
201
+ // stylelint-enable
198
202
  }
199
203
 
200
204
  > ::placeholder {
@@ -1,13 +1,3 @@
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
- }
11
1
  .pf-v6-c-tabs {
12
2
  --pf-v6-c-tabs--inset: 0;
13
3
  --pf-v6-c-tabs--Width: auto;
@@ -69,8 +59,6 @@
69
59
  --pf-v6-c-tabs--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
70
60
  --pf-v6-c-tabs--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
71
61
  --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);
74
62
  --pf-v6-c-tabs__link--before--border-color--base: var(--pf-t--global--border--color--default);
75
63
  --pf-v6-c-tabs__link--before--border-width--base: var(--pf-t--global--border--width--regular);
76
64
  --pf-v6-c-tabs__link--before--BorderBlockStartColor: var(--pf-v6-c-tabs__link--before--border-color--base);
@@ -95,26 +83,6 @@
95
83
  --pf-v6-c-tabs__link--after--BorderInlineStartWidth: 0;
96
84
  --pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
97
85
  --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);
118
86
  --pf-v6-c-tabs__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
119
87
  --pf-v6-c-tabs__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
120
88
  --pf-v6-c-tabs__scroll-button--PaddingInlineStart: var(--pf-t--global--spacer--sm);
@@ -272,13 +240,6 @@
272
240
  --pf-v6-c-tabs__link--after--InsetBlockEnd: 0;
273
241
  --pf-v6-c-tabs__link--after--InsetInlineEnd: auto;
274
242
  --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);
282
243
  display: inline-flex;
283
244
  flex-direction: column;
284
245
  height: 100%;
@@ -541,7 +502,6 @@
541
502
  text-decoration-line: none;
542
503
  background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
543
504
  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);
545
505
  }
546
506
  .pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
547
507
  --pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
@@ -852,29 +812,4 @@
852
812
  --pf-v6-c-tabs--m-vertical--inset: var(--pf-t--global--spacer--2xl);
853
813
  --pf-v6-c-tabs--m-vertical--m-box--inset: var(--pf-t--global--spacer--2xl);
854
814
  }
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
- }
880
815
  }
@@ -3,20 +3,6 @@
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
-
20
6
  @include pf-root($tabs) {
21
7
  --#{$tabs}--inset: 0;
22
8
  --#{$tabs}--Width: auto;
@@ -88,8 +74,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
88
74
  --#{$tabs}--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
89
75
  --#{$tabs}--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
90
76
  --#{$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);
93
77
 
94
78
  // Link before
95
79
  --#{$tabs}__link--before--border-color--base: var(--pf-t--global--border--color--default);
@@ -119,28 +103,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
119
103
  --#{$tabs}__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
120
104
  --#{$tabs}__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
121
105
 
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
-
144
106
  // Scroll buttons
145
107
  --#{$tabs}__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
146
108
  --#{$tabs}__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -352,13 +314,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
352
314
  --#{$tabs}__link--after--InsetBlockEnd: 0;
353
315
  --#{$tabs}__link--after--InsetInlineEnd: auto;
354
316
  --#{$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);
362
317
 
363
318
  display: inline-flex;
364
319
  flex-direction: column;
@@ -625,7 +580,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
625
580
  text-decoration-line: none;
626
581
  background-color: var(--#{$tabs}__link--BackgroundColor);
627
582
  border-radius: var(--#{$tabs}__link--BorderRadius);
628
- transition: background-color var(--#{$tabs}__link--TransitionDuration--background-color) var(--#{$tabs}__link--TransitionTimingFunction--background-color);
629
583
 
630
584
  @at-root .#{$tabs}__item.pf-m-action,
631
585
  & {
@@ -783,34 +737,3 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
783
737
  }
784
738
  }
785
739
  // 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,11 +9,6 @@
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
- }
17
12
 
18
13
  .pf-v6-c-truncate__start,
19
14
  .pf-v6-c-truncate__end {
@@ -10,12 +10,6 @@
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
- }
19
13
  }
20
14
 
21
15
  .#{$truncate}__start,