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

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,169 @@
1
+ {
2
+ "checkboxGroup": {
3
+ "gap": {
4
+ "default": {
5
+ "$type": "dimension",
6
+ "$value": "8px",
7
+ "filePath": "src/temp/component.json",
8
+ "isSource": true,
9
+ "$extensions": {
10
+ "studio.tokens": {
11
+ "originalType": "spacing"
12
+ }
13
+ },
14
+ "original": {
15
+ "$type": "dimension",
16
+ "$value": "{spacing.layout.01}",
17
+ "$extensions": {
18
+ "studio.tokens": {
19
+ "originalType": "spacing"
20
+ }
21
+ }
22
+ },
23
+ "name": "checkboxGroupGapDefault",
24
+ "attributes": {
25
+ "category": "checkboxGroup",
26
+ "type": "gap",
27
+ "item": "default"
28
+ },
29
+ "path": [
30
+ "checkboxGroup",
31
+ "gap",
32
+ "default"
33
+ ]
34
+ },
35
+ "vertical": {
36
+ "item": {
37
+ "$type": "dimension",
38
+ "$value": "8px",
39
+ "filePath": "src/temp/component.json",
40
+ "isSource": true,
41
+ "$extensions": {
42
+ "studio.tokens": {
43
+ "originalType": "spacing"
44
+ }
45
+ },
46
+ "original": {
47
+ "$type": "dimension",
48
+ "$value": "{spacing.layout.01}",
49
+ "$extensions": {
50
+ "studio.tokens": {
51
+ "originalType": "spacing"
52
+ }
53
+ }
54
+ },
55
+ "name": "checkboxGroupGapVerticalItem",
56
+ "attributes": {
57
+ "category": "checkboxGroup",
58
+ "type": "gap",
59
+ "item": "vertical",
60
+ "subitem": "item"
61
+ },
62
+ "path": [
63
+ "checkboxGroup",
64
+ "gap",
65
+ "vertical",
66
+ "item"
67
+ ]
68
+ },
69
+ "group": {
70
+ "$type": "dimension",
71
+ "$value": "24px",
72
+ "filePath": "src/temp/component.json",
73
+ "isSource": true,
74
+ "$extensions": {
75
+ "studio.tokens": {
76
+ "originalType": "spacing"
77
+ }
78
+ },
79
+ "original": {
80
+ "$type": "dimension",
81
+ "$value": "{spacing.layout.03}",
82
+ "$extensions": {
83
+ "studio.tokens": {
84
+ "originalType": "spacing"
85
+ }
86
+ }
87
+ },
88
+ "name": "checkboxGroupGapVerticalGroup",
89
+ "attributes": {
90
+ "category": "checkboxGroup",
91
+ "type": "gap",
92
+ "item": "vertical",
93
+ "subitem": "group"
94
+ },
95
+ "path": [
96
+ "checkboxGroup",
97
+ "gap",
98
+ "vertical",
99
+ "group"
100
+ ]
101
+ }
102
+ },
103
+ "horizontal": {
104
+ "item": {
105
+ "$type": "dimension",
106
+ "$value": "24px",
107
+ "filePath": "src/temp/component.json",
108
+ "isSource": true,
109
+ "$extensions": {
110
+ "studio.tokens": {
111
+ "originalType": "spacing"
112
+ }
113
+ },
114
+ "original": {
115
+ "$type": "dimension",
116
+ "$value": "{spacing.layout.03}",
117
+ "$extensions": {
118
+ "studio.tokens": {
119
+ "originalType": "spacing"
120
+ }
121
+ }
122
+ },
123
+ "name": "checkboxGroupGapHorizontalItem",
124
+ "attributes": {
125
+ "category": "checkboxGroup",
126
+ "type": "gap",
127
+ "item": "horizontal",
128
+ "subitem": "item"
129
+ },
130
+ "path": [
131
+ "checkboxGroup",
132
+ "gap",
133
+ "horizontal",
134
+ "item"
135
+ ]
136
+ }
137
+ }
138
+ },
139
+ "padding": {
140
+ "$type": "dimension",
141
+ "$value": "8px",
142
+ "filePath": "src/temp/component.json",
143
+ "isSource": true,
144
+ "$extensions": {
145
+ "studio.tokens": {
146
+ "originalType": "spacing"
147
+ }
148
+ },
149
+ "original": {
150
+ "$type": "dimension",
151
+ "$value": "{spacing.layout.01}",
152
+ "$extensions": {
153
+ "studio.tokens": {
154
+ "originalType": "spacing"
155
+ }
156
+ }
157
+ },
158
+ "name": "checkboxGroupPadding",
159
+ "attributes": {
160
+ "category": "checkboxGroup",
161
+ "type": "padding"
162
+ },
163
+ "path": [
164
+ "checkboxGroup",
165
+ "padding"
166
+ ]
167
+ }
168
+ }
169
+ }
@@ -0,0 +1,302 @@
1
+ {
2
+ "divider": {
3
+ "borderStyle": {
4
+ "small": {
5
+ "solid": {
6
+ "$type": "border",
7
+ "$value": "1px solid #cccccc",
8
+ "filePath": "src/temp/component.json",
9
+ "isSource": true,
10
+ "original": {
11
+ "$type": "border",
12
+ "$value": {
13
+ "color": "{color.border.base}",
14
+ "width": "{surface.borderWidth.small}",
15
+ "style": "solid"
16
+ }
17
+ },
18
+ "name": "dividerBorderStyleSmallSolid",
19
+ "attributes": {
20
+ "category": "divider",
21
+ "type": "borderStyle",
22
+ "item": "small",
23
+ "subitem": "solid"
24
+ },
25
+ "path": [
26
+ "divider",
27
+ "borderStyle",
28
+ "small",
29
+ "solid"
30
+ ]
31
+ },
32
+ "dashed": {
33
+ "$type": "border",
34
+ "$value": "1px dashed #cccccc",
35
+ "filePath": "src/temp/component.json",
36
+ "isSource": true,
37
+ "original": {
38
+ "$type": "border",
39
+ "$value": {
40
+ "color": "{color.border.base}",
41
+ "width": "{surface.borderWidth.small}",
42
+ "style": "dashed"
43
+ }
44
+ },
45
+ "name": "dividerBorderStyleSmallDashed",
46
+ "attributes": {
47
+ "category": "divider",
48
+ "type": "borderStyle",
49
+ "item": "small",
50
+ "subitem": "dashed"
51
+ },
52
+ "path": [
53
+ "divider",
54
+ "borderStyle",
55
+ "small",
56
+ "dashed"
57
+ ]
58
+ }
59
+ },
60
+ "medium": {
61
+ "solid": {
62
+ "$type": "border",
63
+ "$value": "2px solid #cccccc",
64
+ "filePath": "src/temp/component.json",
65
+ "isSource": true,
66
+ "original": {
67
+ "$type": "border",
68
+ "$value": {
69
+ "color": "{color.border.base}",
70
+ "width": "{surface.borderWidth.medium}",
71
+ "style": "solid"
72
+ }
73
+ },
74
+ "name": "dividerBorderStyleMediumSolid",
75
+ "attributes": {
76
+ "category": "divider",
77
+ "type": "borderStyle",
78
+ "item": "medium",
79
+ "subitem": "solid"
80
+ },
81
+ "path": [
82
+ "divider",
83
+ "borderStyle",
84
+ "medium",
85
+ "solid"
86
+ ]
87
+ },
88
+ "dashed": {
89
+ "$type": "border",
90
+ "$value": "2px dashed #cccccc",
91
+ "filePath": "src/temp/component.json",
92
+ "isSource": true,
93
+ "original": {
94
+ "$type": "border",
95
+ "$value": {
96
+ "color": "{color.border.base}",
97
+ "width": "{surface.borderWidth.medium}",
98
+ "style": "dashed"
99
+ }
100
+ },
101
+ "name": "dividerBorderStyleMediumDashed",
102
+ "attributes": {
103
+ "category": "divider",
104
+ "type": "borderStyle",
105
+ "item": "medium",
106
+ "subitem": "dashed"
107
+ },
108
+ "path": [
109
+ "divider",
110
+ "borderStyle",
111
+ "medium",
112
+ "dashed"
113
+ ]
114
+ }
115
+ },
116
+ "large": {
117
+ "solid": {
118
+ "$type": "border",
119
+ "$value": "4px solid #cccccc",
120
+ "filePath": "src/temp/component.json",
121
+ "isSource": true,
122
+ "original": {
123
+ "$type": "border",
124
+ "$value": {
125
+ "color": "{color.border.base}",
126
+ "width": "{surface.borderWidth.large}",
127
+ "style": "solid"
128
+ }
129
+ },
130
+ "name": "dividerBorderStyleLargeSolid",
131
+ "attributes": {
132
+ "category": "divider",
133
+ "type": "borderStyle",
134
+ "item": "large",
135
+ "subitem": "solid"
136
+ },
137
+ "path": [
138
+ "divider",
139
+ "borderStyle",
140
+ "large",
141
+ "solid"
142
+ ]
143
+ },
144
+ "dashed": {
145
+ "$type": "border",
146
+ "$value": "4px dashed #cccccc",
147
+ "filePath": "src/temp/component.json",
148
+ "isSource": true,
149
+ "original": {
150
+ "$type": "border",
151
+ "$value": {
152
+ "color": "{color.border.base}",
153
+ "width": "{surface.borderWidth.large}",
154
+ "style": "dashed"
155
+ }
156
+ },
157
+ "name": "dividerBorderStyleLargeDashed",
158
+ "attributes": {
159
+ "category": "divider",
160
+ "type": "borderStyle",
161
+ "item": "large",
162
+ "subitem": "dashed"
163
+ },
164
+ "path": [
165
+ "divider",
166
+ "borderStyle",
167
+ "large",
168
+ "dashed"
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ "spacing": {
174
+ "gap": {
175
+ "$value": "8px",
176
+ "$type": "dimension",
177
+ "filePath": "src/temp/component.json",
178
+ "isSource": true,
179
+ "$extensions": {
180
+ "studio.tokens": {
181
+ "originalType": "spacing"
182
+ }
183
+ },
184
+ "original": {
185
+ "$value": "{spacing.layout.01}",
186
+ "$type": "dimension",
187
+ "$extensions": {
188
+ "studio.tokens": {
189
+ "originalType": "spacing"
190
+ }
191
+ }
192
+ },
193
+ "name": "dividerSpacingGap",
194
+ "attributes": {
195
+ "category": "divider",
196
+ "type": "spacing",
197
+ "item": "gap"
198
+ },
199
+ "path": [
200
+ "divider",
201
+ "spacing",
202
+ "gap"
203
+ ]
204
+ }
205
+ },
206
+ "density": {
207
+ "compact": {
208
+ "$value": "4px",
209
+ "$type": "dimension",
210
+ "filePath": "src/temp/component.json",
211
+ "isSource": true,
212
+ "$extensions": {
213
+ "studio.tokens": {
214
+ "originalType": "spacing"
215
+ }
216
+ },
217
+ "original": {
218
+ "$value": "{spacing.adjust.01}",
219
+ "$type": "dimension",
220
+ "$extensions": {
221
+ "studio.tokens": {
222
+ "originalType": "spacing"
223
+ }
224
+ }
225
+ },
226
+ "name": "dividerDensityCompact",
227
+ "attributes": {
228
+ "category": "divider",
229
+ "type": "density",
230
+ "item": "compact"
231
+ },
232
+ "path": [
233
+ "divider",
234
+ "density",
235
+ "compact"
236
+ ]
237
+ },
238
+ "regular": {
239
+ "$value": "20px",
240
+ "$type": "dimension",
241
+ "filePath": "src/temp/component.json",
242
+ "isSource": true,
243
+ "$extensions": {
244
+ "studio.tokens": {
245
+ "originalType": "spacing"
246
+ }
247
+ },
248
+ "original": {
249
+ "$value": "{spacing.adjust.03}",
250
+ "$type": "dimension",
251
+ "$extensions": {
252
+ "studio.tokens": {
253
+ "originalType": "spacing"
254
+ }
255
+ }
256
+ },
257
+ "name": "dividerDensityRegular",
258
+ "attributes": {
259
+ "category": "divider",
260
+ "type": "density",
261
+ "item": "regular"
262
+ },
263
+ "path": [
264
+ "divider",
265
+ "density",
266
+ "regular"
267
+ ]
268
+ },
269
+ "spacious": {
270
+ "$value": "36px",
271
+ "$type": "dimension",
272
+ "filePath": "src/temp/component.json",
273
+ "isSource": true,
274
+ "$extensions": {
275
+ "studio.tokens": {
276
+ "originalType": "spacing"
277
+ }
278
+ },
279
+ "original": {
280
+ "$value": "{spacing.adjust.05}",
281
+ "$type": "dimension",
282
+ "$extensions": {
283
+ "studio.tokens": {
284
+ "originalType": "spacing"
285
+ }
286
+ }
287
+ },
288
+ "name": "dividerDensitySpacious",
289
+ "attributes": {
290
+ "category": "divider",
291
+ "type": "density",
292
+ "item": "spacious"
293
+ },
294
+ "path": [
295
+ "divider",
296
+ "density",
297
+ "spacious"
298
+ ]
299
+ }
300
+ }
301
+ }
302
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "formlabel": {
3
+ "spacing": {
4
+ "gap": {
5
+ "$type": "dimension",
6
+ "$value": "8px",
7
+ "filePath": "src/temp/component.json",
8
+ "isSource": true,
9
+ "$extensions": {
10
+ "studio.tokens": {
11
+ "originalType": "spacing"
12
+ }
13
+ },
14
+ "original": {
15
+ "$type": "dimension",
16
+ "$value": "{spacing.layout.01}",
17
+ "$extensions": {
18
+ "studio.tokens": {
19
+ "originalType": "spacing"
20
+ }
21
+ }
22
+ },
23
+ "name": "formlabelSpacingGap",
24
+ "attributes": {
25
+ "category": "formlabel",
26
+ "type": "spacing",
27
+ "item": "gap"
28
+ },
29
+ "path": [
30
+ "formlabel",
31
+ "spacing",
32
+ "gap"
33
+ ]
34
+ }
35
+ },
36
+ "color": {
37
+ "main": {
38
+ "helpertext": {
39
+ "$type": "color",
40
+ "$value": "#636363",
41
+ "filePath": "src/temp/component.json",
42
+ "isSource": true,
43
+ "original": {
44
+ "$type": "color",
45
+ "$value": "{color.read.main.alternative}"
46
+ },
47
+ "name": "formlabelColorMainHelpertext",
48
+ "attributes": {
49
+ "category": "formlabel",
50
+ "type": "color",
51
+ "item": "main",
52
+ "subitem": "helpertext"
53
+ },
54
+ "path": [
55
+ "formlabel",
56
+ "color",
57
+ "main",
58
+ "helpertext"
59
+ ]
60
+ }
61
+ },
62
+ "contrast": {
63
+ "helpertext": {
64
+ "$type": "color",
65
+ "$value": "#cccccc",
66
+ "filePath": "src/temp/component.json",
67
+ "isSource": true,
68
+ "original": {
69
+ "$type": "color",
70
+ "$value": "{color.read.contrast.alternative}"
71
+ },
72
+ "name": "formlabelColorContrastHelpertext",
73
+ "attributes": {
74
+ "category": "formlabel",
75
+ "type": "color",
76
+ "item": "contrast",
77
+ "subitem": "helpertext"
78
+ },
79
+ "path": [
80
+ "formlabel",
81
+ "color",
82
+ "contrast",
83
+ "helpertext"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ "fontStyle": {
89
+ "helpertext": {
90
+ "$type": "typography",
91
+ "$value": "400 0.79rem/1.2 'Noto Sans'",
92
+ "filePath": "src/temp/component.json",
93
+ "isSource": true,
94
+ "original": {
95
+ "$type": "typography",
96
+ "$value": {
97
+ "fontFamily": "{typography.fontFamily.primary}",
98
+ "fontWeight": "{typography.fontWeight.regular}",
99
+ "fontSize": "{typography.fontSize.down.02}",
100
+ "lineHeight": "{typography.lineHeight.small}"
101
+ }
102
+ },
103
+ "name": "formlabelFontStyleHelpertext",
104
+ "attributes": {
105
+ "category": "formlabel",
106
+ "type": "fontStyle",
107
+ "item": "helpertext"
108
+ },
109
+ "path": [
110
+ "formlabel",
111
+ "fontStyle",
112
+ "helpertext"
113
+ ]
114
+ }
115
+ }
116
+ }
117
+ }