@patternfly/patternfly 6.0.0-alpha.151 → 6.0.0-alpha.153

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.
@@ -1,4 +1,4 @@
1
- .pf-v6-c-alert-group {
1
+ :where(:root, .pf-v6-c-alert-group) {
2
2
  --pf-v6-c-alert-group__item--MarginBlockStart: var(--pf-t--global--spacer--md);
3
3
  --pf-v6-c-alert-group--m-toast--InsetBlockStart: var(--pf-t--global--spacer--2xl);
4
4
  --pf-v6-c-alert-group--m-toast--InsetInlineEnd: var(--pf-t--global--spacer--xl);
@@ -21,6 +21,7 @@
21
21
  --pf-v6-c-alert-group__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
22
22
  --pf-v6-c-alert-group__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
23
23
  }
24
+
24
25
  .pf-v6-c-alert-group > * + * {
25
26
  margin-block-start: var(--pf-v6-c-alert-group__item--MarginBlockStart);
26
27
  }
@@ -1,7 +1,7 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
3
  // Tabs
4
- .#{$alert-group} {
4
+ :where(:root, .#{$alert-group}) {
5
5
  // Alert group variables
6
6
  --#{$alert-group}__item--MarginBlockStart: var(--pf-t--global--spacer--md);
7
7
 
@@ -28,7 +28,9 @@
28
28
  --#{$alert-group}__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
29
29
  --#{$alert-group}__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
30
30
  --#{$alert-group}__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
31
+ }
31
32
 
33
+ .#{$alert-group} {
32
34
  // Spacing between alerts
33
35
  > * + * {
34
36
  margin-block-start: var(--#{$alert-group}__item--MarginBlockStart);
@@ -1,6 +1,9 @@
1
- .pf-v6-c-brand {
1
+ :where(:root, .pf-v6-c-brand) {
2
2
  --pf-v6-c-brand--Width: auto;
3
3
  --pf-v6-c-brand--Height: auto;
4
+ }
5
+
6
+ .pf-v6-c-brand {
4
7
  width: var(--pf-v6-c-brand--Width--base);
5
8
  height: var(--pf-v6-c-brand--Height--base);
6
9
  --pf-v6-c-brand--Width--base: var(--pf-v6-c-brand--Width);
@@ -2,10 +2,12 @@
2
2
 
3
3
  $pf-v6-c-brand--breakpoint-map: build-breakpoint-map();
4
4
 
5
- .#{$brand} {
5
+ :where(:root, .#{$brand}) {
6
6
  --#{$brand}--Width: auto;
7
7
  --#{$brand}--Height: auto;
8
+ }
8
9
 
10
+ .#{$brand} {
9
11
  width: var(--#{$brand}--Width--base);
10
12
  height: var(--#{$brand}--Height--base);
11
13
 
@@ -24,7 +24,7 @@
24
24
  --#{$button}--hover--BorderColor: transparent;
25
25
  --#{$button}--hover--BorderWidth: var(--pf-t--global--border--width--button--hover);
26
26
  --#{$button}--hover--TextDecoration: none;
27
-
27
+
28
28
  // Clicked
29
29
  --#{$button}--m-clicked--BackgroundColor: transparent;
30
30
  --#{$button}--m-clicked--BorderColor: transparent;
@@ -58,7 +58,7 @@
58
58
  --pf-v6-c-calendar-month__date--after--focus--OutlineOffset: -2px;
59
59
  }
60
60
 
61
- :where(.pf-v6-c-calendar-month) {
61
+ .pf-v6-c-calendar-month {
62
62
  display: inline-flex;
63
63
  flex-direction: column;
64
64
  padding-block-start: var(--pf-v6-c-calendar-month--PaddingBlockStart);
@@ -24,7 +24,6 @@
24
24
  --#{$calendar-month}__day--FontWeight: var(--pf-t--global--font--weight--body);
25
25
  --#{$calendar-month}__day--Color: var(--pf-t--global--text--color--regular);
26
26
 
27
-
28
27
  // dates td
29
28
  --#{$calendar-month}__dates-cell--PaddingBlockStart: #{pf-size-prem(2px)};
30
29
  --#{$calendar-month}__dates-cell--PaddingInlineEnd: #{pf-size-prem(2px)};
@@ -71,7 +70,7 @@
71
70
  --#{$calendar-month}__date--after--focus--OutlineOffset: -2px;
72
71
  }
73
72
 
74
- :where(.#{$calendar-month}) {
73
+ .#{$calendar-month} {
75
74
  display: inline-flex;
76
75
  flex-direction: column;
77
76
  padding-block-start: var(--#{$calendar-month}--PaddingBlockStart);
@@ -34,7 +34,6 @@
34
34
  --#{$card}__header-toggle-icon--Transition: var(--pf-t--global--transition);
35
35
  --#{$card}--m-expanded__header-toggle-icon--Rotate: 90deg;
36
36
 
37
-
38
37
  // Selectable/Clickable
39
38
  --#{$card}--m-selectable--BorderWidth: var(--#{$card}--BorderWidth);
40
39
 
@@ -91,7 +91,6 @@
91
91
  --#{$data-list}__check--Height: calc(var(--#{$data-list}--FontSize) * var(--#{$data-list}--LineHeight));
92
92
  --#{$data-list}__check--MarginBlockStart: #{pf-size-prem(-1px)}; // slightly offset input
93
93
 
94
-
95
94
  // actions
96
95
  --#{$data-list}__item-action--Display: flex;
97
96
  --#{$data-list}__item-action--PaddingBlockStart: var(--pf-t--global--spacer--lg);
@@ -318,7 +318,6 @@
318
318
 
319
319
  overflow: auto;
320
320
  }
321
-
322
321
  }
323
322
 
324
323
  .#{$form-control}__icon {
@@ -29,6 +29,7 @@
29
29
  // icon
30
30
  --#{$helper-text}__item-icon--MarginInlineEnd: var(--pf-t--global--spacer--xs);
31
31
  }
32
+
32
33
  .#{$helper-text} {
33
34
  // text
34
35
 
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$inline-edit}) {
3
+ :where(:root, .#{$inline-edit}) {
4
4
  // Group
5
5
  --#{$inline-edit}__group--item--MarginInlineEnd: var(--pf-t--global--spacer--sm);
6
6
 
@@ -1,4 +1,4 @@
1
- .pf-v6-c-list {
1
+ :where(:root, .pf-v6-c-list) {
2
2
  --pf-v6-c-list--PaddingInlineStart: var(--pf-t--global--spacer--lg);
3
3
  --pf-v6-c-list--nested--MarginBlockStart: var(--pf-t--global--spacer--sm);
4
4
  --pf-v6-c-list--nested--MarginInlineStart: var(--pf-t--global--spacer--sm);
@@ -16,6 +16,9 @@
16
16
  --pf-v6-c-list--m-icon-lg__item-icon--MinWidth: var(--pf-t--global--icon--size--lg);
17
17
  --pf-v6-c-list--m-icon-lg__item-icon--MarginInlineEnd: var(--pf-t--global--spacer--md);
18
18
  --pf-v6-c-list--m-icon-lg__item-icon--FontSize: var(--pf-t--global--icon--size--lg);
19
+ }
20
+
21
+ .pf-v6-c-list {
19
22
  padding-inline-start: var(--pf-v6-c-list--PaddingInlineStart);
20
23
  }
21
24
  .pf-v6-c-list ol,
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- .#{$list} {
3
+ :where(:root, .#{$list}) {
4
4
  // list
5
5
  --#{$list}--PaddingInlineStart: var(--pf-t--global--spacer--lg);
6
6
  --#{$list}--nested--MarginBlockStart: var(--pf-t--global--spacer--sm);
@@ -25,7 +25,9 @@
25
25
  --#{$list}--m-icon-lg__item-icon--MinWidth: var(--pf-t--global--icon--size--lg);
26
26
  --#{$list}--m-icon-lg__item-icon--MarginInlineEnd: var(--pf-t--global--spacer--md);
27
27
  --#{$list}--m-icon-lg__item-icon--FontSize: var(--pf-t--global--icon--size--lg);
28
+ }
28
29
 
30
+ .#{$list} {
29
31
  padding-inline-start: var(--#{$list}--PaddingInlineStart);
30
32
 
31
33
  ol,
@@ -1,4 +1,4 @@
1
- .pf-v6-c-log-viewer {
1
+ :where(:root, .pf-v6-c-log-viewer) {
2
2
  --pf-v6-c-log-viewer--Height: 100%;
3
3
  --pf-v6-c-log-viewer--MaxHeight: auto;
4
4
  --pf-v6-c-log-viewer--m-line-numbers__index--Display: inline;
@@ -45,6 +45,9 @@
45
45
  --pf-v6-c-log-viewer--c-toolbar__group--m-toggle-group--spacer: 0;
46
46
  --pf-v6-c-log-viewer--c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-t--global--spacer--sm);
47
47
  --pf-v6-c-log-viewer--m-dark__main--BorderWidth: 0;
48
+ }
49
+
50
+ .pf-v6-c-log-viewer {
48
51
  display: flex;
49
52
  flex-direction: column;
50
53
  height: var(--pf-v6-c-log-viewer--Height);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- .#{$log-viewer} {
3
+ :where(:root, .#{$log-viewer}) {
4
4
  --#{$log-viewer}--Height: 100%;
5
5
  --#{$log-viewer}--MaxHeight: auto;
6
6
  --#{$log-viewer}--m-line-numbers__index--Display: inline;
@@ -67,7 +67,9 @@
67
67
 
68
68
  // Dark theme
69
69
  --#{$log-viewer}--m-dark__main--BorderWidth: 0;
70
+ }
70
71
 
72
+ .#{$log-viewer} {
71
73
  &.pf-m-dark {
72
74
  --#{$log-viewer}__main--BorderWidth: var(--#{$log-viewer}--m-dark__main--BorderWidth);
73
75
 
@@ -17,7 +17,6 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
17
17
  --#{$page}--inset: var(--#{$page}--xl--inset);
18
18
  }
19
19
 
20
-
21
20
  // Sidebar
22
21
  --#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
23
22
  --#{$page}__sidebar--Width: #{pf-size-prem(290px)};
@@ -124,7 +123,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
124
123
  --#{$page}__main-wizard--BackgroundColor: var(--pf-t--global--background--color--primary--default);
125
124
  --#{$page}__main-wizard--BorderBlockStartColor: var(--pf-t--global--border--color--default);
126
125
  --#{$page}__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--button--default);
127
- }
126
+ }
128
127
 
129
128
  .#{$page} {
130
129
  // Base
@@ -1,4 +1,4 @@
1
- .pf-v6-c-popover {
1
+ :where(:root, .pf-v6-c-popover) {
2
2
  --pf-v6-c-popover--FontSize: var(--pf-t--global--font--size--body--sm);
3
3
  --pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
4
4
  --pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
@@ -47,6 +47,9 @@
47
47
  --pf-v6-c-popover__title-icon--Color: var(--pf-t--global--icon--color--regular);
48
48
  --pf-v6-c-popover__title-icon--FontSize: var(--pf-t--global--font--size--heading--xs);
49
49
  --pf-v6-c-popover__footer--MarginBlockStart: var(--pf-t--global--spacer--md);
50
+ }
51
+
52
+ .pf-v6-c-popover {
50
53
  position: relative;
51
54
  min-width: var(--pf-v6-c-popover--MinWidth);
52
55
  max-width: var(--pf-v6-c-popover--MaxWidth);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- .#{$popover} {
3
+ :where(:root, .#{$popover}) {
4
4
  // Component
5
5
  --#{$popover}--FontSize: var(--pf-t--global--font--size--body--sm);
6
6
  --#{$popover}--MinWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
@@ -67,7 +67,9 @@
67
67
 
68
68
  // Footer
69
69
  --#{$popover}__footer--MarginBlockStart: var(--pf-t--global--spacer--md);
70
+ }
70
71
 
72
+ .#{$popover} {
71
73
  position: relative;
72
74
  min-width: var(--#{$popover}--MinWidth);
73
75
  max-width: var(--#{$popover}--MaxWidth);
@@ -1,4 +1,4 @@
1
- .pf-v6-c-table[class*=pf-m-grid] {
1
+ :where(:root, .pf-v6-c-table[class*=pf-m-grid]) {
2
2
  --pf-v6-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
3
3
  --pf-v6-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
4
4
  --pf-v6-c-table__tbody--after--border-width--base: var(--pf-t--global--border--width--extra-strong);
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  // - Table grid
35
- .#{$table}[class*="pf-m-grid"] {
35
+ :where(:root, .#{$table}[class*="pf-m-grid"]) {
36
36
  // ============================================================ //
37
37
  // Start non-conformant variables
38
38
  //
@@ -419,6 +419,9 @@
419
419
  .pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
420
420
  border-block-end: 0;
421
421
  }
422
+ .pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
423
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
424
+ }
422
425
 
423
426
  .pf-v6-c-table__text {
424
427
  --pf-v6-c-table--cell--MaxWidth: 100%;
@@ -514,14 +517,16 @@
514
517
  .pf-v6-c-table .pf-v6-c-table__check,
515
518
  .pf-v6-c-table .pf-v6-c-table__toggle,
516
519
  .pf-v6-c-table .pf-v6-c-table__action,
517
- .pf-v6-c-table .pf-v6-c-table__favorite,
518
- .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-favorite,
519
520
  .pf-v6-c-table .pf-v6-c-table__inline-edit-action,
520
521
  .pf-v6-c-table .pf-v6-c-table__draggable {
521
522
  --pf-v6-c-table--cell--MinWidth: 0;
522
523
  --pf-v6-c-table--cell--Width: 1%;
523
524
  }
524
525
 
526
+ .pf-v6-c-table .pf-v6-c-table__favorite {
527
+ --pf-v6-c-table--cell--MaxWidth: auto;
528
+ }
529
+
525
530
  .pf-v6-c-table__toggle {
526
531
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
527
532
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
@@ -659,8 +664,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
659
664
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
660
665
  color: var(--pf-v6-c-table__sort__button__text--Color);
661
666
  }
662
- .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
667
+ .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button {
663
668
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
669
+ }
670
+ .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button .pf-v6-c-table__text, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button .pf-v6-c-table__text {
664
671
  color: var(--pf-v6-c-table__sort--m-selected__button--Color);
665
672
  }
666
673
  .pf-v6-c-table__sort.pf-m-help {
@@ -593,6 +593,10 @@
593
593
  border-block-end: 0;
594
594
  }
595
595
  }
596
+
597
+ .#{$button} .#{$table}__sort-indicator {
598
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
599
+ }
596
600
  }
597
601
 
598
602
  // - Table text
@@ -706,8 +710,6 @@
706
710
  .#{$table} .#{$table}__check,
707
711
  .#{$table} .#{$table}__toggle,
708
712
  .#{$table} .#{$table}__action,
709
- .#{$table} .#{$table}__favorite,
710
- .#{$table} th:where(.#{$table}__th).pf-m-favorite,
711
713
  .#{$table} .#{$table}__inline-edit-action,
712
714
  .#{$table} .#{$table}__draggable {
713
715
  --#{$table}--cell--MinWidth: 0;
@@ -715,6 +717,10 @@
715
717
  }
716
718
  // stylelint-enable
717
719
 
720
+ .#{$table} .#{$table}__favorite {
721
+ --#{$table}--cell--MaxWidth: auto;
722
+ }
723
+
718
724
  // - Table toggle
719
725
  .#{$table}__toggle {
720
726
  --#{$table}--cell--PaddingBlockStart: var(--#{$table}__toggle--PaddingBlockStart);
@@ -900,11 +906,14 @@
900
906
  }
901
907
  }
902
908
 
903
- &.pf-m-selected .#{$table}__button {
909
+ &.pf-m-selected .#{$table}__button,
910
+ &.pf-m-selected .#{$button} {
904
911
  --#{$table}__sort-indicator--Color: var(--#{$table}__sort--m-selected__sort-indicator--Color);
905
912
 
906
913
  // override state colors on text
907
- color: var(--#{$table}__sort--m-selected__button--Color);
914
+ .#{$table}__text {
915
+ color: var(--#{$table}__sort--m-selected__button--Color);
916
+ }
908
917
  }
909
918
 
910
919
  &.pf-m-help {
@@ -108,7 +108,7 @@
108
108
  --#{$wizard}__toggle--m-danger__nav-link-status-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
109
109
  --#{$wizard}__toggle-status-icon--InsetBlockStart: 2px; // not spacer-based but needed to align
110
110
  --#{$wizard}__toggle-status-icon--FontSize: var(--pf-t--global--icon--size--font--xl);
111
-
111
+
112
112
  // Toggle list
113
113
  --#{$wizard}__toggle-list--MarginInlineEnd: var(--pf-t--global--spacer--sm);
114
114
  --#{$wizard}__toggle-list--MarginBlockEnd: calc(var(--#{$wizard}__toggle-list-item--MarginBlockEnd) * -1);
@@ -145,7 +145,7 @@
145
145
  // Nav item
146
146
  --#{$wizard}__nav-item--MarginBlockStart: var(--pf-t--global--spacer--md);
147
147
 
148
- // Outer wrap
148
+ // Outer wrap
149
149
  --#{$wizard}__outer-wrap--BackgroundColor: var(--pf-t--global--background--color--primary--default);
150
150
  --#{$wizard}__outer-wrap--lg--PaddingInlineStart: var(--#{$wizard}__nav--Width);
151
151
  --#{$wizard}__outer-wrap--MinHeight: #{pf-size-prem(250px)};
@@ -477,7 +477,7 @@
477
477
  &::before {
478
478
  display: none;
479
479
  }
480
- }
480
+ }
481
481
 
482
482
  &:where(:hover, :focus) {
483
483
  --#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--hover--Color);
@@ -582,7 +582,7 @@
582
582
  margin-inline-end: var(--pf-v6-c-alert__action-group__c-button--not-last-child--MarginInlineEnd);
583
583
  }
584
584
 
585
- .pf-v6-c-alert-group {
585
+ :where(:root, .pf-v6-c-alert-group) {
586
586
  --pf-v6-c-alert-group__item--MarginBlockStart: var(--pf-t--global--spacer--md);
587
587
  --pf-v6-c-alert-group--m-toast--InsetBlockStart: var(--pf-t--global--spacer--2xl);
588
588
  --pf-v6-c-alert-group--m-toast--InsetInlineEnd: var(--pf-t--global--spacer--xl);
@@ -605,6 +605,7 @@
605
605
  --pf-v6-c-alert-group__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
606
606
  --pf-v6-c-alert-group__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
607
607
  }
608
+
608
609
  .pf-v6-c-alert-group > * + * {
609
610
  margin-block-start: var(--pf-v6-c-alert-group__item--MarginBlockStart);
610
611
  }
@@ -1187,9 +1188,12 @@
1187
1188
  cursor: not-allowed;
1188
1189
  }
1189
1190
 
1190
- .pf-v6-c-brand {
1191
+ :where(:root, .pf-v6-c-brand) {
1191
1192
  --pf-v6-c-brand--Width: auto;
1192
1193
  --pf-v6-c-brand--Height: auto;
1194
+ }
1195
+
1196
+ .pf-v6-c-brand {
1193
1197
  width: var(--pf-v6-c-brand--Width--base);
1194
1198
  height: var(--pf-v6-c-brand--Height--base);
1195
1199
  --pf-v6-c-brand--Width--base: var(--pf-v6-c-brand--Width);
@@ -1978,7 +1982,7 @@ button.pf-v6-c-breadcrumb__link {
1978
1982
  --pf-v6-c-calendar-month__date--after--focus--OutlineOffset: -2px;
1979
1983
  }
1980
1984
 
1981
- :where(.pf-v6-c-calendar-month) {
1985
+ .pf-v6-c-calendar-month {
1982
1986
  display: inline-flex;
1983
1987
  flex-direction: column;
1984
1988
  padding-block-start: var(--pf-v6-c-calendar-month--PaddingBlockStart);
@@ -8422,7 +8426,7 @@ input.pf-v6-c-label__content {
8422
8426
  display: none;
8423
8427
  }
8424
8428
 
8425
- .pf-v6-c-list {
8429
+ :where(:root, .pf-v6-c-list) {
8426
8430
  --pf-v6-c-list--PaddingInlineStart: var(--pf-t--global--spacer--lg);
8427
8431
  --pf-v6-c-list--nested--MarginBlockStart: var(--pf-t--global--spacer--sm);
8428
8432
  --pf-v6-c-list--nested--MarginInlineStart: var(--pf-t--global--spacer--sm);
@@ -8440,6 +8444,9 @@ input.pf-v6-c-label__content {
8440
8444
  --pf-v6-c-list--m-icon-lg__item-icon--MinWidth: var(--pf-t--global--icon--size--lg);
8441
8445
  --pf-v6-c-list--m-icon-lg__item-icon--MarginInlineEnd: var(--pf-t--global--spacer--md);
8442
8446
  --pf-v6-c-list--m-icon-lg__item-icon--FontSize: var(--pf-t--global--icon--size--lg);
8447
+ }
8448
+
8449
+ .pf-v6-c-list {
8443
8450
  padding-inline-start: var(--pf-v6-c-list--PaddingInlineStart);
8444
8451
  }
8445
8452
  .pf-v6-c-list ol,
@@ -8497,7 +8504,7 @@ ul.pf-v6-c-list {
8497
8504
  --pf-v6-c-list--m-bordered--li--BorderBlockEndWidth: 0;
8498
8505
  }
8499
8506
 
8500
- .pf-v6-c-log-viewer {
8507
+ :where(:root, .pf-v6-c-log-viewer) {
8501
8508
  --pf-v6-c-log-viewer--Height: 100%;
8502
8509
  --pf-v6-c-log-viewer--MaxHeight: auto;
8503
8510
  --pf-v6-c-log-viewer--m-line-numbers__index--Display: inline;
@@ -8544,6 +8551,9 @@ ul.pf-v6-c-list {
8544
8551
  --pf-v6-c-log-viewer--c-toolbar__group--m-toggle-group--spacer: 0;
8545
8552
  --pf-v6-c-log-viewer--c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-t--global--spacer--sm);
8546
8553
  --pf-v6-c-log-viewer--m-dark__main--BorderWidth: 0;
8554
+ }
8555
+
8556
+ .pf-v6-c-log-viewer {
8547
8557
  display: flex;
8548
8558
  flex-direction: column;
8549
8559
  height: var(--pf-v6-c-log-viewer--Height);
@@ -12625,7 +12635,7 @@ ul.pf-v6-c-list {
12625
12635
  box-shadow: var(--pf-v6-c-panel__footer--BoxShadow);
12626
12636
  }
12627
12637
 
12628
- .pf-v6-c-popover {
12638
+ :where(:root, .pf-v6-c-popover) {
12629
12639
  --pf-v6-c-popover--FontSize: var(--pf-t--global--font--size--body--sm);
12630
12640
  --pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
12631
12641
  --pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
@@ -12674,6 +12684,9 @@ ul.pf-v6-c-list {
12674
12684
  --pf-v6-c-popover__title-icon--Color: var(--pf-t--global--icon--color--regular);
12675
12685
  --pf-v6-c-popover__title-icon--FontSize: var(--pf-t--global--font--size--heading--xs);
12676
12686
  --pf-v6-c-popover__footer--MarginBlockStart: var(--pf-t--global--spacer--md);
12687
+ }
12688
+
12689
+ .pf-v6-c-popover {
12677
12690
  position: relative;
12678
12691
  min-width: var(--pf-v6-c-popover--MinWidth);
12679
12692
  max-width: var(--pf-v6-c-popover--MaxWidth);
@@ -14767,7 +14780,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
14767
14780
  --pf-v6-c-tab-content__body--PaddingInlineStart: var(--pf-v6-c-tab-content__body--m-padding--PaddingInlineStart);
14768
14781
  }
14769
14782
 
14770
- .pf-v6-c-table[class*=pf-m-grid] {
14783
+ :where(:root, .pf-v6-c-table[class*=pf-m-grid]) {
14771
14784
  --pf-v6-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
14772
14785
  --pf-v6-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
14773
14786
  --pf-v6-c-table__tbody--after--border-width--base: var(--pf-t--global--border--width--extra-strong);
@@ -16827,6 +16840,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16827
16840
  .pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
16828
16841
  border-block-end: 0;
16829
16842
  }
16843
+ .pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
16844
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
16845
+ }
16830
16846
 
16831
16847
  .pf-v6-c-table__text {
16832
16848
  --pf-v6-c-table--cell--MaxWidth: 100%;
@@ -16922,14 +16938,16 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16922
16938
  .pf-v6-c-table .pf-v6-c-table__check,
16923
16939
  .pf-v6-c-table .pf-v6-c-table__toggle,
16924
16940
  .pf-v6-c-table .pf-v6-c-table__action,
16925
- .pf-v6-c-table .pf-v6-c-table__favorite,
16926
- .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-favorite,
16927
16941
  .pf-v6-c-table .pf-v6-c-table__inline-edit-action,
16928
16942
  .pf-v6-c-table .pf-v6-c-table__draggable {
16929
16943
  --pf-v6-c-table--cell--MinWidth: 0;
16930
16944
  --pf-v6-c-table--cell--Width: 1%;
16931
16945
  }
16932
16946
 
16947
+ .pf-v6-c-table .pf-v6-c-table__favorite {
16948
+ --pf-v6-c-table--cell--MaxWidth: auto;
16949
+ }
16950
+
16933
16951
  .pf-v6-c-table__toggle {
16934
16952
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
16935
16953
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
@@ -17067,8 +17085,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17067
17085
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
17068
17086
  color: var(--pf-v6-c-table__sort__button__text--Color);
17069
17087
  }
17070
- .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
17088
+ .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button {
17071
17089
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
17090
+ }
17091
+ .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button .pf-v6-c-table__text, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button .pf-v6-c-table__text {
17072
17092
  color: var(--pf-v6-c-table__sort--m-selected__button--Color);
17073
17093
  }
17074
17094
  .pf-v6-c-table__sort.pf-m-help {
@@ -19874,21 +19874,33 @@ For sticky columns to function correctly, the parent table's width must be contr
19874
19874
  <thead class="pf-v6-c-table__thead">
19875
19875
  <tr class="pf-v6-c-table__tr" role="row">
19876
19876
  <th
19877
- class="pf-v6-c-table__th pf-v6-c-table__sort pf-m-selected pf-m-favorite"
19877
+ class="pf-v6-c-table__th pf-v6-c-table__sort pf-m-selected pf-v6-c-table__favorite"
19878
19878
  role="columnheader"
19879
19879
  aria-sort="none"
19880
19880
  scope="col"
19881
19881
  >
19882
- <button class="pf-v6-c-table__button" aria-label="Favorite">
19883
- <span class="pf-v6-c-table__button-content">
19884
- <span class="pf-v6-c-table__text">
19882
+ <div class="pf-v6-c-action-list pf-m-icons">
19883
+ <div class="pf-v6-c-action-list__item">
19884
+ <button
19885
+ class="pf-v6-c-button pf-m-plain"
19886
+ type="button"
19887
+ aria-label="Favorite all"
19888
+ >
19885
19889
  <i class="fas fa-star" aria-hidden="true"></i>
19886
- </span>
19887
- <span class="pf-v6-c-table__sort-indicator">
19888
- <i class="fas fa-long-arrow-alt-down"></i>
19889
- </span>
19890
- </span>
19891
- </button>
19890
+ </button>
19891
+ </div>
19892
+ <div class="pf-v6-c-action-list__item">
19893
+ <button
19894
+ class="pf-v6-c-button pf-m-plain"
19895
+ type="button"
19896
+ aria-label="Sort favorites"
19897
+ >
19898
+ <span class="pf-v6-c-table__sort-indicator">
19899
+ <i class="fas fa-long-arrow-alt-down"></i>
19900
+ </span>
19901
+ </button>
19902
+ </div>
19903
+ </div>
19892
19904
  </th>
19893
19905
 
19894
19906
  <th class="pf-v6-c-table__th" role="columnheader" scope="col">Repositories</th>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.0.0-alpha.151",
4
+ "version": "6.0.0-alpha.153",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {