@adobe/spectrum-tokens 14.11.0 → 14.13.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.
- package/CHANGELOG.md +109 -0
- package/LICENSE +1 -1
- package/dist/json/drover.json +14 -5
- package/dist/json/variables.json +6446 -6361
- package/moon.yml +14 -0
- package/package.json +1 -1
- package/schemas/token-types/alias.json +49 -8
- package/schemas/token-types/multiplier.json +1 -1
- package/schemas/token-types/token.json +6 -2
- package/src/color-aliases.json +1121 -1121
- package/src/color-component.json +228 -228
- package/src/color-palette.json +3152 -3152
- package/src/icons.json +586 -693
- package/src/layout-component.json +4569 -4627
- package/src/layout.json +1420 -1353
- package/src/semantic-color-palette.json +228 -228
- package/src/typography.json +768 -768
- package/test/schemaValidators/alias.test.js +48 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,114 @@
|
|
|
1
1
|
# [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
|
|
2
2
|
|
|
3
|
+
## 14.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1152](https://github.com/adobe/spectrum-design-data/pull/1152) [`2573230`](https://github.com/adobe/spectrum-design-data/commit/2573230d0ccd39214adae0fde0c4a52e997445ca) Thanks [@GarthDB](https://github.com/GarthDB)! - ## Token sync from Spectrum Tokens Studio
|
|
8
|
+
|
|
9
|
+
**Original implementer:** @NateBaldwinDesign
|
|
10
|
+
|
|
11
|
+
### Design motivation
|
|
12
|
+
|
|
13
|
+
Updated `base-padding-horizontal` tokens to follow S2 Web 2.0 design team's recommendations. Original values looked irregular when applied to Buttons. New values work for Buttons and all other base components per their review.
|
|
14
|
+
|
|
15
|
+
### Token changes
|
|
16
|
+
|
|
17
|
+
## Tokens Changed (24)
|
|
18
|
+
|
|
19
|
+
**Original Branch:** `396f5f8b`
|
|
20
|
+
**New Branch:** `f84bce21`
|
|
21
|
+
|
|
22
|
+
<details open><summary><strong>Added (9)</strong></summary>
|
|
23
|
+
|
|
24
|
+
- `group-gap-extra-large-spacious`
|
|
25
|
+
- `group-gap-extra-small-spacious`
|
|
26
|
+
- `group-gap-large-spacious`
|
|
27
|
+
- `group-gap-medium-spacious`
|
|
28
|
+
- `group-gap-small-spacious`
|
|
29
|
+
- `form-item-gap-extra-large`
|
|
30
|
+
- `form-item-gap-large`
|
|
31
|
+
- `form-item-gap-medium`
|
|
32
|
+
- `form-item-gap-small`
|
|
33
|
+
</details>
|
|
34
|
+
|
|
35
|
+
### Updated (15)
|
|
36
|
+
|
|
37
|
+
<details open><summary><strong>Added Properties (5)</strong></summary>
|
|
38
|
+
|
|
39
|
+
- `base-padding-horizontal-2x-large`
|
|
40
|
+
- `desktop.schema`: `dimension.json`
|
|
41
|
+
- `desktop.value`: `18px`
|
|
42
|
+
- `desktop.uuid`: `1a49e758-b070-4d85-97c5-0f9cc786999b`
|
|
43
|
+
- `mobile.schema`: `dimension.json`
|
|
44
|
+
- `mobile.value`: `14px`
|
|
45
|
+
- `mobile.uuid`: `4f4ff59b-d91a-46fa-9388-b5ae49445d6f`
|
|
46
|
+
- `base-padding-horizontal-extra-large`
|
|
47
|
+
- `desktop.schema`: `dimension.json`
|
|
48
|
+
- `desktop.value`: `16px`
|
|
49
|
+
- `desktop.uuid`: `b32fb20b-31a7-43da-ba38-b9a177d0cffa`
|
|
50
|
+
- `mobile.schema`: `dimension.json`
|
|
51
|
+
- `mobile.value`: `12px`
|
|
52
|
+
- `mobile.uuid`: `698fa3d4-32dc-4cd2-bb79-d320effd8674`
|
|
53
|
+
- `base-padding-horizontal-large`
|
|
54
|
+
- `desktop.schema`: `dimension.json`
|
|
55
|
+
- `desktop.value`: `14px`
|
|
56
|
+
- `desktop.uuid`: `ece70425-e509-45cc-8336-76fc8afdb921`
|
|
57
|
+
- `mobile.schema`: `dimension.json`
|
|
58
|
+
- `mobile.value`: `12px`
|
|
59
|
+
- `mobile.uuid`: `38e5af78-cb3e-4ff4-9849-28f9d4c56a38`
|
|
60
|
+
- `base-padding-horizontal-medium`
|
|
61
|
+
- `desktop.schema`: `dimension.json`
|
|
62
|
+
- `desktop.value`: `12px`
|
|
63
|
+
- `desktop.uuid`: `52a75511-eb1b-4de2-a1bb-959365d8dc1a`
|
|
64
|
+
- `mobile.schema`: `dimension.json`
|
|
65
|
+
- `mobile.value`: `10px`
|
|
66
|
+
- `mobile.uuid`: `71731484-e759-4a5f-89ed-9fe04ac19aed`
|
|
67
|
+
- `base-padding-horizontal-small` - `desktop.schema`: `dimension.json` - `desktop.value`: `10px` - `desktop.uuid`: `ba072414-2cdd-4773-86a5-11ca47c08e23` - `mobile.schema`: `dimension.json` - `mobile.value`: `8px` - `mobile.uuid`: `6b43633d-8f29-4c24-b26e-687d6f161bce`
|
|
68
|
+
</details>
|
|
69
|
+
<details open><summary><strong>Deleted Properties (5)</strong></summary>
|
|
70
|
+
|
|
71
|
+
- `base-padding-horizontal-2x-large`
|
|
72
|
+
- `value`: -> `14px`
|
|
73
|
+
- `base-padding-horizontal-extra-large`
|
|
74
|
+
- `value`: -> `12px`
|
|
75
|
+
- `base-padding-horizontal-large`
|
|
76
|
+
- `value`: -> `12px`
|
|
77
|
+
- `base-padding-horizontal-medium`
|
|
78
|
+
- `value`: -> `10px`
|
|
79
|
+
- `base-padding-horizontal-small` - `value`: -> `8px`
|
|
80
|
+
</details>
|
|
81
|
+
<details open><summary><strong>Updated Properties (5)</strong></summary>
|
|
82
|
+
|
|
83
|
+
- `base-padding-horizontal-2x-large`
|
|
84
|
+
- `schema`: `dimension.json` -> `scale-set.json`
|
|
85
|
+
- `base-padding-horizontal-extra-large`
|
|
86
|
+
- `schema`: `dimension.json` -> `scale-set.json`
|
|
87
|
+
- `base-padding-horizontal-large`
|
|
88
|
+
- `schema`: `dimension.json` -> `scale-set.json`
|
|
89
|
+
- `base-padding-horizontal-medium`
|
|
90
|
+
- `schema`: `dimension.json` -> `scale-set.json`
|
|
91
|
+
- `base-padding-horizontal-small` - `schema`: `dimension.json` -> `scale-set.json`
|
|
92
|
+
</details>
|
|
93
|
+
|
|
94
|
+
### References
|
|
95
|
+
- Tokens Studio PR: https://github.com/adobe/spectrum-tokens-studio-data/pull/306
|
|
96
|
+
- Spectrum Tokens PR: https://github.com/adobe/spectrum-design-data/pull/1150
|
|
97
|
+
|
|
98
|
+
## 14.12.0
|
|
99
|
+
|
|
100
|
+
### Minor Changes
|
|
101
|
+
|
|
102
|
+
- [#1126](https://github.com/adobe/spectrum-design-data/pull/1126) [`60a4835`](https://github.com/adobe/spectrum-design-data/commit/60a4835e245965639a4ac89b41d2884dd63a0bbb) Thanks [@GarthDB](https://github.com/GarthDB)! - Add SPEC-043 domain-identifying fields to all 72 typography token name objects
|
|
103
|
+
(closes #1125).
|
|
104
|
+
- **tokens/typography.tokens.json**: add `weight` (font-weight × 6, composite × 15),
|
|
105
|
+
`style` (× 2), `family` (× 4), `scaleIndex` (font-size × 36), `structure` (margin
|
|
106
|
+
multipliers × 5), and `scaleIndex`+`family:cjk` (line-height × 4) — zero SPEC-043
|
|
107
|
+
advisory warnings for this file.
|
|
108
|
+
- **registry/scale-values.json**: add `25` entry for `font-size-25` (`scaleIndex: 25`).
|
|
109
|
+
- **spec/taxonomy.md**: add `structure` row to the typography field table; broaden
|
|
110
|
+
NORMATIVE SHOULD clause to all five fields accepted by SPEC-043.
|
|
111
|
+
|
|
3
112
|
## 14.11.0
|
|
4
113
|
|
|
5
114
|
### Minor Changes
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@ file or class name and description of purpose be included on the
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 Adobe
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/dist/json/drover.json
CHANGED
|
@@ -1799,12 +1799,12 @@
|
|
|
1799
1799
|
"base-gap-large": "6px",
|
|
1800
1800
|
"base-gap-medium": "6px",
|
|
1801
1801
|
"base-gap-small": "4px",
|
|
1802
|
-
"base-padding-horizontal-2x-large": "
|
|
1803
|
-
"base-padding-horizontal-extra-large": "
|
|
1802
|
+
"base-padding-horizontal-2x-large": "18px",
|
|
1803
|
+
"base-padding-horizontal-extra-large": "16px",
|
|
1804
1804
|
"base-padding-horizontal-extra-small": "8px",
|
|
1805
|
-
"base-padding-horizontal-large": "
|
|
1806
|
-
"base-padding-horizontal-medium": "
|
|
1807
|
-
"base-padding-horizontal-small": "
|
|
1805
|
+
"base-padding-horizontal-large": "14px",
|
|
1806
|
+
"base-padding-horizontal-medium": "12px",
|
|
1807
|
+
"base-padding-horizontal-small": "10px",
|
|
1808
1808
|
"base-padding-horizontal-uniform-2x-large": "15px",
|
|
1809
1809
|
"base-padding-horizontal-uniform-2x-small": "2px",
|
|
1810
1810
|
"base-padding-horizontal-uniform-extra-large": "13px",
|
|
@@ -2337,16 +2337,25 @@
|
|
|
2337
2337
|
"font-size-75": "12px",
|
|
2338
2338
|
"font-size-800": "32px",
|
|
2339
2339
|
"font-size-900": "36px",
|
|
2340
|
+
"form-item-gap-extra-large": "6px",
|
|
2341
|
+
"form-item-gap-large": "6px",
|
|
2342
|
+
"form-item-gap-medium": "6px",
|
|
2343
|
+
"form-item-gap-small": "4px",
|
|
2340
2344
|
"gradient-stop-2-avatar": 0.6666,
|
|
2341
2345
|
"gradient-stop-2-genai": 0.3333,
|
|
2342
2346
|
"gradient-stop-2-premium": 0.6666,
|
|
2343
2347
|
"gripper-icon-size-100": "24px",
|
|
2344
2348
|
"group-gap-compact": "2px",
|
|
2345
2349
|
"group-gap-extra-large": "16px",
|
|
2350
|
+
"group-gap-extra-large-spacious": "24px",
|
|
2346
2351
|
"group-gap-extra-small": "4px",
|
|
2352
|
+
"group-gap-extra-small-spacious": "8px",
|
|
2347
2353
|
"group-gap-large": "12px",
|
|
2354
|
+
"group-gap-large-spacious": "20px",
|
|
2348
2355
|
"group-gap-medium": "8px",
|
|
2356
|
+
"group-gap-medium-spacious": "16px",
|
|
2349
2357
|
"group-gap-small": "6px",
|
|
2358
|
+
"group-gap-small-spacious": "12px",
|
|
2350
2359
|
"heading-cjk-line-height": 1.5,
|
|
2351
2360
|
"heading-cjk-size-l": "25px",
|
|
2352
2361
|
"heading-cjk-size-m": "20px",
|