@patternfly/patternfly 6.0.0-alpha.200 → 6.0.0-alpha.201

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 (48) hide show
  1. package/base/normalize.scss +3 -3
  2. package/base/patternfly-variables.css +2 -6
  3. package/base/tokens/tokens-charts-dark.scss +1 -1
  4. package/base/tokens/tokens-charts.scss +1 -1
  5. package/base/tokens/tokens-dark.scss +1 -1
  6. package/base/tokens/tokens-default.scss +3 -3
  7. package/base/tokens/tokens-local.scss +0 -6
  8. package/base/tokens/tokens-palette.scss +1 -1
  9. package/components/Breadcrumb/breadcrumb.css +9 -6
  10. package/components/Breadcrumb/breadcrumb.scss +9 -6
  11. package/components/Button/button.css +16 -7
  12. package/components/Button/button.scss +17 -7
  13. package/components/Content/content.css +8 -5
  14. package/components/Content/content.scss +8 -5
  15. package/components/DescriptionList/description-list.css +10 -15
  16. package/components/DescriptionList/description-list.scss +10 -16
  17. package/components/JumpLinks/jump-links.css +1 -1
  18. package/components/JumpLinks/jump-links.scss +1 -2
  19. package/components/Label/label.css +15 -14
  20. package/components/Label/label.scss +16 -14
  21. package/components/ProgressStepper/progress-stepper.css +8 -7
  22. package/components/ProgressStepper/progress-stepper.scss +8 -8
  23. package/components/SimpleList/simple-list.css +1 -1
  24. package/components/SimpleList/simple-list.scss +1 -2
  25. package/components/Tabs/tabs.css +1 -1
  26. package/components/Tabs/tabs.scss +1 -3
  27. package/components/Timestamp/timestamp.css +8 -17
  28. package/components/Timestamp/timestamp.scss +8 -18
  29. package/components/ToggleGroup/toggle-group.css +2 -2
  30. package/components/ToggleGroup/toggle-group.scss +2 -4
  31. package/components/_index.css +79 -76
  32. package/docs/components/Alert/examples/Alert.md +4 -4
  33. package/docs/components/Card/examples/Card.md +4 -4
  34. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +2 -2
  35. package/docs/components/DescriptionList/examples/DescriptionList.md +30 -5
  36. package/docs/components/Form/examples/Form.md +2 -2
  37. package/docs/components/Table/examples/Table.md +58 -58
  38. package/docs/demos/Card/examples/Card.md +12 -12
  39. package/docs/demos/Dashboard/examples/Dashboard.md +5 -5
  40. package/docs/demos/Form/examples/BasicForms.md +11 -11
  41. package/docs/demos/Table/examples/Table.md +6 -6
  42. package/package.json +1 -1
  43. package/patternfly-base-no-globals.css +2 -6
  44. package/patternfly-base.css +5 -9
  45. package/patternfly-no-globals.css +81 -82
  46. package/patternfly.css +84 -85
  47. package/patternfly.min.css +1 -1
  48. package/patternfly.min.css.map +1 -1
@@ -201,7 +201,7 @@
201
201
  --#{$label}--m-compact--PaddingBlockEnd: 0;
202
202
  --#{$label}--m-compact--PaddingInlineStart: var(--pf-t--global--spacer--sm);
203
203
  --#{$label}--m-compact--FontSize: var(--pf-t--global--font--size--body--sm);
204
- --#{$label}--m-compact--m-editable--TextDecorationOffset: #{pf-size-prem(1px)};
204
+ --#{$label}--m-compact--m-editable--TextUnderlineOffset: #{pf-size-prem(1px)};
205
205
 
206
206
  // Content
207
207
  --#{$label}__content--MaxWidth: 100%;
@@ -228,16 +228,16 @@
228
228
  --#{$label}__actions--c-button--PaddingInlineStart: var(--pf-t--global--spacer--xs);
229
229
 
230
230
  // Editable
231
- --#{$label}--m-editable--TextDecoration: underline;
232
- --#{$label}--m-editable--TextDecorationStyle: dashed;
233
- --#{$label}--m-editable--TextDecorationThickness: var(--pf-t--global--border--width--regular);
234
- --#{$label}--m-editable--TextDecorationOffset: #{pf-size-prem(4px)};
235
- --#{$label}--m-editable--TextDecorationColor: currentcolor;
231
+ --#{$label}--m-editable--TextDecorationLine: var(--pf-t--global--text-decoration--editable-text--line--default);
232
+ --#{$label}--m-editable--TextDecorationStyle: var(--pf-t--global--text-decoration--editable-text--style--default);
233
+ --#{$label}--m-editable--hover--TextDecorationLine: var(--pf-t--global--text-decoration--editable-text--line--hover);
234
+ --#{$label}--m-editable--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--editable-text--style--hover);
235
+ --#{$label}--m-editable--TextUnderlineOffset: #{pf-size-prem(4px)};
236
236
  --#{$label}--m-editable__content--MaxWidth: 16ch;
237
237
  --#{$label}--m-editable__content--Cursor: pointer;
238
238
 
239
239
  // Editable active
240
- --#{$label}--m-editable--m-editable-active--TextDecoration: none;
240
+ --#{$label}--m-editable--m-editable-active--TextDecorationLine: none;
241
241
  --#{$label}--m-editable--m-editable-active--BackgroundColor: transparent;
242
242
  --#{$label}--m-editable--m-editable-active--Color: var(--pf-t--global--text--color--regular);
243
243
  --#{$label}--m-editable--m-editable-active__content--Cursor: initial;
@@ -422,7 +422,7 @@
422
422
  --#{$label}--PaddingBlockEnd: var(--#{$label}--m-compact--PaddingBlockEnd);
423
423
  --#{$label}--PaddingInlineStart: var(--#{$label}--m-compact--PaddingInlineStart);
424
424
  --#{$label}--FontSize: var(--#{$label}--m-compact--FontSize);
425
- --#{$label}--m-editable--TextDecorationOffset: var(--#{$label}--m-compact--m-editable--TextDecorationOffset);
425
+ --#{$label}--m-editable--TextUnderlineOffset: var(--#{$label}--m-compact--m-editable--TextUnderlineOffset);
426
426
  }
427
427
 
428
428
  &.pf-m-filled {
@@ -448,17 +448,19 @@
448
448
  --#{$label}__content--MaxWidth: var(--#{$label}--m-editable__content--MaxWidth);
449
449
  --#{$label}__content--Cursor: var(--#{$label}--m-editable__content--Cursor);
450
450
 
451
+ .#{$label}__content:is(:hover, :focus) {
452
+ --#{$label}--m-editable--TextDecorationLine: var(--#{$label}--m-editable--hover--TextDecorationLine);
453
+ --#{$label}--m-editable--TextDecorationStyle: var(--#{$label}--m-editable--hover--TextDecorationStyle);
454
+ }
455
+
451
456
  .#{$label}__text {
452
- text-decoration: var(--#{$label}--m-editable--TextDecoration);
453
- text-decoration-thickness: var(--#{$label}--m-editable--TextDecorationThickness);
454
- text-decoration-style: var(--#{$label}--m-editable--TextDecorationStyle);
455
- text-decoration-color: var(--#{$label}--m-editable--TextDecorationColor);
456
- text-underline-offset: var(--#{$label}--m-editable--TextDecorationOffset);
457
+ text-decoration: var(--#{$label}--m-editable--TextDecorationLine) var(--#{$label}--m-editable--TextDecorationStyle);
458
+ text-underline-offset: var(--#{$label}--m-editable--TextUnderlineOffset);
457
459
  }
458
460
  }
459
461
 
460
462
  &.pf-m-editable-active {
461
- --#{$label}--m-editable--TextDecoration: var(--#{$label}--m-editable--m-editable-active--TextDecoration);
463
+ --#{$label}--m-editable--TextDecorationLine: var(--#{$label}--m-editable--m-editable-active--TextDecorationLine);
462
464
  --#{$label}--BackgroundColor: var(--#{$label}--m-editable--m-editable-active--BackgroundColor);
463
465
  --#{$label}--Color: var(--#{$label}--m-editable--m-editable-active--Color);
464
466
  --#{$label}__content--Cursor: var(--#{$label}--m-editable--m-editable-active__content--Cursor);
@@ -86,9 +86,11 @@
86
86
  --pf-v6-c-progress-stepper__step--m-danger__step-title--Color: var(--pf-t--global--text--color--status--danger--default);
87
87
  --pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineStart: 0;
88
88
  --pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineEnd: 0;
89
- --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationColor: currentcolor;
90
- --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationThickness: var(--pf-t--global--link--text-decoration);
89
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
90
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
91
91
  --pf-v6-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset: 0.25rem;
92
+ --pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
93
+ --pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
92
94
  --pf-v6-c-progress-stepper__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
93
95
  --pf-v6-c-progress-stepper__step--m-danger__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--status--danger--hover);
94
96
  --pf-v6-c-progress-stepper__step-description--MarginBlockStart: var(--pf-t--global--spacer--xs);
@@ -314,14 +316,13 @@
314
316
  .pf-v6-c-progress-stepper__step-title.pf-m-help-text {
315
317
  padding-inline-start: var(--pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineStart);
316
318
  padding-inline-end: var(--pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineEnd);
317
- text-decoration: underline;
318
- text-decoration-thickness: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
319
- text-decoration-style: dashed;
320
- text-decoration-color: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationColor);
319
+ text-decoration: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine) var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle);
321
320
  text-underline-offset: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset);
322
321
  cursor: pointer;
323
322
  }
324
- .pf-v6-c-progress-stepper__step-title.pf-m-help-text:hover, .pf-v6-c-progress-stepper__step-title.pf-m-help-text:focus {
323
+ .pf-v6-c-progress-stepper__step-title.pf-m-help-text:is(:hover, :focus) {
324
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationLine);
325
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationStyle);
325
326
  --pf-v6-c-progress-stepper__step-title--Color: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--Color);
326
327
  }
327
328
 
@@ -171,9 +171,11 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
171
171
  // Help text variables for the step title
172
172
  --#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart: 0;
173
173
  --#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd: 0;
174
- --#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: currentcolor;
175
- --#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness: var(--pf-t--global--link--text-decoration);
174
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
175
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
176
176
  --#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
177
+ --#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
178
+ --#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
177
179
  --#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
178
180
 
179
181
  // Help text variables the step title for failure state
@@ -404,15 +406,13 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
404
406
  &.pf-m-help-text {
405
407
  padding-inline-start: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart);
406
408
  padding-inline-end: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd);
407
- text-decoration: underline;
408
- text-decoration-thickness: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness);
409
- text-decoration-style: dashed;
410
- text-decoration-color: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor);
409
+ text-decoration: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationLine) var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle);
411
410
  text-underline-offset: var(--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset);
412
411
  cursor: pointer;
413
412
 
414
- &:hover,
415
- &:focus {
413
+ &:is(:hover, :focus) {
414
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine);
415
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle);
416
416
  --#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
417
417
  }
418
418
  }
@@ -44,7 +44,7 @@
44
44
  --pf-v6-c-simple-list__item-link--hover--Color: var(--pf-v6-c-simple-list__item-link--m-link--m-current--Color);
45
45
  --pf-v6-c-simple-list__item-link--m-current--Color: var(--pf-v6-c-simple-list__item-link--m-link--hover--Color);
46
46
  }
47
- .pf-v6-c-simple-list__item-link:hover, .pf-v6-c-simple-list__item-link:focus {
47
+ .pf-v6-c-simple-list__item-link:is(:hover, :focus) {
48
48
  --pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--hover--BackgroundColor);
49
49
  --pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--hover--Color);
50
50
  text-decoration: none;
@@ -54,8 +54,7 @@
54
54
  --#{$simple-list}__item-link--m-current--Color: var(--#{$simple-list}__item-link--m-link--hover--Color);
55
55
  }
56
56
 
57
- &:hover,
58
- &:focus {
57
+ &:is(:hover, :focus) {
59
58
  --#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--hover--BackgroundColor);
60
59
  --#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--hover--Color);
61
60
 
@@ -541,7 +541,7 @@
541
541
  --pf-v6-c-tabs__link--after--BorderWidth: 0;
542
542
  }
543
543
 
544
- .pf-v6-c-tabs__link:disabled, .pf-v6-c-tabs__link.pf-m-disabled, .pf-v6-c-tabs__link.pf-m-aria-disabled {
544
+ .pf-v6-c-tabs__link:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
545
545
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--disabled--BackgroundColor);
546
546
  }
547
547
  .pf-v6-c-tabs__item.pf-m-action.pf-m-disabled {
@@ -627,9 +627,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
627
627
  --#{$tabs}__link--after--BorderWidth: 0;
628
628
  }
629
629
 
630
- &:disabled,
631
- &.pf-m-disabled,
632
- &.pf-m-aria-disabled {
630
+ &:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
633
631
  --#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
634
632
  }
635
633
 
@@ -2,15 +2,12 @@
2
2
  --pf-v6-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
3
3
  --pf-v6-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
4
4
  --pf-v6-c-timestamp--OutlineOffset: 0.1875rem;
5
- --pf-v6-c-timestamp--m-help-text--TextDecorationLine: underline;
6
- --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: dashed;
7
- --pf-v6-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
5
+ --pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
6
+ --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
8
7
  --pf-v6-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
9
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
10
8
  --pf-v6-c-timestamp--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
11
- --pf-v6-c-timestamp--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
12
- --pf-v6-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
13
- --pf-v6-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
9
+ --pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
10
+ --pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
14
11
  }
15
12
 
16
13
  .pf-v6-c-timestamp {
@@ -20,18 +17,12 @@
20
17
  outline-offset: var(--pf-v6-c-timestamp--OutlineOffset);
21
18
  }
22
19
  .pf-v6-c-timestamp.pf-m-help-text {
23
- text-decoration-line: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine);
24
- text-decoration-thickness: var(--pf-v6-c-timestamp--m-help-text--TextDecorationThickness);
25
- text-decoration-style: var(--pf-v6-c-timestamp--m-help-text--TextDecorationStyle);
26
- text-decoration-color: var(--pf-v6-c-timestamp--m-help-text--TextDecorationColor);
20
+ text-decoration: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine) var(--pf-v6-c-timestamp--m-help-text--TextDecorationStyle);
27
21
  text-underline-offset: var(--pf-v6-c-timestamp--m-help-text--TextUnderlineOffset);
28
22
  cursor: pointer;
29
23
  }
30
- .pf-v6-c-timestamp.pf-m-help-text:hover {
24
+ .pf-v6-c-timestamp.pf-m-help-text:is(:hover, :focus) {
31
25
  --pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--hover--Color);
32
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationColor);
33
- }
34
- .pf-v6-c-timestamp.pf-m-help-text:focus {
35
- --pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--focus--Color);
36
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-v6-c-timestamp--m-help-text--focus--TextDecorationColor);
26
+ --pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine);
27
+ --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
37
28
  }
@@ -6,15 +6,12 @@
6
6
  --#{$timestamp}--OutlineOffset: #{pf-size-prem(3px)};
7
7
 
8
8
  // Help text variables for the timestamp
9
- --#{$timestamp}--m-help-text--TextDecorationLine: underline;
10
- --#{$timestamp}--m-help-text--TextDecorationStyle: dashed;
11
- --#{$timestamp}--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
9
+ --#{$timestamp}--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
10
+ --#{$timestamp}--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
12
11
  --#{$timestamp}--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
13
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
14
12
  --#{$timestamp}--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
15
- --#{$timestamp}--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
16
- --#{$timestamp}--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
17
- --#{$timestamp}--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
13
+ --#{$timestamp}--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
14
+ --#{$timestamp}--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
18
15
  }
19
16
 
20
17
  .#{$timestamp} {
@@ -24,21 +21,14 @@
24
21
  outline-offset: var(--#{$timestamp}--OutlineOffset);
25
22
 
26
23
  &.pf-m-help-text {
27
- text-decoration-line: var(--#{$timestamp}--m-help-text--TextDecorationLine);
28
- text-decoration-thickness: var(--#{$timestamp}--m-help-text--TextDecorationThickness);
29
- text-decoration-style: var(--#{$timestamp}--m-help-text--TextDecorationStyle);
30
- text-decoration-color: var(--#{$timestamp}--m-help-text--TextDecorationColor);
24
+ text-decoration: var(--#{$timestamp}--m-help-text--TextDecorationLine) var(--#{$timestamp}--m-help-text--TextDecorationStyle);
31
25
  text-underline-offset: var(--#{$timestamp}--m-help-text--TextUnderlineOffset);
32
26
  cursor: pointer;
33
27
 
34
- &:hover {
28
+ &:is(:hover, :focus) {
35
29
  --#{$timestamp}--Color: var(--#{$timestamp}--m-help-text--hover--Color);
36
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--#{$timestamp}--m-help-text--hover--TextDecorationColor);
37
- }
38
-
39
- &:focus {
40
- --#{$timestamp}--Color: var(--#{$timestamp}--m-help-text--focus--Color);
41
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--#{$timestamp}--m-help-text--focus--TextDecorationColor);
30
+ --#{$timestamp}--m-help-text--TextDecorationLine: var(--#{$timestamp}--m-help-text--hover--TextDecorationLine);
31
+ --#{$timestamp}--m-help-text--TextDecorationStyle: var(--#{$timestamp}--m-help-text--hover--TextDecorationStyle);
42
32
  }
43
33
  }
44
34
  }
@@ -88,7 +88,7 @@
88
88
  border-inline-start-color: var(--pf-v6-c-toggle-group__button--before--BorderInlineStartColor, var(--pf-v6-c-toggle-group__button--before--BorderColor));
89
89
  border-inline-end-color: var(--pf-v6-c-toggle-group__button--before--BorderInlineEndColor, var(--pf-v6-c-toggle-group__button--before--BorderColor));
90
90
  }
91
- .pf-v6-c-toggle-group__button:hover, .pf-v6-c-toggle-group__button:focus {
91
+ .pf-v6-c-toggle-group__button:is(:hover, :focus) {
92
92
  --pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--hover--BackgroundColor);
93
93
  --pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--hover--ZIndex);
94
94
  --pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--hover--before--BorderColor);
@@ -100,7 +100,7 @@
100
100
  --pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--m-selected--ZIndex);
101
101
  --pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--m-selected--before--BorderColor);
102
102
  }
103
- .pf-v6-c-toggle-group__button:disabled, .pf-v6-c-toggle-group__button.pf-m-disabled {
103
+ .pf-v6-c-toggle-group__button:is(:disabled, .pf-m-disabled) {
104
104
  --pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--disabled--BackgroundColor);
105
105
  --pf-v6-c-toggle-group__button--Color: var(--pf-v6-c-toggle-group__button--disabled--Color);
106
106
  --pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--disabled--ZIndex);
@@ -117,8 +117,7 @@
117
117
  border-inline-end-color: var(--#{$toggle-group}__button--before--BorderInlineEndColor, var(--#{$toggle-group}__button--before--BorderColor));
118
118
  }
119
119
 
120
- &:hover,
121
- &:focus {
120
+ &:is(:hover, :focus) {
122
121
  --#{$toggle-group}__button--BackgroundColor: var(--#{$toggle-group}__button--hover--BackgroundColor);
123
122
  --#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--hover--ZIndex);
124
123
  --#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--hover--before--BorderColor);
@@ -133,8 +132,7 @@
133
132
  --#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--m-selected--before--BorderColor);
134
133
  }
135
134
 
136
- &:disabled,
137
- &.pf-m-disabled {
135
+ &:is(:disabled, .pf-m-disabled) {
138
136
  --#{$toggle-group}__button--BackgroundColor: var(--#{$toggle-group}__button--disabled--BackgroundColor);
139
137
  --#{$toggle-group}__button--Color: var(--#{$toggle-group}__button--disabled--Color);
140
138
  --#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--disabled--ZIndex);