@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
@@ -4,27 +4,27 @@
4
4
  "small": {
5
5
  "main": {
6
6
  "$value": "0",
7
- "$type": "number"
7
+ "$type": "dimension"
8
8
  },
9
9
  "extra": {
10
10
  "$value": "576",
11
- "$type": "number"
11
+ "$type": "dimension"
12
12
  }
13
13
  },
14
14
  "medium": {
15
15
  "main": {
16
16
  "$value": "992",
17
- "$type": "number"
17
+ "$type": "dimension"
18
18
  }
19
19
  },
20
20
  "large": {
21
21
  "main": {
22
22
  "$value": "1280",
23
- "$type": "number"
23
+ "$type": "dimension"
24
24
  },
25
25
  "extra": {
26
26
  "$value": "1600",
27
- "$type": "number"
27
+ "$type": "dimension"
28
28
  }
29
29
  }
30
30
  },
@@ -32,89 +32,89 @@
32
32
  "small": {
33
33
  "compact": {
34
34
  "$value": "{spacing.layout.01}",
35
- "$type": "number"
35
+ "$type": "dimension"
36
36
  },
37
37
  "regular": {
38
38
  "$value": "{spacing.layout.02}",
39
- "$type": "number"
39
+ "$type": "dimension"
40
40
  },
41
41
  "spacious": {
42
42
  "$value": "{spacing.layout.03}",
43
- "$type": "number"
43
+ "$type": "dimension"
44
44
  }
45
45
  },
46
46
  "medium": {
47
47
  "compact": {
48
48
  "$value": "{spacing.layout.02}",
49
- "$type": "number"
49
+ "$type": "dimension"
50
50
  },
51
51
  "regular": {
52
52
  "$value": "{spacing.layout.03}",
53
- "$type": "number"
53
+ "$type": "dimension"
54
54
  },
55
55
  "spacious": {
56
56
  "$value": "{spacing.layout.04}",
57
- "$type": "number"
57
+ "$type": "dimension"
58
58
  }
59
59
  },
60
60
  "large": {
61
61
  "compact": {
62
- "$value": "{spacing.layout.04}",
63
- "$type": "number"
62
+ "$value": "{spacing.layout.03}",
63
+ "$type": "dimension"
64
64
  },
65
65
  "regular": {
66
- "$value": "{spacing.layout.05}",
67
- "$type": "number"
66
+ "$value": "{spacing.layout.04}",
67
+ "$type": "dimension"
68
68
  },
69
69
  "spacious": {
70
- "$value": "{grid.gutter.large.regular}",
71
- "$type": "number"
70
+ "$value": "{spacing.layout.05}",
71
+ "$type": "dimension"
72
72
  }
73
73
  }
74
74
  },
75
75
  "margin": {
76
76
  "small": {
77
77
  "compact": {
78
- "$value": "{grid.margin.small.regular}",
79
- "$type": "number"
78
+ "$value": "{spacing.layout.01}",
79
+ "$type": "dimension"
80
80
  },
81
81
  "regular": {
82
82
  "$value": "{spacing.layout.01}",
83
- "$type": "number"
83
+ "$type": "dimension"
84
84
  },
85
85
  "spacious": {
86
86
  "$value": "{spacing.layout.02}",
87
- "$type": "number"
87
+ "$type": "dimension"
88
88
  }
89
89
  },
90
90
  "medium": {
91
91
  "compact": {
92
92
  "$value": "{spacing.layout.03}",
93
- "$type": "number"
93
+ "$type": "dimension"
94
94
  },
95
95
  "regular": {
96
96
  "$value": "{spacing.layout.04}",
97
- "$type": "number"
97
+ "$type": "dimension"
98
98
  },
99
99
  "spacious": {
100
100
  "$value": "{spacing.layout.05}",
101
- "$type": "number"
101
+ "$type": "dimension"
102
102
  }
103
103
  },
104
104
  "large": {
105
105
  "compact": {
106
106
  "$value": "{spacing.layout.04}",
107
- "$type": "number"
107
+ "$type": "dimension"
108
108
  },
109
109
  "regular": {
110
110
  "$value": "{spacing.layout.05}",
111
- "$type": "number"
111
+ "$type": "dimension"
112
112
  },
113
113
  "spacious": {
114
- "$value": "{grid.margin.large.regular}",
115
- "$type": "number"
114
+ "$value": "{spacing.layout.10}",
115
+ "$type": "dimension"
116
116
  }
117
117
  }
118
118
  }
119
119
  }
120
- }
120
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.greenCool.10}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.greenCool.20}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.greenCool.40}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.greenCool.60}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.greenCool.80}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.blueWarmVivid.10}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.blueWarmVivid.30}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.blueWarmVivid.50}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.blueWarmVivid.70}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.blueWarmVivid.80}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "guideline": {
3
+ "bg-screen": {
4
+ "$value": "#E4E4E4",
5
+ "$type": "color"
6
+ },
7
+ "bg-cover": {
8
+ "$value": "{color.gray.2}",
9
+ "$type": "color"
10
+ },
11
+ "legend": {
12
+ "$value": "#FF3FB9",
13
+ "$type": "color"
14
+ },
15
+ "margem": {
16
+ "$value": "40",
17
+ "$type": "number"
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "Guidelines DS",
3
+ "collections": {
4
+ "Guideline": {
5
+ "modes": {
6
+ "Fundamento": ["geral.json", "fundamento.json"],
7
+ "Padrao": ["geral.json", "padrao.json"],
8
+ "Componente": ["geral.json", "componente.json"]
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.yellowVivid.5}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.yellowVivid.10}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.yellowVivid.30}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.yellowVivid.50}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.yellowVivid.70}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,352 @@
1
+ {
2
+ "iconography": {
3
+ "fontFamily": {
4
+ "primary": {
5
+ "$value": "Font Awesome 6 Free",
6
+ "$type": "string"
7
+ },
8
+ "secondary": {
9
+ "$value": "Font Awesome 6 Brands",
10
+ "$type": "string"
11
+ }
12
+ },
13
+ "iconName": {
14
+ "action": {
15
+ "add": {
16
+ "$type": "string",
17
+ "$value": "plus"
18
+ },
19
+ "attach": {
20
+ "$type": "string",
21
+ "$value": "paperclip"
22
+ },
23
+ "update": {
24
+ "$type": "string",
25
+ "$value": "sync"
26
+ },
27
+ "share": {
28
+ "$type": "string",
29
+ "$value": "share-alt"
30
+ },
31
+ "confirm": {
32
+ "$type": "string",
33
+ "$value": "check"
34
+ },
35
+ "contrast": {
36
+ "$type": "string",
37
+ "$value": "adjust"
38
+ },
39
+ "copy": {
40
+ "$type": "string",
41
+ "$value": "copy"
42
+ },
43
+ "cut": {
44
+ "$type": "string",
45
+ "$value": "cut"
46
+ },
47
+ "download": {
48
+ "$type": "string",
49
+ "$value": "download"
50
+ },
51
+ "edit": {
52
+ "$type": "string",
53
+ "$value": "edit"
54
+ },
55
+ "send": {
56
+ "$type": "string",
57
+ "$value": "share"
58
+ },
59
+ "delete": {
60
+ "$type": "string",
61
+ "$value": "trash-alt"
62
+ },
63
+ "export": {
64
+ "$type": "string",
65
+ "$value": "share-square"
66
+ },
67
+ "close": {
68
+ "$type": "string",
69
+ "$value": "times"
70
+ },
71
+ "filter": {
72
+ "$type": "string",
73
+ "$value": "filter"
74
+ },
75
+ "print": {
76
+ "$type": "string",
77
+ "$value": "print"
78
+ },
79
+ "image": {
80
+ "$type": "string",
81
+ "$value": "image"
82
+ },
83
+ "clean": {
84
+ "$type": "string",
85
+ "$value": "eraser"
86
+ },
87
+ "hide": {
88
+ "$type": "string",
89
+ "$value": "eye-slash"
90
+ },
91
+ "search": {
92
+ "$type": "string",
93
+ "$value": "search"
94
+ },
95
+ "subtract": {
96
+ "$type": "string",
97
+ "$value": "minus"
98
+ },
99
+ "upload": {
100
+ "$type": "string",
101
+ "$value": "upload"
102
+ },
103
+ "view": {
104
+ "$type": "string",
105
+ "$value": "eye"
106
+ }
107
+ },
108
+ "navigation": {
109
+ "next": {
110
+ "$type": "string",
111
+ "$value": "arrow-alt-circle-right"
112
+ },
113
+ "collapsedown": {
114
+ "$type": "string",
115
+ "$value": "chevron-down"
116
+ },
117
+ "collapseup": {
118
+ "$type": "string",
119
+ "$value": "chevron-up"
120
+ },
121
+ "collapseright": {
122
+ "$type": "string",
123
+ "$value": "chevron-right"
124
+ },
125
+ "collapseleft": {
126
+ "$type": "string",
127
+ "$value": "chevron-left"
128
+ },
129
+ "setting": {
130
+ "$type": "string",
131
+ "$value": "sliders-h"
132
+ },
133
+ "date": {
134
+ "$type": "string",
135
+ "$value": "calendar-alt"
136
+ },
137
+ "folder": {
138
+ "$type": "string",
139
+ "$value": "folder"
140
+ },
141
+ "dropdownopen": {
142
+ "$type": "string",
143
+ "$value": "caret-down"
144
+ },
145
+ "dropdownopenh": {
146
+ "$type": "string",
147
+ "$value": "caret-right"
148
+ },
149
+ "dropdownclose": {
150
+ "$type": "string",
151
+ "$value": "caret-up"
152
+ },
153
+ "dropdowncloseh": {
154
+ "$type": "string",
155
+ "$value": "caret-left"
156
+ },
157
+ "externallink": {
158
+ "$type": "string",
159
+ "$value": "external-link-alt"
160
+ },
161
+ "home": {
162
+ "$type": "string",
163
+ "$value": "home"
164
+ },
165
+ "menu": {
166
+ "$type": "string",
167
+ "$value": "bars"
168
+ },
169
+ "options": {
170
+ "$type": "string",
171
+ "$value": "ellipsis-v"
172
+ },
173
+ "user": {
174
+ "$type": "string",
175
+ "$value": "user"
176
+ },
177
+ "signin": {
178
+ "$type": "text",
179
+ "$value": "sign-in-alt"
180
+ },
181
+ "back": {
182
+ "$type": "string",
183
+ "$value": "arrow-alt-circle-left"
184
+ }
185
+ },
186
+ "feedback": {
187
+ "help": {
188
+ "$type": "string",
189
+ "$value": "question-circle"
190
+ },
191
+ "alert": {
192
+ "$type": "string",
193
+ "$value": "exclamation-triangle"
194
+ },
195
+ "drag": {
196
+ "$type": "string",
197
+ "$value": "grip-vertical"
198
+ },
199
+ "volumeon": {
200
+ "$type": "string",
201
+ "$value": "volume-up"
202
+ },
203
+ "volumeoff": {
204
+ "$type": "string",
205
+ "$value": "volume-mute"
206
+ },
207
+ "lock": {
208
+ "$type": "string",
209
+ "$value": "lock"
210
+ },
211
+ "highdensity": {
212
+ "$type": "string",
213
+ "$value": "th"
214
+ },
215
+ "lowdensity": {
216
+ "$type": "string",
217
+ "$value": "th-large"
218
+ },
219
+ "unlock": {
220
+ "$type": "string",
221
+ "$value": "unlock"
222
+ },
223
+ "folderopen": {
224
+ "$type": "string",
225
+ "$value": "folder-open"
226
+ },
227
+ "error": {
228
+ "$type": "string",
229
+ "$value": "times-circle"
230
+ },
231
+ "time": {
232
+ "$type": "string",
233
+ "$value": "clock"
234
+ },
235
+ "info": {
236
+ "$type": "string",
237
+ "$value": "info-circle"
238
+ },
239
+ "libras": {
240
+ "$type": "string",
241
+ "$value": "sign-language"
242
+ },
243
+ "message": {
244
+ "$type": "string",
245
+ "$value": "envelope"
246
+ },
247
+ "messageread": {
248
+ "$type": "string",
249
+ "$value": "envelope-open"
250
+ },
251
+ "notification": {
252
+ "$type": "string",
253
+ "$value": "bell"
254
+ },
255
+ "notificationoff": {
256
+ "$type": "string",
257
+ "$value": "bell-slash"
258
+ },
259
+ "sortup": {
260
+ "$type": "string",
261
+ "$value": "sort-up"
262
+ },
263
+ "sortdown": {
264
+ "$type": "string",
265
+ "$value": "sort-down"
266
+ },
267
+ "sort": {
268
+ "$type": "string",
269
+ "$value": "sort"
270
+ },
271
+ "selected": {
272
+ "$type": "string",
273
+ "$value": "check"
274
+ },
275
+ "success": {
276
+ "$type": "string",
277
+ "$value": "check-circle"
278
+ }
279
+ },
280
+ "brand": {
281
+ "angular": {
282
+ "$type": "string",
283
+ "$value": "angular"
284
+ },
285
+ "codepen": {
286
+ "$type": "string",
287
+ "$value": "codepen"
288
+ },
289
+ "creativecommons": {
290
+ "$type": "string",
291
+ "$value": "creative-commons"
292
+ },
293
+ "css": {
294
+ "$type": "string",
295
+ "$value": "css3-alt"
296
+ },
297
+ "discord": {
298
+ "$type": "string",
299
+ "$value": "discord"
300
+ },
301
+ "facebook": {
302
+ "$type": "string",
303
+ "$value": "facebook"
304
+ },
305
+ "figma": {
306
+ "$type": "string",
307
+ "$value": "figma"
308
+ },
309
+ "fontawesome": {
310
+ "$type": "string",
311
+ "$value": "font-awesome-flag"
312
+ },
313
+ "github": {
314
+ "$type": "string",
315
+ "$value": "github"
316
+ },
317
+ "gitlab": {
318
+ "$type": "string",
319
+ "$value": "gitlab"
320
+ },
321
+ "html": {
322
+ "$type": "string",
323
+ "$value": "html5"
324
+ },
325
+ "javascript": {
326
+ "$type": "string",
327
+ "$value": "js"
328
+ },
329
+ "linkedin": {
330
+ "$type": "string",
331
+ "$value": "linkedin"
332
+ },
333
+ "npm": {
334
+ "$type": "string",
335
+ "$value": "npm"
336
+ },
337
+ "react": {
338
+ "$type": "string",
339
+ "$value": "react"
340
+ },
341
+ "vue": {
342
+ "$type": "string",
343
+ "$value": "vuejs"
344
+ },
345
+ "youtube": {
346
+ "$type": "string",
347
+ "$value": "youtube"
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }