@adobe/spectrum-tokens 14.6.0 → 14.8.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 +64 -4
- package/dist/json/drover.json +8 -311
- package/dist/json/variables.json +539 -4038
- package/naming-exceptions.json +632 -3543
- package/package.json +1 -1
- package/schemas/token-file.json +1 -1
- package/schemas/token-types/{text-align.json → alignment.json} +4 -4
- package/snapshots/validation-snapshot.json +21 -175
- package/src/color-aliases.json +27 -262
- package/src/color-component.json +17 -161
- package/src/color-palette.json +2212 -369
- package/src/icons.json +23 -454
- package/src/layout-component.json +516 -1450
- package/src/layout.json +38 -132
- package/src/semantic-color-palette.json +5 -45
- package/src/typography.json +67 -741
- package/test/checkComponentProps.js +4 -6
- package/schemas/token-types/typography-scale.json +0 -82
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,73 @@
|
|
|
1
1
|
# [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
|
|
2
2
|
|
|
3
|
+
## 14.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#963](https://github.com/adobe/spectrum-design-data/pull/963) [`af22092`](https://github.com/adobe/spectrum-design-data/commit/af22092744c70af7ce0c659e16cdabe31b92b111) Thanks [@GarthDB](https://github.com/GarthDB)! - Pilot name-object migration: add structured `name` fields to color palette and
|
|
8
|
+
font-weight tokens (closes first phase of taxonomy corpus migration).
|
|
9
|
+
- **color-palette.json**: 369 tokens gain `name: { property, colorFamily, scaleIndex? }`.
|
|
10
|
+
- **typography.json**: 6 canonical font-weight tokens gain `name: { property, weight }`.
|
|
11
|
+
- **design-system-registry**: export the six new taxonomy registries added in #961 via
|
|
12
|
+
the package.json `exports` map; add `propertyTerms` named export to `index.js`.
|
|
13
|
+
- **tools/token-corpus-migrate**: new migration tool for injecting name objects;
|
|
14
|
+
run dry-run with `node tools/token-corpus-migrate/src/cli.js --root <tokens-src>`,
|
|
15
|
+
apply with `--write`.
|
|
16
|
+
|
|
17
|
+
## 14.7.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#842](https://github.com/adobe/spectrum-design-data/pull/842) [`c28702f`](https://github.com/adobe/spectrum-design-data/commit/c28702f19ad408d3dc1461bb059a1c7125f7d32f) Thanks [@mrcjhicks](https://github.com/mrcjhicks)! - ## Token sync from Spectrum Tokens Studio
|
|
22
|
+
|
|
23
|
+
**Original implementer:** @larz0
|
|
24
|
+
|
|
25
|
+
### Design motivation
|
|
26
|
+
|
|
27
|
+
"Highlight selection is a visual treatment used in components (like list views, tables, or tree views) to indicate that an item is selected, without relying on checkboxes or radio buttons. It’s helpful when we want to avoid clutter or don’t want users interacting with extra controls like checkboxes."
|
|
28
|
+
|
|
29
|
+
### Token changes
|
|
30
|
+
|
|
31
|
+
## Tokens Changed (8)
|
|
32
|
+
|
|
33
|
+
**Original Branch:** `main`
|
|
34
|
+
**New Branch:** `tokens-sync/patch-spectrum2-from-main`
|
|
35
|
+
|
|
36
|
+
<details open><summary><strong>Newly "Un-deprecated" (1)</strong></summary>
|
|
37
|
+
- `stack-item-item-to-item`
|
|
38
|
+
</details>
|
|
39
|
+
<details open><summary><strong>Added (5)</strong></summary>
|
|
40
|
+
- `stack-item-selected-background-opacity-highlight`
|
|
41
|
+
- `stack-item-selected-background-opacity-highlight-hover`
|
|
42
|
+
- `vertical-align-items`
|
|
43
|
+
- `stack-item-minimum-padding-vertical`
|
|
44
|
+
- `stack-item-selected-background-color-highlight`
|
|
45
|
+
</details>
|
|
46
|
+
|
|
47
|
+
### Updated (2)
|
|
48
|
+
|
|
49
|
+
<details open><summary><strong>Updated Properties (2)</strong></summary>
|
|
50
|
+
- `stack-item-item-to-item`
|
|
51
|
+
- `value`: `-1px` -> `0px`
|
|
52
|
+
- `stack-item-selected-background-color-down` - `value`: `{gray-200}` -> `{gray-300}`
|
|
53
|
+
</details>
|
|
54
|
+
|
|
55
|
+
### References
|
|
56
|
+
- Tokens Studio PR: https://github.com/adobe/spectrum-tokens-studio-data/pull/303
|
|
57
|
+
- Spectrum Tokens PR: https://github.com/adobe/spectrum-design-data/pull/842
|
|
58
|
+
|
|
3
59
|
## 14.6.0
|
|
4
60
|
|
|
5
61
|
### Minor Changes
|
|
6
62
|
|
|
7
|
-
- [#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
63
|
+
- [#840](https://github.com/adobe/spectrum-design-data/pull/840) [`b11942c`](https://github.com/adobe/spectrum-design-data/commit/b11942cf52ec0077cfd53d8cb70ca722dc88c2e0) Thanks [@GarthDB](https://github.com/GarthDB)! - Generalize the `text-align` token type schema to `alignment`. The schema's
|
|
64
|
+
file name (`text-align.json` → `alignment.json`), `$id`
|
|
65
|
+
(`…/token-types/text-align.json` → `…/token-types/alignment.json`), title,
|
|
66
|
+
and description now describe a generic single-axis alignment value usable
|
|
67
|
+
for horizontal, vertical, or text alignment. The enum
|
|
68
|
+
(`start | center | end`) and default (`start`) are unchanged, and the
|
|
69
|
+
`text-align-*` token names are unchanged. Consumers referencing the old
|
|
70
|
+
schema `$id` or file path must update.
|
|
11
71
|
|
|
12
72
|
## 14.5.0
|
|
13
73
|
|