@govbr-ds/tokens 4.0.0-next.21 → 4.0.0-next.23

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 (169) hide show
  1. package/README.md +104 -48
  2. package/dist/css/components/avatar/tokens.css +40 -0
  3. package/dist/css/components/button/tokens.css +61 -0
  4. package/dist/css/components/checkbox/tokens.css +50 -0
  5. package/dist/css/components/checkboxGroup/tokens.css +11 -0
  6. package/dist/css/components/divider/tokens.css +16 -0
  7. package/dist/css/components/formLabel/tokens.css +10 -0
  8. package/dist/css/components/icon/tokens.css +38 -0
  9. package/dist/css/components/input/tokens.css +41 -0
  10. package/dist/css/components/list/tokens.css +59 -0
  11. package/dist/css/components/message/tokens.css +18 -0
  12. package/dist/css/components/radioGroup/tokens.css +43 -0
  13. package/dist/css/components/select/tokens.css +13 -0
  14. package/dist/css/components/text/tokens.css +22 -0
  15. package/dist/css/theme/dark/tokens.css +69 -0
  16. package/dist/css/theme/light/tokens.css +69 -0
  17. package/dist/css/tokens.css +903 -817
  18. package/dist/js/components/avatar/tokens.js +39 -0
  19. package/dist/js/components/button/tokens.js +61 -0
  20. package/dist/js/components/checkbox/tokens.js +49 -0
  21. package/dist/js/components/checkboxGroup/tokens.js +9 -0
  22. package/dist/js/components/divider/tokens.js +14 -0
  23. package/dist/js/components/formLabel/tokens.js +8 -0
  24. package/dist/js/components/icon/tokens.js +36 -0
  25. package/dist/js/components/input/tokens.js +40 -0
  26. package/dist/js/components/list/tokens.js +59 -0
  27. package/dist/js/components/message/tokens.js +18 -0
  28. package/dist/js/components/radioGroup/tokens.js +42 -0
  29. package/dist/js/components/select/tokens.js +12 -0
  30. package/dist/js/components/text/tokens.js +20 -0
  31. package/dist/js/theme/dark/tokens.js +70 -0
  32. package/dist/js/theme/light/tokens.js +70 -0
  33. package/dist/js/tokens.js +917 -825
  34. package/dist/json/components/avatar/tokens.json +1016 -0
  35. package/dist/json/components/button/tokens.json +1643 -0
  36. package/dist/json/components/checkbox/tokens.json +1304 -0
  37. package/dist/json/components/checkboxGroup/tokens.json +191 -0
  38. package/dist/json/components/divider/tokens.json +338 -0
  39. package/dist/json/components/formLabel/tokens.json +131 -0
  40. package/dist/json/components/icon/tokens.json +1022 -0
  41. package/dist/json/components/input/tokens.json +1037 -0
  42. package/dist/json/components/list/tokens.json +1619 -0
  43. package/dist/json/components/message/tokens.json +404 -0
  44. package/dist/json/components/radioGroup/tokens.json +1109 -0
  45. package/dist/json/components/select/tokens.json +237 -0
  46. package/dist/json/components/text/tokens.json +552 -0
  47. package/dist/json/theme/dark/tokens.json +1835 -0
  48. package/dist/json/theme/light/tokens.json +1835 -0
  49. package/dist/json/tokens.json +22627 -16955
  50. package/dist/scss/components/avatar/tokens.scss +37 -0
  51. package/dist/scss/components/button/tokens.scss +58 -0
  52. package/dist/scss/components/checkbox/tokens.scss +47 -0
  53. package/dist/scss/components/checkboxGroup/tokens.scss +8 -0
  54. package/dist/scss/components/divider/tokens.scss +13 -0
  55. package/dist/scss/components/formLabel/tokens.scss +7 -0
  56. package/dist/scss/components/icon/tokens.scss +35 -0
  57. package/dist/scss/components/input/tokens.scss +38 -0
  58. package/dist/scss/components/list/tokens.scss +56 -0
  59. package/dist/scss/components/message/tokens.scss +15 -0
  60. package/dist/scss/components/radioGroup/tokens.scss +40 -0
  61. package/dist/scss/components/select/tokens.scss +10 -0
  62. package/dist/scss/components/text/tokens.scss +19 -0
  63. package/dist/scss/theme/dark/tokens.scss +66 -0
  64. package/dist/scss/theme/light/tokens.scss +66 -0
  65. package/dist/scss/tokens.scss +2262 -817
  66. package/dist/tokens-studio/tokens.json +4576 -5611
  67. package/package.json +8 -11
  68. package/src/figma/base14.json +148 -55
  69. package/src/figma/color.json +1946 -1944
  70. package/src/figma/component/avatar.json +319 -131
  71. package/src/figma/component/base14.json +392 -55
  72. package/src/figma/component/button.json +539 -211
  73. package/src/figma/component/divider.json +44 -16
  74. package/src/figma/component/formlabel.json +37 -16
  75. package/src/figma/component/icon.json +352 -125
  76. package/src/figma/component/input.json +304 -122
  77. package/src/figma/component/message.json +98 -51
  78. package/src/figma/component/text.json +117 -43
  79. package/src/figma/dark.json +346 -268
  80. package/src/figma/elevation.json +449 -132
  81. package/src/figma/grid.json +291 -105
  82. package/src/figma/guideline/componente.json +6 -6
  83. package/src/figma/guideline/fundamento.json +6 -6
  84. package/src/figma/guideline/geral.json +2 -2
  85. package/src/figma/guideline/padrao.json +6 -6
  86. package/src/figma/iconography.json +935 -345
  87. package/src/figma/light.json +346 -268
  88. package/src/figma/motion.json +217 -95
  89. package/src/figma/pattern/form.json +154 -12
  90. package/src/figma/pattern/skeleton.json +114 -44
  91. package/src/figma/spacing.json +228 -66
  92. package/src/figma/state.json +664 -213
  93. package/src/figma/surface.json +256 -93
  94. package/src/figma/typography.json +274 -97
  95. package/src/temp/style-dictionary/core/component.json +1658 -0
  96. package/src/temp/style-dictionary/core/foundation.json +3126 -0
  97. package/src/temp/style-dictionary/core/pattern.json +125 -0
  98. package/src/temp/style-dictionary/theme/dark.json +306 -0
  99. package/src/temp/style-dictionary/theme/light.json +306 -0
  100. package/src/temp/tokens-studio/core/component.json +1658 -0
  101. package/src/temp/tokens-studio/core/global.json +3247 -0
  102. package/src/temp/tokens-studio/theme/dark.json +306 -0
  103. package/src/temp/tokens-studio/theme/light.json +306 -0
  104. package/src/tokens.json +5026 -5600
  105. package/dist/css/component/avatar.css +0 -37
  106. package/dist/css/component/button.css +0 -57
  107. package/dist/css/component/checkbox.css +0 -46
  108. package/dist/css/component/checkboxGroup.css +0 -7
  109. package/dist/css/component/divider.css +0 -12
  110. package/dist/css/component/formlabel.css +0 -6
  111. package/dist/css/component/icon.css +0 -35
  112. package/dist/css/component/input.css +0 -37
  113. package/dist/css/component/list.css +0 -54
  114. package/dist/css/component/message.css +0 -17
  115. package/dist/css/component/radioGroup.css +0 -39
  116. package/dist/css/component/select.css +0 -9
  117. package/dist/css/component/text.css +0 -17
  118. package/dist/css/themes/dark.css +0 -71
  119. package/dist/css/themes/light.css +0 -71
  120. package/dist/js/component/avatar.js +0 -36
  121. package/dist/js/component/button.js +0 -56
  122. package/dist/js/component/checkbox.js +0 -45
  123. package/dist/js/component/checkboxGroup.js +0 -5
  124. package/dist/js/component/divider.js +0 -10
  125. package/dist/js/component/formlabel.js +0 -4
  126. package/dist/js/component/icon.js +0 -33
  127. package/dist/js/component/input.js +0 -35
  128. package/dist/js/component/list.js +0 -52
  129. package/dist/js/component/message.js +0 -17
  130. package/dist/js/component/radioGroup.js +0 -38
  131. package/dist/js/component/select.js +0 -8
  132. package/dist/js/component/text.js +0 -15
  133. package/dist/js/themes/dark.js +0 -77
  134. package/dist/js/themes/light.js +0 -77
  135. package/dist/json/component/avatar.json +0 -907
  136. package/dist/json/component/button.json +0 -1447
  137. package/dist/json/component/checkbox.json +0 -1132
  138. package/dist/json/component/checkboxGroup.json +0 -169
  139. package/dist/json/component/divider.json +0 -302
  140. package/dist/json/component/formlabel.json +0 -117
  141. package/dist/json/component/icon.json +0 -911
  142. package/dist/json/component/input.json +0 -907
  143. package/dist/json/component/list.json +0 -1394
  144. package/dist/json/component/message.json +0 -441
  145. package/dist/json/component/radioGroup.json +0 -963
  146. package/dist/json/component/select.json +0 -207
  147. package/dist/json/component/text.json +0 -455
  148. package/dist/json/themes/dark.json +0 -1951
  149. package/dist/json/themes/light.json +0 -1951
  150. package/dist/scss/component/avatar.scss +0 -35
  151. package/dist/scss/component/button.scss +0 -55
  152. package/dist/scss/component/checkbox.scss +0 -44
  153. package/dist/scss/component/checkboxGroup.scss +0 -5
  154. package/dist/scss/component/divider.scss +0 -10
  155. package/dist/scss/component/formlabel.scss +0 -4
  156. package/dist/scss/component/icon.scss +0 -33
  157. package/dist/scss/component/input.scss +0 -35
  158. package/dist/scss/component/list.scss +0 -52
  159. package/dist/scss/component/message.scss +0 -15
  160. package/dist/scss/component/radioGroup.scss +0 -37
  161. package/dist/scss/component/select.scss +0 -7
  162. package/dist/scss/component/text.scss +0 -15
  163. package/dist/scss/themes/dark.scss +0 -69
  164. package/dist/scss/themes/light.scss +0 -69
  165. package/src/temp/component.json +0 -1895
  166. package/src/temp/core.json +0 -3883
  167. package/src/temp/dark.json +0 -352
  168. package/src/temp/light.json +0 -352
  169. package/src/temp/pattern.json +0 -70
@@ -1,120 +1,306 @@
1
1
  {
2
- "grid": {
3
- "breakpoint": {
4
- "small": {
5
- "main": {
6
- "$value": "0",
7
- "$type": "dimension"
2
+ "br": {
3
+ "grid": {
4
+ "breakpoint": {
5
+ "small": {
6
+ "default": {
7
+ "$value": "0",
8
+ "$type": "dimension",
9
+ "$extensions": {
10
+ "com.figma": {
11
+ "scopes": [
12
+ "WIDTH_HEIGHT",
13
+ "GAP"
14
+ ]
15
+ }
16
+ }
17
+ },
18
+ "extra": {
19
+ "$value": "576",
20
+ "$type": "dimension",
21
+ "$extensions": {
22
+ "com.figma": {
23
+ "scopes": [
24
+ "WIDTH_HEIGHT",
25
+ "GAP"
26
+ ]
27
+ }
28
+ }
29
+ }
8
30
  },
9
- "extra": {
10
- "$value": "576",
11
- "$type": "dimension"
12
- }
13
- },
14
- "medium": {
15
- "main": {
16
- "$value": "992",
17
- "$type": "dimension"
18
- }
19
- },
20
- "large": {
21
- "main": {
22
- "$value": "1280",
23
- "$type": "dimension"
24
- },
25
- "extra": {
26
- "$value": "1600",
27
- "$type": "dimension"
28
- }
29
- }
30
- },
31
- "gutter": {
32
- "small": {
33
- "compact": {
34
- "$value": "{spacing.layout.01}",
35
- "$type": "dimension"
36
- },
37
- "regular": {
38
- "$value": "{spacing.layout.02}",
39
- "$type": "dimension"
40
- },
41
- "spacious": {
42
- "$value": "{spacing.layout.03}",
43
- "$type": "dimension"
44
- }
45
- },
46
- "medium": {
47
- "compact": {
48
- "$value": "{spacing.layout.02}",
49
- "$type": "dimension"
50
- },
51
- "regular": {
52
- "$value": "{spacing.layout.03}",
53
- "$type": "dimension"
54
- },
55
- "spacious": {
56
- "$value": "{spacing.layout.04}",
57
- "$type": "dimension"
58
- }
59
- },
60
- "large": {
61
- "compact": {
62
- "$value": "{spacing.layout.03}",
63
- "$type": "dimension"
64
- },
65
- "regular": {
66
- "$value": "{spacing.layout.04}",
67
- "$type": "dimension"
68
- },
69
- "spacious": {
70
- "$value": "{spacing.layout.05}",
71
- "$type": "dimension"
72
- }
73
- }
74
- },
75
- "margin": {
76
- "small": {
77
- "compact": {
78
- "$value": "{spacing.layout.01}",
79
- "$type": "dimension"
80
- },
81
- "regular": {
82
- "$value": "{spacing.layout.01}",
83
- "$type": "dimension"
31
+ "medium": {
32
+ "default": {
33
+ "$value": "992",
34
+ "$type": "dimension",
35
+ "$extensions": {
36
+ "com.figma": {
37
+ "scopes": [
38
+ "WIDTH_HEIGHT",
39
+ "GAP"
40
+ ]
41
+ }
42
+ }
43
+ }
84
44
  },
85
- "spacious": {
86
- "$value": "{spacing.layout.02}",
87
- "$type": "dimension"
45
+ "large": {
46
+ "default": {
47
+ "$value": "1280",
48
+ "$type": "dimension",
49
+ "$extensions": {
50
+ "com.figma": {
51
+ "scopes": [
52
+ "WIDTH_HEIGHT",
53
+ "GAP"
54
+ ]
55
+ }
56
+ }
57
+ },
58
+ "extra": {
59
+ "$value": "1600",
60
+ "$type": "dimension",
61
+ "$extensions": {
62
+ "com.figma": {
63
+ "scopes": [
64
+ "WIDTH_HEIGHT",
65
+ "GAP"
66
+ ]
67
+ }
68
+ }
69
+ }
88
70
  }
89
71
  },
90
- "medium": {
91
- "compact": {
92
- "$value": "{spacing.layout.03}",
93
- "$type": "dimension"
72
+ "gutter": {
73
+ "small": {
74
+ "compact": {
75
+ "$value": "{br.spacing.layout.1}",
76
+ "$type": "dimension",
77
+ "$extensions": {
78
+ "com.figma": {
79
+ "scopes": [
80
+ "WIDTH_HEIGHT",
81
+ "GAP"
82
+ ]
83
+ }
84
+ }
85
+ },
86
+ "regular": {
87
+ "$value": "{br.spacing.layout.2}",
88
+ "$type": "dimension",
89
+ "$extensions": {
90
+ "com.figma": {
91
+ "scopes": [
92
+ "WIDTH_HEIGHT",
93
+ "GAP"
94
+ ]
95
+ }
96
+ }
97
+ },
98
+ "spacious": {
99
+ "$value": "{br.spacing.layout.3}",
100
+ "$type": "dimension",
101
+ "$extensions": {
102
+ "com.figma": {
103
+ "scopes": [
104
+ "WIDTH_HEIGHT",
105
+ "GAP"
106
+ ]
107
+ }
108
+ }
109
+ }
94
110
  },
95
- "regular": {
96
- "$value": "{spacing.layout.04}",
97
- "$type": "dimension"
111
+ "medium": {
112
+ "compact": {
113
+ "$value": "{br.spacing.layout.2}",
114
+ "$type": "dimension",
115
+ "$extensions": {
116
+ "com.figma": {
117
+ "scopes": [
118
+ "WIDTH_HEIGHT",
119
+ "GAP"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ "regular": {
125
+ "$value": "{br.spacing.layout.3}",
126
+ "$type": "dimension",
127
+ "$extensions": {
128
+ "com.figma": {
129
+ "scopes": [
130
+ "WIDTH_HEIGHT",
131
+ "GAP"
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ "spacious": {
137
+ "$value": "{br.spacing.layout.4}",
138
+ "$type": "dimension",
139
+ "$extensions": {
140
+ "com.figma": {
141
+ "scopes": [
142
+ "WIDTH_HEIGHT",
143
+ "GAP"
144
+ ]
145
+ }
146
+ }
147
+ }
98
148
  },
99
- "spacious": {
100
- "$value": "{spacing.layout.05}",
101
- "$type": "dimension"
149
+ "large": {
150
+ "compact": {
151
+ "$value": "{br.spacing.layout.3}",
152
+ "$type": "dimension",
153
+ "$extensions": {
154
+ "com.figma": {
155
+ "scopes": [
156
+ "WIDTH_HEIGHT",
157
+ "GAP"
158
+ ]
159
+ }
160
+ }
161
+ },
162
+ "regular": {
163
+ "$value": "{br.spacing.layout.4}",
164
+ "$type": "dimension",
165
+ "$extensions": {
166
+ "com.figma": {
167
+ "scopes": [
168
+ "WIDTH_HEIGHT",
169
+ "GAP"
170
+ ]
171
+ }
172
+ }
173
+ },
174
+ "spacious": {
175
+ "$value": "{br.spacing.layout.5}",
176
+ "$type": "dimension",
177
+ "$extensions": {
178
+ "com.figma": {
179
+ "scopes": [
180
+ "WIDTH_HEIGHT",
181
+ "GAP"
182
+ ]
183
+ }
184
+ }
185
+ }
102
186
  }
103
187
  },
104
- "large": {
105
- "compact": {
106
- "$value": "{spacing.layout.04}",
107
- "$type": "dimension"
188
+ "margin": {
189
+ "small": {
190
+ "compact": {
191
+ "$value": "{br.spacing.layout.1}",
192
+ "$type": "dimension",
193
+ "$extensions": {
194
+ "com.figma": {
195
+ "scopes": [
196
+ "WIDTH_HEIGHT",
197
+ "GAP"
198
+ ]
199
+ }
200
+ }
201
+ },
202
+ "regular": {
203
+ "$value": "{br.spacing.layout.1}",
204
+ "$type": "dimension",
205
+ "$extensions": {
206
+ "com.figma": {
207
+ "scopes": [
208
+ "WIDTH_HEIGHT",
209
+ "GAP"
210
+ ]
211
+ }
212
+ }
213
+ },
214
+ "spacious": {
215
+ "$value": "{br.spacing.layout.2}",
216
+ "$type": "dimension",
217
+ "$extensions": {
218
+ "com.figma": {
219
+ "scopes": [
220
+ "WIDTH_HEIGHT",
221
+ "GAP"
222
+ ]
223
+ }
224
+ }
225
+ }
108
226
  },
109
- "regular": {
110
- "$value": "{spacing.layout.05}",
111
- "$type": "dimension"
227
+ "medium": {
228
+ "compact": {
229
+ "$value": "{br.spacing.layout.3}",
230
+ "$type": "dimension",
231
+ "$extensions": {
232
+ "com.figma": {
233
+ "scopes": [
234
+ "WIDTH_HEIGHT",
235
+ "GAP"
236
+ ]
237
+ }
238
+ }
239
+ },
240
+ "regular": {
241
+ "$value": "{br.spacing.layout.4}",
242
+ "$type": "dimension",
243
+ "$extensions": {
244
+ "com.figma": {
245
+ "scopes": [
246
+ "WIDTH_HEIGHT",
247
+ "GAP"
248
+ ]
249
+ }
250
+ }
251
+ },
252
+ "spacious": {
253
+ "$value": "{br.spacing.layout.5}",
254
+ "$type": "dimension",
255
+ "$extensions": {
256
+ "com.figma": {
257
+ "scopes": [
258
+ "WIDTH_HEIGHT",
259
+ "GAP"
260
+ ]
261
+ }
262
+ }
263
+ }
112
264
  },
113
- "spacious": {
114
- "$value": "{spacing.layout.10}",
115
- "$type": "dimension"
265
+ "large": {
266
+ "compact": {
267
+ "$value": "{br.spacing.layout.4}",
268
+ "$type": "dimension",
269
+ "$extensions": {
270
+ "com.figma": {
271
+ "scopes": [
272
+ "WIDTH_HEIGHT",
273
+ "GAP"
274
+ ]
275
+ }
276
+ }
277
+ },
278
+ "regular": {
279
+ "$value": "{br.spacing.layout.5}",
280
+ "$type": "dimension",
281
+ "$extensions": {
282
+ "com.figma": {
283
+ "scopes": [
284
+ "WIDTH_HEIGHT",
285
+ "GAP"
286
+ ]
287
+ }
288
+ }
289
+ },
290
+ "spacious": {
291
+ "$value": "{br.spacing.layout.10}",
292
+ "$type": "dimension",
293
+ "$extensions": {
294
+ "com.figma": {
295
+ "scopes": [
296
+ "WIDTH_HEIGHT",
297
+ "GAP"
298
+ ]
299
+ }
300
+ }
301
+ }
116
302
  }
117
303
  }
118
304
  }
119
305
  }
120
- }
306
+ }
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "guideline": {
3
3
  "01": {
4
- "$value": "{color.greenCool.10}",
4
+ "$value": "{br.color.greenCool.10}",
5
5
  "$type": "color"
6
6
  },
7
7
  "02": {
8
- "$value": "{color.greenCool.20}",
8
+ "$value": "{br.color.greenCool.20}",
9
9
  "$type": "color"
10
10
  },
11
11
  "03": {
12
- "$value": "{color.greenCool.40}",
12
+ "$value": "{br.color.greenCool.40}",
13
13
  "$type": "color"
14
14
  },
15
15
  "04": {
16
- "$value": "{color.greenCool.60}",
16
+ "$value": "{br.color.greenCool.60}",
17
17
  "$type": "color"
18
18
  },
19
19
  "05": {
20
- "$value": "{color.greenCool.80}",
20
+ "$value": "{br.color.greenCool.80}",
21
21
  "$type": "color"
22
22
  }
23
23
  }
24
- }
24
+ }
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "guideline": {
3
3
  "01": {
4
- "$value": "{color.blueWarmVivid.10}",
4
+ "$value": "{br.color.blueWarmVivid.10}",
5
5
  "$type": "color"
6
6
  },
7
7
  "02": {
8
- "$value": "{color.blueWarmVivid.30}",
8
+ "$value": "{br.color.blueWarmVivid.30}",
9
9
  "$type": "color"
10
10
  },
11
11
  "03": {
12
- "$value": "{color.blueWarmVivid.50}",
12
+ "$value": "{br.color.blueWarmVivid.50}",
13
13
  "$type": "color"
14
14
  },
15
15
  "04": {
16
- "$value": "{color.blueWarmVivid.70}",
16
+ "$value": "{br.color.blueWarmVivid.70}",
17
17
  "$type": "color"
18
18
  },
19
19
  "05": {
20
- "$value": "{color.blueWarmVivid.80}",
20
+ "$value": "{br.color.blueWarmVivid.80}",
21
21
  "$type": "color"
22
22
  }
23
23
  }
24
- }
24
+ }
@@ -5,7 +5,7 @@
5
5
  "$type": "color"
6
6
  },
7
7
  "bg-cover": {
8
- "$value": "{color.gray.2}",
8
+ "$value": "{br.color.gray.2}",
9
9
  "$type": "color"
10
10
  },
11
11
  "legend": {
@@ -17,4 +17,4 @@
17
17
  "$type": "number"
18
18
  }
19
19
  }
20
- }
20
+ }
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "guideline": {
3
3
  "01": {
4
- "$value": "{color.yellowVivid.5}",
4
+ "$value": "{br.color.yellowVivid.5}",
5
5
  "$type": "color"
6
6
  },
7
7
  "02": {
8
- "$value": "{color.yellowVivid.10}",
8
+ "$value": "{br.color.yellowVivid.10}",
9
9
  "$type": "color"
10
10
  },
11
11
  "03": {
12
- "$value": "{color.yellowVivid.30}",
12
+ "$value": "{br.color.yellowVivid.30}",
13
13
  "$type": "color"
14
14
  },
15
15
  "04": {
16
- "$value": "{color.yellowVivid.50}",
16
+ "$value": "{br.color.yellowVivid.50}",
17
17
  "$type": "color"
18
18
  },
19
19
  "05": {
20
- "$value": "{color.yellowVivid.70}",
20
+ "$value": "{br.color.yellowVivid.70}",
21
21
  "$type": "color"
22
22
  }
23
23
  }
24
- }
24
+ }