@patternfly/patternfly 6.5.0-prerelease.85 → 6.5.0-prerelease.87
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/Page/page.css +2 -0
- package/components/Page/page.scss +2 -0
- package/components/_index.css +2 -0
- package/package.json +2 -2
- package/patternfly-charts.css +376 -17
- package/patternfly-charts.scss +38 -15
- package/patternfly-no-globals.css +2 -0
- package/patternfly.css +2 -0
- 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);
|
|
@@ -23025,6 +23025,7 @@ ul.pf-v6-c-list {
|
|
|
23025
23025
|
--pf-v6-c-page__sidebar-main--xl--MarginInlineStart--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23026
23026
|
--pf-v6-c-page__sidebar-main--xl--MarginInlineEnd--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23027
23027
|
--pf-v6-c-page__main-container--MarginBlockStart--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23028
|
+
--pf-v6-c-page__main-container--MaxHeight--glass: calc(100% - var(--pf-t--global--spacer--inset--page-chrome) * 2);
|
|
23028
23029
|
}
|
|
23029
23030
|
:where(.pf-v6-theme-glass) .pf-v6-c-page {
|
|
23030
23031
|
--pf-v6-c-page--BackgroundColor: var(--pf-v6-c-page--BackgroundColor--glass);
|
|
@@ -23046,6 +23047,7 @@ ul.pf-v6-c-list {
|
|
|
23046
23047
|
--pf-v6-c-page__sidebar-main--BorderRadius: var(--pf-v6-c-page__sidebar-main--BorderRadius--glass);
|
|
23047
23048
|
--pf-v6-c-page__sidebar-main--BoxShadow: var(--pf-v6-c-page__sidebar-main--BoxShadow--glass);
|
|
23048
23049
|
--pf-v6-c-page__main-container--MarginBlockStart: var(--pf-v6-c-page__main-container--MarginBlockStart--glass);
|
|
23050
|
+
--pf-v6-c-page__main-container--MaxHeight: var(--pf-v6-c-page__main-container--MaxHeight--glass);
|
|
23049
23051
|
}
|
|
23050
23052
|
@media (min-width: 75rem) {
|
|
23051
23053
|
.pf-v6-c-page {
|
package/patternfly.css
CHANGED
|
@@ -23172,6 +23172,7 @@ ul.pf-v6-c-list {
|
|
|
23172
23172
|
--pf-v6-c-page__sidebar-main--xl--MarginInlineStart--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23173
23173
|
--pf-v6-c-page__sidebar-main--xl--MarginInlineEnd--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23174
23174
|
--pf-v6-c-page__main-container--MarginBlockStart--glass: var(--pf-t--global--spacer--inset--page-chrome);
|
|
23175
|
+
--pf-v6-c-page__main-container--MaxHeight--glass: calc(100% - var(--pf-t--global--spacer--inset--page-chrome) * 2);
|
|
23175
23176
|
}
|
|
23176
23177
|
:where(.pf-v6-theme-glass) .pf-v6-c-page {
|
|
23177
23178
|
--pf-v6-c-page--BackgroundColor: var(--pf-v6-c-page--BackgroundColor--glass);
|
|
@@ -23193,6 +23194,7 @@ ul.pf-v6-c-list {
|
|
|
23193
23194
|
--pf-v6-c-page__sidebar-main--BorderRadius: var(--pf-v6-c-page__sidebar-main--BorderRadius--glass);
|
|
23194
23195
|
--pf-v6-c-page__sidebar-main--BoxShadow: var(--pf-v6-c-page__sidebar-main--BoxShadow--glass);
|
|
23195
23196
|
--pf-v6-c-page__main-container--MarginBlockStart: var(--pf-v6-c-page__main-container--MarginBlockStart--glass);
|
|
23197
|
+
--pf-v6-c-page__main-container--MaxHeight: var(--pf-v6-c-page__main-container--MaxHeight--glass);
|
|
23196
23198
|
}
|
|
23197
23199
|
@media (min-width: 75rem) {
|
|
23198
23200
|
.pf-v6-c-page {
|