@utrecht/document-css 2.0.0 → 3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @utrecht/document-css
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - eabbf23: Publish `tokens.json` in DTCG format: `$value` instead of `value`, standard `$type`, etcetera.
8
+
9
+ ## 2.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 9b3cb1e: Release with npm provenance.
14
+
3
15
  ## 2.0.0
4
16
 
5
17
  ### Major Changes
package/dist/tokens.mjs CHANGED
@@ -3,66 +3,48 @@ export default {
3
3
  "document": {
4
4
  "background-color": {
5
5
  "$extensions": {
6
- "nl.nldesignsystem.css.property": {
7
- "syntax": "<color>",
8
- "inherits": true
9
- },
10
- "nl.nldesignsystem.figma.supports-token": true
6
+ "nl.nldesignsystem.css-property-syntax": "<color>",
7
+ "nl.nldesignsystem.figma-implementation": true
11
8
  },
12
- "type": "color"
9
+ "$type": "color"
13
10
  },
14
11
  "color": {
15
12
  "$extensions": {
16
- "nl.nldesignsystem.css.property": {
17
- "syntax": "<color>",
18
- "inherits": true
19
- },
20
- "nl.nldesignsystem.figma.supports-token": true
13
+ "nl.nldesignsystem.css-property-syntax": "<color>",
14
+ "nl.nldesignsystem.figma-implementation": true
21
15
  },
22
- "type": "color"
16
+ "$type": "color"
23
17
  },
24
18
  "font-family": {
25
19
  "$extensions": {
26
- "nl.nldesignsystem.css.property": {
27
- "syntax": "*",
28
- "inherits": true
29
- },
30
- "nl.nldesignsystem.figma.supports-token": true
20
+ "nl.nldesignsystem.css-property-syntax": "*",
21
+ "nl.nldesignsystem.figma-implementation": true
31
22
  },
32
- "type": "fontFamilies"
23
+ "$type": "fontFamily"
33
24
  },
34
25
  "font-size": {
35
26
  "$extensions": {
36
- "nl.nldesignsystem.css.property": {
37
- "syntax": "<length>",
38
- "inherits": true
39
- },
40
- "nl.nldesignsystem.figma.supports-token": true
27
+ "nl.nldesignsystem.css-property-syntax": "<length>",
28
+ "nl.nldesignsystem.figma-implementation": true
41
29
  },
42
- "type": "fontSizes"
30
+ "$type": "dimension"
43
31
  },
44
32
  "font-weight": {
45
33
  "$extensions": {
46
- "nl.nldesignsystem.css.property": {
47
- "syntax": "<number>",
48
- "inherits": true
49
- },
50
- "nl.nldesignsystem.figma.supports-token": true
34
+ "nl.nldesignsystem.css-property-syntax": "<number>",
35
+ "nl.nldesignsystem.figma-implementation": true
51
36
  },
52
- "type": "fontWeights"
37
+ "$type": "fontWeight"
53
38
  },
54
39
  "line-height": {
55
40
  "$extensions": {
56
- "nl.nldesignsystem.css.property": {
57
- "syntax": [
58
- "<length>",
59
- "<number>"
60
- ],
61
- "inherits": true
62
- },
63
- "nl.nldesignsystem.figma.supports-token": true
41
+ "nl.nldesignsystem.css-property-syntax": [
42
+ "<length>",
43
+ "<number>"
44
+ ],
45
+ "nl.nldesignsystem.figma-implementation": true
64
46
  },
65
- "type": "lineHeights"
47
+ "$type": "dimension"
66
48
  }
67
49
  }
68
50
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
2
+ "version": "3.0.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Document component for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "main": "dist/index.css",
14
14
  "devDependencies": {
15
- "@utrecht/build-utils-css": "0.0.3"
15
+ "@utrecht/build-utils-css": "0.0.4"
16
16
  },
17
17
  "keywords": [
18
18
  "nl-design-system"
package/src/tokens.json CHANGED
@@ -3,63 +3,45 @@
3
3
  "document": {
4
4
  "background-color": {
5
5
  "$extensions": {
6
- "nl.nldesignsystem.css.property": {
7
- "syntax": "<color>",
8
- "inherits": true
9
- },
10
- "nl.nldesignsystem.figma.supports-token": true
6
+ "nl.nldesignsystem.css-property-syntax": "<color>",
7
+ "nl.nldesignsystem.figma-implementation": true
11
8
  },
12
- "type": "color"
9
+ "$type": "color"
13
10
  },
14
11
  "color": {
15
12
  "$extensions": {
16
- "nl.nldesignsystem.css.property": {
17
- "syntax": "<color>",
18
- "inherits": true
19
- },
20
- "nl.nldesignsystem.figma.supports-token": true
13
+ "nl.nldesignsystem.css-property-syntax": "<color>",
14
+ "nl.nldesignsystem.figma-implementation": true
21
15
  },
22
- "type": "color"
16
+ "$type": "color"
23
17
  },
24
18
  "font-family": {
25
19
  "$extensions": {
26
- "nl.nldesignsystem.css.property": {
27
- "syntax": "*",
28
- "inherits": true
29
- },
30
- "nl.nldesignsystem.figma.supports-token": true
20
+ "nl.nldesignsystem.css-property-syntax": "*",
21
+ "nl.nldesignsystem.figma-implementation": true
31
22
  },
32
- "type": "fontFamilies"
23
+ "$type": "fontFamily"
33
24
  },
34
25
  "font-size": {
35
26
  "$extensions": {
36
- "nl.nldesignsystem.css.property": {
37
- "syntax": "<length>",
38
- "inherits": true
39
- },
40
- "nl.nldesignsystem.figma.supports-token": true
27
+ "nl.nldesignsystem.css-property-syntax": "<length>",
28
+ "nl.nldesignsystem.figma-implementation": true
41
29
  },
42
- "type": "fontSizes"
30
+ "$type": "dimension"
43
31
  },
44
32
  "font-weight": {
45
33
  "$extensions": {
46
- "nl.nldesignsystem.css.property": {
47
- "syntax": "<number>",
48
- "inherits": true
49
- },
50
- "nl.nldesignsystem.figma.supports-token": true
34
+ "nl.nldesignsystem.css-property-syntax": "<number>",
35
+ "nl.nldesignsystem.figma-implementation": true
51
36
  },
52
- "type": "fontWeights"
37
+ "$type": "fontWeight"
53
38
  },
54
39
  "line-height": {
55
40
  "$extensions": {
56
- "nl.nldesignsystem.css.property": {
57
- "syntax": ["<length>", "<number>"],
58
- "inherits": true
59
- },
60
- "nl.nldesignsystem.figma.supports-token": true
41
+ "nl.nldesignsystem.css-property-syntax": ["<length>", "<number>"],
42
+ "nl.nldesignsystem.figma-implementation": true
61
43
  },
62
- "type": "lineHeights"
44
+ "$type": "dimension"
63
45
  }
64
46
  }
65
47
  }