@govbr-ds/tokens 4.0.0-next.3 → 4.0.0-next.31

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 (156) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -133
  3. package/dist/css/components/avatar/tokens.css +40 -0
  4. package/dist/css/components/breadcrumbs/tokens.css +37 -0
  5. package/dist/css/components/button/tokens.css +61 -0
  6. package/dist/css/components/chatInput/tokens.css +67 -0
  7. package/dist/css/components/checkbox/tokens.css +65 -0
  8. package/dist/css/components/checkboxGroup/tokens.css +11 -0
  9. package/dist/css/components/divider/tokens.css +16 -0
  10. package/dist/css/components/footer/tokens.css +48 -0
  11. package/dist/css/components/formLabel/tokens.css +10 -0
  12. package/dist/css/components/header/tokens.css +38 -0
  13. package/dist/css/components/icon/tokens.css +38 -0
  14. package/dist/css/components/input/tokens.css +48 -0
  15. package/dist/css/components/list/tokens.css +58 -0
  16. package/dist/css/components/message/tokens.css +18 -0
  17. package/dist/css/components/radioGroup/tokens.css +51 -0
  18. package/dist/css/components/select/tokens.css +16 -0
  19. package/dist/css/components/sideMenu/tokens.css +67 -0
  20. package/dist/css/components/text/tokens.css +21 -0
  21. package/dist/css/components/tooltip/tokens.css +18 -0
  22. package/dist/css/contrast-mode.css +41 -0
  23. package/dist/css/theme/dark/prefers-color-scheme.css +72 -0
  24. package/dist/css/theme/dark/tokens.css +70 -0
  25. package/dist/css/theme/light/prefers-color-scheme.css +72 -0
  26. package/dist/css/theme/light/tokens.css +70 -0
  27. package/dist/css/tokens.css +917 -709
  28. package/dist/js/components/avatar/tokens.js +39 -0
  29. package/dist/js/components/breadcrumbs/tokens.js +37 -0
  30. package/dist/js/components/button/tokens.js +61 -0
  31. package/dist/js/components/chatInput/tokens.js +68 -0
  32. package/dist/js/components/checkbox/tokens.js +66 -0
  33. package/dist/js/components/checkboxGroup/tokens.js +9 -0
  34. package/dist/js/components/divider/tokens.js +14 -0
  35. package/dist/js/components/footer/tokens.js +47 -0
  36. package/dist/js/components/formLabel/tokens.js +8 -0
  37. package/dist/js/components/header/tokens.js +39 -0
  38. package/dist/js/components/icon/tokens.js +36 -0
  39. package/dist/js/components/input/tokens.js +47 -0
  40. package/dist/js/components/list/tokens.js +57 -0
  41. package/dist/js/components/message/tokens.js +18 -0
  42. package/dist/js/components/radioGroup/tokens.js +53 -0
  43. package/dist/js/components/select/tokens.js +15 -0
  44. package/dist/js/components/sideMenu/tokens.js +68 -0
  45. package/dist/js/components/text/tokens.js +19 -0
  46. package/dist/js/components/tooltip/tokens.js +17 -0
  47. package/dist/js/theme/dark/tokens.js +70 -0
  48. package/dist/js/theme/light/tokens.js +70 -0
  49. package/dist/js/tokens.js +936 -709
  50. package/dist/json/components/avatar/tokens.json +1016 -0
  51. package/dist/json/components/breadcrumbs/tokens.json +982 -0
  52. package/dist/json/components/button/tokens.json +1643 -0
  53. package/dist/json/components/chatInput/tokens.json +1892 -0
  54. package/dist/json/components/checkbox/tokens.json +1805 -0
  55. package/dist/json/components/checkboxGroup/tokens.json +191 -0
  56. package/dist/json/components/divider/tokens.json +338 -0
  57. package/dist/json/components/footer/tokens.json +1343 -0
  58. package/dist/json/components/formLabel/tokens.json +131 -0
  59. package/dist/json/components/header/tokens.json +1050 -0
  60. package/dist/json/components/icon/tokens.json +1022 -0
  61. package/dist/json/components/input/tokens.json +1248 -0
  62. package/dist/json/components/list/tokens.json +1580 -0
  63. package/dist/json/components/message/tokens.json +404 -0
  64. package/dist/json/components/radioGroup/tokens.json +1357 -0
  65. package/dist/json/components/select/tokens.json +332 -0
  66. package/dist/json/components/sideMenu/tokens.json +1872 -0
  67. package/dist/json/components/text/tokens.json +517 -0
  68. package/dist/json/components/tooltip/tokens.json +383 -0
  69. package/dist/json/theme/dark/tokens.json +1835 -0
  70. package/dist/json/theme/light/tokens.json +1835 -0
  71. package/dist/json/tokens.json +24926 -11462
  72. package/dist/scss/components/avatar/tokens.scss +37 -0
  73. package/dist/scss/components/breadcrumbs/tokens.scss +34 -0
  74. package/dist/scss/components/button/tokens.scss +58 -0
  75. package/dist/scss/components/chatInput/tokens.scss +64 -0
  76. package/dist/scss/components/checkbox/tokens.scss +62 -0
  77. package/dist/scss/components/checkboxGroup/tokens.scss +8 -0
  78. package/dist/scss/components/divider/tokens.scss +13 -0
  79. package/dist/scss/components/footer/tokens.scss +45 -0
  80. package/dist/scss/components/formLabel/tokens.scss +7 -0
  81. package/dist/scss/components/header/tokens.scss +35 -0
  82. package/dist/scss/components/icon/tokens.scss +35 -0
  83. package/dist/scss/components/input/tokens.scss +45 -0
  84. package/dist/scss/components/list/tokens.scss +55 -0
  85. package/dist/scss/components/message/tokens.scss +15 -0
  86. package/dist/scss/components/radioGroup/tokens.scss +48 -0
  87. package/dist/scss/components/select/tokens.scss +13 -0
  88. package/dist/scss/components/sideMenu/tokens.scss +64 -0
  89. package/dist/scss/components/text/tokens.scss +18 -0
  90. package/dist/scss/components/tooltip/tokens.scss +15 -0
  91. package/dist/scss/theme/dark/tokens.scss +66 -0
  92. package/dist/scss/theme/light/tokens.scss +66 -0
  93. package/dist/scss/tokens.scss +2296 -0
  94. package/dist/tokens-studio/tokens.json +6919 -0
  95. package/package.json +17 -15
  96. package/src/figma/base14.json +155 -0
  97. package/src/figma/color.json +1950 -0
  98. package/src/figma/component/avatar.json +344 -0
  99. package/src/figma/component/base14.json +431 -0
  100. package/src/figma/component/button.json +594 -0
  101. package/src/figma/component/divider.json +52 -0
  102. package/src/figma/component/formlabel.json +45 -0
  103. package/src/figma/component/icon.json +369 -0
  104. package/src/figma/component/input.json +338 -0
  105. package/src/figma/component/manifest.json +30 -0
  106. package/src/figma/component/message.json +117 -0
  107. package/src/figma/component/text.json +130 -0
  108. package/src/figma/dark.json +430 -0
  109. package/src/figma/elevation.json +551 -0
  110. package/src/figma/grid.json +306 -0
  111. package/src/figma/guideline/componente.json +24 -0
  112. package/src/figma/guideline/fundamento.json +24 -0
  113. package/src/figma/guideline/geral.json +20 -0
  114. package/src/figma/guideline/manifest.json +12 -0
  115. package/src/figma/guideline/padrao.json +24 -0
  116. package/src/figma/iconography.json +774 -0
  117. package/src/figma/light.json +430 -0
  118. package/src/figma/manifest.json +42 -0
  119. package/src/figma/motion.json +234 -0
  120. package/src/figma/pattern/contentoverflow.json +39 -0
  121. package/src/figma/pattern/form.json +158 -0
  122. package/src/figma/pattern/manifest.json +10 -0
  123. package/src/figma/pattern/skeleton.json +122 -0
  124. package/src/figma/spacing.json +234 -0
  125. package/src/figma/state.json +711 -0
  126. package/src/figma/surface.json +263 -0
  127. package/src/figma/typography.json +291 -0
  128. package/src/temp/style-dictionary/core/component.json +2970 -0
  129. package/src/temp/style-dictionary/core/foundation.json +3147 -0
  130. package/src/temp/style-dictionary/core/pattern.json +192 -0
  131. package/src/temp/style-dictionary/theme/dark.json +306 -0
  132. package/src/temp/style-dictionary/theme/light.json +306 -0
  133. package/src/temp/tokens-studio/core/component.json +2970 -0
  134. package/src/temp/tokens-studio/core/global.json +3335 -0
  135. package/src/temp/tokens-studio/theme/dark.json +306 -0
  136. package/src/temp/tokens-studio/theme/light.json +306 -0
  137. package/src/tokens.json +7380 -0
  138. package/dist/css/themes/dark.css +0 -54
  139. package/dist/css/themes/light.css +0 -54
  140. package/dist/js/themes/dark.js +0 -52
  141. package/dist/js/themes/light.js +0 -52
  142. package/dist/json/themes/dark.json +0 -1210
  143. package/dist/json/themes/light.json +0 -1210
  144. package/dist/scss/_tokens.scss +0 -714
  145. package/dist/scss/themes/_dark.scss +0 -55
  146. package/dist/scss/themes/_light.scss +0 -55
  147. package/src/figma/tokens.json +0 -3513
  148. package/src/figma/variables/color.json +0 -1948
  149. package/src/figma/variables/grid.json +0 -120
  150. package/src/figma/variables/manifest.json +0 -26
  151. package/src/figma/variables/spacing.json +0 -52
  152. package/src/figma/variables/surface.json +0 -104
  153. package/src/figma/variables/typography.json +0 -150
  154. package/src/style-dictionary/themes/dark.json +0 -3239
  155. package/src/style-dictionary/themes/light.json +0 -3239
  156. package/src/style-dictionary/tokens.json +0 -2971
@@ -0,0 +1,383 @@
1
+ {
2
+ "br": {
3
+ "tooltip": {
4
+ "color": {
5
+ "background": {
6
+ "main": {
7
+ "primary": {
8
+ "key": "{br.tooltip.color.background.main.primary}",
9
+ "$value": "#fcfcfc",
10
+ "filePath": "src/temp/style-dictionary/core/component.json",
11
+ "isSource": true,
12
+ "$type": "color",
13
+ "original": {
14
+ "$value": "{br.color.background.main.primary}",
15
+ "$type": "color",
16
+ "key": "{br.tooltip.color.background.main.primary}"
17
+ },
18
+ "name": "brTooltipColorBackgroundMainPrimary",
19
+ "attributes": {
20
+ "category": "br",
21
+ "type": "tooltip",
22
+ "item": "color",
23
+ "subitem": "background",
24
+ "state": "main"
25
+ },
26
+ "path": [
27
+ "br",
28
+ "tooltip",
29
+ "color",
30
+ "background",
31
+ "main",
32
+ "primary"
33
+ ]
34
+ },
35
+ "secondary": {
36
+ "key": "{br.tooltip.color.background.main.secondary}",
37
+ "$value": "#f0f0f0",
38
+ "filePath": "src/temp/style-dictionary/core/component.json",
39
+ "isSource": true,
40
+ "$type": "color",
41
+ "original": {
42
+ "$value": "{br.color.background.main.secondary}",
43
+ "$type": "color",
44
+ "key": "{br.tooltip.color.background.main.secondary}"
45
+ },
46
+ "name": "brTooltipColorBackgroundMainSecondary",
47
+ "attributes": {
48
+ "category": "br",
49
+ "type": "tooltip",
50
+ "item": "color",
51
+ "subitem": "background",
52
+ "state": "main"
53
+ },
54
+ "path": [
55
+ "br",
56
+ "tooltip",
57
+ "color",
58
+ "background",
59
+ "main",
60
+ "secondary"
61
+ ]
62
+ }
63
+ },
64
+ "contrast": {
65
+ "primary": {
66
+ "key": "{br.tooltip.color.background.contrast.primary}",
67
+ "$value": "#252f3e",
68
+ "filePath": "src/temp/style-dictionary/core/component.json",
69
+ "isSource": true,
70
+ "$type": "color",
71
+ "original": {
72
+ "$value": "{br.color.background.contrast.primary}",
73
+ "$type": "color",
74
+ "key": "{br.tooltip.color.background.contrast.primary}"
75
+ },
76
+ "name": "brTooltipColorBackgroundContrastPrimary",
77
+ "attributes": {
78
+ "category": "br",
79
+ "type": "tooltip",
80
+ "item": "color",
81
+ "subitem": "background",
82
+ "state": "contrast"
83
+ },
84
+ "path": [
85
+ "br",
86
+ "tooltip",
87
+ "color",
88
+ "background",
89
+ "contrast",
90
+ "primary"
91
+ ]
92
+ },
93
+ "secondary": {
94
+ "key": "{br.tooltip.color.background.contrast.secondary}",
95
+ "$value": "#2f4668",
96
+ "filePath": "src/temp/style-dictionary/core/component.json",
97
+ "isSource": true,
98
+ "$type": "color",
99
+ "original": {
100
+ "$value": "{br.color.background.contrast.secondary}",
101
+ "$type": "color",
102
+ "key": "{br.tooltip.color.background.contrast.secondary}"
103
+ },
104
+ "name": "brTooltipColorBackgroundContrastSecondary",
105
+ "attributes": {
106
+ "category": "br",
107
+ "type": "tooltip",
108
+ "item": "color",
109
+ "subitem": "background",
110
+ "state": "contrast"
111
+ },
112
+ "path": [
113
+ "br",
114
+ "tooltip",
115
+ "color",
116
+ "background",
117
+ "contrast",
118
+ "secondary"
119
+ ]
120
+ }
121
+ }
122
+ },
123
+ "foreground": {
124
+ "main": {
125
+ "key": "{br.tooltip.color.foreground.main}",
126
+ "$value": "#1b1b1b",
127
+ "filePath": "src/temp/style-dictionary/core/component.json",
128
+ "isSource": true,
129
+ "$type": "color",
130
+ "original": {
131
+ "$value": "{br.color.foreground.main.primary}",
132
+ "$type": "color",
133
+ "key": "{br.tooltip.color.foreground.main}"
134
+ },
135
+ "name": "brTooltipColorForegroundMain",
136
+ "attributes": {
137
+ "category": "br",
138
+ "type": "tooltip",
139
+ "item": "color",
140
+ "subitem": "foreground",
141
+ "state": "main"
142
+ },
143
+ "path": [
144
+ "br",
145
+ "tooltip",
146
+ "color",
147
+ "foreground",
148
+ "main"
149
+ ]
150
+ },
151
+ "contrast": {
152
+ "key": "{br.tooltip.color.foreground.contrast}",
153
+ "$value": "#fcfcfc",
154
+ "filePath": "src/temp/style-dictionary/core/component.json",
155
+ "isSource": true,
156
+ "$type": "color",
157
+ "original": {
158
+ "$value": "{br.color.foreground.contrast.primary}",
159
+ "$type": "color",
160
+ "key": "{br.tooltip.color.foreground.contrast}"
161
+ },
162
+ "name": "brTooltipColorForegroundContrast",
163
+ "attributes": {
164
+ "category": "br",
165
+ "type": "tooltip",
166
+ "item": "color",
167
+ "subitem": "foreground",
168
+ "state": "contrast"
169
+ },
170
+ "path": [
171
+ "br",
172
+ "tooltip",
173
+ "color",
174
+ "foreground",
175
+ "contrast"
176
+ ]
177
+ }
178
+ }
179
+ },
180
+ "rounder": {
181
+ "key": "{br.tooltip.rounder}",
182
+ "$type": "dimension",
183
+ "$value": "4px",
184
+ "filePath": "src/temp/style-dictionary/core/component.json",
185
+ "isSource": true,
186
+ "$extensions": {
187
+ "studio.tokens": {
188
+ "originalType": "borderRadius"
189
+ }
190
+ },
191
+ "original": {
192
+ "$type": "dimension",
193
+ "$value": "{br.surface.rounder.sm}",
194
+ "$extensions": {
195
+ "studio.tokens": {
196
+ "originalType": "borderRadius"
197
+ }
198
+ },
199
+ "key": "{br.tooltip.rounder}"
200
+ },
201
+ "name": "brTooltipRounder",
202
+ "attributes": {
203
+ "category": "br",
204
+ "type": "tooltip",
205
+ "item": "rounder"
206
+ },
207
+ "path": [
208
+ "br",
209
+ "tooltip",
210
+ "rounder"
211
+ ]
212
+ },
213
+ "shadowStyle": {
214
+ "key": "{br.tooltip.shadowStyle}",
215
+ "$type": "shadow",
216
+ "$value": "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)",
217
+ "filePath": "src/temp/style-dictionary/core/component.json",
218
+ "isSource": true,
219
+ "$extensions": {
220
+ "studio.tokens": {
221
+ "originalType": "boxShadow"
222
+ }
223
+ },
224
+ "original": {
225
+ "$type": "shadow",
226
+ "$value": "{br.elevation.shadowStyle.level4}",
227
+ "$extensions": {
228
+ "studio.tokens": {
229
+ "originalType": "boxShadow"
230
+ }
231
+ },
232
+ "key": "{br.tooltip.shadowStyle}"
233
+ },
234
+ "name": "brTooltipShadowStyle",
235
+ "attributes": {
236
+ "category": "br",
237
+ "type": "tooltip",
238
+ "item": "shadowStyle"
239
+ },
240
+ "path": [
241
+ "br",
242
+ "tooltip",
243
+ "shadowStyle"
244
+ ]
245
+ },
246
+ "fontStyle": {
247
+ "key": "{br.tooltip.fontStyle}",
248
+ "$type": "typography",
249
+ "$value": "400 0.7901rem/1.2 'Noto Sans'",
250
+ "filePath": "src/temp/style-dictionary/core/component.json",
251
+ "isSource": true,
252
+ "original": {
253
+ "$type": "typography",
254
+ "$value": {
255
+ "fontFamily": "{br.typography.fontFamily.primary}",
256
+ "fontWeight": "{br.typography.fontWeight.regular}",
257
+ "fontSize": "{br.typography.fontSize.down.2}",
258
+ "lineHeight": "{br.typography.lineHeight.sm}"
259
+ },
260
+ "key": "{br.tooltip.fontStyle}"
261
+ },
262
+ "name": "brTooltipFontStyle",
263
+ "attributes": {
264
+ "category": "br",
265
+ "type": "tooltip",
266
+ "item": "fontStyle"
267
+ },
268
+ "path": [
269
+ "br",
270
+ "tooltip",
271
+ "fontStyle"
272
+ ]
273
+ },
274
+ "density": {
275
+ "compact": {
276
+ "key": "{br.tooltip.density.compact}",
277
+ "$value": "4px",
278
+ "filePath": "src/temp/style-dictionary/core/component.json",
279
+ "isSource": true,
280
+ "$type": "dimension",
281
+ "$extensions": {
282
+ "studio.tokens": {
283
+ "originalType": "spacing"
284
+ }
285
+ },
286
+ "original": {
287
+ "$value": "{br.spacing.adjust.1}",
288
+ "$type": "dimension",
289
+ "$extensions": {
290
+ "studio.tokens": {
291
+ "originalType": "spacing"
292
+ }
293
+ },
294
+ "key": "{br.tooltip.density.compact}"
295
+ },
296
+ "name": "brTooltipDensityCompact",
297
+ "attributes": {
298
+ "category": "br",
299
+ "type": "tooltip",
300
+ "item": "density",
301
+ "subitem": "compact"
302
+ },
303
+ "path": [
304
+ "br",
305
+ "tooltip",
306
+ "density",
307
+ "compact"
308
+ ]
309
+ },
310
+ "regular": {
311
+ "key": "{br.tooltip.density.regular}",
312
+ "$value": "8px",
313
+ "filePath": "src/temp/style-dictionary/core/component.json",
314
+ "isSource": true,
315
+ "$type": "dimension",
316
+ "$extensions": {
317
+ "studio.tokens": {
318
+ "originalType": "spacing"
319
+ }
320
+ },
321
+ "original": {
322
+ "$value": "{br.spacing.layout.1}",
323
+ "$type": "dimension",
324
+ "$extensions": {
325
+ "studio.tokens": {
326
+ "originalType": "spacing"
327
+ }
328
+ },
329
+ "key": "{br.tooltip.density.regular}"
330
+ },
331
+ "name": "brTooltipDensityRegular",
332
+ "attributes": {
333
+ "category": "br",
334
+ "type": "tooltip",
335
+ "item": "density",
336
+ "subitem": "regular"
337
+ },
338
+ "path": [
339
+ "br",
340
+ "tooltip",
341
+ "density",
342
+ "regular"
343
+ ]
344
+ },
345
+ "spacious": {
346
+ "key": "{br.tooltip.density.spacious}",
347
+ "$value": "16px",
348
+ "filePath": "src/temp/style-dictionary/core/component.json",
349
+ "isSource": true,
350
+ "$type": "dimension",
351
+ "$extensions": {
352
+ "studio.tokens": {
353
+ "originalType": "spacing"
354
+ }
355
+ },
356
+ "original": {
357
+ "$value": "{br.spacing.layout.2}",
358
+ "$type": "dimension",
359
+ "$extensions": {
360
+ "studio.tokens": {
361
+ "originalType": "spacing"
362
+ }
363
+ },
364
+ "key": "{br.tooltip.density.spacious}"
365
+ },
366
+ "name": "brTooltipDensitySpacious",
367
+ "attributes": {
368
+ "category": "br",
369
+ "type": "tooltip",
370
+ "item": "density",
371
+ "subitem": "spacious"
372
+ },
373
+ "path": [
374
+ "br",
375
+ "tooltip",
376
+ "density",
377
+ "spacious"
378
+ ]
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }