@govbr-ds/tokens 4.0.0-next.39 → 4.0.0-next.40

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 (67) hide show
  1. package/README.md +42 -3
  2. package/dist/css/components/breadcrumbs/tokens.css +2 -1
  3. package/dist/css/components/chatBubble/tokens.css +2 -1
  4. package/dist/css/components/chatInput/tokens.css +2 -1
  5. package/dist/css/components/checkbox/tokens.css +2 -1
  6. package/dist/css/components/divider/tokens.css +8 -6
  7. package/dist/css/components/footer/tokens.css +2 -1
  8. package/dist/css/components/input/tokens.css +2 -1
  9. package/dist/css/components/radioGroup/tokens.css +2 -1
  10. package/dist/css/components/tag/tokens.css +29 -33
  11. package/dist/css/components/tagCount/tokens.css +7 -11
  12. package/dist/css/components/tagStatus/tokens.css +22 -22
  13. package/dist/css/theme/{light/contrast-mode.css → color-mode.css} +40 -36
  14. package/dist/css/theme/dark/prefers-color-scheme.css +7 -5
  15. package/dist/css/theme/dark/tokens.css +5 -3
  16. package/dist/css/theme/light/prefers-color-scheme.css +7 -5
  17. package/dist/css/theme/light/tokens.css +5 -3
  18. package/dist/css/tokens.css +10 -6
  19. package/dist/js/components/breadcrumbs/tokens.js +2 -1
  20. package/dist/js/components/chatBubble/tokens.js +2 -1
  21. package/dist/js/components/chatInput/tokens.js +2 -1
  22. package/dist/js/components/checkbox/tokens.js +2 -1
  23. package/dist/js/components/divider/tokens.js +2 -0
  24. package/dist/js/components/footer/tokens.js +2 -1
  25. package/dist/js/components/input/tokens.js +2 -1
  26. package/dist/js/components/radioGroup/tokens.js +2 -1
  27. package/dist/js/components/tag/tokens.js +33 -33
  28. package/dist/js/components/tagCount/tokens.js +9 -11
  29. package/dist/js/components/tagStatus/tokens.js +24 -22
  30. package/dist/js/theme/dark/tokens.js +4 -2
  31. package/dist/js/theme/light/tokens.js +4 -2
  32. package/dist/js/tokens.js +9 -5
  33. package/dist/json/components/breadcrumbs/tokens.json +34 -7
  34. package/dist/json/components/chatBubble/tokens.json +36 -7
  35. package/dist/json/components/chatInput/tokens.json +33 -8
  36. package/dist/json/components/checkbox/tokens.json +48 -19
  37. package/dist/json/components/divider/tokens.json +58 -6
  38. package/dist/json/components/footer/tokens.json +36 -7
  39. package/dist/json/components/input/tokens.json +48 -19
  40. package/dist/json/components/radioGroup/tokens.json +48 -19
  41. package/dist/json/components/tag/tokens.json +671 -739
  42. package/dist/json/components/tagCount/tokens.json +148 -252
  43. package/dist/json/components/tagStatus/tokens.json +530 -494
  44. package/dist/json/theme/dark/tokens.json +106 -44
  45. package/dist/json/theme/light/tokens.json +106 -44
  46. package/dist/json/tokens.json +195 -73
  47. package/dist/penpot/tokens.json +294 -192
  48. package/dist/scss/components/breadcrumbs/tokens.scss +2 -1
  49. package/dist/scss/components/chatBubble/tokens.scss +2 -1
  50. package/dist/scss/components/chatInput/tokens.scss +2 -1
  51. package/dist/scss/components/checkbox/tokens.scss +2 -1
  52. package/dist/scss/components/divider/tokens.scss +8 -6
  53. package/dist/scss/components/footer/tokens.scss +2 -1
  54. package/dist/scss/components/input/tokens.scss +2 -1
  55. package/dist/scss/components/radioGroup/tokens.scss +2 -1
  56. package/dist/scss/components/tag/tokens.scss +29 -33
  57. package/dist/scss/components/tagCount/tokens.scss +7 -11
  58. package/dist/scss/components/tagStatus/tokens.scss +22 -22
  59. package/dist/scss/theme/dark/tokens.scss +4 -2
  60. package/dist/scss/theme/light/tokens.scss +4 -2
  61. package/dist/scss/tokens.scss +23 -9
  62. package/dist/tokens-studio/tokens.json +258 -160
  63. package/package.json +7 -9
  64. package/src/config/config.json +43 -18
  65. package/src/figma/pattern/form.json +21 -8
  66. package/src/tokens.json +239 -141
  67. package/dist/css/theme/dark/contrast-mode.css +0 -76
@@ -174,122 +174,6 @@
174
174
  "foreground",
175
175
  "default"
176
176
  ]
177
- },
178
- "main": {
179
- "primary": {
180
- "key": "{br.tagCount.color.foreground.main.primary}",
181
- "$value": "#1b1b1b",
182
- "$type": "color",
183
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
184
- "isSource": true,
185
- "original": {
186
- "$value": "{br.color.foreground.main.primary}",
187
- "$type": "color",
188
- "key": "{br.tagCount.color.foreground.main.primary}"
189
- },
190
- "name": "brTagCountColorForegroundMainPrimary",
191
- "attributes": {
192
- "category": "br",
193
- "type": "tagCount",
194
- "item": "color",
195
- "subitem": "foreground",
196
- "state": "main"
197
- },
198
- "path": [
199
- "br",
200
- "tagCount",
201
- "color",
202
- "foreground",
203
- "main",
204
- "primary"
205
- ]
206
- },
207
- "secondary": {
208
- "key": "{br.tagCount.color.foreground.main.secondary}",
209
- "$value": "#636363",
210
- "$type": "color",
211
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
212
- "isSource": true,
213
- "original": {
214
- "$value": "{br.color.foreground.main.secondary}",
215
- "$type": "color",
216
- "key": "{br.tagCount.color.foreground.main.secondary}"
217
- },
218
- "name": "brTagCountColorForegroundMainSecondary",
219
- "attributes": {
220
- "category": "br",
221
- "type": "tagCount",
222
- "item": "color",
223
- "subitem": "foreground",
224
- "state": "main"
225
- },
226
- "path": [
227
- "br",
228
- "tagCount",
229
- "color",
230
- "foreground",
231
- "main",
232
- "secondary"
233
- ]
234
- }
235
- },
236
- "contrast": {
237
- "primary": {
238
- "key": "{br.tagCount.color.foreground.contrast.primary}",
239
- "$value": "#fcfcfc",
240
- "$type": "color",
241
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
242
- "isSource": true,
243
- "original": {
244
- "$value": "{br.color.foreground.contrast.primary}",
245
- "$type": "color",
246
- "key": "{br.tagCount.color.foreground.contrast.primary}"
247
- },
248
- "name": "brTagCountColorForegroundContrastPrimary",
249
- "attributes": {
250
- "category": "br",
251
- "type": "tagCount",
252
- "item": "color",
253
- "subitem": "foreground",
254
- "state": "contrast"
255
- },
256
- "path": [
257
- "br",
258
- "tagCount",
259
- "color",
260
- "foreground",
261
- "contrast",
262
- "primary"
263
- ]
264
- },
265
- "secondary": {
266
- "key": "{br.tagCount.color.foreground.contrast.secondary}",
267
- "$value": "#cccccc",
268
- "$type": "color",
269
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
270
- "isSource": true,
271
- "original": {
272
- "$value": "{br.color.foreground.contrast.secondary}",
273
- "$type": "color",
274
- "key": "{br.tagCount.color.foreground.contrast.secondary}"
275
- },
276
- "name": "brTagCountColorForegroundContrastSecondary",
277
- "attributes": {
278
- "category": "br",
279
- "type": "tagCount",
280
- "item": "color",
281
- "subitem": "foreground",
282
- "state": "contrast"
283
- },
284
- "path": [
285
- "br",
286
- "tagCount",
287
- "color",
288
- "foreground",
289
- "contrast",
290
- "secondary"
291
- ]
292
- }
293
177
  }
294
178
  }
295
179
  },
@@ -367,15 +251,157 @@
367
251
  ]
368
252
  }
369
253
  },
254
+ "borderStyle": {
255
+ "main": {
256
+ "primary": {
257
+ "highlight": {
258
+ "key": "{br.tagCount.borderStyle.main.primary.highlight}",
259
+ "$value": "1px solid #fcfcfc",
260
+ "$type": "border",
261
+ "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
262
+ "isSource": true,
263
+ "original": {
264
+ "$value": {
265
+ "color": "{br.color.background.main.primary}",
266
+ "width": "{br.surface.borderWidth.sm}",
267
+ "style": "solid"
268
+ },
269
+ "$type": "border",
270
+ "key": "{br.tagCount.borderStyle.main.primary.highlight}"
271
+ },
272
+ "name": "brTagCountBorderStyleMainPrimaryHighlight",
273
+ "attributes": {
274
+ "category": "br",
275
+ "type": "tagCount",
276
+ "item": "borderStyle",
277
+ "subitem": "main",
278
+ "state": "primary"
279
+ },
280
+ "path": [
281
+ "br",
282
+ "tagCount",
283
+ "borderStyle",
284
+ "main",
285
+ "primary",
286
+ "highlight"
287
+ ]
288
+ }
289
+ },
290
+ "secondary": {
291
+ "highlight": {
292
+ "key": "{br.tagCount.borderStyle.main.secondary.highlight}",
293
+ "$value": "1px solid #f0f0f0",
294
+ "$type": "border",
295
+ "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
296
+ "isSource": true,
297
+ "original": {
298
+ "$value": {
299
+ "color": "{br.color.background.main.secondary}",
300
+ "width": "{br.surface.borderWidth.sm}",
301
+ "style": "solid"
302
+ },
303
+ "$type": "border",
304
+ "key": "{br.tagCount.borderStyle.main.secondary.highlight}"
305
+ },
306
+ "name": "brTagCountBorderStyleMainSecondaryHighlight",
307
+ "attributes": {
308
+ "category": "br",
309
+ "type": "tagCount",
310
+ "item": "borderStyle",
311
+ "subitem": "main",
312
+ "state": "secondary"
313
+ },
314
+ "path": [
315
+ "br",
316
+ "tagCount",
317
+ "borderStyle",
318
+ "main",
319
+ "secondary",
320
+ "highlight"
321
+ ]
322
+ }
323
+ }
324
+ },
325
+ "contrast": {
326
+ "primary": {
327
+ "highlight": {
328
+ "key": "{br.tagCount.borderStyle.contrast.primary.highlight}",
329
+ "$value": "1px solid #252f3e",
330
+ "$type": "border",
331
+ "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
332
+ "isSource": true,
333
+ "original": {
334
+ "$value": {
335
+ "color": "{br.color.background.contrast.primary}",
336
+ "width": "{br.surface.borderWidth.sm}",
337
+ "style": "solid"
338
+ },
339
+ "$type": "border",
340
+ "key": "{br.tagCount.borderStyle.contrast.primary.highlight}"
341
+ },
342
+ "name": "brTagCountBorderStyleContrastPrimaryHighlight",
343
+ "attributes": {
344
+ "category": "br",
345
+ "type": "tagCount",
346
+ "item": "borderStyle",
347
+ "subitem": "contrast",
348
+ "state": "primary"
349
+ },
350
+ "path": [
351
+ "br",
352
+ "tagCount",
353
+ "borderStyle",
354
+ "contrast",
355
+ "primary",
356
+ "highlight"
357
+ ]
358
+ }
359
+ },
360
+ "secondary": {
361
+ "highlight": {
362
+ "key": "{br.tagCount.borderStyle.contrast.secondary.highlight}",
363
+ "$value": "1px solid #2f4668",
364
+ "$type": "border",
365
+ "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
366
+ "isSource": true,
367
+ "original": {
368
+ "$value": {
369
+ "color": "{br.color.background.contrast.secondary}",
370
+ "width": "{br.surface.borderWidth.sm}",
371
+ "style": "solid"
372
+ },
373
+ "$type": "border",
374
+ "key": "{br.tagCount.borderStyle.contrast.secondary.highlight}"
375
+ },
376
+ "name": "brTagCountBorderStyleContrastSecondaryHighlight",
377
+ "attributes": {
378
+ "category": "br",
379
+ "type": "tagCount",
380
+ "item": "borderStyle",
381
+ "subitem": "contrast",
382
+ "state": "secondary"
383
+ },
384
+ "path": [
385
+ "br",
386
+ "tagCount",
387
+ "borderStyle",
388
+ "contrast",
389
+ "secondary",
390
+ "highlight"
391
+ ]
392
+ }
393
+ }
394
+ }
395
+ },
370
396
  "density": {
371
397
  "compact": {
372
398
  "key": "{br.tagCount.density.compact}",
373
- "$value": "16px",
399
+ "$value": "1rem",
374
400
  "$type": "dimension",
375
401
  "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
376
402
  "isSource": true,
377
403
  "original": {
378
- "$value": "{br.spacing.layout.2}",
404
+ "$value": "{br.typography.fontSize.default}",
379
405
  "$type": "dimension",
380
406
  "key": "{br.tagCount.density.compact}"
381
407
  },
@@ -395,12 +421,12 @@
395
421
  },
396
422
  "regular": {
397
423
  "key": "{br.tagCount.density.regular}",
398
- "$value": "20px",
424
+ "$value": "1.2656rem",
399
425
  "$type": "dimension",
400
426
  "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
401
427
  "isSource": true,
402
428
  "original": {
403
- "$value": "{br.spacing.adjust.3}",
429
+ "$value": "{br.typography.fontSize.up.2}",
404
430
  "$type": "dimension",
405
431
  "key": "{br.tagCount.density.regular}"
406
432
  },
@@ -420,12 +446,12 @@
420
446
  },
421
447
  "spacious": {
422
448
  "key": "{br.tagCount.density.spacious}",
423
- "$value": "24px",
449
+ "$value": "1.4238rem",
424
450
  "$type": "dimension",
425
451
  "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
426
452
  "isSource": true,
427
453
  "original": {
428
- "$value": "{br.spacing.layout.3}",
454
+ "$value": "{br.typography.fontSize.up.3}",
429
455
  "$type": "dimension",
430
456
  "key": "{br.tagCount.density.spacious}"
431
457
  },
@@ -443,136 +469,6 @@
443
469
  "spacious"
444
470
  ]
445
471
  }
446
- },
447
- "borderStyle": {
448
- "main": {
449
- "primary": {
450
- "key": "{br.tagCount.borderStyle.main.primary}",
451
- "$value": "1px solid #fcfcfc",
452
- "$type": "border",
453
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
454
- "isSource": true,
455
- "original": {
456
- "$value": {
457
- "color": "{br.color.background.main.primary}",
458
- "width": "{br.surface.borderWidth.sm}",
459
- "style": "solid"
460
- },
461
- "$type": "border",
462
- "key": "{br.tagCount.borderStyle.main.primary}"
463
- },
464
- "name": "brTagCountBorderStyleMainPrimary",
465
- "attributes": {
466
- "category": "br",
467
- "type": "tagCount",
468
- "item": "borderStyle",
469
- "subitem": "main",
470
- "state": "primary"
471
- },
472
- "path": [
473
- "br",
474
- "tagCount",
475
- "borderStyle",
476
- "main",
477
- "primary"
478
- ]
479
- },
480
- "secondary": {
481
- "key": "{br.tagCount.borderStyle.main.secondary}",
482
- "$value": "1px solid #f0f0f0",
483
- "$type": "border",
484
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
485
- "isSource": true,
486
- "original": {
487
- "$value": {
488
- "color": "{br.color.background.main.secondary}",
489
- "width": "{br.surface.borderWidth.sm}",
490
- "style": "solid"
491
- },
492
- "$type": "border",
493
- "key": "{br.tagCount.borderStyle.main.secondary}"
494
- },
495
- "name": "brTagCountBorderStyleMainSecondary",
496
- "attributes": {
497
- "category": "br",
498
- "type": "tagCount",
499
- "item": "borderStyle",
500
- "subitem": "main",
501
- "state": "secondary"
502
- },
503
- "path": [
504
- "br",
505
- "tagCount",
506
- "borderStyle",
507
- "main",
508
- "secondary"
509
- ]
510
- }
511
- },
512
- "contrast": {
513
- "primary": {
514
- "key": "{br.tagCount.borderStyle.contrast.primary}",
515
- "$value": "1px solid #252f3e",
516
- "$type": "border",
517
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
518
- "isSource": true,
519
- "original": {
520
- "$value": {
521
- "color": "{br.color.background.contrast.primary}",
522
- "width": "{br.surface.borderWidth.sm}",
523
- "style": "solid"
524
- },
525
- "$type": "border",
526
- "key": "{br.tagCount.borderStyle.contrast.primary}"
527
- },
528
- "name": "brTagCountBorderStyleContrastPrimary",
529
- "attributes": {
530
- "category": "br",
531
- "type": "tagCount",
532
- "item": "borderStyle",
533
- "subitem": "contrast",
534
- "state": "primary"
535
- },
536
- "path": [
537
- "br",
538
- "tagCount",
539
- "borderStyle",
540
- "contrast",
541
- "primary"
542
- ]
543
- },
544
- "secondary": {
545
- "key": "{br.tagCount.borderStyle.contrast.secondary}",
546
- "$value": "1px solid #2f4668",
547
- "$type": "border",
548
- "filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
549
- "isSource": true,
550
- "original": {
551
- "$value": {
552
- "color": "{br.color.background.contrast.secondary}",
553
- "width": "{br.surface.borderWidth.sm}",
554
- "style": "solid"
555
- },
556
- "$type": "border",
557
- "key": "{br.tagCount.borderStyle.contrast.secondary}"
558
- },
559
- "name": "brTagCountBorderStyleContrastSecondary",
560
- "attributes": {
561
- "category": "br",
562
- "type": "tagCount",
563
- "item": "borderStyle",
564
- "subitem": "contrast",
565
- "state": "secondary"
566
- },
567
- "path": [
568
- "br",
569
- "tagCount",
570
- "borderStyle",
571
- "contrast",
572
- "secondary"
573
- ]
574
- }
575
- }
576
472
  }
577
473
  }
578
474
  }