@rijkshuisstijl-community/design-tokens 10.0.0 → 11.0.0

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 (88) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +46 -1
  3. package/build.mjs +36 -10
  4. package/cssFixers.mjs +89 -0
  5. package/cssFixers.spec.mjs +98 -0
  6. package/dist/_variables.scss +20 -17
  7. package/dist/index.css +20 -17
  8. package/dist/index.d.ts +24 -19
  9. package/dist/index.js +23 -20
  10. package/dist/index.json +21 -19
  11. package/dist/index.tokens.json +33 -31
  12. package/dist/kern-lintblauw/_variables.scss +20 -17
  13. package/dist/kern-lintblauw/index.css +20 -17
  14. package/dist/kern-lintblauw/index.d.ts +24 -19
  15. package/dist/kern-lintblauw/index.js +23 -20
  16. package/dist/kern-lintblauw/index.json +21 -19
  17. package/dist/kern-lintblauw/index.tokens.json +33 -31
  18. package/dist/kern-lintblauw/root.css +20 -17
  19. package/dist/kern-lintblauw/tokens.d.ts +31 -28
  20. package/dist/kern-lintblauw/tokens.js +446 -531
  21. package/dist/root.css +20 -17
  22. package/dist/tokens.d.ts +31 -28
  23. package/dist/tokens.js +446 -531
  24. package/dist/uitvoerend-groen/_variables.scss +21 -18
  25. package/dist/uitvoerend-groen/index.css +21 -18
  26. package/dist/uitvoerend-groen/index.d.ts +24 -19
  27. package/dist/uitvoerend-groen/index.js +23 -20
  28. package/dist/uitvoerend-groen/index.json +21 -19
  29. package/dist/uitvoerend-groen/index.tokens.json +33 -31
  30. package/dist/uitvoerend-groen/root.css +21 -18
  31. package/dist/uitvoerend-groen/tokens.d.ts +31 -28
  32. package/dist/uitvoerend-groen/tokens.js +446 -531
  33. package/dist/uitvoerend-hemelblauw/_variables.scss +21 -18
  34. package/dist/uitvoerend-hemelblauw/index.css +21 -18
  35. package/dist/uitvoerend-hemelblauw/index.d.ts +24 -19
  36. package/dist/uitvoerend-hemelblauw/index.js +23 -20
  37. package/dist/uitvoerend-hemelblauw/index.json +21 -19
  38. package/dist/uitvoerend-hemelblauw/index.tokens.json +33 -31
  39. package/dist/uitvoerend-hemelblauw/root.css +21 -18
  40. package/dist/uitvoerend-hemelblauw/tokens.d.ts +31 -28
  41. package/dist/uitvoerend-hemelblauw/tokens.js +446 -531
  42. package/dist/uitvoerend-lintblauw/_variables.scss +21 -18
  43. package/dist/uitvoerend-lintblauw/index.css +21 -18
  44. package/dist/uitvoerend-lintblauw/index.d.ts +24 -19
  45. package/dist/uitvoerend-lintblauw/index.js +23 -20
  46. package/dist/uitvoerend-lintblauw/index.json +21 -19
  47. package/dist/uitvoerend-lintblauw/index.tokens.json +33 -31
  48. package/dist/uitvoerend-lintblauw/root.css +21 -18
  49. package/dist/uitvoerend-lintblauw/tokens.d.ts +31 -28
  50. package/dist/uitvoerend-lintblauw/tokens.js +446 -531
  51. package/dist/uitvoerend-oranje/_variables.scss +21 -18
  52. package/dist/uitvoerend-oranje/index.css +21 -18
  53. package/dist/uitvoerend-oranje/index.d.ts +24 -19
  54. package/dist/uitvoerend-oranje/index.js +23 -20
  55. package/dist/uitvoerend-oranje/index.json +21 -19
  56. package/dist/uitvoerend-oranje/index.tokens.json +33 -31
  57. package/dist/uitvoerend-oranje/root.css +21 -18
  58. package/dist/uitvoerend-oranje/tokens.d.ts +31 -28
  59. package/dist/uitvoerend-oranje/tokens.js +446 -531
  60. package/dist/uitvoerend-paars/_variables.scss +21 -18
  61. package/dist/uitvoerend-paars/index.css +21 -18
  62. package/dist/uitvoerend-paars/index.d.ts +24 -19
  63. package/dist/uitvoerend-paars/index.js +23 -20
  64. package/dist/uitvoerend-paars/index.json +21 -19
  65. package/dist/uitvoerend-paars/index.tokens.json +33 -31
  66. package/dist/uitvoerend-paars/root.css +21 -18
  67. package/dist/uitvoerend-paars/tokens.d.ts +31 -28
  68. package/dist/uitvoerend-paars/tokens.js +446 -531
  69. package/dist/uitvoerend-robijnrood/_variables.scss +21 -18
  70. package/dist/uitvoerend-robijnrood/index.css +21 -18
  71. package/dist/uitvoerend-robijnrood/index.d.ts +24 -19
  72. package/dist/uitvoerend-robijnrood/index.js +23 -20
  73. package/dist/uitvoerend-robijnrood/index.json +21 -19
  74. package/dist/uitvoerend-robijnrood/index.tokens.json +33 -31
  75. package/dist/uitvoerend-robijnrood/root.css +21 -18
  76. package/dist/uitvoerend-robijnrood/tokens.d.ts +31 -28
  77. package/dist/uitvoerend-robijnrood/tokens.js +446 -531
  78. package/figma/figma.tokens.json +90 -171
  79. package/package.json +4 -3
  80. package/src/generated/base.tokens.json +89 -170
  81. package/src/generated/kern-lintblauw/tokens.json +89 -170
  82. package/src/generated/themes.json +623 -1190
  83. package/src/generated/uitvoerend-groen/tokens.json +89 -170
  84. package/src/generated/uitvoerend-hemelblauw/tokens.json +89 -170
  85. package/src/generated/uitvoerend-lintblauw/tokens.json +89 -170
  86. package/src/generated/uitvoerend-oranje/tokens.json +89 -170
  87. package/src/generated/uitvoerend-paars/tokens.json +89 -170
  88. package/src/generated/uitvoerend-robijnrood/tokens.json +89 -170
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rijkshuisstijl-community/design-tokens",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
4
4
  "author": "Community for NL Design System",
5
5
  "description": "Example design tokens",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,7 +23,7 @@
23
23
  "npm-run-all": "4.1.5",
24
24
  "rimraf": "6.0.1",
25
25
  "style-dictionary": "5.0.4",
26
- "token-transformer": "0.0.33"
26
+ "vitest": "3.2.4"
27
27
  },
28
28
  "scripts": {
29
29
  "clean": "rimraf dist/ src/generated/",
@@ -31,6 +31,7 @@
31
31
  "build:figma-tokens": "node ./token-transformer.mjs",
32
32
  "build:style-dictionary": "node build.mjs",
33
33
  "watch": "npm-run-all watch:**",
34
- "watch:style-dictionary": "chokidar 'src/**/*.tokens.json' 'figma/**/*.tokens.json' --follow-symlinks --command 'npm-run-all build:figma-tokens build:style-dictionary' --ignore '/src/generated/'"
34
+ "watch:style-dictionary": "chokidar 'src/**/*.tokens.json' 'figma/**/*.tokens.json' --follow-symlinks --command 'npm-run-all build:figma-tokens build:style-dictionary' --ignore '/src/generated/'",
35
+ "test": "vitest run"
35
36
  }
36
37
  }