@govbr-ds/tokens 4.0.0-next.15 → 4.0.0-next.17

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.
@@ -4599,15 +4599,15 @@
4599
4599
  },
4600
4600
  "density": {
4601
4601
  "compact": {
4602
- "$value": "{spacing.layout.02}",
4602
+ "$value": "{spacing.adjust.01}",
4603
4603
  "$type": "spacing"
4604
4604
  },
4605
4605
  "regular": {
4606
- "$value": "{spacing.layout.05}",
4606
+ "$value": "{spacing.adjust.03}",
4607
4607
  "$type": "spacing"
4608
4608
  },
4609
4609
  "spacious": {
4610
- "$value": "{spacing.layout.07}",
4610
+ "$value": "{spacing.adjust.05}",
4611
4611
  "$type": "spacing"
4612
4612
  }
4613
4613
  }
@@ -4879,6 +4879,466 @@
4879
4879
  "$value": "{state.disabled.opacity}"
4880
4880
  }
4881
4881
  }
4882
+ },
4883
+ "avatar": {
4884
+ "color": {
4885
+ "read": {
4886
+ "bright": {
4887
+ "$type": "color",
4888
+ "$value": "{color.pure.0}"
4889
+ },
4890
+ "dim": {
4891
+ "$type": "color",
4892
+ "$value": "{color.pure.100}"
4893
+ }
4894
+ },
4895
+ "surface": {
4896
+ "$type": "color",
4897
+ "$value": "{color.indigoWarmVivid.60}"
4898
+ }
4899
+ },
4900
+ "spacing": {
4901
+ "padding": {
4902
+ "$type": "spacing",
4903
+ "$value": "{spacing.adjust.01}"
4904
+ }
4905
+ },
4906
+ "rounder": {
4907
+ "mask": {
4908
+ "$type": "borderRadius",
4909
+ "$value": "{surface.rounder.full}"
4910
+ }
4911
+ },
4912
+ "fontSize": {
4913
+ "calc": {
4914
+ "xlarge": {
4915
+ "$type": "calc",
4916
+ "$value": "{typography.fontSize.scale} ^ 12"
4917
+ }
4918
+ },
4919
+ "xsmall": {
4920
+ "$type": "fontSizes",
4921
+ "$value": "{typography.fontSize.down.04}"
4922
+ },
4923
+ "small": {
4924
+ "$type": "fontSizes",
4925
+ "$value": "{typography.fontSize.default}"
4926
+ },
4927
+ "medium": {
4928
+ "$type": "fontSizes",
4929
+ "$value": "{typography.fontSize.up.04}"
4930
+ },
4931
+ "large": {
4932
+ "$type": "fontSizes",
4933
+ "$value": "{typography.fontSize.up.08}"
4934
+ },
4935
+ "xlarge": {
4936
+ "$type": "fontSizes",
4937
+ "$value": "{avatar.fontSize.calc.xlarge}rem"
4938
+ }
4939
+ },
4940
+ "fontStyle": {
4941
+ "text": {
4942
+ "$type": "typography",
4943
+ "$value": {
4944
+ "fontFamily": "{typography.fontFamily.primary}",
4945
+ "fontWeight": "{typography.fontWeight.semiBold}",
4946
+ "fontSize": "{avatar.fontSize.medium}",
4947
+ "lineHeight": "{typography.lineHeight.xsmall}",
4948
+ "textCase": "uppercase"
4949
+ }
4950
+ }
4951
+ },
4952
+ "size": {
4953
+ "xsmall": {
4954
+ "$type": "dimension",
4955
+ "$value": "{avatar.fontSize.xsmall} * 2"
4956
+ },
4957
+ "small": {
4958
+ "$type": "dimension",
4959
+ "$value": "{avatar.fontSize.small} * 2"
4960
+ },
4961
+ "medium": {
4962
+ "$type": "dimension",
4963
+ "$value": "{avatar.fontSize.medium} * 2"
4964
+ },
4965
+ "large": {
4966
+ "$type": "dimension",
4967
+ "$value": "{avatar.fontSize.large} * 2"
4968
+ },
4969
+ "xlarge": {
4970
+ "$type": "dimension",
4971
+ "$value": "{avatar.fontSize.xlarge} * 2"
4972
+ }
4973
+ },
4974
+ "disabled": {
4975
+ "opacity": {
4976
+ "$type": "opacity",
4977
+ "$value": "{state.disabled.opacity}"
4978
+ }
4979
+ },
4980
+ "hover": {
4981
+ "color": {
4982
+ "$type": "color",
4983
+ "$value": "{state.hover.color.main.surface}"
4984
+ },
4985
+ "easing": {
4986
+ "in": {
4987
+ "$type": "easing",
4988
+ "$value": "{state.hover.easing.in}"
4989
+ },
4990
+ "out": {
4991
+ "$type": "easing",
4992
+ "$value": "{state.hover.easing.out}"
4993
+ }
4994
+ },
4995
+ "duration": {
4996
+ "in": {
4997
+ "$type": "duration",
4998
+ "$value": "{state.hover.duration.in}"
4999
+ },
5000
+ "out": {
5001
+ "$type": "duration",
5002
+ "$value": "{state.hover.duration.out}"
5003
+ }
5004
+ }
5005
+ },
5006
+ "pressed": {
5007
+ "shadowStyle": {
5008
+ "$type": "boxShadow",
5009
+ "$value": "{state.pressed.shadowStyle}"
5010
+ },
5011
+ "easing": {
5012
+ "in": {
5013
+ "$type": "easing",
5014
+ "$value": "{state.pressed.easing.in}"
5015
+ },
5016
+ "out": {
5017
+ "$type": "easing",
5018
+ "$value": "{state.pressed.easing.out}"
5019
+ }
5020
+ },
5021
+ "duration": {
5022
+ "in": {
5023
+ "$type": "duration",
5024
+ "$value": "{state.pressed.duration.in}"
5025
+ },
5026
+ "out": {
5027
+ "$type": "duration",
5028
+ "$value": "{state.pressed.duration.out}"
5029
+ }
5030
+ }
5031
+ },
5032
+ "focus": {
5033
+ "spacing": {
5034
+ "$type": "spacing",
5035
+ "$value": "{state.focus.spacing}"
5036
+ },
5037
+ "borderStyle": {
5038
+ "main": {
5039
+ "$type": "border",
5040
+ "$value": "{state.focus.borderStyle.high.main}"
5041
+ },
5042
+ "contrast": {
5043
+ "$type": "border",
5044
+ "$value": "{state.focus.borderStyle.high.contrast}"
5045
+ }
5046
+ },
5047
+ "easing": {
5048
+ "in": {
5049
+ "$type": "easing",
5050
+ "$value": "{state.focus.easing.in}"
5051
+ },
5052
+ "out": {
5053
+ "$type": "easing",
5054
+ "$value": "{state.focus.easing.out}"
5055
+ }
5056
+ },
5057
+ "duration": {
5058
+ "in": {
5059
+ "$type": "duration",
5060
+ "$value": "{state.focus.duration.in}"
5061
+ },
5062
+ "out": {
5063
+ "$type": "duration",
5064
+ "$value": "{state.focus.duration.out}"
5065
+ }
5066
+ }
5067
+ }
5068
+ },
5069
+ "list": {
5070
+ "spacing": {
5071
+ "padding": {
5072
+ "header": {
5073
+ "$value": "{spacing.adjust.01}",
5074
+ "$type": "spacing"
5075
+ },
5076
+ "list": {
5077
+ "$value": "{spacing.layout.01}",
5078
+ "$type": "spacing"
5079
+ },
5080
+ "item": {
5081
+ "$value": "{spacing.layout.02}",
5082
+ "$type": "spacing"
5083
+ }
5084
+ },
5085
+ "gap": {
5086
+ "header": {
5087
+ "$value": "{spacing.adjust.01}",
5088
+ "$type": "spacing"
5089
+ },
5090
+ "list": {
5091
+ "$value": "{spacing.layout.01}",
5092
+ "$type": "spacing"
5093
+ },
5094
+ "item": {
5095
+ "$value": "{spacing.layout.02}",
5096
+ "$type": "spacing"
5097
+ },
5098
+ "actions": {
5099
+ "$value": "{spacing.layout.01}",
5100
+ "$type": "spacing"
5101
+ }
5102
+ }
5103
+ },
5104
+ "density": {
5105
+ "compact": {
5106
+ "$value": "{spacing.adjust.01}",
5107
+ "$type": "spacing"
5108
+ },
5109
+ "regular": {
5110
+ "$value": "{spacing.layout.01}",
5111
+ "$type": "spacing"
5112
+ },
5113
+ "spacious": {
5114
+ "$value": "{spacing.adjust.02}",
5115
+ "$type": "spacing"
5116
+ }
5117
+ },
5118
+ "rounder": {
5119
+ "$value": "{surface.rounder.small}",
5120
+ "$type": "borderRadius"
5121
+ },
5122
+ "color": {
5123
+ "main": {
5124
+ "base": {
5125
+ "$value": "{color.surface.main.base}",
5126
+ "$type": "color"
5127
+ },
5128
+ "alternative": {
5129
+ "$value": "{color.surface.main.alternative}",
5130
+ "$type": "color"
5131
+ }
5132
+ },
5133
+ "contrast": {
5134
+ "base": {
5135
+ "$value": "{color.surface.contrast.base}",
5136
+ "$type": "color"
5137
+ },
5138
+ "alternative": {
5139
+ "$value": "{color.surface.contrast.alternative}",
5140
+ "$type": "color"
5141
+ }
5142
+ }
5143
+ },
5144
+ "hover": {
5145
+ "color": {
5146
+ "main": {
5147
+ "$value": "{state.hover.color.main.read}",
5148
+ "$type": "color"
5149
+ },
5150
+ "contrast": {
5151
+ "$value": "{state.hover.color.contrast.read}",
5152
+ "$type": "color"
5153
+ }
5154
+ },
5155
+ "easing": {
5156
+ "in": {
5157
+ "$type": "easing",
5158
+ "$value": "{state.hover.easing.in}"
5159
+ },
5160
+ "out": {
5161
+ "$type": "easing",
5162
+ "$value": "{state.hover.easing.out}"
5163
+ }
5164
+ },
5165
+ "duration": {
5166
+ "in": {
5167
+ "$type": "duration",
5168
+ "$value": "{state.hover.duration.in}"
5169
+ },
5170
+ "out": {
5171
+ "$type": "duration",
5172
+ "$value": "{state.hover.duration.out}"
5173
+ }
5174
+ }
5175
+ },
5176
+ "pressed": {
5177
+ "shadowStyle": {
5178
+ "$type": "boxShadow",
5179
+ "$value": "{state.pressed.shadowStyle}"
5180
+ },
5181
+ "easing": {
5182
+ "in": {
5183
+ "$type": "easing",
5184
+ "$value": "{state.pressed.easing.in}"
5185
+ },
5186
+ "out": {
5187
+ "$type": "easing",
5188
+ "$value": "{state.pressed.easing.out}"
5189
+ }
5190
+ },
5191
+ "duration": {
5192
+ "in": {
5193
+ "$type": "duration",
5194
+ "$value": "{state.pressed.duration.in}"
5195
+ },
5196
+ "out": {
5197
+ "$type": "duration",
5198
+ "$value": "{state.pressed.duration.out}"
5199
+ }
5200
+ }
5201
+ },
5202
+ "active": {
5203
+ "color": {
5204
+ "main": {
5205
+ "read": {
5206
+ "$value": "{state.active.color.read.main}",
5207
+ "$type": "color"
5208
+ },
5209
+ "surface": {
5210
+ "$value": "{state.active.color.main}",
5211
+ "$type": "color"
5212
+ }
5213
+ },
5214
+ "contrast": {
5215
+ "read": {
5216
+ "$value": "{state.active.color.read.contrast}",
5217
+ "$type": "color"
5218
+ },
5219
+ "surface": {
5220
+ "$value": "{state.active.color.contrast}",
5221
+ "$type": "color"
5222
+ }
5223
+ }
5224
+ },
5225
+ "easing": {
5226
+ "in": {
5227
+ "$type": "easing",
5228
+ "$value": "{state.active.easing.in}"
5229
+ },
5230
+ "out": {
5231
+ "$type": "easing",
5232
+ "$value": "{state.active.easing.out}"
5233
+ }
5234
+ },
5235
+ "duration": {
5236
+ "in": {
5237
+ "$type": "duration",
5238
+ "$value": "{state.active.duration.in}"
5239
+ },
5240
+ "out": {
5241
+ "$type": "duration",
5242
+ "$value": "{state.active.duration.out}"
5243
+ }
5244
+ }
5245
+ },
5246
+ "selected": {
5247
+ "color": {
5248
+ "main": {
5249
+ "read": {
5250
+ "$value": "{state.selected.color.read.main}",
5251
+ "$type": "color"
5252
+ },
5253
+ "surface": {
5254
+ "$value": "{state.selected.color.main}",
5255
+ "$type": "color"
5256
+ }
5257
+ },
5258
+ "contrast": {
5259
+ "read": {
5260
+ "$value": "{state.selected.color.read.contrast}",
5261
+ "$type": "color"
5262
+ },
5263
+ "surface": {
5264
+ "$value": "{state.selected.color.contrast}",
5265
+ "$type": "color"
5266
+ }
5267
+ }
5268
+ },
5269
+ "easing": {
5270
+ "in": {
5271
+ "$type": "easing",
5272
+ "$value": "{state.selected.easing.in}"
5273
+ },
5274
+ "out": {
5275
+ "$type": "easing",
5276
+ "$value": "{state.selected.easing.out}"
5277
+ }
5278
+ },
5279
+ "duration": {
5280
+ "in": {
5281
+ "$type": "duration",
5282
+ "$value": "{state.selected.duration.in}"
5283
+ },
5284
+ "out": {
5285
+ "$type": "duration",
5286
+ "$value": "{state.selected.duration.out}"
5287
+ }
5288
+ }
5289
+ },
5290
+ "focus": {
5291
+ "borderStyle": {
5292
+ "main": {
5293
+ "$value": "{state.focus.borderStyle.high.main}",
5294
+ "$type": "border"
5295
+ },
5296
+ "contrast": {
5297
+ "$value": "{state.focus.borderStyle.high.contrast}",
5298
+ "$type": "border"
5299
+ }
5300
+ },
5301
+ "spacing": {
5302
+ "$value": "{state.focus.spacing}",
5303
+ "$type": "spacing"
5304
+ },
5305
+ "easing": {
5306
+ "in": {
5307
+ "$type": "easing",
5308
+ "$value": "{state.focus.easing.in}"
5309
+ },
5310
+ "out": {
5311
+ "$type": "easing",
5312
+ "$value": "{state.focus.easing.out}"
5313
+ }
5314
+ },
5315
+ "duration": {
5316
+ "in": {
5317
+ "$type": "duration",
5318
+ "$value": "{state.focus.duration.in}"
5319
+ },
5320
+ "out": {
5321
+ "$type": "duration",
5322
+ "$value": "{state.focus.duration.out}"
5323
+ }
5324
+ }
5325
+ },
5326
+ "disabled": {
5327
+ "color": {
5328
+ "main": {
5329
+ "$value": "{state.disabled.color.main}",
5330
+ "$type": "color"
5331
+ },
5332
+ "contrast": {
5333
+ "$value": "{state.disabled.color.contrast}",
5334
+ "$type": "color"
5335
+ }
5336
+ },
5337
+ "opacity": {
5338
+ "$value": "{state.disabled.opacity}",
5339
+ "$type": "opacity"
5340
+ }
5341
+ }
4882
5342
  }
4883
5343
  },
4884
5344
  "light": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.15",
3
+ "version": "4.0.0-next.17",
4
4
  "type": "module",
5
5
  "description": "Tokens do Padrão Digital de Governo",
6
6
  "keywords": [
@@ -0,0 +1,156 @@
1
+ {
2
+ "avatar": {
3
+ "rounder": {
4
+ "mask": {
5
+ "$type": "number",
6
+ "$value": "{surface.rounder.full}"
7
+ }
8
+ },
9
+ "spacing": {
10
+ "padding": {
11
+ "$type": "number",
12
+ "$value": "{spacing.adjust.01}"
13
+ }
14
+ },
15
+ "fontSize": {
16
+ "xmall": {
17
+ "$value": "{typography.fontSize.down.04}",
18
+ "$type": "number"
19
+ },
20
+ "small": {
21
+ "$value": "{typography.fontSize.default}",
22
+ "$type": "number"
23
+ },
24
+ "medium": {
25
+ "$value": "{typography.fontSize.up.04}",
26
+ "$type": "number"
27
+ },
28
+ "large": {
29
+ "$value": "{typography.fontSize.up.08}",
30
+ "$type": "number"
31
+ },
32
+ "xlarge": {
33
+ "$value": "65.76",
34
+ "$type": "number"
35
+ }
36
+ },
37
+ "size": {
38
+ "xmall": {
39
+ "$value": "19.97",
40
+ "$type": "dimension"
41
+ },
42
+ "small": {
43
+ "$value": "32",
44
+ "$type": "dimension"
45
+ },
46
+ "medium": {
47
+ "$value": "51.26",
48
+ "$type": "dimension"
49
+ },
50
+ "large": {
51
+ "$value": "82.11",
52
+ "$type": "dimension"
53
+ },
54
+ "xlarge": {
55
+ "$value": "131.52",
56
+ "$type": "dimension"
57
+ }
58
+ },
59
+ "color": {
60
+ "read": {
61
+ "bright": {
62
+ "$type": "color",
63
+ "$value": "{color.pure.0}"
64
+ },
65
+ "dim": {
66
+ "$type": "color",
67
+ "$value": "{color.pure.100}"
68
+ }
69
+ },
70
+ "surface": {
71
+ "$type": "color",
72
+ "$value": "{color.indigoWarmVivid.60}"
73
+ }
74
+ },
75
+ "hover": {
76
+ "color": {
77
+ "$type": "color",
78
+ "$value": "{state.hover.color.main.surface}"
79
+ },
80
+ "easing": {
81
+ "in": {
82
+ "$type": "string",
83
+ "$value": "{state.hover.easing.in}"
84
+ },
85
+ "out": {
86
+ "$type": "string",
87
+ "$value": "{state.hover.easing.out}"
88
+ }
89
+ },
90
+ "duration": {
91
+ "in": {
92
+ "$type": "duration",
93
+ "$value": "{state.hover.duration.in}"
94
+ },
95
+ "out": {
96
+ "$type": "duration",
97
+ "$value": "{state.hover.duration.out}"
98
+ }
99
+ }
100
+ },
101
+ "pressed": {
102
+ "easing": {
103
+ "in": {
104
+ "$type": "string",
105
+ "$value": "{state.pressed.easing.in}"
106
+ },
107
+ "out": {
108
+ "$type": "string",
109
+ "$value": "{state.pressed.easing.out}"
110
+ }
111
+ },
112
+ "duration": {
113
+ "in": {
114
+ "$type": "duration",
115
+ "$value": "{state.pressed.duration.in}"
116
+ },
117
+ "out": {
118
+ "$type": "duration",
119
+ "$value": "{state.pressed.duration.out}"
120
+ }
121
+ }
122
+ },
123
+ "disabled": {
124
+ "opacity": {
125
+ "$type": "number",
126
+ "$value": "{state.disabled.opacity}"
127
+ }
128
+ },
129
+ "focus": {
130
+ "spacing": {
131
+ "$type": "number",
132
+ "$value": "{state.focus.spacing}"
133
+ },
134
+ "easing": {
135
+ "in": {
136
+ "$type": "string",
137
+ "$value": "{state.focus.easing.in}"
138
+ },
139
+ "out": {
140
+ "$type": "string",
141
+ "$value": "{state.focus.easing.out}"
142
+ }
143
+ },
144
+ "duration": {
145
+ "in": {
146
+ "$type": "duration",
147
+ "$value": "{state.focus.duration.in}"
148
+ },
149
+ "out": {
150
+ "$type": "duration",
151
+ "$value": "{state.focus.duration.out}"
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
@@ -60,5 +60,35 @@
60
60
  }
61
61
  }
62
62
  }
63
+ },
64
+ "avatar": {
65
+ "fontSize": {
66
+ "xlarge": {
67
+ "$value": "57.54",
68
+ "$type": "number"
69
+ }
70
+ },
71
+ "size": {
72
+ "xmall": {
73
+ "$value": "17.47",
74
+ "$type": "dimension"
75
+ },
76
+ "small": {
77
+ "$value": "28",
78
+ "$type": "dimension"
79
+ },
80
+ "medium": {
81
+ "$value": "44.86",
82
+ "$type": "dimension"
83
+ },
84
+ "large": {
85
+ "$value": "71.85",
86
+ "$type": "dimension"
87
+ },
88
+ "xlarge": {
89
+ "$value": "115.08",
90
+ "$type": "dimension"
91
+ }
92
+ }
63
93
  }
64
94
  }
@@ -10,7 +10,8 @@
10
10
  "formlabel.json",
11
11
  "divider.json",
12
12
  "message.json",
13
- "input.json"
13
+ "input.json",
14
+ "avatar.json"
14
15
  ],
15
16
  "Base14": [
16
17
  "text.json",
@@ -20,6 +21,7 @@
20
21
  "divider.json",
21
22
  "message.json",
22
23
  "input.json",
24
+ "avatar.json",
23
25
  "base14.json"
24
26
  ]
25
27
  }