@rijkshuisstijl-community/design-tokens 1.0.0-alpha.16 → 1.0.0-alpha.160

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 +1198 -301
  5. package/dist/index.css +1198 -301
  6. package/dist/index.d.ts +1175 -280
  7. package/dist/index.js +1197 -300
  8. package/dist/index.json +1196 -299
  9. package/dist/index.tokens.json +1765 -594
  10. package/dist/root.css +1198 -301
  11. package/dist/tokens.d.ts +1706 -534
  12. package/dist/tokens.js +26247 -4623
  13. package/dist/uitvoerend-mintgroen-focus/_variables.scss +1205 -0
  14. package/dist/uitvoerend-mintgroen-focus/index.css +1208 -0
  15. package/dist/uitvoerend-mintgroen-focus/index.d.ts +1206 -0
  16. package/dist/uitvoerend-mintgroen-focus/index.js +1206 -0
  17. package/dist/uitvoerend-mintgroen-focus/index.json +1203 -0
  18. package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1895 -0
  19. package/dist/uitvoerend-mintgroen-focus/root.css +1208 -0
  20. package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1918 -0
  21. package/dist/uitvoerend-mintgroen-focus/tokens.js +28272 -0
  22. package/dist/uitvoerend-violet/_variables.scss +1198 -0
  23. package/dist/uitvoerend-violet/index.css +1201 -0
  24. package/dist/uitvoerend-violet/index.d.ts +1199 -0
  25. package/dist/uitvoerend-violet/index.js +1199 -0
  26. package/dist/uitvoerend-violet/index.json +1196 -0
  27. package/dist/uitvoerend-violet/index.tokens.json +1852 -0
  28. package/dist/uitvoerend-violet/root.css +1201 -0
  29. package/dist/uitvoerend-violet/tokens.d.ts +1875 -0
  30. package/dist/uitvoerend-violet/tokens.js +28071 -0
  31. package/dist/uitvoerend-violet-oud/_variables.scss +1198 -0
  32. package/dist/uitvoerend-violet-oud/index.css +1201 -0
  33. package/dist/uitvoerend-violet-oud/index.d.ts +1199 -0
  34. package/dist/uitvoerend-violet-oud/index.js +1199 -0
  35. package/dist/uitvoerend-violet-oud/index.json +1196 -0
  36. package/dist/uitvoerend-violet-oud/index.tokens.json +1852 -0
  37. package/dist/uitvoerend-violet-oud/root.css +1201 -0
  38. package/dist/uitvoerend-violet-oud/tokens.d.ts +1875 -0
  39. package/dist/uitvoerend-violet-oud/tokens.js +28071 -0
  40. package/dist/wetgevend/_variables.scss +1198 -0
  41. package/dist/wetgevend/index.css +1201 -0
  42. package/dist/wetgevend/index.d.ts +1199 -0
  43. package/dist/wetgevend/index.js +1199 -0
  44. package/dist/wetgevend/index.json +1196 -0
  45. package/dist/wetgevend/index.tokens.json +1852 -0
  46. package/dist/wetgevend/root.css +1201 -0
  47. package/dist/wetgevend/tokens.d.ts +1875 -0
  48. package/dist/wetgevend/tokens.js +28071 -0
  49. package/figma/figma.tokens.json +7683 -0
  50. package/package.json +15 -13
  51. package/src/common/utrecht/focus.tokens.json +2 -2
  52. package/src/generated/base.tokens.json +5618 -0
  53. package/src/generated/themes.json +22466 -0
  54. package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5660 -0
  55. package/src/generated/uitvoerend-violet/tokens.json +5596 -0
  56. package/src/generated/uitvoerend-violet-oud/tokens.json +5596 -0
  57. package/src/generated/wetgevend/tokens.json +5596 -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
@@ -1,31 +0,0 @@
1
- {
2
- "utrecht": {
3
- "unordered-list": {
4
- "margin-block-start": {
5
- "value": "0"
6
- },
7
- "margin-block-end": {
8
- "value": "16px"
9
- },
10
- "item": {
11
- "margin-block-start": { "value": "0.5ex" },
12
- "margin-block-end": { "value": "0.5ex" },
13
- "padding-inline-start": {
14
- "value": "0"
15
- },
16
- "marker": {
17
- "value": "initial"
18
- }
19
- },
20
- "marker": {
21
- "color": {}
22
- },
23
- "padding-inline-start": {
24
- "value": "20px"
25
- },
26
- "list-style-type": {
27
- "value": "square"
28
- }
29
- }
30
- }
31
- }
@@ -1,101 +0,0 @@
1
- {
2
- "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
3
- "platforms": {
4
- "js": {
5
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
6
- "buildPath": "dist/",
7
- "files": [
8
- {
9
- "destination": "index.js",
10
- "format": "javascript/es6"
11
- },
12
- {
13
- "format": "javascript/module",
14
- "destination": "tokens.js"
15
- }
16
- ]
17
- },
18
- "json": {
19
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
20
- "buildPath": "dist/",
21
- "files": [
22
- {
23
- "destination": "index.tokens.json",
24
- "format": "json/nested"
25
- },
26
- {
27
- "destination": "index.json",
28
- "format": "json/flat"
29
- }
30
- ]
31
- },
32
- "css": {
33
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
34
- "buildPath": "dist/",
35
- "files": [
36
- {
37
- "destination": "root.css",
38
- "format": "css/variables",
39
- "options": {
40
- "outputReferences": true
41
- }
42
- }
43
- ]
44
- },
45
- "css-theme": {
46
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
47
- "buildPath": "dist/",
48
- "files": [
49
- {
50
- "destination": "index.css",
51
- "format": "css/variables",
52
- "options": {
53
- "selector": ".rhc-theme",
54
- "outputReferences": true
55
- }
56
- }
57
- ]
58
- },
59
- "scss": {
60
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
61
- "buildPath": "dist/",
62
- "files": [
63
- {
64
- "destination": "_variables.scss",
65
- "format": "scss/variables",
66
- "options": {
67
- "outputReferences": true
68
- }
69
- }
70
- ]
71
- },
72
- "typescript": {
73
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
74
- "transformGroup": "js",
75
- "buildPath": "dist/",
76
- "files": [
77
- {
78
- "format": "typescript/es6-declarations",
79
- "destination": "index.d.ts"
80
- },
81
- {
82
- "format": "typescript/module-declarations",
83
- "destination": "tokens.d.ts"
84
- }
85
- ]
86
- },
87
- "less": {
88
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
89
- "buildPath": "dist/",
90
- "files": [
91
- {
92
- "destination": "variables.less",
93
- "format": "less/variables",
94
- "options": {
95
- "outputReferences": true
96
- }
97
- }
98
- ]
99
- }
100
- }
101
- }