@govbr-ds/tokens 4.0.0-next.32 → 4.0.0-next.34

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 (72) hide show
  1. package/README.md +4 -1
  2. package/dist/css/components/avatar/tokens.css +6 -6
  3. package/dist/css/components/breadcrumbs/tokens.css +6 -6
  4. package/dist/css/components/button/tokens.css +8 -8
  5. package/dist/css/components/chatBubble/tokens.css +49 -0
  6. package/dist/css/components/chatInput/tokens.css +6 -6
  7. package/dist/css/components/checkbox/tokens.css +11 -10
  8. package/dist/css/components/footer/tokens.css +6 -6
  9. package/dist/css/components/input/tokens.css +7 -6
  10. package/dist/css/components/institutionalBar/tokens.css +20 -0
  11. package/dist/css/components/list/tokens.css +10 -10
  12. package/dist/css/components/radioGroup/tokens.css +9 -8
  13. package/dist/css/components/rating/tokens.css +21 -0
  14. package/dist/css/components/sideMenu/tokens.css +8 -8
  15. package/dist/css/components/skipLink/tokens.css +9 -0
  16. package/dist/css/components/text/tokens.css +8 -0
  17. package/dist/css/tokens.css +25 -22
  18. package/dist/js/components/avatar/tokens.js +6 -6
  19. package/dist/js/components/breadcrumbs/tokens.js +6 -6
  20. package/dist/js/components/button/tokens.js +8 -8
  21. package/dist/js/components/chatBubble/tokens.js +47 -0
  22. package/dist/js/components/chatInput/tokens.js +6 -6
  23. package/dist/js/components/checkbox/tokens.js +11 -10
  24. package/dist/js/components/footer/tokens.js +6 -6
  25. package/dist/js/components/input/tokens.js +7 -6
  26. package/dist/js/components/institutionalBar/tokens.js +21 -0
  27. package/dist/js/components/list/tokens.js +10 -10
  28. package/dist/js/components/radioGroup/tokens.js +9 -8
  29. package/dist/js/components/rating/tokens.js +19 -0
  30. package/dist/js/components/sideMenu/tokens.js +8 -8
  31. package/dist/js/components/skipLink/tokens.js +8 -0
  32. package/dist/js/components/text/tokens.js +8 -0
  33. package/dist/js/tokens.js +25 -22
  34. package/dist/json/components/avatar/tokens.json +18 -18
  35. package/dist/json/components/breadcrumbs/tokens.json +18 -18
  36. package/dist/json/components/button/tokens.json +24 -24
  37. package/dist/json/components/chatBubble/tokens.json +1348 -0
  38. package/dist/json/components/chatInput/tokens.json +18 -18
  39. package/dist/json/components/checkbox/tokens.json +59 -30
  40. package/dist/json/components/footer/tokens.json +18 -18
  41. package/dist/json/components/input/tokens.json +47 -18
  42. package/dist/json/components/institutionalBar/tokens.json +467 -0
  43. package/dist/json/components/list/tokens.json +30 -30
  44. package/dist/json/components/radioGroup/tokens.json +53 -24
  45. package/dist/json/components/rating/tokens.json +502 -0
  46. package/dist/json/components/sideMenu/tokens.json +24 -24
  47. package/dist/json/components/skipLink/tokens.json +107 -0
  48. package/dist/json/components/text/tokens.json +290 -0
  49. package/dist/json/tokens.json +182 -71
  50. package/dist/penpot/tokens.json +8638 -0
  51. package/dist/scss/components/chatBubble/tokens.scss +46 -0
  52. package/dist/scss/components/checkbox/tokens.scss +1 -0
  53. package/dist/scss/components/input/tokens.scss +1 -0
  54. package/dist/scss/components/institutionalBar/tokens.scss +17 -0
  55. package/dist/scss/components/radioGroup/tokens.scss +1 -0
  56. package/dist/scss/components/rating/tokens.scss +18 -0
  57. package/dist/scss/components/skipLink/tokens.scss +6 -0
  58. package/dist/scss/components/text/tokens.scss +8 -0
  59. package/dist/scss/tokens.scss +29 -23
  60. package/dist/tokens-studio/tokens.json +498 -53
  61. package/package.json +10 -6
  62. package/src/config/penpot.mjs +53 -0
  63. package/src/tokens.json +498 -53
  64. package/src/temp/style-dictionary/core/component.json +0 -2978
  65. package/src/temp/style-dictionary/core/foundation.json +0 -3147
  66. package/src/temp/style-dictionary/core/pattern.json +0 -192
  67. package/src/temp/style-dictionary/theme/dark.json +0 -306
  68. package/src/temp/style-dictionary/theme/light.json +0 -306
  69. package/src/temp/tokens-studio/core/component.json +0 -2978
  70. package/src/temp/tokens-studio/core/global.json +0 -3335
  71. package/src/temp/tokens-studio/theme/dark.json +0 -306
  72. package/src/temp/tokens-studio/theme/light.json +0 -306
@@ -1175,13 +1175,13 @@
1175
1175
  "easing": {
1176
1176
  "in": {
1177
1177
  "key": "{br.sideMenu.hover.easing.in}",
1178
- "$value": "cubic-bezier(0.42, 0, 1, 1)",
1178
+ "$value": "[0.42, 0, 1, 1]",
1179
1179
  "filePath": "src/temp/style-dictionary/core/component.json",
1180
1180
  "isSource": true,
1181
- "$type": "easing",
1181
+ "$type": "cubicBezier",
1182
1182
  "original": {
1183
1183
  "$value": "{br.state.hover.easing.in.default}",
1184
- "$type": "easing",
1184
+ "$type": "cubicBezier",
1185
1185
  "key": "{br.sideMenu.hover.easing.in}"
1186
1186
  },
1187
1187
  "name": "brSideMenuHoverEasingIn",
@@ -1202,13 +1202,13 @@
1202
1202
  },
1203
1203
  "out": {
1204
1204
  "key": "{br.sideMenu.hover.easing.out}",
1205
- "$value": "cubic-bezier(0.42, 0, 1, 1)",
1205
+ "$value": "[0.42, 0, 1, 1]",
1206
1206
  "filePath": "src/temp/style-dictionary/core/component.json",
1207
1207
  "isSource": true,
1208
- "$type": "easing",
1208
+ "$type": "cubicBezier",
1209
1209
  "original": {
1210
1210
  "$value": "{br.state.hover.easing.out}",
1211
- "$type": "easing",
1211
+ "$type": "cubicBezier",
1212
1212
  "key": "{br.sideMenu.hover.easing.out}"
1213
1213
  },
1214
1214
  "name": "brSideMenuHoverEasingOut",
@@ -1324,13 +1324,13 @@
1324
1324
  "easing": {
1325
1325
  "in": {
1326
1326
  "key": "{br.sideMenu.pressed.easing.in}",
1327
- "$value": "cubic-bezier(0.42, 0, 0.58, 1)",
1327
+ "$value": "[0.42, 0, 0.58, 1]",
1328
1328
  "filePath": "src/temp/style-dictionary/core/component.json",
1329
1329
  "isSource": true,
1330
- "$type": "easing",
1330
+ "$type": "cubicBezier",
1331
1331
  "original": {
1332
1332
  "$value": "{br.state.pressed.easing.in}",
1333
- "$type": "easing",
1333
+ "$type": "cubicBezier",
1334
1334
  "key": "{br.sideMenu.pressed.easing.in}"
1335
1335
  },
1336
1336
  "name": "brSideMenuPressedEasingIn",
@@ -1351,13 +1351,13 @@
1351
1351
  },
1352
1352
  "out": {
1353
1353
  "key": "{br.sideMenu.pressed.easing.out}",
1354
- "$value": "cubic-bezier(0, 0, 0.58, 1)",
1354
+ "$value": "[0, 0, 0.58, 1]",
1355
1355
  "filePath": "src/temp/style-dictionary/core/component.json",
1356
1356
  "isSource": true,
1357
- "$type": "easing",
1357
+ "$type": "cubicBezier",
1358
1358
  "original": {
1359
1359
  "$value": "{br.state.pressed.easing.out}",
1360
- "$type": "easing",
1360
+ "$type": "cubicBezier",
1361
1361
  "key": "{br.sideMenu.pressed.easing.out}"
1362
1362
  },
1363
1363
  "name": "brSideMenuPressedEasingOut",
@@ -1552,13 +1552,13 @@
1552
1552
  "easing": {
1553
1553
  "in": {
1554
1554
  "key": "{br.sideMenu.active.easing.in}",
1555
- "$value": "cubic-bezier(0, 0, 0.58, 1)",
1555
+ "$value": "[0, 0, 0.58, 1]",
1556
1556
  "filePath": "src/temp/style-dictionary/core/component.json",
1557
1557
  "isSource": true,
1558
- "$type": "easing",
1558
+ "$type": "cubicBezier",
1559
1559
  "original": {
1560
1560
  "$value": "{br.state.active.easing.in}",
1561
- "$type": "easing",
1561
+ "$type": "cubicBezier",
1562
1562
  "key": "{br.sideMenu.active.easing.in}"
1563
1563
  },
1564
1564
  "name": "brSideMenuActiveEasingIn",
@@ -1579,13 +1579,13 @@
1579
1579
  },
1580
1580
  "out": {
1581
1581
  "key": "{br.sideMenu.active.easing.out}",
1582
- "$value": "cubic-bezier(0.42, 0, 1, 1)",
1582
+ "$value": "[0.42, 0, 1, 1]",
1583
1583
  "filePath": "src/temp/style-dictionary/core/component.json",
1584
1584
  "isSource": true,
1585
- "$type": "easing",
1585
+ "$type": "cubicBezier",
1586
1586
  "original": {
1587
1587
  "$value": "{br.state.active.easing.out}",
1588
- "$type": "easing",
1588
+ "$type": "cubicBezier",
1589
1589
  "key": "{br.sideMenu.active.easing.out}"
1590
1590
  },
1591
1591
  "name": "brSideMenuActiveEasingOut",
@@ -1757,13 +1757,13 @@
1757
1757
  "easing": {
1758
1758
  "in": {
1759
1759
  "key": "{br.sideMenu.focus.easing.in}",
1760
- "$value": "cubic-bezier(0.7, 3.3, 0.3, 0)",
1760
+ "$value": "[0.7, 3.3, 0.3, 0]",
1761
1761
  "filePath": "src/temp/style-dictionary/core/component.json",
1762
1762
  "isSource": true,
1763
- "$type": "easing",
1763
+ "$type": "cubicBezier",
1764
1764
  "original": {
1765
1765
  "$value": "{br.state.focus.easing.in}",
1766
- "$type": "easing",
1766
+ "$type": "cubicBezier",
1767
1767
  "key": "{br.sideMenu.focus.easing.in}"
1768
1768
  },
1769
1769
  "name": "brSideMenuFocusEasingIn",
@@ -1784,13 +1784,13 @@
1784
1784
  },
1785
1785
  "out": {
1786
1786
  "key": "{br.sideMenu.focus.easing.out}",
1787
- "$value": "cubic-bezier(0, 0, 0.58, 1)",
1787
+ "$value": "[0, 0, 0.58, 1]",
1788
1788
  "filePath": "src/temp/style-dictionary/core/component.json",
1789
1789
  "isSource": true,
1790
- "$type": "easing",
1790
+ "$type": "cubicBezier",
1791
1791
  "original": {
1792
1792
  "$value": "{br.state.focus.easing.out}",
1793
- "$type": "easing",
1793
+ "$type": "cubicBezier",
1794
1794
  "key": "{br.sideMenu.focus.easing.out}"
1795
1795
  },
1796
1796
  "name": "brSideMenuFocusEasingOut",
@@ -0,0 +1,107 @@
1
+ {
2
+ "br": {
3
+ "skipLink": {
4
+ "color": {
5
+ "scrim": {
6
+ "key": "{br.skipLink.color.scrim}",
7
+ "$value": "rgba(0, 0, 0, 0.6)",
8
+ "filePath": "src/temp/style-dictionary/core/component.json",
9
+ "isSource": true,
10
+ "$type": "color",
11
+ "original": {
12
+ "$value": "{br.surface.color.background.solid.overlay}",
13
+ "$type": "color",
14
+ "key": "{br.skipLink.color.scrim}"
15
+ },
16
+ "name": "brSkipLinkColorScrim",
17
+ "attributes": {
18
+ "category": "br",
19
+ "type": "skipLink",
20
+ "item": "color",
21
+ "subitem": "scrim"
22
+ },
23
+ "path": [
24
+ "br",
25
+ "skipLink",
26
+ "color",
27
+ "scrim"
28
+ ]
29
+ }
30
+ },
31
+ "margin": {
32
+ "default": {
33
+ "key": "{br.skipLink.margin.default}",
34
+ "$value": "8px",
35
+ "filePath": "src/temp/style-dictionary/core/component.json",
36
+ "isSource": true,
37
+ "$type": "dimension",
38
+ "$extensions": {
39
+ "studio.tokens": {
40
+ "originalType": "spacing"
41
+ }
42
+ },
43
+ "original": {
44
+ "$value": "{br.spacing.layout.1}",
45
+ "$type": "dimension",
46
+ "$extensions": {
47
+ "studio.tokens": {
48
+ "originalType": "spacing"
49
+ }
50
+ },
51
+ "key": "{br.skipLink.margin.default}"
52
+ },
53
+ "name": "brSkipLinkMarginDefault",
54
+ "attributes": {
55
+ "category": "br",
56
+ "type": "skipLink",
57
+ "item": "margin",
58
+ "subitem": "default"
59
+ },
60
+ "path": [
61
+ "br",
62
+ "skipLink",
63
+ "margin",
64
+ "default"
65
+ ]
66
+ }
67
+ },
68
+ "shadowStyle": {
69
+ "default": {
70
+ "key": "{br.skipLink.shadowStyle.default}",
71
+ "$value": "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)",
72
+ "filePath": "src/temp/style-dictionary/core/component.json",
73
+ "isSource": true,
74
+ "$type": "shadow",
75
+ "$extensions": {
76
+ "studio.tokens": {
77
+ "originalType": "boxShadow"
78
+ }
79
+ },
80
+ "original": {
81
+ "$value": "{br.elevation.shadowStyle.level4}",
82
+ "$type": "shadow",
83
+ "$extensions": {
84
+ "studio.tokens": {
85
+ "originalType": "boxShadow"
86
+ }
87
+ },
88
+ "key": "{br.skipLink.shadowStyle.default}"
89
+ },
90
+ "name": "brSkipLinkShadowStyleDefault",
91
+ "attributes": {
92
+ "category": "br",
93
+ "type": "skipLink",
94
+ "item": "shadowStyle",
95
+ "subitem": "default"
96
+ },
97
+ "path": [
98
+ "br",
99
+ "skipLink",
100
+ "shadowStyle",
101
+ "default"
102
+ ]
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
@@ -405,6 +405,296 @@
405
405
  }
406
406
  }
407
407
  },
408
+ "caption": {
409
+ "fontStyle": {
410
+ "key": "{br.text.caption.fontStyle}",
411
+ "$type": "typography",
412
+ "$value": "400 0.7901rem/1.5 'Noto Sans'",
413
+ "filePath": "src/temp/style-dictionary/core/component.json",
414
+ "isSource": true,
415
+ "original": {
416
+ "$type": "typography",
417
+ "$value": {
418
+ "fontFamily": "{br.typography.fontFamily.primary}",
419
+ "fontWeight": "{br.typography.fontWeight.regular}",
420
+ "fontSize": "{br.text.caption.fontSize.md}",
421
+ "lineHeight": "{br.text.density.regular}"
422
+ },
423
+ "key": "{br.text.caption.fontStyle}"
424
+ },
425
+ "name": "brTextCaptionFontStyle",
426
+ "attributes": {
427
+ "category": "br",
428
+ "type": "text",
429
+ "item": "caption",
430
+ "subitem": "fontStyle"
431
+ },
432
+ "path": [
433
+ "br",
434
+ "text",
435
+ "caption",
436
+ "fontStyle"
437
+ ]
438
+ },
439
+ "fontSize": {
440
+ "sm": {
441
+ "key": "{br.text.caption.fontSize.sm}",
442
+ "$value": "0.6243rem",
443
+ "filePath": "src/temp/style-dictionary/core/component.json",
444
+ "isSource": true,
445
+ "$type": "fontSize",
446
+ "$extensions": {
447
+ "studio.tokens": {
448
+ "originalType": "fontSizes"
449
+ }
450
+ },
451
+ "original": {
452
+ "$value": "{br.typography.fontSize.down.4}",
453
+ "$type": "fontSize",
454
+ "$extensions": {
455
+ "studio.tokens": {
456
+ "originalType": "fontSizes"
457
+ }
458
+ },
459
+ "key": "{br.text.caption.fontSize.sm}"
460
+ },
461
+ "name": "brTextCaptionFontSizeSm",
462
+ "attributes": {
463
+ "category": "br",
464
+ "type": "text",
465
+ "item": "caption",
466
+ "subitem": "fontSize",
467
+ "state": "sm"
468
+ },
469
+ "path": [
470
+ "br",
471
+ "text",
472
+ "caption",
473
+ "fontSize",
474
+ "sm"
475
+ ]
476
+ },
477
+ "md": {
478
+ "key": "{br.text.caption.fontSize.md}",
479
+ "$value": "0.7901rem",
480
+ "filePath": "src/temp/style-dictionary/core/component.json",
481
+ "isSource": true,
482
+ "$type": "fontSize",
483
+ "$extensions": {
484
+ "studio.tokens": {
485
+ "originalType": "fontSizes"
486
+ }
487
+ },
488
+ "original": {
489
+ "$value": "{br.typography.fontSize.down.2}",
490
+ "$type": "fontSize",
491
+ "$extensions": {
492
+ "studio.tokens": {
493
+ "originalType": "fontSizes"
494
+ }
495
+ },
496
+ "key": "{br.text.caption.fontSize.md}"
497
+ },
498
+ "name": "brTextCaptionFontSizeMd",
499
+ "attributes": {
500
+ "category": "br",
501
+ "type": "text",
502
+ "item": "caption",
503
+ "subitem": "fontSize",
504
+ "state": "md"
505
+ },
506
+ "path": [
507
+ "br",
508
+ "text",
509
+ "caption",
510
+ "fontSize",
511
+ "md"
512
+ ]
513
+ },
514
+ "lg": {
515
+ "key": "{br.text.caption.fontSize.lg}",
516
+ "$value": "1rem",
517
+ "filePath": "src/temp/style-dictionary/core/component.json",
518
+ "isSource": true,
519
+ "$type": "fontSize",
520
+ "$extensions": {
521
+ "studio.tokens": {
522
+ "originalType": "fontSizes"
523
+ }
524
+ },
525
+ "original": {
526
+ "$value": "{br.typography.fontSize.default}",
527
+ "$type": "fontSize",
528
+ "$extensions": {
529
+ "studio.tokens": {
530
+ "originalType": "fontSizes"
531
+ }
532
+ },
533
+ "key": "{br.text.caption.fontSize.lg}"
534
+ },
535
+ "name": "brTextCaptionFontSizeLg",
536
+ "attributes": {
537
+ "category": "br",
538
+ "type": "text",
539
+ "item": "caption",
540
+ "subitem": "fontSize",
541
+ "state": "lg"
542
+ },
543
+ "path": [
544
+ "br",
545
+ "text",
546
+ "caption",
547
+ "fontSize",
548
+ "lg"
549
+ ]
550
+ }
551
+ }
552
+ },
553
+ "body": {
554
+ "fontStyle": {
555
+ "key": "{br.text.body.fontStyle}",
556
+ "$type": "typography",
557
+ "$value": "400 1rem/1.5 'Noto Sans'",
558
+ "filePath": "src/temp/style-dictionary/core/component.json",
559
+ "isSource": true,
560
+ "original": {
561
+ "$type": "typography",
562
+ "$value": {
563
+ "fontFamily": "{br.typography.fontFamily.primary}",
564
+ "fontWeight": "{br.typography.fontWeight.regular}",
565
+ "fontSize": "{br.text.body.fontSize.md}",
566
+ "lineHeight": "{br.text.density.regular}"
567
+ },
568
+ "key": "{br.text.body.fontStyle}"
569
+ },
570
+ "name": "brTextBodyFontStyle",
571
+ "attributes": {
572
+ "category": "br",
573
+ "type": "text",
574
+ "item": "body",
575
+ "subitem": "fontStyle"
576
+ },
577
+ "path": [
578
+ "br",
579
+ "text",
580
+ "body",
581
+ "fontStyle"
582
+ ]
583
+ },
584
+ "fontSize": {
585
+ "sm": {
586
+ "key": "{br.text.body.fontSize.sm}",
587
+ "$value": "0.8889rem",
588
+ "filePath": "src/temp/style-dictionary/core/component.json",
589
+ "isSource": true,
590
+ "$type": "fontSize",
591
+ "$extensions": {
592
+ "studio.tokens": {
593
+ "originalType": "fontSizes"
594
+ }
595
+ },
596
+ "original": {
597
+ "$value": "{br.typography.fontSize.down.1}",
598
+ "$type": "fontSize",
599
+ "$extensions": {
600
+ "studio.tokens": {
601
+ "originalType": "fontSizes"
602
+ }
603
+ },
604
+ "key": "{br.text.body.fontSize.sm}"
605
+ },
606
+ "name": "brTextBodyFontSizeSm",
607
+ "attributes": {
608
+ "category": "br",
609
+ "type": "text",
610
+ "item": "body",
611
+ "subitem": "fontSize",
612
+ "state": "sm"
613
+ },
614
+ "path": [
615
+ "br",
616
+ "text",
617
+ "body",
618
+ "fontSize",
619
+ "sm"
620
+ ]
621
+ },
622
+ "md": {
623
+ "key": "{br.text.body.fontSize.md}",
624
+ "$value": "1rem",
625
+ "filePath": "src/temp/style-dictionary/core/component.json",
626
+ "isSource": true,
627
+ "$type": "fontSize",
628
+ "$extensions": {
629
+ "studio.tokens": {
630
+ "originalType": "fontSizes"
631
+ }
632
+ },
633
+ "original": {
634
+ "$value": "{br.typography.fontSize.default}",
635
+ "$type": "fontSize",
636
+ "$extensions": {
637
+ "studio.tokens": {
638
+ "originalType": "fontSizes"
639
+ }
640
+ },
641
+ "key": "{br.text.body.fontSize.md}"
642
+ },
643
+ "name": "brTextBodyFontSizeMd",
644
+ "attributes": {
645
+ "category": "br",
646
+ "type": "text",
647
+ "item": "body",
648
+ "subitem": "fontSize",
649
+ "state": "md"
650
+ },
651
+ "path": [
652
+ "br",
653
+ "text",
654
+ "body",
655
+ "fontSize",
656
+ "md"
657
+ ]
658
+ },
659
+ "lg": {
660
+ "key": "{br.text.body.fontSize.lg}",
661
+ "$value": "1.125rem",
662
+ "filePath": "src/temp/style-dictionary/core/component.json",
663
+ "isSource": true,
664
+ "$type": "fontSize",
665
+ "$extensions": {
666
+ "studio.tokens": {
667
+ "originalType": "fontSizes"
668
+ }
669
+ },
670
+ "original": {
671
+ "$value": "{br.typography.fontSize.up.1}",
672
+ "$type": "fontSize",
673
+ "$extensions": {
674
+ "studio.tokens": {
675
+ "originalType": "fontSizes"
676
+ }
677
+ },
678
+ "key": "{br.text.body.fontSize.lg}"
679
+ },
680
+ "name": "brTextBodyFontSizeLg",
681
+ "attributes": {
682
+ "category": "br",
683
+ "type": "text",
684
+ "item": "body",
685
+ "subitem": "fontSize",
686
+ "state": "lg"
687
+ },
688
+ "path": [
689
+ "br",
690
+ "text",
691
+ "body",
692
+ "fontSize",
693
+ "lg"
694
+ ]
695
+ }
696
+ }
697
+ },
408
698
  "density": {
409
699
  "compact": {
410
700
  "key": "{br.text.density.compact}",