@govbr-ds/tokens 4.0.0-next.14 → 4.0.0-next.15

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,8 +1,31 @@
1
1
  {
2
2
  "message": {
3
- "neutral": {
4
- "color": {
5
- "surface": {
3
+ "color": {
4
+ "surface": {
5
+ "base": {
6
+ "$type": "color",
7
+ "$value": "#fcfcfc",
8
+ "filePath": "src/temp/component.json",
9
+ "isSource": true,
10
+ "original": {
11
+ "$type": "color",
12
+ "$value": "{color.surface.main.base}"
13
+ },
14
+ "name": "messageColorSurfaceBase",
15
+ "attributes": {
16
+ "category": "message",
17
+ "type": "color",
18
+ "item": "surface",
19
+ "subitem": "base"
20
+ },
21
+ "path": [
22
+ "message",
23
+ "color",
24
+ "surface",
25
+ "base"
26
+ ]
27
+ },
28
+ "alternative": {
6
29
  "$type": "color",
7
30
  "$value": "#f0f0f0",
8
31
  "filePath": "src/temp/component.json",
@@ -11,21 +34,23 @@
11
34
  "$type": "color",
12
35
  "$value": "{color.surface.main.alternative}"
13
36
  },
14
- "name": "messageNeutralColorSurface",
37
+ "name": "messageColorSurfaceAlternative",
15
38
  "attributes": {
16
39
  "category": "message",
17
- "type": "neutral",
18
- "item": "color",
19
- "subitem": "surface"
40
+ "type": "color",
41
+ "item": "surface",
42
+ "subitem": "alternative"
20
43
  },
21
44
  "path": [
22
45
  "message",
23
- "neutral",
24
46
  "color",
25
- "surface"
47
+ "surface",
48
+ "alternative"
26
49
  ]
27
- },
28
- "read": {
50
+ }
51
+ },
52
+ "read": {
53
+ "description": {
29
54
  "$type": "color",
30
55
  "$value": "#1b1b1b",
31
56
  "filePath": "src/temp/component.json",
@@ -34,22 +59,86 @@
34
59
  "$type": "color",
35
60
  "$value": "{color.read.main.base}"
36
61
  },
37
- "name": "messageNeutralColorRead",
62
+ "name": "messageColorReadDescription",
38
63
  "attributes": {
39
64
  "category": "message",
40
- "type": "neutral",
41
- "item": "color",
42
- "subitem": "read"
65
+ "type": "color",
66
+ "item": "read",
67
+ "subitem": "description"
43
68
  },
44
69
  "path": [
45
70
  "message",
46
- "neutral",
47
71
  "color",
48
- "read"
72
+ "read",
73
+ "description"
49
74
  ]
50
75
  }
51
76
  }
52
77
  },
78
+ "rounder": {
79
+ "global": {
80
+ "$type": "dimension",
81
+ "$value": "0",
82
+ "filePath": "src/temp/component.json",
83
+ "isSource": true,
84
+ "$extensions": {
85
+ "studio.tokens": {
86
+ "originalType": "borderRadius"
87
+ }
88
+ },
89
+ "original": {
90
+ "$type": "dimension",
91
+ "$value": "{surface.rounder.none}",
92
+ "$extensions": {
93
+ "studio.tokens": {
94
+ "originalType": "borderRadius"
95
+ }
96
+ }
97
+ },
98
+ "name": "messageRounderGlobal",
99
+ "attributes": {
100
+ "category": "message",
101
+ "type": "rounder",
102
+ "item": "global"
103
+ },
104
+ "path": [
105
+ "message",
106
+ "rounder",
107
+ "global"
108
+ ]
109
+ },
110
+ "contextual": {
111
+ "$type": "dimension",
112
+ "$value": "4px",
113
+ "filePath": "src/temp/component.json",
114
+ "isSource": true,
115
+ "$extensions": {
116
+ "studio.tokens": {
117
+ "originalType": "borderRadius"
118
+ }
119
+ },
120
+ "original": {
121
+ "$type": "dimension",
122
+ "$value": "{surface.rounder.small}",
123
+ "$extensions": {
124
+ "studio.tokens": {
125
+ "originalType": "borderRadius"
126
+ }
127
+ }
128
+ },
129
+ "name": "messageRounderContextual",
130
+ "attributes": {
131
+ "category": "message",
132
+ "type": "rounder",
133
+ "item": "contextual"
134
+ },
135
+ "path": [
136
+ "message",
137
+ "rounder",
138
+ "contextual"
139
+ ]
140
+ }
141
+ },
53
142
  "shadowStyle": {
54
143
  "global": {
55
144
  "$type": "shadow",
@@ -82,9 +171,9 @@
82
171
  "global"
83
172
  ]
84
173
  },
85
- "toast": {
174
+ "contextual": {
86
175
  "$type": "shadow",
87
- "$value": "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)",
176
+ "$value": "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)",
88
177
  "filePath": "src/temp/component.json",
89
178
  "isSource": true,
90
179
  "$extensions": {
@@ -94,267 +183,52 @@
94
183
  },
95
184
  "original": {
96
185
  "$type": "shadow",
97
- "$value": "{elevation.shadowStyle.level.4}",
186
+ "$value": "{elevation.shadowStyle.level.0}",
98
187
  "$extensions": {
99
188
  "studio.tokens": {
100
189
  "originalType": "boxShadow"
101
190
  }
102
191
  }
103
192
  },
104
- "name": "messageShadowStyleToast",
193
+ "name": "messageShadowStyleContextual",
105
194
  "attributes": {
106
195
  "category": "message",
107
196
  "type": "shadowStyle",
108
- "item": "toast"
197
+ "item": "contextual"
109
198
  },
110
199
  "path": [
111
200
  "message",
112
201
  "shadowStyle",
113
- "toast"
202
+ "contextual"
114
203
  ]
115
204
  }
116
205
  },
117
206
  "fontStyle": {
118
207
  "description": {
119
- "global": {
120
- "$type": "typography",
121
- "$value": "400 1rem/1.5 'Noto Sans'",
122
- "filePath": "src/temp/component.json",
123
- "isSource": true,
124
- "original": {
125
- "$type": "typography",
126
- "$value": {
127
- "fontFamily": "{typography.fontFamily.primary}",
128
- "fontWeight": "{typography.fontWeight.regular}",
129
- "fontSize": "{typography.fontSize.default}",
130
- "lineHeight": "{typography.lineHeight.medium}"
131
- }
132
- },
133
- "name": "messageFontStyleDescriptionGlobal",
134
- "attributes": {
135
- "category": "message",
136
- "type": "fontStyle",
137
- "item": "description",
138
- "subitem": "global"
139
- },
140
- "path": [
141
- "message",
142
- "fontStyle",
143
- "description",
144
- "global"
145
- ]
146
- },
147
- "toast": {
148
- "$type": "typography",
149
- "$value": "400 1rem/1.5 'Noto Sans'",
150
- "filePath": "src/temp/component.json",
151
- "isSource": true,
152
- "original": {
153
- "$type": "typography",
154
- "$value": {
155
- "fontFamily": "{typography.fontFamily.primary}",
156
- "fontWeight": "{typography.fontWeight.regular}",
157
- "fontSize": "{typography.fontSize.default}",
158
- "lineHeight": "{typography.lineHeight.medium}"
159
- }
160
- },
161
- "name": "messageFontStyleDescriptionToast",
162
- "attributes": {
163
- "category": "message",
164
- "type": "fontStyle",
165
- "item": "description",
166
- "subitem": "toast"
167
- },
168
- "path": [
169
- "message",
170
- "fontStyle",
171
- "description",
172
- "toast"
173
- ]
174
- },
175
- "contextual": {
208
+ "$type": "typography",
209
+ "$value": "400 1rem/1.5 'Noto Sans'",
210
+ "filePath": "src/temp/component.json",
211
+ "isSource": true,
212
+ "original": {
176
213
  "$type": "typography",
177
- "$value": "400 0.889rem/1.5 'Noto Sans'",
178
- "filePath": "src/temp/component.json",
179
- "isSource": true,
180
- "original": {
181
- "$type": "typography",
182
- "$value": {
183
- "fontFamily": "{typography.fontFamily.primary}",
184
- "fontWeight": "{typography.fontWeight.regular}",
185
- "fontSize": "{typography.fontSize.down.01}",
186
- "lineHeight": "{typography.lineHeight.medium}"
187
- }
188
- },
189
- "name": "messageFontStyleDescriptionContextual",
190
- "attributes": {
191
- "category": "message",
192
- "type": "fontStyle",
193
- "item": "description",
194
- "subitem": "contextual"
195
- },
196
- "path": [
197
- "message",
198
- "fontStyle",
199
- "description",
200
- "contextual"
201
- ]
202
- }
203
- }
204
- },
205
- "alert": {
206
- "color": {
207
- "surface": {
208
- "$type": "color",
209
- "$value": "#ffcd07",
210
- "filePath": "src/temp/component.json",
211
- "isSource": true,
212
- "original": {
213
- "$type": "color",
214
- "$value": "{state.alert.color.main}"
215
- },
216
- "name": "messageAlertColorSurface",
217
- "attributes": {
218
- "category": "message",
219
- "type": "alert",
220
- "item": "color",
221
- "subitem": "surface"
222
- },
223
- "path": [
224
- "message",
225
- "alert",
226
- "color",
227
- "surface"
228
- ]
229
- },
230
- "read": {
231
- "$type": "color",
232
- "$value": "#000000",
233
- "filePath": "src/temp/component.json",
234
- "isSource": true,
235
- "original": {
236
- "$type": "color",
237
- "$value": "{state.alert.color.read.main}"
238
- },
239
- "name": "messageAlertColorRead",
240
- "attributes": {
241
- "category": "message",
242
- "type": "alert",
243
- "item": "color",
244
- "subitem": "read"
245
- },
246
- "path": [
247
- "message",
248
- "alert",
249
- "color",
250
- "read"
251
- ]
252
- }
253
- }
254
- },
255
- "success": {
256
- "color": {
257
- "surface": {
258
- "$type": "color",
259
- "$value": "#538200",
260
- "filePath": "src/temp/component.json",
261
- "isSource": true,
262
- "original": {
263
- "$type": "color",
264
- "$value": "{state.success.color.main}"
265
- },
266
- "name": "messageSuccessColorSurface",
267
- "attributes": {
268
- "category": "message",
269
- "type": "success",
270
- "item": "color",
271
- "subitem": "surface"
272
- },
273
- "path": [
274
- "message",
275
- "success",
276
- "color",
277
- "surface"
278
- ]
214
+ "$value": "{typography.fontStyle.paragraph}"
279
215
  },
280
- "read": {
281
- "$type": "color",
282
- "$value": "#ffffff",
283
- "filePath": "src/temp/component.json",
284
- "isSource": true,
285
- "original": {
286
- "$type": "color",
287
- "$value": "{state.success.color.read.main}"
288
- },
289
- "name": "messageSuccessColorRead",
290
- "attributes": {
291
- "category": "message",
292
- "type": "success",
293
- "item": "color",
294
- "subitem": "read"
295
- },
296
- "path": [
297
- "message",
298
- "success",
299
- "color",
300
- "read"
301
- ]
302
- }
303
- }
304
- },
305
- "error": {
306
- "color": {
307
- "surface": {
308
- "$type": "color",
309
- "$value": "#e52207",
310
- "filePath": "src/temp/component.json",
311
- "isSource": true,
312
- "original": {
313
- "$type": "color",
314
- "$value": "{state.error.color.main}"
315
- },
316
- "name": "messageErrorColorSurface",
317
- "attributes": {
318
- "category": "message",
319
- "type": "error",
320
- "item": "color",
321
- "subitem": "surface"
322
- },
323
- "path": [
324
- "message",
325
- "error",
326
- "color",
327
- "surface"
328
- ]
216
+ "name": "messageFontStyleDescription",
217
+ "attributes": {
218
+ "category": "message",
219
+ "type": "fontStyle",
220
+ "item": "description"
329
221
  },
330
- "read": {
331
- "$type": "color",
332
- "$value": "#ffffff",
333
- "filePath": "src/temp/component.json",
334
- "isSource": true,
335
- "original": {
336
- "$type": "color",
337
- "$value": "{state.error.color.read.main}"
338
- },
339
- "name": "messageErrorColorRead",
340
- "attributes": {
341
- "category": "message",
342
- "type": "error",
343
- "item": "color",
344
- "subitem": "read"
345
- },
346
- "path": [
347
- "message",
348
- "error",
349
- "color",
350
- "read"
351
- ]
352
- }
222
+ "path": [
223
+ "message",
224
+ "fontStyle",
225
+ "description"
226
+ ]
353
227
  }
354
228
  },
355
- "global": {
229
+ "spacing": {
356
230
  "gap": {
357
- "spacing": {
231
+ "global": {
358
232
  "$type": "dimension",
359
233
  "$value": "8px",
360
234
  "filePath": "src/temp/component.json",
@@ -373,25 +247,23 @@
373
247
  }
374
248
  }
375
249
  },
376
- "name": "messageGlobalGapSpacing",
250
+ "name": "messageSpacingGapGlobal",
377
251
  "attributes": {
378
252
  "category": "message",
379
- "type": "global",
253
+ "type": "spacing",
380
254
  "item": "gap",
381
- "subitem": "spacing"
255
+ "subitem": "global"
382
256
  },
383
257
  "path": [
384
258
  "message",
385
- "global",
259
+ "spacing",
386
260
  "gap",
387
- "spacing"
261
+ "global"
388
262
  ]
389
- }
390
- },
391
- "padding": {
392
- "spacing": {
263
+ },
264
+ "contextual": {
393
265
  "$type": "dimension",
394
- "$value": "16px",
266
+ "$value": "4px",
395
267
  "filePath": "src/temp/component.json",
396
268
  "isSource": true,
397
269
  "$extensions": {
@@ -401,63 +273,32 @@
401
273
  },
402
274
  "original": {
403
275
  "$type": "dimension",
404
- "$value": "{spacing.layout.02}",
276
+ "$value": "{spacing.adjust.01}",
405
277
  "$extensions": {
406
278
  "studio.tokens": {
407
279
  "originalType": "spacing"
408
280
  }
409
281
  }
410
282
  },
411
- "name": "messageGlobalPaddingSpacing",
283
+ "name": "messageSpacingGapContextual",
412
284
  "attributes": {
413
285
  "category": "message",
414
- "type": "global",
415
- "item": "padding",
416
- "subitem": "spacing"
286
+ "type": "spacing",
287
+ "item": "gap",
288
+ "subitem": "contextual"
417
289
  },
418
290
  "path": [
419
291
  "message",
420
- "global",
421
- "padding",
422
- "spacing"
292
+ "spacing",
293
+ "gap",
294
+ "contextual"
423
295
  ]
424
296
  }
425
- }
426
- },
427
- "rounder": {
428
- "$type": "dimension",
429
- "$value": "4px",
430
- "filePath": "src/temp/component.json",
431
- "isSource": true,
432
- "$extensions": {
433
- "studio.tokens": {
434
- "originalType": "borderRadius"
435
- }
436
- },
437
- "original": {
438
- "$type": "dimension",
439
- "$value": "{surface.rounder.small}",
440
- "$extensions": {
441
- "studio.tokens": {
442
- "originalType": "borderRadius"
443
- }
444
- }
445
- },
446
- "name": "messageRounder",
447
- "attributes": {
448
- "category": "message",
449
- "type": "rounder"
450
297
  },
451
- "path": [
452
- "message",
453
- "rounder"
454
- ]
455
- },
456
- "contextual": {
457
- "gap": {
458
- "spacing": {
298
+ "padding": {
299
+ "global": {
459
300
  "$type": "dimension",
460
- "$value": "4px",
301
+ "$value": "16px",
461
302
  "filePath": "src/temp/component.json",
462
303
  "isSource": true,
463
304
  "$extensions": {
@@ -467,30 +308,28 @@
467
308
  },
468
309
  "original": {
469
310
  "$type": "dimension",
470
- "$value": "{spacing.adjust.01}",
311
+ "$value": "{spacing.layout.02}",
471
312
  "$extensions": {
472
313
  "studio.tokens": {
473
314
  "originalType": "spacing"
474
315
  }
475
316
  }
476
317
  },
477
- "name": "messageContextualGapSpacing",
318
+ "name": "messageSpacingPaddingGlobal",
478
319
  "attributes": {
479
320
  "category": "message",
480
- "type": "contextual",
481
- "item": "gap",
482
- "subitem": "spacing"
321
+ "type": "spacing",
322
+ "item": "padding",
323
+ "subitem": "global"
483
324
  },
484
325
  "path": [
485
326
  "message",
486
- "contextual",
487
- "gap",
488
- "spacing"
327
+ "spacing",
328
+ "padding",
329
+ "global"
489
330
  ]
490
- }
491
- },
492
- "padding": {
493
- "spacing": {
331
+ },
332
+ "contextual": {
494
333
  "$type": "dimension",
495
334
  "$value": "4px",
496
335
  "filePath": "src/temp/component.json",
@@ -509,90 +348,91 @@
509
348
  }
510
349
  }
511
350
  },
512
- "name": "messageContextualPaddingSpacing",
351
+ "name": "messageSpacingPaddingContextual",
513
352
  "attributes": {
514
353
  "category": "message",
515
- "type": "contextual",
354
+ "type": "spacing",
516
355
  "item": "padding",
517
- "subitem": "spacing"
356
+ "subitem": "contextual"
518
357
  },
519
358
  "path": [
520
359
  "message",
521
- "contextual",
360
+ "spacing",
522
361
  "padding",
523
- "spacing"
362
+ "contextual"
524
363
  ]
525
364
  }
526
365
  }
527
366
  },
528
- "toast": {
529
- "gap": {
530
- "spacing": {
531
- "$type": "dimension",
532
- "$value": "8px",
367
+ "hover": {
368
+ "color": {
369
+ "success": {
370
+ "$type": "color",
371
+ "$value": "rgba(36, 52, 19, 0.5)",
533
372
  "filePath": "src/temp/component.json",
534
373
  "isSource": true,
535
- "$extensions": {
536
- "studio.tokens": {
537
- "originalType": "spacing"
538
- }
539
- },
540
374
  "original": {
541
- "$type": "dimension",
542
- "$value": "{spacing.layout.01}",
543
- "$extensions": {
544
- "studio.tokens": {
545
- "originalType": "spacing"
546
- }
547
- }
375
+ "$type": "color",
376
+ "$value": "rgba({color.greenVivid.80}, {state.hover.opacity.bright})"
548
377
  },
549
- "name": "messageToastGapSpacing",
378
+ "name": "messageHoverColorSuccess",
550
379
  "attributes": {
551
380
  "category": "message",
552
- "type": "toast",
553
- "item": "gap",
554
- "subitem": "spacing"
381
+ "type": "hover",
382
+ "item": "color",
383
+ "subitem": "success"
555
384
  },
556
385
  "path": [
557
386
  "message",
558
- "toast",
559
- "gap",
560
- "spacing"
387
+ "hover",
388
+ "color",
389
+ "success"
561
390
  ]
562
- }
563
- },
564
- "padding": {
565
- "spacing": {
566
- "$type": "dimension",
567
- "$value": "8px",
391
+ },
392
+ "alert": {
393
+ "$type": "color",
394
+ "$value": "rgba(254, 230, 133, 0.6)",
568
395
  "filePath": "src/temp/component.json",
569
396
  "isSource": true,
570
- "$extensions": {
571
- "studio.tokens": {
572
- "originalType": "spacing"
573
- }
397
+ "original": {
398
+ "$type": "color",
399
+ "$value": "rgba({color.yellowVivid.10}, {state.hover.opacity.dim})"
400
+ },
401
+ "name": "messageHoverColorAlert",
402
+ "attributes": {
403
+ "category": "message",
404
+ "type": "hover",
405
+ "item": "color",
406
+ "subitem": "alert"
574
407
  },
408
+ "path": [
409
+ "message",
410
+ "hover",
411
+ "color",
412
+ "alert"
413
+ ]
414
+ },
415
+ "error": {
416
+ "$type": "color",
417
+ "$value": "rgba(92, 17, 17, 0.5)",
418
+ "filePath": "src/temp/component.json",
419
+ "isSource": true,
575
420
  "original": {
576
- "$type": "dimension",
577
- "$value": "{spacing.layout.01}",
578
- "$extensions": {
579
- "studio.tokens": {
580
- "originalType": "spacing"
581
- }
582
- }
421
+ "$type": "color",
422
+ "$value": "rgba({color.redVivid.80}, {state.hover.opacity.bright})"
583
423
  },
584
- "name": "messageToastPaddingSpacing",
424
+ "name": "messageHoverColorError",
585
425
  "attributes": {
586
426
  "category": "message",
587
- "type": "toast",
588
- "item": "padding",
589
- "subitem": "spacing"
427
+ "type": "hover",
428
+ "item": "color",
429
+ "subitem": "error"
590
430
  },
591
431
  "path": [
592
432
  "message",
593
- "toast",
594
- "padding",
595
- "spacing"
433
+ "hover",
434
+ "color",
435
+ "error"
596
436
  ]
597
437
  }
598
438
  }