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

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 (112) hide show
  1. package/README.md +69 -106
  2. package/dist/css/component/avatar.css +37 -0
  3. package/dist/css/component/button.css +57 -0
  4. package/dist/css/component/checkbox.css +46 -0
  5. package/dist/css/component/checkboxGroup.css +7 -0
  6. package/dist/css/component/divider.css +12 -0
  7. package/dist/css/component/formlabel.css +6 -0
  8. package/dist/css/component/icon.css +35 -0
  9. package/dist/css/component/input.css +37 -0
  10. package/dist/css/component/list.css +54 -0
  11. package/dist/css/component/message.css +17 -0
  12. package/dist/css/component/radioGroup.css +39 -0
  13. package/dist/css/component/select.css +9 -0
  14. package/dist/css/component/text.css +17 -0
  15. package/dist/css/themes/dark.css +69 -52
  16. package/dist/css/themes/light.css +69 -52
  17. package/dist/css/tokens.css +676 -516
  18. package/dist/js/component/avatar.js +36 -0
  19. package/dist/js/component/button.js +56 -0
  20. package/dist/js/component/checkbox.js +45 -0
  21. package/dist/js/component/checkboxGroup.js +5 -0
  22. package/dist/js/component/divider.js +10 -0
  23. package/dist/js/component/formlabel.js +4 -0
  24. package/dist/js/component/icon.js +33 -0
  25. package/dist/js/component/input.js +35 -0
  26. package/dist/js/component/list.js +52 -0
  27. package/dist/js/component/message.js +17 -0
  28. package/dist/js/component/radioGroup.js +38 -0
  29. package/dist/js/component/select.js +8 -0
  30. package/dist/js/component/text.js +15 -0
  31. package/dist/js/themes/dark.js +77 -52
  32. package/dist/js/themes/light.js +77 -52
  33. package/dist/js/tokens.js +700 -531
  34. package/dist/json/component/avatar.json +907 -0
  35. package/dist/json/component/button.json +1447 -0
  36. package/dist/json/component/checkbox.json +1132 -0
  37. package/dist/json/component/checkboxGroup.json +169 -0
  38. package/dist/json/component/divider.json +302 -0
  39. package/dist/json/component/formlabel.json +117 -0
  40. package/dist/json/component/icon.json +911 -0
  41. package/dist/json/component/input.json +907 -0
  42. package/dist/json/component/list.json +1394 -0
  43. package/dist/json/component/message.json +441 -0
  44. package/dist/json/component/radioGroup.json +963 -0
  45. package/dist/json/component/select.json +207 -0
  46. package/dist/json/component/text.json +455 -0
  47. package/dist/json/themes/dark.json +1597 -856
  48. package/dist/json/themes/light.json +1597 -856
  49. package/dist/json/tokens.json +13699 -5459
  50. package/dist/scss/component/avatar.scss +35 -0
  51. package/dist/scss/component/button.scss +55 -0
  52. package/dist/scss/component/checkbox.scss +44 -0
  53. package/dist/scss/component/checkboxGroup.scss +5 -0
  54. package/dist/scss/component/divider.scss +10 -0
  55. package/dist/scss/component/formlabel.scss +4 -0
  56. package/dist/scss/component/icon.scss +33 -0
  57. package/dist/scss/component/input.scss +35 -0
  58. package/dist/scss/component/list.scss +52 -0
  59. package/dist/scss/component/message.scss +15 -0
  60. package/dist/scss/component/radioGroup.scss +37 -0
  61. package/dist/scss/component/select.scss +7 -0
  62. package/dist/scss/component/text.scss +15 -0
  63. package/dist/scss/themes/dark.scss +69 -0
  64. package/dist/scss/themes/light.scss +69 -0
  65. package/dist/scss/tokens.scss +817 -0
  66. package/dist/tokens-studio/tokens.json +6554 -0
  67. package/package.json +15 -12
  68. package/src/figma/base14.json +62 -0
  69. package/src/figma/{variables/color.json → color.json} +1 -1
  70. package/src/figma/component/avatar.json +156 -0
  71. package/src/figma/component/base14.json +94 -0
  72. package/src/figma/component/button.json +266 -0
  73. package/src/figma/component/divider.json +24 -0
  74. package/src/figma/component/formlabel.json +24 -0
  75. package/src/figma/component/icon.json +142 -0
  76. package/src/figma/component/input.json +156 -0
  77. package/src/figma/component/manifest.json +30 -0
  78. package/src/figma/component/message.json +70 -0
  79. package/src/figma/component/text.json +56 -0
  80. package/src/figma/dark.json +352 -0
  81. package/src/figma/elevation.json +234 -0
  82. package/src/figma/{variables/grid.json → grid.json} +29 -29
  83. package/src/figma/guideline/componente.json +24 -0
  84. package/src/figma/guideline/fundamento.json +24 -0
  85. package/src/figma/guideline/geral.json +20 -0
  86. package/src/figma/guideline/manifest.json +12 -0
  87. package/src/figma/guideline/padrao.json +24 -0
  88. package/src/figma/iconography.json +352 -0
  89. package/src/figma/light.json +352 -0
  90. package/src/figma/manifest.json +42 -0
  91. package/src/figma/motion.json +112 -0
  92. package/src/figma/pattern/form.json +16 -0
  93. package/src/figma/pattern/manifest.json +10 -0
  94. package/src/figma/pattern/skeleton.json +52 -0
  95. package/src/figma/{variables/spacing.json → spacing.json} +20 -0
  96. package/src/figma/state.json +260 -0
  97. package/src/figma/{variables/surface.json → surface.json} +34 -38
  98. package/src/figma/{variables/typography.json → typography.json} +10 -46
  99. package/src/temp/component.json +1895 -0
  100. package/src/temp/core.json +3883 -0
  101. package/src/temp/dark.json +352 -0
  102. package/src/temp/light.json +352 -0
  103. package/src/temp/pattern.json +70 -0
  104. package/src/tokens.json +6554 -0
  105. package/dist/scss/_tokens.scss +0 -662
  106. package/dist/scss/themes/_dark.scss +0 -55
  107. package/dist/scss/themes/_light.scss +0 -55
  108. package/src/figma/tokens.json +0 -3513
  109. package/src/figma/variables/manifest.json +0 -26
  110. package/src/style-dictionary/themes/dark.json +0 -3239
  111. package/src/style-dictionary/themes/light.json +0 -3239
  112. package/src/style-dictionary/tokens.json +0 -2971
@@ -0,0 +1,441 @@
1
+ {
2
+ "message": {
3
+ "color": {
4
+ "surface": {
5
+ "base": {
6
+ "$type": "color",
7
+ "$value": "#fcfcfc",
8
+ "filePath": "src/temp/component.json",
9
+ "isSource": true,
10
+ "original": {
11
+ "$type": "color",
12
+ "$value": "{color.surface.main.base}"
13
+ },
14
+ "name": "messageColorSurfaceBase",
15
+ "attributes": {
16
+ "category": "message",
17
+ "type": "color",
18
+ "item": "surface",
19
+ "subitem": "base"
20
+ },
21
+ "path": [
22
+ "message",
23
+ "color",
24
+ "surface",
25
+ "base"
26
+ ]
27
+ },
28
+ "alternative": {
29
+ "$type": "color",
30
+ "$value": "#f0f0f0",
31
+ "filePath": "src/temp/component.json",
32
+ "isSource": true,
33
+ "original": {
34
+ "$type": "color",
35
+ "$value": "{color.surface.main.alternative}"
36
+ },
37
+ "name": "messageColorSurfaceAlternative",
38
+ "attributes": {
39
+ "category": "message",
40
+ "type": "color",
41
+ "item": "surface",
42
+ "subitem": "alternative"
43
+ },
44
+ "path": [
45
+ "message",
46
+ "color",
47
+ "surface",
48
+ "alternative"
49
+ ]
50
+ }
51
+ },
52
+ "read": {
53
+ "description": {
54
+ "$type": "color",
55
+ "$value": "#1b1b1b",
56
+ "filePath": "src/temp/component.json",
57
+ "isSource": true,
58
+ "original": {
59
+ "$type": "color",
60
+ "$value": "{color.read.main.base}"
61
+ },
62
+ "name": "messageColorReadDescription",
63
+ "attributes": {
64
+ "category": "message",
65
+ "type": "color",
66
+ "item": "read",
67
+ "subitem": "description"
68
+ },
69
+ "path": [
70
+ "message",
71
+ "color",
72
+ "read",
73
+ "description"
74
+ ]
75
+ }
76
+ }
77
+ },
78
+ "rounder": {
79
+ "global": {
80
+ "$type": "dimension",
81
+ "$value": "0",
82
+ "filePath": "src/temp/component.json",
83
+ "isSource": true,
84
+ "$extensions": {
85
+ "studio.tokens": {
86
+ "originalType": "borderRadius"
87
+ }
88
+ },
89
+ "original": {
90
+ "$type": "dimension",
91
+ "$value": "{surface.rounder.none}",
92
+ "$extensions": {
93
+ "studio.tokens": {
94
+ "originalType": "borderRadius"
95
+ }
96
+ }
97
+ },
98
+ "name": "messageRounderGlobal",
99
+ "attributes": {
100
+ "category": "message",
101
+ "type": "rounder",
102
+ "item": "global"
103
+ },
104
+ "path": [
105
+ "message",
106
+ "rounder",
107
+ "global"
108
+ ]
109
+ },
110
+ "contextual": {
111
+ "$type": "dimension",
112
+ "$value": "4px",
113
+ "filePath": "src/temp/component.json",
114
+ "isSource": true,
115
+ "$extensions": {
116
+ "studio.tokens": {
117
+ "originalType": "borderRadius"
118
+ }
119
+ },
120
+ "original": {
121
+ "$type": "dimension",
122
+ "$value": "{surface.rounder.small}",
123
+ "$extensions": {
124
+ "studio.tokens": {
125
+ "originalType": "borderRadius"
126
+ }
127
+ }
128
+ },
129
+ "name": "messageRounderContextual",
130
+ "attributes": {
131
+ "category": "message",
132
+ "type": "rounder",
133
+ "item": "contextual"
134
+ },
135
+ "path": [
136
+ "message",
137
+ "rounder",
138
+ "contextual"
139
+ ]
140
+ }
141
+ },
142
+ "shadowStyle": {
143
+ "global": {
144
+ "$type": "shadow",
145
+ "$value": "0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)",
146
+ "filePath": "src/temp/component.json",
147
+ "isSource": true,
148
+ "$extensions": {
149
+ "studio.tokens": {
150
+ "originalType": "boxShadow"
151
+ }
152
+ },
153
+ "original": {
154
+ "$type": "shadow",
155
+ "$value": "{elevation.shadowStyle.level.1}",
156
+ "$extensions": {
157
+ "studio.tokens": {
158
+ "originalType": "boxShadow"
159
+ }
160
+ }
161
+ },
162
+ "name": "messageShadowStyleGlobal",
163
+ "attributes": {
164
+ "category": "message",
165
+ "type": "shadowStyle",
166
+ "item": "global"
167
+ },
168
+ "path": [
169
+ "message",
170
+ "shadowStyle",
171
+ "global"
172
+ ]
173
+ },
174
+ "contextual": {
175
+ "$type": "shadow",
176
+ "$value": "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)",
177
+ "filePath": "src/temp/component.json",
178
+ "isSource": true,
179
+ "$extensions": {
180
+ "studio.tokens": {
181
+ "originalType": "boxShadow"
182
+ }
183
+ },
184
+ "original": {
185
+ "$type": "shadow",
186
+ "$value": "{elevation.shadowStyle.level.0}",
187
+ "$extensions": {
188
+ "studio.tokens": {
189
+ "originalType": "boxShadow"
190
+ }
191
+ }
192
+ },
193
+ "name": "messageShadowStyleContextual",
194
+ "attributes": {
195
+ "category": "message",
196
+ "type": "shadowStyle",
197
+ "item": "contextual"
198
+ },
199
+ "path": [
200
+ "message",
201
+ "shadowStyle",
202
+ "contextual"
203
+ ]
204
+ }
205
+ },
206
+ "fontStyle": {
207
+ "description": {
208
+ "$type": "typography",
209
+ "$value": "400 1rem/1.5 'Noto Sans'",
210
+ "filePath": "src/temp/component.json",
211
+ "isSource": true,
212
+ "original": {
213
+ "$type": "typography",
214
+ "$value": "{typography.fontStyle.paragraph}"
215
+ },
216
+ "name": "messageFontStyleDescription",
217
+ "attributes": {
218
+ "category": "message",
219
+ "type": "fontStyle",
220
+ "item": "description"
221
+ },
222
+ "path": [
223
+ "message",
224
+ "fontStyle",
225
+ "description"
226
+ ]
227
+ }
228
+ },
229
+ "spacing": {
230
+ "gap": {
231
+ "global": {
232
+ "$type": "dimension",
233
+ "$value": "8px",
234
+ "filePath": "src/temp/component.json",
235
+ "isSource": true,
236
+ "$extensions": {
237
+ "studio.tokens": {
238
+ "originalType": "spacing"
239
+ }
240
+ },
241
+ "original": {
242
+ "$type": "dimension",
243
+ "$value": "{spacing.layout.01}",
244
+ "$extensions": {
245
+ "studio.tokens": {
246
+ "originalType": "spacing"
247
+ }
248
+ }
249
+ },
250
+ "name": "messageSpacingGapGlobal",
251
+ "attributes": {
252
+ "category": "message",
253
+ "type": "spacing",
254
+ "item": "gap",
255
+ "subitem": "global"
256
+ },
257
+ "path": [
258
+ "message",
259
+ "spacing",
260
+ "gap",
261
+ "global"
262
+ ]
263
+ },
264
+ "contextual": {
265
+ "$type": "dimension",
266
+ "$value": "4px",
267
+ "filePath": "src/temp/component.json",
268
+ "isSource": true,
269
+ "$extensions": {
270
+ "studio.tokens": {
271
+ "originalType": "spacing"
272
+ }
273
+ },
274
+ "original": {
275
+ "$type": "dimension",
276
+ "$value": "{spacing.adjust.01}",
277
+ "$extensions": {
278
+ "studio.tokens": {
279
+ "originalType": "spacing"
280
+ }
281
+ }
282
+ },
283
+ "name": "messageSpacingGapContextual",
284
+ "attributes": {
285
+ "category": "message",
286
+ "type": "spacing",
287
+ "item": "gap",
288
+ "subitem": "contextual"
289
+ },
290
+ "path": [
291
+ "message",
292
+ "spacing",
293
+ "gap",
294
+ "contextual"
295
+ ]
296
+ }
297
+ },
298
+ "padding": {
299
+ "global": {
300
+ "$type": "dimension",
301
+ "$value": "16px",
302
+ "filePath": "src/temp/component.json",
303
+ "isSource": true,
304
+ "$extensions": {
305
+ "studio.tokens": {
306
+ "originalType": "spacing"
307
+ }
308
+ },
309
+ "original": {
310
+ "$type": "dimension",
311
+ "$value": "{spacing.layout.02}",
312
+ "$extensions": {
313
+ "studio.tokens": {
314
+ "originalType": "spacing"
315
+ }
316
+ }
317
+ },
318
+ "name": "messageSpacingPaddingGlobal",
319
+ "attributes": {
320
+ "category": "message",
321
+ "type": "spacing",
322
+ "item": "padding",
323
+ "subitem": "global"
324
+ },
325
+ "path": [
326
+ "message",
327
+ "spacing",
328
+ "padding",
329
+ "global"
330
+ ]
331
+ },
332
+ "contextual": {
333
+ "$type": "dimension",
334
+ "$value": "4px",
335
+ "filePath": "src/temp/component.json",
336
+ "isSource": true,
337
+ "$extensions": {
338
+ "studio.tokens": {
339
+ "originalType": "spacing"
340
+ }
341
+ },
342
+ "original": {
343
+ "$type": "dimension",
344
+ "$value": "{spacing.adjust.01}",
345
+ "$extensions": {
346
+ "studio.tokens": {
347
+ "originalType": "spacing"
348
+ }
349
+ }
350
+ },
351
+ "name": "messageSpacingPaddingContextual",
352
+ "attributes": {
353
+ "category": "message",
354
+ "type": "spacing",
355
+ "item": "padding",
356
+ "subitem": "contextual"
357
+ },
358
+ "path": [
359
+ "message",
360
+ "spacing",
361
+ "padding",
362
+ "contextual"
363
+ ]
364
+ }
365
+ }
366
+ },
367
+ "hover": {
368
+ "color": {
369
+ "success": {
370
+ "$type": "color",
371
+ "$value": "rgba(36, 52, 19, 0.5)",
372
+ "filePath": "src/temp/component.json",
373
+ "isSource": true,
374
+ "original": {
375
+ "$type": "color",
376
+ "$value": "rgba({color.greenVivid.80}, {state.hover.opacity.bright})"
377
+ },
378
+ "name": "messageHoverColorSuccess",
379
+ "attributes": {
380
+ "category": "message",
381
+ "type": "hover",
382
+ "item": "color",
383
+ "subitem": "success"
384
+ },
385
+ "path": [
386
+ "message",
387
+ "hover",
388
+ "color",
389
+ "success"
390
+ ]
391
+ },
392
+ "alert": {
393
+ "$type": "color",
394
+ "$value": "rgba(254, 230, 133, 0.6)",
395
+ "filePath": "src/temp/component.json",
396
+ "isSource": true,
397
+ "original": {
398
+ "$type": "color",
399
+ "$value": "rgba({color.yellowVivid.10}, {state.hover.opacity.dim})"
400
+ },
401
+ "name": "messageHoverColorAlert",
402
+ "attributes": {
403
+ "category": "message",
404
+ "type": "hover",
405
+ "item": "color",
406
+ "subitem": "alert"
407
+ },
408
+ "path": [
409
+ "message",
410
+ "hover",
411
+ "color",
412
+ "alert"
413
+ ]
414
+ },
415
+ "error": {
416
+ "$type": "color",
417
+ "$value": "rgba(92, 17, 17, 0.5)",
418
+ "filePath": "src/temp/component.json",
419
+ "isSource": true,
420
+ "original": {
421
+ "$type": "color",
422
+ "$value": "rgba({color.redVivid.80}, {state.hover.opacity.bright})"
423
+ },
424
+ "name": "messageHoverColorError",
425
+ "attributes": {
426
+ "category": "message",
427
+ "type": "hover",
428
+ "item": "color",
429
+ "subitem": "error"
430
+ },
431
+ "path": [
432
+ "message",
433
+ "hover",
434
+ "color",
435
+ "error"
436
+ ]
437
+ }
438
+ }
439
+ }
440
+ }
441
+ }