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

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 (36) hide show
  1. package/dist/css/components/actionGroup/tokens.css +9 -0
  2. package/dist/css/components/breadcrumbs/tokens.css +1 -1
  3. package/dist/css/components/card/tokens.css +45 -0
  4. package/dist/css/components/chatInput/tokens.css +1 -1
  5. package/dist/css/components/header/tokens.css +1 -1
  6. package/dist/css/components/institutionalBar/tokens.css +1 -1
  7. package/dist/css/components/select/tokens.css +1 -1
  8. package/dist/css/components/tag/tokens.css +41 -0
  9. package/dist/css/tokens.css +1 -0
  10. package/dist/js/components/actionGroup/tokens.js +8 -0
  11. package/dist/js/components/card/tokens.js +47 -0
  12. package/dist/js/components/institutionalBar/tokens.js +1 -1
  13. package/dist/js/components/tag/tokens.js +39 -0
  14. package/dist/js/tokens.js +2 -0
  15. package/dist/json/components/actionGroup/tokens.json +117 -0
  16. package/dist/json/components/breadcrumbs/tokens.json +1 -1
  17. package/dist/json/components/card/tokens.json +1207 -0
  18. package/dist/json/components/chatInput/tokens.json +1 -1
  19. package/dist/json/components/header/tokens.json +1 -1
  20. package/dist/json/components/institutionalBar/tokens.json +6 -6
  21. package/dist/json/components/select/tokens.json +1 -1
  22. package/dist/json/components/tag/tokens.json +1041 -0
  23. package/dist/json/tokens.json +39 -0
  24. package/dist/penpot/tokens.json +427 -5
  25. package/dist/scss/components/actionGroup/tokens.scss +6 -0
  26. package/dist/scss/components/breadcrumbs/tokens.scss +1 -1
  27. package/dist/scss/components/card/tokens.scss +42 -0
  28. package/dist/scss/components/chatInput/tokens.scss +1 -1
  29. package/dist/scss/components/header/tokens.scss +1 -1
  30. package/dist/scss/components/institutionalBar/tokens.scss +1 -1
  31. package/dist/scss/components/select/tokens.scss +1 -1
  32. package/dist/scss/components/tag/tokens.scss +38 -0
  33. package/dist/scss/tokens.scss +6 -0
  34. package/dist/tokens-studio/tokens.json +391 -5
  35. package/package.json +1 -1
  36. package/src/tokens.json +391 -5
@@ -915,6 +915,7 @@ $br-content-overflow-scroll-shadow-shadow-style-top: 0 -8px 4px -4px rgba(0, 0,
915
915
  $br-content-overflow-scroll-shadow-shadow-style-right: 8px 0 4px -4px rgba(0, 0, 0, 0.2) !default;
916
916
  $br-content-overflow-scroll-shadow-shadow-style-bottom: 0 8px 4px -4px rgba(0, 0, 0, 0.2) !default;
917
917
  $br-content-overflow-scroll-shadow-shadow-style-left: -8px 0 4px -4px rgba(0, 0, 0, 0.2) !default;
918
+ $br-dropdown-shadow-style-default: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2) !default;
918
919
 
919
920
  $tokens: (
920
921
  'br': (
@@ -2297,6 +2298,11 @@ $tokens: (
2297
2298
  'left': $br-content-overflow-scroll-shadow-shadow-style-left
2298
2299
  )
2299
2300
  )
2301
+ ),
2302
+ 'dropdown': (
2303
+ 'shadowStyle': (
2304
+ 'default': $br-dropdown-shadow-style-default
2305
+ )
2300
2306
  )
2301
2307
  )
2302
2308
  );
@@ -3340,6 +3340,14 @@
3340
3340
  }
3341
3341
  }
3342
3342
  }
3343
+ },
3344
+ "dropdown": {
3345
+ "shadowStyle": {
3346
+ "$type": "boxShadow",
3347
+ "default": {
3348
+ "$value": "{br.elevation.shadowStyle.level2}"
3349
+ }
3350
+ }
3343
3351
  }
3344
3352
  }
3345
3353
  },
@@ -4679,7 +4687,7 @@
4679
4687
  "shadowStyle": {
4680
4688
  "$type": "boxShadow",
4681
4689
  "list": {
4682
- "$value": "{br.elevation.shadowStyle.level2}"
4690
+ "$value": "{br.dropdown.shadowStyle.default}"
4683
4691
  }
4684
4692
  }
4685
4693
  },
@@ -5697,7 +5705,7 @@
5697
5705
  "$value": "{br.elevation.shadowStyle.level3}"
5698
5706
  },
5699
5707
  "dropdown": {
5700
- "$value": "{br.elevation.shadowStyle.level2}"
5708
+ "$value": "{br.dropdown.shadowStyle.default}"
5701
5709
  }
5702
5710
  }
5703
5711
  },
@@ -5987,7 +5995,7 @@
5987
5995
  "shadowStyle": {
5988
5996
  "$type": "boxShadow",
5989
5997
  "default": {
5990
- "$value": "{br.elevation.shadowStyle.level2}"
5998
+ "$value": "{br.dropdown.shadowStyle.default}"
5991
5999
  }
5992
6000
  },
5993
6001
  "hover": {
@@ -6195,7 +6203,7 @@
6195
6203
  "shadowStyle": {
6196
6204
  "dropdown": {
6197
6205
  "$type": "boxShadow",
6198
- "$value": "{br.elevation.shadowStyle.level2}"
6206
+ "$value": "{br.dropdown.shadowStyle.default}"
6199
6207
  }
6200
6208
  },
6201
6209
  "fontStyle": {
@@ -6736,7 +6744,7 @@
6736
6744
  },
6737
6745
  "fontStyle": {
6738
6746
  "$type": "typography",
6739
- "complementary": {
6747
+ "secondary": {
6740
6748
  "$value": {
6741
6749
  "fontFamily": "{br.typography.fontFamily.primary}",
6742
6750
  "fontWeight": "{br.typography.fontWeight.regular}",
@@ -6754,6 +6762,384 @@
6754
6762
  "$value": "{br.elevation.shadowStyle.level3}"
6755
6763
  }
6756
6764
  }
6765
+ },
6766
+ "tag": {
6767
+ "color": {
6768
+ "$type": "color",
6769
+ "background": {
6770
+ "main": {
6771
+ "primary": {
6772
+ "$value": "{br.color.background.main.primary}"
6773
+ },
6774
+ "secondary": {
6775
+ "$value": "{br.color.background.main.secondary}"
6776
+ }
6777
+ },
6778
+ "contrast": {
6779
+ "primary": {
6780
+ "$value": "{br.color.background.contrast.primary}"
6781
+ },
6782
+ "secondary": {
6783
+ "$value": "{br.color.background.contrast.secondary}"
6784
+ }
6785
+ },
6786
+ "box": {
6787
+ "$value": "transparent"
6788
+ },
6789
+ "bright": {
6790
+ "overlay": {
6791
+ "$value": "rgba({br.color.pure.0},{br.tag.opacity.dim})"
6792
+ }
6793
+ },
6794
+ "dim": {
6795
+ "overlay": {
6796
+ "$value": "rgba({br.color.pure.100},{br.tag.opacity.bright})"
6797
+ }
6798
+ }
6799
+ }
6800
+ },
6801
+ "padding": {
6802
+ "$type": "spacing",
6803
+ "default": {
6804
+ "$value": "{br.spacing.adjust.1}"
6805
+ }
6806
+ },
6807
+ "rounder": {
6808
+ "$type": "borderRadius",
6809
+ "default": {
6810
+ "$value": "{br.surface.rounder.sm}"
6811
+ }
6812
+ },
6813
+ "opacity": {
6814
+ "$type": "opacity",
6815
+ "default": {
6816
+ "$value": "{br.surface.opacity.50}"
6817
+ },
6818
+ "custom": {
6819
+ "$value": "{br.surface.opacity.full}"
6820
+ },
6821
+ "bright": {
6822
+ "$value": "{br.elevation.opacity.bright}"
6823
+ },
6824
+ "dim": {
6825
+ "$value": "{br.elevation.opacity.dim}"
6826
+ }
6827
+ },
6828
+ "lineHeight": {
6829
+ "$type": "lineHeights",
6830
+ "default": {
6831
+ "$value": "{br.typography.lineHeight.xsm}"
6832
+ }
6833
+ },
6834
+ "iconName": {
6835
+ "$type": "text",
6836
+ "close": {
6837
+ "$value": "{br.iconography.iconName.action.close}"
6838
+ }
6839
+ },
6840
+ "hover": {
6841
+ "color": {
6842
+ "$type": "color",
6843
+ "main": {
6844
+ "$value": "{br.state.hover.color.interactiveFg.main}"
6845
+ },
6846
+ "contrast": {
6847
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
6848
+ },
6849
+ "bright": {
6850
+ "$value": "{br.state.hover.color.bright}"
6851
+ },
6852
+ "dim": {
6853
+ "$value": "{br.state.hover.color.dim}"
6854
+ }
6855
+ },
6856
+ "easing": {
6857
+ "$type": "cubicBezier",
6858
+ "in": {
6859
+ "$value": "{br.state.hover.easing.in.default}"
6860
+ },
6861
+ "out": {
6862
+ "$value": "{br.state.hover.easing.out}"
6863
+ }
6864
+ },
6865
+ "duration": {
6866
+ "$type": "duration",
6867
+ "in": {
6868
+ "$value": "{br.state.hover.duration.in.default}"
6869
+ },
6870
+ "out": {
6871
+ "$value": "{br.state.hover.duration.out}"
6872
+ }
6873
+ }
6874
+ },
6875
+ "pressed": {
6876
+ "shadowStyle": {
6877
+ "$type": "boxShadow",
6878
+ "$value": "{br.state.pressed.shadowStyle}"
6879
+ },
6880
+ "easing": {
6881
+ "$type": "cubicBezier",
6882
+ "in": {
6883
+ "$value": "{br.state.pressed.easing.in}"
6884
+ },
6885
+ "out": {
6886
+ "$value": "{br.state.pressed.easing.out}"
6887
+ }
6888
+ },
6889
+ "duration": {
6890
+ "$type": "duration",
6891
+ "in": {
6892
+ "$value": "{br.state.pressed.duration.in}"
6893
+ },
6894
+ "out": {
6895
+ "$value": "{br.state.pressed.duration.out}"
6896
+ }
6897
+ }
6898
+ },
6899
+ "focus": {
6900
+ "padding": {
6901
+ "$type": "spacing",
6902
+ "$value": "{br.state.focus.padding}"
6903
+ },
6904
+ "borderStyle": {
6905
+ "$type": "border",
6906
+ "main": {
6907
+ "$value": "{br.state.focus.borderStyle.main.high}"
6908
+ },
6909
+ "contrast": {
6910
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
6911
+ }
6912
+ },
6913
+ "easing": {
6914
+ "$type": "cubicBezier",
6915
+ "in": {
6916
+ "$value": "{br.state.focus.easing.in}"
6917
+ },
6918
+ "out": {
6919
+ "$value": "{br.state.focus.easing.out}"
6920
+ }
6921
+ },
6922
+ "duration": {
6923
+ "$type": "duration",
6924
+ "in": {
6925
+ "$value": "{br.state.focus.duration.in}"
6926
+ },
6927
+ "out": {
6928
+ "$value": "{br.state.focus.duration.out}"
6929
+ }
6930
+ }
6931
+ }
6932
+ },
6933
+ "card": {
6934
+ "color": {
6935
+ "$type": "color",
6936
+ "background": {
6937
+ "main": {
6938
+ "primary": {
6939
+ "$value": "{br.color.background.main.primary}"
6940
+ },
6941
+ "secondary": {
6942
+ "$value": "{br.color.background.main.secondary}"
6943
+ }
6944
+ },
6945
+ "contrast": {
6946
+ "primary": {
6947
+ "$value": "{br.color.background.contrast.primary}"
6948
+ },
6949
+ "secondary": {
6950
+ "$value": "{br.color.background.contrast.secondary}"
6951
+ }
6952
+ }
6953
+ }
6954
+ },
6955
+ "padding": {
6956
+ "$type": "spacing",
6957
+ "slot": {
6958
+ "$value": "{br.spacing.layout.1}"
6959
+ }
6960
+ },
6961
+ "gap": {
6962
+ "$type": "spacing",
6963
+ "slot": {
6964
+ "$value": "{br.spacing.layout.1}"
6965
+ }
6966
+ },
6967
+ "rounder": {
6968
+ "$type": "borderRadius",
6969
+ "default": {
6970
+ "$value": "{br.surface.rounder.lg}"
6971
+ }
6972
+ },
6973
+ "shadowStyle": {
6974
+ "$type": "boxShadow",
6975
+ "default": {
6976
+ "$value": "{br.elevation.shadowStyle.level1}"
6977
+ },
6978
+ "none": {
6979
+ "$value": "{br.elevation.offset.none}"
6980
+ }
6981
+ },
6982
+ "density": {
6983
+ "$type": "spacing",
6984
+ "compact": {
6985
+ "$value": "{br.spacing.layout.1}"
6986
+ },
6987
+ "regular": {
6988
+ "$value": "{br.spacing.layout.2}"
6989
+ },
6990
+ "spacious": {
6991
+ "$value": "{br.spacing.layout.3}"
6992
+ }
6993
+ },
6994
+ "disabled": {
6995
+ "color": {
6996
+ "$type": "color",
6997
+ "main": {
6998
+ "$value": "{br.state.disabled.color.main}"
6999
+ },
7000
+ "contrast": {
7001
+ "$value": "{br.state.disabled.color.contrast}"
7002
+ }
7003
+ },
7004
+ "opacity": {
7005
+ "$type": "opacity",
7006
+ "$value": "{br.state.disabled.opacity}"
7007
+ }
7008
+ },
7009
+ "hover": {
7010
+ "color": {
7011
+ "$type": "color",
7012
+ "main": {
7013
+ "$value": "{br.state.hover.color.interactiveFg.main}"
7014
+ },
7015
+ "contrast": {
7016
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
7017
+ }
7018
+ },
7019
+ "easing": {
7020
+ "$type": "cubicBezier",
7021
+ "in": {
7022
+ "$value": "{br.state.hover.easing.in.default}"
7023
+ },
7024
+ "out": {
7025
+ "$value": "{br.state.hover.easing.out}"
7026
+ }
7027
+ },
7028
+ "duration": {
7029
+ "$type": "duration",
7030
+ "in": {
7031
+ "$value": "{br.state.hover.duration.in.default}"
7032
+ },
7033
+ "out": {
7034
+ "$value": "{br.state.hover.duration.out}"
7035
+ }
7036
+ }
7037
+ },
7038
+ "pressed": {
7039
+ "shadowStyle": {
7040
+ "$type": "boxShadow",
7041
+ "$value": "{br.state.pressed.shadowStyle}"
7042
+ },
7043
+ "easing": {
7044
+ "$type": "cubicBezier",
7045
+ "in": {
7046
+ "$value": "{br.state.pressed.easing.in}"
7047
+ },
7048
+ "out": {
7049
+ "$value": "{br.state.pressed.easing.out}"
7050
+ }
7051
+ },
7052
+ "duration": {
7053
+ "$type": "duration",
7054
+ "in": {
7055
+ "$value": "{br.state.pressed.duration.in}"
7056
+ },
7057
+ "out": {
7058
+ "$value": "{br.state.pressed.duration.out}"
7059
+ }
7060
+ }
7061
+ },
7062
+ "focus": {
7063
+ "padding": {
7064
+ "$type": "spacing",
7065
+ "$value": "{br.state.focus.padding}"
7066
+ },
7067
+ "borderStyle": {
7068
+ "$type": "border",
7069
+ "main": {
7070
+ "$value": "{br.state.focus.borderStyle.main.high}"
7071
+ },
7072
+ "contrast": {
7073
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
7074
+ }
7075
+ },
7076
+ "easing": {
7077
+ "$type": "cubicBezier",
7078
+ "in": {
7079
+ "$value": "{br.state.focus.easing.in}"
7080
+ },
7081
+ "out": {
7082
+ "$value": "{br.state.focus.easing.out}"
7083
+ }
7084
+ },
7085
+ "duration": {
7086
+ "$type": "duration",
7087
+ "in": {
7088
+ "$value": "{br.state.focus.duration.in}"
7089
+ },
7090
+ "out": {
7091
+ "$value": "{br.state.focus.duration.out}"
7092
+ }
7093
+ }
7094
+ },
7095
+ "dragging": {
7096
+ "rotation": {
7097
+ "$type": "number",
7098
+ "$value": "{br.state.dragging.rotation}"
7099
+ },
7100
+ "opacity": {
7101
+ "$type": "opacity",
7102
+ "$value": "{br.state.dragging.opacity}"
7103
+ },
7104
+ "borderStyle": {
7105
+ "$type": "border",
7106
+ "main": {
7107
+ "$value": "{br.state.dragging.borderStyle.main}"
7108
+ },
7109
+ "contrast": {
7110
+ "$value": "{br.state.dragging.borderStyle.contrast}"
7111
+ }
7112
+ },
7113
+ "shadowStyle": {
7114
+ "$type": "boxShadow",
7115
+ "main": {
7116
+ "$value": "{br.state.dragging.shadowStyle.main}"
7117
+ },
7118
+ "contrast": {
7119
+ "$value": "{br.state.dragging.shadowStyle.contrast}"
7120
+ }
7121
+ }
7122
+ }
7123
+ },
7124
+ "actionGroup": {
7125
+ "padding": {
7126
+ "$type": "spacing",
7127
+ "menu": {
7128
+ "$value": "{br.spacing.layout.1}"
7129
+ }
7130
+ },
7131
+ "gap": {
7132
+ "$type": "spacing",
7133
+ "default": {
7134
+ "$value": "{br.spacing.layout.1}"
7135
+ }
7136
+ },
7137
+ "shadowStyle": {
7138
+ "$type": "boxShadow",
7139
+ "menu": {
7140
+ "$value": "{br.dropdown.shadowStyle.default}"
7141
+ }
7142
+ }
6757
7143
  }
6758
7144
  }
6759
7145
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.34",
3
+ "version": "4.0.0-next.36",
4
4
  "description": "Tokens do Padrão Digital de Governo",
5
5
  "keywords": [
6
6
  "design system",