@utrecht/form-field-description-css 1.1.0 → 1.2.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/dist/index.css CHANGED
@@ -12,6 +12,7 @@
12
12
  font-family: var(--utrecht-document-font-family, inherit);
13
13
  font-size: var(--utrecht-form-field-description-font-size, inherit);
14
14
  font-style: var(--utrecht-form-field-description-font-style);
15
+ line-height: var(--utrecht-form-field-description-line-height);
15
16
  margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
16
17
  margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
17
18
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.2.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Form field description component for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "main": "dist/index.css",
12
12
  "devDependencies": {
13
- "rollup": "3.29.4"
13
+ "rollup": "4.18.0"
14
14
  },
15
15
  "keywords": [
16
16
  "nl-design-system"
@@ -18,6 +18,11 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
+ "repository": {
22
+ "type": "git+ssh",
23
+ "url": "git@github.com:nl-design-system/utrecht.git",
24
+ "directory": "components/form-field-description"
25
+ },
21
26
  "scripts": {
22
27
  "build": "rollup -c ../rollup.config.mjs",
23
28
  "clean": "rimraf dist"
package/src/_mixin.scss CHANGED
@@ -10,6 +10,7 @@
10
10
  font-family: var(--utrecht-document-font-family, inherit);
11
11
  font-size: var(--utrecht-form-field-description-font-size, inherit);
12
12
  font-style: var(--utrecht-form-field-description-font-style);
13
+ line-height: var(--utrecht-form-field-description-line-height);
13
14
  margin-block-end: calc(
14
15
  var(--utrecht-space-around, 0) *
15
16
  var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0))
package/src/tokens.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "nl.nldesignsystem.css.property": {
7
7
  "syntax": "<color>",
8
8
  "inherits": true
9
- }
9
+ },
10
+ "nl.nldesignsystem.figma.supports-token": true
10
11
  },
11
12
  "type": "color"
12
13
  },
@@ -15,7 +16,8 @@
15
16
  "nl.nldesignsystem.css.property": {
16
17
  "syntax": "*",
17
18
  "inherits": true
18
- }
19
+ },
20
+ "nl.nldesignsystem.figma.supports-token": true
19
21
  },
20
22
  "type": "fontFamilies"
21
23
  },
@@ -24,7 +26,8 @@
24
26
  "nl.nldesignsystem.css.property": {
25
27
  "syntax": "<length>",
26
28
  "inherits": true
27
- }
29
+ },
30
+ "nl.nldesignsystem.figma.supports-token": true
28
31
  },
29
32
  "type": "fontSizes"
30
33
  },
@@ -33,9 +36,20 @@
33
36
  "nl.nldesignsystem.css.property": {
34
37
  "syntax": "italic",
35
38
  "inherits": true
36
- }
39
+ },
40
+ "nl.nldesignsystem.figma.supports-token": false
37
41
  }
38
42
  },
43
+ "line-height": {
44
+ "$extensions": {
45
+ "nl.nldesignsystem.css.property": {
46
+ "syntax": "<length>",
47
+ "inherits": true
48
+ },
49
+ "nl.nldesignsystem.figma.supports-token": true
50
+ },
51
+ "type": "lineHeights"
52
+ },
39
53
  "margin-block-start": {
40
54
  "$extensions": {
41
55
  "nl.nldesignsystem.css.property": {
@@ -62,7 +76,10 @@
62
76
  "nl.nldesignsystem.css.property": {
63
77
  "syntax": "<number>",
64
78
  "inherits": true
65
- }
79
+ },
80
+ "nl.nldesignsystem.deprecated": true,
81
+ "nl.nldesignsystem.redirect": "utrecht.form-field-error-message.font-weight",
82
+ "nl.nldesignsystem.figma.supports-token": false
66
83
  }
67
84
  },
68
85
  "color": {
@@ -70,7 +87,10 @@
70
87
  "nl.nldesignsystem.css.property": {
71
88
  "syntax": "<color>",
72
89
  "inherits": true
73
- }
90
+ },
91
+ "nl.nldesignsystem.deprecated": true,
92
+ "nl.nldesignsystem.redirect": "utrecht.form-field-error-message.color",
93
+ "nl.nldesignsystem.figma.supports-token": false
74
94
  }
75
95
  }
76
96
  },