@patternfly/design-tokens 1.15.2 → 1.16.1

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 (45) hide show
  1. package/build/css/tokens-charts-dark.scss +4 -2
  2. package/build/css/tokens-charts-highcontrast-dark.scss +175 -0
  3. package/build/css/tokens-charts-highcontrast.scss +175 -0
  4. package/build/css/tokens-charts.scss +4 -2
  5. package/build/css/tokens-dark.scss +1 -1
  6. package/build/css/tokens-default.scss +1 -1
  7. package/build/css/tokens-felt-dark.scss +1 -1
  8. package/build/css/tokens-felt-glass-dark.scss +1 -1
  9. package/build/css/tokens-felt-glass.scss +1 -1
  10. package/build/css/tokens-felt-highcontrast-dark.scss +1 -1
  11. package/build/css/tokens-felt-highcontrast.scss +10 -2
  12. package/build/css/tokens-felt.scss +1 -1
  13. package/build/css/tokens-glass-dark.scss +1 -1
  14. package/build/css/tokens-glass.scss +1 -1
  15. package/build/css/tokens-palette.scss +1 -1
  16. package/build/css/tokens-redhat-highcontrast.scss +1 -1
  17. package/build.js +7 -1
  18. package/config.charts.dark.json +1 -1
  19. package/config.charts.highcontrast.dark.json +23 -0
  20. package/config.charts.highcontrast.json +23 -0
  21. package/config.charts.json +1 -1
  22. package/config.felt-highcontrast.json +2 -2
  23. package/config.layers.felt-highcontrast.json +2 -2
  24. package/config.layers.felt.json +2 -2
  25. package/package.json +1 -1
  26. package/patternfly-docs/content/token-layers-felt-dark.json +60 -16
  27. package/patternfly-docs/content/token-layers-felt-highcontrast.json +53027 -0
  28. package/patternfly-docs/content/token-layers-felt.json +65461 -0
  29. package/patternfly-docs/content/tokensTable.css +178 -0
  30. package/patternfly-docs/content/tokensTable.js +1078 -180
  31. package/patternfly-docs/content/tokensToolbar.js +240 -11
  32. package/patternfly-docs/generated/foundations-and-styles/design-tokens/all-design-tokens/design-tokens.js +37 -3
  33. package/patternfly-docs/generated/index.js +1 -0
  34. package/plugins/export-patternfly-tokens/dist/ui.html +9 -9
  35. package/plugins/export-patternfly-tokens/src/ui.tsx +8 -8
  36. package/tokens/default/dark/charts.dark.json +11 -3
  37. package/tokens/default/dark/charts.highcontrast.dark.json +11 -3
  38. package/tokens/default/light/charts.highcontrast.json +11 -3
  39. package/tokens/default/light/charts.json +11 -3
  40. package/tokens/felt/dark/felt.color.dark.json +41 -41
  41. package/tokens/felt/glass/felt.color.glass.json +9 -9
  42. package/tokens/felt/glass-dark/felt.color.glass.dark.json +41 -41
  43. package/tokens/felt/highcontrast/felt.color.highcontrast.json +9 -9
  44. package/tokens/felt/highcontrast-dark/felt.color.highcontrast.dark.json +9 -9
  45. package/tokens/felt/light/felt.color.json +9 -9
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "source": [
3
3
  "tokens/default/highcontrast/*.json",
4
- "tokens/redhat/highcontrast/redhat*.json"
4
+ "tokens/felt/highcontrast/felt*.json"
5
5
  ],
6
6
  "basePxFontSize": 16,
7
7
  "platforms": {
@@ -10,7 +10,7 @@
10
10
  "buildPath": "build/css/",
11
11
  "prefix": "pf-t",
12
12
  "files": [{
13
- "destination": "tokens-redhat-highcontrast.scss",
13
+ "destination": "tokens-felt-highcontrast.scss",
14
14
  "format": "customFormat",
15
15
  "options": {
16
16
  "outputReferences": true
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "source": [
3
3
  "tokens/default/highcontrast/*.json",
4
- "tokens/redhat/highcontrast/redhat*.json"
4
+ "tokens/felt/highcontrast/felt*.json"
5
5
  ],
6
6
  "platforms": {
7
7
  "json/default": {
@@ -10,7 +10,7 @@
10
10
  "prefix": "pf-t",
11
11
  "files": [
12
12
  {
13
- "destination": "token-layers-redhat-highcontrast.json",
13
+ "destination": "token-layers-felt-highcontrast.json",
14
14
  "format": "json/flat-categories",
15
15
  "options": {
16
16
  "outputReferences": false
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "source": [
3
3
  "tokens/default/light/*.json",
4
- "tokens/redhat/light/redhat*.json"
4
+ "tokens/felt/light/felt*.json"
5
5
  ],
6
6
  "platforms": {
7
7
  "json/default": {
@@ -10,7 +10,7 @@
10
10
  "prefix": "pf-t",
11
11
  "files": [
12
12
  {
13
- "destination": "token-layers-redhat.json",
13
+ "destination": "token-layers-felt.json",
14
14
  "format": "json/flat-categories",
15
15
  "options": {
16
16
  "outputReferences": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/design-tokens",
3
- "version": "1.15.2",
3
+ "version": "1.16.1",
4
4
  "description": "Define the design tokens for patternfly design system and component library",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -40786,6 +40786,33 @@
40786
40786
  ]
40787
40787
  }
40788
40788
  },
40789
+ "pf-t--chart--global--fill--opacity--area": {
40790
+ "default": {
40791
+ "type": "number",
40792
+ "value": "20%",
40793
+ "filePath": "tokens/default/dark/charts.highcontrast.dark.json",
40794
+ "isSource": true,
40795
+ "original": {
40796
+ "type": "number",
40797
+ "value": 20
40798
+ },
40799
+ "name": "pf-t--chart--global--fill--opacity--area",
40800
+ "attributes": {
40801
+ "category": "chart",
40802
+ "type": "global",
40803
+ "item": "fill",
40804
+ "subitem": "opacity",
40805
+ "state": "area"
40806
+ },
40807
+ "path": [
40808
+ "chart",
40809
+ "global",
40810
+ "fill",
40811
+ "opacity",
40812
+ "area"
40813
+ ]
40814
+ }
40815
+ },
40789
40816
  "pf-t--chart--global--warning--color--100": {
40790
40817
  "default": {
40791
40818
  "type": "color",
@@ -41282,40 +41309,57 @@
41282
41309
  ]
41283
41310
  }
41284
41311
  },
41285
- "pf-t--chart--global--label--stroke": {
41312
+ "pf-t--chart--global--label--stroke--color": {
41286
41313
  "default": {
41287
- "width": {
41288
- "type": "number",
41289
- "value": 0,
41290
- "filePath": "tokens/default/dark/charts.highcontrast.dark.json",
41291
- "isSource": true
41292
- },
41293
41314
  "type": "string",
41294
41315
  "value": "transparent",
41295
41316
  "filePath": "tokens/default/dark/charts.highcontrast.dark.json",
41296
41317
  "isSource": true,
41297
41318
  "original": {
41298
- "width": {
41299
- "type": "number",
41300
- "value": 0,
41301
- "filePath": "tokens/default/dark/charts.highcontrast.dark.json",
41302
- "isSource": true
41303
- },
41304
41319
  "type": "string",
41305
41320
  "value": "transparent"
41306
41321
  },
41307
- "name": "pf-t--chart--global--label--stroke",
41322
+ "name": "pf-t--chart--global--label--stroke--color",
41308
41323
  "attributes": {
41309
41324
  "category": "chart",
41310
41325
  "type": "global",
41311
41326
  "item": "label",
41312
- "subitem": "stroke"
41327
+ "subitem": "stroke",
41328
+ "state": "color"
41313
41329
  },
41314
41330
  "path": [
41315
41331
  "chart",
41316
41332
  "global",
41317
41333
  "label",
41318
- "stroke"
41334
+ "stroke",
41335
+ "color"
41336
+ ]
41337
+ }
41338
+ },
41339
+ "pf-t--chart--global--label--stroke--width": {
41340
+ "default": {
41341
+ "type": "number",
41342
+ "value": 0,
41343
+ "filePath": "tokens/default/dark/charts.highcontrast.dark.json",
41344
+ "isSource": true,
41345
+ "original": {
41346
+ "type": "number",
41347
+ "value": 0
41348
+ },
41349
+ "name": "pf-t--chart--global--label--stroke--width",
41350
+ "attributes": {
41351
+ "category": "chart",
41352
+ "type": "global",
41353
+ "item": "label",
41354
+ "subitem": "stroke",
41355
+ "state": "width"
41356
+ },
41357
+ "path": [
41358
+ "chart",
41359
+ "global",
41360
+ "label",
41361
+ "stroke",
41362
+ "width"
41319
41363
  ]
41320
41364
  }
41321
41365
  },