@utrecht/form-field-description-css 1.2.0 → 1.4.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 +31 -0
- package/dist/index.css +2 -5
- package/dist/index.min.css +1 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.d.ts +2 -0
- package/package.json +6 -4
- package/src/_mixin.scss +2 -1
- package/src/index.scss +2 -1
- package/src/story-template.jsx +2 -2
- package/src/tokens.json +11 -6
- package/dist/index.js +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @utrecht/form-field-description-css
|
|
2
|
+
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e497b08: Export CSS string as default export in `dist/index.mjs`.
|
|
8
|
+
|
|
9
|
+
## 1.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 5ab0a68: Added metadata for form-field-description tokens.
|
|
14
|
+
|
|
15
|
+
## 1.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 76473a7: Add `line-height` token to Form Field Description.
|
|
20
|
+
|
|
21
|
+
## 1.1.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 62f1157: Add SCSS files to `src/` directory of CSS component packages.
|
|
26
|
+
|
|
27
|
+
## 1.0.0
|
|
28
|
+
|
|
29
|
+
### Major Changes
|
|
30
|
+
|
|
31
|
+
- 856d996: Switch from alpha releases to semantic versioning.
|
package/dist/index.css
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @license EUPL-1.2
|
|
7
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
3
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
8
5
|
*/
|
|
9
6
|
.utrecht-form-field-description {
|
|
10
7
|
--utrecht-document-color: currentColor;
|
|
@@ -0,0 +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))}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +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))}";
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.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",
|
|
6
6
|
"name": "@utrecht/form-field-description-css",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/",
|
|
9
|
-
"
|
|
9
|
+
"docs/",
|
|
10
|
+
"src/",
|
|
11
|
+
"*.md"
|
|
10
12
|
],
|
|
11
13
|
"main": "dist/index.css",
|
|
12
14
|
"devDependencies": {
|
|
13
|
-
"
|
|
15
|
+
"@utrecht/build-utils-css": "0.0.1"
|
|
14
16
|
},
|
|
15
17
|
"keywords": [
|
|
16
18
|
"nl-design-system"
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
"directory": "components/form-field-description"
|
|
25
27
|
},
|
|
26
28
|
"scripts": {
|
|
27
|
-
"build": "
|
|
29
|
+
"build": "build-css-package",
|
|
28
30
|
"clean": "rimraf dist"
|
|
29
31
|
}
|
|
30
32
|
}
|
package/src/_mixin.scss
CHANGED
package/src/index.scss
CHANGED
package/src/story-template.jsx
CHANGED
package/src/tokens.json
CHANGED
|
@@ -34,11 +34,12 @@
|
|
|
34
34
|
"font-style": {
|
|
35
35
|
"$extensions": {
|
|
36
36
|
"nl.nldesignsystem.css.property": {
|
|
37
|
-
"syntax": "italic",
|
|
37
|
+
"syntax": ["inherit", "italic", "normal"],
|
|
38
38
|
"inherits": true
|
|
39
39
|
},
|
|
40
40
|
"nl.nldesignsystem.figma.supports-token": false
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"type": "other"
|
|
42
43
|
},
|
|
43
44
|
"line-height": {
|
|
44
45
|
"$extensions": {
|
|
@@ -80,7 +81,8 @@
|
|
|
80
81
|
"nl.nldesignsystem.deprecated": true,
|
|
81
82
|
"nl.nldesignsystem.redirect": "utrecht.form-field-error-message.font-weight",
|
|
82
83
|
"nl.nldesignsystem.figma.supports-token": false
|
|
83
|
-
}
|
|
84
|
+
},
|
|
85
|
+
"type": "fontWeights"
|
|
84
86
|
},
|
|
85
87
|
"color": {
|
|
86
88
|
"$extensions": {
|
|
@@ -91,7 +93,8 @@
|
|
|
91
93
|
"nl.nldesignsystem.deprecated": true,
|
|
92
94
|
"nl.nldesignsystem.redirect": "utrecht.form-field-error-message.color",
|
|
93
95
|
"nl.nldesignsystem.figma.supports-token": false
|
|
94
|
-
}
|
|
96
|
+
},
|
|
97
|
+
"type": "color"
|
|
95
98
|
}
|
|
96
99
|
},
|
|
97
100
|
"valid": {
|
|
@@ -100,8 +103,10 @@
|
|
|
100
103
|
"nl.nldesignsystem.css.property": {
|
|
101
104
|
"syntax": "<color>",
|
|
102
105
|
"inherits": true
|
|
103
|
-
}
|
|
104
|
-
|
|
106
|
+
},
|
|
107
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
108
|
+
},
|
|
109
|
+
"type": "color"
|
|
105
110
|
}
|
|
106
111
|
}
|
|
107
112
|
}
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var undefined$1 = undefined;export{undefined$1 as default};
|