@govbr-ds/tokens 4.0.0-next.11 → 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.
- package/dist/css/component/button.css +57 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +10 -10
- package/dist/css/themes/light.css +10 -10
- package/dist/css/tokens.css +111 -25
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +10 -10
- package/dist/js/themes/light.js +10 -10
- package/dist/js/tokens.js +101 -15
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +170 -170
- package/dist/json/themes/light.json +168 -168
- package/dist/json/tokens.json +3055 -215
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +10 -10
- package/dist/scss/themes/light.scss +10 -10
- package/dist/scss/tokens.scss +111 -25
- package/dist/tokens-studio/tokens.json +853 -79
- package/package.json +1 -1
- package/src/figma/component/base14.json +64 -0
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/icon.json +142 -0
- package/src/figma/component/manifest.json +12 -2
- package/src/figma/component/text.json +22 -12
- package/src/figma/dark.json +2 -2
- package/src/figma/iconography.json +335 -1
- package/src/figma/light.json +2 -2
- package/src/figma/manifest.json +19 -4
- package/src/figma/state.json +30 -2
- package/src/temp/component.json +479 -67
- package/src/temp/core.json +371 -9
- package/src/temp/dark.json +1 -1
- package/src/temp/light.json +1 -1
- package/src/tokens.json +853 -79
|
@@ -9,6 +9,340 @@
|
|
|
9
9
|
"$value": "Font Awesome 6 Brands",
|
|
10
10
|
"$type": "string"
|
|
11
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
|
+
"back": {
|
|
178
|
+
"$type": "string",
|
|
179
|
+
"$value": "arrow-alt-circle-left"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"feedback": {
|
|
183
|
+
"help": {
|
|
184
|
+
"$type": "string",
|
|
185
|
+
"$value": "question-circle"
|
|
186
|
+
},
|
|
187
|
+
"alert": {
|
|
188
|
+
"$type": "string",
|
|
189
|
+
"$value": "exclamation-triangle"
|
|
190
|
+
},
|
|
191
|
+
"drag": {
|
|
192
|
+
"$type": "string",
|
|
193
|
+
"$value": "grip-vertical"
|
|
194
|
+
},
|
|
195
|
+
"volumeon": {
|
|
196
|
+
"$type": "string",
|
|
197
|
+
"$value": "volume-up"
|
|
198
|
+
},
|
|
199
|
+
"volumeoff": {
|
|
200
|
+
"$type": "string",
|
|
201
|
+
"$value": "volume-mute"
|
|
202
|
+
},
|
|
203
|
+
"lock": {
|
|
204
|
+
"$type": "string",
|
|
205
|
+
"$value": "lock"
|
|
206
|
+
},
|
|
207
|
+
"highdensity": {
|
|
208
|
+
"$type": "string",
|
|
209
|
+
"$value": "th"
|
|
210
|
+
},
|
|
211
|
+
"lowdensity": {
|
|
212
|
+
"$type": "string",
|
|
213
|
+
"$value": "th-large"
|
|
214
|
+
},
|
|
215
|
+
"unlock": {
|
|
216
|
+
"$type": "string",
|
|
217
|
+
"$value": "unlock"
|
|
218
|
+
},
|
|
219
|
+
"folderopen": {
|
|
220
|
+
"$type": "string",
|
|
221
|
+
"$value": "folder-open"
|
|
222
|
+
},
|
|
223
|
+
"error": {
|
|
224
|
+
"$type": "string",
|
|
225
|
+
"$value": "times-circle"
|
|
226
|
+
},
|
|
227
|
+
"time": {
|
|
228
|
+
"$type": "string",
|
|
229
|
+
"$value": "clock"
|
|
230
|
+
},
|
|
231
|
+
"info": {
|
|
232
|
+
"$type": "string",
|
|
233
|
+
"$value": "info-circle"
|
|
234
|
+
},
|
|
235
|
+
"libras": {
|
|
236
|
+
"$type": "string",
|
|
237
|
+
"$value": "sign-language"
|
|
238
|
+
},
|
|
239
|
+
"message": {
|
|
240
|
+
"$type": "string",
|
|
241
|
+
"$value": "envelope"
|
|
242
|
+
},
|
|
243
|
+
"messageread": {
|
|
244
|
+
"$type": "string",
|
|
245
|
+
"$value": "envelope-open"
|
|
246
|
+
},
|
|
247
|
+
"notification": {
|
|
248
|
+
"$type": "string",
|
|
249
|
+
"$value": "bell"
|
|
250
|
+
},
|
|
251
|
+
"notificationoff": {
|
|
252
|
+
"$type": "string",
|
|
253
|
+
"$value": "bell-slash"
|
|
254
|
+
},
|
|
255
|
+
"sortup": {
|
|
256
|
+
"$type": "string",
|
|
257
|
+
"$value": "sort-up"
|
|
258
|
+
},
|
|
259
|
+
"sortdown": {
|
|
260
|
+
"$type": "string",
|
|
261
|
+
"$value": "sort-down"
|
|
262
|
+
},
|
|
263
|
+
"sort": {
|
|
264
|
+
"$type": "string",
|
|
265
|
+
"$value": "sort"
|
|
266
|
+
},
|
|
267
|
+
"selected": {
|
|
268
|
+
"$type": "string",
|
|
269
|
+
"$value": "check"
|
|
270
|
+
},
|
|
271
|
+
"success": {
|
|
272
|
+
"$type": "string",
|
|
273
|
+
"$value": "check-circle"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"brand": {
|
|
277
|
+
"angular": {
|
|
278
|
+
"$type": "string",
|
|
279
|
+
"$value": "angular"
|
|
280
|
+
},
|
|
281
|
+
"codepen": {
|
|
282
|
+
"$type": "string",
|
|
283
|
+
"$value": "codepen"
|
|
284
|
+
},
|
|
285
|
+
"creativecommons": {
|
|
286
|
+
"$type": "string",
|
|
287
|
+
"$value": "creative-commons"
|
|
288
|
+
},
|
|
289
|
+
"css": {
|
|
290
|
+
"$type": "string",
|
|
291
|
+
"$value": "css3-alt"
|
|
292
|
+
},
|
|
293
|
+
"discord": {
|
|
294
|
+
"$type": "string",
|
|
295
|
+
"$value": "discord"
|
|
296
|
+
},
|
|
297
|
+
"facebook": {
|
|
298
|
+
"$type": "string",
|
|
299
|
+
"$value": "facebook"
|
|
300
|
+
},
|
|
301
|
+
"figma": {
|
|
302
|
+
"$type": "string",
|
|
303
|
+
"$value": "figma"
|
|
304
|
+
},
|
|
305
|
+
"fontawesome": {
|
|
306
|
+
"$type": "string",
|
|
307
|
+
"$value": "font-awesome-flag"
|
|
308
|
+
},
|
|
309
|
+
"github": {
|
|
310
|
+
"$type": "string",
|
|
311
|
+
"$value": "github"
|
|
312
|
+
},
|
|
313
|
+
"gitlab": {
|
|
314
|
+
"$type": "string",
|
|
315
|
+
"$value": "gitlab"
|
|
316
|
+
},
|
|
317
|
+
"html": {
|
|
318
|
+
"$type": "string",
|
|
319
|
+
"$value": "html5"
|
|
320
|
+
},
|
|
321
|
+
"javascript": {
|
|
322
|
+
"$type": "string",
|
|
323
|
+
"$value": "js"
|
|
324
|
+
},
|
|
325
|
+
"linkedin": {
|
|
326
|
+
"$type": "string",
|
|
327
|
+
"$value": "linkedin"
|
|
328
|
+
},
|
|
329
|
+
"npm": {
|
|
330
|
+
"$type": "string",
|
|
331
|
+
"$value": "npm"
|
|
332
|
+
},
|
|
333
|
+
"react": {
|
|
334
|
+
"$type": "string",
|
|
335
|
+
"$value": "react"
|
|
336
|
+
},
|
|
337
|
+
"vue": {
|
|
338
|
+
"$type": "string",
|
|
339
|
+
"$value": "vuejs"
|
|
340
|
+
},
|
|
341
|
+
"youtube": {
|
|
342
|
+
"$type": "string",
|
|
343
|
+
"$value": "youtube"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
12
346
|
}
|
|
13
347
|
}
|
|
14
|
-
}
|
|
348
|
+
}
|
package/src/figma/light.json
CHANGED
package/src/figma/manifest.json
CHANGED
|
@@ -14,14 +14,29 @@
|
|
|
14
14
|
"motion.json",
|
|
15
15
|
"state.json"
|
|
16
16
|
],
|
|
17
|
-
"Base14": [
|
|
17
|
+
"Base14": [
|
|
18
|
+
"color.json",
|
|
19
|
+
"spacing.json",
|
|
20
|
+
"typography.json",
|
|
21
|
+
"iconography.json",
|
|
22
|
+
"surface.json",
|
|
23
|
+
"grid.json",
|
|
24
|
+
"elevation.json",
|
|
25
|
+
"motion.json",
|
|
26
|
+
"state.json",
|
|
27
|
+
"base14.json"
|
|
28
|
+
]
|
|
18
29
|
}
|
|
19
30
|
},
|
|
20
31
|
"Themes": {
|
|
21
32
|
"modes": {
|
|
22
|
-
"Light": [
|
|
23
|
-
|
|
33
|
+
"Light": [
|
|
34
|
+
"light.json"
|
|
35
|
+
],
|
|
36
|
+
"Dark": [
|
|
37
|
+
"dark.json"
|
|
38
|
+
]
|
|
24
39
|
}
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
|
-
}
|
|
42
|
+
}
|
package/src/figma/state.json
CHANGED
|
@@ -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
|
-
"
|
|
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
|
+
}
|