@govbr-ds/tokens 4.0.0-next.12 → 4.0.0-next.14
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/css/component/button.css +57 -0
- package/dist/css/component/divider.css +12 -0
- package/dist/css/component/formlabel.css +6 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/message.css +22 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +10 -10
- package/dist/css/themes/light.css +10 -10
- package/dist/css/tokens.css +101 -96
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/divider.js +10 -0
- package/dist/js/component/formlabel.js +4 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/message.js +23 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +10 -10
- package/dist/js/themes/light.js +10 -10
- package/dist/js/tokens.js +101 -96
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/divider.json +302 -0
- package/dist/json/component/formlabel.json +117 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/message.json +601 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +170 -170
- package/dist/json/themes/light.json +168 -168
- package/dist/json/tokens.json +782 -625
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/divider.scss +10 -0
- package/dist/scss/component/formlabel.scss +4 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/message.scss +20 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +10 -10
- package/dist/scss/themes/light.scss +10 -10
- package/dist/scss/tokens.scss +101 -96
- package/dist/tokens-studio/tokens.json +648 -224
- package/package.json +1 -1
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/formlabel.json +24 -0
- package/src/figma/component/icon.json +50 -110
- package/src/figma/component/manifest.json +5 -1
- package/src/figma/dark.json +2 -2
- package/src/figma/iconography.json +68 -68
- package/src/figma/light.json +2 -2
- package/src/figma/state.json +30 -2
- package/src/temp/component.json +541 -145
- package/src/temp/core.json +105 -77
- package/src/temp/dark.json +1 -1
- package/src/temp/light.json +1 -1
- package/src/tokens.json +648 -224
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"divider": {
|
|
3
|
+
"borderStyle": {
|
|
4
|
+
"small": {
|
|
5
|
+
"solid": {
|
|
6
|
+
"$type": "border",
|
|
7
|
+
"$value": "1px solid #cccccc",
|
|
8
|
+
"filePath": "src/temp/component.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"$type": "border",
|
|
12
|
+
"$value": {
|
|
13
|
+
"color": "{color.border.base}",
|
|
14
|
+
"width": "{surface.borderWidth.small}",
|
|
15
|
+
"style": "solid"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"name": "dividerBorderStyleSmallSolid",
|
|
19
|
+
"attributes": {
|
|
20
|
+
"category": "divider",
|
|
21
|
+
"type": "borderStyle",
|
|
22
|
+
"item": "small",
|
|
23
|
+
"subitem": "solid"
|
|
24
|
+
},
|
|
25
|
+
"path": [
|
|
26
|
+
"divider",
|
|
27
|
+
"borderStyle",
|
|
28
|
+
"small",
|
|
29
|
+
"solid"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"dashed": {
|
|
33
|
+
"$type": "border",
|
|
34
|
+
"$value": "1px dashed #cccccc",
|
|
35
|
+
"filePath": "src/temp/component.json",
|
|
36
|
+
"isSource": true,
|
|
37
|
+
"original": {
|
|
38
|
+
"$type": "border",
|
|
39
|
+
"$value": {
|
|
40
|
+
"color": "{color.border.base}",
|
|
41
|
+
"width": "{surface.borderWidth.small}",
|
|
42
|
+
"style": "dashed"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"name": "dividerBorderStyleSmallDashed",
|
|
46
|
+
"attributes": {
|
|
47
|
+
"category": "divider",
|
|
48
|
+
"type": "borderStyle",
|
|
49
|
+
"item": "small",
|
|
50
|
+
"subitem": "dashed"
|
|
51
|
+
},
|
|
52
|
+
"path": [
|
|
53
|
+
"divider",
|
|
54
|
+
"borderStyle",
|
|
55
|
+
"small",
|
|
56
|
+
"dashed"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"medium": {
|
|
61
|
+
"solid": {
|
|
62
|
+
"$type": "border",
|
|
63
|
+
"$value": "2px solid #cccccc",
|
|
64
|
+
"filePath": "src/temp/component.json",
|
|
65
|
+
"isSource": true,
|
|
66
|
+
"original": {
|
|
67
|
+
"$type": "border",
|
|
68
|
+
"$value": {
|
|
69
|
+
"color": "{color.border.base}",
|
|
70
|
+
"width": "{surface.borderWidth.medium}",
|
|
71
|
+
"style": "solid"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "dividerBorderStyleMediumSolid",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"category": "divider",
|
|
77
|
+
"type": "borderStyle",
|
|
78
|
+
"item": "medium",
|
|
79
|
+
"subitem": "solid"
|
|
80
|
+
},
|
|
81
|
+
"path": [
|
|
82
|
+
"divider",
|
|
83
|
+
"borderStyle",
|
|
84
|
+
"medium",
|
|
85
|
+
"solid"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"dashed": {
|
|
89
|
+
"$type": "border",
|
|
90
|
+
"$value": "2px dashed #cccccc",
|
|
91
|
+
"filePath": "src/temp/component.json",
|
|
92
|
+
"isSource": true,
|
|
93
|
+
"original": {
|
|
94
|
+
"$type": "border",
|
|
95
|
+
"$value": {
|
|
96
|
+
"color": "{color.border.base}",
|
|
97
|
+
"width": "{surface.borderWidth.medium}",
|
|
98
|
+
"style": "dashed"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"name": "dividerBorderStyleMediumDashed",
|
|
102
|
+
"attributes": {
|
|
103
|
+
"category": "divider",
|
|
104
|
+
"type": "borderStyle",
|
|
105
|
+
"item": "medium",
|
|
106
|
+
"subitem": "dashed"
|
|
107
|
+
},
|
|
108
|
+
"path": [
|
|
109
|
+
"divider",
|
|
110
|
+
"borderStyle",
|
|
111
|
+
"medium",
|
|
112
|
+
"dashed"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"large": {
|
|
117
|
+
"solid": {
|
|
118
|
+
"$type": "border",
|
|
119
|
+
"$value": "4px solid #cccccc",
|
|
120
|
+
"filePath": "src/temp/component.json",
|
|
121
|
+
"isSource": true,
|
|
122
|
+
"original": {
|
|
123
|
+
"$type": "border",
|
|
124
|
+
"$value": {
|
|
125
|
+
"color": "{color.border.base}",
|
|
126
|
+
"width": "{surface.borderWidth.large}",
|
|
127
|
+
"style": "solid"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"name": "dividerBorderStyleLargeSolid",
|
|
131
|
+
"attributes": {
|
|
132
|
+
"category": "divider",
|
|
133
|
+
"type": "borderStyle",
|
|
134
|
+
"item": "large",
|
|
135
|
+
"subitem": "solid"
|
|
136
|
+
},
|
|
137
|
+
"path": [
|
|
138
|
+
"divider",
|
|
139
|
+
"borderStyle",
|
|
140
|
+
"large",
|
|
141
|
+
"solid"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"dashed": {
|
|
145
|
+
"$type": "border",
|
|
146
|
+
"$value": "4px dashed #cccccc",
|
|
147
|
+
"filePath": "src/temp/component.json",
|
|
148
|
+
"isSource": true,
|
|
149
|
+
"original": {
|
|
150
|
+
"$type": "border",
|
|
151
|
+
"$value": {
|
|
152
|
+
"color": "{color.border.base}",
|
|
153
|
+
"width": "{surface.borderWidth.large}",
|
|
154
|
+
"style": "dashed"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"name": "dividerBorderStyleLargeDashed",
|
|
158
|
+
"attributes": {
|
|
159
|
+
"category": "divider",
|
|
160
|
+
"type": "borderStyle",
|
|
161
|
+
"item": "large",
|
|
162
|
+
"subitem": "dashed"
|
|
163
|
+
},
|
|
164
|
+
"path": [
|
|
165
|
+
"divider",
|
|
166
|
+
"borderStyle",
|
|
167
|
+
"large",
|
|
168
|
+
"dashed"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"spacing": {
|
|
174
|
+
"gap": {
|
|
175
|
+
"$value": "8px",
|
|
176
|
+
"$type": "dimension",
|
|
177
|
+
"filePath": "src/temp/component.json",
|
|
178
|
+
"isSource": true,
|
|
179
|
+
"$extensions": {
|
|
180
|
+
"studio.tokens": {
|
|
181
|
+
"originalType": "spacing"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"original": {
|
|
185
|
+
"$value": "{spacing.layout.01}",
|
|
186
|
+
"$type": "dimension",
|
|
187
|
+
"$extensions": {
|
|
188
|
+
"studio.tokens": {
|
|
189
|
+
"originalType": "spacing"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"name": "dividerSpacingGap",
|
|
194
|
+
"attributes": {
|
|
195
|
+
"category": "divider",
|
|
196
|
+
"type": "spacing",
|
|
197
|
+
"item": "gap"
|
|
198
|
+
},
|
|
199
|
+
"path": [
|
|
200
|
+
"divider",
|
|
201
|
+
"spacing",
|
|
202
|
+
"gap"
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"density": {
|
|
207
|
+
"compact": {
|
|
208
|
+
"$value": "16px",
|
|
209
|
+
"$type": "dimension",
|
|
210
|
+
"filePath": "src/temp/component.json",
|
|
211
|
+
"isSource": true,
|
|
212
|
+
"$extensions": {
|
|
213
|
+
"studio.tokens": {
|
|
214
|
+
"originalType": "spacing"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"original": {
|
|
218
|
+
"$value": "{spacing.layout.02}",
|
|
219
|
+
"$type": "dimension",
|
|
220
|
+
"$extensions": {
|
|
221
|
+
"studio.tokens": {
|
|
222
|
+
"originalType": "spacing"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"name": "dividerDensityCompact",
|
|
227
|
+
"attributes": {
|
|
228
|
+
"category": "divider",
|
|
229
|
+
"type": "density",
|
|
230
|
+
"item": "compact"
|
|
231
|
+
},
|
|
232
|
+
"path": [
|
|
233
|
+
"divider",
|
|
234
|
+
"density",
|
|
235
|
+
"compact"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"regular": {
|
|
239
|
+
"$value": "40px",
|
|
240
|
+
"$type": "dimension",
|
|
241
|
+
"filePath": "src/temp/component.json",
|
|
242
|
+
"isSource": true,
|
|
243
|
+
"$extensions": {
|
|
244
|
+
"studio.tokens": {
|
|
245
|
+
"originalType": "spacing"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"original": {
|
|
249
|
+
"$value": "{spacing.layout.05}",
|
|
250
|
+
"$type": "dimension",
|
|
251
|
+
"$extensions": {
|
|
252
|
+
"studio.tokens": {
|
|
253
|
+
"originalType": "spacing"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"name": "dividerDensityRegular",
|
|
258
|
+
"attributes": {
|
|
259
|
+
"category": "divider",
|
|
260
|
+
"type": "density",
|
|
261
|
+
"item": "regular"
|
|
262
|
+
},
|
|
263
|
+
"path": [
|
|
264
|
+
"divider",
|
|
265
|
+
"density",
|
|
266
|
+
"regular"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"spacious": {
|
|
270
|
+
"$value": "56px",
|
|
271
|
+
"$type": "dimension",
|
|
272
|
+
"filePath": "src/temp/component.json",
|
|
273
|
+
"isSource": true,
|
|
274
|
+
"$extensions": {
|
|
275
|
+
"studio.tokens": {
|
|
276
|
+
"originalType": "spacing"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"original": {
|
|
280
|
+
"$value": "{spacing.layout.07}",
|
|
281
|
+
"$type": "dimension",
|
|
282
|
+
"$extensions": {
|
|
283
|
+
"studio.tokens": {
|
|
284
|
+
"originalType": "spacing"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"name": "dividerDensitySpacious",
|
|
289
|
+
"attributes": {
|
|
290
|
+
"category": "divider",
|
|
291
|
+
"type": "density",
|
|
292
|
+
"item": "spacious"
|
|
293
|
+
},
|
|
294
|
+
"path": [
|
|
295
|
+
"divider",
|
|
296
|
+
"density",
|
|
297
|
+
"spacious"
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formlabel": {
|
|
3
|
+
"spacing": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$type": "dimension",
|
|
6
|
+
"$value": "8px",
|
|
7
|
+
"filePath": "src/temp/component.json",
|
|
8
|
+
"isSource": true,
|
|
9
|
+
"$extensions": {
|
|
10
|
+
"studio.tokens": {
|
|
11
|
+
"originalType": "spacing"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"original": {
|
|
15
|
+
"$type": "dimension",
|
|
16
|
+
"$value": "{spacing.layout.01}",
|
|
17
|
+
"$extensions": {
|
|
18
|
+
"studio.tokens": {
|
|
19
|
+
"originalType": "spacing"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"name": "formlabelSpacingGap",
|
|
24
|
+
"attributes": {
|
|
25
|
+
"category": "formlabel",
|
|
26
|
+
"type": "spacing",
|
|
27
|
+
"item": "gap"
|
|
28
|
+
},
|
|
29
|
+
"path": [
|
|
30
|
+
"formlabel",
|
|
31
|
+
"spacing",
|
|
32
|
+
"gap"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"color": {
|
|
37
|
+
"main": {
|
|
38
|
+
"helpertext": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "#636363",
|
|
41
|
+
"filePath": "src/temp/component.json",
|
|
42
|
+
"isSource": true,
|
|
43
|
+
"original": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": "{color.read.main.alternative}"
|
|
46
|
+
},
|
|
47
|
+
"name": "formlabelColorMainHelpertext",
|
|
48
|
+
"attributes": {
|
|
49
|
+
"category": "formlabel",
|
|
50
|
+
"type": "color",
|
|
51
|
+
"item": "main",
|
|
52
|
+
"subitem": "helpertext"
|
|
53
|
+
},
|
|
54
|
+
"path": [
|
|
55
|
+
"formlabel",
|
|
56
|
+
"color",
|
|
57
|
+
"main",
|
|
58
|
+
"helpertext"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"contrast": {
|
|
63
|
+
"helpertext": {
|
|
64
|
+
"$type": "color",
|
|
65
|
+
"$value": "#cccccc",
|
|
66
|
+
"filePath": "src/temp/component.json",
|
|
67
|
+
"isSource": true,
|
|
68
|
+
"original": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "{color.read.contrast.alternative}"
|
|
71
|
+
},
|
|
72
|
+
"name": "formlabelColorContrastHelpertext",
|
|
73
|
+
"attributes": {
|
|
74
|
+
"category": "formlabel",
|
|
75
|
+
"type": "color",
|
|
76
|
+
"item": "contrast",
|
|
77
|
+
"subitem": "helpertext"
|
|
78
|
+
},
|
|
79
|
+
"path": [
|
|
80
|
+
"formlabel",
|
|
81
|
+
"color",
|
|
82
|
+
"contrast",
|
|
83
|
+
"helpertext"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"fontStyle": {
|
|
89
|
+
"helpertext": {
|
|
90
|
+
"$type": "typography",
|
|
91
|
+
"$value": "400 0.79rem/1.2 'Noto Sans'",
|
|
92
|
+
"filePath": "src/temp/component.json",
|
|
93
|
+
"isSource": true,
|
|
94
|
+
"original": {
|
|
95
|
+
"$type": "typography",
|
|
96
|
+
"$value": {
|
|
97
|
+
"fontFamily": "{typography.fontFamily.primary}",
|
|
98
|
+
"fontWeight": "{typography.fontWeight.regular}",
|
|
99
|
+
"fontSize": "{typography.fontSize.down.02}",
|
|
100
|
+
"lineHeight": "{typography.lineHeight.small}"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"name": "formlabelFontStyleHelpertext",
|
|
104
|
+
"attributes": {
|
|
105
|
+
"category": "formlabel",
|
|
106
|
+
"type": "fontStyle",
|
|
107
|
+
"item": "helpertext"
|
|
108
|
+
},
|
|
109
|
+
"path": [
|
|
110
|
+
"formlabel",
|
|
111
|
+
"fontStyle",
|
|
112
|
+
"helpertext"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|