@utrecht/form-fieldset-css 1.3.0 → 1.5.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 +48 -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 +166 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @utrecht/form-fieldset-css
|
|
2
2
|
|
|
3
|
+
## 1.5.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.4.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 725617a: Add `tokens.mjs` and `tokens.d.mts` files to CSS packages.
|
|
18
|
+
|
|
3
19
|
## 1.3.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
|
+
*/
|
|
6
|
+
fieldset {
|
|
7
|
+
margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-end, 0));
|
|
8
|
+
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-start, 0));
|
|
9
|
+
all: revert;
|
|
10
|
+
border: 0;
|
|
11
|
+
margin-inline-end: 0;
|
|
12
|
+
margin-inline-start: 0;
|
|
13
|
+
min-inline-size: 0;
|
|
14
|
+
padding-block-end: 0;
|
|
15
|
+
padding-block-start: 0.01em;
|
|
16
|
+
padding-inline-end: 0;
|
|
17
|
+
padding-inline-start: 0;
|
|
18
|
+
--utrecht-space-around: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
fieldset[hidden] {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
legend {
|
|
26
|
+
break-inside: avoid;
|
|
27
|
+
color: var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit));
|
|
28
|
+
font-family: var(--utrecht-form-fieldset-legend-font-family, var(--utrecht-document-font-family));
|
|
29
|
+
font-size: var(--utrecht-form-fieldset-legend-font-size);
|
|
30
|
+
font-weight: var(--utrecht-form-fieldset-legend-font-weight);
|
|
31
|
+
line-height: var(--utrecht-form-fieldset-legend-line-height);
|
|
32
|
+
page-break-after: avoid;
|
|
33
|
+
page-break-inside: avoid;
|
|
34
|
+
display: table;
|
|
35
|
+
inline-size: 100%;
|
|
36
|
+
padding-inline-end: 0;
|
|
37
|
+
padding-inline-start: 0;
|
|
38
|
+
margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-legend-margin-block-end, 0));
|
|
39
|
+
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-legend-margin-block-start, 0));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
legend[hidden] {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
fieldset:disabled > legend {
|
|
47
|
+
color: var(--utrecht-form-fieldset-legend-disabled-color, var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit)));
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fieldset{all:revert;border:0;margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-margin-block-start, 0));margin-inline-end:0;margin-inline-start:0;min-inline-size:0;padding-block-end:0;padding-block-start:.01em;padding-inline-end:0;padding-inline-start:0;--utrecht-space-around:1}fieldset[hidden]{display:none}legend{break-inside:avoid;color:var(--utrecht-form-fieldset-legend-color,var(--utrecht-document-color,inherit));display:table;font-family:var(--utrecht-form-fieldset-legend-font-family,var(--utrecht-document-font-family));font-size:var(--utrecht-form-fieldset-legend-font-size);font-weight:var(--utrecht-form-fieldset-legend-font-weight);inline-size:100%;line-height:var(--utrecht-form-fieldset-legend-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-legend-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-legend-margin-block-start, 0));padding-inline-end:0;padding-inline-start:0;page-break-after:avoid;page-break-inside:avoid}legend[hidden]{display:none}fieldset:disabled>legend{color:var(--utrecht-form-fieldset-legend-disabled-color,var(--utrecht-form-fieldset-legend-color,var(--utrecht-document-color,inherit)))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "fieldset{all:revert;border:0;margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-margin-block-start, 0));margin-inline-end:0;margin-inline-start:0;min-inline-size:0;padding-block-end:0;padding-block-start:.01em;padding-inline-end:0;padding-inline-start:0;--utrecht-space-around:1}fieldset[hidden]{display:none}legend{break-inside:avoid;color:var(--utrecht-form-fieldset-legend-color,var(--utrecht-document-color,inherit));display:table;font-family:var(--utrecht-form-fieldset-legend-font-family,var(--utrecht-document-font-family));font-size:var(--utrecht-form-fieldset-legend-font-size);font-weight:var(--utrecht-form-fieldset-legend-font-weight);inline-size:100%;line-height:var(--utrecht-form-fieldset-legend-line-height);margin-block-end:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-legend-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0)*var(--utrecht-form-fieldset-legend-margin-block-start, 0));padding-inline-end:0;padding-inline-start:0;page-break-after:avoid;page-break-inside:avoid}legend[hidden]{display:none}fieldset:disabled>legend{color:var(--utrecht-form-fieldset-legend-disabled-color,var(--utrecht-form-fieldset-legend-color,var(--utrecht-document-color,inherit)))}";
|
package/dist/tokens.mjs
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"utrecht": {
|
|
3
|
+
"form-fieldset": {
|
|
4
|
+
"margin-block-end": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"nl.nldesignsystem.css.property": {
|
|
7
|
+
"syntax": "<length>",
|
|
8
|
+
"inherits": true
|
|
9
|
+
},
|
|
10
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
11
|
+
},
|
|
12
|
+
"type": "spacing"
|
|
13
|
+
},
|
|
14
|
+
"margin-block-start": {
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"nl.nldesignsystem.css.property": {
|
|
17
|
+
"syntax": "<length>",
|
|
18
|
+
"inherits": true
|
|
19
|
+
},
|
|
20
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
21
|
+
},
|
|
22
|
+
"type": "spacing"
|
|
23
|
+
},
|
|
24
|
+
"invalid": {
|
|
25
|
+
"border-inline-start-color": {
|
|
26
|
+
"color": {
|
|
27
|
+
"$extensions": {
|
|
28
|
+
"nl.nldesignsystem.css.property": {
|
|
29
|
+
"syntax": "<color>",
|
|
30
|
+
"inherits": true
|
|
31
|
+
},
|
|
32
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
33
|
+
},
|
|
34
|
+
"type": "color"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"border-inline-start-width": {
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"nl.nldesignsystem.css.property": {
|
|
40
|
+
"syntax": "<length>",
|
|
41
|
+
"inherits": true
|
|
42
|
+
},
|
|
43
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
44
|
+
},
|
|
45
|
+
"type": "borderWidth"
|
|
46
|
+
},
|
|
47
|
+
"padding-inline-start": {
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"nl.nldesignsystem.css.property": {
|
|
50
|
+
"syntax": "<length>",
|
|
51
|
+
"inherits": true
|
|
52
|
+
},
|
|
53
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
54
|
+
},
|
|
55
|
+
"type": "spacing"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"section": {
|
|
59
|
+
"background-color": {
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"nl.nldesignsystem.css.property": {
|
|
62
|
+
"syntax": "<color>",
|
|
63
|
+
"inherits": true
|
|
64
|
+
},
|
|
65
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
66
|
+
},
|
|
67
|
+
"type": "color"
|
|
68
|
+
},
|
|
69
|
+
"color": {
|
|
70
|
+
"$extensions": {
|
|
71
|
+
"nl.nldesignsystem.css.property": {
|
|
72
|
+
"syntax": "<color>",
|
|
73
|
+
"inherits": true
|
|
74
|
+
},
|
|
75
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
76
|
+
},
|
|
77
|
+
"type": "color"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"legend": {
|
|
81
|
+
"color": {
|
|
82
|
+
"$extensions": {
|
|
83
|
+
"nl.nldesignsystem.css.property": {
|
|
84
|
+
"syntax": "<color>",
|
|
85
|
+
"inherits": true
|
|
86
|
+
},
|
|
87
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
88
|
+
},
|
|
89
|
+
"type": "color"
|
|
90
|
+
},
|
|
91
|
+
"font-family": {
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"nl.nldesignsystem.css.property": {
|
|
94
|
+
"syntax": "*",
|
|
95
|
+
"inherits": true
|
|
96
|
+
},
|
|
97
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
98
|
+
},
|
|
99
|
+
"type": "fontFamilies"
|
|
100
|
+
},
|
|
101
|
+
"font-size": {
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"nl.nldesignsystem.css.property": {
|
|
104
|
+
"syntax": "<length>",
|
|
105
|
+
"inherits": true
|
|
106
|
+
},
|
|
107
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
108
|
+
},
|
|
109
|
+
"type": "fontSizes"
|
|
110
|
+
},
|
|
111
|
+
"font-weight": {
|
|
112
|
+
"$extensions": {
|
|
113
|
+
"nl.nldesignsystem.css.property": {
|
|
114
|
+
"syntax": "<number>",
|
|
115
|
+
"inherits": true
|
|
116
|
+
},
|
|
117
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
118
|
+
},
|
|
119
|
+
"type": "fontWeights"
|
|
120
|
+
},
|
|
121
|
+
"line-height": {
|
|
122
|
+
"$extensions": {
|
|
123
|
+
"nl.nldesignsystem.css.property": {
|
|
124
|
+
"syntax": "<length> | <number>",
|
|
125
|
+
"inherits": true
|
|
126
|
+
},
|
|
127
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
128
|
+
},
|
|
129
|
+
"type": "lineHeights"
|
|
130
|
+
},
|
|
131
|
+
"margin-block-end": {
|
|
132
|
+
"$extensions": {
|
|
133
|
+
"nl.nldesignsystem.css.property": {
|
|
134
|
+
"syntax": "<length>",
|
|
135
|
+
"inherits": true
|
|
136
|
+
},
|
|
137
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
138
|
+
},
|
|
139
|
+
"type": "spacing"
|
|
140
|
+
},
|
|
141
|
+
"margin-block-start": {
|
|
142
|
+
"$extensions": {
|
|
143
|
+
"nl.nldesignsystem.css.property": {
|
|
144
|
+
"syntax": "<length>",
|
|
145
|
+
"inherits": true
|
|
146
|
+
},
|
|
147
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
148
|
+
},
|
|
149
|
+
"type": "spacing"
|
|
150
|
+
},
|
|
151
|
+
"disabled": {
|
|
152
|
+
"color": {
|
|
153
|
+
"$extensions": {
|
|
154
|
+
"nl.nldesignsystem.css.property": {
|
|
155
|
+
"syntax": "<color>",
|
|
156
|
+
"inherits": true
|
|
157
|
+
},
|
|
158
|
+
"nl.nldesignsystem.figma.supports-token": false
|
|
159
|
+
},
|
|
160
|
+
"type": "color"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
package/package.json
CHANGED