@utrecht/form-field-description-css 1.4.0 → 1.5.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-description-css
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e20f33c: Provide `.d.mts` file for `.mjs` files in CSS components.
8
+
9
+ ## 1.5.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 725617a: Add `tokens.mjs` and `tokens.d.mts` files to CSS packages.
14
+
3
15
  ## 1.4.0
4
16
 
5
17
  ### Minor Changes
@@ -1 +1 @@
1
- .utrecht-form-field-description{--utrecht-document-color:currentColor;color:var(--utrecht-form-field-description-color);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-form-field-description-font-size,inherit);font-style:var(--utrecht-form-field-description-font-style);line-height:var(--utrecht-form-field-description-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)))}.utrecht-form-field-description>*{--utrecht-space-around:1}.utrecht-form-field-description--distanced{--utrecht-space-around:1}.utrecht-form-field-description--invalid{color:var(--utrecht-form-field-description-invalid-color,var(--utrecht-feedback-invalid-color,var(--utrecht-feedback-danger-color)))}.utrecht-form-field-description--valid{color:var(--utrecht-form-field-description-valid-color,var(--utrecht-feedback-valid-color,var(--utrecht-feedback-safe-color)))}.utrecht-form-field-description--warning{color:var(--utrecht-form-field-description-warning-color,var(--utrecht-feedback-warning-color))}
1
+ .utrecht-form-field-description{--utrecht-document-color:currentColor;color:var(--utrecht-form-field-description-color);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-form-field-description-font-size,inherit);font-style:var(--utrecht-form-field-description-font-style);line-height:var(--utrecht-form-field-description-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)))}.utrecht-form-field-description--distanced,.utrecht-form-field-description>*{--utrecht-space-around:1}.utrecht-form-field-description--invalid{color:var(--utrecht-form-field-description-invalid-color,var(--utrecht-feedback-invalid-color,var(--utrecht-feedback-danger-color)))}.utrecht-form-field-description--valid{color:var(--utrecht-form-field-description-valid-color,var(--utrecht-feedback-valid-color,var(--utrecht-feedback-safe-color)))}.utrecht-form-field-description--warning{color:var(--utrecht-form-field-description-warning-color,var(--utrecht-feedback-warning-color))}
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export default ".utrecht-form-field-description{--utrecht-document-color:currentColor;color:var(--utrecht-form-field-description-color);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-form-field-description-font-size,inherit);font-style:var(--utrecht-form-field-description-font-style);line-height:var(--utrecht-form-field-description-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)))}.utrecht-form-field-description>*{--utrecht-space-around:1}.utrecht-form-field-description--distanced{--utrecht-space-around:1}.utrecht-form-field-description--invalid{color:var(--utrecht-form-field-description-invalid-color,var(--utrecht-feedback-invalid-color,var(--utrecht-feedback-danger-color)))}.utrecht-form-field-description--valid{color:var(--utrecht-form-field-description-valid-color,var(--utrecht-feedback-valid-color,var(--utrecht-feedback-safe-color)))}.utrecht-form-field-description--warning{color:var(--utrecht-form-field-description-warning-color,var(--utrecht-feedback-warning-color))}";
1
+ export default ".utrecht-form-field-description{--utrecht-document-color:currentColor;color:var(--utrecht-form-field-description-color);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-form-field-description-font-size,inherit);font-style:var(--utrecht-form-field-description-font-style);line-height:var(--utrecht-form-field-description-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)))}.utrecht-form-field-description--distanced,.utrecht-form-field-description>*{--utrecht-space-around:1}.utrecht-form-field-description--invalid{color:var(--utrecht-form-field-description-invalid-color,var(--utrecht-feedback-invalid-color,var(--utrecht-feedback-danger-color)))}.utrecht-form-field-description--valid{color:var(--utrecht-form-field-description-valid-color,var(--utrecht-feedback-valid-color,var(--utrecht-feedback-safe-color)))}.utrecht-form-field-description--warning{color:var(--utrecht-form-field-description-warning-color,var(--utrecht-feedback-warning-color))}";
@@ -0,0 +1,4 @@
1
+
2
+ declare const tokens: any;
3
+
4
+ export default tokens;
@@ -0,0 +1,118 @@
1
+ export default {
2
+ "utrecht": {
3
+ "form-field-description": {
4
+ "color": {
5
+ "$extensions": {
6
+ "nl.nldesignsystem.css.property": {
7
+ "syntax": "<color>",
8
+ "inherits": true
9
+ },
10
+ "nl.nldesignsystem.figma.supports-token": true
11
+ },
12
+ "type": "color"
13
+ },
14
+ "font-family": {
15
+ "$extensions": {
16
+ "nl.nldesignsystem.css.property": {
17
+ "syntax": "*",
18
+ "inherits": true
19
+ },
20
+ "nl.nldesignsystem.figma.supports-token": true
21
+ },
22
+ "type": "fontFamilies"
23
+ },
24
+ "font-size": {
25
+ "$extensions": {
26
+ "nl.nldesignsystem.css.property": {
27
+ "syntax": "<length>",
28
+ "inherits": true
29
+ },
30
+ "nl.nldesignsystem.figma.supports-token": true
31
+ },
32
+ "type": "fontSizes"
33
+ },
34
+ "font-style": {
35
+ "$extensions": {
36
+ "nl.nldesignsystem.css.property": {
37
+ "syntax": [
38
+ "inherit",
39
+ "italic",
40
+ "normal"
41
+ ],
42
+ "inherits": true
43
+ },
44
+ "nl.nldesignsystem.figma.supports-token": false
45
+ },
46
+ "type": "other"
47
+ },
48
+ "line-height": {
49
+ "$extensions": {
50
+ "nl.nldesignsystem.css.property": {
51
+ "syntax": "<length>",
52
+ "inherits": true
53
+ },
54
+ "nl.nldesignsystem.figma.supports-token": true
55
+ },
56
+ "type": "lineHeights"
57
+ },
58
+ "margin-block-start": {
59
+ "$extensions": {
60
+ "nl.nldesignsystem.css.property": {
61
+ "syntax": "<length>",
62
+ "inherits": true
63
+ },
64
+ "nl.nldesignsystem.figma.supports-token": false
65
+ },
66
+ "type": "sizing"
67
+ },
68
+ "margin-block-end": {
69
+ "$extensions": {
70
+ "nl.nldesignsystem.css.property": {
71
+ "syntax": "<length>",
72
+ "inherits": true
73
+ },
74
+ "nl.nldesignsystem.figma.supports-token": false
75
+ },
76
+ "type": "sizing"
77
+ },
78
+ "invalid": {
79
+ "font-weight": {
80
+ "$extensions": {
81
+ "nl.nldesignsystem.css.property": {
82
+ "syntax": "<number>",
83
+ "inherits": true
84
+ },
85
+ "nl.nldesignsystem.deprecated": true,
86
+ "nl.nldesignsystem.redirect": "utrecht.form-field-error-message.font-weight",
87
+ "nl.nldesignsystem.figma.supports-token": false
88
+ },
89
+ "type": "fontWeights"
90
+ },
91
+ "color": {
92
+ "$extensions": {
93
+ "nl.nldesignsystem.css.property": {
94
+ "syntax": "<color>",
95
+ "inherits": true
96
+ },
97
+ "nl.nldesignsystem.deprecated": true,
98
+ "nl.nldesignsystem.redirect": "utrecht.form-field-error-message.color",
99
+ "nl.nldesignsystem.figma.supports-token": false
100
+ },
101
+ "type": "color"
102
+ }
103
+ },
104
+ "valid": {
105
+ "color": {
106
+ "$extensions": {
107
+ "nl.nldesignsystem.css.property": {
108
+ "syntax": "<color>",
109
+ "inherits": true
110
+ },
111
+ "nl.nldesignsystem.figma.supports-token": false
112
+ },
113
+ "type": "color"
114
+ }
115
+ }
116
+ }
117
+ }
118
+ };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0",
2
+ "version": "1.5.1",
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",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "main": "dist/index.css",
14
14
  "devDependencies": {
15
- "@utrecht/build-utils-css": "0.0.1"
15
+ "@utrecht/build-utils-css": "0.0.3"
16
16
  },
17
17
  "keywords": [
18
18
  "nl-design-system"
File without changes