@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.
Files changed (51) hide show
  1. package/dist/css/component/button.css +57 -0
  2. package/dist/css/component/divider.css +12 -0
  3. package/dist/css/component/formlabel.css +6 -0
  4. package/dist/css/component/icon.css +35 -0
  5. package/dist/css/component/message.css +22 -0
  6. package/dist/css/component/text.css +17 -0
  7. package/dist/css/themes/dark.css +10 -10
  8. package/dist/css/themes/light.css +10 -10
  9. package/dist/css/tokens.css +101 -96
  10. package/dist/js/component/button.js +56 -0
  11. package/dist/js/component/divider.js +10 -0
  12. package/dist/js/component/formlabel.js +4 -0
  13. package/dist/js/component/icon.js +33 -0
  14. package/dist/js/component/message.js +23 -0
  15. package/dist/js/component/text.js +15 -0
  16. package/dist/js/themes/dark.js +10 -10
  17. package/dist/js/themes/light.js +10 -10
  18. package/dist/js/tokens.js +101 -96
  19. package/dist/json/component/button.json +1447 -0
  20. package/dist/json/component/divider.json +302 -0
  21. package/dist/json/component/formlabel.json +117 -0
  22. package/dist/json/component/icon.json +911 -0
  23. package/dist/json/component/message.json +601 -0
  24. package/dist/json/component/text.json +455 -0
  25. package/dist/json/themes/dark.json +170 -170
  26. package/dist/json/themes/light.json +168 -168
  27. package/dist/json/tokens.json +782 -625
  28. package/dist/scss/component/button.scss +55 -0
  29. package/dist/scss/component/divider.scss +10 -0
  30. package/dist/scss/component/formlabel.scss +4 -0
  31. package/dist/scss/component/icon.scss +33 -0
  32. package/dist/scss/component/message.scss +20 -0
  33. package/dist/scss/component/text.scss +15 -0
  34. package/dist/scss/themes/dark.scss +10 -10
  35. package/dist/scss/themes/light.scss +10 -10
  36. package/dist/scss/tokens.scss +101 -96
  37. package/dist/tokens-studio/tokens.json +648 -224
  38. package/package.json +1 -1
  39. package/src/figma/component/button.json +266 -0
  40. package/src/figma/component/formlabel.json +24 -0
  41. package/src/figma/component/icon.json +50 -110
  42. package/src/figma/component/manifest.json +5 -1
  43. package/src/figma/dark.json +2 -2
  44. package/src/figma/iconography.json +68 -68
  45. package/src/figma/light.json +2 -2
  46. package/src/figma/state.json +30 -2
  47. package/src/temp/component.json +541 -145
  48. package/src/temp/core.json +105 -77
  49. package/src/temp/dark.json +1 -1
  50. package/src/temp/light.json +1 -1
  51. package/src/tokens.json +648 -224
@@ -0,0 +1,455 @@
1
+ {
2
+ "text": {
3
+ "color": {
4
+ "main": {
5
+ "base": {
6
+ "$type": "color",
7
+ "$value": "#1b1b1b",
8
+ "filePath": "src/temp/component.json",
9
+ "isSource": true,
10
+ "original": {
11
+ "$type": "color",
12
+ "$value": "{color.read.main.base}"
13
+ },
14
+ "name": "textColorMainBase",
15
+ "attributes": {
16
+ "category": "text",
17
+ "type": "color",
18
+ "item": "main",
19
+ "subitem": "base"
20
+ },
21
+ "path": [
22
+ "text",
23
+ "color",
24
+ "main",
25
+ "base"
26
+ ]
27
+ },
28
+ "alternative": {
29
+ "$type": "color",
30
+ "$value": "#636363",
31
+ "filePath": "src/temp/component.json",
32
+ "isSource": true,
33
+ "original": {
34
+ "$type": "color",
35
+ "$value": "{color.read.main.alternative}"
36
+ },
37
+ "name": "textColorMainAlternative",
38
+ "attributes": {
39
+ "category": "text",
40
+ "type": "color",
41
+ "item": "main",
42
+ "subitem": "alternative"
43
+ },
44
+ "path": [
45
+ "text",
46
+ "color",
47
+ "main",
48
+ "alternative"
49
+ ]
50
+ }
51
+ },
52
+ "contrast": {
53
+ "base": {
54
+ "$type": "color",
55
+ "$value": "#fcfcfc",
56
+ "filePath": "src/temp/component.json",
57
+ "isSource": true,
58
+ "original": {
59
+ "$type": "color",
60
+ "$value": "{color.read.contrast.base}"
61
+ },
62
+ "name": "textColorContrastBase",
63
+ "attributes": {
64
+ "category": "text",
65
+ "type": "color",
66
+ "item": "contrast",
67
+ "subitem": "base"
68
+ },
69
+ "path": [
70
+ "text",
71
+ "color",
72
+ "contrast",
73
+ "base"
74
+ ]
75
+ },
76
+ "alternative": {
77
+ "$type": "color",
78
+ "$value": "#cccccc",
79
+ "filePath": "src/temp/component.json",
80
+ "isSource": true,
81
+ "original": {
82
+ "$type": "color",
83
+ "$value": "{color.read.contrast.alternative}"
84
+ },
85
+ "name": "textColorContrastAlternative",
86
+ "attributes": {
87
+ "category": "text",
88
+ "type": "color",
89
+ "item": "contrast",
90
+ "subitem": "alternative"
91
+ },
92
+ "path": [
93
+ "text",
94
+ "color",
95
+ "contrast",
96
+ "alternative"
97
+ ]
98
+ }
99
+ }
100
+ },
101
+ "fontStyle": {
102
+ "label": {
103
+ "$type": "typography",
104
+ "$value": "600 0.889rem/1.5 'Noto Sans'",
105
+ "filePath": "src/temp/component.json",
106
+ "isSource": true,
107
+ "original": {
108
+ "$type": "typography",
109
+ "$value": {
110
+ "fontFamily": "{typography.fontFamily.primary}",
111
+ "fontWeight": "{typography.fontWeight.semiBold}",
112
+ "fontSize": "{text.fontSize.label.medium}",
113
+ "lineHeight": "{text.density.regular}"
114
+ }
115
+ },
116
+ "name": "textFontStyleLabel",
117
+ "attributes": {
118
+ "category": "text",
119
+ "type": "fontStyle",
120
+ "item": "label"
121
+ },
122
+ "path": [
123
+ "text",
124
+ "fontStyle",
125
+ "label"
126
+ ]
127
+ },
128
+ "title": {
129
+ "$type": "typography",
130
+ "$value": "600 1.125rem/1.5 'Noto Sans'",
131
+ "filePath": "src/temp/component.json",
132
+ "isSource": true,
133
+ "original": {
134
+ "$type": "typography",
135
+ "$value": {
136
+ "fontFamily": "{typography.fontFamily.primary}",
137
+ "fontWeight": "{typography.fontWeight.semiBold}",
138
+ "fontSize": "{text.fontSize.title.medium}",
139
+ "lineHeight": "{text.density.regular}"
140
+ }
141
+ },
142
+ "name": "textFontStyleTitle",
143
+ "attributes": {
144
+ "category": "text",
145
+ "type": "fontStyle",
146
+ "item": "title"
147
+ },
148
+ "path": [
149
+ "text",
150
+ "fontStyle",
151
+ "title"
152
+ ]
153
+ }
154
+ },
155
+ "fontSize": {
156
+ "label": {
157
+ "small": {
158
+ "$type": "fontSize",
159
+ "$value": "0.79rem",
160
+ "filePath": "src/temp/component.json",
161
+ "isSource": true,
162
+ "$extensions": {
163
+ "studio.tokens": {
164
+ "originalType": "fontSizes"
165
+ }
166
+ },
167
+ "original": {
168
+ "$type": "fontSize",
169
+ "$value": "{typography.fontSize.down.02}",
170
+ "$extensions": {
171
+ "studio.tokens": {
172
+ "originalType": "fontSizes"
173
+ }
174
+ }
175
+ },
176
+ "name": "textFontSizeLabelSmall",
177
+ "attributes": {
178
+ "category": "text",
179
+ "type": "fontSize",
180
+ "item": "label",
181
+ "subitem": "small"
182
+ },
183
+ "path": [
184
+ "text",
185
+ "fontSize",
186
+ "label",
187
+ "small"
188
+ ]
189
+ },
190
+ "medium": {
191
+ "$type": "fontSize",
192
+ "$value": "0.889rem",
193
+ "filePath": "src/temp/component.json",
194
+ "isSource": true,
195
+ "$extensions": {
196
+ "studio.tokens": {
197
+ "originalType": "fontSizes"
198
+ }
199
+ },
200
+ "original": {
201
+ "$type": "fontSize",
202
+ "$value": "{typography.fontSize.down.01}",
203
+ "$extensions": {
204
+ "studio.tokens": {
205
+ "originalType": "fontSizes"
206
+ }
207
+ }
208
+ },
209
+ "name": "textFontSizeLabelMedium",
210
+ "attributes": {
211
+ "category": "text",
212
+ "type": "fontSize",
213
+ "item": "label",
214
+ "subitem": "medium"
215
+ },
216
+ "path": [
217
+ "text",
218
+ "fontSize",
219
+ "label",
220
+ "medium"
221
+ ]
222
+ },
223
+ "large": {
224
+ "$type": "fontSize",
225
+ "$value": "1rem",
226
+ "filePath": "src/temp/component.json",
227
+ "isSource": true,
228
+ "$extensions": {
229
+ "studio.tokens": {
230
+ "originalType": "fontSizes"
231
+ }
232
+ },
233
+ "original": {
234
+ "$type": "fontSize",
235
+ "$value": "{typography.fontSize.default}",
236
+ "$extensions": {
237
+ "studio.tokens": {
238
+ "originalType": "fontSizes"
239
+ }
240
+ }
241
+ },
242
+ "name": "textFontSizeLabelLarge",
243
+ "attributes": {
244
+ "category": "text",
245
+ "type": "fontSize",
246
+ "item": "label",
247
+ "subitem": "large"
248
+ },
249
+ "path": [
250
+ "text",
251
+ "fontSize",
252
+ "label",
253
+ "large"
254
+ ]
255
+ }
256
+ },
257
+ "title": {
258
+ "small": {
259
+ "$type": "fontSize",
260
+ "$value": "1rem",
261
+ "filePath": "src/temp/component.json",
262
+ "isSource": true,
263
+ "$extensions": {
264
+ "studio.tokens": {
265
+ "originalType": "fontSizes"
266
+ }
267
+ },
268
+ "original": {
269
+ "$type": "fontSize",
270
+ "$value": "{typography.fontSize.default}",
271
+ "$extensions": {
272
+ "studio.tokens": {
273
+ "originalType": "fontSizes"
274
+ }
275
+ }
276
+ },
277
+ "name": "textFontSizeTitleSmall",
278
+ "attributes": {
279
+ "category": "text",
280
+ "type": "fontSize",
281
+ "item": "title",
282
+ "subitem": "small"
283
+ },
284
+ "path": [
285
+ "text",
286
+ "fontSize",
287
+ "title",
288
+ "small"
289
+ ]
290
+ },
291
+ "medium": {
292
+ "$type": "fontSize",
293
+ "$value": "1.125rem",
294
+ "filePath": "src/temp/component.json",
295
+ "isSource": true,
296
+ "$extensions": {
297
+ "studio.tokens": {
298
+ "originalType": "fontSizes"
299
+ }
300
+ },
301
+ "original": {
302
+ "$type": "fontSize",
303
+ "$value": "{typography.fontSize.up.01}",
304
+ "$extensions": {
305
+ "studio.tokens": {
306
+ "originalType": "fontSizes"
307
+ }
308
+ }
309
+ },
310
+ "name": "textFontSizeTitleMedium",
311
+ "attributes": {
312
+ "category": "text",
313
+ "type": "fontSize",
314
+ "item": "title",
315
+ "subitem": "medium"
316
+ },
317
+ "path": [
318
+ "text",
319
+ "fontSize",
320
+ "title",
321
+ "medium"
322
+ ]
323
+ },
324
+ "large": {
325
+ "$type": "fontSize",
326
+ "$value": "1.266rem",
327
+ "filePath": "src/temp/component.json",
328
+ "isSource": true,
329
+ "$extensions": {
330
+ "studio.tokens": {
331
+ "originalType": "fontSizes"
332
+ }
333
+ },
334
+ "original": {
335
+ "$type": "fontSize",
336
+ "$value": "{typography.fontSize.up.02}",
337
+ "$extensions": {
338
+ "studio.tokens": {
339
+ "originalType": "fontSizes"
340
+ }
341
+ }
342
+ },
343
+ "name": "textFontSizeTitleLarge",
344
+ "attributes": {
345
+ "category": "text",
346
+ "type": "fontSize",
347
+ "item": "title",
348
+ "subitem": "large"
349
+ },
350
+ "path": [
351
+ "text",
352
+ "fontSize",
353
+ "title",
354
+ "large"
355
+ ]
356
+ }
357
+ }
358
+ },
359
+ "density": {
360
+ "compact": {
361
+ "$type": "lineHeight",
362
+ "$value": 1.2,
363
+ "filePath": "src/temp/component.json",
364
+ "isSource": true,
365
+ "$extensions": {
366
+ "studio.tokens": {
367
+ "originalType": "lineHeights"
368
+ }
369
+ },
370
+ "original": {
371
+ "$type": "lineHeight",
372
+ "$value": "{typography.lineHeight.small}",
373
+ "$extensions": {
374
+ "studio.tokens": {
375
+ "originalType": "lineHeights"
376
+ }
377
+ }
378
+ },
379
+ "name": "textDensityCompact",
380
+ "attributes": {
381
+ "category": "text",
382
+ "type": "density",
383
+ "item": "compact"
384
+ },
385
+ "path": [
386
+ "text",
387
+ "density",
388
+ "compact"
389
+ ]
390
+ },
391
+ "regular": {
392
+ "$type": "lineHeight",
393
+ "$value": 1.5,
394
+ "filePath": "src/temp/component.json",
395
+ "isSource": true,
396
+ "$extensions": {
397
+ "studio.tokens": {
398
+ "originalType": "lineHeights"
399
+ }
400
+ },
401
+ "original": {
402
+ "$type": "lineHeight",
403
+ "$value": "{typography.lineHeight.medium}",
404
+ "$extensions": {
405
+ "studio.tokens": {
406
+ "originalType": "lineHeights"
407
+ }
408
+ }
409
+ },
410
+ "name": "textDensityRegular",
411
+ "attributes": {
412
+ "category": "text",
413
+ "type": "density",
414
+ "item": "regular"
415
+ },
416
+ "path": [
417
+ "text",
418
+ "density",
419
+ "regular"
420
+ ]
421
+ },
422
+ "spacious": {
423
+ "$type": "lineHeight",
424
+ "$value": 2.1,
425
+ "filePath": "src/temp/component.json",
426
+ "isSource": true,
427
+ "$extensions": {
428
+ "studio.tokens": {
429
+ "originalType": "lineHeights"
430
+ }
431
+ },
432
+ "original": {
433
+ "$type": "lineHeight",
434
+ "$value": "{typography.lineHeight.xlarge}",
435
+ "$extensions": {
436
+ "studio.tokens": {
437
+ "originalType": "lineHeights"
438
+ }
439
+ }
440
+ },
441
+ "name": "textDensitySpacious",
442
+ "attributes": {
443
+ "category": "text",
444
+ "type": "density",
445
+ "item": "spacious"
446
+ },
447
+ "path": [
448
+ "text",
449
+ "density",
450
+ "spacious"
451
+ ]
452
+ }
453
+ }
454
+ }
455
+ }