@adobe/design-system-registry 3.1.3 → 3.2.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 +15 -0
- package/package.json +3 -2
- package/registry/alignments.json +22 -0
- package/registry/property-terms.json +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @adobe/design-system-registry
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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.
|
|
8
|
+
- **typography.json**: 4 tokens gain `name` — 3 `text-align-*` and 1 bare
|
|
9
|
+
`letter-spacing`.
|
|
10
|
+
- **design-system-registry**: add `text-align` to `property-terms.json`;
|
|
11
|
+
new `alignments.json` registry (start/center/end); regenerate `registry_data.rs`.
|
|
12
|
+
- **design-data-spec**: new `alignment` spec field; `taxonomy.md` updated.
|
|
13
|
+
- **token-corpus-migrate**: add `alignmentNameForKey`, `letterSpacingNameForKey`,
|
|
14
|
+
`lineHeightMultiplierNameForKey` (exported for future use); extend dispatch.
|
|
15
|
+
- Line-height multipliers and CJK line-height deferred — SPEC-006 collision
|
|
16
|
+
and SPEC-042 constraint; follow-ups tracked in beads.
|
|
17
|
+
|
|
3
18
|
## 3.1.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/design-system-registry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A single source of truth for design system terminology used across Spectrum tokens, component schemas, and anatomy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"./registry/densities.json": "./registry/densities.json",
|
|
23
23
|
"./registry/shapes.json": "./registry/shapes.json",
|
|
24
24
|
"./registry/color-families.json": "./registry/color-families.json",
|
|
25
|
+
"./registry/alignments.json": "./registry/alignments.json",
|
|
25
26
|
"./registry/typography-families.json": "./registry/typography-families.json",
|
|
26
27
|
"./registry/typography-weights.json": "./registry/typography-weights.json",
|
|
27
28
|
"./registry/typography-styles.json": "./registry/typography-styles.json",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"ajv": "^8.17.1",
|
|
51
52
|
"ajv-formats": "^3.0.1",
|
|
52
53
|
"ava": "^6.0.1",
|
|
53
|
-
"@adobe/spectrum-component-api-schemas": "6.1.
|
|
54
|
+
"@adobe/spectrum-component-api-schemas": "6.1.17"
|
|
54
55
|
},
|
|
55
56
|
"scripts": {
|
|
56
57
|
"validate": "node scripts/validate-registry.js",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "alignment",
|
|
4
|
+
"description": "Horizontal text-alignment values for text-align tokens. Assigned via the `alignment` name-object field. Corresponds to the CSS text-align axis.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "start",
|
|
8
|
+
"label": "Start",
|
|
9
|
+
"description": "Align text to the inline-start edge"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "center",
|
|
13
|
+
"label": "Center",
|
|
14
|
+
"description": "Center text horizontally"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "end",
|
|
18
|
+
"label": "End",
|
|
19
|
+
"description": "Align text to the inline-end edge"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -173,6 +173,11 @@
|
|
|
173
173
|
"label": "Letter Spacing",
|
|
174
174
|
"description": "Horizontal spacing between characters"
|
|
175
175
|
},
|
|
176
|
+
{
|
|
177
|
+
"id": "text-align",
|
|
178
|
+
"label": "Text Align",
|
|
179
|
+
"description": "Horizontal alignment of text content"
|
|
180
|
+
},
|
|
176
181
|
{
|
|
177
182
|
"id": "duration",
|
|
178
183
|
"label": "Duration",
|