@rijkshuisstijl-community/design-tokens 1.0.0-alpha.9 → 1.0.0-alpha.90

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 (47) hide show
  1. package/LICENSE.md +7 -282
  2. package/README.md +21 -3
  3. package/dist/_variables.scss +1174 -295
  4. package/dist/index.css +1174 -295
  5. package/dist/index.d.ts +1148 -270
  6. package/dist/index.js +1174 -295
  7. package/dist/index.json +1173 -294
  8. package/dist/index.tokens.json +1742 -588
  9. package/dist/root.css +1174 -295
  10. package/dist/tokens.d.ts +1659 -504
  11. package/dist/tokens.js +25834 -4615
  12. package/dist/tokens.json +27768 -0
  13. package/dist/variables.less +1174 -295
  14. package/figma/figma.tokens.json +6957 -0
  15. package/package.json +15 -12
  16. package/src/common/utrecht/focus.tokens.json +2 -2
  17. package/src/generated/figma.tokens.json +5520 -0
  18. package/style-dictionary.config.json +4 -0
  19. package/token-transformer.mjs +49 -0
  20. package/src/brand/rhc/color.tokens.json +0 -103
  21. package/src/brand/rhc/font.tokens.json +0 -34
  22. package/src/components/basiselementen/document.tokens.json +0 -15
  23. package/src/components/rvo/button.tokens.json +0 -33
  24. package/src/components/rvo/checkbox.tokens.json +0 -32
  25. package/src/components/rvo/custom-radio-button.tokens.json +0 -24
  26. package/src/components/rvo/heading.tokens.json +0 -24
  27. package/src/components/rvo/logo.tokens.json +0 -13
  28. package/src/components/rvo/select.tokens.json +0 -15
  29. package/src/components/utrecht/breadcrumbs.tokens.json +0 -66
  30. package/src/components/utrecht/button.tokens.json +0 -120
  31. package/src/components/utrecht/custom-radio-button.tokens.json +0 -53
  32. package/src/components/utrecht/data-list.tokens.json +0 -91
  33. package/src/components/utrecht/document.tokens.json +0 -12
  34. package/src/components/utrecht/form-field.tokens.json +0 -21
  35. package/src/components/utrecht/form-fieldset.tokens.json +0 -27
  36. package/src/components/utrecht/form-input.tokens.json +0 -42
  37. package/src/components/utrecht/form-label.tokens.json +0 -23
  38. package/src/components/utrecht/heading-1.tokens.json +0 -13
  39. package/src/components/utrecht/heading-2.tokens.json +0 -13
  40. package/src/components/utrecht/heading-3.tokens.json +0 -13
  41. package/src/components/utrecht/heading-4.tokens.json +0 -13
  42. package/src/components/utrecht/heading-5.tokens.json +0 -13
  43. package/src/components/utrecht/heading-6.tokens.json +0 -13
  44. package/src/components/utrecht/link.tokens.json +0 -44
  45. package/src/components/utrecht/ordered-list.tokens.json +0 -19
  46. package/src/components/utrecht/paragraph.tokens.json +0 -23
  47. package/src/components/utrecht/unordered-list.tokens.json +0 -31
package/package.json CHANGED
@@ -1,34 +1,37 @@
1
1
  {
2
- "version": "1.0.0-alpha.9",
2
+ "name": "@rijkshuisstijl-community/design-tokens",
3
+ "version": "1.0.0-alpha.90",
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:**",
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:scss": "sass --no-source-map src/:dist/",
23
25
  "build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.json",
24
26
  "watch": "npm-run-all watch:**",
25
- "watch:style-dictionary": "chokidar --follow-symlinks --initial --command 'npm run build' 'src/**/*.tokens.json'"
27
+ "watch:style-dictionary": "chokidar --follow-symlinks --command 'npm-run-all clean build:figma-tokens build:style-dictionary' 'src/**/*.tokens.json'"
26
28
  },
27
29
  "devDependencies": {
28
30
  "chokidar-cli": "3.0.0",
29
31
  "npm-run-all": "4.1.5",
30
- "rimraf": "5.0.1",
31
- "style-dictionary": "3.8.0"
32
+ "rimraf": "6.0.1",
33
+ "style-dictionary": "3.9.2",
34
+ "token-transformer": "0.0.33"
32
35
  },
33
- "gitHead": "0ebb5b835053731c4c65b00901b4e4f2265527e3"
36
+ "gitHead": "3e73e0cceecb9d0b26fb6f1ec8e07eca97f7ea90"
34
37
  }
@@ -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
  }