@adobe/design-system-registry 3.1.1 → 3.1.3
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 +30 -0
- package/package.json +1 -1
- package/registry/property-terms.json +10 -0
- package/registry/typography-styles.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @adobe/design-system-registry
|
|
2
2
|
|
|
3
|
+
## 3.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
tokens in `icons.json`.
|
|
9
|
+
- **icons.json**: 56 color-set tokens gain
|
|
10
|
+
`name: { property: "icon-color", colorFamily, [object|variant|state] }`.
|
|
11
|
+
- **design-system-registry**: add `icon-color` to `property-terms.json`;
|
|
12
|
+
regenerate `registry_data.rs`.
|
|
13
|
+
- **token-corpus-migrate**: add `iconColorNameForKey`; add `icons.json` to
|
|
14
|
+
pilot scope.
|
|
15
|
+
- 23 alias tokens deferred — `colorFamily` is not permitted on `alias.json`
|
|
16
|
+
by SPEC-042; follow-up will address when the alias name shape is defined.
|
|
17
|
+
|
|
18
|
+
## 3.1.2
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#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
|
|
23
|
+
non-alias typography tokens in `typography.json`.
|
|
24
|
+
- **font-family tokens** (4): gain `name: { property: "font-family", family }`.
|
|
25
|
+
- **font-style tokens** (2): gain `name: { property: "font-style", style }`.
|
|
26
|
+
- **font-size scale-set tokens** (18): gain `name: { property: "font-size", scaleIndex }`.
|
|
27
|
+
- **line-height scale-set tokens** (18): gain `name: { property: "line-height", scaleIndex }`.
|
|
28
|
+
- **design-system-registry**: add `font-style` to `property-terms.json`; add
|
|
29
|
+
`normal` to `typography-styles.json`; update `registry_data.rs`.
|
|
30
|
+
- **token-corpus-migrate**: extend with `fontFamilyNameForKey`, `fontStyleNameForKey`,
|
|
31
|
+
`fontSizeNameForKey`, `lineHeightNameForKey` classifiers.
|
|
32
|
+
|
|
3
33
|
## 3.1.1
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -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",
|
|
@@ -153,6 +158,11 @@
|
|
|
153
158
|
"label": "Font Family",
|
|
154
159
|
"description": "Typeface family name"
|
|
155
160
|
},
|
|
161
|
+
{
|
|
162
|
+
"id": "font-style",
|
|
163
|
+
"label": "Font Style",
|
|
164
|
+
"description": "Typeface style (normal, italic, oblique)"
|
|
165
|
+
},
|
|
156
166
|
{
|
|
157
167
|
"id": "line-height",
|
|
158
168
|
"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",
|