@adobe/spectrum-tokens 15.7.0 → 15.9.0

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 (62) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/json/drover.json +162 -12
  3. package/dist/json/variables.json +1157 -101
  4. package/naming-exceptions.json +18 -0
  5. package/package.json +1 -1
  6. package/snapshots/validation-snapshot.json +21 -0
  7. package/src/accordion.json +4 -1
  8. package/src/action-bar.json +8 -2
  9. package/src/alert-banner.json +8 -2
  10. package/src/alert-dialog.json +4 -1
  11. package/src/avatar-group.json +28 -7
  12. package/src/avatar.json +68 -17
  13. package/src/button.json +4 -1
  14. package/src/card.json +83 -22
  15. package/src/checkbox.json +16 -4
  16. package/src/coach-mark.json +20 -5
  17. package/src/collection-card.json +40 -10
  18. package/src/color-loupe.json +8 -2
  19. package/src/color-slider.json +4 -1
  20. package/src/color-wheel.json +2 -2
  21. package/src/combo-box.json +4 -1
  22. package/src/contextual-help.json +4 -1
  23. package/src/divider.json +20 -5
  24. package/src/drop-zone.json +4 -1
  25. package/src/field.json +16 -40
  26. package/src/illustrated-message.json +5 -2
  27. package/src/in-field-progress-circle.json +16 -4
  28. package/src/in-line-alert.json +4 -1
  29. package/src/layout-component.json +793 -1
  30. package/src/layout.json +683 -10
  31. package/src/list-view.json +8 -2
  32. package/src/meter.json +25 -7
  33. package/src/number-field.json +20 -5
  34. package/src/picker.json +4 -1
  35. package/src/progress-bar.json +20 -5
  36. package/src/progress-circle.json +12 -3
  37. package/src/radio-button.json +16 -4
  38. package/src/rating.json +8 -2
  39. package/src/search-field.json +4 -1
  40. package/src/segmented-control.json +8 -2
  41. package/src/select-box.json +16 -4
  42. package/src/side-navigation.json +16 -4
  43. package/src/slider.json +36 -9
  44. package/src/standard-dialog.json +12 -3
  45. package/src/standard-panel.json +11 -3
  46. package/src/status-light.json +16 -4
  47. package/src/steplist.json +40 -13
  48. package/src/swatch.json +20 -5
  49. package/src/switch.json +16 -4
  50. package/src/table.json +40 -16
  51. package/src/tabs.json +16 -4
  52. package/src/tag-field.json +28 -7
  53. package/src/takeover-dialog.json +6 -2
  54. package/src/text-area.json +8 -2
  55. package/src/text-field.json +4 -1
  56. package/src/thumbnail.json +48 -12
  57. package/src/toast.json +8 -2
  58. package/src/tooltip.json +8 -5
  59. package/src/tree-view.json +8 -2
  60. package/src/user-card.json +32 -8
  61. package/test/checkSetsUnique.js +9 -0
  62. package/test/sizeRefinements.test.js +261 -0
package/src/slider.json CHANGED
@@ -531,6 +531,8 @@
531
531
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
532
532
  "component": "slider",
533
533
  "uuid": "20b237d5-bc48-444b-af9f-262fca263017",
534
+ "deprecated": true,
535
+ "deprecated_comment": "The slider handles could and should appear similar to other controls in the system. They seem too large in context next to Checkbox or Radio or Switch.",
534
536
  "sets": {
535
537
  "desktop": {
536
538
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -542,7 +544,8 @@
542
544
  "value": "30px",
543
545
  "uuid": "caa26be5-d26c-4e5a-aae8-87e0380920da"
544
546
  }
545
- }
547
+ },
548
+ "renamed": "control-size-extra-large"
546
549
  },
547
550
  "slider-handle-gap": {
548
551
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -555,6 +558,8 @@
555
558
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
556
559
  "component": "slider",
557
560
  "uuid": "09bfdc82-d00d-4ccd-aa0e-50165eb25b86",
561
+ "deprecated": true,
562
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
558
563
  "sets": {
559
564
  "desktop": {
560
565
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -566,12 +571,15 @@
566
571
  "value": "32px",
567
572
  "uuid": "01ca9561-7b0b-4030-ba1b-85d336537ebc"
568
573
  }
569
- }
574
+ },
575
+ "renamed": "control-size-extra-large"
570
576
  },
571
577
  "slider-handle-height-precision-large": {
572
578
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
573
579
  "component": "slider",
574
580
  "uuid": "ebeccac6-b463-430e-bbdb-35bc6df037c4",
581
+ "deprecated": true,
582
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
575
583
  "sets": {
576
584
  "desktop": {
577
585
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -583,12 +591,15 @@
583
591
  "value": "30px",
584
592
  "uuid": "5aa8e5c5-2156-49e6-9bb8-ad99b4a1b997"
585
593
  }
586
- }
594
+ },
595
+ "renamed": "control-size-large"
587
596
  },
588
597
  "slider-handle-height-precision-medium": {
589
598
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
590
599
  "component": "slider",
591
600
  "uuid": "cd14d5d1-8002-444b-9f61-8067a8a4bc42",
601
+ "deprecated": true,
602
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
592
603
  "sets": {
593
604
  "desktop": {
594
605
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -600,12 +611,15 @@
600
611
  "value": "26px",
601
612
  "uuid": "18e1a338-5256-41a4-88f7-76b7fb3911c6"
602
613
  }
603
- }
614
+ },
615
+ "renamed": "control-size-medium"
604
616
  },
605
617
  "slider-handle-height-precision-small": {
606
618
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
607
619
  "component": "slider",
608
620
  "uuid": "6350ac7a-e459-43c7-bc3b-19665cd14dab",
621
+ "deprecated": true,
622
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
609
623
  "sets": {
610
624
  "desktop": {
611
625
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -617,12 +631,15 @@
617
631
  "value": "24px",
618
632
  "uuid": "a93712dc-247e-46f4-bb42-d2d1b8896d7e"
619
633
  }
620
- }
634
+ },
635
+ "renamed": "control-size-small"
621
636
  },
622
637
  "slider-handle-large": {
623
638
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
624
639
  "component": "slider",
625
640
  "uuid": "5996b0a0-c3a0-4b3e-9d11-207af0956ce7",
641
+ "deprecated": true,
642
+ "deprecated_comment": "The slider handles could and should appear similar to other controls in the system. They seem too large in context next to Checkbox or Radio or Switch.",
626
643
  "sets": {
627
644
  "desktop": {
628
645
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -634,12 +651,15 @@
634
651
  "value": "28px",
635
652
  "uuid": "3f14b28b-1289-4a72-89b0-b2fbcf54325e"
636
653
  }
637
- }
654
+ },
655
+ "renamed": "control-size-large"
638
656
  },
639
657
  "slider-handle-medium": {
640
658
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
641
659
  "component": "slider",
642
660
  "uuid": "33313db4-702e-4730-af46-2c7b419e5b39",
661
+ "deprecated": true,
662
+ "deprecated_comment": "The slider handles could and should appear similar to other controls in the system. They seem too large in context next to Checkbox or Radio or Switch.",
643
663
  "sets": {
644
664
  "desktop": {
645
665
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -651,13 +671,17 @@
651
671
  "value": "24px",
652
672
  "uuid": "b17da639-665a-4a4c-8105-f30503b823a0"
653
673
  }
654
- }
674
+ },
675
+ "renamed": "control-size-medium"
655
676
  },
656
677
  "slider-handle-precision-width": {
657
678
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
658
679
  "component": "slider",
659
680
  "value": "6px",
660
- "uuid": "94045357-9bb7-4d16-b035-342465834a92"
681
+ "uuid": "94045357-9bb7-4d16-b035-342465834a92",
682
+ "deprecated": true,
683
+ "deprecated_comment": "Consolidated into the shared thickness-* scale.",
684
+ "renamed": "bar-thickness-medium"
661
685
  },
662
686
  "slider-handle-size-extra-large": {
663
687
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
@@ -735,6 +759,8 @@
735
759
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
736
760
  "component": "slider",
737
761
  "uuid": "20a6802a-e741-47a7-9279-4bf7e2f024df",
762
+ "deprecated": true,
763
+ "deprecated_comment": "The slider handles could and should appear similar to other controls in the system. They seem too large in context next to Checkbox or Radio or Switch.",
738
764
  "sets": {
739
765
  "desktop": {
740
766
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -746,7 +772,8 @@
746
772
  "value": "22px",
747
773
  "uuid": "fea1de33-ef0f-4c50-ab19-75542f995d35"
748
774
  }
749
- }
775
+ },
776
+ "renamed": "control-size-small"
750
777
  },
751
778
  "slider-track-height-large": {
752
779
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -20,19 +20,28 @@
20
20
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
21
21
  "component": "standard-dialog",
22
22
  "value": "640px",
23
- "uuid": "5ec703d4-19d9-4be5-976f-e4c1966c0d3d"
23
+ "uuid": "5ec703d4-19d9-4be5-976f-e4c1966c0d3d",
24
+ "deprecated": true,
25
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
26
+ "renamed": "container-maximum-width-3x-large"
24
27
  },
25
28
  "standard-dialog-maximum-width-medium": {
26
29
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
27
30
  "component": "standard-dialog",
28
31
  "value": "480px",
29
- "uuid": "1c886eb9-f651-42ce-baff-9b3996077f92"
32
+ "uuid": "1c886eb9-f651-42ce-baff-9b3996077f92",
33
+ "deprecated": true,
34
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
35
+ "renamed": "container-maximum-width-2x-large"
30
36
  },
31
37
  "standard-dialog-maximum-width-small": {
32
38
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
33
39
  "component": "standard-dialog",
34
40
  "value": "400px",
35
- "uuid": "c00d9b06-f198-4cd5-9b69-ed3796314dab"
41
+ "uuid": "c00d9b06-f198-4cd5-9b69-ed3796314dab",
42
+ "deprecated": true,
43
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
44
+ "renamed": "container-maximum-width-extra-large"
36
45
  },
37
46
  "standard-dialog-minimum-width": {
38
47
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -42,13 +42,19 @@
42
42
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
43
43
  "component": "standard-panel",
44
44
  "value": "400px",
45
- "uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360"
45
+ "uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360",
46
+ "deprecated": true,
47
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
48
+ "renamed": "container-maximum-width-extra-large"
46
49
  },
47
50
  "standard-panel-minimum-width": {
48
51
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
49
52
  "component": "standard-panel",
50
53
  "value": "200px",
51
- "uuid": "37ab7428-8175-409f-8e74-55e51a962139"
54
+ "uuid": "37ab7428-8175-409f-8e74-55e51a962139",
55
+ "deprecated": true,
56
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
57
+ "renamed": "container-minimum-width-medium"
52
58
  },
53
59
  "standard-panel-title-font-size": {
54
60
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
@@ -87,6 +93,8 @@
87
93
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
88
94
  "component": "standard-panel",
89
95
  "value": "260px",
90
- "uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992"
96
+ "uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992",
97
+ "deprecated": true,
98
+ "deprecated_comment": "Manually adjusted per t-shirt size, bounded by separate min/max tokens; not appropriate for a foundational token."
91
99
  }
92
100
  }
@@ -3,6 +3,8 @@
3
3
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
4
4
  "component": "status-light",
5
5
  "uuid": "f9e72a05-af00-42b8-a8d8-072e48f1eb76",
6
+ "deprecated": true,
7
+ "deprecated_comment": "Status light dot’s will be updated to match the UI icon size. These status dots are not provided via the UI Icon library, but their size & usage are aligned.",
6
8
  "sets": {
7
9
  "desktop": {
8
10
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -14,12 +16,15 @@
14
16
  "value": "16px",
15
17
  "uuid": "38b8d9c8-d340-4123-88bc-f739cfde91e9"
16
18
  }
17
- }
19
+ },
20
+ "renamed": "ui-icon-extra-large"
18
21
  },
19
22
  "status-light-dot-size-large": {
20
23
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
21
24
  "component": "status-light",
22
25
  "uuid": "b9201338-95e8-46d3-a786-7f2a2cca767a",
26
+ "deprecated": true,
27
+ "deprecated_comment": "Status light dot’s will be updated to match the UI icon size. These status dots are not provided via the UI Icon library, but their size & usage are aligned.",
23
28
  "sets": {
24
29
  "desktop": {
25
30
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -31,12 +36,15 @@
31
36
  "value": "14px",
32
37
  "uuid": "6554dae9-18b6-4c90-b2f4-8aeaab0724ad"
33
38
  }
34
- }
39
+ },
40
+ "renamed": "ui-icon-large"
35
41
  },
36
42
  "status-light-dot-size-medium": {
37
43
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
38
44
  "component": "status-light",
39
45
  "uuid": "08ed6bf4-5759-4bfb-98fe-1562032b59fe",
46
+ "deprecated": true,
47
+ "deprecated_comment": "Status light dot’s will be updated to match the UI icon size. These status dots are not provided via the UI Icon library, but their size & usage are aligned.",
40
48
  "sets": {
41
49
  "desktop": {
42
50
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -48,12 +56,15 @@
48
56
  "value": "12px",
49
57
  "uuid": "a7fc9ca1-ad6d-47cb-8798-4a18ba4acc79"
50
58
  }
51
- }
59
+ },
60
+ "renamed": "ui-icon-medium"
52
61
  },
53
62
  "status-light-dot-size-small": {
54
63
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
55
64
  "component": "status-light",
56
65
  "uuid": "17b26aa3-b67b-45cc-8653-6cf8adc63b45",
66
+ "deprecated": true,
67
+ "deprecated_comment": "Status light dot’s will be updated to match the UI icon size. These status dots are not provided via the UI Icon library, but their size & usage are aligned.",
57
68
  "sets": {
58
69
  "desktop": {
59
70
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -65,7 +76,8 @@
65
76
  "value": "10px",
66
77
  "uuid": "5945e9fe-311a-4d2c-8052-ca4eae4c7c63"
67
78
  }
68
- }
79
+ },
80
+ "renamed": "ui-icon-small"
69
81
  },
70
82
  "status-light-text-to-visual-100": {
71
83
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
package/src/steplist.json CHANGED
@@ -11,79 +11,106 @@
11
11
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
12
12
  "component": "steplist",
13
13
  "value": "78px",
14
- "uuid": "201dc21b-a416-443c-afca-6801cabf31a5"
14
+ "uuid": "201dc21b-a416-443c-afca-6801cabf31a5",
15
+ "deprecated": true,
16
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
15
17
  },
16
18
  "steplist-step-default-height-large": {
17
19
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
18
20
  "component": "steplist",
19
21
  "value": "70px",
20
- "uuid": "912f3b78-d09e-4700-a637-5fefc71960c2"
22
+ "uuid": "912f3b78-d09e-4700-a637-5fefc71960c2",
23
+ "deprecated": true,
24
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
21
25
  },
22
26
  "steplist-step-default-height-medium": {
23
27
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
24
28
  "component": "steplist",
25
29
  "value": "54px",
26
- "uuid": "732ea53c-5929-4d31-beef-4ffd60f79c0e"
30
+ "uuid": "732ea53c-5929-4d31-beef-4ffd60f79c0e",
31
+ "deprecated": true,
32
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
27
33
  },
28
34
  "steplist-step-default-height-small": {
29
35
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
30
36
  "component": "steplist",
31
37
  "value": "46px",
32
- "uuid": "205e9849-ecb4-4df6-8f59-a6d9b1458a72"
38
+ "uuid": "205e9849-ecb4-4df6-8f59-a6d9b1458a72",
39
+ "deprecated": true,
40
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
33
41
  },
34
42
  "steplist-step-default-width-extra-large": {
35
43
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
36
44
  "component": "steplist",
37
45
  "value": "78px",
38
- "uuid": "0b435546-8368-4fb1-a8a1-c50b14b26ae2"
46
+ "uuid": "0b435546-8368-4fb1-a8a1-c50b14b26ae2",
47
+ "deprecated": true,
48
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
39
49
  },
40
50
  "steplist-step-default-width-large": {
41
51
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
42
52
  "component": "steplist",
43
53
  "value": "70px",
44
- "uuid": "f4bae4c5-208e-45d7-94ac-6c9355087224"
54
+ "uuid": "f4bae4c5-208e-45d7-94ac-6c9355087224",
55
+ "deprecated": true,
56
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
45
57
  },
46
58
  "steplist-step-default-width-medium": {
47
59
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
48
60
  "component": "steplist",
49
61
  "value": "54px",
50
- "uuid": "8606a7f5-fa38-4081-b0a6-4633e7442bd1"
62
+ "uuid": "8606a7f5-fa38-4081-b0a6-4633e7442bd1",
63
+ "deprecated": true,
64
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
51
65
  },
52
66
  "steplist-step-default-width-small": {
53
67
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
54
68
  "component": "steplist",
55
69
  "value": "46px",
56
- "uuid": "5fe717d5-b262-46d8-8386-5a94070337c2"
70
+ "uuid": "5fe717d5-b262-46d8-8386-5a94070337c2",
71
+ "deprecated": true,
72
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
57
73
  },
58
74
  "steplist-step-to-track-size-extra-large": {
59
75
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
60
76
  "component": "steplist",
61
77
  "value": "9px",
62
- "uuid": "bbff5dad-42bf-44f0-a34d-b6733360d28b"
78
+ "uuid": "bbff5dad-42bf-44f0-a34d-b6733360d28b",
79
+ "deprecated": true,
80
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
63
81
  },
64
82
  "steplist-step-to-track-size-large": {
65
83
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
66
84
  "component": "steplist",
67
85
  "value": "8px",
68
- "uuid": "e8d064e4-3bdb-4fef-97e8-db596d5d2fab"
86
+ "uuid": "e8d064e4-3bdb-4fef-97e8-db596d5d2fab",
87
+ "deprecated": true,
88
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
69
89
  },
70
90
  "steplist-step-to-track-size-medium": {
71
91
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
72
92
  "component": "steplist",
73
93
  "value": "7px",
74
- "uuid": "3a6f8cf2-d250-4af6-8641-f0ffd4c789b3"
94
+ "uuid": "3a6f8cf2-d250-4af6-8641-f0ffd4c789b3",
95
+ "deprecated": true,
96
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
75
97
  },
76
98
  "steplist-step-to-track-size-small": {
77
99
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
78
100
  "component": "steplist",
79
101
  "value": "6px",
80
- "uuid": "80d29ff2-a2ca-4987-9fa2-6799ba6aa416"
102
+ "uuid": "80d29ff2-a2ca-4987-9fa2-6799ba6aa416",
103
+ "deprecated": true,
104
+ "deprecated_comment": "Component-specific value; not appropriate for a foundational token."
81
105
  },
82
106
  "steplist-track-thickness-medium": {
83
107
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
84
108
  "component": "steplist",
85
109
  "value": "2px",
86
- "uuid": "d4db995b-1eff-44cc-8abc-93324a3af119"
110
+ "uuid": "d4db995b-1eff-44cc-8abc-93324a3af119",
111
+ "deprecated": true,
112
+ "deprecated_comment": "Consolidated into the shared thickness-size-* scale.",
113
+ "renamed": "bar-thickness-extra-small"
87
114
  },
88
115
  "steplist-visual-size-extra-large": {
89
116
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
package/src/swatch.json CHANGED
@@ -27,12 +27,17 @@
27
27
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/multiplier.json",
28
28
  "component": "swatch",
29
29
  "value": 2,
30
- "uuid": "b3157e9d-82a0-429e-b987-8c240a669af7"
30
+ "uuid": "b3157e9d-82a0-429e-b987-8c240a669af7",
31
+ "deprecated": true,
32
+ "deprecated_comment": "Replaced by the shared aspect-ratio scale.",
33
+ "renamed": "aspect-ratio-500"
31
34
  },
32
35
  "swatch-size-extra-small": {
33
36
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
34
37
  "component": "swatch",
35
38
  "uuid": "2c8536c7-5a08-4516-b253-e38239923cf2",
39
+ "deprecated": true,
40
+ "deprecated_comment": "remapped to visual sizing for visual elements (avatar, thumbnails, etc)",
36
41
  "sets": {
37
42
  "desktop": {
38
43
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -44,12 +49,15 @@
44
49
  "value": "20px",
45
50
  "uuid": "0d926e1a-080a-41ba-8bb9-ef6d0847cb77"
46
51
  }
47
- }
52
+ },
53
+ "renamed": "visual-size-50"
48
54
  },
49
55
  "swatch-size-large": {
50
56
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
51
57
  "component": "swatch",
52
58
  "uuid": "700b9bd6-a462-4d9d-a573-ac9faafc3c43",
59
+ "deprecated": true,
60
+ "deprecated_comment": "remapped to visual sizing for visual elements (avatar, thumbnails, etc)",
53
61
  "sets": {
54
62
  "desktop": {
55
63
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -61,12 +69,15 @@
61
69
  "value": "50px",
62
70
  "uuid": "162c1233-3420-44a2-a270-97d0a7c23df1"
63
71
  }
64
- }
72
+ },
73
+ "renamed": "visual-size-500"
65
74
  },
66
75
  "swatch-size-medium": {
67
76
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
68
77
  "component": "swatch",
69
78
  "uuid": "daa2f451-5297-4ed2-9926-e1cb25b06b30",
79
+ "deprecated": true,
80
+ "deprecated_comment": "remapped to visual sizing for visual elements (avatar, thumbnails, etc)",
70
81
  "sets": {
71
82
  "desktop": {
72
83
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -78,12 +89,15 @@
78
89
  "value": "40px",
79
90
  "uuid": "77be7e79-a589-4f32-9e42-ea45ed7763aa"
80
91
  }
81
- }
92
+ },
93
+ "renamed": "visual-size-300"
82
94
  },
83
95
  "swatch-size-small": {
84
96
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
85
97
  "component": "swatch",
86
98
  "uuid": "0bf0f836-51dd-455c-a152-e841c4cff582",
99
+ "deprecated": true,
100
+ "deprecated_comment": "remapped to visual sizing for visual elements (avatar, thumbnails, etc)",
87
101
  "sets": {
88
102
  "desktop": {
89
103
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -95,7 +109,8 @@
95
109
  "value": "30px",
96
110
  "uuid": "c8d8e379-1e3f-4f5e-bce3-df3fc05ff16e"
97
111
  }
98
- }
112
+ },
113
+ "renamed": "visual-size-100"
99
114
  },
100
115
  "swatch-slash-thickness-extra-small": {
101
116
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
package/src/switch.json CHANGED
@@ -3,6 +3,8 @@
3
3
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
4
4
  "component": "switch",
5
5
  "uuid": "49d5c54a-8aeb-4cd2-9499-9cb05a3ab599",
6
+ "deprecated": true,
7
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
6
8
  "sets": {
7
9
  "desktop": {
8
10
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -14,12 +16,15 @@
14
16
  "value": "26px",
15
17
  "uuid": "b7ae7b32-b347-4e09-9978-3b0b92a4dbab"
16
18
  }
17
- }
19
+ },
20
+ "renamed": "control-size-extra-large"
18
21
  },
19
22
  "switch-control-height-large": {
20
23
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
21
24
  "component": "switch",
22
25
  "uuid": "3253cbd9-6ba1-494b-b464-2109db29381a",
26
+ "deprecated": true,
27
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
23
28
  "sets": {
24
29
  "desktop": {
25
30
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -31,12 +36,15 @@
31
36
  "value": "22px",
32
37
  "uuid": "91b828ce-8ff9-4d32-958e-a8a23ef9b345"
33
38
  }
34
- }
39
+ },
40
+ "renamed": "control-size-large"
35
41
  },
36
42
  "switch-control-height-medium": {
37
43
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
38
44
  "component": "switch",
39
45
  "uuid": "db115429-09a3-4a6f-b05c-a89d7349a554",
46
+ "deprecated": true,
47
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
40
48
  "sets": {
41
49
  "desktop": {
42
50
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -48,12 +56,15 @@
48
56
  "value": "20px",
49
57
  "uuid": "0d5f13f2-4d5b-4c30-b3a3-fa4fcc33b928"
50
58
  }
51
- }
59
+ },
60
+ "renamed": "control-size-medium"
52
61
  },
53
62
  "switch-control-height-small": {
54
63
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
55
64
  "component": "switch",
56
65
  "uuid": "d4af5ddb-949f-41c1-87eb-d8298b7b1f74",
66
+ "deprecated": true,
67
+ "deprecated_comment": "Consolidated into the shared control-size-* scale.",
57
68
  "sets": {
58
69
  "desktop": {
59
70
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -65,7 +76,8 @@
65
76
  "value": "18px",
66
77
  "uuid": "a1dbcaf0-bbcf-444d-9d22-7f86db20303a"
67
78
  }
68
- }
79
+ },
80
+ "renamed": "control-size-small"
69
81
  },
70
82
  "switch-control-width-extra-large": {
71
83
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",