@adobe/design-system-registry 3.1.2 → 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 CHANGED
@@ -1,5 +1,35 @@
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
+
18
+ ## 3.1.3
19
+
20
+ ### Patch Changes
21
+
22
+ - [#967](https://github.com/adobe/spectrum-design-data/pull/967) [`dfddf12`](https://github.com/adobe/spectrum-design-data/commit/dfddf123e92ff31eeb8a71bb6350f189ef39de13) Thanks [@GarthDB](https://github.com/GarthDB)! - Icons name-object migration: structured `name` on family-scoped icon-color
23
+ tokens in `icons.json`.
24
+ - **icons.json**: 56 color-set tokens gain
25
+ `name: { property: "icon-color", colorFamily, [object|variant|state] }`.
26
+ - **design-system-registry**: add `icon-color` to `property-terms.json`;
27
+ regenerate `registry_data.rs`.
28
+ - **token-corpus-migrate**: add `iconColorNameForKey`; add `icons.json` to
29
+ pilot scope.
30
+ - 23 alias tokens deferred — `colorFamily` is not permitted on `alias.json`
31
+ by SPEC-042; follow-up will address when the alias name shape is defined.
32
+
3
33
  ## 3.1.2
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-system-registry",
3
- "version": "3.1.2",
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.16"
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
+ }
@@ -23,6 +23,11 @@
23
23
  "label": "Fill Color",
24
24
  "description": "SVG or icon fill color"
25
25
  },
26
+ {
27
+ "id": "icon-color",
28
+ "label": "Icon Color",
29
+ "description": "Foreground color of an icon"
30
+ },
26
31
  {
27
32
  "id": "shadow-color",
28
33
  "label": "Shadow Color",
@@ -168,6 +173,11 @@
168
173
  "label": "Letter Spacing",
169
174
  "description": "Horizontal spacing between characters"
170
175
  },
176
+ {
177
+ "id": "text-align",
178
+ "label": "Text Align",
179
+ "description": "Horizontal alignment of text content"
180
+ },
171
181
  {
172
182
  "id": "duration",
173
183
  "label": "Duration",