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

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.
@@ -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
  },
@@ -5712,27 +5733,25 @@
5712
5733
  },
5713
5734
  "density": {
5714
5735
  "$type": "spacing",
5715
- "compact": {
5716
- "default": {
5736
+ "default": {
5737
+ "compact": {
5717
5738
  "$value": "{br.spacing.layout.1}"
5718
5739
  },
5719
- "support": {
5720
- "$value": "{br.spacing.adjust.1}"
5721
- }
5722
- },
5723
- "regular": {
5724
- "default": {
5740
+ "regular": {
5725
5741
  "$value": "{br.spacing.layout.3}"
5726
5742
  },
5727
- "support": {
5728
- "$value": "{br.spacing.layout.2}"
5743
+ "spacious": {
5744
+ "$value": "{br.spacing.layout.4}"
5729
5745
  }
5730
5746
  },
5731
- "spacious": {
5732
- "default": {
5733
- "$value": "{br.spacing.layout.4}"
5747
+ "support": {
5748
+ "compact": {
5749
+ "$value": "{br.spacing.adjust.1}"
5734
5750
  },
5735
- "support": {
5751
+ "regular": {
5752
+ "$value": "{br.spacing.layout.2}"
5753
+ },
5754
+ "spacious": {
5736
5755
  "$value": "{br.spacing.layout.3}"
5737
5756
  }
5738
5757
  }
@@ -5846,14 +5865,14 @@
5846
5865
  }
5847
5866
  },
5848
5867
  "gap": {
5868
+ "$type": "spacing",
5849
5869
  "default": {
5850
- "$type": "spacing",
5851
5870
  "$value": "{br.spacing.adjust.1}"
5852
5871
  }
5853
5872
  },
5854
5873
  "padding": {
5874
+ "$type": "spacing",
5855
5875
  "default": {
5856
- "$type": "spacing",
5857
5876
  "$value": "{br.spacing.adjust.1}"
5858
5877
  }
5859
5878
  },
@@ -5869,6 +5888,21 @@
5869
5888
  "$value": "{br.spacing.adjust.2}"
5870
5889
  }
5871
5890
  },
5891
+ "rounder": {
5892
+ "$type": "borderRadius",
5893
+ "default": {
5894
+ "$value": "{br.surface.rounder.sm}"
5895
+ }
5896
+ },
5897
+ "iconName": {
5898
+ "$type": "text",
5899
+ "home": {
5900
+ "$value": "{br.iconography.iconName.navigation.home}"
5901
+ },
5902
+ "more": {
5903
+ "$value": "{br.iconography.iconName.navigation.more}"
5904
+ }
5905
+ },
5872
5906
  "fontStyle": {
5873
5907
  "$type": "typography",
5874
5908
  "default": {
@@ -5881,21 +5915,19 @@
5881
5915
  }
5882
5916
  },
5883
5917
  "shadowStyle": {
5918
+ "$type": "boxShadow",
5884
5919
  "default": {
5885
- "$type": "boxShadow",
5886
5920
  "$value": "{br.elevation.shadowStyle.level2}"
5887
5921
  }
5888
5922
  },
5889
5923
  "hover": {
5890
5924
  "color": {
5891
5925
  "$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
- }
5926
+ "main": {
5927
+ "$value": "{br.state.hover.color.interactiveFg.main}"
5928
+ },
5929
+ "contrast": {
5930
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
5899
5931
  }
5900
5932
  },
5901
5933
  "easing": {
@@ -5974,6 +6006,309 @@
5974
6006
  }
5975
6007
  }
5976
6008
  }
6009
+ },
6010
+ "chatInput": {
6011
+ "color": {
6012
+ "$type": "color",
6013
+ "background": {
6014
+ "main": {
6015
+ "primary": {
6016
+ "$value": "{br.color.background.main.primary}"
6017
+ },
6018
+ "secondary": {
6019
+ "$value": "{br.color.background.main.secondary}"
6020
+ }
6021
+ },
6022
+ "contrast": {
6023
+ "primary": {
6024
+ "$value": "{br.color.background.contrast.primary}"
6025
+ },
6026
+ "secondary": {
6027
+ "$value": "{br.color.background.contrast.secondary}"
6028
+ }
6029
+ }
6030
+ },
6031
+ "foreground": {
6032
+ "main": {
6033
+ "primary": {
6034
+ "$value": "{br.color.foreground.main.primary}"
6035
+ },
6036
+ "secondary": {
6037
+ "$value": "{br.color.foreground.main.secondary}"
6038
+ }
6039
+ },
6040
+ "contrast": {
6041
+ "primary": {
6042
+ "$value": "{br.color.foreground.contrast.primary}"
6043
+ },
6044
+ "secondary": {
6045
+ "$value": "{br.color.foreground.contrast.secondary}"
6046
+ }
6047
+ }
6048
+ }
6049
+ },
6050
+ "gap": {
6051
+ "default": {
6052
+ "$type": "spacing",
6053
+ "$value": "{br.form.gap.default}"
6054
+ }
6055
+ },
6056
+ "padding": {
6057
+ "default": {
6058
+ "$type": "spacing",
6059
+ "$value": "{br.spacing.layout.1}"
6060
+ }
6061
+ },
6062
+ "rounder": {
6063
+ "default": {
6064
+ "$type": "borderRadius",
6065
+ "$value": "{br.form.rounder.primary}"
6066
+ }
6067
+ },
6068
+ "width": {
6069
+ "$type": "dimension",
6070
+ "box": {
6071
+ "default": {
6072
+ "$value": "88"
6073
+ },
6074
+ "maximum": {
6075
+ "$value": "200"
6076
+ }
6077
+ }
6078
+ },
6079
+ "height": {
6080
+ "$type": "dimension",
6081
+ "input": {
6082
+ "maximum": {
6083
+ "$value": "288"
6084
+ }
6085
+ },
6086
+ "box": {
6087
+ "default": {
6088
+ "$value": "66"
6089
+ }
6090
+ }
6091
+ },
6092
+ "iconName": {
6093
+ "$type": "text",
6094
+ "close": {
6095
+ "$value": "{br.iconography.iconName.action.close}"
6096
+ },
6097
+ "send": {
6098
+ "$value": "{br.iconography.iconName.action.send}"
6099
+ },
6100
+ "confirm": {
6101
+ "$value": "{br.iconography.iconName.action.confirm}"
6102
+ },
6103
+ "delete": {
6104
+ "$value": "{br.iconography.iconName.action.delete}"
6105
+ },
6106
+ "add": {
6107
+ "$value": "{br.iconography.iconName.action.add}"
6108
+ },
6109
+ "voice": {
6110
+ "$value": "{br.iconography.iconName.action.voice}"
6111
+ },
6112
+ "play": {
6113
+ "$value": "{br.iconography.iconName.action.play}"
6114
+ },
6115
+ "stop": {
6116
+ "$value": "{br.iconography.iconName.action.stop}"
6117
+ }
6118
+ },
6119
+ "borderStyle": {
6120
+ "default": {
6121
+ "$type": "border",
6122
+ "$value": "{br.form.borderStyle.default}"
6123
+ }
6124
+ },
6125
+ "shadowStyle": {
6126
+ "dropdown": {
6127
+ "$type": "boxShadow",
6128
+ "$value": "{br.elevation.shadowStyle.level2}"
6129
+ }
6130
+ },
6131
+ "fontStyle": {
6132
+ "placeholder": {
6133
+ "$type": "typography",
6134
+ "$value": "{br.typography.fontStyle.placeholder}"
6135
+ },
6136
+ "textField": {
6137
+ "$type": "typography",
6138
+ "$value": "{br.typography.fontStyle.input}"
6139
+ },
6140
+ "helperText": {
6141
+ "$type": "typography",
6142
+ "$value": {
6143
+ "fontFamily": "{br.typography.fontFamily.primary}",
6144
+ "fontWeight": "{br.typography.fontWeight.regular}",
6145
+ "fontSize": "{br.typography.fontSize.down.2}",
6146
+ "lineHeight": "{br.text.density.regular}"
6147
+ }
6148
+ }
6149
+ },
6150
+ "density": {
6151
+ "$type": "spacing",
6152
+ "compact": {
6153
+ "$value": "{br.spacing.layout.1}"
6154
+ },
6155
+ "regular": {
6156
+ "$value": "{br.spacing.adjust.2}"
6157
+ },
6158
+ "spacious": {
6159
+ "$value": "{br.spacing.layout.2}"
6160
+ }
6161
+ },
6162
+ "disabled": {
6163
+ "color": {
6164
+ "$type": "color",
6165
+ "main": {
6166
+ "$value": "{br.state.disabled.color.main}"
6167
+ },
6168
+ "contrast": {
6169
+ "$value": "{br.state.disabled.color.contrast}"
6170
+ }
6171
+ },
6172
+ "opacity": {
6173
+ "$type": "opacity",
6174
+ "$value": "{br.state.disabled.opacity}"
6175
+ }
6176
+ },
6177
+ "hover": {
6178
+ "color": {
6179
+ "$type": "color",
6180
+ "main": {
6181
+ "$value": "{br.state.hover.color.interactiveFg.main}"
6182
+ },
6183
+ "contrast": {
6184
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
6185
+ }
6186
+ },
6187
+ "easing": {
6188
+ "$type": "easing",
6189
+ "in": {
6190
+ "$value": "{br.state.hover.easing.in.default}"
6191
+ },
6192
+ "out": {
6193
+ "$value": "{br.state.hover.easing.out}"
6194
+ }
6195
+ },
6196
+ "duration": {
6197
+ "$type": "duration",
6198
+ "in": {
6199
+ "$value": "{br.state.hover.duration.in.default}"
6200
+ },
6201
+ "out": {
6202
+ "$value": "{br.state.hover.duration.out}"
6203
+ }
6204
+ }
6205
+ },
6206
+ "pressed": {
6207
+ "shadowStyle": {
6208
+ "$type": "boxShadow",
6209
+ "$value": "{br.state.pressed.shadowStyle}"
6210
+ },
6211
+ "easing": {
6212
+ "$type": "easing",
6213
+ "in": {
6214
+ "$value": "{br.state.pressed.easing.in}"
6215
+ },
6216
+ "out": {
6217
+ "$value": "{br.state.pressed.easing.out}"
6218
+ }
6219
+ },
6220
+ "duration": {
6221
+ "$type": "duration",
6222
+ "in": {
6223
+ "$value": "{br.state.pressed.duration.in}"
6224
+ },
6225
+ "out": {
6226
+ "$value": "{br.state.pressed.duration.out}"
6227
+ }
6228
+ }
6229
+ },
6230
+ "focus": {
6231
+ "borderStyle": {
6232
+ "$type": "border",
6233
+ "main": {
6234
+ "$value": "{br.state.focus.borderStyle.main.low}"
6235
+ },
6236
+ "contrast": {
6237
+ "$value": "{br.state.focus.borderStyle.contrast.low}"
6238
+ }
6239
+ },
6240
+ "easing": {
6241
+ "$type": "easing",
6242
+ "in": {
6243
+ "$value": "{br.state.focus.easing.in}"
6244
+ },
6245
+ "out": {
6246
+ "$value": "{br.state.focus.easing.out}"
6247
+ }
6248
+ },
6249
+ "duration": {
6250
+ "$type": "duration",
6251
+ "in": {
6252
+ "$value": "{br.state.focus.duration.in}"
6253
+ },
6254
+ "out": {
6255
+ "$value": "{br.state.focus.duration.out}"
6256
+ }
6257
+ }
6258
+ },
6259
+ "dropzone": {
6260
+ "borderStyle": {
6261
+ "$type": "border",
6262
+ "main": {
6263
+ "$value": "{br.state.dropzone.borderStyle.main}"
6264
+ },
6265
+ "contrast": {
6266
+ "$value": "{br.state.dropzone.borderStyle.contrast}"
6267
+ }
6268
+ }
6269
+ },
6270
+ "dropzoneActive": {
6271
+ "color": {
6272
+ "$type": "color",
6273
+ "main": {
6274
+ "$value": "{br.state.dropzoneActive.color.main}"
6275
+ },
6276
+ "contrast": {
6277
+ "$value": "{br.state.dropzoneActive.color.contrast}"
6278
+ }
6279
+ },
6280
+ "opacity": {
6281
+ "$type": "opacity",
6282
+ "$value": "{br.state.dropzoneActive.opacity}"
6283
+ }
6284
+ }
6285
+ },
6286
+ "loading": {
6287
+ "color": {
6288
+ "$type": "color",
6289
+ "foreground": {
6290
+ "main": {
6291
+ "$value": "{br.color.foreground.main.secondary}"
6292
+ },
6293
+ "contrast": {
6294
+ "$value": "{br.color.foreground.contrast.secondary}"
6295
+ }
6296
+ },
6297
+ "background": {
6298
+ "main": {
6299
+ "$value": "{br.color.background.main.secondary}"
6300
+ },
6301
+ "contrast": {
6302
+ "$value": "{br.color.background.contrast.secondary}"
6303
+ }
6304
+ }
6305
+ },
6306
+ "gap": {
6307
+ "$type": "spacing",
6308
+ "default": {
6309
+ "$value": "{br.spacing.layout.1}"
6310
+ }
6311
+ }
5977
6312
  }
5978
6313
  }
5979
6314
  },
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.32",
5
4
  "description": "Tokens do Padrão Digital de Governo",
6
5
  "keywords": [
7
6
  "design system",
@@ -19,22 +18,28 @@
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
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
26
35
  "scripts": {
27
36
  "build": "run-s clear split-tokens compile make-tokens-studio",
28
37
  "clear": "run-p clear:*",
29
38
  "clear:dist": "rimraf ./dist",
30
39
  "clear:temp": "rimraf ./src/temp",
31
40
  "compile": "node scripts/build.mjs",
41
+ "make-tokens-studio": "node scripts/make-tokens-studio.mjs",
32
42
  "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"
43
+ "start": "run-s split-tokens compile make-tokens-studio"
39
44
  }
40
- }
45
+ }