@adobe/design-system-registry 3.1.1 → 3.1.2
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,20 @@
|
|
|
1
1
|
# @adobe/design-system-registry
|
|
2
2
|
|
|
3
|
+
## 3.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#965](https://github.com/adobe/spectrum-design-data/pull/965) [`c133c83`](https://github.com/adobe/spectrum-design-data/commit/c133c832f605e6f09b8bc5db80a6f98b46233b2c) Thanks [@GarthDB](https://github.com/GarthDB)! - Typography canonical name-object migration: add `name` fields to remaining
|
|
8
|
+
non-alias typography tokens in `typography.json`.
|
|
9
|
+
- **font-family tokens** (4): gain `name: { property: "font-family", family }`.
|
|
10
|
+
- **font-style tokens** (2): gain `name: { property: "font-style", style }`.
|
|
11
|
+
- **font-size scale-set tokens** (18): gain `name: { property: "font-size", scaleIndex }`.
|
|
12
|
+
- **line-height scale-set tokens** (18): gain `name: { property: "line-height", scaleIndex }`.
|
|
13
|
+
- **design-system-registry**: add `font-style` to `property-terms.json`; add
|
|
14
|
+
`normal` to `typography-styles.json`; update `registry_data.rs`.
|
|
15
|
+
- **token-corpus-migrate**: extend with `fontFamilyNameForKey`, `fontStyleNameForKey`,
|
|
16
|
+
`fontSizeNameForKey`, `lineHeightNameForKey` classifiers.
|
|
17
|
+
|
|
3
18
|
## 3.1.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -153,6 +153,11 @@
|
|
|
153
153
|
"label": "Font Family",
|
|
154
154
|
"description": "Typeface family name"
|
|
155
155
|
},
|
|
156
|
+
{
|
|
157
|
+
"id": "font-style",
|
|
158
|
+
"label": "Font Style",
|
|
159
|
+
"description": "Typeface style (normal, italic, oblique)"
|
|
160
|
+
},
|
|
156
161
|
{
|
|
157
162
|
"id": "line-height",
|
|
158
163
|
"label": "Line Height",
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
3
|
"type": "typography-style",
|
|
4
|
-
"description": "Typographic style values for typography tokens. Assigned via the `style` name-object field. Corresponds to the CSS font-style axis.
|
|
4
|
+
"description": "Typographic style values for typography tokens. Assigned via the `style` name-object field. Corresponds to the CSS font-style axis. All recognized styles are listed; normal represents the default upright style.",
|
|
5
5
|
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "normal",
|
|
8
|
+
"label": "Normal",
|
|
9
|
+
"description": "Default upright font style (font-style: normal)"
|
|
10
|
+
},
|
|
6
11
|
{
|
|
7
12
|
"id": "italic",
|
|
8
13
|
"label": "Italic",
|