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

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 (54) hide show
  1. package/README.md +82 -1
  2. package/dist/css/themes/dark.css +69 -80
  3. package/dist/css/themes/light.css +69 -80
  4. package/dist/css/tokens.css +303 -213
  5. package/dist/js/themes/dark.js +77 -80
  6. package/dist/js/themes/light.js +77 -80
  7. package/dist/js/tokens.js +257 -157
  8. package/dist/json/themes/dark.json +1338 -1538
  9. package/dist/json/themes/light.json +1338 -1538
  10. package/dist/json/tokens.json +8788 -5829
  11. package/dist/scss/themes/dark.scss +69 -80
  12. package/dist/scss/themes/light.scss +69 -80
  13. package/dist/scss/tokens.scss +303 -213
  14. package/dist/tokens-studio/tokens.json +5033 -0
  15. package/package.json +12 -8
  16. package/src/figma/{variables/base14.json → base14.json} +2 -6
  17. package/src/figma/{variables/color.json → color.json} +1 -1
  18. package/src/figma/component/base14.json +64 -0
  19. package/src/figma/component/icon.json +202 -0
  20. package/src/figma/component/manifest.json +18 -0
  21. package/src/figma/{variables/component → component}/text.json +21 -11
  22. package/src/figma/dark.json +352 -0
  23. package/src/figma/{variables/elevation.json → elevation.json} +29 -27
  24. package/src/figma/{variables/grid.json → grid.json} +6 -6
  25. package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
  26. package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
  27. package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
  28. package/src/figma/guideline/manifest.json +12 -0
  29. package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
  30. package/src/figma/iconography.json +348 -0
  31. package/src/figma/light.json +352 -0
  32. package/src/figma/{variables/manifest.json → manifest.json} +9 -0
  33. package/src/figma/{variables/motion.json → motion.json} +1 -1
  34. package/src/figma/pattern/form.json +16 -0
  35. package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
  36. package/src/figma/pattern/skeleton.json +52 -0
  37. package/src/figma/{variables/spacing.json → spacing.json} +1 -1
  38. package/src/figma/state.json +232 -0
  39. package/src/figma/{variables/surface.json → surface.json} +20 -24
  40. package/src/figma/{variables/typography.json → typography.json} +7 -19
  41. package/src/temp/component.json +406 -0
  42. package/src/temp/core.json +3851 -0
  43. package/src/temp/dark.json +352 -0
  44. package/src/temp/light.json +352 -0
  45. package/src/temp/pattern.json +70 -0
  46. package/src/tokens.json +5033 -0
  47. package/src/figma/tokens.json +0 -4465
  48. package/src/figma/variables/component/manifest.json +0 -12
  49. package/src/figma/variables/dark.json +0 -314
  50. package/src/figma/variables/guideline/manifest.json +0 -21
  51. package/src/figma/variables/iconography.json +0 -14
  52. package/src/figma/variables/light.json +0 -314
  53. package/src/figma/variables/pattern/skeleton.json +0 -52
  54. package/src/figma/variables/state.json +0 -238
@@ -1,52 +0,0 @@
1
- {
2
- "skeleton": {
3
- "color": {
4
- "background": {
5
- "$value": "{theme.surface.main.alternative}",
6
- "$type": "color"
7
- },
8
- "foreground": {
9
- "$value": "{theme.surface.main.base}",
10
- "$type": "color"
11
- }
12
- },
13
- "rounder": {
14
- "shape": {
15
- "$value": "{surface.rounder.01}",
16
- "$type": "number"
17
- },
18
- "text": {
19
- "$value": "{surface.rounder.full}",
20
- "$type": "number"
21
- }
22
- },
23
- "height": {
24
- "01": {
25
- "$value": "{typography.fontSize.up.08}",
26
- "$type": "dimension"
27
- },
28
- "02": {
29
- "$value": "{typography.fontSize.up.06}",
30
- "$type": "dimension"
31
- },
32
- "03": {
33
- "$value": "{typography.fontSize.up.04}",
34
- "$type": "dimension"
35
- },
36
- "04": {
37
- "$value": "{typography.fontSize.default}",
38
- "$type": "dimension"
39
- }
40
- },
41
- "motion": {
42
- "easing": {
43
- "$value": "{motion.easing.linear}",
44
- "$type": "string"
45
- },
46
- "duration": {
47
- "$value": "{motion.duration.slow.04}",
48
- "$type": "number"
49
- }
50
- }
51
- }
52
- }
@@ -1,238 +0,0 @@
1
- {
2
- "state": {
3
- "disabled": {
4
- "opacity": {
5
- "$value": "{surface.opacity.03}",
6
- "$type": "number"
7
- }
8
- },
9
- "hover": {
10
- "opacity": {
11
- "bright": {
12
- "$value": "{surface.opacity.05}",
13
- "$type": "number"
14
- },
15
- "dim": {
16
- "$value": "{surface.opacity.06}",
17
- "$type": "number"
18
- }
19
- },
20
- "highlight": {
21
- "size": {
22
- "$value": "5%",
23
- "$type": "dimension"
24
- },
25
- "motion": {
26
- "easing": {
27
- "$value": "{motion.easing.elasticOut}",
28
- "$type": "string"
29
- },
30
- "duration": {
31
- "$value": "{motion.duration.fast.04}",
32
- "$type": "duration"
33
- }
34
- }
35
- },
36
- "motion": {
37
- "in": {
38
- "easing": {
39
- "$value": "{motion.easing.easeIn}",
40
- "$type": "string"
41
- },
42
- "duration": {
43
- "$value": "{motion.duration.fast.04}",
44
- "$type": "duration"
45
- }
46
- },
47
- "out": {
48
- "easing": {
49
- "$value": "{motion.easing.easeIn}",
50
- "$type": "string"
51
- },
52
- "duration": {
53
- "$value": "{motion.duration.fast.02}",
54
- "$type": "duration"
55
- }
56
- }
57
- }
58
- },
59
- "pressed": {
60
- "shadow": {
61
- "offset": {
62
- "$value": "{elevation.offset.01}",
63
- "$type": "number"
64
- },
65
- "blur": {
66
- "$value": "{elevation.blur.03}",
67
- "$type": "dimension"
68
- },
69
- "opacity": {
70
- "$value": "{surface.opacity.05}",
71
- "$type": "number"
72
- }
73
- },
74
- "motion": {
75
- "in": {
76
- "easing": {
77
- "$value": "{motion.easing.easeInOut}",
78
- "$type": "string"
79
- },
80
- "duration": {
81
- "$value": "{motion.duration.fast.02}",
82
- "$type": "duration"
83
- }
84
- },
85
- "out": {
86
- "easing": {
87
- "$value": "{motion.easing.easeOut}",
88
- "$type": "string"
89
- },
90
- "duration": {
91
- "$value": "{motion.duration.fast.01}",
92
- "$type": "duration"
93
- }
94
- }
95
- }
96
- },
97
- "focus": {
98
- "spacing": {
99
- "$value": "{spacing.adjust.01}",
100
- "$type": "number"
101
- },
102
- "borderWidth": {
103
- "high": {
104
- "$value": "{surface.borderWidth.03}",
105
- "$type": "number"
106
- },
107
- "low": {
108
- "$value": "{surface.borderWidth.02}",
109
- "$type": "number"
110
- }
111
- },
112
- "motion": {
113
- "in": {
114
- "easing": {
115
- "$value": "{motion.easing.elasticOut}",
116
- "$type": "string"
117
- },
118
- "duration": {
119
- "$value": "{motion.duration.fast.04}",
120
- "$type": "duration"
121
- }
122
- },
123
- "out": {
124
- "easing": {
125
- "$value": "{motion.easing.easeOut}",
126
- "$type": "string"
127
- },
128
- "duration": {
129
- "$value": "{motion.duration.fast.02}",
130
- "$type": "duration"
131
- }
132
- }
133
- }
134
- },
135
- "active": {
136
- "borderWidth": {
137
- "$value": "{surface.borderWidth.04}",
138
- "$type": "number"
139
- },
140
- "motion": {
141
- "in": {
142
- "easing": {
143
- "$value": "{motion.easing.easeOut}",
144
- "$type": "string"
145
- },
146
- "duration": {
147
- "$value": "{motion.duration.fast.03}",
148
- "$type": "duration"
149
- }
150
- },
151
- "out": {
152
- "easing": {
153
- "$value": "{motion.easing.easeIn}",
154
- "$type": "string"
155
- },
156
- "duration": {
157
- "$value": "{motion.duration.fast.02}",
158
- "$type": "duration"
159
- }
160
- }
161
- }
162
- },
163
- "selected": {
164
- "motion": {
165
- "in": {
166
- "easing": {
167
- "$value": "{motion.easing.easeOut}",
168
- "$type": "string"
169
- },
170
- "duration": {
171
- "$value": "{motion.duration.fast.03}",
172
- "$type": "duration"
173
- }
174
- },
175
- "out": {
176
- "easing": {
177
- "$value": "{motion.easing.easeIn}",
178
- "$type": "string"
179
- },
180
- "duration": {
181
- "$value": "{motion.duration.fast.02}",
182
- "$type": "duration"
183
- }
184
- }
185
- }
186
- },
187
- "grabbing": {
188
- "borderWidth": {
189
- "$value": "{surface.borderWidth.02}",
190
- "$type": "number"
191
- },
192
- "rotation": {
193
- "$value": "5",
194
- "$type": "number"
195
- },
196
- "opacity": {
197
- "$value": "{surface.opacity.07}",
198
- "$type": "number"
199
- }
200
- },
201
- "dropzone": {
202
- "borderWidth": {
203
- "$value": "{surface.borderWidth.01}",
204
- "$type": "number"
205
- }
206
- },
207
- "dropzoneActive": {
208
- "opacity": {
209
- "$value": "{surface.opacity.03}",
210
- "$type": "number"
211
- }
212
- },
213
- "on": {
214
- "motion": {
215
- "easing": {
216
- "$value": "{motion.easing.bounceOut}",
217
- "$type": "string"
218
- },
219
- "duration": {
220
- "$value": "{motion.duration.fast.04}",
221
- "$type": "duration"
222
- }
223
- }
224
- },
225
- "off": {
226
- "motion": {
227
- "easing": {
228
- "$value": "{motion.easing.bounceOut}",
229
- "$type": "string"
230
- },
231
- "duration": {
232
- "$value": "{motion.duration.fast.04}",
233
- "$type": "duration"
234
- }
235
- }
236
- }
237
- }
238
- }