@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,601 @@
1
+ {
2
+ "message": {
3
+ "neutral": {
4
+ "color": {
5
+ "surface": {
6
+ "$type": "color",
7
+ "$value": "#f0f0f0",
8
+ "filePath": "src/temp/component.json",
9
+ "isSource": true,
10
+ "original": {
11
+ "$type": "color",
12
+ "$value": "{color.surface.main.alternative}"
13
+ },
14
+ "name": "messageNeutralColorSurface",
15
+ "attributes": {
16
+ "category": "message",
17
+ "type": "neutral",
18
+ "item": "color",
19
+ "subitem": "surface"
20
+ },
21
+ "path": [
22
+ "message",
23
+ "neutral",
24
+ "color",
25
+ "surface"
26
+ ]
27
+ },
28
+ "read": {
29
+ "$type": "color",
30
+ "$value": "#1b1b1b",
31
+ "filePath": "src/temp/component.json",
32
+ "isSource": true,
33
+ "original": {
34
+ "$type": "color",
35
+ "$value": "{color.read.main.base}"
36
+ },
37
+ "name": "messageNeutralColorRead",
38
+ "attributes": {
39
+ "category": "message",
40
+ "type": "neutral",
41
+ "item": "color",
42
+ "subitem": "read"
43
+ },
44
+ "path": [
45
+ "message",
46
+ "neutral",
47
+ "color",
48
+ "read"
49
+ ]
50
+ }
51
+ }
52
+ },
53
+ "shadowStyle": {
54
+ "global": {
55
+ "$type": "shadow",
56
+ "$value": "0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)",
57
+ "filePath": "src/temp/component.json",
58
+ "isSource": true,
59
+ "$extensions": {
60
+ "studio.tokens": {
61
+ "originalType": "boxShadow"
62
+ }
63
+ },
64
+ "original": {
65
+ "$type": "shadow",
66
+ "$value": "{elevation.shadowStyle.level.1}",
67
+ "$extensions": {
68
+ "studio.tokens": {
69
+ "originalType": "boxShadow"
70
+ }
71
+ }
72
+ },
73
+ "name": "messageShadowStyleGlobal",
74
+ "attributes": {
75
+ "category": "message",
76
+ "type": "shadowStyle",
77
+ "item": "global"
78
+ },
79
+ "path": [
80
+ "message",
81
+ "shadowStyle",
82
+ "global"
83
+ ]
84
+ },
85
+ "toast": {
86
+ "$type": "shadow",
87
+ "$value": "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)",
88
+ "filePath": "src/temp/component.json",
89
+ "isSource": true,
90
+ "$extensions": {
91
+ "studio.tokens": {
92
+ "originalType": "boxShadow"
93
+ }
94
+ },
95
+ "original": {
96
+ "$type": "shadow",
97
+ "$value": "{elevation.shadowStyle.level.4}",
98
+ "$extensions": {
99
+ "studio.tokens": {
100
+ "originalType": "boxShadow"
101
+ }
102
+ }
103
+ },
104
+ "name": "messageShadowStyleToast",
105
+ "attributes": {
106
+ "category": "message",
107
+ "type": "shadowStyle",
108
+ "item": "toast"
109
+ },
110
+ "path": [
111
+ "message",
112
+ "shadowStyle",
113
+ "toast"
114
+ ]
115
+ }
116
+ },
117
+ "fontStyle": {
118
+ "description": {
119
+ "global": {
120
+ "$type": "typography",
121
+ "$value": "400 1rem/1.5 'Noto Sans'",
122
+ "filePath": "src/temp/component.json",
123
+ "isSource": true,
124
+ "original": {
125
+ "$type": "typography",
126
+ "$value": {
127
+ "fontFamily": "{typography.fontFamily.primary}",
128
+ "fontWeight": "{typography.fontWeight.regular}",
129
+ "fontSize": "{typography.fontSize.default}",
130
+ "lineHeight": "{typography.lineHeight.medium}"
131
+ }
132
+ },
133
+ "name": "messageFontStyleDescriptionGlobal",
134
+ "attributes": {
135
+ "category": "message",
136
+ "type": "fontStyle",
137
+ "item": "description",
138
+ "subitem": "global"
139
+ },
140
+ "path": [
141
+ "message",
142
+ "fontStyle",
143
+ "description",
144
+ "global"
145
+ ]
146
+ },
147
+ "toast": {
148
+ "$type": "typography",
149
+ "$value": "400 1rem/1.5 'Noto Sans'",
150
+ "filePath": "src/temp/component.json",
151
+ "isSource": true,
152
+ "original": {
153
+ "$type": "typography",
154
+ "$value": {
155
+ "fontFamily": "{typography.fontFamily.primary}",
156
+ "fontWeight": "{typography.fontWeight.regular}",
157
+ "fontSize": "{typography.fontSize.default}",
158
+ "lineHeight": "{typography.lineHeight.medium}"
159
+ }
160
+ },
161
+ "name": "messageFontStyleDescriptionToast",
162
+ "attributes": {
163
+ "category": "message",
164
+ "type": "fontStyle",
165
+ "item": "description",
166
+ "subitem": "toast"
167
+ },
168
+ "path": [
169
+ "message",
170
+ "fontStyle",
171
+ "description",
172
+ "toast"
173
+ ]
174
+ },
175
+ "contextual": {
176
+ "$type": "typography",
177
+ "$value": "400 0.889rem/1.5 'Noto Sans'",
178
+ "filePath": "src/temp/component.json",
179
+ "isSource": true,
180
+ "original": {
181
+ "$type": "typography",
182
+ "$value": {
183
+ "fontFamily": "{typography.fontFamily.primary}",
184
+ "fontWeight": "{typography.fontWeight.regular}",
185
+ "fontSize": "{typography.fontSize.down.01}",
186
+ "lineHeight": "{typography.lineHeight.medium}"
187
+ }
188
+ },
189
+ "name": "messageFontStyleDescriptionContextual",
190
+ "attributes": {
191
+ "category": "message",
192
+ "type": "fontStyle",
193
+ "item": "description",
194
+ "subitem": "contextual"
195
+ },
196
+ "path": [
197
+ "message",
198
+ "fontStyle",
199
+ "description",
200
+ "contextual"
201
+ ]
202
+ }
203
+ }
204
+ },
205
+ "alert": {
206
+ "color": {
207
+ "surface": {
208
+ "$type": "color",
209
+ "$value": "#ffcd07",
210
+ "filePath": "src/temp/component.json",
211
+ "isSource": true,
212
+ "original": {
213
+ "$type": "color",
214
+ "$value": "{state.alert.color.main}"
215
+ },
216
+ "name": "messageAlertColorSurface",
217
+ "attributes": {
218
+ "category": "message",
219
+ "type": "alert",
220
+ "item": "color",
221
+ "subitem": "surface"
222
+ },
223
+ "path": [
224
+ "message",
225
+ "alert",
226
+ "color",
227
+ "surface"
228
+ ]
229
+ },
230
+ "read": {
231
+ "$type": "color",
232
+ "$value": "#000000",
233
+ "filePath": "src/temp/component.json",
234
+ "isSource": true,
235
+ "original": {
236
+ "$type": "color",
237
+ "$value": "{state.alert.color.read.main}"
238
+ },
239
+ "name": "messageAlertColorRead",
240
+ "attributes": {
241
+ "category": "message",
242
+ "type": "alert",
243
+ "item": "color",
244
+ "subitem": "read"
245
+ },
246
+ "path": [
247
+ "message",
248
+ "alert",
249
+ "color",
250
+ "read"
251
+ ]
252
+ }
253
+ }
254
+ },
255
+ "success": {
256
+ "color": {
257
+ "surface": {
258
+ "$type": "color",
259
+ "$value": "#538200",
260
+ "filePath": "src/temp/component.json",
261
+ "isSource": true,
262
+ "original": {
263
+ "$type": "color",
264
+ "$value": "{state.success.color.main}"
265
+ },
266
+ "name": "messageSuccessColorSurface",
267
+ "attributes": {
268
+ "category": "message",
269
+ "type": "success",
270
+ "item": "color",
271
+ "subitem": "surface"
272
+ },
273
+ "path": [
274
+ "message",
275
+ "success",
276
+ "color",
277
+ "surface"
278
+ ]
279
+ },
280
+ "read": {
281
+ "$type": "color",
282
+ "$value": "#ffffff",
283
+ "filePath": "src/temp/component.json",
284
+ "isSource": true,
285
+ "original": {
286
+ "$type": "color",
287
+ "$value": "{state.success.color.read.main}"
288
+ },
289
+ "name": "messageSuccessColorRead",
290
+ "attributes": {
291
+ "category": "message",
292
+ "type": "success",
293
+ "item": "color",
294
+ "subitem": "read"
295
+ },
296
+ "path": [
297
+ "message",
298
+ "success",
299
+ "color",
300
+ "read"
301
+ ]
302
+ }
303
+ }
304
+ },
305
+ "error": {
306
+ "color": {
307
+ "surface": {
308
+ "$type": "color",
309
+ "$value": "#e52207",
310
+ "filePath": "src/temp/component.json",
311
+ "isSource": true,
312
+ "original": {
313
+ "$type": "color",
314
+ "$value": "{state.error.color.main}"
315
+ },
316
+ "name": "messageErrorColorSurface",
317
+ "attributes": {
318
+ "category": "message",
319
+ "type": "error",
320
+ "item": "color",
321
+ "subitem": "surface"
322
+ },
323
+ "path": [
324
+ "message",
325
+ "error",
326
+ "color",
327
+ "surface"
328
+ ]
329
+ },
330
+ "read": {
331
+ "$type": "color",
332
+ "$value": "#ffffff",
333
+ "filePath": "src/temp/component.json",
334
+ "isSource": true,
335
+ "original": {
336
+ "$type": "color",
337
+ "$value": "{state.error.color.read.main}"
338
+ },
339
+ "name": "messageErrorColorRead",
340
+ "attributes": {
341
+ "category": "message",
342
+ "type": "error",
343
+ "item": "color",
344
+ "subitem": "read"
345
+ },
346
+ "path": [
347
+ "message",
348
+ "error",
349
+ "color",
350
+ "read"
351
+ ]
352
+ }
353
+ }
354
+ },
355
+ "global": {
356
+ "gap": {
357
+ "spacing": {
358
+ "$type": "dimension",
359
+ "$value": "8px",
360
+ "filePath": "src/temp/component.json",
361
+ "isSource": true,
362
+ "$extensions": {
363
+ "studio.tokens": {
364
+ "originalType": "spacing"
365
+ }
366
+ },
367
+ "original": {
368
+ "$type": "dimension",
369
+ "$value": "{spacing.layout.01}",
370
+ "$extensions": {
371
+ "studio.tokens": {
372
+ "originalType": "spacing"
373
+ }
374
+ }
375
+ },
376
+ "name": "messageGlobalGapSpacing",
377
+ "attributes": {
378
+ "category": "message",
379
+ "type": "global",
380
+ "item": "gap",
381
+ "subitem": "spacing"
382
+ },
383
+ "path": [
384
+ "message",
385
+ "global",
386
+ "gap",
387
+ "spacing"
388
+ ]
389
+ }
390
+ },
391
+ "padding": {
392
+ "spacing": {
393
+ "$type": "dimension",
394
+ "$value": "16px",
395
+ "filePath": "src/temp/component.json",
396
+ "isSource": true,
397
+ "$extensions": {
398
+ "studio.tokens": {
399
+ "originalType": "spacing"
400
+ }
401
+ },
402
+ "original": {
403
+ "$type": "dimension",
404
+ "$value": "{spacing.layout.02}",
405
+ "$extensions": {
406
+ "studio.tokens": {
407
+ "originalType": "spacing"
408
+ }
409
+ }
410
+ },
411
+ "name": "messageGlobalPaddingSpacing",
412
+ "attributes": {
413
+ "category": "message",
414
+ "type": "global",
415
+ "item": "padding",
416
+ "subitem": "spacing"
417
+ },
418
+ "path": [
419
+ "message",
420
+ "global",
421
+ "padding",
422
+ "spacing"
423
+ ]
424
+ }
425
+ }
426
+ },
427
+ "rounder": {
428
+ "$type": "dimension",
429
+ "$value": "4px",
430
+ "filePath": "src/temp/component.json",
431
+ "isSource": true,
432
+ "$extensions": {
433
+ "studio.tokens": {
434
+ "originalType": "borderRadius"
435
+ }
436
+ },
437
+ "original": {
438
+ "$type": "dimension",
439
+ "$value": "{surface.rounder.small}",
440
+ "$extensions": {
441
+ "studio.tokens": {
442
+ "originalType": "borderRadius"
443
+ }
444
+ }
445
+ },
446
+ "name": "messageRounder",
447
+ "attributes": {
448
+ "category": "message",
449
+ "type": "rounder"
450
+ },
451
+ "path": [
452
+ "message",
453
+ "rounder"
454
+ ]
455
+ },
456
+ "contextual": {
457
+ "gap": {
458
+ "spacing": {
459
+ "$type": "dimension",
460
+ "$value": "4px",
461
+ "filePath": "src/temp/component.json",
462
+ "isSource": true,
463
+ "$extensions": {
464
+ "studio.tokens": {
465
+ "originalType": "spacing"
466
+ }
467
+ },
468
+ "original": {
469
+ "$type": "dimension",
470
+ "$value": "{spacing.adjust.01}",
471
+ "$extensions": {
472
+ "studio.tokens": {
473
+ "originalType": "spacing"
474
+ }
475
+ }
476
+ },
477
+ "name": "messageContextualGapSpacing",
478
+ "attributes": {
479
+ "category": "message",
480
+ "type": "contextual",
481
+ "item": "gap",
482
+ "subitem": "spacing"
483
+ },
484
+ "path": [
485
+ "message",
486
+ "contextual",
487
+ "gap",
488
+ "spacing"
489
+ ]
490
+ }
491
+ },
492
+ "padding": {
493
+ "spacing": {
494
+ "$type": "dimension",
495
+ "$value": "4px",
496
+ "filePath": "src/temp/component.json",
497
+ "isSource": true,
498
+ "$extensions": {
499
+ "studio.tokens": {
500
+ "originalType": "spacing"
501
+ }
502
+ },
503
+ "original": {
504
+ "$type": "dimension",
505
+ "$value": "{spacing.adjust.01}",
506
+ "$extensions": {
507
+ "studio.tokens": {
508
+ "originalType": "spacing"
509
+ }
510
+ }
511
+ },
512
+ "name": "messageContextualPaddingSpacing",
513
+ "attributes": {
514
+ "category": "message",
515
+ "type": "contextual",
516
+ "item": "padding",
517
+ "subitem": "spacing"
518
+ },
519
+ "path": [
520
+ "message",
521
+ "contextual",
522
+ "padding",
523
+ "spacing"
524
+ ]
525
+ }
526
+ }
527
+ },
528
+ "toast": {
529
+ "gap": {
530
+ "spacing": {
531
+ "$type": "dimension",
532
+ "$value": "8px",
533
+ "filePath": "src/temp/component.json",
534
+ "isSource": true,
535
+ "$extensions": {
536
+ "studio.tokens": {
537
+ "originalType": "spacing"
538
+ }
539
+ },
540
+ "original": {
541
+ "$type": "dimension",
542
+ "$value": "{spacing.layout.01}",
543
+ "$extensions": {
544
+ "studio.tokens": {
545
+ "originalType": "spacing"
546
+ }
547
+ }
548
+ },
549
+ "name": "messageToastGapSpacing",
550
+ "attributes": {
551
+ "category": "message",
552
+ "type": "toast",
553
+ "item": "gap",
554
+ "subitem": "spacing"
555
+ },
556
+ "path": [
557
+ "message",
558
+ "toast",
559
+ "gap",
560
+ "spacing"
561
+ ]
562
+ }
563
+ },
564
+ "padding": {
565
+ "spacing": {
566
+ "$type": "dimension",
567
+ "$value": "8px",
568
+ "filePath": "src/temp/component.json",
569
+ "isSource": true,
570
+ "$extensions": {
571
+ "studio.tokens": {
572
+ "originalType": "spacing"
573
+ }
574
+ },
575
+ "original": {
576
+ "$type": "dimension",
577
+ "$value": "{spacing.layout.01}",
578
+ "$extensions": {
579
+ "studio.tokens": {
580
+ "originalType": "spacing"
581
+ }
582
+ }
583
+ },
584
+ "name": "messageToastPaddingSpacing",
585
+ "attributes": {
586
+ "category": "message",
587
+ "type": "toast",
588
+ "item": "padding",
589
+ "subitem": "spacing"
590
+ },
591
+ "path": [
592
+ "message",
593
+ "toast",
594
+ "padding",
595
+ "spacing"
596
+ ]
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }