@utrecht/form-field-css 2.0.2 → 3.0.1

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/form-field-css
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f759fc: Ensure package is published with provenance
8
+
9
+ ## 3.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - eabbf23: Publish `tokens.json` in DTCG format: `$value` instead of `value`, standard `$type`, etcetera.
14
+
3
15
  ## 2.0.2
4
16
 
5
17
  ### Patch Changes
package/dist/tokens.mjs CHANGED
@@ -3,66 +3,48 @@ export default {
3
3
  "form-field": {
4
4
  "margin-block-start": {
5
5
  "$extensions": {
6
- "nl.nldesignsystem.css.property": {
7
- "syntax": "<length>",
8
- "inherits": true
9
- },
10
- "nl.nldesignsystem.figma.supports-token": false
6
+ "nl.nldesignsystem.css-property-syntax": "<length>",
7
+ "nl.nldesignsystem.figma-implementation": false
11
8
  },
12
- "type": "spacing"
9
+ "$type": "dimension"
13
10
  },
14
11
  "margin-block-end": {
15
12
  "$extensions": {
16
- "nl.nldesignsystem.css.property": {
17
- "syntax": "<length>",
18
- "inherits": true
19
- },
20
- "nl.nldesignsystem.figma.supports-token": false
13
+ "nl.nldesignsystem.css-property-syntax": "<length>",
14
+ "nl.nldesignsystem.figma-implementation": false
21
15
  },
22
- "type": "spacing"
16
+ "$type": "dimension"
23
17
  },
24
18
  "invalid": {
25
19
  "border-inline-start-color": {
26
20
  "$extensions": {
27
- "nl.nldesignsystem.css.property": {
28
- "syntax": "<color>",
29
- "inherits": true
30
- },
31
- "nl.nldesignsystem.figma.supports-token": true
21
+ "nl.nldesignsystem.css-property-syntax": "<color>",
22
+ "nl.nldesignsystem.figma-implementation": true
32
23
  },
33
- "type": "color"
24
+ "$type": "color"
34
25
  },
35
26
  "border-inline-start-width": {
36
27
  "$extensions": {
37
- "nl.nldesignsystem.css.property": {
38
- "syntax": "<length>",
39
- "inherits": true
40
- },
41
- "nl.nldesignsystem.figma.supports-token": true
28
+ "nl.nldesignsystem.css-property-syntax": "<length>",
29
+ "nl.nldesignsystem.figma-implementation": true
42
30
  },
43
- "type": "borderWidth"
31
+ "$type": "dimension"
44
32
  },
45
33
  "padding-inline-start": {
46
34
  "$extensions": {
47
- "nl.nldesignsystem.css.property": {
48
- "syntax": "<length>",
49
- "inherits": true
50
- },
51
- "nl.nldesignsystem.figma.supports-token": true
35
+ "nl.nldesignsystem.css-property-syntax": "<length>",
36
+ "nl.nldesignsystem.figma-implementation": true
52
37
  },
53
- "type": "spacing"
38
+ "$type": "dimension"
54
39
  }
55
40
  },
56
41
  "label": {
57
42
  "margin-block-end": {
58
43
  "$extensions": {
59
- "nl.nldesignsystem.css.property": {
60
- "syntax": "<length>",
61
- "inherits": true
62
- },
63
- "nl.nldesignsystem.figma.supports-token": false
44
+ "nl.nldesignsystem.css-property-syntax": "<length>",
45
+ "nl.nldesignsystem.figma-implementation": false
64
46
  },
65
- "type": "spacing"
47
+ "$type": "dimension"
66
48
  }
67
49
  }
68
50
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.2",
2
+ "version": "3.0.1",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Form field component for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -18,7 +18,8 @@
18
18
  "nl-design-system"
19
19
  ],
20
20
  "publishConfig": {
21
- "access": "public"
21
+ "access": "public",
22
+ "provenance": true
22
23
  },
23
24
  "repository": {
24
25
  "type": "git+ssh",
package/src/tokens.json CHANGED
@@ -3,66 +3,48 @@
3
3
  "form-field": {
4
4
  "margin-block-start": {
5
5
  "$extensions": {
6
- "nl.nldesignsystem.css.property": {
7
- "syntax": "<length>",
8
- "inherits": true
9
- },
10
- "nl.nldesignsystem.figma.supports-token": false
6
+ "nl.nldesignsystem.css-property-syntax": "<length>",
7
+ "nl.nldesignsystem.figma-implementation": false
11
8
  },
12
- "type": "spacing"
9
+ "$type": "dimension"
13
10
  },
14
11
  "margin-block-end": {
15
12
  "$extensions": {
16
- "nl.nldesignsystem.css.property": {
17
- "syntax": "<length>",
18
- "inherits": true
19
- },
20
- "nl.nldesignsystem.figma.supports-token": false
13
+ "nl.nldesignsystem.css-property-syntax": "<length>",
14
+ "nl.nldesignsystem.figma-implementation": false
21
15
  },
22
- "type": "spacing"
16
+ "$type": "dimension"
23
17
  },
24
18
  "invalid": {
25
19
  "border-inline-start-color": {
26
20
  "$extensions": {
27
- "nl.nldesignsystem.css.property": {
28
- "syntax": "<color>",
29
- "inherits": true
30
- },
31
- "nl.nldesignsystem.figma.supports-token": true
21
+ "nl.nldesignsystem.css-property-syntax": "<color>",
22
+ "nl.nldesignsystem.figma-implementation": true
32
23
  },
33
- "type": "color"
24
+ "$type": "color"
34
25
  },
35
26
  "border-inline-start-width": {
36
27
  "$extensions": {
37
- "nl.nldesignsystem.css.property": {
38
- "syntax": "<length>",
39
- "inherits": true
40
- },
41
- "nl.nldesignsystem.figma.supports-token": true
28
+ "nl.nldesignsystem.css-property-syntax": "<length>",
29
+ "nl.nldesignsystem.figma-implementation": true
42
30
  },
43
- "type": "borderWidth"
31
+ "$type": "dimension"
44
32
  },
45
33
  "padding-inline-start": {
46
34
  "$extensions": {
47
- "nl.nldesignsystem.css.property": {
48
- "syntax": "<length>",
49
- "inherits": true
50
- },
51
- "nl.nldesignsystem.figma.supports-token": true
35
+ "nl.nldesignsystem.css-property-syntax": "<length>",
36
+ "nl.nldesignsystem.figma-implementation": true
52
37
  },
53
- "type": "spacing"
38
+ "$type": "dimension"
54
39
  }
55
40
  },
56
41
  "label": {
57
42
  "margin-block-end": {
58
43
  "$extensions": {
59
- "nl.nldesignsystem.css.property": {
60
- "syntax": "<length>",
61
- "inherits": true
62
- },
63
- "nl.nldesignsystem.figma.supports-token": false
44
+ "nl.nldesignsystem.css-property-syntax": "<length>",
45
+ "nl.nldesignsystem.figma-implementation": false
64
46
  },
65
- "type": "spacing"
47
+ "$type": "dimension"
66
48
  }
67
49
  }
68
50
  }