@govbr-ds/tokens 4.0.0-next.12 → 4.0.0-next.13

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 (38) hide show
  1. package/dist/css/component/button.css +57 -0
  2. package/dist/css/component/icon.css +35 -0
  3. package/dist/css/component/text.css +17 -0
  4. package/dist/css/themes/dark.css +10 -10
  5. package/dist/css/themes/light.css +10 -10
  6. package/dist/css/tokens.css +101 -96
  7. package/dist/js/component/button.js +56 -0
  8. package/dist/js/component/icon.js +33 -0
  9. package/dist/js/component/text.js +15 -0
  10. package/dist/js/themes/dark.js +10 -10
  11. package/dist/js/themes/light.js +10 -10
  12. package/dist/js/tokens.js +101 -96
  13. package/dist/json/component/button.json +1447 -0
  14. package/dist/json/component/icon.json +911 -0
  15. package/dist/json/component/text.json +455 -0
  16. package/dist/json/themes/dark.json +170 -170
  17. package/dist/json/themes/light.json +168 -168
  18. package/dist/json/tokens.json +782 -625
  19. package/dist/scss/component/button.scss +55 -0
  20. package/dist/scss/component/icon.scss +33 -0
  21. package/dist/scss/component/text.scss +15 -0
  22. package/dist/scss/themes/dark.scss +10 -10
  23. package/dist/scss/themes/light.scss +10 -10
  24. package/dist/scss/tokens.scss +101 -96
  25. package/dist/tokens-studio/tokens.json +412 -236
  26. package/package.json +1 -1
  27. package/src/figma/component/button.json +266 -0
  28. package/src/figma/component/icon.json +50 -110
  29. package/src/figma/component/manifest.json +3 -1
  30. package/src/figma/dark.json +2 -2
  31. package/src/figma/iconography.json +68 -68
  32. package/src/figma/light.json +2 -2
  33. package/src/figma/state.json +30 -2
  34. package/src/temp/component.json +307 -159
  35. package/src/temp/core.json +105 -77
  36. package/src/temp/dark.json +1 -1
  37. package/src/temp/light.json +1 -1
  38. package/src/tokens.json +412 -236
@@ -10,37 +10,37 @@
10
10
  "$type": "string"
11
11
  }
12
12
  },
13
- "name": {
13
+ "iconName": {
14
14
  "action": {
15
- "adicionar": {
15
+ "add": {
16
16
  "$type": "string",
17
17
  "$value": "plus"
18
18
  },
19
- "anexar": {
19
+ "attach": {
20
20
  "$type": "string",
21
21
  "$value": "paperclip"
22
22
  },
23
- "atualizar": {
23
+ "update": {
24
24
  "$type": "string",
25
25
  "$value": "sync"
26
26
  },
27
- "compartilhar": {
27
+ "share": {
28
28
  "$type": "string",
29
- "$value": "share-nodes"
29
+ "$value": "share-alt"
30
30
  },
31
- "confirmar": {
31
+ "confirm": {
32
32
  "$type": "string",
33
33
  "$value": "check"
34
34
  },
35
- "contraste": {
35
+ "contrast": {
36
36
  "$type": "string",
37
37
  "$value": "adjust"
38
38
  },
39
- "copiar": {
39
+ "copy": {
40
40
  "$type": "string",
41
41
  "$value": "copy"
42
42
  },
43
- "cortar": {
43
+ "cut": {
44
44
  "$type": "string",
45
45
  "$value": "cut"
46
46
  },
@@ -48,51 +48,51 @@
48
48
  "$type": "string",
49
49
  "$value": "download"
50
50
  },
51
- "editar": {
51
+ "edit": {
52
52
  "$type": "string",
53
53
  "$value": "edit"
54
54
  },
55
- "enviar": {
55
+ "send": {
56
56
  "$type": "string",
57
57
  "$value": "share"
58
58
  },
59
- "excluir": {
59
+ "delete": {
60
60
  "$type": "string",
61
61
  "$value": "trash-alt"
62
62
  },
63
- "exportar": {
63
+ "export": {
64
64
  "$type": "string",
65
65
  "$value": "share-square"
66
66
  },
67
- "fechar": {
67
+ "close": {
68
68
  "$type": "string",
69
69
  "$value": "times"
70
70
  },
71
- "filtrar": {
71
+ "filter": {
72
72
  "$type": "string",
73
73
  "$value": "filter"
74
74
  },
75
- "imprimir": {
75
+ "print": {
76
76
  "$type": "string",
77
77
  "$value": "print"
78
78
  },
79
- "imagem": {
79
+ "image": {
80
80
  "$type": "string",
81
81
  "$value": "image"
82
82
  },
83
- "limpar": {
83
+ "clean": {
84
84
  "$type": "string",
85
85
  "$value": "eraser"
86
86
  },
87
- "naovisualizar": {
87
+ "hide": {
88
88
  "$type": "string",
89
89
  "$value": "eye-slash"
90
90
  },
91
- "pesquisar": {
91
+ "search": {
92
92
  "$type": "string",
93
93
  "$value": "search"
94
94
  },
95
- "subtrair": {
95
+ "subtract": {
96
96
  "$type": "string",
97
97
  "$value": "minus"
98
98
  },
@@ -100,65 +100,65 @@
100
100
  "$type": "string",
101
101
  "$value": "upload"
102
102
  },
103
- "visualizar": {
103
+ "view": {
104
104
  "$type": "string",
105
105
  "$value": "eye"
106
106
  }
107
107
  },
108
108
  "navigation": {
109
- "avancar": {
109
+ "next": {
110
110
  "$type": "string",
111
- "$value": "circle-right"
111
+ "$value": "arrow-alt-circle-right"
112
112
  },
113
- "collapsebaixo": {
113
+ "collapsedown": {
114
114
  "$type": "string",
115
115
  "$value": "chevron-down"
116
116
  },
117
- "collapsecima": {
117
+ "collapseup": {
118
118
  "$type": "string",
119
119
  "$value": "chevron-up"
120
120
  },
121
- "collapsedireita": {
121
+ "collapseright": {
122
122
  "$type": "string",
123
123
  "$value": "chevron-right"
124
124
  },
125
- "collapseesquerda": {
125
+ "collapseleft": {
126
126
  "$type": "string",
127
127
  "$value": "chevron-left"
128
128
  },
129
- "configurar": {
129
+ "setting": {
130
130
  "$type": "string",
131
131
  "$value": "sliders-h"
132
132
  },
133
- "data": {
133
+ "date": {
134
134
  "$type": "string",
135
135
  "$value": "calendar-alt"
136
136
  },
137
- "diretorio": {
137
+ "folder": {
138
138
  "$type": "string",
139
139
  "$value": "folder"
140
140
  },
141
- "dropdownexibir": {
141
+ "dropdownopen": {
142
142
  "$type": "string",
143
143
  "$value": "caret-down"
144
144
  },
145
- "dropdownexibirh": {
145
+ "dropdownopenh": {
146
146
  "$type": "string",
147
147
  "$value": "caret-right"
148
148
  },
149
- "dropdownfechar": {
149
+ "dropdownclose": {
150
150
  "$type": "string",
151
151
  "$value": "caret-up"
152
152
  },
153
- "dropdownfecharh": {
153
+ "dropdowncloseh": {
154
154
  "$type": "string",
155
155
  "$value": "caret-left"
156
156
  },
157
- "hiperlinkexterno": {
157
+ "externallink": {
158
158
  "$type": "string",
159
- "$value": "up-right-from-square"
159
+ "$value": "external-link-alt"
160
160
  },
161
- "inicial": {
161
+ "home": {
162
162
  "$type": "string",
163
163
  "$value": "home"
164
164
  },
@@ -166,69 +166,69 @@
166
166
  "$type": "string",
167
167
  "$value": "bars"
168
168
  },
169
- "opcoes": {
169
+ "options": {
170
170
  "$type": "string",
171
171
  "$value": "ellipsis-v"
172
172
  },
173
- "usuario": {
173
+ "user": {
174
174
  "$type": "string",
175
175
  "$value": "user"
176
176
  },
177
- "voltar": {
177
+ "back": {
178
178
  "$type": "string",
179
- "$value": "circle-left"
179
+ "$value": "arrow-alt-circle-left"
180
180
  }
181
181
  },
182
182
  "feedback": {
183
- "ajuda": {
183
+ "help": {
184
184
  "$type": "string",
185
185
  "$value": "question-circle"
186
186
  },
187
- "alerta": {
187
+ "alert": {
188
188
  "$type": "string",
189
189
  "$value": "exclamation-triangle"
190
190
  },
191
- "arrastavel": {
191
+ "drag": {
192
192
  "$type": "string",
193
193
  "$value": "grip-vertical"
194
194
  },
195
- "audioativado": {
195
+ "volumeon": {
196
196
  "$type": "string",
197
197
  "$value": "volume-up"
198
198
  },
199
- "audiodesativado": {
199
+ "volumeoff": {
200
200
  "$type": "string",
201
201
  "$value": "volume-mute"
202
202
  },
203
- "bloquear": {
203
+ "lock": {
204
204
  "$type": "string",
205
205
  "$value": "lock"
206
206
  },
207
- "densidadealta": {
207
+ "highdensity": {
208
208
  "$type": "string",
209
- "$value": "table-cells"
209
+ "$value": "th"
210
210
  },
211
- "densidadebaixa": {
211
+ "lowdensity": {
212
212
  "$type": "string",
213
- "$value": "table-cells-large"
213
+ "$value": "th-large"
214
214
  },
215
- "desbloquear": {
215
+ "unlock": {
216
216
  "$type": "string",
217
217
  "$value": "unlock"
218
218
  },
219
- "diretorioaberto": {
219
+ "folderopen": {
220
220
  "$type": "string",
221
221
  "$value": "folder-open"
222
222
  },
223
- "erro": {
223
+ "error": {
224
224
  "$type": "string",
225
225
  "$value": "times-circle"
226
226
  },
227
- "horario": {
227
+ "time": {
228
228
  "$type": "string",
229
229
  "$value": "clock"
230
230
  },
231
- "informativo": {
231
+ "info": {
232
232
  "$type": "string",
233
233
  "$value": "info-circle"
234
234
  },
@@ -236,39 +236,39 @@
236
236
  "$type": "string",
237
237
  "$value": "sign-language"
238
238
  },
239
- "mensagem": {
239
+ "message": {
240
240
  "$type": "string",
241
241
  "$value": "envelope"
242
242
  },
243
- "mensagemlida": {
243
+ "messageread": {
244
244
  "$type": "string",
245
245
  "$value": "envelope-open"
246
246
  },
247
- "notificacoes": {
247
+ "notification": {
248
248
  "$type": "string",
249
249
  "$value": "bell"
250
250
  },
251
- "notificacoesdesligadas": {
251
+ "notificationoff": {
252
252
  "$type": "string",
253
253
  "$value": "bell-slash"
254
254
  },
255
- "ordemcrescente": {
255
+ "sortup": {
256
256
  "$type": "string",
257
257
  "$value": "sort-up"
258
258
  },
259
- "ordemdecrescente": {
259
+ "sortdown": {
260
260
  "$type": "string",
261
261
  "$value": "sort-down"
262
262
  },
263
- "ordempadrao": {
263
+ "sort": {
264
264
  "$type": "string",
265
265
  "$value": "sort"
266
266
  },
267
- "selecionado": {
267
+ "selected": {
268
268
  "$type": "string",
269
269
  "$value": "check"
270
270
  },
271
- "sucesso": {
271
+ "success": {
272
272
  "$type": "string",
273
273
  "$value": "check-circle"
274
274
  }
@@ -304,7 +304,7 @@
304
304
  },
305
305
  "fontawesome": {
306
306
  "$type": "string",
307
- "$value": "font-awesome"
307
+ "$value": "font-awesome-flag"
308
308
  },
309
309
  "github": {
310
310
  "$type": "string",
@@ -226,7 +226,7 @@
226
226
  }
227
227
  }
228
228
  },
229
- "grabbing": {
229
+ "dragging": {
230
230
  "color": {
231
231
  "main": {
232
232
  "$value": "{state.interactive.color.main}",
@@ -349,4 +349,4 @@
349
349
  }
350
350
  }
351
351
  }
352
- }
352
+ }
@@ -180,9 +180,13 @@
180
180
  "$value": "{motion.duration.fast.02}",
181
181
  "$type": "duration"
182
182
  }
183
+ },
184
+ "iconName": {
185
+ "$type": "string",
186
+ "$value": "{iconography.iconName.feedback.selected}"
183
187
  }
184
188
  },
185
- "grabbing": {
189
+ "dragging": {
186
190
  "borderWidth": {
187
191
  "$value": "{surface.borderWidth.medium}",
188
192
  "$type": "number"
@@ -196,6 +200,12 @@
196
200
  "$type": "number"
197
201
  }
198
202
  },
203
+ "drag": {
204
+ "iconName": {
205
+ "$type": "string",
206
+ "$value": "{iconography.iconName.feedback.drag}"
207
+ }
208
+ },
199
209
  "dropzone": {
200
210
  "borderWidth": {
201
211
  "$value": "{surface.borderWidth.small}",
@@ -227,6 +237,24 @@
227
237
  "$value": "{motion.duration.fast.04}",
228
238
  "$type": "duration"
229
239
  }
240
+ },
241
+ "error": {
242
+ "iconName": {
243
+ "$type": "string",
244
+ "$value": "{iconography.iconName.feedback.error}"
245
+ }
246
+ },
247
+ "alert": {
248
+ "iconName": {
249
+ "$type": "string",
250
+ "$value": "{iconography.iconName.feedback.alert}"
251
+ }
252
+ },
253
+ "success": {
254
+ "iconName": {
255
+ "$type": "string",
256
+ "$value": "{iconography.iconName.feedback.success}"
257
+ }
230
258
  }
231
259
  }
232
- }
260
+ }