@adobe/spectrum-tokens 14.15.0 → 15.1.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 (100) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/json/drover.json +19 -9
  3. package/dist/json/variables.json +23859 -23784
  4. package/manifest.json +85 -2
  5. package/naming-exceptions.json +174 -0
  6. package/package.json +1 -1
  7. package/schemas/token-types/angle.json +26 -0
  8. package/schemas/token-types/multiplier.json +1 -1
  9. package/snapshots/validation-snapshot.json +950 -747
  10. package/src/accordion.json +838 -0
  11. package/src/action-bar.json +96 -0
  12. package/src/action-button.json +80 -0
  13. package/src/alert-banner.json +143 -0
  14. package/src/alert-dialog.json +66 -0
  15. package/src/avatar-group.json +44 -0
  16. package/src/avatar.json +470 -0
  17. package/src/bar-panel.json +41 -0
  18. package/src/body.json +284 -0
  19. package/src/breadcrumbs.json +439 -0
  20. package/src/button.json +8 -0
  21. package/src/card-horizontal.json +29 -0
  22. package/src/card.json +366 -0
  23. package/src/checkbox.json +150 -0
  24. package/src/coach-indicator.json +56 -0
  25. package/src/coach-mark.json +211 -0
  26. package/src/code.json +188 -0
  27. package/src/collection-card.json +62 -0
  28. package/src/color-aliases.json +15 -0
  29. package/src/color-area.json +94 -0
  30. package/src/color-control.json +19 -0
  31. package/src/color-handle.json +105 -0
  32. package/src/color-loupe.json +67 -0
  33. package/src/color-palette.json +0 -18
  34. package/src/color-slider.json +60 -0
  35. package/src/color-wheel.json +54 -0
  36. package/src/combo-box.json +68 -0
  37. package/src/contextual-help.json +56 -0
  38. package/src/date-field.json +17 -0
  39. package/src/date-picker.json +24 -0
  40. package/src/detail.json +443 -0
  41. package/src/divider.json +32 -0
  42. package/src/double-calendar.json +14 -0
  43. package/src/drop-zone.json +96 -0
  44. package/src/field-label.json +274 -0
  45. package/src/field.json +293 -0
  46. package/src/floating-action-button.json +29 -0
  47. package/src/form-item.json +26 -0
  48. package/src/heading.json +616 -0
  49. package/src/help-text.json +46 -0
  50. package/src/illustrated-message.json +190 -0
  51. package/src/in-field-button.json +213 -0
  52. package/src/in-field-progress-circle.json +89 -0
  53. package/src/in-line-alert.json +8 -0
  54. package/src/layout-component.json +441 -13188
  55. package/src/layout.json +73 -300
  56. package/src/list-view.json +68 -0
  57. package/src/menu.json +519 -0
  58. package/src/meter.json +108 -0
  59. package/src/number-field.json +214 -0
  60. package/src/opacity-checkerboard.json +84 -0
  61. package/src/picker.json +111 -0
  62. package/src/popover.json +88 -0
  63. package/src/progress-bar.json +82 -0
  64. package/src/progress-circle.json +104 -0
  65. package/src/radio-button.json +156 -0
  66. package/src/rating.json +116 -0
  67. package/src/search-field.json +8 -0
  68. package/src/segmented-control.json +20 -0
  69. package/src/segmented-text-field.json +16 -0
  70. package/src/select-box.json +245 -0
  71. package/src/side-navigation.json +437 -0
  72. package/src/single-calendar.json +14 -0
  73. package/src/slider.json +770 -0
  74. package/src/stack-item.json +254 -0
  75. package/src/standard-dialog.json +60 -0
  76. package/src/standard-panel.json +92 -0
  77. package/src/status-light.json +186 -0
  78. package/src/steplist.json +112 -0
  79. package/src/swatch-group.json +23 -0
  80. package/src/swatch.json +124 -0
  81. package/src/switch.json +354 -0
  82. package/src/table.json +1849 -0
  83. package/src/tabs.json +882 -0
  84. package/src/tag-field.json +181 -0
  85. package/src/tag.json +306 -0
  86. package/src/takeover-dialog.json +14 -0
  87. package/src/text-area.json +36 -0
  88. package/src/text-field.json +8 -0
  89. package/src/thumbnail.json +236 -0
  90. package/src/time-field.json +17 -0
  91. package/src/title.json +272 -0
  92. package/src/toast.json +96 -0
  93. package/src/tooltip.json +59 -0
  94. package/src/tray.json +22 -0
  95. package/src/tree-view.json +420 -0
  96. package/src/triple-calendar.json +14 -0
  97. package/src/typography.json +0 -1493
  98. package/src/user-card.json +50 -0
  99. package/test/checkComponentProps.js +0 -1
  100. package/src/color-component.json +0 -611
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
2
2
 
3
+ ## 15.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1336](https://github.com/adobe/spectrum-design-data/pull/1336) [`9c697cf`](https://github.com/adobe/spectrum-design-data/commit/9c697cfcee3820ddc7bc3688ea000552de708641) Thanks [@GarthDB](https://github.com/GarthDB)! - Resolve SPEC-027 dangling `tokenBindings` via design-owner triage
8
+ (spectrum-design-data-vpk.1).
9
+ - **components/cards.json**: drop 4 `card-selection-background-corner-radius-*`
10
+ bindings — card-selection only has background-size/-color tokens, no
11
+ corner-radius family exists.
12
+ - **components/menu.json**: drop the `popover-submenu-to-menu-item-position`
13
+ binding — no "submenu" token exists anywhere in the dataset.
14
+ - **components/alert-dialog.json**: drop the `alert-dialog-top-to-alert-icon`
15
+ binding — no matching spacing token exists in the live Figma spec.
16
+ - **components/date-picker.json**: drop the 3 `range-border-dash-*` bindings —
17
+ the live spec documents a solid range fill, not a dashed border.
18
+ - **tokens/token-types/angle.json**: add a new `angle` token type (degrees) for
19
+ rotation/direction values like gradient angle.
20
+ - **tokens**: define 8 tokens confirmed live in Figma but missing from the
21
+ corpus — tabs gap/indicator-thickness, `neutral-content-color-selected-*`,
22
+ date-picker strikethrough thickness/angle and in-field-button gap.
23
+
24
+ ## 15.0.0
25
+
26
+ ### Major Changes
27
+
28
+ - [#1330](https://github.com/adobe/spectrum-design-data/pull/1330) [`afbadb2`](https://github.com/adobe/spectrum-design-data/commit/afbadb23a3ddd75640777909cdf97b849fc0daa7) Thanks [@GarthDB](https://github.com/GarthDB)! - Reorganize `src/` into per-component token files, following the CTR
29
+ migration in `@adobe/spectrum-design-data` (spectrum-design-data-x29.4).
30
+ Token content is unchanged byte-for-byte per token; only the file each
31
+ token lives in changes. Breaking for any consumer importing a specific
32
+ `src/*` path directly (`exports["./src/*"]`) rather than through the
33
+ package's aggregated output.
34
+ - **packages/tokens/src/{color-palette,layout-component,layout,typography}.json**:
35
+ name.component-scoped tokens removed.
36
+ - **packages/tokens/src/\*.json**: 84 new per-component files (e.g.
37
+ `body.json`, `popover.json`, `button.json`) holding the tokens moved
38
+ out of the files above.
39
+ - **packages/tokens/src/color-component.json**: removed — the cascade
40
+ source (`color-component.tokens.json`) now has 0 tokens post-migration,
41
+ so the legacy generator no longer emits this file.
42
+ - **packages/tokens/manifest.json**: regenerated (`node tasks/buildManifest.js`)
43
+ to include the 84 new per-component files; was stale after the reorg,
44
+ failing `checkManifest.test.js`.
45
+
3
46
  ## 14.15.0
4
47
 
5
48
  ### Minor Changes
@@ -461,6 +461,9 @@
461
461
  "neutral-content-color-focus-hover": "rgb(19, 19, 19)",
462
462
  "neutral-content-color-hover": "rgb(19, 19, 19)",
463
463
  "neutral-content-color-key-focus": "rgb(19, 19, 19)",
464
+ "neutral-content-color-selected-default": "rgb(41, 41, 41)",
465
+ "neutral-content-color-selected-hover": "rgb(19, 19, 19)",
466
+ "neutral-content-color-selected-key-focus": "rgb(19, 19, 19)",
464
467
  "neutral-subdued-background-color-default": "rgb(80, 80, 80)",
465
468
  "neutral-subdued-background-color-down": "rgb(41, 41, 41)",
466
469
  "neutral-subdued-background-color-hover": "rgb(41, 41, 41)",
@@ -1222,6 +1225,9 @@
1222
1225
  "neutral-content-color-focus-hover": "rgb(242, 242, 242)",
1223
1226
  "neutral-content-color-hover": "rgb(242, 242, 242)",
1224
1227
  "neutral-content-color-key-focus": "rgb(242, 242, 242)",
1228
+ "neutral-content-color-selected-default": "rgb(219, 219, 219)",
1229
+ "neutral-content-color-selected-hover": "rgb(242, 242, 242)",
1230
+ "neutral-content-color-selected-key-focus": "rgb(242, 242, 242)",
1225
1231
  "neutral-subdued-background-color-default": "rgb(109, 109, 109)",
1226
1232
  "neutral-subdued-background-color-down": "rgb(68, 68, 68)",
1227
1233
  "neutral-subdued-background-color-hover": "rgb(68, 68, 68)",
@@ -1782,11 +1788,7 @@
1782
1788
  "background-opacity-down": "0.1",
1783
1789
  "background-opacity-hover": "0.1",
1784
1790
  "background-opacity-key-focus": "0.1",
1785
- "banner-gap-horizontal": "24px",
1786
- "banner-gap-vertical": "8px",
1787
- "banner-padding-horizontal": "16px",
1788
1791
  "banner-padding-horizontal-compact": "8px",
1789
- "banner-padding-vertical": "12px",
1790
1792
  "bar-panel-maximum-width": "72px",
1791
1793
  "bar-panel-minimum-width": "40px",
1792
1794
  "bar-panel-spacing-extra-spacious": "20px",
@@ -2164,6 +2166,7 @@
2164
2166
  "date-field-minimum-width": "152px",
2165
2167
  "date-field-text-to-visual": "20px",
2166
2168
  "date-picker-minimum-width": "152px",
2169
+ "date-picker-text-to-in-field-button": "20px",
2167
2170
  "date-picker-text-to-visual": "0px",
2168
2171
  "date-picker-visual-to-field-button": "0px",
2169
2172
  "detail-cjk-line-height": 1.5,
@@ -2341,6 +2344,9 @@
2341
2344
  "form-item-gap-large": "6px",
2342
2345
  "form-item-gap-medium": "6px",
2343
2346
  "form-item-gap-small": "4px",
2347
+ "gap-horizontal": "24px",
2348
+ "gap-regular": "4px",
2349
+ "gap-vertical": "8px",
2344
2350
  "gradient-stop-2-avatar": 0.6666,
2345
2351
  "gradient-stop-2-genai": 0.3333,
2346
2352
  "gradient-stop-2-premium": 0.6666,
@@ -2458,7 +2464,6 @@
2458
2464
  "link-out-icon-size-400": "16px",
2459
2465
  "link-out-icon-size-75": "10px",
2460
2466
  "list-gap-compact": "2px",
2461
- "list-gap-regular": "4px",
2462
2467
  "list-gap-spacious": "8px",
2463
2468
  "list-indent-large": "24px",
2464
2469
  "list-indent-medium": "16px",
@@ -2523,6 +2528,8 @@
2523
2528
  "opacity-checkerboard-square-size-medium": "8px",
2524
2529
  "opacity-checkerboard-square-size-small": "4px",
2525
2530
  "opacity-disabled": "0.3",
2531
+ "padding-horizontal": "16px",
2532
+ "padding-vertical": "12px",
2526
2533
  "picker-border-width": "1px",
2527
2534
  "picker-end-edge-to-disclosure-icon-quiet": "0px",
2528
2535
  "picker-end-edge-to-disclousure-icon-quiet": "0px",
@@ -2679,7 +2686,7 @@
2679
2686
  "spacing-85": "6px",
2680
2687
  "spacing-900": "80px",
2681
2688
  "stack-item-action-to-navigation": "4px",
2682
- "stack-item-drag-handle-to-control": "8px",
2689
+ "stack-item-drag-handle-icon-to-control": "8px",
2683
2690
  "stack-item-edge-to-control": "12px",
2684
2691
  "stack-item-edge-to-visual": "12px",
2685
2692
  "stack-item-header-minimum-width": "200px",
@@ -2740,6 +2747,7 @@
2740
2747
  "steplist-visual-size-large": "24px",
2741
2748
  "steplist-visual-size-medium": "16px",
2742
2749
  "steplist-visual-size-small": "8px",
2750
+ "strikethrough-day-thickness": "2px",
2743
2751
  "swatch-border-opacity": "0.42",
2744
2752
  "swatch-disabled-icon-border-opacity": "0.42",
2745
2753
  "swatch-group-border-opacity": "0.2",
@@ -2801,6 +2809,7 @@
2801
2809
  "tab-item-start-to-edge-medium": "12px",
2802
2810
  "tab-item-start-to-edge-quiet": "0px",
2803
2811
  "tab-item-start-to-edge-small": "12px",
2812
+ "tab-item-to-tab-item-compact-horizontal-medium": "24px",
2804
2813
  "tab-item-to-tab-item-horizontal-extra-large": "30px",
2805
2814
  "tab-item-to-tab-item-horizontal-large": "27px",
2806
2815
  "tab-item-to-tab-item-horizontal-medium": "24px",
@@ -2825,6 +2834,7 @@
2825
2834
  "tab-item-top-to-workflow-icon-large": "17px",
2826
2835
  "tab-item-top-to-workflow-icon-medium": "15px",
2827
2836
  "tab-item-top-to-workflow-icon-small": "13px",
2837
+ "tab-selection-indicator-thickness": "2px",
2828
2838
  "table-border-divider-width": "1px",
2829
2839
  "table-checkbox-to-text": "24px",
2830
2840
  "table-column-header-row-bottom-to-text-extra-large": "13px",
@@ -3028,9 +3038,9 @@
3028
3038
  "tree-view-bottom-to-label": "12px",
3029
3039
  "tree-view-disclosure-indicator-height": "32px",
3030
3040
  "tree-view-disclosure-indicator-width": "34px",
3031
- "tree-view-drag-handle-to-checkbox": "8px",
3041
+ "tree-view-drag-handle-icon-to-checkbox": "8px",
3032
3042
  "tree-view-edge-to-checkbox": "12px",
3033
- "tree-view-edge-to-drag-handle": "4px",
3043
+ "tree-view-edge-to-drag-handle-icon": "4px",
3034
3044
  "tree-view-end-edge-to-action-area": "6px",
3035
3045
  "tree-view-header-to-item": "-1px",
3036
3046
  "tree-view-item-to-header": "24px",
@@ -3047,7 +3057,7 @@
3047
3057
  "tree-view-top-to-action-button": "4px",
3048
3058
  "tree-view-top-to-checkbox": "4px",
3049
3059
  "tree-view-top-to-disclosure-indicator": "15px",
3050
- "tree-view-top-to-drag-handle": "15px",
3060
+ "tree-view-top-to-drag-handle-icon": "15px",
3051
3061
  "tree-view-top-to-label": "10px",
3052
3062
  "triple-calendar-popover-minimum-height": "320px",
3053
3063
  "triple-calendar-popover-minimum-width": "912px",