@govbr-ds/tokens 4.0.0-next.29 → 4.0.0-next.30

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 (29) hide show
  1. package/README.md +43 -138
  2. package/dist/css/components/breadcrumbs/tokens.css +34 -0
  3. package/dist/css/components/footer/tokens.css +48 -0
  4. package/dist/css/components/header/tokens.css +38 -0
  5. package/dist/css/components/tooltip/tokens.css +18 -0
  6. package/dist/css/contrast-mode.css +41 -0
  7. package/dist/css/theme/dark/{tokens-prefers-color-scheme.css → prefers-color-scheme.css} +1 -0
  8. package/dist/css/theme/dark/tokens.css +1 -0
  9. package/dist/css/theme/light/{tokens-prefers-color-scheme.css → prefers-color-scheme.css} +1 -0
  10. package/dist/css/theme/light/tokens.css +1 -0
  11. package/dist/js/components/breadcrumbs/tokens.js +36 -0
  12. package/dist/js/components/footer/tokens.js +47 -0
  13. package/dist/js/components/header/tokens.js +39 -0
  14. package/dist/js/components/tooltip/tokens.js +17 -0
  15. package/dist/js/tokens.js +4 -4
  16. package/dist/json/components/breadcrumbs/tokens.json +877 -0
  17. package/dist/json/components/footer/tokens.json +1345 -0
  18. package/dist/json/components/header/tokens.json +1050 -0
  19. package/dist/json/components/tooltip/tokens.json +383 -0
  20. package/dist/json/tokens.json +4 -4
  21. package/dist/scss/components/breadcrumbs/tokens.scss +31 -0
  22. package/dist/scss/components/footer/tokens.scss +45 -0
  23. package/dist/scss/components/header/tokens.scss +35 -0
  24. package/dist/scss/components/tooltip/tokens.scss +15 -0
  25. package/dist/tokens-studio/tokens.json +569 -0
  26. package/package.json +3 -3
  27. package/src/temp/style-dictionary/core/component.json +569 -0
  28. package/src/temp/tokens-studio/core/component.json +569 -0
  29. package/src/tokens.json +570 -1
@@ -5405,6 +5405,575 @@
5405
5405
  }
5406
5406
  }
5407
5407
  }
5408
+ },
5409
+ "tooltip": {
5410
+ "color": {
5411
+ "$type": "color",
5412
+ "background": {
5413
+ "main": {
5414
+ "primary": {
5415
+ "$value": "{br.color.background.main.primary}"
5416
+ },
5417
+ "secondary": {
5418
+ "$value": "{br.color.background.main.secondary}"
5419
+ }
5420
+ },
5421
+ "contrast": {
5422
+ "primary": {
5423
+ "$value": "{br.color.background.contrast.primary}"
5424
+ },
5425
+ "secondary": {
5426
+ "$value": "{br.color.background.contrast.secondary}"
5427
+ }
5428
+ }
5429
+ },
5430
+ "foreground": {
5431
+ "main": {
5432
+ "$value": "{br.color.foreground.main.primary}"
5433
+ },
5434
+ "contrast": {
5435
+ "$value": "{br.color.foreground.contrast.primary}"
5436
+ }
5437
+ }
5438
+ },
5439
+ "rounder": {
5440
+ "$type": "borderRadius",
5441
+ "$value": "{br.surface.rounder.sm}"
5442
+ },
5443
+ "shadowStyle": {
5444
+ "$type": "boxShadow",
5445
+ "$value": "{br.elevation.shadowStyle.level4}"
5446
+ },
5447
+ "fontStyle": {
5448
+ "$type": "typography",
5449
+ "$value": {
5450
+ "fontFamily": "{br.typography.fontFamily.primary}",
5451
+ "fontWeight": "{br.typography.fontWeight.regular}",
5452
+ "fontSize": "{br.typography.fontSize.down.2}",
5453
+ "lineHeight": "{br.typography.lineHeight.sm}"
5454
+ }
5455
+ },
5456
+ "density": {
5457
+ "$type": "spacing",
5458
+ "compact": {
5459
+ "$value": "{br.spacing.adjust.1}"
5460
+ },
5461
+ "regular": {
5462
+ "$value": "{br.spacing.layout.1}"
5463
+ },
5464
+ "spacious": {
5465
+ "$value": "{br.spacing.layout.2}"
5466
+ }
5467
+ }
5468
+ },
5469
+ "header": {
5470
+ "color": {
5471
+ "$type": "color",
5472
+ "background": {
5473
+ "main": {
5474
+ "primary": {
5475
+ "$value": "{br.color.background.main.primary}"
5476
+ },
5477
+ "secondary": {
5478
+ "$value": "{br.color.background.main.secondary}"
5479
+ },
5480
+ "high": {
5481
+ "$value": "{br.state.interactive.color.main}"
5482
+ }
5483
+ },
5484
+ "contrast": {
5485
+ "primary": {
5486
+ "$value": "{br.color.background.contrast.primary}"
5487
+ },
5488
+ "secondary": {
5489
+ "$value": "{br.color.background.contrast.secondary}"
5490
+ },
5491
+ "high": {
5492
+ "$value": "{br.state.interactive.color.contrast}"
5493
+ }
5494
+ },
5495
+ "none": {
5496
+ "$value": "transparent"
5497
+ },
5498
+ "status": {
5499
+ "$value": "{br.color.goldVivid.5}"
5500
+ }
5501
+ },
5502
+ "foreground": {
5503
+ "main": {
5504
+ "subtitle": {
5505
+ "$value": "{br.color.foreground.main.secondary}"
5506
+ },
5507
+ "high": {
5508
+ "$value": "{br.state.interactive.color.foreground.main}"
5509
+ }
5510
+ },
5511
+ "contrast": {
5512
+ "subtitle": {
5513
+ "$value": "{br.color.foreground.contrast.secondary}"
5514
+ },
5515
+ "high": {
5516
+ "$value": "{br.state.interactive.color.foreground.contrast}"
5517
+ }
5518
+ },
5519
+ "status": {
5520
+ "$value": "{br.color.goldVivid.70}"
5521
+ }
5522
+ }
5523
+ },
5524
+ "padding": {
5525
+ "$type": "spacing",
5526
+ "status": {
5527
+ "$value": "{br.spacing.adjust.1}"
5528
+ }
5529
+ },
5530
+ "gap": {
5531
+ "$type": "spacing",
5532
+ "default": {
5533
+ "$value": "{br.spacing.layout.1}"
5534
+ },
5535
+ "identification": {
5536
+ "$value": "{br.spacing.adjust.1}"
5537
+ }
5538
+ },
5539
+ "rounder": {
5540
+ "$type": "borderRadius",
5541
+ "default": {
5542
+ "$value": "{br.surface.rounder.none}"
5543
+ },
5544
+ "status": {
5545
+ "$value": "{br.surface.rounder.sm}"
5546
+ }
5547
+ },
5548
+ "density": {
5549
+ "$type": "spacing",
5550
+ "compact": {
5551
+ "$value": "{br.spacing.layout.1}"
5552
+ },
5553
+ "regular": {
5554
+ "$value": "{br.spacing.layout.2}"
5555
+ },
5556
+ "spacious": {
5557
+ "$value": "{br.spacing.adjust.3}"
5558
+ }
5559
+ },
5560
+ "iconName": {
5561
+ "$type": "text",
5562
+ "menu": {
5563
+ "$value": "{br.iconography.iconName.navigation.menu}"
5564
+ },
5565
+ "back": {
5566
+ "$value": "{br.iconography.iconName.navigation.back}"
5567
+ },
5568
+ "close": {
5569
+ "$value": "{br.iconography.iconName.action.close}"
5570
+ },
5571
+ "search": {
5572
+ "$value": "{br.iconography.iconName.action.search}"
5573
+ },
5574
+ "options": {
5575
+ "$value": "{br.iconography.iconName.navigation.options}"
5576
+ },
5577
+ "signin": {
5578
+ "$value": "{br.iconography.iconName.navigation.signin}"
5579
+ }
5580
+ },
5581
+ "fontStyle": {
5582
+ "$type": "typography",
5583
+ "subtitle": {
5584
+ "$value": {
5585
+ "fontFamily": "{br.typography.fontFamily.primary}",
5586
+ "fontWeight": "{br.typography.fontWeight.medium}",
5587
+ "fontSize": "{br.typography.fontSize.down.2}",
5588
+ "lineHeight": "{br.typography.lineHeight.sm}"
5589
+ }
5590
+ },
5591
+ "status": {
5592
+ "$value": {
5593
+ "fontFamily": "{br.typography.fontFamily.primary}",
5594
+ "fontWeight": "{br.typography.fontWeight.regular}",
5595
+ "fontSize": "{br.typography.fontSize.down.4}",
5596
+ "lineHeight": "{br.typography.lineHeight.xsm}"
5597
+ }
5598
+ }
5599
+ },
5600
+ "shadowStyle": {
5601
+ "$type": "boxShadow",
5602
+ "default": {
5603
+ "$value": "{br.elevation.shadowStyle.level0}"
5604
+ },
5605
+ "fixed": {
5606
+ "$value": "{br.elevation.shadowStyle.level3}"
5607
+ },
5608
+ "dropdown": {
5609
+ "$value": "{br.elevation.shadowStyle.level2}"
5610
+ }
5611
+ }
5612
+ },
5613
+ "footer": {
5614
+ "color": {
5615
+ "$type": "color",
5616
+ "background": {
5617
+ "main": {
5618
+ "primary": {
5619
+ "$value": "{br.color.background.main.primary}"
5620
+ },
5621
+ "secondary": {
5622
+ "$value": "{br.color.background.main.secondary}"
5623
+ }
5624
+ },
5625
+ "contrast": {
5626
+ "primary": {
5627
+ "$value": "{br.color.background.contrast.primary}"
5628
+ },
5629
+ "secondary": {
5630
+ "$value": "{br.color.background.contrast.secondary}"
5631
+ }
5632
+ }
5633
+ },
5634
+ "foreground": {
5635
+ "main": {
5636
+ "default": {
5637
+ "$value": "{br.color.foreground.main.secondary}"
5638
+ }
5639
+ },
5640
+ "contrast": {
5641
+ "default": {
5642
+ "$value": "{br.color.foreground.contrast.secondary}"
5643
+ }
5644
+ }
5645
+ }
5646
+ },
5647
+ "padding": {
5648
+ "$type": "spacing",
5649
+ "default": {
5650
+ "$value": "{br.spacing.layout.1}"
5651
+ },
5652
+ "item": {
5653
+ "$value": "{br.spacing.adjust.1}"
5654
+ },
5655
+ "indentation": {
5656
+ "$value": "{br.spacing.layout.2}"
5657
+ }
5658
+ },
5659
+ "gap": {
5660
+ "$type": "spacing",
5661
+ "default": {
5662
+ "$value": "{br.spacing.layout.1}"
5663
+ }
5664
+ },
5665
+ "rounder": {
5666
+ "$type": "borderRadius",
5667
+ "default": {
5668
+ "$value": "{br.surface.rounder.sm}"
5669
+ }
5670
+ },
5671
+ "width": {
5672
+ "$type": "dimension",
5673
+ "minimum": {
5674
+ "$value": "200"
5675
+ },
5676
+ "maximum": {
5677
+ "$value": "480"
5678
+ }
5679
+ },
5680
+ "iconName": {
5681
+ "$type": "text",
5682
+ "collapseOpen": {
5683
+ "$value": "{br.iconography.iconName.navigation.collapseUp}"
5684
+ },
5685
+ "collapseClose": {
5686
+ "$value": "{br.iconography.iconName.navigation.collapseDown}"
5687
+ },
5688
+ "externallink": {
5689
+ "$value": "{br.iconography.iconName.navigation.externallink}"
5690
+ }
5691
+ },
5692
+ "borderStyle": {
5693
+ "$type": "border",
5694
+ "default": {
5695
+ "$value": {
5696
+ "color": "{br.color.border.primary}",
5697
+ "width": "{br.surface.borderWidth.sm}",
5698
+ "style": "solid"
5699
+ }
5700
+ }
5701
+ },
5702
+ "fontStyle": {
5703
+ "$type": "typography",
5704
+ "identification": {
5705
+ "$value": {
5706
+ "fontFamily": "{br.typography.fontFamily.primary}",
5707
+ "fontWeight": "{br.typography.fontWeight.medium}",
5708
+ "fontSize": "{br.typography.fontSize.down.1}",
5709
+ "lineHeight": "{br.typography.lineHeight.md}"
5710
+ }
5711
+ }
5712
+ },
5713
+ "density": {
5714
+ "$type": "spacing",
5715
+ "compact": {
5716
+ "default": {
5717
+ "$value": "{br.spacing.layout.1}"
5718
+ },
5719
+ "support": {
5720
+ "$value": "{br.spacing.adjust.1}"
5721
+ }
5722
+ },
5723
+ "regular": {
5724
+ "default": {
5725
+ "$value": "{br.spacing.layout.3}"
5726
+ },
5727
+ "support": {
5728
+ "$value": "{br.spacing.layout.2}"
5729
+ }
5730
+ },
5731
+ "spacious": {
5732
+ "default": {
5733
+ "$value": "{br.spacing.layout.4}"
5734
+ },
5735
+ "support": {
5736
+ "$value": "{br.spacing.layout.3}"
5737
+ }
5738
+ }
5739
+ },
5740
+ "hover": {
5741
+ "color": {
5742
+ "$type": "color",
5743
+ "main": {
5744
+ "$value": "{br.state.hover.color.interactiveFg.main}"
5745
+ },
5746
+ "contrast": {
5747
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
5748
+ }
5749
+ },
5750
+ "easing": {
5751
+ "$type": "easing",
5752
+ "in": {
5753
+ "$value": "{br.state.hover.easing.in.default}"
5754
+ },
5755
+ "out": {
5756
+ "$value": "{br.state.hover.easing.out}"
5757
+ }
5758
+ },
5759
+ "duration": {
5760
+ "$type": "duration",
5761
+ "in": {
5762
+ "$value": "{br.state.hover.duration.in.default}"
5763
+ },
5764
+ "out": {
5765
+ "$value": "{br.state.hover.duration.out}"
5766
+ }
5767
+ }
5768
+ },
5769
+ "pressed": {
5770
+ "shadowStyle": {
5771
+ "$type": "boxShadow",
5772
+ "$value": "{br.state.pressed.shadowStyle}"
5773
+ },
5774
+ "easing": {
5775
+ "$type": "easing",
5776
+ "in": {
5777
+ "$value": "{br.state.pressed.easing.in}"
5778
+ },
5779
+ "out": {
5780
+ "$value": "{br.state.pressed.easing.out}"
5781
+ }
5782
+ },
5783
+ "duration": {
5784
+ "$type": "duration",
5785
+ "in": {
5786
+ "$value": "{br.state.pressed.duration.in}"
5787
+ },
5788
+ "out": {
5789
+ "$value": "{br.state.pressed.duration.out}"
5790
+ }
5791
+ }
5792
+ },
5793
+ "focus": {
5794
+ "padding": {
5795
+ "$type": "spacing",
5796
+ "$value": "{br.state.focus.padding}"
5797
+ },
5798
+ "borderStyle": {
5799
+ "$type": "border",
5800
+ "main": {
5801
+ "$value": "{br.state.focus.borderStyle.main.high}"
5802
+ },
5803
+ "contrast": {
5804
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
5805
+ }
5806
+ },
5807
+ "easing": {
5808
+ "$type": "easing",
5809
+ "in": {
5810
+ "$value": "{br.state.focus.easing.in}"
5811
+ },
5812
+ "out": {
5813
+ "$value": "{br.state.focus.easing.out}"
5814
+ }
5815
+ },
5816
+ "duration": {
5817
+ "$type": "duration",
5818
+ "in": {
5819
+ "$value": "{br.state.focus.duration.in}"
5820
+ },
5821
+ "out": {
5822
+ "$value": "{br.state.focus.duration.out}"
5823
+ }
5824
+ }
5825
+ }
5826
+ },
5827
+ "breadcrumbs": {
5828
+ "color": {
5829
+ "$type": "color",
5830
+ "foreground": {
5831
+ "main": {
5832
+ "default": {
5833
+ "$value": "{br.state.interactive.color.main}"
5834
+ }
5835
+ },
5836
+ "contrast": {
5837
+ "default": {
5838
+ "$value": "{br.state.interactive.color.contrast}"
5839
+ }
5840
+ }
5841
+ },
5842
+ "border": {
5843
+ "default": {
5844
+ "$value": "{br.color.border.primary}"
5845
+ }
5846
+ }
5847
+ },
5848
+ "gap": {
5849
+ "default": {
5850
+ "$type": "spacing",
5851
+ "$value": "{br.spacing.adjust.1}"
5852
+ }
5853
+ },
5854
+ "padding": {
5855
+ "default": {
5856
+ "$type": "spacing",
5857
+ "$value": "{br.spacing.adjust.1}"
5858
+ }
5859
+ },
5860
+ "density": {
5861
+ "$type": "spacing",
5862
+ "compact": {
5863
+ "$value": "{br.spacing.adjust.1}"
5864
+ },
5865
+ "regular": {
5866
+ "$value": "{br.spacing.layout.1}"
5867
+ },
5868
+ "spacious": {
5869
+ "$value": "{br.spacing.adjust.2}"
5870
+ }
5871
+ },
5872
+ "fontStyle": {
5873
+ "$type": "typography",
5874
+ "default": {
5875
+ "$value": {
5876
+ "fontFamily": "{br.typography.fontFamily.primary}",
5877
+ "fontWeight": "{br.typography.fontWeight.regular}",
5878
+ "fontSize": "{br.typography.fontSize.down.1}",
5879
+ "lineHeight": "{br.typography.lineHeight.md}"
5880
+ }
5881
+ }
5882
+ },
5883
+ "shadowStyle": {
5884
+ "default": {
5885
+ "$type": "boxShadow",
5886
+ "$value": "{br.elevation.shadowStyle.level2}"
5887
+ }
5888
+ },
5889
+ "hover": {
5890
+ "color": {
5891
+ "$type": "color",
5892
+ "interactiveFg": {
5893
+ "main": {
5894
+ "$value": "{br.state.hover.color.interactiveFg.main}"
5895
+ },
5896
+ "contrast": {
5897
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
5898
+ }
5899
+ }
5900
+ },
5901
+ "easing": {
5902
+ "$type": "easing",
5903
+ "in": {
5904
+ "$value": "{br.state.hover.easing.in.default}"
5905
+ },
5906
+ "out": {
5907
+ "$value": "{br.state.hover.easing.out}"
5908
+ }
5909
+ },
5910
+ "duration": {
5911
+ "$type": "duration",
5912
+ "in": {
5913
+ "$value": "{br.state.hover.duration.in.default}"
5914
+ },
5915
+ "out": {
5916
+ "$value": "{br.state.hover.duration.out}"
5917
+ }
5918
+ }
5919
+ },
5920
+ "pressed": {
5921
+ "shadowStyle": {
5922
+ "$type": "boxShadow",
5923
+ "$value": "{br.state.pressed.shadowStyle}"
5924
+ },
5925
+ "easing": {
5926
+ "$type": "easing",
5927
+ "in": {
5928
+ "$value": "{br.state.pressed.easing.in}"
5929
+ },
5930
+ "out": {
5931
+ "$value": "{br.state.pressed.easing.out}"
5932
+ }
5933
+ },
5934
+ "duration": {
5935
+ "$type": "duration",
5936
+ "in": {
5937
+ "$value": "{br.state.pressed.duration.in}"
5938
+ },
5939
+ "out": {
5940
+ "$value": "{br.state.pressed.duration.out}"
5941
+ }
5942
+ }
5943
+ },
5944
+ "focus": {
5945
+ "padding": {
5946
+ "$type": "spacing",
5947
+ "$value": "{br.state.focus.padding}"
5948
+ },
5949
+ "borderStyle": {
5950
+ "$type": "border",
5951
+ "main": {
5952
+ "$value": "{br.state.focus.borderStyle.main.high}"
5953
+ },
5954
+ "contrast": {
5955
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
5956
+ }
5957
+ },
5958
+ "easing": {
5959
+ "$type": "easing",
5960
+ "in": {
5961
+ "$value": "{br.state.focus.easing.in}"
5962
+ },
5963
+ "out": {
5964
+ "$value": "{br.state.focus.easing.out}"
5965
+ }
5966
+ },
5967
+ "duration": {
5968
+ "$type": "duration",
5969
+ "in": {
5970
+ "$value": "{br.state.focus.duration.in}"
5971
+ },
5972
+ "out": {
5973
+ "$value": "{br.state.focus.duration.out}"
5974
+ }
5975
+ }
5976
+ }
5408
5977
  }
5409
5978
  }
5410
5979
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.29",
3
+ "version": "4.0.0-next.30",
4
4
  "type": "module",
5
5
  "description": "Tokens do Padrão Digital de Governo",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  "make-tokens-studio": "node scripts/make-tokens-studio.mjs"
35
35
  },
36
36
  "devDependencies": {
37
- "@tokens-studio/sd-transforms": "^2.0.1",
38
- "style-dictionary": "^5.0.4"
37
+ "@tokens-studio/sd-transforms": "^2.0.3",
38
+ "style-dictionary": "^5.4.1"
39
39
  }
40
40
  }