@govbr-ds/tokens 4.0.0-next.4 → 4.0.0-next.6

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.
@@ -1,12 +1,335 @@
1
1
  {
2
2
  "theme": {
3
3
  "shadow": {
4
+ "opacity": {
5
+ "value": "{elevation.opacity.dim}",
6
+ "type": "opacity",
7
+ "failedToResolve": true
8
+ },
4
9
  "color": {
5
- "value": "rgba({elevation.color},{elevation.opacity.dim})",
10
+ "value": "rgba({elevation.color},{theme.shadow.opacity})",
6
11
  "type": "color",
7
12
  "failedToResolve": true
8
13
  }
9
14
  },
15
+ "borderStyle": {
16
+ "focus": {
17
+ "high": {
18
+ "main": {
19
+ "value": {
20
+ "color": "{theme.focus.main}",
21
+ "width": "{state.focus.borderWidth.high}",
22
+ "style": "dashed"
23
+ },
24
+ "type": "border",
25
+ "failedToResolve": true
26
+ },
27
+ "contrast": {
28
+ "value": {
29
+ "color": "{theme.focus.contrast}",
30
+ "width": "{state.focus.borderWidth.high}",
31
+ "style": "dashed"
32
+ },
33
+ "type": "border",
34
+ "failedToResolve": true
35
+ }
36
+ },
37
+ "low": {
38
+ "main": {
39
+ "value": {
40
+ "color": "{theme.focus.main}",
41
+ "width": "{state.focus.borderWidth.low}",
42
+ "style": "solid"
43
+ },
44
+ "type": "border",
45
+ "failedToResolve": true
46
+ },
47
+ "contrast": {
48
+ "value": {
49
+ "color": "{theme.focus.contrast}",
50
+ "width": "{state.focus.borderWidth.low}",
51
+ "style": "solid"
52
+ },
53
+ "type": "border",
54
+ "failedToResolve": true
55
+ }
56
+ }
57
+ },
58
+ "active": {
59
+ "main": {
60
+ "value": {
61
+ "color": "{theme.active.main}",
62
+ "width": "{state.active.borderWidth}",
63
+ "style": "dashed"
64
+ },
65
+ "type": "border",
66
+ "failedToResolve": true
67
+ },
68
+ "contrast": {
69
+ "value": {
70
+ "color": "{theme.active.contrast}",
71
+ "width": "{state.active.borderWidth}",
72
+ "style": "dashed"
73
+ },
74
+ "type": "border",
75
+ "failedToResolve": true
76
+ }
77
+ },
78
+ "grabbing": {
79
+ "main": {
80
+ "value": {
81
+ "color": "{theme.grabbing.main}",
82
+ "width": "{state.grabbing.borderWidth}",
83
+ "style": "solid"
84
+ },
85
+ "type": "border",
86
+ "failedToResolve": true
87
+ },
88
+ "contrast": {
89
+ "value": {
90
+ "color": "{theme.grabbing.contrast}",
91
+ "width": "{state.grabbing.borderWidth}",
92
+ "style": "solid"
93
+ },
94
+ "type": "border",
95
+ "failedToResolve": true
96
+ }
97
+ },
98
+ "dropzone": {
99
+ "main": {
100
+ "value": {
101
+ "color": "{theme.dropzone.main}",
102
+ "width": "{state.dropzone.borderWidth}",
103
+ "style": "dashed"
104
+ },
105
+ "type": "border",
106
+ "failedToResolve": true
107
+ },
108
+ "contrast": {
109
+ "value": {
110
+ "color": "{theme.dropzone.contrast}",
111
+ "width": "{state.dropzone.borderWidth}",
112
+ "style": "dashed"
113
+ },
114
+ "type": "border",
115
+ "failedToResolve": true
116
+ }
117
+ }
118
+ },
119
+ "shadowStyle": {
120
+ "level": {
121
+ "0": {
122
+ "value": [
123
+ {
124
+ "x": "{elevation.level.0.offsetX.cast}",
125
+ "y": "{elevation.level.0.offsetY.cast}",
126
+ "blur": "{elevation.level.0.blur.cast}",
127
+ "color": "{theme.shadow.color}",
128
+ "spread": 0,
129
+ "type": "dropShadow"
130
+ },
131
+ {
132
+ "x": "{elevation.level.0.offsetX.occlusion}",
133
+ "y": "{elevation.level.0.offsetY.occlusion}",
134
+ "blur": "{elevation.level.0.blur.occlusion}",
135
+ "color": "{theme.shadow.color}",
136
+ "spread": 0,
137
+ "type": "dropShadow"
138
+ }
139
+ ],
140
+ "type": "boxShadow",
141
+ "failedToResolve": true
142
+ },
143
+ "1": {
144
+ "value": [
145
+ {
146
+ "x": "{elevation.level.1.offsetX.cast}",
147
+ "y": "{elevation.level.1.offsetY.cast}",
148
+ "blur": "{elevation.level.1.blur.cast}",
149
+ "color": "{theme.shadow.color}",
150
+ "spread": 0,
151
+ "type": "dropShadow"
152
+ },
153
+ {
154
+ "x": "{elevation.level.1.offsetX.occlusion}",
155
+ "y": "{elevation.level.1.offsetY.occlusion}",
156
+ "blur": "{elevation.level.1.blur.occlusion}",
157
+ "color": "{theme.shadow.color}",
158
+ "spread": 0,
159
+ "type": "dropShadow"
160
+ }
161
+ ],
162
+ "type": "boxShadow",
163
+ "failedToResolve": true
164
+ },
165
+ "2": {
166
+ "value": [
167
+ {
168
+ "x": "{elevation.offset.none}",
169
+ "y": "{elevation.offset.02}",
170
+ "blur": "{elevation.blur.02}",
171
+ "color": "{theme.shadow.color}",
172
+ "spread": 0,
173
+ "description": "Sombra projetada",
174
+ "type": "dropShadow"
175
+ },
176
+ {
177
+ "x": "{elevation.offset.none}",
178
+ "y": "{elevation.offset.none}",
179
+ "blur": "{elevation.blur.03}",
180
+ "color": "{theme.shadow.color}",
181
+ "spread": 0,
182
+ "description": "Sombra oclusão",
183
+ "type": "dropShadow"
184
+ }
185
+ ],
186
+ "type": "boxShadow",
187
+ "failedToResolve": true
188
+ },
189
+ "3": {
190
+ "value": [
191
+ {
192
+ "x": "{elevation.level.3.offsetX.cast}",
193
+ "y": "{elevation.level.3.offsetY.cast}",
194
+ "blur": "{elevation.level.3.blur.cast}",
195
+ "color": "{theme.shadow.color}",
196
+ "spread": 0,
197
+ "type": "dropShadow"
198
+ },
199
+ {
200
+ "x": "{elevation.level.3.offsetX.occlusion}",
201
+ "y": "{elevation.level.3.offsetY.occlusion}",
202
+ "blur": "{elevation.level.3.blur.occlusion}",
203
+ "color": "{theme.shadow.color}",
204
+ "spread": 0,
205
+ "type": "dropShadow"
206
+ }
207
+ ],
208
+ "type": "boxShadow",
209
+ "failedToResolve": true
210
+ },
211
+ "4": {
212
+ "value": [
213
+ {
214
+ "x": "{elevation.level.4.offsetX.cast}",
215
+ "y": "{elevation.level.4.offsetY.cast}",
216
+ "blur": "{elevation.level.4.blur.cast}",
217
+ "color": "{theme.shadow.color}",
218
+ "spread": 0,
219
+ "type": "dropShadow"
220
+ },
221
+ {
222
+ "x": "{elevation.level.4.offsetX.occlusion}",
223
+ "y": "{elevation.level.4.offsetY.occlusion}",
224
+ "blur": "{elevation.level.4.blur.occlusion}",
225
+ "color": "{theme.shadow.color}",
226
+ "spread": 0,
227
+ "type": "dropShadow"
228
+ }
229
+ ],
230
+ "type": "boxShadow",
231
+ "failedToResolve": true
232
+ }
233
+ },
234
+ "disabled": {
235
+ "value": [
236
+ {
237
+ "x": "{elevation.level.0.offsetX.cast}",
238
+ "y": "{elevation.level.0.offsetY.cast}",
239
+ "blur": "{elevation.level.0.blur.cast}",
240
+ "color": "rgba({elevation.color},{elevation.opacity.dim})",
241
+ "spread": 0,
242
+ "type": "dropShadow"
243
+ },
244
+ {
245
+ "x": "{elevation.level.0.offsetX.occlusion}",
246
+ "y": "{elevation.level.0.offsetY.occlusion}",
247
+ "blur": "{elevation.level.0.blur.occlusion}",
248
+ "color": "rgba({elevation.color},{elevation.opacity.dim})",
249
+ "spread": 0,
250
+ "type": "dropShadow"
251
+ }
252
+ ],
253
+ "type": "boxShadow",
254
+ "failedToResolve": true
255
+ },
256
+ "hover": {
257
+ "highlight": {
258
+ "value": [
259
+ {
260
+ "x": "{elevation.level.1.offsetX.occlusion}",
261
+ "y": "{elevation.level.1.offsetY.occlusion}",
262
+ "blur": "{elevation.level.1.blur.occlusion}",
263
+ "color": "{theme.shadow.color}",
264
+ "spread": 0,
265
+ "type": "dropShadow"
266
+ }
267
+ ],
268
+ "type": "boxShadow",
269
+ "failedToResolve": true
270
+ }
271
+ },
272
+ "pressed": {
273
+ "value": [
274
+ {
275
+ "x": "{state.pressed.shadow.offset}",
276
+ "y": "{state.pressed.shadow.offset}",
277
+ "blur": "{state.pressed.shadow.blur}",
278
+ "color": "rgba({elevation.color},{state.pressed.shadow.opacity})",
279
+ "spread": 0,
280
+ "type": "innerShadow"
281
+ }
282
+ ],
283
+ "type": "boxShadow",
284
+ "failedToResolve": true
285
+ },
286
+ "grabbing": {
287
+ "main": {
288
+ "value": [
289
+ {
290
+ "x": "{elevation.level.4.offsetX.cast}",
291
+ "y": "{elevation.level.4.offsetY.cast}",
292
+ "blur": "{elevation.level.4.blur.cast}",
293
+ "color": "rgba({theme.grabbing.main},{theme.shadow.opacity})",
294
+ "spread": 0,
295
+ "type": "dropShadow"
296
+ },
297
+ {
298
+ "x": "{elevation.level.4.offsetX.occlusion}",
299
+ "y": "{elevation.level.4.offsetY.occlusion}",
300
+ "blur": "{elevation.level.4.blur.occlusion}",
301
+ "color": "rgba({theme.grabbing.main},{theme.shadow.opacity})",
302
+ "spread": 0,
303
+ "type": "dropShadow"
304
+ }
305
+ ],
306
+ "type": "boxShadow",
307
+ "failedToResolve": true
308
+ },
309
+ "contrast": {
310
+ "value": [
311
+ {
312
+ "x": "{elevation.level.4.offsetX.cast}",
313
+ "y": "{elevation.level.4.offsetY.cast}",
314
+ "blur": "{elevation.level.4.blur.cast}",
315
+ "color": "rgba({theme.grabbing.contrast},{theme.shadow.opacity})",
316
+ "spread": 0,
317
+ "type": "dropShadow"
318
+ },
319
+ {
320
+ "x": "{elevation.level.4.offsetX.occlusion}",
321
+ "y": "{elevation.level.4.offsetY.occlusion}",
322
+ "blur": "{elevation.level.4.blur.occlusion}",
323
+ "color": "rgba({theme.grabbing.contrast},{theme.shadow.opacity})",
324
+ "spread": 0,
325
+ "type": "dropShadow"
326
+ }
327
+ ],
328
+ "type": "boxShadow",
329
+ "failedToResolve": true
330
+ }
331
+ }
332
+ },
10
333
  "text": {
11
334
  "main": {
12
335
  "base": {
@@ -57,32 +380,6 @@
57
380
  "type": "color",
58
381
  "failedToResolve": true
59
382
  }
60
- },
61
- "text": {
62
- "main": {
63
- "base": {
64
- "value": "{theme.text.main.base}",
65
- "type": "color",
66
- "failedToResolve": true
67
- },
68
- "alternative": {
69
- "value": "{theme.text.main.base}",
70
- "type": "color",
71
- "failedToResolve": true
72
- }
73
- },
74
- "contrast": {
75
- "base": {
76
- "value": "{theme.text.main.base}",
77
- "type": "color",
78
- "failedToResolve": true
79
- },
80
- "alternative": {
81
- "value": "{theme.text.main.base}",
82
- "type": "color",
83
- "failedToResolve": true
84
- }
85
- }
86
383
  }
87
384
  },
88
385
  "border": {
@@ -145,42 +442,6 @@
145
442
  }
146
443
  }
147
444
  },
148
- "success": {
149
- "main": {
150
- "value": "{color.greenVivid.50}",
151
- "type": "color",
152
- "failedToResolve": true
153
- },
154
- "text": {
155
- "value": "{color.pure.0}",
156
- "type": "color",
157
- "failedToResolve": true
158
- }
159
- },
160
- "alert": {
161
- "main": {
162
- "value": "{color.yellowVivid.20}",
163
- "type": "color",
164
- "failedToResolve": true
165
- },
166
- "text": {
167
- "value": "{color.pure.100}",
168
- "type": "color",
169
- "failedToResolve": true
170
- }
171
- },
172
- "error": {
173
- "main": {
174
- "value": "{color.redVivid.50}",
175
- "type": "color",
176
- "failedToResolve": true
177
- },
178
- "text": {
179
- "value": "{color.pure.0}",
180
- "type": "color",
181
- "failedToResolve": true
182
- }
183
- },
184
445
  "disabled": {
185
446
  "main": {
186
447
  "value": "{color.grayCool.30}",
@@ -195,36 +456,60 @@
195
456
  },
196
457
  "visited": {
197
458
  "main": {
198
- "value": "{color.blueWarm.70}",
459
+ "value": "{color.blueWarm.30}",
199
460
  "type": "color",
200
461
  "failedToResolve": true
201
462
  },
202
463
  "contrast": {
203
- "value": "{color.blueWarm.20}",
464
+ "value": "{theme.visited.main}",
204
465
  "type": "color",
205
466
  "failedToResolve": true
206
467
  }
207
468
  },
208
469
  "hover": {
209
470
  "bright": {
210
- "value": "rgba({color.blueWarmVivid.80}, {state.hover.bright.opacity})",
471
+ "value": "rgba({color.blueWarmVivid.10}, {state.hover.opacity.bright})",
211
472
  "type": "color",
212
473
  "failedToResolve": true
213
474
  },
214
475
  "dim": {
215
- "value": "rgba({color.blueWarmVivid.10}, {state.hover.dim.opacity})",
476
+ "value": "rgba({color.blueWarmVivid.80}, {state.hover.opacity.dim})",
216
477
  "type": "color",
217
478
  "failedToResolve": true
479
+ },
480
+ "main": {
481
+ "text": {
482
+ "value": "{theme.hover.dim}",
483
+ "type": "color",
484
+ "failedToResolve": true
485
+ },
486
+ "surface": {
487
+ "value": "{theme.hover.bright}",
488
+ "type": "color",
489
+ "failedToResolve": true
490
+ }
491
+ },
492
+ "contrast": {
493
+ "text": {
494
+ "value": "{theme.hover.main.text}",
495
+ "type": "color",
496
+ "failedToResolve": true
497
+ },
498
+ "surface": {
499
+ "value": "{theme.hover.main.surface}",
500
+ "type": "color",
501
+ "failedToResolve": true
502
+ }
218
503
  }
219
504
  },
220
505
  "focus": {
221
506
  "main": {
222
- "value": "{color.orangeVivid.40}",
507
+ "value": "{color.orangeVivid.30}",
223
508
  "type": "color",
224
509
  "failedToResolve": true
225
510
  },
226
511
  "contrast": {
227
- "value": "{color.orangeVivid.30}",
512
+ "value": "{theme.focus.main}",
228
513
  "type": "color",
229
514
  "failedToResolve": true
230
515
  }
@@ -255,7 +540,7 @@
255
540
  },
256
541
  "selected": {
257
542
  "main": {
258
- "value": "{color.blueWarmVivid.50}",
543
+ "value": "{color.blueWarmVivid.20}",
259
544
  "type": "color",
260
545
  "failedToResolve": true
261
546
  },
@@ -266,7 +551,7 @@
266
551
  },
267
552
  "text": {
268
553
  "main": {
269
- "value": "{color.pure.0}",
554
+ "value": "{color.pure.100}",
270
555
  "type": "color",
271
556
  "failedToResolve": true
272
557
  },
@@ -277,6 +562,42 @@
277
562
  }
278
563
  }
279
564
  },
565
+ "grabbing": {
566
+ "main": {
567
+ "value": "{theme.interactive.main}",
568
+ "type": "color",
569
+ "failedToResolve": true
570
+ },
571
+ "contrast": {
572
+ "value": "{theme.interactive.contrast}",
573
+ "type": "color",
574
+ "failedToResolve": true
575
+ }
576
+ },
577
+ "dropzone": {
578
+ "main": {
579
+ "value": "{theme.interactive.main}",
580
+ "type": "color",
581
+ "failedToResolve": true
582
+ },
583
+ "contrast": {
584
+ "value": "{theme.interactive.contrast}",
585
+ "type": "color",
586
+ "failedToResolve": true
587
+ }
588
+ },
589
+ "dropzoneActive": {
590
+ "main": {
591
+ "value": "{theme.interactive.main}",
592
+ "type": "color",
593
+ "failedToResolve": true
594
+ },
595
+ "contrast": {
596
+ "value": "{theme.interactive.contrast}",
597
+ "type": "color",
598
+ "failedToResolve": true
599
+ }
600
+ },
280
601
  "on": {
281
602
  "main": {
282
603
  "value": "{color.blueWarmVivid.60}",
@@ -324,6 +645,48 @@
324
645
  "failedToResolve": true
325
646
  }
326
647
  }
648
+ },
649
+ "success": {
650
+ "main": {
651
+ "value": "{color.greenVivid.50}",
652
+ "type": "color",
653
+ "failedToResolve": true
654
+ },
655
+ "text": {
656
+ "main": {
657
+ "value": "{color.pure.0}",
658
+ "type": "color",
659
+ "failedToResolve": true
660
+ }
661
+ }
662
+ },
663
+ "alert": {
664
+ "main": {
665
+ "value": "{color.yellowVivid.20}",
666
+ "type": "color",
667
+ "failedToResolve": true
668
+ },
669
+ "text": {
670
+ "main": {
671
+ "value": "{color.pure.100}",
672
+ "type": "color",
673
+ "failedToResolve": true
674
+ }
675
+ }
676
+ },
677
+ "error": {
678
+ "main": {
679
+ "value": "{color.redVivid.50}",
680
+ "type": "color",
681
+ "failedToResolve": true
682
+ },
683
+ "text": {
684
+ "main": {
685
+ "value": "{color.pure.0}",
686
+ "type": "color",
687
+ "failedToResolve": true
688
+ }
689
+ }
327
690
  }
328
691
  }
329
692
  }