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

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.
@@ -12,12 +12,12 @@ $br-footer-icon-name-collapse-open: $br-iconography-icon-name-navigation-collaps
12
12
  $br-footer-icon-name-collapse-close: $br-iconography-icon-name-navigation-collapse-down;
13
13
  $br-footer-icon-name-externallink: $br-iconography-icon-name-navigation-externallink;
14
14
  $br-footer-font-style-identification: $br-typography-font-weight-medium $br-typography-font-size-down-1/$br-typography-line-height-md $br-typography-font-family-primary;
15
- $br-footer-density-compact-default: $br-spacing-layout-1;
16
- $br-footer-density-compact-support: $br-spacing-adjust-1;
17
- $br-footer-density-regular-default: $br-spacing-layout-3;
18
- $br-footer-density-regular-support: $br-spacing-layout-2;
19
- $br-footer-density-spacious-default: $br-spacing-layout-4;
20
- $br-footer-density-spacious-support: $br-spacing-layout-3;
15
+ $br-footer-density-default-compact: $br-spacing-layout-1;
16
+ $br-footer-density-default-regular: $br-spacing-layout-3;
17
+ $br-footer-density-default-spacious: $br-spacing-layout-4;
18
+ $br-footer-density-support-compact: $br-spacing-adjust-1;
19
+ $br-footer-density-support-regular: $br-spacing-layout-2;
20
+ $br-footer-density-support-spacious: $br-spacing-layout-3;
21
21
  $br-footer-color-background-main-primary: $br-color-background-main-primary;
22
22
  $br-footer-color-background-main-secondary: $br-color-background-main-secondary;
23
23
  $br-footer-color-background-contrast-primary: $br-color-background-contrast-primary;
@@ -549,6 +549,12 @@ $br-iconography-icon-name-action-search: search !default;
549
549
  $br-iconography-icon-name-action-subtract: minus !default;
550
550
  $br-iconography-icon-name-action-upload: upload !default;
551
551
  $br-iconography-icon-name-action-view: eye !default;
552
+ $br-iconography-icon-name-action-voice: microphone !default;
553
+ $br-iconography-icon-name-action-play: play !default;
554
+ $br-iconography-icon-name-action-pause: pause !default;
555
+ $br-iconography-icon-name-action-stop: stop !default;
556
+ $br-iconography-icon-name-action-forward: forward !default;
557
+ $br-iconography-icon-name-action-backward: backward !default;
552
558
  $br-iconography-icon-name-navigation-next: arrow-right !default;
553
559
  $br-iconography-icon-name-navigation-collapse-down: chevron-down !default;
554
560
  $br-iconography-icon-name-navigation-collapse-up: chevron-up !default;
@@ -565,6 +571,7 @@ $br-iconography-icon-name-navigation-externallink: external-link-alt !default;
565
571
  $br-iconography-icon-name-navigation-home: home !default;
566
572
  $br-iconography-icon-name-navigation-menu: bars !default;
567
573
  $br-iconography-icon-name-navigation-options: ellipsis-v !default;
574
+ $br-iconography-icon-name-navigation-more: ellipsis-h !default;
568
575
  $br-iconography-icon-name-navigation-user: user !default;
569
576
  $br-iconography-icon-name-navigation-signin: sign-in-alt !default;
570
577
  $br-iconography-icon-name-navigation-back: arrow-left !default;
@@ -1594,7 +1601,13 @@ $tokens: (
1594
1601
  'search': $br-iconography-icon-name-action-search,
1595
1602
  'subtract': $br-iconography-icon-name-action-subtract,
1596
1603
  'upload': $br-iconography-icon-name-action-upload,
1597
- 'view': $br-iconography-icon-name-action-view
1604
+ 'view': $br-iconography-icon-name-action-view,
1605
+ 'voice': $br-iconography-icon-name-action-voice,
1606
+ 'play': $br-iconography-icon-name-action-play,
1607
+ 'pause': $br-iconography-icon-name-action-pause,
1608
+ 'stop': $br-iconography-icon-name-action-stop,
1609
+ 'forward': $br-iconography-icon-name-action-forward,
1610
+ 'backward': $br-iconography-icon-name-action-backward
1598
1611
  ),
1599
1612
  'navigation': (
1600
1613
  'next': $br-iconography-icon-name-navigation-next,
@@ -1613,6 +1626,7 @@ $tokens: (
1613
1626
  'home': $br-iconography-icon-name-navigation-home,
1614
1627
  'menu': $br-iconography-icon-name-navigation-menu,
1615
1628
  'options': $br-iconography-icon-name-navigation-options,
1629
+ 'more': $br-iconography-icon-name-navigation-more,
1616
1630
  'user': $br-iconography-icon-name-navigation-user,
1617
1631
  'signin': $br-iconography-icon-name-navigation-signin,
1618
1632
  'back': $br-iconography-icon-name-navigation-back
@@ -1826,6 +1826,24 @@
1826
1826
  },
1827
1827
  "view": {
1828
1828
  "$value": "eye"
1829
+ },
1830
+ "voice": {
1831
+ "$value": "microphone"
1832
+ },
1833
+ "play": {
1834
+ "$value": "play"
1835
+ },
1836
+ "pause": {
1837
+ "$value": "pause"
1838
+ },
1839
+ "stop": {
1840
+ "$value": "stop"
1841
+ },
1842
+ "forward": {
1843
+ "$value": "forward"
1844
+ },
1845
+ "backward": {
1846
+ "$value": "backward"
1829
1847
  }
1830
1848
  },
1831
1849
  "navigation": {
@@ -1877,6 +1895,9 @@
1877
1895
  "options": {
1878
1896
  "$value": "ellipsis-v"
1879
1897
  },
1898
+ "more": {
1899
+ "$value": "ellipsis-h"
1900
+ },
1880
1901
  "user": {
1881
1902
  "$value": "user"
1882
1903
  },
@@ -5610,6 +5631,301 @@
5610
5631
  }
5611
5632
  }
5612
5633
  },
5634
+ "chatInput": {
5635
+ "color": {
5636
+ "$type": "color",
5637
+ "background": {
5638
+ "main": {
5639
+ "primary": {
5640
+ "$value": "{br.color.background.main.primary}"
5641
+ },
5642
+ "secondary": {
5643
+ "$value": "{br.color.background.main.secondary}"
5644
+ }
5645
+ },
5646
+ "contrast": {
5647
+ "primary": {
5648
+ "$value": "{br.color.background.contrast.primary}"
5649
+ },
5650
+ "secondary": {
5651
+ "$value": "{br.color.background.contrast.secondary}"
5652
+ }
5653
+ }
5654
+ },
5655
+ "foreground": {
5656
+ "main": {
5657
+ "primary": {
5658
+ "$value": "{br.color.foreground.main.primary}"
5659
+ },
5660
+ "secondary": {
5661
+ "$value": "{br.color.foreground.main.secondary}"
5662
+ }
5663
+ },
5664
+ "contrast": {
5665
+ "primary": {
5666
+ "$value": "{br.color.foreground.contrast.primary}"
5667
+ },
5668
+ "secondary": {
5669
+ "$value": "{br.color.foreground.contrast.secondary}"
5670
+ }
5671
+ }
5672
+ }
5673
+ },
5674
+ "rounder": {
5675
+ "default": {
5676
+ "$type": "borderRadius",
5677
+ "$value": "{br.form.rounder.primary}"
5678
+ }
5679
+ },
5680
+ "borderStyle": {
5681
+ "default": {
5682
+ "$type": "border",
5683
+ "$value": "{br.form.borderStyle.default}"
5684
+ }
5685
+ },
5686
+ "gap": {
5687
+ "default": {
5688
+ "$type": "spacing",
5689
+ "$value": "{br.form.gap.default}"
5690
+ }
5691
+ },
5692
+ "density": {
5693
+ "$type": "spacing",
5694
+ "compact": {
5695
+ "$value": "{br.spacing.layout.1}"
5696
+ },
5697
+ "regular": {
5698
+ "$value": "{br.spacing.adjust.2}"
5699
+ },
5700
+ "spacious": {
5701
+ "$value": "{br.spacing.layout.2}"
5702
+ }
5703
+ },
5704
+ "iconName": {
5705
+ "$type": "text",
5706
+ "send": {
5707
+ "$value": "{br.iconography.iconName.action.send}"
5708
+ },
5709
+ "confirm": {
5710
+ "$value": "{br.iconography.iconName.action.confirm}"
5711
+ },
5712
+ "delete": {
5713
+ "$value": "{br.iconography.iconName.action.delete}"
5714
+ },
5715
+ "add": {
5716
+ "$value": "{br.iconography.iconName.action.add}"
5717
+ },
5718
+ "voice": {
5719
+ "$value": "{br.iconography.iconName.action.voice}"
5720
+ },
5721
+ "play": {
5722
+ "$value": "{br.iconography.iconName.action.play}"
5723
+ },
5724
+ "stop": {
5725
+ "$value": "{br.iconography.iconName.action.stop}"
5726
+ },
5727
+ "pause": {
5728
+ "$value": "{br.iconography.iconName.action.pause}"
5729
+ },
5730
+ "forward": {
5731
+ "$value": "{br.iconography.iconName.action.forward}"
5732
+ },
5733
+ "backward": {
5734
+ "$value": "{br.iconography.iconName.action.backward}"
5735
+ }
5736
+ },
5737
+ "height": {
5738
+ "$type": "dimension",
5739
+ "default": {
5740
+ "$value": "66"
5741
+ },
5742
+ "maximun": {
5743
+ "maxHeight": {
5744
+ "$value": "288"
5745
+ }
5746
+ }
5747
+ },
5748
+ "width": {
5749
+ "$type": "dimension",
5750
+ "default": {
5751
+ "$value": "88"
5752
+ }
5753
+ },
5754
+ "padding": {
5755
+ "sm": {
5756
+ "$type": "spacing",
5757
+ "$value": "{br.spacing.layout.1}"
5758
+ },
5759
+ "lg": {
5760
+ "$type": "spacing",
5761
+ "$value": "{br.spacing.layout.2}"
5762
+ }
5763
+ },
5764
+ "fontStyle": {
5765
+ "helpText": {
5766
+ "$type": "typography",
5767
+ "$value": {
5768
+ "fontFamily": "{br.typography.fontFamily.primary}",
5769
+ "fontWeight": "{br.typography.fontWeight.regular}",
5770
+ "fontSize": "{br.typography.fontSize.down.2}",
5771
+ "lineHeight": "{br.text.density.regular}"
5772
+ }
5773
+ },
5774
+ "placeholder": {
5775
+ "$type": "typography",
5776
+ "$value": "{br.typography.fontStyle.placeholder}"
5777
+ },
5778
+ "entry": {
5779
+ "$type": "typography",
5780
+ "$value": "{br.typography.fontStyle.input}"
5781
+ }
5782
+ },
5783
+ "shadowStyle": {
5784
+ "default": {
5785
+ "$type": "boxShadow",
5786
+ "$value": "{br.elevation.shadowStyle.level2}"
5787
+ }
5788
+ },
5789
+ "hover": {
5790
+ "color": {
5791
+ "$type": "color",
5792
+ "main": {
5793
+ "$value": "{br.state.hover.color.interactiveFg.main}"
5794
+ },
5795
+ "contrast": {
5796
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
5797
+ }
5798
+ },
5799
+ "easing": {
5800
+ "$type": "easing",
5801
+ "in": {
5802
+ "$value": "{br.state.hover.easing.in.default}"
5803
+ },
5804
+ "out": {
5805
+ "$value": "{br.state.hover.easing.out}"
5806
+ }
5807
+ },
5808
+ "duration": {
5809
+ "$type": "duration",
5810
+ "in": {
5811
+ "$value": "{br.state.hover.duration.in.default}"
5812
+ },
5813
+ "out": {
5814
+ "$value": "{br.state.hover.duration.out}"
5815
+ }
5816
+ }
5817
+ },
5818
+ "pressed": {
5819
+ "shadowStyle": {
5820
+ "$type": "boxShadow",
5821
+ "$value": "{br.state.pressed.shadowStyle}"
5822
+ },
5823
+ "easing": {
5824
+ "$type": "easing",
5825
+ "in": {
5826
+ "$value": "{br.state.pressed.easing.in}"
5827
+ },
5828
+ "out": {
5829
+ "$value": "{br.state.pressed.easing.out}"
5830
+ }
5831
+ },
5832
+ "duration": {
5833
+ "$type": "duration",
5834
+ "in": {
5835
+ "$value": "{br.state.pressed.duration.in}"
5836
+ },
5837
+ "out": {
5838
+ "$value": "{br.state.pressed.duration.out}"
5839
+ }
5840
+ }
5841
+ },
5842
+ "dropzone": {
5843
+ "borderStyle": {
5844
+ "$type": "border",
5845
+ "main": {
5846
+ "$value": "{br.state.dropzone.borderStyle.main}"
5847
+ },
5848
+ "contrast": {
5849
+ "$value": "{br.state.dropzone.borderStyle.contrast}"
5850
+ }
5851
+ }
5852
+ },
5853
+ "dropzoneActive": {
5854
+ "color": {
5855
+ "$type": "color",
5856
+ "main": {
5857
+ "$value": "{br.state.dropzoneActive.color.main}"
5858
+ },
5859
+ "contrast": {
5860
+ "$value": "{br.state.dropzoneActive.color.contrast}"
5861
+ }
5862
+ },
5863
+ "opacity": {
5864
+ "$type": "opacity",
5865
+ "main": {
5866
+ "$value": "{br.state.dropzoneActive.opacity}"
5867
+ }
5868
+ }
5869
+ },
5870
+ "focus": {
5871
+ "borderStyle": {
5872
+ "$type": "border",
5873
+ "low": {
5874
+ "main": {
5875
+ "$value": "{br.state.focus.borderStyle.main.low}"
5876
+ },
5877
+ "contrast": {
5878
+ "$value": "{br.state.focus.borderStyle.contrast.low}"
5879
+ }
5880
+ },
5881
+ "high": {
5882
+ "main": {
5883
+ "$value": "{br.state.focus.borderStyle.main.high}"
5884
+ },
5885
+ "contrast": {
5886
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
5887
+ }
5888
+ }
5889
+ },
5890
+ "padding": {
5891
+ "$type": "spacing",
5892
+ "$value": "{br.state.focus.padding}"
5893
+ },
5894
+ "easing": {
5895
+ "$type": "easing",
5896
+ "in": {
5897
+ "$value": "{br.state.focus.easing.in}"
5898
+ },
5899
+ "out": {
5900
+ "$value": "{br.state.focus.easing.out}"
5901
+ }
5902
+ },
5903
+ "duration": {
5904
+ "$type": "duration",
5905
+ "in": {
5906
+ "$value": "{br.state.focus.duration.in}"
5907
+ },
5908
+ "out": {
5909
+ "$value": "{br.state.focus.duration.out}"
5910
+ }
5911
+ }
5912
+ },
5913
+ "disabled": {
5914
+ "color": {
5915
+ "$type": "color",
5916
+ "main": {
5917
+ "$value": "{br.state.disabled.color.main}"
5918
+ },
5919
+ "contrast": {
5920
+ "$value": "{br.state.disabled.color.contrast}"
5921
+ }
5922
+ },
5923
+ "opacity": {
5924
+ "$type": "opacity",
5925
+ "$value": "{br.state.disabled.opacity}"
5926
+ }
5927
+ }
5928
+ },
5613
5929
  "footer": {
5614
5930
  "color": {
5615
5931
  "$type": "color",
@@ -5712,27 +6028,25 @@
5712
6028
  },
5713
6029
  "density": {
5714
6030
  "$type": "spacing",
5715
- "compact": {
5716
- "default": {
6031
+ "default": {
6032
+ "compact": {
5717
6033
  "$value": "{br.spacing.layout.1}"
5718
6034
  },
5719
- "support": {
5720
- "$value": "{br.spacing.adjust.1}"
5721
- }
5722
- },
5723
- "regular": {
5724
- "default": {
6035
+ "regular": {
5725
6036
  "$value": "{br.spacing.layout.3}"
5726
6037
  },
5727
- "support": {
5728
- "$value": "{br.spacing.layout.2}"
6038
+ "spacious": {
6039
+ "$value": "{br.spacing.layout.4}"
5729
6040
  }
5730
6041
  },
5731
- "spacious": {
5732
- "default": {
5733
- "$value": "{br.spacing.layout.4}"
6042
+ "support": {
6043
+ "compact": {
6044
+ "$value": "{br.spacing.adjust.1}"
5734
6045
  },
5735
- "support": {
6046
+ "regular": {
6047
+ "$value": "{br.spacing.layout.2}"
6048
+ },
6049
+ "spacious": {
5736
6050
  "$value": "{br.spacing.layout.3}"
5737
6051
  }
5738
6052
  }
@@ -5846,14 +6160,14 @@
5846
6160
  }
5847
6161
  },
5848
6162
  "gap": {
6163
+ "$type": "spacing",
5849
6164
  "default": {
5850
- "$type": "spacing",
5851
6165
  "$value": "{br.spacing.adjust.1}"
5852
6166
  }
5853
6167
  },
5854
6168
  "padding": {
6169
+ "$type": "spacing",
5855
6170
  "default": {
5856
- "$type": "spacing",
5857
6171
  "$value": "{br.spacing.adjust.1}"
5858
6172
  }
5859
6173
  },
@@ -5869,6 +6183,21 @@
5869
6183
  "$value": "{br.spacing.adjust.2}"
5870
6184
  }
5871
6185
  },
6186
+ "rounder": {
6187
+ "$type": "borderRadius",
6188
+ "default": {
6189
+ "$value": "{br.surface.rounder.sm}"
6190
+ }
6191
+ },
6192
+ "iconName": {
6193
+ "$type": "text",
6194
+ "home": {
6195
+ "$value": "{br.iconography.iconName.navigation.home}"
6196
+ },
6197
+ "more": {
6198
+ "$value": "{br.iconography.iconName.navigation.more}"
6199
+ }
6200
+ },
5872
6201
  "fontStyle": {
5873
6202
  "$type": "typography",
5874
6203
  "default": {
@@ -5881,21 +6210,19 @@
5881
6210
  }
5882
6211
  },
5883
6212
  "shadowStyle": {
6213
+ "$type": "boxShadow",
5884
6214
  "default": {
5885
- "$type": "boxShadow",
5886
6215
  "$value": "{br.elevation.shadowStyle.level2}"
5887
6216
  }
5888
6217
  },
5889
6218
  "hover": {
5890
6219
  "color": {
5891
6220
  "$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
- }
6221
+ "main": {
6222
+ "$value": "{br.state.hover.color.interactiveFg.main}"
6223
+ },
6224
+ "contrast": {
6225
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
5899
6226
  }
5900
6227
  },
5901
6228
  "easing": {
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.30",
4
- "type": "module",
3
+ "version": "4.0.0-next.31",
5
4
  "description": "Tokens do Padrão Digital de Governo",
6
5
  "keywords": [
7
6
  "design system",
@@ -19,22 +18,25 @@
19
18
  },
20
19
  "license": "MIT",
21
20
  "author": "SERPRO (http://serpro.gov.br/)",
21
+ "type": "module",
22
22
  "files": [
23
23
  "dist",
24
24
  "src"
25
25
  ],
26
+ "devDependencies": {
27
+ "@tokens-studio/sd-transforms": "^2.0.3",
28
+ "npm-run-all2": "9.0.3",
29
+ "rimraf": "6.1.3",
30
+ "style-dictionary": "^5.5.0"
31
+ },
26
32
  "scripts": {
27
33
  "build": "run-s clear split-tokens compile make-tokens-studio",
28
34
  "clear": "run-p clear:*",
29
35
  "clear:dist": "rimraf ./dist",
30
36
  "clear:temp": "rimraf ./src/temp",
31
37
  "compile": "node scripts/build.mjs",
38
+ "make-tokens-studio": "node scripts/make-tokens-studio.mjs",
32
39
  "split-tokens": "node scripts/split-tokens.mjs",
33
- "start": "run-s split-tokens compile make-tokens-studio",
34
- "make-tokens-studio": "node scripts/make-tokens-studio.mjs"
35
- },
36
- "devDependencies": {
37
- "@tokens-studio/sd-transforms": "^2.0.3",
38
- "style-dictionary": "^5.4.1"
40
+ "start": "run-s split-tokens compile make-tokens-studio"
39
41
  }
40
- }
42
+ }