@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/field.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": "field",
5
5
  "uuid": "5ab58f4b-2493-499a-ab97-f7533de2c5fa",
6
+ "deprecated": true,
7
+ "deprecated_comment": "Consolidated into the shared field-width-* 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": "288px",
15
17
  "uuid": "068a256a-8dfc-4616-bdc1-8895441ba90b"
16
18
  }
17
- }
19
+ },
20
+ "renamed": "field-width-extra-large"
18
21
  },
19
22
  "field-default-width-large": {
20
23
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
21
24
  "component": "field",
22
25
  "uuid": "4b7418ca-2384-4470-bfca-d8f742681740",
26
+ "deprecated": true,
27
+ "deprecated_comment": "Consolidated into the shared field-width-* 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": "272px",
32
37
  "uuid": "88dfd273-555a-49bc-9271-a63ad45964e2"
33
38
  }
34
- }
39
+ },
40
+ "renamed": "field-width-large"
35
41
  },
36
42
  "field-default-width-medium": {
37
43
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
38
44
  "component": "field",
39
45
  "uuid": "7e5eb477-85b4-46c3-a5eb-ac986b3298e2",
46
+ "deprecated": true,
47
+ "deprecated_comment": "Consolidated into the shared field-width-* 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": "256px",
49
57
  "uuid": "db379ff6-9ef2-44ee-9fce-32f1a53d68da"
50
58
  }
51
- }
59
+ },
60
+ "renamed": "field-width-medium"
52
61
  },
53
62
  "field-default-width-small": {
54
63
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
55
64
  "component": "field",
56
65
  "uuid": "2fe6f129-a722-46ca-9f87-2cebcd2faa38",
66
+ "deprecated": true,
67
+ "deprecated_comment": "Consolidated into the shared field-width-* 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": "240px",
66
77
  "uuid": "976298d3-326f-43da-aa71-bbd2dc1fad3d"
67
78
  }
68
- }
79
+ },
80
+ "renamed": "field-width-small"
69
81
  },
70
82
  "field-edge-to-border-quiet": {
71
83
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -253,41 +265,5 @@
253
265
  }
254
266
  },
255
267
  "renamed": "field-default-width-medium"
256
- },
257
- "field-width-extra-large": {
258
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
259
- "component": "field",
260
- "value": "{field-default-width-extra-large}",
261
- "uuid": "a903b595-ffe8-43ae-af9b-7b6577191dc5",
262
- "deprecated": true,
263
- "deprecated_comment": "This token has been deprecated, use field-default-width-extra-large instead.",
264
- "renamed": "field-default-width-extra-large"
265
- },
266
- "field-width-large": {
267
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
268
- "component": "field",
269
- "value": "{field-default-width-large}",
270
- "uuid": "cc43e053-1255-403f-aaf5-2182f5438592",
271
- "deprecated": true,
272
- "deprecated_comment": "This token has been deprecated, use field-default-width-large instead.",
273
- "renamed": "field-default-width-large"
274
- },
275
- "field-width-medium": {
276
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
277
- "component": "field",
278
- "value": "{field-default-width-medium}",
279
- "uuid": "935927d3-b25e-468a-999a-938643901e50",
280
- "deprecated": true,
281
- "deprecated_comment": "This token has been deprecated, use field-default-width-medium instead.",
282
- "renamed": "field-default-width-medium"
283
- },
284
- "field-width-small": {
285
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
286
- "component": "field",
287
- "value": "{field-default-width-small}",
288
- "uuid": "d316d676-b4cf-4d16-b89c-63ef1d969861",
289
- "deprecated": true,
290
- "deprecated_comment": "This token has been deprecated, use field-default-width-small instead.",
291
- "renamed": "field-default-width-small"
292
268
  }
293
269
  }
@@ -21,7 +21,10 @@
21
21
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
22
22
  "component": "illustrated-message",
23
23
  "value": "535px",
24
- "uuid": "4413ee4d-86b1-4d88-b2ee-64c0939698b9"
24
+ "uuid": "4413ee4d-86b1-4d88-b2ee-64c0939698b9",
25
+ "deprecated": true,
26
+ "deprecated_comment": "Consolidated into the shared container-maximum-width-* scale.",
27
+ "renamed": "container-maximum-width-2x-large"
25
28
  },
26
29
  "illustrated-message-large-body-font-size": {
27
30
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
@@ -184,7 +187,7 @@
184
187
  "illustrated-message-vertical-maximum-width": {
185
188
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
186
189
  "component": "illustrated-message",
187
- "value": "380px",
190
+ "value": "352px",
188
191
  "uuid": "95c055b0-f688-4405-8426-1b2302e32ebd"
189
192
  }
190
193
  }
@@ -22,6 +22,8 @@
22
22
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
23
23
  "component": "in-field-progress-circle",
24
24
  "uuid": "f065dfac-d6f2-4b7e-9a3d-b4808cd3ef55",
25
+ "deprecated": true,
26
+ "deprecated_comment": "Consolidated into the shared workflow-icon-* scale.",
25
27
  "sets": {
26
28
  "desktop": {
27
29
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -33,12 +35,15 @@
33
35
  "value": "24px",
34
36
  "uuid": "c522b33c-93b8-491f-b4df-c241f5b5ade8"
35
37
  }
36
- }
38
+ },
39
+ "renamed": "workflow-icon-medium"
37
40
  },
38
41
  "in-field-progress-circle-size-200": {
39
42
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
40
43
  "component": "in-field-progress-circle",
41
44
  "uuid": "444565d9-c91a-40f5-a0a8-0829f29060ad",
45
+ "deprecated": true,
46
+ "deprecated_comment": "Consolidated into the shared workflow-icon-* scale.",
42
47
  "sets": {
43
48
  "desktop": {
44
49
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -50,12 +55,15 @@
50
55
  "value": "28px",
51
56
  "uuid": "85377238-7488-42e0-99ce-f4fd73316d24"
52
57
  }
53
- }
58
+ },
59
+ "renamed": "workflow-icon-large"
54
60
  },
55
61
  "in-field-progress-circle-size-300": {
56
62
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
57
63
  "component": "in-field-progress-circle",
58
64
  "uuid": "8cb3472c-d320-42bb-b29e-527b6298bb4a",
65
+ "deprecated": true,
66
+ "deprecated_comment": "Consolidated into the shared workflow-icon-* scale.",
59
67
  "sets": {
60
68
  "desktop": {
61
69
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -67,12 +75,15 @@
67
75
  "value": "30px",
68
76
  "uuid": "9e740bd1-b98a-416a-be82-20e222cab3b1"
69
77
  }
70
- }
78
+ },
79
+ "renamed": "workflow-icon-extra-large"
71
80
  },
72
81
  "in-field-progress-circle-size-75": {
73
82
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
74
83
  "component": "in-field-progress-circle",
75
84
  "uuid": "a25ad27d-24c6-4332-838b-5c0605ec38bb",
85
+ "deprecated": true,
86
+ "deprecated_comment": "Consolidated into the shared workflow-icon-* scale.",
76
87
  "sets": {
77
88
  "desktop": {
78
89
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -84,6 +95,7 @@
84
95
  "value": "18px",
85
96
  "uuid": "c43c89a6-2ae5-4d29-99ab-2c64e153d4e7"
86
97
  }
87
- }
98
+ },
99
+ "renamed": "workflow-icon-small"
88
100
  }
89
101
  }
@@ -3,6 +3,9 @@
3
3
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
4
4
  "component": "in-line-alert",
5
5
  "value": "240px",
6
- "uuid": "8007ebd8-fd67-4dc2-8444-9e6a50c88675"
6
+ "uuid": "8007ebd8-fd67-4dc2-8444-9e6a50c88675",
7
+ "deprecated": true,
8
+ "deprecated_comment": "Consolidated into the shared banner-* scale.",
9
+ "renamed": "banner-minimum-width-large"
7
10
  }
8
11
  }