@adobe/spectrum-tokens 14.15.0 → 15.0.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 (98) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/json/drover.json +9 -9
  3. package/dist/json/variables.json +23717 -23717
  4. package/manifest.json +85 -2
  5. package/naming-exceptions.json +150 -0
  6. package/package.json +1 -1
  7. package/schemas/token-types/multiplier.json +1 -1
  8. package/snapshots/validation-snapshot.json +922 -747
  9. package/src/accordion.json +838 -0
  10. package/src/action-bar.json +96 -0
  11. package/src/action-button.json +80 -0
  12. package/src/alert-banner.json +143 -0
  13. package/src/alert-dialog.json +66 -0
  14. package/src/avatar-group.json +44 -0
  15. package/src/avatar.json +470 -0
  16. package/src/bar-panel.json +41 -0
  17. package/src/body.json +284 -0
  18. package/src/breadcrumbs.json +439 -0
  19. package/src/button.json +8 -0
  20. package/src/card-horizontal.json +29 -0
  21. package/src/card.json +366 -0
  22. package/src/checkbox.json +150 -0
  23. package/src/coach-indicator.json +56 -0
  24. package/src/coach-mark.json +211 -0
  25. package/src/code.json +188 -0
  26. package/src/collection-card.json +62 -0
  27. package/src/color-area.json +94 -0
  28. package/src/color-control.json +19 -0
  29. package/src/color-handle.json +105 -0
  30. package/src/color-loupe.json +67 -0
  31. package/src/color-palette.json +0 -18
  32. package/src/color-slider.json +60 -0
  33. package/src/color-wheel.json +54 -0
  34. package/src/combo-box.json +68 -0
  35. package/src/contextual-help.json +56 -0
  36. package/src/date-field.json +17 -0
  37. package/src/date-picker.json +24 -0
  38. package/src/detail.json +443 -0
  39. package/src/divider.json +32 -0
  40. package/src/double-calendar.json +14 -0
  41. package/src/drop-zone.json +96 -0
  42. package/src/field-label.json +274 -0
  43. package/src/field.json +293 -0
  44. package/src/floating-action-button.json +29 -0
  45. package/src/form-item.json +26 -0
  46. package/src/heading.json +616 -0
  47. package/src/help-text.json +46 -0
  48. package/src/illustrated-message.json +190 -0
  49. package/src/in-field-button.json +213 -0
  50. package/src/in-field-progress-circle.json +89 -0
  51. package/src/in-line-alert.json +8 -0
  52. package/src/layout-component.json +441 -13188
  53. package/src/layout.json +44 -306
  54. package/src/list-view.json +68 -0
  55. package/src/menu.json +519 -0
  56. package/src/meter.json +108 -0
  57. package/src/number-field.json +214 -0
  58. package/src/opacity-checkerboard.json +84 -0
  59. package/src/picker.json +111 -0
  60. package/src/popover.json +88 -0
  61. package/src/progress-bar.json +82 -0
  62. package/src/progress-circle.json +104 -0
  63. package/src/radio-button.json +156 -0
  64. package/src/rating.json +116 -0
  65. package/src/search-field.json +8 -0
  66. package/src/segmented-control.json +20 -0
  67. package/src/segmented-text-field.json +16 -0
  68. package/src/select-box.json +245 -0
  69. package/src/side-navigation.json +437 -0
  70. package/src/single-calendar.json +14 -0
  71. package/src/slider.json +770 -0
  72. package/src/stack-item.json +254 -0
  73. package/src/standard-dialog.json +60 -0
  74. package/src/standard-panel.json +92 -0
  75. package/src/status-light.json +186 -0
  76. package/src/steplist.json +112 -0
  77. package/src/swatch-group.json +23 -0
  78. package/src/swatch.json +124 -0
  79. package/src/switch.json +354 -0
  80. package/src/table.json +1849 -0
  81. package/src/tabs.json +882 -0
  82. package/src/tag-field.json +181 -0
  83. package/src/tag.json +306 -0
  84. package/src/takeover-dialog.json +14 -0
  85. package/src/text-area.json +36 -0
  86. package/src/text-field.json +8 -0
  87. package/src/thumbnail.json +236 -0
  88. package/src/time-field.json +17 -0
  89. package/src/title.json +272 -0
  90. package/src/toast.json +96 -0
  91. package/src/tooltip.json +59 -0
  92. package/src/tray.json +22 -0
  93. package/src/tree-view.json +420 -0
  94. package/src/triple-calendar.json +14 -0
  95. package/src/typography.json +0 -1493
  96. package/src/user-card.json +50 -0
  97. package/test/checkComponentProps.js +0 -1
  98. package/src/color-component.json +0 -611
package/manifest.json CHANGED
@@ -1,10 +1,93 @@
1
1
  [
2
+ "src/user-card.json",
2
3
  "src/typography.json",
4
+ "src/triple-calendar.json",
5
+ "src/tree-view.json",
6
+ "src/tray.json",
7
+ "src/tooltip.json",
8
+ "src/toast.json",
9
+ "src/title.json",
10
+ "src/time-field.json",
11
+ "src/thumbnail.json",
12
+ "src/text-field.json",
13
+ "src/text-area.json",
14
+ "src/takeover-dialog.json",
15
+ "src/tag.json",
16
+ "src/tag-field.json",
17
+ "src/tabs.json",
18
+ "src/table.json",
19
+ "src/switch.json",
20
+ "src/swatch.json",
21
+ "src/swatch-group.json",
22
+ "src/steplist.json",
23
+ "src/status-light.json",
24
+ "src/standard-panel.json",
25
+ "src/standard-dialog.json",
26
+ "src/stack-item.json",
27
+ "src/slider.json",
28
+ "src/single-calendar.json",
29
+ "src/side-navigation.json",
3
30
  "src/semantic-color-palette.json",
31
+ "src/select-box.json",
32
+ "src/segmented-text-field.json",
33
+ "src/segmented-control.json",
34
+ "src/search-field.json",
35
+ "src/rating.json",
36
+ "src/radio-button.json",
37
+ "src/progress-circle.json",
38
+ "src/progress-bar.json",
39
+ "src/popover.json",
40
+ "src/picker.json",
41
+ "src/opacity-checkerboard.json",
42
+ "src/number-field.json",
43
+ "src/meter.json",
44
+ "src/menu.json",
45
+ "src/list-view.json",
4
46
  "src/layout.json",
5
47
  "src/layout-component.json",
48
+ "src/in-line-alert.json",
49
+ "src/in-field-progress-circle.json",
50
+ "src/in-field-button.json",
51
+ "src/illustrated-message.json",
6
52
  "src/icons.json",
53
+ "src/help-text.json",
54
+ "src/heading.json",
55
+ "src/form-item.json",
56
+ "src/floating-action-button.json",
57
+ "src/field.json",
58
+ "src/field-label.json",
59
+ "src/drop-zone.json",
60
+ "src/double-calendar.json",
61
+ "src/divider.json",
62
+ "src/detail.json",
63
+ "src/date-picker.json",
64
+ "src/date-field.json",
65
+ "src/contextual-help.json",
66
+ "src/combo-box.json",
67
+ "src/color-wheel.json",
68
+ "src/color-slider.json",
7
69
  "src/color-palette.json",
8
- "src/color-component.json",
9
- "src/color-aliases.json"
70
+ "src/color-loupe.json",
71
+ "src/color-handle.json",
72
+ "src/color-control.json",
73
+ "src/color-area.json",
74
+ "src/color-aliases.json",
75
+ "src/collection-card.json",
76
+ "src/code.json",
77
+ "src/coach-mark.json",
78
+ "src/coach-indicator.json",
79
+ "src/checkbox.json",
80
+ "src/card.json",
81
+ "src/card-horizontal.json",
82
+ "src/button.json",
83
+ "src/breadcrumbs.json",
84
+ "src/body.json",
85
+ "src/bar-panel.json",
86
+ "src/avatar.json",
87
+ "src/avatar-group.json",
88
+ "src/alert-dialog.json",
89
+ "src/alert-banner.json",
90
+ "src/action-button.json",
91
+ "src/action-bar.json",
92
+ "src/accordion.json"
10
93
  ]
@@ -2,6 +2,24 @@
2
2
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/naming-exceptions.json",
3
3
  "description": "Legacy token names that cannot be deterministically generated from a structured name object. Each entry tracks a known inconsistency for future remediation.",
4
4
  "exceptions": [
5
+ {
6
+ "token": "gradient-stop-1-avatar",
7
+ "file": "color-palette.json",
8
+ "category": "component-ordering",
9
+ "reason": "Legacy name is property-then-component (category: component-ordering); canonical generation order is component-then-property"
10
+ },
11
+ {
12
+ "token": "gradient-stop-2-avatar",
13
+ "file": "color-palette.json",
14
+ "category": "component-ordering",
15
+ "reason": "Legacy name is property-then-component (category: component-ordering); canonical generation order is component-then-property"
16
+ },
17
+ {
18
+ "token": "gradient-stop-3-avatar",
19
+ "file": "color-palette.json",
20
+ "category": "component-ordering",
21
+ "reason": "Legacy name is property-then-component (category: component-ordering); canonical generation order is component-then-property"
22
+ },
5
23
  {
6
24
  "token": "drop-shadow-emphasized-default-color",
7
25
  "file": "color-aliases.json",
@@ -1190,6 +1208,30 @@
1190
1208
  "category": "anatomy-decomposition",
1191
1209
  "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key after routing this anatomy sub-part token to its real parent component"
1192
1210
  },
1211
+ {
1212
+ "token": "tab-gap-horizontal-extra-large",
1213
+ "file": "layout.json",
1214
+ "category": "anatomy-decomposition",
1215
+ "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key; 'tab' resolves via decomposer alias to anatomy term tab-item, whose canonical serialization diverges from the original 'tab' segment"
1216
+ },
1217
+ {
1218
+ "token": "tab-gap-horizontal-large",
1219
+ "file": "layout.json",
1220
+ "category": "anatomy-decomposition",
1221
+ "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key; 'tab' resolves via decomposer alias to anatomy term tab-item, whose canonical serialization diverges from the original 'tab' segment"
1222
+ },
1223
+ {
1224
+ "token": "tab-gap-horizontal-medium",
1225
+ "file": "layout.json",
1226
+ "category": "anatomy-decomposition",
1227
+ "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key; 'tab' resolves via decomposer alias to anatomy term tab-item, whose canonical serialization diverges from the original 'tab' segment"
1228
+ },
1229
+ {
1230
+ "token": "tab-gap-horizontal-small",
1231
+ "file": "layout.json",
1232
+ "category": "anatomy-decomposition",
1233
+ "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key; 'tab' resolves via decomposer alias to anatomy term tab-item, whose canonical serialization diverges from the original 'tab' segment"
1234
+ },
1193
1235
  {
1194
1236
  "token": "tab-item-bottom-to-text-compact-extra-large",
1195
1237
  "file": "layout-component.json",
@@ -1459,6 +1501,114 @@
1459
1501
  "file": "layout-component.json",
1460
1502
  "category": "anatomy-decomposition",
1461
1503
  "reason": "Does not roundtrip through canonical generation rules (category: anatomy-decomposition) \u2014 legacyKey pinned to preserve the published key after routing this anatomy sub-part token to its real parent component"
1504
+ },
1505
+ {
1506
+ "token": "field-edge-to-alert-icon-extra-large",
1507
+ "file": "layout.json",
1508
+ "category": "state-position",
1509
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1510
+ },
1511
+ {
1512
+ "token": "field-edge-to-alert-icon-large",
1513
+ "file": "layout.json",
1514
+ "category": "state-position",
1515
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1516
+ },
1517
+ {
1518
+ "token": "field-edge-to-alert-icon-medium",
1519
+ "file": "layout.json",
1520
+ "category": "state-position",
1521
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1522
+ },
1523
+ {
1524
+ "token": "field-edge-to-alert-icon-quiet",
1525
+ "file": "layout.json",
1526
+ "category": "state-position",
1527
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1528
+ },
1529
+ {
1530
+ "token": "field-edge-to-alert-icon-small",
1531
+ "file": "layout.json",
1532
+ "category": "state-position",
1533
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1534
+ },
1535
+ {
1536
+ "token": "field-edge-to-validation-icon-extra-large",
1537
+ "file": "layout.json",
1538
+ "category": "state-position",
1539
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1540
+ },
1541
+ {
1542
+ "token": "field-edge-to-validation-icon-large",
1543
+ "file": "layout.json",
1544
+ "category": "state-position",
1545
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1546
+ },
1547
+ {
1548
+ "token": "field-edge-to-validation-icon-medium",
1549
+ "file": "layout.json",
1550
+ "category": "state-position",
1551
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1552
+ },
1553
+ {
1554
+ "token": "field-edge-to-validation-icon-quiet",
1555
+ "file": "layout.json",
1556
+ "category": "state-position",
1557
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1558
+ },
1559
+ {
1560
+ "token": "field-edge-to-validation-icon-small",
1561
+ "file": "layout.json",
1562
+ "category": "state-position",
1563
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1564
+ },
1565
+ {
1566
+ "token": "field-top-to-alert-icon-extra-large",
1567
+ "file": "layout.json",
1568
+ "category": "state-position",
1569
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1570
+ },
1571
+ {
1572
+ "token": "field-top-to-alert-icon-large",
1573
+ "file": "layout.json",
1574
+ "category": "state-position",
1575
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1576
+ },
1577
+ {
1578
+ "token": "field-top-to-alert-icon-medium",
1579
+ "file": "layout.json",
1580
+ "category": "state-position",
1581
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1582
+ },
1583
+ {
1584
+ "token": "field-top-to-alert-icon-small",
1585
+ "file": "layout.json",
1586
+ "category": "state-position",
1587
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1588
+ },
1589
+ {
1590
+ "token": "field-top-to-validation-icon-extra-large",
1591
+ "file": "layout.json",
1592
+ "category": "state-position",
1593
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1594
+ },
1595
+ {
1596
+ "token": "field-top-to-validation-icon-large",
1597
+ "file": "layout.json",
1598
+ "category": "state-position",
1599
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1600
+ },
1601
+ {
1602
+ "token": "field-top-to-validation-icon-medium",
1603
+ "file": "layout.json",
1604
+ "category": "state-position",
1605
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1606
+ },
1607
+ {
1608
+ "token": "field-top-to-validation-icon-small",
1609
+ "file": "layout.json",
1610
+ "category": "state-position",
1611
+ "reason": "Does not roundtrip through canonical generation rules (category: state-position)"
1462
1612
  }
1463
1613
  ]
1464
1614
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "14.15.0",
3
+ "version": "15.0.0",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/multiplier.json",
4
4
  "title": "Multiplier",
5
- "description": "A float used to multiply a value by a given amount. Used for line-height and margin multipliers.",
5
+ "description": "A float used to multiply a value by a given amount. Used for line-height, margin, and width/height (dimension) multipliers.",
6
6
  "type": "object",
7
7
  "allOf": [
8
8
  {