@rijkshuisstijl-community/design-tokens 1.0.0-alpha.14 → 1.0.0-alpha.141

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/LICENSE.md +7 -282
  2. package/README.md +21 -3
  3. package/build.mjs +129 -0
  4. package/dist/_variables.scss +1190 -300
  5. package/dist/index.css +1190 -300
  6. package/dist/index.d.ts +1168 -280
  7. package/dist/index.js +1190 -300
  8. package/dist/index.json +1189 -299
  9. package/dist/index.tokens.json +1754 -594
  10. package/dist/root.css +1190 -300
  11. package/dist/tokens.d.ts +1698 -537
  12. package/dist/tokens.js +26487 -5034
  13. package/dist/uitvoerend-mintgroen-focus/_variables.scss +1198 -0
  14. package/dist/uitvoerend-mintgroen-focus/index.css +1201 -0
  15. package/dist/uitvoerend-mintgroen-focus/index.d.ts +1199 -0
  16. package/dist/uitvoerend-mintgroen-focus/index.js +1199 -0
  17. package/dist/uitvoerend-mintgroen-focus/index.json +1196 -0
  18. package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1884 -0
  19. package/dist/uitvoerend-mintgroen-focus/root.css +1201 -0
  20. package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1907 -0
  21. package/dist/uitvoerend-mintgroen-focus/tokens.js +28101 -0
  22. package/dist/uitvoerend-violet/_variables.scss +1191 -0
  23. package/dist/uitvoerend-violet/index.css +1194 -0
  24. package/dist/uitvoerend-violet/index.d.ts +1192 -0
  25. package/dist/uitvoerend-violet/index.js +1192 -0
  26. package/dist/uitvoerend-violet/index.json +1189 -0
  27. package/dist/uitvoerend-violet/index.tokens.json +1841 -0
  28. package/dist/uitvoerend-violet/root.css +1194 -0
  29. package/dist/uitvoerend-violet/tokens.d.ts +1864 -0
  30. package/dist/uitvoerend-violet/tokens.js +27900 -0
  31. package/dist/uitvoerend-violet-oud/_variables.scss +1191 -0
  32. package/dist/uitvoerend-violet-oud/index.css +1194 -0
  33. package/dist/uitvoerend-violet-oud/index.d.ts +1192 -0
  34. package/dist/uitvoerend-violet-oud/index.js +1192 -0
  35. package/dist/uitvoerend-violet-oud/index.json +1189 -0
  36. package/dist/uitvoerend-violet-oud/index.tokens.json +1841 -0
  37. package/dist/uitvoerend-violet-oud/root.css +1194 -0
  38. package/dist/uitvoerend-violet-oud/tokens.d.ts +1864 -0
  39. package/dist/uitvoerend-violet-oud/tokens.js +27900 -0
  40. package/dist/wetgevend/_variables.scss +1191 -0
  41. package/dist/wetgevend/index.css +1194 -0
  42. package/dist/wetgevend/index.d.ts +1192 -0
  43. package/dist/wetgevend/index.js +1192 -0
  44. package/dist/wetgevend/index.json +1189 -0
  45. package/dist/wetgevend/index.tokens.json +1841 -0
  46. package/dist/wetgevend/root.css +1194 -0
  47. package/dist/wetgevend/tokens.d.ts +1864 -0
  48. package/dist/wetgevend/tokens.js +27900 -0
  49. package/figma/figma.tokens.json +7651 -0
  50. package/package.json +15 -13
  51. package/src/common/utrecht/focus.tokens.json +2 -2
  52. package/src/generated/base.tokens.json +5586 -0
  53. package/src/generated/themes.json +22338 -0
  54. package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5628 -0
  55. package/src/generated/uitvoerend-violet/tokens.json +5564 -0
  56. package/src/generated/uitvoerend-violet-oud/tokens.json +5564 -0
  57. package/src/generated/wetgevend/tokens.json +5564 -0
  58. package/token-transformer.mjs +85 -0
  59. package/dist/variables.less +0 -306
  60. package/src/brand/rhc/color.tokens.json +0 -103
  61. package/src/brand/rhc/font.tokens.json +0 -34
  62. package/src/components/basiselementen/document.tokens.json +0 -15
  63. package/src/components/rvo/button.tokens.json +0 -33
  64. package/src/components/rvo/checkbox.tokens.json +0 -32
  65. package/src/components/rvo/custom-radio-button.tokens.json +0 -24
  66. package/src/components/rvo/heading.tokens.json +0 -24
  67. package/src/components/rvo/logo.tokens.json +0 -13
  68. package/src/components/rvo/select.tokens.json +0 -15
  69. package/src/components/utrecht/breadcrumbs.tokens.json +0 -66
  70. package/src/components/utrecht/button.tokens.json +0 -120
  71. package/src/components/utrecht/custom-radio-button.tokens.json +0 -53
  72. package/src/components/utrecht/data-list.tokens.json +0 -91
  73. package/src/components/utrecht/document.tokens.json +0 -12
  74. package/src/components/utrecht/form-field.tokens.json +0 -21
  75. package/src/components/utrecht/form-fieldset.tokens.json +0 -27
  76. package/src/components/utrecht/form-input.tokens.json +0 -42
  77. package/src/components/utrecht/form-label.tokens.json +0 -23
  78. package/src/components/utrecht/heading-1.tokens.json +0 -13
  79. package/src/components/utrecht/heading-2.tokens.json +0 -13
  80. package/src/components/utrecht/heading-3.tokens.json +0 -13
  81. package/src/components/utrecht/heading-4.tokens.json +0 -13
  82. package/src/components/utrecht/heading-5.tokens.json +0 -13
  83. package/src/components/utrecht/heading-6.tokens.json +0 -13
  84. package/src/components/utrecht/link.tokens.json +0 -44
  85. package/src/components/utrecht/ordered-list.tokens.json +0 -19
  86. package/src/components/utrecht/paragraph.tokens.json +0 -23
  87. package/src/components/utrecht/unordered-list.tokens.json +0 -31
  88. package/style-dictionary.config.json +0 -101
package/package.json CHANGED
@@ -1,34 +1,36 @@
1
1
  {
2
- "version": "1.0.0-alpha.14",
2
+ "name": "@rijkshuisstijl-community/design-tokens",
3
+ "version": "1.0.0-alpha.141",
3
4
  "author": "Community for NL Design System",
4
5
  "description": "Example design tokens",
5
- "license": "EUPL-1.2",
6
- "name": "@rijkshuisstijl-community/design-tokens",
6
+ "license": "SEE LICENSE IN LICENSE.md",
7
7
  "keywords": [
8
8
  "nl-design-system"
9
9
  ],
10
10
  "private": false,
11
11
  "publishConfig": {
12
- "access": "restricted",
12
+ "access": "public",
13
13
  "registry": "https://registry.npmjs.org/"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git+ssh",
17
- "url": "git@github.com:nl-design-system/rijkshuisstijl-community.git"
17
+ "url": "git@github.com:nl-design-system/rijkshuisstijl-community.git",
18
+ "directory": "proprietary/design-tokens"
18
19
  },
19
20
  "scripts": {
20
- "clean": "rimraf dist/",
21
- "prebuild": "npm run clean",
22
- "build": "npm-run-all build:**",
23
- "build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.json",
21
+ "clean": "rimraf dist/* src/generated/*",
22
+ "build": "npm-run-all clean build:figma-tokens build:style-dictionary",
23
+ "build:figma-tokens": "node ./token-transformer.mjs",
24
+ "build:style-dictionary": "node build.mjs",
24
25
  "watch": "npm-run-all watch:**",
25
- "watch:style-dictionary": "chokidar --follow-symlinks --initial --command 'npm run build' 'src/**/*.tokens.json'"
26
+ "watch:style-dictionary": "chokidar --follow-symlinks --command 'npm-run-all clean build:figma-tokens build:style-dictionary' 'src/**/*.tokens.json'"
26
27
  },
27
28
  "devDependencies": {
28
29
  "chokidar-cli": "3.0.0",
29
30
  "npm-run-all": "4.1.5",
30
- "rimraf": "5.0.1",
31
- "style-dictionary": "3.8.0"
31
+ "rimraf": "6.0.1",
32
+ "style-dictionary": "3.9.2",
33
+ "token-transformer": "0.0.33"
32
34
  },
33
- "gitHead": "2e849191c177a372566b7a28f8e2d2ab7b71d34d"
35
+ "gitHead": "c681609b8e9114fcd054ffc8310b92bc35a97a76"
34
36
  }
@@ -2,7 +2,7 @@
2
2
  "utrecht": {
3
3
  "focus": {
4
4
  "background-color": {},
5
- "outline-color": { "value": "{basiselementen.color.zwart}" },
5
+ "outline-color": { "value": "{rhc.color.zwart}" },
6
6
  "outline-offset": {
7
7
  "value": "3px",
8
8
  "comment": "This is only for buttons. Form fields (input, select and textarea) and links do not have an offset"
@@ -10,7 +10,7 @@
10
10
  "outline-style": { "value": "dashed" },
11
11
  "outline-width": { "value": "2px" },
12
12
  "inverse": {
13
- "outline-color": { "value": "{basiselementen.color.wit}" }
13
+ "outline-color": { "value": "{rhc.color.wit}" }
14
14
  }
15
15
  }
16
16
  }