@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
package/src/tokens.json CHANGED
@@ -5866,6 +5866,575 @@
5866
5866
  }
5867
5867
  }
5868
5868
  }
5869
+ },
5870
+ "tooltip": {
5871
+ "color": {
5872
+ "$type": "color",
5873
+ "background": {
5874
+ "main": {
5875
+ "primary": {
5876
+ "$value": "{br.color.background.main.primary}"
5877
+ },
5878
+ "secondary": {
5879
+ "$value": "{br.color.background.main.secondary}"
5880
+ }
5881
+ },
5882
+ "contrast": {
5883
+ "primary": {
5884
+ "$value": "{br.color.background.contrast.primary}"
5885
+ },
5886
+ "secondary": {
5887
+ "$value": "{br.color.background.contrast.secondary}"
5888
+ }
5889
+ }
5890
+ },
5891
+ "foreground": {
5892
+ "main": {
5893
+ "$value": "{br.color.foreground.main.primary}"
5894
+ },
5895
+ "contrast": {
5896
+ "$value": "{br.color.foreground.contrast.primary}"
5897
+ }
5898
+ }
5899
+ },
5900
+ "rounder": {
5901
+ "$type": "borderRadius",
5902
+ "$value": "{br.surface.rounder.sm}"
5903
+ },
5904
+ "shadowStyle": {
5905
+ "$type": "boxShadow",
5906
+ "$value": "{br.elevation.shadowStyle.level4}"
5907
+ },
5908
+ "fontStyle": {
5909
+ "$type": "typography",
5910
+ "$value": {
5911
+ "fontFamily": "{br.typography.fontFamily.primary}",
5912
+ "fontWeight": "{br.typography.fontWeight.regular}",
5913
+ "fontSize": "{br.typography.fontSize.down.2}",
5914
+ "lineHeight": "{br.typography.lineHeight.sm}"
5915
+ }
5916
+ },
5917
+ "density": {
5918
+ "$type": "spacing",
5919
+ "compact": {
5920
+ "$value": "{br.spacing.adjust.1}"
5921
+ },
5922
+ "regular": {
5923
+ "$value": "{br.spacing.layout.1}"
5924
+ },
5925
+ "spacious": {
5926
+ "$value": "{br.spacing.layout.2}"
5927
+ }
5928
+ }
5929
+ },
5930
+ "header": {
5931
+ "color": {
5932
+ "$type": "color",
5933
+ "background": {
5934
+ "main": {
5935
+ "primary": {
5936
+ "$value": "{br.color.background.main.primary}"
5937
+ },
5938
+ "secondary": {
5939
+ "$value": "{br.color.background.main.secondary}"
5940
+ },
5941
+ "high": {
5942
+ "$value": "{br.state.interactive.color.main}"
5943
+ }
5944
+ },
5945
+ "contrast": {
5946
+ "primary": {
5947
+ "$value": "{br.color.background.contrast.primary}"
5948
+ },
5949
+ "secondary": {
5950
+ "$value": "{br.color.background.contrast.secondary}"
5951
+ },
5952
+ "high": {
5953
+ "$value": "{br.state.interactive.color.contrast}"
5954
+ }
5955
+ },
5956
+ "none": {
5957
+ "$value": "transparent"
5958
+ },
5959
+ "status": {
5960
+ "$value": "{br.color.goldVivid.5}"
5961
+ }
5962
+ },
5963
+ "foreground": {
5964
+ "main": {
5965
+ "subtitle": {
5966
+ "$value": "{br.color.foreground.main.secondary}"
5967
+ },
5968
+ "high": {
5969
+ "$value": "{br.state.interactive.color.foreground.main}"
5970
+ }
5971
+ },
5972
+ "contrast": {
5973
+ "subtitle": {
5974
+ "$value": "{br.color.foreground.contrast.secondary}"
5975
+ },
5976
+ "high": {
5977
+ "$value": "{br.state.interactive.color.foreground.contrast}"
5978
+ }
5979
+ },
5980
+ "status": {
5981
+ "$value": "{br.color.goldVivid.70}"
5982
+ }
5983
+ }
5984
+ },
5985
+ "padding": {
5986
+ "$type": "spacing",
5987
+ "status": {
5988
+ "$value": "{br.spacing.adjust.1}"
5989
+ }
5990
+ },
5991
+ "gap": {
5992
+ "$type": "spacing",
5993
+ "default": {
5994
+ "$value": "{br.spacing.layout.1}"
5995
+ },
5996
+ "identification": {
5997
+ "$value": "{br.spacing.adjust.1}"
5998
+ }
5999
+ },
6000
+ "rounder": {
6001
+ "$type": "borderRadius",
6002
+ "default": {
6003
+ "$value": "{br.surface.rounder.none}"
6004
+ },
6005
+ "status": {
6006
+ "$value": "{br.surface.rounder.sm}"
6007
+ }
6008
+ },
6009
+ "density": {
6010
+ "$type": "spacing",
6011
+ "compact": {
6012
+ "$value": "{br.spacing.layout.1}"
6013
+ },
6014
+ "regular": {
6015
+ "$value": "{br.spacing.layout.2}"
6016
+ },
6017
+ "spacious": {
6018
+ "$value": "{br.spacing.adjust.3}"
6019
+ }
6020
+ },
6021
+ "iconName": {
6022
+ "$type": "text",
6023
+ "menu": {
6024
+ "$value": "{br.iconography.iconName.navigation.menu}"
6025
+ },
6026
+ "back": {
6027
+ "$value": "{br.iconography.iconName.navigation.back}"
6028
+ },
6029
+ "close": {
6030
+ "$value": "{br.iconography.iconName.action.close}"
6031
+ },
6032
+ "search": {
6033
+ "$value": "{br.iconography.iconName.action.search}"
6034
+ },
6035
+ "options": {
6036
+ "$value": "{br.iconography.iconName.navigation.options}"
6037
+ },
6038
+ "signin": {
6039
+ "$value": "{br.iconography.iconName.navigation.signin}"
6040
+ }
6041
+ },
6042
+ "fontStyle": {
6043
+ "$type": "typography",
6044
+ "subtitle": {
6045
+ "$value": {
6046
+ "fontFamily": "{br.typography.fontFamily.primary}",
6047
+ "fontWeight": "{br.typography.fontWeight.medium}",
6048
+ "fontSize": "{br.typography.fontSize.down.2}",
6049
+ "lineHeight": "{br.typography.lineHeight.sm}"
6050
+ }
6051
+ },
6052
+ "status": {
6053
+ "$value": {
6054
+ "fontFamily": "{br.typography.fontFamily.primary}",
6055
+ "fontWeight": "{br.typography.fontWeight.regular}",
6056
+ "fontSize": "{br.typography.fontSize.down.4}",
6057
+ "lineHeight": "{br.typography.lineHeight.xsm}"
6058
+ }
6059
+ }
6060
+ },
6061
+ "shadowStyle": {
6062
+ "$type": "boxShadow",
6063
+ "default": {
6064
+ "$value": "{br.elevation.shadowStyle.level0}"
6065
+ },
6066
+ "fixed": {
6067
+ "$value": "{br.elevation.shadowStyle.level3}"
6068
+ },
6069
+ "dropdown": {
6070
+ "$value": "{br.elevation.shadowStyle.level2}"
6071
+ }
6072
+ }
6073
+ },
6074
+ "footer": {
6075
+ "color": {
6076
+ "$type": "color",
6077
+ "background": {
6078
+ "main": {
6079
+ "primary": {
6080
+ "$value": "{br.color.background.main.primary}"
6081
+ },
6082
+ "secondary": {
6083
+ "$value": "{br.color.background.main.secondary}"
6084
+ }
6085
+ },
6086
+ "contrast": {
6087
+ "primary": {
6088
+ "$value": "{br.color.background.contrast.primary}"
6089
+ },
6090
+ "secondary": {
6091
+ "$value": "{br.color.background.contrast.secondary}"
6092
+ }
6093
+ }
6094
+ },
6095
+ "foreground": {
6096
+ "main": {
6097
+ "default": {
6098
+ "$value": "{br.color.foreground.main.secondary}"
6099
+ }
6100
+ },
6101
+ "contrast": {
6102
+ "default": {
6103
+ "$value": "{br.color.foreground.contrast.secondary}"
6104
+ }
6105
+ }
6106
+ }
6107
+ },
6108
+ "padding": {
6109
+ "$type": "spacing",
6110
+ "default": {
6111
+ "$value": "{br.spacing.layout.1}"
6112
+ },
6113
+ "item": {
6114
+ "$value": "{br.spacing.adjust.1}"
6115
+ },
6116
+ "indentation": {
6117
+ "$value": "{br.spacing.layout.2}"
6118
+ }
6119
+ },
6120
+ "gap": {
6121
+ "$type": "spacing",
6122
+ "default": {
6123
+ "$value": "{br.spacing.layout.1}"
6124
+ }
6125
+ },
6126
+ "rounder": {
6127
+ "$type": "borderRadius",
6128
+ "default": {
6129
+ "$value": "{br.surface.rounder.sm}"
6130
+ }
6131
+ },
6132
+ "width": {
6133
+ "$type": "dimension",
6134
+ "minimum": {
6135
+ "$value": "200"
6136
+ },
6137
+ "maximum": {
6138
+ "$value": "480"
6139
+ }
6140
+ },
6141
+ "iconName": {
6142
+ "$type": "text",
6143
+ "collapseOpen": {
6144
+ "$value": "{br.iconography.iconName.navigation.collapseUp}"
6145
+ },
6146
+ "collapseClose": {
6147
+ "$value": "{br.iconography.iconName.navigation.collapseDown}"
6148
+ },
6149
+ "externallink": {
6150
+ "$value": "{br.iconography.iconName.navigation.externallink}"
6151
+ }
6152
+ },
6153
+ "borderStyle": {
6154
+ "$type": "border",
6155
+ "default": {
6156
+ "$value": {
6157
+ "color": "{br.color.border.primary}",
6158
+ "width": "{br.surface.borderWidth.sm}",
6159
+ "style": "solid"
6160
+ }
6161
+ }
6162
+ },
6163
+ "fontStyle": {
6164
+ "$type": "typography",
6165
+ "identification": {
6166
+ "$value": {
6167
+ "fontFamily": "{br.typography.fontFamily.primary}",
6168
+ "fontWeight": "{br.typography.fontWeight.medium}",
6169
+ "fontSize": "{br.typography.fontSize.down.1}",
6170
+ "lineHeight": "{br.typography.lineHeight.md}"
6171
+ }
6172
+ }
6173
+ },
6174
+ "density": {
6175
+ "$type": "spacing",
6176
+ "compact": {
6177
+ "default": {
6178
+ "$value": "{br.spacing.layout.1}"
6179
+ },
6180
+ "support": {
6181
+ "$value": "{br.spacing.adjust.1}"
6182
+ }
6183
+ },
6184
+ "regular": {
6185
+ "default": {
6186
+ "$value": "{br.spacing.layout.3}"
6187
+ },
6188
+ "support": {
6189
+ "$value": "{br.spacing.layout.2}"
6190
+ }
6191
+ },
6192
+ "spacious": {
6193
+ "default": {
6194
+ "$value": "{br.spacing.layout.4}"
6195
+ },
6196
+ "support": {
6197
+ "$value": "{br.spacing.layout.3}"
6198
+ }
6199
+ }
6200
+ },
6201
+ "hover": {
6202
+ "color": {
6203
+ "$type": "color",
6204
+ "main": {
6205
+ "$value": "{br.state.hover.color.interactiveFg.main}"
6206
+ },
6207
+ "contrast": {
6208
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
6209
+ }
6210
+ },
6211
+ "easing": {
6212
+ "$type": "easing",
6213
+ "in": {
6214
+ "$value": "{br.state.hover.easing.in.default}"
6215
+ },
6216
+ "out": {
6217
+ "$value": "{br.state.hover.easing.out}"
6218
+ }
6219
+ },
6220
+ "duration": {
6221
+ "$type": "duration",
6222
+ "in": {
6223
+ "$value": "{br.state.hover.duration.in.default}"
6224
+ },
6225
+ "out": {
6226
+ "$value": "{br.state.hover.duration.out}"
6227
+ }
6228
+ }
6229
+ },
6230
+ "pressed": {
6231
+ "shadowStyle": {
6232
+ "$type": "boxShadow",
6233
+ "$value": "{br.state.pressed.shadowStyle}"
6234
+ },
6235
+ "easing": {
6236
+ "$type": "easing",
6237
+ "in": {
6238
+ "$value": "{br.state.pressed.easing.in}"
6239
+ },
6240
+ "out": {
6241
+ "$value": "{br.state.pressed.easing.out}"
6242
+ }
6243
+ },
6244
+ "duration": {
6245
+ "$type": "duration",
6246
+ "in": {
6247
+ "$value": "{br.state.pressed.duration.in}"
6248
+ },
6249
+ "out": {
6250
+ "$value": "{br.state.pressed.duration.out}"
6251
+ }
6252
+ }
6253
+ },
6254
+ "focus": {
6255
+ "padding": {
6256
+ "$type": "spacing",
6257
+ "$value": "{br.state.focus.padding}"
6258
+ },
6259
+ "borderStyle": {
6260
+ "$type": "border",
6261
+ "main": {
6262
+ "$value": "{br.state.focus.borderStyle.main.high}"
6263
+ },
6264
+ "contrast": {
6265
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
6266
+ }
6267
+ },
6268
+ "easing": {
6269
+ "$type": "easing",
6270
+ "in": {
6271
+ "$value": "{br.state.focus.easing.in}"
6272
+ },
6273
+ "out": {
6274
+ "$value": "{br.state.focus.easing.out}"
6275
+ }
6276
+ },
6277
+ "duration": {
6278
+ "$type": "duration",
6279
+ "in": {
6280
+ "$value": "{br.state.focus.duration.in}"
6281
+ },
6282
+ "out": {
6283
+ "$value": "{br.state.focus.duration.out}"
6284
+ }
6285
+ }
6286
+ }
6287
+ },
6288
+ "breadcrumbs": {
6289
+ "color": {
6290
+ "$type": "color",
6291
+ "foreground": {
6292
+ "main": {
6293
+ "default": {
6294
+ "$value": "{br.state.interactive.color.main}"
6295
+ }
6296
+ },
6297
+ "contrast": {
6298
+ "default": {
6299
+ "$value": "{br.state.interactive.color.contrast}"
6300
+ }
6301
+ }
6302
+ },
6303
+ "border": {
6304
+ "default": {
6305
+ "$value": "{br.color.border.primary}"
6306
+ }
6307
+ }
6308
+ },
6309
+ "gap": {
6310
+ "default": {
6311
+ "$type": "spacing",
6312
+ "$value": "{br.spacing.adjust.1}"
6313
+ }
6314
+ },
6315
+ "padding": {
6316
+ "default": {
6317
+ "$type": "spacing",
6318
+ "$value": "{br.spacing.adjust.1}"
6319
+ }
6320
+ },
6321
+ "density": {
6322
+ "$type": "spacing",
6323
+ "compact": {
6324
+ "$value": "{br.spacing.adjust.1}"
6325
+ },
6326
+ "regular": {
6327
+ "$value": "{br.spacing.layout.1}"
6328
+ },
6329
+ "spacious": {
6330
+ "$value": "{br.spacing.adjust.2}"
6331
+ }
6332
+ },
6333
+ "fontStyle": {
6334
+ "$type": "typography",
6335
+ "default": {
6336
+ "$value": {
6337
+ "fontFamily": "{br.typography.fontFamily.primary}",
6338
+ "fontWeight": "{br.typography.fontWeight.regular}",
6339
+ "fontSize": "{br.typography.fontSize.down.1}",
6340
+ "lineHeight": "{br.typography.lineHeight.md}"
6341
+ }
6342
+ }
6343
+ },
6344
+ "shadowStyle": {
6345
+ "default": {
6346
+ "$type": "boxShadow",
6347
+ "$value": "{br.elevation.shadowStyle.level2}"
6348
+ }
6349
+ },
6350
+ "hover": {
6351
+ "color": {
6352
+ "$type": "color",
6353
+ "interactiveFg": {
6354
+ "main": {
6355
+ "$value": "{br.state.hover.color.interactiveFg.main}"
6356
+ },
6357
+ "contrast": {
6358
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
6359
+ }
6360
+ }
6361
+ },
6362
+ "easing": {
6363
+ "$type": "easing",
6364
+ "in": {
6365
+ "$value": "{br.state.hover.easing.in.default}"
6366
+ },
6367
+ "out": {
6368
+ "$value": "{br.state.hover.easing.out}"
6369
+ }
6370
+ },
6371
+ "duration": {
6372
+ "$type": "duration",
6373
+ "in": {
6374
+ "$value": "{br.state.hover.duration.in.default}"
6375
+ },
6376
+ "out": {
6377
+ "$value": "{br.state.hover.duration.out}"
6378
+ }
6379
+ }
6380
+ },
6381
+ "pressed": {
6382
+ "shadowStyle": {
6383
+ "$type": "boxShadow",
6384
+ "$value": "{br.state.pressed.shadowStyle}"
6385
+ },
6386
+ "easing": {
6387
+ "$type": "easing",
6388
+ "in": {
6389
+ "$value": "{br.state.pressed.easing.in}"
6390
+ },
6391
+ "out": {
6392
+ "$value": "{br.state.pressed.easing.out}"
6393
+ }
6394
+ },
6395
+ "duration": {
6396
+ "$type": "duration",
6397
+ "in": {
6398
+ "$value": "{br.state.pressed.duration.in}"
6399
+ },
6400
+ "out": {
6401
+ "$value": "{br.state.pressed.duration.out}"
6402
+ }
6403
+ }
6404
+ },
6405
+ "focus": {
6406
+ "padding": {
6407
+ "$type": "spacing",
6408
+ "$value": "{br.state.focus.padding}"
6409
+ },
6410
+ "borderStyle": {
6411
+ "$type": "border",
6412
+ "main": {
6413
+ "$value": "{br.state.focus.borderStyle.main.high}"
6414
+ },
6415
+ "contrast": {
6416
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
6417
+ }
6418
+ },
6419
+ "easing": {
6420
+ "$type": "easing",
6421
+ "in": {
6422
+ "$value": "{br.state.focus.easing.in}"
6423
+ },
6424
+ "out": {
6425
+ "$value": "{br.state.focus.easing.out}"
6426
+ }
6427
+ },
6428
+ "duration": {
6429
+ "$type": "duration",
6430
+ "in": {
6431
+ "$value": "{br.state.focus.duration.in}"
6432
+ },
6433
+ "out": {
6434
+ "$value": "{br.state.focus.duration.out}"
6435
+ }
6436
+ }
6437
+ }
5869
6438
  }
5870
6439
  }
5871
6440
  },
@@ -6481,4 +7050,4 @@
6481
7050
  }
6482
7051
  }
6483
7052
  }
6484
- }
7053
+ }