@adobe/design-system-registry 3.1.3 → 3.3.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,41 @@
1
1
  # @adobe/design-system-registry
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#977](https://github.com/adobe/spectrum-design-data/pull/977) [`526d2de`](https://github.com/adobe/spectrum-design-data/commit/526d2de363788c1e916a1ed6426e14600d84fd73) Thanks [@GarthDB](https://github.com/GarthDB)! - Classify line-height multiplier and CJK line-height multiplier tokens.
8
+ - **registry/property-terms.json**: add `line-height-multiplier` term (unitless ratio,
9
+ distinct from absolute px line-height paired with a font-size tier).
10
+ - **sdk/validate/rules/mod.rs**: add `multiplier.json` to typography `DOMAIN_SCHEMAS`
11
+ so the `family` field is permitted on CJK multiplier tokens (SPEC-042).
12
+ - **sdk/validate/rules/spec043.rs**: extend typography domain-required-fields check to
13
+ accept `scaleIndex` and `structure` alongside `family`/`weight`/`style`.
14
+ - **token-names/names/typography.json**: sidecar entries for all 4 tokens.
15
+ - Reduces SPEC-017 warning count by 4.
16
+
17
+ - [#977](https://github.com/adobe/spectrum-design-data/pull/977) [`526d2de`](https://github.com/adobe/spectrum-design-data/commit/526d2de363788c1e916a1ed6426e14600d84fd73) Thanks [@GarthDB](https://github.com/GarthDB)! - Classify 5 margin multiplier tokens; add margin property-terms and typography structures.
18
+ - **registry/property-terms.json**: add `margin`, `margin-top`, `margin-bottom`.
19
+ - **registry/structures.json**: add `body`, `detail`, `heading` typography-scale structures.
20
+ - **token-names/names/typography.json**: sidecar entries for all 5 tokens using
21
+ `{ structure, property }` shape.
22
+ - Reduces SPEC-017 (`string-name-tech-debt`) warning count by 5.
23
+
24
+ ## 3.2.0
25
+
26
+ ### Minor Changes
27
+
28
+ - [#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.
29
+ - **typography.json**: 4 tokens gain `name` — 3 `text-align-*` and 1 bare
30
+ `letter-spacing`.
31
+ - **design-system-registry**: add `text-align` to `property-terms.json`;
32
+ new `alignments.json` registry (start/center/end); regenerate `registry_data.rs`.
33
+ - **design-data-spec**: new `alignment` spec field; `taxonomy.md` updated.
34
+ - **token-corpus-migrate**: add `alignmentNameForKey`, `letterSpacingNameForKey`,
35
+ `lineHeightMultiplierNameForKey` (exported for future use); extend dispatch.
36
+ - Line-height multipliers and CJK line-height deferred — SPEC-006 collision
37
+ and SPEC-042 constraint; follow-ups tracked in beads.
38
+
3
39
  ## 3.1.3
4
40
 
5
41
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-system-registry",
3
- "version": "3.1.3",
3
+ "version": "3.3.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
+ }
@@ -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",
@@ -182,6 +187,26 @@
182
187
  "id": "easing",
183
188
  "label": "Easing",
184
189
  "description": "Animation or transition easing function"
190
+ },
191
+ {
192
+ "id": "margin",
193
+ "label": "Margin",
194
+ "description": "External spacing on all sides (used for typography block margin multipliers)"
195
+ },
196
+ {
197
+ "id": "margin-top",
198
+ "label": "Margin Top",
199
+ "description": "External spacing above a block element"
200
+ },
201
+ {
202
+ "id": "margin-bottom",
203
+ "label": "Margin Bottom",
204
+ "description": "External spacing below a block element"
205
+ },
206
+ {
207
+ "id": "line-height-multiplier",
208
+ "label": "Line Height Multiplier",
209
+ "description": "Unitless line-height ratio (multiplier), distinct from the absolute px line-height paired with a specific font-size tier"
185
210
  }
186
211
  ]
187
212
  }
@@ -22,6 +22,36 @@
22
22
  "id": "accessory",
23
23
  "label": "Accessory",
24
24
  "description": "Supplementary element attached to a primary structure"
25
+ },
26
+ {
27
+ "id": "group",
28
+ "label": "Group",
29
+ "description": "Collection of similar UI elements or related controls"
30
+ },
31
+ {
32
+ "id": "banner",
33
+ "label": "Banner",
34
+ "description": "Prominent element for displaying non-permanent information or actions"
35
+ },
36
+ {
37
+ "id": "table",
38
+ "label": "Table",
39
+ "description": "Tabular layout of rows and columns for structured data"
40
+ },
41
+ {
42
+ "id": "body",
43
+ "label": "Body",
44
+ "description": "Body text typography scale — used for standard paragraph and UI text"
45
+ },
46
+ {
47
+ "id": "detail",
48
+ "label": "Detail",
49
+ "description": "Detail text typography scale — used for captions, labels, and supporting text"
50
+ },
51
+ {
52
+ "id": "heading",
53
+ "label": "Heading",
54
+ "description": "Heading text typography scale — used for section and page headings"
25
55
  }
26
56
  ]
27
57
  }