@govbr-ds/tokens 4.0.0-next.31 → 4.0.0-next.33

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 (32) hide show
  1. package/dist/css/components/chatBubble/tokens.css +43 -0
  2. package/dist/css/components/chatInput/tokens.css +19 -24
  3. package/dist/css/components/loading/tokens.css +11 -0
  4. package/dist/css/components/rating/tokens.css +21 -0
  5. package/dist/css/tokens.css +4 -0
  6. package/dist/js/components/chatBubble/tokens.js +41 -0
  7. package/dist/js/components/chatInput/tokens.js +25 -30
  8. package/dist/js/components/loading/tokens.js +9 -0
  9. package/dist/js/components/rating/tokens.js +19 -0
  10. package/dist/js/tokens.js +4 -0
  11. package/dist/json/components/chatBubble/tokens.json +1178 -0
  12. package/dist/json/components/chatInput/tokens.json +462 -633
  13. package/dist/json/components/loading/tokens.json +157 -0
  14. package/dist/json/components/rating/tokens.json +502 -0
  15. package/dist/json/tokens.json +148 -0
  16. package/dist/scss/components/chatBubble/tokens.scss +40 -0
  17. package/dist/scss/components/chatInput/tokens.scss +19 -24
  18. package/dist/scss/components/loading/tokens.scss +8 -0
  19. package/dist/scss/components/rating/tokens.scss +18 -0
  20. package/dist/scss/tokens.scss +10 -2
  21. package/dist/tokens-studio/tokens.json +543 -277
  22. package/package.json +9 -3
  23. package/src/tokens.json +544 -278
  24. package/src/temp/style-dictionary/core/component.json +0 -2970
  25. package/src/temp/style-dictionary/core/foundation.json +0 -3147
  26. package/src/temp/style-dictionary/core/pattern.json +0 -192
  27. package/src/temp/style-dictionary/theme/dark.json +0 -306
  28. package/src/temp/style-dictionary/theme/light.json +0 -306
  29. package/src/temp/tokens-studio/core/component.json +0 -2970
  30. package/src/temp/tokens-studio/core/global.json +0 -3335
  31. package/src/temp/tokens-studio/theme/dark.json +0 -306
  32. package/src/temp/tokens-studio/theme/light.json +0 -306
@@ -0,0 +1,157 @@
1
+ {
2
+ "br": {
3
+ "loading": {
4
+ "color": {
5
+ "foreground": {
6
+ "main": {
7
+ "key": "{br.loading.color.foreground.main}",
8
+ "$value": "#636363",
9
+ "filePath": "src/temp/style-dictionary/core/component.json",
10
+ "isSource": true,
11
+ "$type": "color",
12
+ "original": {
13
+ "$value": "{br.color.foreground.main.secondary}",
14
+ "$type": "color",
15
+ "key": "{br.loading.color.foreground.main}"
16
+ },
17
+ "name": "brLoadingColorForegroundMain",
18
+ "attributes": {
19
+ "category": "br",
20
+ "type": "loading",
21
+ "item": "color",
22
+ "subitem": "foreground",
23
+ "state": "main"
24
+ },
25
+ "path": [
26
+ "br",
27
+ "loading",
28
+ "color",
29
+ "foreground",
30
+ "main"
31
+ ]
32
+ },
33
+ "contrast": {
34
+ "key": "{br.loading.color.foreground.contrast}",
35
+ "$value": "#cccccc",
36
+ "filePath": "src/temp/style-dictionary/core/component.json",
37
+ "isSource": true,
38
+ "$type": "color",
39
+ "original": {
40
+ "$value": "{br.color.foreground.contrast.secondary}",
41
+ "$type": "color",
42
+ "key": "{br.loading.color.foreground.contrast}"
43
+ },
44
+ "name": "brLoadingColorForegroundContrast",
45
+ "attributes": {
46
+ "category": "br",
47
+ "type": "loading",
48
+ "item": "color",
49
+ "subitem": "foreground",
50
+ "state": "contrast"
51
+ },
52
+ "path": [
53
+ "br",
54
+ "loading",
55
+ "color",
56
+ "foreground",
57
+ "contrast"
58
+ ]
59
+ }
60
+ },
61
+ "background": {
62
+ "main": {
63
+ "key": "{br.loading.color.background.main}",
64
+ "$value": "#f0f0f0",
65
+ "filePath": "src/temp/style-dictionary/core/component.json",
66
+ "isSource": true,
67
+ "$type": "color",
68
+ "original": {
69
+ "$value": "{br.color.background.main.secondary}",
70
+ "$type": "color",
71
+ "key": "{br.loading.color.background.main}"
72
+ },
73
+ "name": "brLoadingColorBackgroundMain",
74
+ "attributes": {
75
+ "category": "br",
76
+ "type": "loading",
77
+ "item": "color",
78
+ "subitem": "background",
79
+ "state": "main"
80
+ },
81
+ "path": [
82
+ "br",
83
+ "loading",
84
+ "color",
85
+ "background",
86
+ "main"
87
+ ]
88
+ },
89
+ "contrast": {
90
+ "key": "{br.loading.color.background.contrast}",
91
+ "$value": "#2f4668",
92
+ "filePath": "src/temp/style-dictionary/core/component.json",
93
+ "isSource": true,
94
+ "$type": "color",
95
+ "original": {
96
+ "$value": "{br.color.background.contrast.secondary}",
97
+ "$type": "color",
98
+ "key": "{br.loading.color.background.contrast}"
99
+ },
100
+ "name": "brLoadingColorBackgroundContrast",
101
+ "attributes": {
102
+ "category": "br",
103
+ "type": "loading",
104
+ "item": "color",
105
+ "subitem": "background",
106
+ "state": "contrast"
107
+ },
108
+ "path": [
109
+ "br",
110
+ "loading",
111
+ "color",
112
+ "background",
113
+ "contrast"
114
+ ]
115
+ }
116
+ }
117
+ },
118
+ "gap": {
119
+ "default": {
120
+ "key": "{br.loading.gap.default}",
121
+ "$value": "8px",
122
+ "filePath": "src/temp/style-dictionary/core/component.json",
123
+ "isSource": true,
124
+ "$type": "dimension",
125
+ "$extensions": {
126
+ "studio.tokens": {
127
+ "originalType": "spacing"
128
+ }
129
+ },
130
+ "original": {
131
+ "$value": "{br.spacing.layout.1}",
132
+ "$type": "dimension",
133
+ "$extensions": {
134
+ "studio.tokens": {
135
+ "originalType": "spacing"
136
+ }
137
+ },
138
+ "key": "{br.loading.gap.default}"
139
+ },
140
+ "name": "brLoadingGapDefault",
141
+ "attributes": {
142
+ "category": "br",
143
+ "type": "loading",
144
+ "item": "gap",
145
+ "subitem": "default"
146
+ },
147
+ "path": [
148
+ "br",
149
+ "loading",
150
+ "gap",
151
+ "default"
152
+ ]
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
@@ -0,0 +1,502 @@
1
+ {
2
+ "br": {
3
+ "rating": {
4
+ "color": {
5
+ "main": {
6
+ "key": "{br.rating.color.main}",
7
+ "$value": "#636363",
8
+ "filePath": "src/temp/style-dictionary/core/component.json",
9
+ "isSource": true,
10
+ "$type": "color",
11
+ "original": {
12
+ "$value": "{br.color.foreground.main.secondary}",
13
+ "$type": "color",
14
+ "key": "{br.rating.color.main}"
15
+ },
16
+ "name": "brRatingColorMain",
17
+ "attributes": {
18
+ "category": "br",
19
+ "type": "rating",
20
+ "item": "color",
21
+ "subitem": "main"
22
+ },
23
+ "path": [
24
+ "br",
25
+ "rating",
26
+ "color",
27
+ "main"
28
+ ]
29
+ },
30
+ "contrast": {
31
+ "key": "{br.rating.color.contrast}",
32
+ "$value": "#cccccc",
33
+ "filePath": "src/temp/style-dictionary/core/component.json",
34
+ "isSource": true,
35
+ "$type": "color",
36
+ "original": {
37
+ "$value": "{br.color.foreground.contrast.secondary}",
38
+ "$type": "color",
39
+ "key": "{br.rating.color.contrast}"
40
+ },
41
+ "name": "brRatingColorContrast",
42
+ "attributes": {
43
+ "category": "br",
44
+ "type": "rating",
45
+ "item": "color",
46
+ "subitem": "contrast"
47
+ },
48
+ "path": [
49
+ "br",
50
+ "rating",
51
+ "color",
52
+ "contrast"
53
+ ]
54
+ }
55
+ },
56
+ "gap": {
57
+ "default": {
58
+ "key": "{br.rating.gap.default}",
59
+ "$value": "4px",
60
+ "filePath": "src/temp/style-dictionary/core/component.json",
61
+ "isSource": true,
62
+ "$type": "dimension",
63
+ "$extensions": {
64
+ "studio.tokens": {
65
+ "originalType": "spacing"
66
+ }
67
+ },
68
+ "original": {
69
+ "$value": "{br.spacing.adjust.1}",
70
+ "$type": "dimension",
71
+ "$extensions": {
72
+ "studio.tokens": {
73
+ "originalType": "spacing"
74
+ }
75
+ },
76
+ "key": "{br.rating.gap.default}"
77
+ },
78
+ "name": "brRatingGapDefault",
79
+ "attributes": {
80
+ "category": "br",
81
+ "type": "rating",
82
+ "item": "gap",
83
+ "subitem": "default"
84
+ },
85
+ "path": [
86
+ "br",
87
+ "rating",
88
+ "gap",
89
+ "default"
90
+ ]
91
+ }
92
+ },
93
+ "iconName": {
94
+ "like": {
95
+ "key": "{br.rating.iconName.like}",
96
+ "$value": "thumbs-up",
97
+ "filePath": "src/temp/style-dictionary/core/component.json",
98
+ "isSource": true,
99
+ "$type": "content",
100
+ "$extensions": {
101
+ "studio.tokens": {
102
+ "originalType": "text"
103
+ }
104
+ },
105
+ "original": {
106
+ "$value": "thumbs-up",
107
+ "$type": "content",
108
+ "$extensions": {
109
+ "studio.tokens": {
110
+ "originalType": "text"
111
+ }
112
+ },
113
+ "key": "{br.rating.iconName.like}"
114
+ },
115
+ "name": "brRatingIconNameLike",
116
+ "attributes": {
117
+ "category": "br",
118
+ "type": "rating",
119
+ "item": "iconName",
120
+ "subitem": "like"
121
+ },
122
+ "path": [
123
+ "br",
124
+ "rating",
125
+ "iconName",
126
+ "like"
127
+ ]
128
+ },
129
+ "dislike": {
130
+ "key": "{br.rating.iconName.dislike}",
131
+ "$value": "thumbs-down",
132
+ "filePath": "src/temp/style-dictionary/core/component.json",
133
+ "isSource": true,
134
+ "$type": "content",
135
+ "$extensions": {
136
+ "studio.tokens": {
137
+ "originalType": "text"
138
+ }
139
+ },
140
+ "original": {
141
+ "$value": "thumbs-down",
142
+ "$type": "content",
143
+ "$extensions": {
144
+ "studio.tokens": {
145
+ "originalType": "text"
146
+ }
147
+ },
148
+ "key": "{br.rating.iconName.dislike}"
149
+ },
150
+ "name": "brRatingIconNameDislike",
151
+ "attributes": {
152
+ "category": "br",
153
+ "type": "rating",
154
+ "item": "iconName",
155
+ "subitem": "dislike"
156
+ },
157
+ "path": [
158
+ "br",
159
+ "rating",
160
+ "iconName",
161
+ "dislike"
162
+ ]
163
+ },
164
+ "score": {
165
+ "key": "{br.rating.iconName.score}",
166
+ "$value": "star",
167
+ "filePath": "src/temp/style-dictionary/core/component.json",
168
+ "isSource": true,
169
+ "$type": "content",
170
+ "$extensions": {
171
+ "studio.tokens": {
172
+ "originalType": "text"
173
+ }
174
+ },
175
+ "original": {
176
+ "$value": "star",
177
+ "$type": "content",
178
+ "$extensions": {
179
+ "studio.tokens": {
180
+ "originalType": "text"
181
+ }
182
+ },
183
+ "key": "{br.rating.iconName.score}"
184
+ },
185
+ "name": "brRatingIconNameScore",
186
+ "attributes": {
187
+ "category": "br",
188
+ "type": "rating",
189
+ "item": "iconName",
190
+ "subitem": "score"
191
+ },
192
+ "path": [
193
+ "br",
194
+ "rating",
195
+ "iconName",
196
+ "score"
197
+ ]
198
+ },
199
+ "affinity": {
200
+ "key": "{br.rating.iconName.affinity}",
201
+ "$value": "heart",
202
+ "filePath": "src/temp/style-dictionary/core/component.json",
203
+ "isSource": true,
204
+ "$type": "content",
205
+ "$extensions": {
206
+ "studio.tokens": {
207
+ "originalType": "text"
208
+ }
209
+ },
210
+ "original": {
211
+ "$value": "heart",
212
+ "$type": "content",
213
+ "$extensions": {
214
+ "studio.tokens": {
215
+ "originalType": "text"
216
+ }
217
+ },
218
+ "key": "{br.rating.iconName.affinity}"
219
+ },
220
+ "name": "brRatingIconNameAffinity",
221
+ "attributes": {
222
+ "category": "br",
223
+ "type": "rating",
224
+ "item": "iconName",
225
+ "subitem": "affinity"
226
+ },
227
+ "path": [
228
+ "br",
229
+ "rating",
230
+ "iconName",
231
+ "affinity"
232
+ ]
233
+ },
234
+ "moodMin": {
235
+ "key": "{br.rating.iconName.moodMin}",
236
+ "$value": "face-angry",
237
+ "filePath": "src/temp/style-dictionary/core/component.json",
238
+ "isSource": true,
239
+ "$type": "content",
240
+ "$extensions": {
241
+ "studio.tokens": {
242
+ "originalType": "text"
243
+ }
244
+ },
245
+ "original": {
246
+ "$value": "face-angry",
247
+ "$type": "content",
248
+ "$extensions": {
249
+ "studio.tokens": {
250
+ "originalType": "text"
251
+ }
252
+ },
253
+ "key": "{br.rating.iconName.moodMin}"
254
+ },
255
+ "name": "brRatingIconNameMoodMin",
256
+ "attributes": {
257
+ "category": "br",
258
+ "type": "rating",
259
+ "item": "iconName",
260
+ "subitem": "moodMin"
261
+ },
262
+ "path": [
263
+ "br",
264
+ "rating",
265
+ "iconName",
266
+ "moodMin"
267
+ ]
268
+ },
269
+ "moodLow": {
270
+ "key": "{br.rating.iconName.moodLow}",
271
+ "$value": "face-frown",
272
+ "filePath": "src/temp/style-dictionary/core/component.json",
273
+ "isSource": true,
274
+ "$type": "content",
275
+ "$extensions": {
276
+ "studio.tokens": {
277
+ "originalType": "text"
278
+ }
279
+ },
280
+ "original": {
281
+ "$value": "face-frown",
282
+ "$type": "content",
283
+ "$extensions": {
284
+ "studio.tokens": {
285
+ "originalType": "text"
286
+ }
287
+ },
288
+ "key": "{br.rating.iconName.moodLow}"
289
+ },
290
+ "name": "brRatingIconNameMoodLow",
291
+ "attributes": {
292
+ "category": "br",
293
+ "type": "rating",
294
+ "item": "iconName",
295
+ "subitem": "moodLow"
296
+ },
297
+ "path": [
298
+ "br",
299
+ "rating",
300
+ "iconName",
301
+ "moodLow"
302
+ ]
303
+ },
304
+ "moodMedium": {
305
+ "key": "{br.rating.iconName.moodMedium}",
306
+ "$value": "face-meh",
307
+ "filePath": "src/temp/style-dictionary/core/component.json",
308
+ "isSource": true,
309
+ "$type": "content",
310
+ "$extensions": {
311
+ "studio.tokens": {
312
+ "originalType": "text"
313
+ }
314
+ },
315
+ "original": {
316
+ "$value": "face-meh",
317
+ "$type": "content",
318
+ "$extensions": {
319
+ "studio.tokens": {
320
+ "originalType": "text"
321
+ }
322
+ },
323
+ "key": "{br.rating.iconName.moodMedium}"
324
+ },
325
+ "name": "brRatingIconNameMoodMedium",
326
+ "attributes": {
327
+ "category": "br",
328
+ "type": "rating",
329
+ "item": "iconName",
330
+ "subitem": "moodMedium"
331
+ },
332
+ "path": [
333
+ "br",
334
+ "rating",
335
+ "iconName",
336
+ "moodMedium"
337
+ ]
338
+ },
339
+ "moodHigh": {
340
+ "key": "{br.rating.iconName.moodHigh}",
341
+ "$value": "face-smile",
342
+ "filePath": "src/temp/style-dictionary/core/component.json",
343
+ "isSource": true,
344
+ "$type": "content",
345
+ "$extensions": {
346
+ "studio.tokens": {
347
+ "originalType": "text"
348
+ }
349
+ },
350
+ "original": {
351
+ "$value": "face-smile",
352
+ "$type": "content",
353
+ "$extensions": {
354
+ "studio.tokens": {
355
+ "originalType": "text"
356
+ }
357
+ },
358
+ "key": "{br.rating.iconName.moodHigh}"
359
+ },
360
+ "name": "brRatingIconNameMoodHigh",
361
+ "attributes": {
362
+ "category": "br",
363
+ "type": "rating",
364
+ "item": "iconName",
365
+ "subitem": "moodHigh"
366
+ },
367
+ "path": [
368
+ "br",
369
+ "rating",
370
+ "iconName",
371
+ "moodHigh"
372
+ ]
373
+ },
374
+ "moodMax": {
375
+ "key": "{br.rating.iconName.moodMax}",
376
+ "$value": "face-laugh",
377
+ "filePath": "src/temp/style-dictionary/core/component.json",
378
+ "isSource": true,
379
+ "$type": "content",
380
+ "$extensions": {
381
+ "studio.tokens": {
382
+ "originalType": "text"
383
+ }
384
+ },
385
+ "original": {
386
+ "$value": "face-laugh",
387
+ "$type": "content",
388
+ "$extensions": {
389
+ "studio.tokens": {
390
+ "originalType": "text"
391
+ }
392
+ },
393
+ "key": "{br.rating.iconName.moodMax}"
394
+ },
395
+ "name": "brRatingIconNameMoodMax",
396
+ "attributes": {
397
+ "category": "br",
398
+ "type": "rating",
399
+ "item": "iconName",
400
+ "subitem": "moodMax"
401
+ },
402
+ "path": [
403
+ "br",
404
+ "rating",
405
+ "iconName",
406
+ "moodMax"
407
+ ]
408
+ }
409
+ },
410
+ "fontStyle": {
411
+ "default": {
412
+ "key": "{br.rating.fontStyle.default}",
413
+ "$value": "400 0.7023rem/1 'Noto Sans'",
414
+ "filePath": "src/temp/style-dictionary/core/component.json",
415
+ "isSource": true,
416
+ "$type": "typography",
417
+ "original": {
418
+ "$value": {
419
+ "fontFamily": "{br.typography.fontFamily.primary}",
420
+ "fontWeight": "{br.typography.fontWeight.regular}",
421
+ "fontSize": "{br.typography.fontSize.down.3}",
422
+ "lineHeight": "{br.typography.lineHeight.xsm}"
423
+ },
424
+ "$type": "typography",
425
+ "key": "{br.rating.fontStyle.default}"
426
+ },
427
+ "name": "brRatingFontStyleDefault",
428
+ "attributes": {
429
+ "category": "br",
430
+ "type": "rating",
431
+ "item": "fontStyle",
432
+ "subitem": "default"
433
+ },
434
+ "path": [
435
+ "br",
436
+ "rating",
437
+ "fontStyle",
438
+ "default"
439
+ ]
440
+ }
441
+ },
442
+ "selected": {
443
+ "color": {
444
+ "main": {
445
+ "key": "{br.rating.selected.color.main}",
446
+ "$value": "#2670e8",
447
+ "filePath": "src/temp/style-dictionary/core/component.json",
448
+ "isSource": true,
449
+ "$type": "color",
450
+ "original": {
451
+ "$value": "{br.state.selected.color.main}",
452
+ "$type": "color",
453
+ "key": "{br.rating.selected.color.main}"
454
+ },
455
+ "name": "brRatingSelectedColorMain",
456
+ "attributes": {
457
+ "category": "br",
458
+ "type": "rating",
459
+ "item": "selected",
460
+ "subitem": "color",
461
+ "state": "main"
462
+ },
463
+ "path": [
464
+ "br",
465
+ "rating",
466
+ "selected",
467
+ "color",
468
+ "main"
469
+ ]
470
+ },
471
+ "contrast": {
472
+ "key": "{br.rating.selected.color.contrast}",
473
+ "$value": "#5992ed",
474
+ "filePath": "src/temp/style-dictionary/core/component.json",
475
+ "isSource": true,
476
+ "$type": "color",
477
+ "original": {
478
+ "$value": "{br.state.selected.color.contrast}",
479
+ "$type": "color",
480
+ "key": "{br.rating.selected.color.contrast}"
481
+ },
482
+ "name": "brRatingSelectedColorContrast",
483
+ "attributes": {
484
+ "category": "br",
485
+ "type": "rating",
486
+ "item": "selected",
487
+ "subitem": "color",
488
+ "state": "contrast"
489
+ },
490
+ "path": [
491
+ "br",
492
+ "rating",
493
+ "selected",
494
+ "color",
495
+ "contrast"
496
+ ]
497
+ }
498
+ }
499
+ }
500
+ }
501
+ }
502
+ }