@abgov/design-tokens 1.4.3 → 1.5.1

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 (36) hide show
  1. package/data/component-design-tokens/accordion-design-tokens.json +6 -4
  2. package/data/component-design-tokens/badge-design-tokens.json +96 -0
  3. package/data/component-design-tokens/button-design-tokens.json +326 -8
  4. package/data/component-design-tokens/button-group-design-tokens.json +12 -0
  5. package/data/component-design-tokens/checkbox-design-tokens.json +99 -0
  6. package/data/component-design-tokens/container-design-tokens.json +146 -0
  7. package/data/component-design-tokens/date-picker-design-tokens.json +102 -0
  8. package/data/component-design-tokens/details-design-tokens.json +84 -0
  9. package/data/component-design-tokens/divider-design-tokens.json +6 -0
  10. package/data/component-design-tokens/drawer-design-tokens.json +4 -11
  11. package/data/component-design-tokens/dropdown-design-tokens.json +110 -0
  12. package/data/component-design-tokens/file-uploader-design-tokens.json +102 -0
  13. package/data/component-design-tokens/footer-design-tokens.json +74 -0
  14. package/data/component-design-tokens/form-item-design-tokens.json +46 -0
  15. package/data/component-design-tokens/form-stepper-design-tokens.json +98 -0
  16. package/data/component-design-tokens/header-design-tokens.json +230 -0
  17. package/data/component-design-tokens/hero-banner-design-tokens.json +22 -0
  18. package/data/component-design-tokens/icon-button-design-tokens.json +74 -0
  19. package/data/component-design-tokens/input-design-tokens.json +90 -0
  20. package/data/component-design-tokens/microsite-header-design-tokens.json +66 -0
  21. package/data/component-design-tokens/modal-design-tokens.json +53 -0
  22. package/data/component-design-tokens/notification-banner-design-tokens.json +90 -0
  23. package/data/component-design-tokens/popover-design-tokens.json +26 -0
  24. package/data/component-design-tokens/progress-indicator-design-tokens.json +22 -0
  25. package/data/component-design-tokens/radio-design-tokens.json +138 -0
  26. package/data/component-design-tokens/scrollable-design-tokens.json +12 -0
  27. package/data/component-design-tokens/side-menu-design-tokens.json +174 -17
  28. package/data/component-design-tokens/skeleton-loading-design-tokens.json +6 -0
  29. package/data/component-design-tokens/table-design-tokens.json +4 -0
  30. package/data/component-design-tokens/tabs-design-tokens.json +78 -0
  31. package/data/component-design-tokens/text-area-design-tokens.json +67 -0
  32. package/data/component-design-tokens/tooltip-design-tokens.json +38 -0
  33. package/data/goa-global-design-tokens.json +63 -26
  34. package/dist/tokens.css +544 -18
  35. package/dist/tokens.scss +544 -18
  36. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ {
2
+ "tooltip-border-focus": {
3
+ "value": {
4
+ "width": "{borderWidth.l}",
5
+ "style": "solid",
6
+ "color": "{color.interactive.focus}"
7
+ },
8
+ "type": "border"
9
+ },
10
+ "tooltip-border-radius": {
11
+ "value": "{borderRadius.m}",
12
+ "type": "borderRadius"
13
+ },
14
+ "tooltip-color-bg": {
15
+ "value": "{color.greyscale.700}",
16
+ "type": "color"
17
+ },
18
+ "tooltip-color-text": {
19
+ "value": "{color.text.light}",
20
+ "type": "color"
21
+ },
22
+ "tooltip-gap": {
23
+ "value": "{space.2xs}",
24
+ "type": "spacing"
25
+ },
26
+ "tooltip-max-width": {
27
+ "value": "400px",
28
+ "type": "dimension"
29
+ },
30
+ "tooltip-padding": {
31
+ "value": "6px {space.m} 10px {space.m}",
32
+ "type": "spacing"
33
+ },
34
+ "tooltip-text-size": {
35
+ "value": "{typography.body.m}",
36
+ "type": "other"
37
+ }
38
+ }
@@ -120,7 +120,7 @@
120
120
  "type": "color"
121
121
  },
122
122
  "background": {
123
- "value": "#fff1f2",
123
+ "value": "#FFF6F6",
124
124
  "type": "color"
125
125
  }
126
126
  },
@@ -138,7 +138,7 @@
138
138
  "type": "color"
139
139
  },
140
140
  "background": {
141
- "value": "#eef9f3",
141
+ "value": "#F2FFFA",
142
142
  "type": "color"
143
143
  }
144
144
  },
@@ -290,28 +290,42 @@
290
290
  "value": "0",
291
291
  "type": "borderRadius"
292
292
  },
293
+ "s": {
294
+ "value": "0.125rem",
295
+ "type": "borderRadius",
296
+ "description": "2px"
297
+ },
293
298
  "m": {
294
299
  "value": "0.25rem",
295
- "type": "borderRadius"
300
+ "type": "borderRadius",
301
+ "description": "4px"
296
302
  },
297
303
  "l": {
298
304
  "value": "0.375rem",
299
- "type": "borderRadius"
305
+ "type": "borderRadius",
306
+ "description": "6px"
300
307
  },
301
308
  "xl": {
302
309
  "value": "0.5rem",
303
- "type": "borderRadius"
310
+ "type": "borderRadius",
311
+ "description": "8px"
304
312
  },
305
313
  "2xl": {
306
314
  "value": "0.625rem",
307
- "type": "borderRadius"
315
+ "type": "borderRadius",
316
+ "description": "10px"
308
317
  },
309
318
  "3xl": {
310
319
  "value": "0.75rem",
311
- "type": "borderRadius"
320
+ "type": "borderRadius",
321
+ "description": "12px"
312
322
  }
313
323
  },
314
324
  "borderWidth": {
325
+ "none": {
326
+ "value": "0px",
327
+ "type": "borderWidth"
328
+ },
315
329
  "2xs": {
316
330
  "value": "0.5px",
317
331
  "type": "borderWidth"
@@ -331,6 +345,10 @@
331
345
  "l": {
332
346
  "value": "3px",
333
347
  "type": "borderWidth"
348
+ },
349
+ "xl": {
350
+ "value": "4px",
351
+ "type": "borderWidth"
334
352
  }
335
353
  },
336
354
  "space": {
@@ -391,6 +409,36 @@
391
409
  }
392
410
  },
393
411
  "iconSize": {
412
+ "1": {
413
+ "value": "1rem",
414
+ "type": "sizing",
415
+ "description": "16px"
416
+ },
417
+ "2": {
418
+ "value": "1.125rem",
419
+ "type": "sizing",
420
+ "description": "18px"
421
+ },
422
+ "3": {
423
+ "value": "1.25rem",
424
+ "type": "sizing",
425
+ "description": "20px"
426
+ },
427
+ "4": {
428
+ "value": "1.5rem",
429
+ "type": "sizing",
430
+ "description": "24px"
431
+ },
432
+ "5": {
433
+ "value": "2rem",
434
+ "type": "sizing",
435
+ "description": "32px"
436
+ },
437
+ "6": {
438
+ "value": "2.5rem",
439
+ "type": "sizing",
440
+ "description": "40px"
441
+ },
394
442
  "s": {
395
443
  "value": "1rem",
396
444
  "type": "sizing",
@@ -407,7 +455,7 @@
407
455
  "description": "24px"
408
456
  }
409
457
  },
410
- "Shadow": {
458
+ "shadow": {
411
459
  "100": {
412
460
  "value": {
413
461
  "x": "0",
@@ -704,18 +752,6 @@
704
752
  "type": "typography"
705
753
  }
706
754
  },
707
- "button": {
708
- "default": {
709
- "value": {
710
- "fontFamily": "{fontFamily.sans}",
711
- "fontWeight": "{fontWeight.regular}",
712
- "fontSize": "{fontSize.4}",
713
- "lineHeight": "{lineHeight.1}",
714
- "letterSpacing": "{letterSpacing.button}"
715
- },
716
- "type": "typography"
717
- }
718
- },
719
755
  "number": {
720
756
  "s": {
721
757
  "value": {
@@ -746,11 +782,12 @@
746
782
  }
747
783
  }
748
784
  },
749
- "letterSpacing": {
750
- "button": {
751
- "value": "0.0125rem",
752
- "type": "letterSpacing",
753
- "description": "small letter spacing adjustment to slightly kern letters out for readability on buttons"
754
- }
785
+ "border-none": {
786
+ "value": {
787
+ "color": "rgba(0,0,0,0)",
788
+ "width": "{borderWidth.none}",
789
+ "style": "solid"
790
+ },
791
+ "type": "border"
755
792
  }
756
793
  }