@utrecht/form-label-css 1.4.0 → 1.6.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 +16 -0
- package/dist/html/index.css +25 -0
- package/dist/html/index.min.css +1 -0
- package/dist/html/index.mjs +1 -0
- package/dist/html/index.mjs.d.ts +2 -0
- package/dist/tokens.d.mts +4 -0
- package/dist/tokens.mjs +118 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @utrecht/form-label-css
|
|
2
2
|
|
|
3
|
+
## 1.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 729f698: Restore vanilla HTML implementations to the npm packages of CSS components, with the following files:
|
|
8
|
+
|
|
9
|
+
- `dist/html/index.css`
|
|
10
|
+
- `dist/html/index.min.css`
|
|
11
|
+
- `dist/html/index.mjs`
|
|
12
|
+
|
|
13
|
+
## 1.5.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 725617a: Add `tokens.mjs` and `tokens.d.mts` files to CSS packages.
|
|
18
|
+
|
|
3
19
|
## 1.4.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
label {
|
|
8
|
+
color: var(--utrecht-form-label-color);
|
|
9
|
+
font-size: var(--utrecht-form-label-font-size);
|
|
10
|
+
font-weight: var(--utrecht-form-label-font-weight);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
input[type=checkbox i] ~ label,
|
|
14
|
+
label:has(input[type=checkbox i]) {
|
|
15
|
+
color: var(--utrecht-form-label-checkbox-color, var(--utrecht-form-label-color));
|
|
16
|
+
cursor: var(--utrecht-action-activate-cursor, revert);
|
|
17
|
+
font-weight: var(--utrecht-form-label-checkbox-font-weight, var(--utrecht-form-label-font-weight));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
input[type=radio i] ~ label,
|
|
21
|
+
label:has(input[type=radio i]) {
|
|
22
|
+
color: var(--utrecht-form-label-checkbox-color, var(--utrecht-form-label-color));
|
|
23
|
+
cursor: var(--utrecht-action-activate-cursor, revert);
|
|
24
|
+
font-weight: var(--utrecht-form-label-radio-font-weight, var(--utrecht-form-label-font-weight));
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
label{color:var(--utrecht-form-label-color);font-size:var(--utrecht-form-label-font-size);font-weight:var(--utrecht-form-label-font-weight)}input[type=checkbox i]~label,label:has(input[type=checkbox i]){color:var(--utrecht-form-label-checkbox-color,var(--utrecht-form-label-color));cursor:var(--utrecht-action-activate-cursor,revert);font-weight:var(--utrecht-form-label-checkbox-font-weight,var(--utrecht-form-label-font-weight))}input[type=radio i]~label,label:has(input[type=radio i]){color:var(--utrecht-form-label-checkbox-color,var(--utrecht-form-label-color));cursor:var(--utrecht-action-activate-cursor,revert);font-weight:var(--utrecht-form-label-radio-font-weight,var(--utrecht-form-label-font-weight))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "label{color:var(--utrecht-form-label-color);font-size:var(--utrecht-form-label-font-size);font-weight:var(--utrecht-form-label-font-weight)}input[type=checkbox i]~label,label:has(input[type=checkbox i]){color:var(--utrecht-form-label-checkbox-color,var(--utrecht-form-label-color));cursor:var(--utrecht-action-activate-cursor,revert);font-weight:var(--utrecht-form-label-checkbox-font-weight,var(--utrecht-form-label-font-weight))}input[type=radio i]~label,label:has(input[type=radio i]){color:var(--utrecht-form-label-checkbox-color,var(--utrecht-form-label-color));cursor:var(--utrecht-action-activate-cursor,revert);font-weight:var(--utrecht-form-label-radio-font-weight,var(--utrecht-form-label-font-weight))}";
|
package/dist/tokens.mjs
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"utrecht": {
|
|
3
|
+
"form-label": {
|
|
4
|
+
"color": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"nl.nldesignsystem.css.property": {
|
|
7
|
+
"syntax": "<color>",
|
|
8
|
+
"inherits": true
|
|
9
|
+
},
|
|
10
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
11
|
+
},
|
|
12
|
+
"type": "color"
|
|
13
|
+
},
|
|
14
|
+
"font-weight": {
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"nl.nldesignsystem.css.property": {
|
|
17
|
+
"syntax": "<number>",
|
|
18
|
+
"inherits": true
|
|
19
|
+
},
|
|
20
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
21
|
+
},
|
|
22
|
+
"type": "fontWeights"
|
|
23
|
+
},
|
|
24
|
+
"font-size": {
|
|
25
|
+
"$extensions": {
|
|
26
|
+
"nl.nldesignsystem.css.property": {
|
|
27
|
+
"syntax": "<length>",
|
|
28
|
+
"inherits": true
|
|
29
|
+
},
|
|
30
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
31
|
+
},
|
|
32
|
+
"type": "fontSizes"
|
|
33
|
+
},
|
|
34
|
+
"checkbox": {
|
|
35
|
+
"color": {
|
|
36
|
+
"$extensions": {
|
|
37
|
+
"nl.nldesignsystem.css.property": {
|
|
38
|
+
"syntax": "<color>",
|
|
39
|
+
"inherits": true
|
|
40
|
+
},
|
|
41
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
42
|
+
},
|
|
43
|
+
"type": "color"
|
|
44
|
+
},
|
|
45
|
+
"font-weight": {
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"nl.nldesignsystem.css.property": {
|
|
48
|
+
"syntax": "<number>",
|
|
49
|
+
"inherits": true
|
|
50
|
+
},
|
|
51
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
52
|
+
},
|
|
53
|
+
"type": "fontWeights"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"checked": {
|
|
57
|
+
"font-weight": {
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"nl.nldesignsystem.css.property": {
|
|
60
|
+
"syntax": "<number>",
|
|
61
|
+
"inherits": true
|
|
62
|
+
},
|
|
63
|
+
"nl.nldesignsystem.fallback": [
|
|
64
|
+
"utrecht.form-label.font-weight"
|
|
65
|
+
],
|
|
66
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
67
|
+
},
|
|
68
|
+
"type": "fontWeights"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"disabled": {
|
|
72
|
+
"color": {
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"nl.nldesignsystem.css.property": {
|
|
75
|
+
"syntax": "<color>",
|
|
76
|
+
"inherits": true
|
|
77
|
+
},
|
|
78
|
+
"nl.nldesignsystem.fallback": [
|
|
79
|
+
"utrecht.form-label.color"
|
|
80
|
+
],
|
|
81
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
82
|
+
},
|
|
83
|
+
"type": "color"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"radio": {
|
|
87
|
+
"color": {
|
|
88
|
+
"$extensions": {
|
|
89
|
+
"nl.nldesignsystem.css.property": {
|
|
90
|
+
"syntax": "<color>",
|
|
91
|
+
"inherits": true
|
|
92
|
+
},
|
|
93
|
+
"nl.nldesignsystem.fallback": [
|
|
94
|
+
"utrecht.form-label.checkbox.color",
|
|
95
|
+
"utrecht.form-label.color"
|
|
96
|
+
],
|
|
97
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
98
|
+
},
|
|
99
|
+
"type": "color"
|
|
100
|
+
},
|
|
101
|
+
"font-weight": {
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"nl.nldesignsystem.css.property": {
|
|
104
|
+
"syntax": "<number>",
|
|
105
|
+
"inherits": true
|
|
106
|
+
},
|
|
107
|
+
"nl.nldesignsystem.fallback": [
|
|
108
|
+
"utrecht.form-label.checkbox.font-weight",
|
|
109
|
+
"utrecht.form-label.font-weight"
|
|
110
|
+
],
|
|
111
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
112
|
+
},
|
|
113
|
+
"type": "fontWeights"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
package/package.json
CHANGED