@adobe/design-system-registry 3.2.0 → 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 +21 -0
- package/package.json +1 -1
- package/registry/property-terms.json +20 -0
- package/registry/structures.json +30 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
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
|
+
|
|
3
24
|
## 3.2.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -187,6 +187,26 @@
|
|
|
187
187
|
"id": "easing",
|
|
188
188
|
"label": "Easing",
|
|
189
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"
|
|
190
210
|
}
|
|
191
211
|
]
|
|
192
212
|
}
|
package/registry/structures.json
CHANGED
|
@@ -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
|
}
|