@patternfly/patternfly 6.0.0-alpha.150 → 6.0.0-alpha.152

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/base/_index.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  // @use '../sass-utilities' as *;
2
2
 
3
- @forward './normalize';
4
3
  @forward './reset';
4
+ @forward './normalize';
5
5
  @forward './patternfly-common';
6
6
  @forward './patternfly-fonts';
7
7
  @forward './patternfly-fa-icons';
@@ -105,4 +105,8 @@
105
105
  ) {
106
106
  cursor: pointer;
107
107
  }
108
+
109
+ :where(.pf-v6-theme-dark) {
110
+ color-scheme: dark;
111
+ }
108
112
  }
@@ -1,8 +1,8 @@
1
1
  @use '../sass-utilities' as *;
2
- @use "./tokens/tokens-local" as local;
3
2
  @use "./tokens/tokens-palette" as palette;
4
3
  @use "./tokens/tokens-default" as default;
5
4
  @use "./tokens/tokens-dark" as dark;
5
+ @use "./tokens/tokens-local" as local;
6
6
 
7
7
  :where(:root) {
8
8
  @include pf-v6-set-inverse(false);
@@ -1,7 +1,6 @@
1
- @forward './workspace-overrides';
2
- @forward './tokens-local';
3
1
  @forward './tokens-palette';
4
2
  @forward './tokens-default';
5
3
  @forward './tokens-dark';
6
4
  @forward './tokens-charts';
7
5
  @forward './tokens-charts-dark';
6
+ @forward './tokens-local';
@@ -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 {
@@ -16827,6 +16827,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16827
16827
  .pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
16828
16828
  border-block-end: 0;
16829
16829
  }
16830
+ .pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
16831
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
16832
+ }
16830
16833
 
16831
16834
  .pf-v6-c-table__text {
16832
16835
  --pf-v6-c-table--cell--MaxWidth: 100%;
@@ -16922,14 +16925,16 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16922
16925
  .pf-v6-c-table .pf-v6-c-table__check,
16923
16926
  .pf-v6-c-table .pf-v6-c-table__toggle,
16924
16927
  .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
16928
  .pf-v6-c-table .pf-v6-c-table__inline-edit-action,
16928
16929
  .pf-v6-c-table .pf-v6-c-table__draggable {
16929
16930
  --pf-v6-c-table--cell--MinWidth: 0;
16930
16931
  --pf-v6-c-table--cell--Width: 1%;
16931
16932
  }
16932
16933
 
16934
+ .pf-v6-c-table .pf-v6-c-table__favorite {
16935
+ --pf-v6-c-table--cell--MaxWidth: auto;
16936
+ }
16937
+
16933
16938
  .pf-v6-c-table__toggle {
16934
16939
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
16935
16940
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
@@ -17067,8 +17072,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
17067
17072
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
17068
17073
  color: var(--pf-v6-c-table__sort__button__text--Color);
17069
17074
  }
17070
- .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
17075
+ .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
17076
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
17077
+ }
17078
+ .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
17079
  color: var(--pf-v6-c-table__sort--m-selected__button--Color);
17073
17080
  }
17074
17081
  .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.150",
4
+ "version": "6.0.0-alpha.152",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -1,3 +1,30 @@
1
+ :where(html,
2
+ body,
3
+ p,
4
+ ol,
5
+ ul,
6
+ li,
7
+ dl,
8
+ dt,
9
+ dd,
10
+ blockquote,
11
+ figure,
12
+ fieldset,
13
+ legend,
14
+ textarea,
15
+ pre,
16
+ iframe,
17
+ hr,
18
+ h1,
19
+ h2,
20
+ h3,
21
+ h4,
22
+ h5,
23
+ h6) {
24
+ padding: 0;
25
+ margin: 0;
26
+ }
27
+
1
28
  *,
2
29
  *::before,
3
30
  *::after {
@@ -88,31 +115,8 @@ button) {
88
115
  cursor: pointer;
89
116
  }
90
117
 
91
- :where(html,
92
- body,
93
- p,
94
- ol,
95
- ul,
96
- li,
97
- dl,
98
- dt,
99
- dd,
100
- blockquote,
101
- figure,
102
- fieldset,
103
- legend,
104
- textarea,
105
- pre,
106
- iframe,
107
- hr,
108
- h1,
109
- h2,
110
- h3,
111
- h4,
112
- h5,
113
- h6) {
114
- padding: 0;
115
- margin: 0;
118
+ :where(.pf-v6-theme-dark) {
119
+ color-scheme: dark;
116
120
  }
117
121
 
118
122
  .pf-v6-screen-reader {
@@ -22847,6 +22847,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
22847
22847
  .pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
22848
22848
  border-block-end: 0;
22849
22849
  }
22850
+ .pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
22851
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
22852
+ }
22850
22853
 
22851
22854
  .pf-v6-c-table__text {
22852
22855
  --pf-v6-c-table--cell--MaxWidth: 100%;
@@ -22942,14 +22945,16 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
22942
22945
  .pf-v6-c-table .pf-v6-c-table__check,
22943
22946
  .pf-v6-c-table .pf-v6-c-table__toggle,
22944
22947
  .pf-v6-c-table .pf-v6-c-table__action,
22945
- .pf-v6-c-table .pf-v6-c-table__favorite,
22946
- .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-favorite,
22947
22948
  .pf-v6-c-table .pf-v6-c-table__inline-edit-action,
22948
22949
  .pf-v6-c-table .pf-v6-c-table__draggable {
22949
22950
  --pf-v6-c-table--cell--MinWidth: 0;
22950
22951
  --pf-v6-c-table--cell--Width: 1%;
22951
22952
  }
22952
22953
 
22954
+ .pf-v6-c-table .pf-v6-c-table__favorite {
22955
+ --pf-v6-c-table--cell--MaxWidth: auto;
22956
+ }
22957
+
22953
22958
  .pf-v6-c-table__toggle {
22954
22959
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
22955
22960
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
@@ -23087,8 +23092,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
23087
23092
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
23088
23093
  color: var(--pf-v6-c-table__sort__button__text--Color);
23089
23094
  }
23090
- .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
23095
+ .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 {
23091
23096
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
23097
+ }
23098
+ .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 {
23092
23099
  color: var(--pf-v6-c-table__sort--m-selected__button--Color);
23093
23100
  }
23094
23101
  .pf-v6-c-table__sort.pf-m-help {
package/patternfly.css CHANGED
@@ -1,4 +1,31 @@
1
1
  @charset "UTF-8";
2
+ :where(html,
3
+ body,
4
+ p,
5
+ ol,
6
+ ul,
7
+ li,
8
+ dl,
9
+ dt,
10
+ dd,
11
+ blockquote,
12
+ figure,
13
+ fieldset,
14
+ legend,
15
+ textarea,
16
+ pre,
17
+ iframe,
18
+ hr,
19
+ h1,
20
+ h2,
21
+ h3,
22
+ h4,
23
+ h5,
24
+ h6) {
25
+ padding: 0;
26
+ margin: 0;
27
+ }
28
+
2
29
  *,
3
30
  *::before,
4
31
  *::after {
@@ -89,31 +116,8 @@ button) {
89
116
  cursor: pointer;
90
117
  }
91
118
 
92
- :where(html,
93
- body,
94
- p,
95
- ol,
96
- ul,
97
- li,
98
- dl,
99
- dt,
100
- dd,
101
- blockquote,
102
- figure,
103
- fieldset,
104
- legend,
105
- textarea,
106
- pre,
107
- iframe,
108
- hr,
109
- h1,
110
- h2,
111
- h3,
112
- h4,
113
- h5,
114
- h6) {
115
- padding: 0;
116
- margin: 0;
119
+ :where(.pf-v6-theme-dark) {
120
+ color-scheme: dark;
117
121
  }
118
122
 
119
123
  .pf-v6-screen-reader {
@@ -22964,6 +22968,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
22964
22968
  .pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
22965
22969
  border-block-end: 0;
22966
22970
  }
22971
+ .pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
22972
+ --pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
22973
+ }
22967
22974
 
22968
22975
  .pf-v6-c-table__text {
22969
22976
  --pf-v6-c-table--cell--MaxWidth: 100%;
@@ -23059,14 +23066,16 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
23059
23066
  .pf-v6-c-table .pf-v6-c-table__check,
23060
23067
  .pf-v6-c-table .pf-v6-c-table__toggle,
23061
23068
  .pf-v6-c-table .pf-v6-c-table__action,
23062
- .pf-v6-c-table .pf-v6-c-table__favorite,
23063
- .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-favorite,
23064
23069
  .pf-v6-c-table .pf-v6-c-table__inline-edit-action,
23065
23070
  .pf-v6-c-table .pf-v6-c-table__draggable {
23066
23071
  --pf-v6-c-table--cell--MinWidth: 0;
23067
23072
  --pf-v6-c-table--cell--Width: 1%;
23068
23073
  }
23069
23074
 
23075
+ .pf-v6-c-table .pf-v6-c-table__favorite {
23076
+ --pf-v6-c-table--cell--MaxWidth: auto;
23077
+ }
23078
+
23070
23079
  .pf-v6-c-table__toggle {
23071
23080
  --pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
23072
23081
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
@@ -23204,8 +23213,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
23204
23213
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
23205
23214
  color: var(--pf-v6-c-table__sort__button__text--Color);
23206
23215
  }
23207
- .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
23216
+ .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 {
23208
23217
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
23218
+ }
23219
+ .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 {
23209
23220
  color: var(--pf-v6-c-table__sort--m-selected__button--Color);
23210
23221
  }
23211
23222
  .pf-v6-c-table__sort.pf-m-help {