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

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 (151) hide show
  1. package/README.md +55 -131
  2. package/dist/css/components/avatar/tokens.css +40 -0
  3. package/dist/css/components/breadcrumbs/tokens.css +34 -0
  4. package/dist/css/components/button/tokens.css +61 -0
  5. package/dist/css/components/checkbox/tokens.css +65 -0
  6. package/dist/css/components/checkboxGroup/tokens.css +11 -0
  7. package/dist/css/components/divider/tokens.css +16 -0
  8. package/dist/css/components/footer/tokens.css +48 -0
  9. package/dist/css/components/formLabel/tokens.css +10 -0
  10. package/dist/css/components/header/tokens.css +38 -0
  11. package/dist/css/components/icon/tokens.css +38 -0
  12. package/dist/css/components/input/tokens.css +48 -0
  13. package/dist/css/components/list/tokens.css +58 -0
  14. package/dist/css/components/message/tokens.css +18 -0
  15. package/dist/css/components/radioGroup/tokens.css +51 -0
  16. package/dist/css/components/select/tokens.css +16 -0
  17. package/dist/css/components/sideMenu/tokens.css +67 -0
  18. package/dist/css/components/text/tokens.css +21 -0
  19. package/dist/css/components/tooltip/tokens.css +18 -0
  20. package/dist/css/contrast-mode.css +41 -0
  21. package/dist/css/theme/dark/prefers-color-scheme.css +72 -0
  22. package/dist/css/theme/dark/tokens.css +70 -0
  23. package/dist/css/theme/light/prefers-color-scheme.css +72 -0
  24. package/dist/css/theme/light/tokens.css +70 -0
  25. package/dist/css/tokens.css +910 -709
  26. package/dist/js/components/avatar/tokens.js +39 -0
  27. package/dist/js/components/breadcrumbs/tokens.js +36 -0
  28. package/dist/js/components/button/tokens.js +61 -0
  29. package/dist/js/components/checkbox/tokens.js +66 -0
  30. package/dist/js/components/checkboxGroup/tokens.js +9 -0
  31. package/dist/js/components/divider/tokens.js +14 -0
  32. package/dist/js/components/footer/tokens.js +47 -0
  33. package/dist/js/components/formLabel/tokens.js +8 -0
  34. package/dist/js/components/header/tokens.js +39 -0
  35. package/dist/js/components/icon/tokens.js +36 -0
  36. package/dist/js/components/input/tokens.js +47 -0
  37. package/dist/js/components/list/tokens.js +57 -0
  38. package/dist/js/components/message/tokens.js +18 -0
  39. package/dist/js/components/radioGroup/tokens.js +53 -0
  40. package/dist/js/components/select/tokens.js +15 -0
  41. package/dist/js/components/sideMenu/tokens.js +68 -0
  42. package/dist/js/components/text/tokens.js +19 -0
  43. package/dist/js/components/tooltip/tokens.js +17 -0
  44. package/dist/js/theme/dark/tokens.js +70 -0
  45. package/dist/js/theme/light/tokens.js +70 -0
  46. package/dist/js/tokens.js +929 -709
  47. package/dist/json/components/avatar/tokens.json +1016 -0
  48. package/dist/json/components/breadcrumbs/tokens.json +877 -0
  49. package/dist/json/components/button/tokens.json +1643 -0
  50. package/dist/json/components/checkbox/tokens.json +1805 -0
  51. package/dist/json/components/checkboxGroup/tokens.json +191 -0
  52. package/dist/json/components/divider/tokens.json +338 -0
  53. package/dist/json/components/footer/tokens.json +1345 -0
  54. package/dist/json/components/formLabel/tokens.json +131 -0
  55. package/dist/json/components/header/tokens.json +1050 -0
  56. package/dist/json/components/icon/tokens.json +1022 -0
  57. package/dist/json/components/input/tokens.json +1248 -0
  58. package/dist/json/components/list/tokens.json +1580 -0
  59. package/dist/json/components/message/tokens.json +404 -0
  60. package/dist/json/components/radioGroup/tokens.json +1357 -0
  61. package/dist/json/components/select/tokens.json +332 -0
  62. package/dist/json/components/sideMenu/tokens.json +1872 -0
  63. package/dist/json/components/text/tokens.json +517 -0
  64. package/dist/json/components/tooltip/tokens.json +383 -0
  65. package/dist/json/theme/dark/tokens.json +1835 -0
  66. package/dist/json/theme/light/tokens.json +1835 -0
  67. package/dist/json/tokens.json +24667 -11462
  68. package/dist/scss/components/avatar/tokens.scss +37 -0
  69. package/dist/scss/components/breadcrumbs/tokens.scss +31 -0
  70. package/dist/scss/components/button/tokens.scss +58 -0
  71. package/dist/scss/components/checkbox/tokens.scss +62 -0
  72. package/dist/scss/components/checkboxGroup/tokens.scss +8 -0
  73. package/dist/scss/components/divider/tokens.scss +13 -0
  74. package/dist/scss/components/footer/tokens.scss +45 -0
  75. package/dist/scss/components/formLabel/tokens.scss +7 -0
  76. package/dist/scss/components/header/tokens.scss +35 -0
  77. package/dist/scss/components/icon/tokens.scss +35 -0
  78. package/dist/scss/components/input/tokens.scss +45 -0
  79. package/dist/scss/components/list/tokens.scss +55 -0
  80. package/dist/scss/components/message/tokens.scss +15 -0
  81. package/dist/scss/components/radioGroup/tokens.scss +48 -0
  82. package/dist/scss/components/select/tokens.scss +13 -0
  83. package/dist/scss/components/sideMenu/tokens.scss +64 -0
  84. package/dist/scss/components/text/tokens.scss +18 -0
  85. package/dist/scss/components/tooltip/tokens.scss +15 -0
  86. package/dist/scss/theme/dark/tokens.scss +66 -0
  87. package/dist/scss/theme/light/tokens.scss +66 -0
  88. package/dist/scss/tokens.scss +2282 -0
  89. package/dist/tokens-studio/tokens.json +6592 -0
  90. package/package.json +13 -13
  91. package/src/figma/base14.json +155 -0
  92. package/src/figma/color.json +1950 -0
  93. package/src/figma/component/avatar.json +344 -0
  94. package/src/figma/component/base14.json +431 -0
  95. package/src/figma/component/button.json +594 -0
  96. package/src/figma/component/divider.json +52 -0
  97. package/src/figma/component/formlabel.json +45 -0
  98. package/src/figma/component/icon.json +369 -0
  99. package/src/figma/component/input.json +338 -0
  100. package/src/figma/component/manifest.json +30 -0
  101. package/src/figma/component/message.json +117 -0
  102. package/src/figma/component/text.json +130 -0
  103. package/src/figma/dark.json +430 -0
  104. package/src/figma/elevation.json +551 -0
  105. package/src/figma/grid.json +306 -0
  106. package/src/figma/guideline/componente.json +24 -0
  107. package/src/figma/guideline/fundamento.json +24 -0
  108. package/src/figma/guideline/geral.json +20 -0
  109. package/src/figma/guideline/manifest.json +12 -0
  110. package/src/figma/guideline/padrao.json +24 -0
  111. package/src/figma/iconography.json +774 -0
  112. package/src/figma/light.json +430 -0
  113. package/src/figma/manifest.json +42 -0
  114. package/src/figma/motion.json +234 -0
  115. package/src/figma/pattern/contentoverflow.json +39 -0
  116. package/src/figma/pattern/form.json +158 -0
  117. package/src/figma/pattern/manifest.json +10 -0
  118. package/src/figma/pattern/skeleton.json +122 -0
  119. package/src/figma/spacing.json +234 -0
  120. package/src/figma/state.json +711 -0
  121. package/src/figma/surface.json +263 -0
  122. package/src/figma/typography.json +291 -0
  123. package/src/temp/style-dictionary/core/component.json +2664 -0
  124. package/src/temp/style-dictionary/core/foundation.json +3126 -0
  125. package/src/temp/style-dictionary/core/pattern.json +192 -0
  126. package/src/temp/style-dictionary/theme/dark.json +306 -0
  127. package/src/temp/style-dictionary/theme/light.json +306 -0
  128. package/src/temp/tokens-studio/core/component.json +2664 -0
  129. package/src/temp/tokens-studio/core/global.json +3314 -0
  130. package/src/temp/tokens-studio/theme/dark.json +306 -0
  131. package/src/temp/tokens-studio/theme/light.json +306 -0
  132. package/src/tokens.json +7053 -0
  133. package/dist/css/themes/dark.css +0 -54
  134. package/dist/css/themes/light.css +0 -54
  135. package/dist/js/themes/dark.js +0 -52
  136. package/dist/js/themes/light.js +0 -52
  137. package/dist/json/themes/dark.json +0 -1210
  138. package/dist/json/themes/light.json +0 -1210
  139. package/dist/scss/_tokens.scss +0 -714
  140. package/dist/scss/themes/_dark.scss +0 -55
  141. package/dist/scss/themes/_light.scss +0 -55
  142. package/src/figma/tokens.json +0 -3513
  143. package/src/figma/variables/color.json +0 -1948
  144. package/src/figma/variables/grid.json +0 -120
  145. package/src/figma/variables/manifest.json +0 -26
  146. package/src/figma/variables/spacing.json +0 -52
  147. package/src/figma/variables/surface.json +0 -104
  148. package/src/figma/variables/typography.json +0 -150
  149. package/src/style-dictionary/themes/dark.json +0 -3239
  150. package/src/style-dictionary/themes/light.json +0 -3239
  151. package/src/style-dictionary/tokens.json +0 -2971
@@ -0,0 +1,332 @@
1
+ {
2
+ "br": {
3
+ "select": {
4
+ "color": {
5
+ "foreground": {
6
+ "main": {
7
+ "selectAll": {
8
+ "key": "{br.select.color.foreground.main.selectAll}",
9
+ "$value": "#ffffff",
10
+ "filePath": "src/temp/style-dictionary/core/component.json",
11
+ "isSource": true,
12
+ "$type": "color",
13
+ "original": {
14
+ "$value": "{br.state.interactive.color.foreground.main}",
15
+ "$type": "color",
16
+ "key": "{br.select.color.foreground.main.selectAll}"
17
+ },
18
+ "name": "brSelectColorForegroundMainSelectAll",
19
+ "attributes": {
20
+ "category": "br",
21
+ "type": "select",
22
+ "item": "color",
23
+ "subitem": "foreground",
24
+ "state": "main"
25
+ },
26
+ "path": [
27
+ "br",
28
+ "select",
29
+ "color",
30
+ "foreground",
31
+ "main",
32
+ "selectAll"
33
+ ]
34
+ }
35
+ },
36
+ "contrast": {
37
+ "selectAll": {
38
+ "key": "{br.select.color.foreground.contrast.selectAll}",
39
+ "$value": "#000000",
40
+ "filePath": "src/temp/style-dictionary/core/component.json",
41
+ "isSource": true,
42
+ "$type": "color",
43
+ "original": {
44
+ "$value": "{br.state.interactive.color.foreground.contrast}",
45
+ "$type": "color",
46
+ "key": "{br.select.color.foreground.contrast.selectAll}"
47
+ },
48
+ "name": "brSelectColorForegroundContrastSelectAll",
49
+ "attributes": {
50
+ "category": "br",
51
+ "type": "select",
52
+ "item": "color",
53
+ "subitem": "foreground",
54
+ "state": "contrast"
55
+ },
56
+ "path": [
57
+ "br",
58
+ "select",
59
+ "color",
60
+ "foreground",
61
+ "contrast",
62
+ "selectAll"
63
+ ]
64
+ }
65
+ }
66
+ },
67
+ "background": {
68
+ "main": {
69
+ "selectAll": {
70
+ "key": "{br.select.color.background.main.selectAll}",
71
+ "$value": "#0040b4",
72
+ "filePath": "src/temp/style-dictionary/core/component.json",
73
+ "isSource": true,
74
+ "$type": "color",
75
+ "original": {
76
+ "$value": "{br.state.interactive.color.main}",
77
+ "$type": "color",
78
+ "key": "{br.select.color.background.main.selectAll}"
79
+ },
80
+ "name": "brSelectColorBackgroundMainSelectAll",
81
+ "attributes": {
82
+ "category": "br",
83
+ "type": "select",
84
+ "item": "color",
85
+ "subitem": "background",
86
+ "state": "main"
87
+ },
88
+ "path": [
89
+ "br",
90
+ "select",
91
+ "color",
92
+ "background",
93
+ "main",
94
+ "selectAll"
95
+ ]
96
+ },
97
+ "group": {
98
+ "key": "{br.select.color.background.main.group}",
99
+ "$value": "#f0f0f0",
100
+ "filePath": "src/temp/style-dictionary/core/component.json",
101
+ "isSource": true,
102
+ "$type": "color",
103
+ "original": {
104
+ "$value": "{br.color.background.main.secondary}",
105
+ "$type": "color",
106
+ "key": "{br.select.color.background.main.group}"
107
+ },
108
+ "name": "brSelectColorBackgroundMainGroup",
109
+ "attributes": {
110
+ "category": "br",
111
+ "type": "select",
112
+ "item": "color",
113
+ "subitem": "background",
114
+ "state": "main"
115
+ },
116
+ "path": [
117
+ "br",
118
+ "select",
119
+ "color",
120
+ "background",
121
+ "main",
122
+ "group"
123
+ ]
124
+ }
125
+ },
126
+ "contrast": {
127
+ "selectAll": {
128
+ "key": "{br.select.color.background.contrast.selectAll}",
129
+ "$value": "#adcdff",
130
+ "filePath": "src/temp/style-dictionary/core/component.json",
131
+ "isSource": true,
132
+ "$type": "color",
133
+ "original": {
134
+ "$value": "{br.state.interactive.color.contrast}",
135
+ "$type": "color",
136
+ "key": "{br.select.color.background.contrast.selectAll}"
137
+ },
138
+ "name": "brSelectColorBackgroundContrastSelectAll",
139
+ "attributes": {
140
+ "category": "br",
141
+ "type": "select",
142
+ "item": "color",
143
+ "subitem": "background",
144
+ "state": "contrast"
145
+ },
146
+ "path": [
147
+ "br",
148
+ "select",
149
+ "color",
150
+ "background",
151
+ "contrast",
152
+ "selectAll"
153
+ ]
154
+ },
155
+ "group": {
156
+ "key": "{br.select.color.background.contrast.group}",
157
+ "$value": "#2f4668",
158
+ "filePath": "src/temp/style-dictionary/core/component.json",
159
+ "isSource": true,
160
+ "$type": "color",
161
+ "original": {
162
+ "$value": "{br.color.background.contrast.secondary}",
163
+ "$type": "color",
164
+ "key": "{br.select.color.background.contrast.group}"
165
+ },
166
+ "name": "brSelectColorBackgroundContrastGroup",
167
+ "attributes": {
168
+ "category": "br",
169
+ "type": "select",
170
+ "item": "color",
171
+ "subitem": "background",
172
+ "state": "contrast"
173
+ },
174
+ "path": [
175
+ "br",
176
+ "select",
177
+ "color",
178
+ "background",
179
+ "contrast",
180
+ "group"
181
+ ]
182
+ }
183
+ }
184
+ }
185
+ },
186
+ "iconName": {
187
+ "selected": {
188
+ "key": "{br.select.iconName.selected}",
189
+ "$value": "square-check",
190
+ "filePath": "src/temp/style-dictionary/core/component.json",
191
+ "isSource": true,
192
+ "$type": "content",
193
+ "$extensions": {
194
+ "studio.tokens": {
195
+ "originalType": "text"
196
+ }
197
+ },
198
+ "original": {
199
+ "$value": "square-check",
200
+ "$type": "content",
201
+ "$extensions": {
202
+ "studio.tokens": {
203
+ "originalType": "text"
204
+ }
205
+ },
206
+ "key": "{br.select.iconName.selected}"
207
+ },
208
+ "name": "brSelectIconNameSelected",
209
+ "attributes": {
210
+ "category": "br",
211
+ "type": "select",
212
+ "item": "iconName",
213
+ "subitem": "selected"
214
+ },
215
+ "path": [
216
+ "br",
217
+ "select",
218
+ "iconName",
219
+ "selected"
220
+ ]
221
+ },
222
+ "deselected": {
223
+ "key": "{br.select.iconName.deselected}",
224
+ "$value": "square",
225
+ "filePath": "src/temp/style-dictionary/core/component.json",
226
+ "isSource": true,
227
+ "$type": "content",
228
+ "$extensions": {
229
+ "studio.tokens": {
230
+ "originalType": "text"
231
+ }
232
+ },
233
+ "original": {
234
+ "$value": "square",
235
+ "$type": "content",
236
+ "$extensions": {
237
+ "studio.tokens": {
238
+ "originalType": "text"
239
+ }
240
+ },
241
+ "key": "{br.select.iconName.deselected}"
242
+ },
243
+ "name": "brSelectIconNameDeselected",
244
+ "attributes": {
245
+ "category": "br",
246
+ "type": "select",
247
+ "item": "iconName",
248
+ "subitem": "deselected"
249
+ },
250
+ "path": [
251
+ "br",
252
+ "select",
253
+ "iconName",
254
+ "deselected"
255
+ ]
256
+ },
257
+ "intermediary": {
258
+ "key": "{br.select.iconName.intermediary}",
259
+ "$value": "square-minus",
260
+ "filePath": "src/temp/style-dictionary/core/component.json",
261
+ "isSource": true,
262
+ "$type": "content",
263
+ "$extensions": {
264
+ "studio.tokens": {
265
+ "originalType": "text"
266
+ }
267
+ },
268
+ "original": {
269
+ "$value": "square-minus",
270
+ "$type": "content",
271
+ "$extensions": {
272
+ "studio.tokens": {
273
+ "originalType": "text"
274
+ }
275
+ },
276
+ "key": "{br.select.iconName.intermediary}"
277
+ },
278
+ "name": "brSelectIconNameIntermediary",
279
+ "attributes": {
280
+ "category": "br",
281
+ "type": "select",
282
+ "item": "iconName",
283
+ "subitem": "intermediary"
284
+ },
285
+ "path": [
286
+ "br",
287
+ "select",
288
+ "iconName",
289
+ "intermediary"
290
+ ]
291
+ }
292
+ },
293
+ "shadowStyle": {
294
+ "list": {
295
+ "key": "{br.select.shadowStyle.list}",
296
+ "$value": "0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)",
297
+ "filePath": "src/temp/style-dictionary/core/component.json",
298
+ "isSource": true,
299
+ "$type": "shadow",
300
+ "$extensions": {
301
+ "studio.tokens": {
302
+ "originalType": "boxShadow"
303
+ }
304
+ },
305
+ "original": {
306
+ "$value": "{br.elevation.shadowStyle.level2}",
307
+ "$type": "shadow",
308
+ "$extensions": {
309
+ "studio.tokens": {
310
+ "originalType": "boxShadow"
311
+ }
312
+ },
313
+ "key": "{br.select.shadowStyle.list}"
314
+ },
315
+ "name": "brSelectShadowStyleList",
316
+ "attributes": {
317
+ "category": "br",
318
+ "type": "select",
319
+ "item": "shadowStyle",
320
+ "subitem": "list"
321
+ },
322
+ "path": [
323
+ "br",
324
+ "select",
325
+ "shadowStyle",
326
+ "list"
327
+ ]
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }