@adobe/spectrum-tokens 14.10.0 → 14.12.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 +39 -0
- package/dist/json/variables.json +6337 -6457
- 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 +2852 -4695
- package/src/icons.json +550 -858
- package/src/layout-component.json +4545 -4627
- package/src/layout.json +1335 -1348
- package/src/semantic-color-palette.json +228 -228
- package/src/typography.json +720 -912
- package/test/schemaValidators/alias.test.js +48 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
|
|
2
2
|
|
|
3
|
+
## 14.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
(closes #1125).
|
|
9
|
+
- **tokens/typography.tokens.json**: add `weight` (font-weight × 6, composite × 15),
|
|
10
|
+
`style` (× 2), `family` (× 4), `scaleIndex` (font-size × 36), `structure` (margin
|
|
11
|
+
multipliers × 5), and `scaleIndex`+`family:cjk` (line-height × 4) — zero SPEC-043
|
|
12
|
+
advisory warnings for this file.
|
|
13
|
+
- **registry/scale-values.json**: add `25` entry for `font-size-25` (`scaleIndex: 25`).
|
|
14
|
+
- **spec/taxonomy.md**: add `structure` row to the typography field table; broaden
|
|
15
|
+
NORMATIVE SHOULD clause to all five fields accepted by SPEC-043.
|
|
16
|
+
|
|
17
|
+
## 14.11.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#972](https://github.com/adobe/spectrum-design-data/pull/972) [`e9974fb`](https://github.com/adobe/spectrum-design-data/commit/e9974fb7360e849e928b31518b073996b49ecd6b) Thanks [@GarthDB](https://github.com/GarthDB)! - Move token `name` objects out of @adobe/spectrum-tokens into a new private
|
|
22
|
+
@adobe/token-names sidecar package.
|
|
23
|
+
- **@adobe/spectrum-tokens**: 497 inline `name` objects removed from
|
|
24
|
+
color-palette.json, icons.json, typography.json. Token data otherwise identical.
|
|
25
|
+
- **@adobe/token-names** (private, new): sidecar package mirroring tokens/src
|
|
26
|
+
layout; depends on @adobe/spectrum-tokens via workspace:\*.
|
|
27
|
+
- **sdk/core**: `TokenGraph::from_json_dir_with_names` merges sidecar names at
|
|
28
|
+
ingest; existing rules unchanged. CLI gains `--names-dir` flag.
|
|
29
|
+
- **token-corpus-migrate**: writes nameMap to sidecar dir, not inline to tokens.
|
|
30
|
+
|
|
31
|
+
- [#969](https://github.com/adobe/spectrum-design-data/pull/969) [`ba06968`](https://github.com/adobe/spectrum-design-data/commit/ba06968226adb268600e0ed1befc9d381e7986b6) Thanks [@GarthDB](https://github.com/GarthDB)! - Typography stragglers: structured `name` on text-align and letter-spacing tokens.
|
|
32
|
+
- **typography.json**: 4 tokens classified — 3 `text-align-*` and 1 bare
|
|
33
|
+
`letter-spacing` (taxonomy metadata in `@adobe/token-names` sidecar, not inline).
|
|
34
|
+
- **design-system-registry**: add `text-align` to `property-terms.json`;
|
|
35
|
+
new `alignments.json` registry (start/center/end); regenerate `registry_data.rs`.
|
|
36
|
+
- **design-data-spec**: new `alignment` spec field; `taxonomy.md` updated.
|
|
37
|
+
- **token-corpus-migrate**: add `alignmentNameForKey`, `letterSpacingNameForKey`,
|
|
38
|
+
`lineHeightMultiplierNameForKey` (exported for future use); extend dispatch.
|
|
39
|
+
- Line-height multipliers and CJK line-height deferred — SPEC-006 collision
|
|
40
|
+
and SPEC-042 constraint; follow-ups tracked in beads.
|
|
41
|
+
|
|
3
42
|
## 14.10.0
|
|
4
43
|
|
|
5
44
|
### Minor Changes
|