@patternfly/patternfly 6.5.0-prerelease.84 → 6.5.0-prerelease.86
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/tokens/tokens-charts-dark.scss +4 -2
- package/base/tokens/tokens-charts-highcontrast-dark.scss +175 -0
- package/base/tokens/tokens-charts-highcontrast.scss +175 -0
- package/base/tokens/tokens-charts.scss +4 -2
- package/base/tokens/tokens-dark.scss +1 -1
- package/base/tokens/tokens-default.scss +1 -1
- package/base/tokens/tokens-felt-dark.scss +1 -1
- package/base/tokens/tokens-felt-glass-dark.scss +1 -1
- package/base/tokens/tokens-felt-glass.scss +1 -1
- package/base/tokens/tokens-felt-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-felt-highcontrast.scss +1 -1
- package/base/tokens/tokens-felt.scss +1 -1
- package/base/tokens/tokens-glass-dark.scss +1 -1
- package/base/tokens/tokens-glass.scss +1 -1
- package/base/tokens/tokens-palette.scss +1 -1
- package/base/tokens/tokens-redhat-highcontrast.scss +758 -0
- package/components/Pagination/pagination.css +5 -3
- package/components/Pagination/pagination.scss +5 -3
- package/components/Toolbar/toolbar.css +1 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/_index.css +6 -4
- package/package.json +1 -1
- package/patternfly-charts.css +376 -17
- package/patternfly-charts.scss +38 -15
- package/patternfly-no-globals.css +6 -4
- package/patternfly.css +6 -4
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/patternfly-charts.scss
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use './sass-utilities' as *;
|
|
2
2
|
@use "./base/tokens/tokens-charts" as charts;
|
|
3
3
|
@use "./base/tokens/tokens-charts-dark" as charts-dark;
|
|
4
|
+
@use "./base/tokens/tokens-charts-highcontrast" as charts-highcontrast;
|
|
5
|
+
@use "./base/tokens/tokens-charts-highcontrast-dark" as charts-highcontrast-dark;
|
|
4
6
|
|
|
5
7
|
// stylelint-disable-next-line scss/dollar-variable-pattern
|
|
6
8
|
$chart: #{$pf-prefix} + 'chart';
|
|
@@ -17,11 +19,21 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
17
19
|
@include charts.pf-v6-tokens;
|
|
18
20
|
}
|
|
19
21
|
|
|
22
|
+
// Charts dark tokens
|
|
23
|
+
:where(.pf-v6-theme-high-contrast) {
|
|
24
|
+
@include charts-highcontrast.pf-v6-tokens;
|
|
25
|
+
}
|
|
26
|
+
|
|
20
27
|
// Charts dark tokens
|
|
21
28
|
:where(.pf-v6-theme-dark) {
|
|
22
29
|
@include charts-dark.pf-v6-tokens;
|
|
23
30
|
}
|
|
24
31
|
|
|
32
|
+
// Charts dark tokens
|
|
33
|
+
:where(.pf-v6-theme-dark.pf-v6-theme-high-contrast) {
|
|
34
|
+
@include charts-highcontrast-dark.pf-v6-tokens;
|
|
35
|
+
}
|
|
36
|
+
|
|
25
37
|
// Charts styles
|
|
26
38
|
// stylelint-disable-next-line no-duplicate-selectors
|
|
27
39
|
:where(:root) {
|
|
@@ -93,7 +105,7 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
93
105
|
// label
|
|
94
106
|
--#{$chart}-global--label--Padding: var(--pf-t--chart--global--label--padding);
|
|
95
107
|
--#{$chart}-global--label--Margin: var(--pf-t--chart--global--label--margin);
|
|
96
|
-
--#{$chart}-global--label--stroke: var(--pf-t--chart--global--label--stroke);
|
|
108
|
+
--#{$chart}-global--label--stroke: var(--pf-t--chart--global--label--stroke--color);
|
|
97
109
|
--#{$chart}-global--label--text-anchor: var(--pf-t--chart--global--label--text-anchor);
|
|
98
110
|
--#{$chart}-global--label--stroke--Width: 0;
|
|
99
111
|
--#{$chart}-global--label--Fill: var(--pf-t--chart--global--label--fill);
|
|
@@ -130,38 +142,38 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
130
142
|
// Individual Charts
|
|
131
143
|
|
|
132
144
|
// Area Chart
|
|
133
|
-
--#{$chart}-area--Opacity:
|
|
145
|
+
--#{$chart}-area--Opacity: var(--pf-t--chart--global--fill--opacity--area);
|
|
134
146
|
--#{$chart}-area--stroke--Width: var(--#{$chart}-global--stroke--Width--sm);
|
|
135
147
|
--#{$chart}-area--data--Fill: var(--#{$chart}-global--Fill--Color--900);
|
|
136
148
|
|
|
137
149
|
// Axis Chart
|
|
138
150
|
--#{$chart}-axis--axis--stroke--Width: var(--#{$chart}-global--stroke--Width--xs);
|
|
139
|
-
--#{$chart}-axis--axis--stroke--Color: var(
|
|
151
|
+
--#{$chart}-axis--axis--stroke--Color: var(--pf-t--global--border--color--default);
|
|
140
152
|
--#{$chart}-axis--axis--Fill: transparent;
|
|
141
153
|
--#{$chart}-axis--axis-label--Padding: 40;
|
|
142
154
|
--#{$chart}-axis--axis-label--stroke--Color: transparent;
|
|
143
155
|
--#{$chart}-axis--grid--Fill: none;
|
|
144
|
-
--#{$chart}-axis--grid--stroke--Color: var(
|
|
156
|
+
--#{$chart}-axis--grid--stroke--Color: var(--pf-t--global--border--color--default);
|
|
145
157
|
--#{$chart}-axis--grid--PointerEvents: painted;
|
|
146
158
|
--#{$chart}-axis--tick--Fill: transparent;
|
|
147
159
|
--#{$chart}-axis--tick--Size: 5;
|
|
148
160
|
--#{$chart}-axis--tick--Width: 1;
|
|
149
|
-
--#{$chart}-axis--tick--stroke--Color: var(
|
|
161
|
+
--#{$chart}-axis--tick--stroke--Color: var(--pf-t--global--border--color--default);
|
|
150
162
|
--#{$chart}-axis--tick-label--Fill: var(--#{$chart}-global--Fill--Color--700);
|
|
151
163
|
|
|
152
164
|
// Bar Chart
|
|
153
165
|
--#{$chart}-bar--Width: 10;
|
|
154
|
-
--#{$chart}-bar--data--stroke:
|
|
166
|
+
--#{$chart}-bar--data--stroke: var(--pf-t--global--border--color--high-contrast);
|
|
155
167
|
--#{$chart}-bar--data--Fill: var(--#{$chart}-global--Fill--Color--900);
|
|
156
168
|
--#{$chart}-bar--data--Padding: 8;
|
|
157
|
-
--#{$chart}-bar--data-stroke--Width:
|
|
169
|
+
--#{$chart}-bar--data-stroke--Width: var(--pf-t--global--border--width--high-contrast--regular);
|
|
158
170
|
|
|
159
171
|
// Box Plot Chart
|
|
160
172
|
--#{$chart}-boxplot--max--Padding: 8;
|
|
161
173
|
--#{$chart}-boxplot--max--stroke--Color: var(--#{$chart}-global--Fill--Color--900);
|
|
162
174
|
--#{$chart}-boxplot--max--stroke--Width: var(--#{$chart}-global--stroke--Width--xs);
|
|
163
175
|
--#{$chart}-boxplot--median--Padding: 8;
|
|
164
|
-
--#{$chart}-boxplot--median--stroke--Color: var(
|
|
176
|
+
--#{$chart}-boxplot--median--stroke--Color: var(--pf-t--global--border--color--alt);
|
|
165
177
|
--#{$chart}-boxplot--median--stroke--Width: var(--#{$chart}-global--stroke--Width--xs);
|
|
166
178
|
--#{$chart}-boxplot--min--Padding: 8;
|
|
167
179
|
--#{$chart}-boxplot--min--stroke--Width: var(--#{$chart}-global--stroke--Width--xs);
|
|
@@ -201,11 +213,13 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
201
213
|
--#{$chart}-bullet--negative-measure--ColorScale--400: var(--#{$chart}-color-red-orange-400);
|
|
202
214
|
--#{$chart}-bullet--negative-measure--ColorScale--500: var(--#{$chart}-color-red-orange-500);
|
|
203
215
|
--#{$chart}-bullet--qualitative-range--Width: 30;
|
|
204
|
-
--#{$chart}-bullet--qualitative-range--ColorScale--100: var(
|
|
205
|
-
--#{$chart}-bullet--qualitative-range--ColorScale--200: var(
|
|
206
|
-
--#{$chart}-bullet--qualitative-range--ColorScale--300: var(
|
|
207
|
-
--#{$chart}-bullet--qualitative-range--ColorScale--400: var(
|
|
208
|
-
--#{$chart}-bullet--qualitative-range--ColorScale--500: var(
|
|
216
|
+
--#{$chart}-bullet--qualitative-range--ColorScale--100: var(--pf-t--chart--global--fill--color--100);
|
|
217
|
+
--#{$chart}-bullet--qualitative-range--ColorScale--200: var(--pf-t--chart--global--fill--color--200);
|
|
218
|
+
--#{$chart}-bullet--qualitative-range--ColorScale--300: var(--pf-t--chart--global--fill--color--300);
|
|
219
|
+
--#{$chart}-bullet--qualitative-range--ColorScale--400: var(--pf-t--chart--global--fill--color--400);
|
|
220
|
+
--#{$chart}-bullet--qualitative-range--ColorScale--500: var(--pf-t--chart--global--fill--color--500);
|
|
221
|
+
--#{$chart}-bullet--bar--stroke--Color: var(--pf-t--global--border--color--alt);
|
|
222
|
+
--#{$chart}-bullet--bar--stroke--Width: var(--pf-t--global--border--width--high-contrast--regular);
|
|
209
223
|
|
|
210
224
|
// Candlestick
|
|
211
225
|
--#{$chart}-candelstick--data--stroke--Width: var(--#{$chart}-global--stroke--Width--xs);
|
|
@@ -224,6 +238,8 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
224
238
|
--#{$chart}-donut--pie--angle--Padding: 1;
|
|
225
239
|
--#{$chart}-donut--pie--Padding: 20;
|
|
226
240
|
--#{$chart}-donut--pie--Width: 230;
|
|
241
|
+
--#{$chart}-donut--pie--data--stroke--Color: var(--pf-t--global--border--color--high-contrast);
|
|
242
|
+
--#{$chart}-donut--pie--data--stroke--Width: var(--pf-t--global--border--width--high-contrast--regular);
|
|
227
243
|
|
|
228
244
|
// Donut Threshold Chart
|
|
229
245
|
--#{$chart}-donut--threshold--first--Color: var(--#{$chart}-global--Fill--Color--200);
|
|
@@ -261,6 +277,8 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
261
277
|
--#{$chart}-legend--data--type: square;
|
|
262
278
|
--#{$chart}-legend--title--Padding: 2;
|
|
263
279
|
--#{$chart}-legend--Margin: 16;
|
|
280
|
+
--#{$chart}-legend--data--stroke--Color: var(--pf-t--global--border--color--high-contrast);
|
|
281
|
+
--#{$chart}-legend--data--stroke--Width: var(--pf-t--global--border--width--high-contrast--regular);
|
|
264
282
|
|
|
265
283
|
// Line Chart
|
|
266
284
|
--#{$chart}-line--data--Fill: transparent;
|
|
@@ -271,8 +289,8 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
271
289
|
// Pie Chart
|
|
272
290
|
--#{$chart}-pie--Padding: 20;
|
|
273
291
|
--#{$chart}-pie--data--Padding: 8;
|
|
274
|
-
--#{$chart}-pie--data--stroke--Width: var(
|
|
275
|
-
--#{$chart}-pie--data--stroke--Color:
|
|
292
|
+
--#{$chart}-pie--data--stroke--Width: var(--pf-t--global--border--width--high-contrast--regular);
|
|
293
|
+
--#{$chart}-pie--data--stroke--Color: var(--pf-t--global--border--color--alt);
|
|
276
294
|
--#{$chart}-pie--labels--Padding: 8;
|
|
277
295
|
--#{$chart}-pie--Height: 230;
|
|
278
296
|
--#{$chart}-pie--Width: 230;
|
|
@@ -523,6 +541,11 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
523
541
|
|
|
524
542
|
// Skeleton
|
|
525
543
|
--#{$chart}-echarts-skeleton--label--Color: transparent;
|
|
544
|
+
--#{$chart}-skeleton--ColorScale--100: var(--#{$chart}-color-black-100);
|
|
545
|
+
--#{$chart}-skeleton--ColorScale--200: var(--#{$chart}-color-black-200);
|
|
546
|
+
--#{$chart}-skeleton--ColorScale--300: var(--#{$chart}-color-black-300);
|
|
547
|
+
--#{$chart}-skeleton--ColorScale--400: var(--#{$chart}-color-black-400);
|
|
548
|
+
--#{$chart}-skeleton--ColorScale--500: var(--#{$chart}-color-black-500);
|
|
526
549
|
|
|
527
550
|
// Toolbox
|
|
528
551
|
--#{$chart}-echarts-toolbox--emphasis--item-style--BorderColor: var(--#{$chart}-theme--blue--ColorScale--400);
|
|
@@ -23973,6 +23973,7 @@ ul.pf-v6-c-list {
|
|
|
23973
23973
|
--pf-v6-c-pagination--m-sticky-base--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
|
|
23974
23974
|
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-v6-c-pagination--m-sticky--BoxShadow);
|
|
23975
23975
|
--pf-v6-c-pagination--m-sticky-stuck--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
23976
|
+
--pf-v6-c-pagination--m-sticky--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
|
|
23976
23977
|
--pf-v6-c-pagination--m-bottom--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
23977
23978
|
--pf-v6-c-pagination--m-bottom--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
|
|
23978
23979
|
--pf-v6-c-pagination--m-bottom--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
|
|
@@ -23990,10 +23991,10 @@ ul.pf-v6-c-list {
|
|
|
23990
23991
|
--pf-v6-c-pagination--m-bottom--m-sticky-base--InsetBlockEnd: 0;
|
|
23991
23992
|
}
|
|
23992
23993
|
:where(:root.pf-v6-theme-glass) .pf-v6-c-pagination {
|
|
23993
|
-
--pf-v6-c-pagination--m-sticky-base--InsetBlockStart: var(--pf-t--global--spacer--sm);
|
|
23994
23994
|
--pf-v6-c-pagination--m-sticky-stuck--BorderRadius: var(--pf-t--global--border--radius--glass--default);
|
|
23995
|
-
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-t--global--box-shadow--
|
|
23996
|
-
--pf-v6-c-pagination--m-
|
|
23995
|
+
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
23996
|
+
--pf-v6-c-pagination--m-sticky--BorderRadius: var(--pf-v6-c-pagination--m-sticky--BorderRadius--glass);
|
|
23997
|
+
--pf-v6-c-pagination--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
23997
23998
|
}
|
|
23998
23999
|
.pf-v6-c-pagination {
|
|
23999
24000
|
--pf-v6-c-pagination__page-menu--Display--base: block;
|
|
@@ -24109,6 +24110,7 @@ ul.pf-v6-c-list {
|
|
|
24109
24110
|
--pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: var(--pf-v6-c-pagination--m-bottom--m-sticky--BorderBlockStartWidth);
|
|
24110
24111
|
inset-block-start: var(--pf-v6-c-pagination--m-sticky--InsetBlockStart);
|
|
24111
24112
|
background-color: var(--pf-v6-c-pagination--m-sticky--BackgroundColor);
|
|
24113
|
+
border-radius: var(--pf-v6-c-pagination--m-sticky--BorderRadius);
|
|
24112
24114
|
box-shadow: var(--pf-v6-c-pagination--m-sticky--BoxShadow);
|
|
24113
24115
|
}
|
|
24114
24116
|
.pf-v6-c-pagination.pf-m-sticky, .pf-v6-c-pagination.pf-m-sticky-base {
|
|
@@ -31914,7 +31916,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
31914
31916
|
--pf-v6-c-toolbar--m-sticky--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
31915
31917
|
--pf-v6-c-toolbar--m-sticky--PaddingInlineStart: 0;
|
|
31916
31918
|
--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd: 0;
|
|
31917
|
-
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--
|
|
31919
|
+
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
31918
31920
|
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
31919
31921
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
31920
31922
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor: var(--pf-t--global--border--color--high-contrast);
|
package/patternfly.css
CHANGED
|
@@ -24120,6 +24120,7 @@ ul.pf-v6-c-list {
|
|
|
24120
24120
|
--pf-v6-c-pagination--m-sticky-base--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
|
|
24121
24121
|
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-v6-c-pagination--m-sticky--BoxShadow);
|
|
24122
24122
|
--pf-v6-c-pagination--m-sticky-stuck--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
24123
|
+
--pf-v6-c-pagination--m-sticky--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
|
|
24123
24124
|
--pf-v6-c-pagination--m-bottom--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
24124
24125
|
--pf-v6-c-pagination--m-bottom--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
|
|
24125
24126
|
--pf-v6-c-pagination--m-bottom--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
|
|
@@ -24137,10 +24138,10 @@ ul.pf-v6-c-list {
|
|
|
24137
24138
|
--pf-v6-c-pagination--m-bottom--m-sticky-base--InsetBlockEnd: 0;
|
|
24138
24139
|
}
|
|
24139
24140
|
:where(:root.pf-v6-theme-glass) .pf-v6-c-pagination {
|
|
24140
|
-
--pf-v6-c-pagination--m-sticky-base--InsetBlockStart: var(--pf-t--global--spacer--sm);
|
|
24141
24141
|
--pf-v6-c-pagination--m-sticky-stuck--BorderRadius: var(--pf-t--global--border--radius--glass--default);
|
|
24142
|
-
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-t--global--box-shadow--
|
|
24143
|
-
--pf-v6-c-pagination--m-
|
|
24142
|
+
--pf-v6-c-pagination--m-sticky-stuck--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
24143
|
+
--pf-v6-c-pagination--m-sticky--BorderRadius: var(--pf-v6-c-pagination--m-sticky--BorderRadius--glass);
|
|
24144
|
+
--pf-v6-c-pagination--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
24144
24145
|
}
|
|
24145
24146
|
.pf-v6-c-pagination {
|
|
24146
24147
|
--pf-v6-c-pagination__page-menu--Display--base: block;
|
|
@@ -24256,6 +24257,7 @@ ul.pf-v6-c-list {
|
|
|
24256
24257
|
--pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: var(--pf-v6-c-pagination--m-bottom--m-sticky--BorderBlockStartWidth);
|
|
24257
24258
|
inset-block-start: var(--pf-v6-c-pagination--m-sticky--InsetBlockStart);
|
|
24258
24259
|
background-color: var(--pf-v6-c-pagination--m-sticky--BackgroundColor);
|
|
24260
|
+
border-radius: var(--pf-v6-c-pagination--m-sticky--BorderRadius);
|
|
24259
24261
|
box-shadow: var(--pf-v6-c-pagination--m-sticky--BoxShadow);
|
|
24260
24262
|
}
|
|
24261
24263
|
.pf-v6-c-pagination.pf-m-sticky, .pf-v6-c-pagination.pf-m-sticky-base {
|
|
@@ -32061,7 +32063,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
32061
32063
|
--pf-v6-c-toolbar--m-sticky--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
32062
32064
|
--pf-v6-c-toolbar--m-sticky--PaddingInlineStart: 0;
|
|
32063
32065
|
--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd: 0;
|
|
32064
|
-
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--
|
|
32066
|
+
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
32065
32067
|
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
32066
32068
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
32067
32069
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor: var(--pf-t--global--border--color--high-contrast);
|