@adobe/spectrum-design-data 0.7.1 → 0.9.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/components/action-bar.json +10 -0
- package/components/alert-banner.json +6 -0
- package/components/breadcrumbs.json +6 -0
- package/components/coach-mark.json +6 -0
- package/components/field-label.json +6 -0
- package/components/list-view.json +40 -0
- package/components/menu.json +45 -0
- package/components/number-field.json +6 -0
- package/components/side-navigation.json +6 -0
- package/components/slider.json +6 -0
- package/components/status-light.json +18 -0
- package/components/steplist.json +6 -0
- package/components/table.json +19 -0
- package/components/tag.json +10 -0
- package/components/tree-view.json +6 -0
- package/fields/alignment.json +1 -1
- package/fields/color-scheme.json +3 -2
- package/fields/colorFamily.json +3 -2
- package/fields/colorRole.json +16 -0
- package/fields/contrast.json +3 -2
- package/fields/density.json +1 -1
- package/fields/easing.json +1 -1
- package/fields/emphasis.json +16 -0
- package/fields/family.json +4 -3
- package/fields/from.json +16 -0
- package/fields/icon.json +15 -0
- package/fields/motionRole.json +1 -1
- package/fields/orientation.json +1 -1
- package/fields/position.json +1 -1
- package/fields/property.json +1 -1
- package/fields/qualifier.json +15 -0
- package/fields/role.json +15 -0
- package/fields/scale.json +3 -2
- package/fields/scaleIndex.json +2 -1
- package/fields/script.json +16 -0
- package/fields/shape.json +1 -1
- package/fields/size.json +1 -1
- package/fields/state.json +1 -1
- package/fields/structure.json +2 -1
- package/fields/style.json +1 -1
- package/fields/to.json +16 -0
- package/fields/weight.json +1 -1
- package/package.json +2 -2
- package/registry/anatomy-terms.json +98 -2
- package/registry/color-roles.json +47 -0
- package/registry/components.json +195 -0
- package/registry/icon-terms.json +90 -0
- package/registry/positions.json +38 -0
- package/registry/property-terms.json +90 -0
- package/registry/qualifiers.json +47 -0
- package/registry/roles.json +17 -0
- package/registry/scripts.json +12 -0
- package/registry/shapes.json +15 -0
- package/registry/sizes.json +7 -0
- package/registry/structures.json +10 -0
- package/registry/typography-emphasis.json +32 -0
- package/registry/typography-families.json +1 -6
- package/registry/variants.json +49 -0
- package/tokens/color-aliases.tokens.json +775 -349
- package/tokens/color-component.tokens.json +124 -44
- package/tokens/icons.tokens.json +943 -563
- package/tokens/layout-component.tokens.json +3625 -1585
- package/tokens/layout.tokens.json +508 -157
- package/tokens/semantic-color-palette.tokens.json +85 -35
- package/tokens/typography.tokens.json +894 -384
|
@@ -54,6 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
56
|
"options": { "isEmphasized": { "type": "boolean", "default": false } },
|
|
57
|
+
"anatomy": [
|
|
58
|
+
{
|
|
59
|
+
"name": "action-group-area",
|
|
60
|
+
"description": "Group of secondary action controls."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "item-counter",
|
|
64
|
+
"description": "Badge showing a count of items or actions."
|
|
65
|
+
}
|
|
66
|
+
],
|
|
57
67
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
58
68
|
"tokenBindings": [
|
|
59
69
|
{ "token": "action-bar-height", "context": "Height" },
|
|
@@ -113,6 +113,12 @@
|
|
|
113
113
|
},
|
|
114
114
|
"isDismissible": { "type": "boolean", "default": false }
|
|
115
115
|
},
|
|
116
|
+
"anatomy": [
|
|
117
|
+
{
|
|
118
|
+
"name": "alert-icon",
|
|
119
|
+
"description": "Icon indicating the alert's severity."
|
|
120
|
+
}
|
|
121
|
+
],
|
|
116
122
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
117
123
|
"tokenBindings": [
|
|
118
124
|
{ "token": "workflow-icon-size-100", "context": "Icon asset" },
|
|
@@ -141,6 +141,12 @@
|
|
|
141
141
|
]
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
+
"anatomy": [
|
|
145
|
+
{
|
|
146
|
+
"name": "separator-icon",
|
|
147
|
+
"description": "Icon separating breadcrumb items."
|
|
148
|
+
}
|
|
149
|
+
],
|
|
144
150
|
"states": [
|
|
145
151
|
{ "name": "hover", "trigger": "interaction" },
|
|
146
152
|
{ "name": "down", "trigger": "interaction" },
|
|
@@ -111,6 +111,12 @@
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
+
"anatomy": [
|
|
115
|
+
{
|
|
116
|
+
"name": "pagination-text",
|
|
117
|
+
"description": "Text indicating step position (e.g. '2 of 5')."
|
|
118
|
+
}
|
|
119
|
+
],
|
|
114
120
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
115
121
|
"tokenBindings": [
|
|
116
122
|
{ "token": "coach-mark-width", "context": "Width" },
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"isRequired": { "type": "boolean", "default": false },
|
|
81
81
|
"isDisabled": { "type": "boolean", "default": false }
|
|
82
82
|
},
|
|
83
|
+
"anatomy": [
|
|
84
|
+
{
|
|
85
|
+
"name": "asterisk",
|
|
86
|
+
"description": "Required-field indicator."
|
|
87
|
+
}
|
|
88
|
+
],
|
|
83
89
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
84
90
|
"tokenBindings": [
|
|
85
91
|
{ "token": "component-height-75", "context": "Minimum height" },
|
|
@@ -158,6 +158,46 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
"anatomy": [
|
|
162
|
+
{
|
|
163
|
+
"name": "list-item",
|
|
164
|
+
"description": "A single row within the list view.",
|
|
165
|
+
"contains": [
|
|
166
|
+
"checkbox",
|
|
167
|
+
"icon",
|
|
168
|
+
"thumbnail",
|
|
169
|
+
"label",
|
|
170
|
+
"description",
|
|
171
|
+
"actions",
|
|
172
|
+
"trailing-icon"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "checkbox",
|
|
177
|
+
"description": "Checkbox control for a list view item in checkbox selection style."
|
|
178
|
+
},
|
|
179
|
+
{ "name": "icon", "description": "Leading icon of a list view item." },
|
|
180
|
+
{
|
|
181
|
+
"name": "thumbnail",
|
|
182
|
+
"description": "Thumbnail image of a list view item."
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "label",
|
|
186
|
+
"description": "Primary label text of a list view item."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "description",
|
|
190
|
+
"description": "Secondary descriptive text of a list view item."
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "actions",
|
|
194
|
+
"description": "Action buttons or action menu available for a list view item."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "trailing-icon",
|
|
198
|
+
"description": "Icon indicating a list view item navigates to a new context."
|
|
199
|
+
}
|
|
200
|
+
],
|
|
161
201
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
162
202
|
"tokenBindings": [
|
|
163
203
|
{ "token": "(multi-select", "context": "Variants" },
|
package/components/menu.json
CHANGED
|
@@ -162,6 +162,51 @@
|
|
|
162
162
|
"isUnavailable": { "type": "boolean", "default": false },
|
|
163
163
|
"isDisabled": { "type": "boolean", "default": false }
|
|
164
164
|
},
|
|
165
|
+
"anatomy": [
|
|
166
|
+
{
|
|
167
|
+
"name": "item-label",
|
|
168
|
+
"description": "Label text of a menu item."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "menu-item",
|
|
172
|
+
"description": "A single row within the menu.",
|
|
173
|
+
"contains": [
|
|
174
|
+
"icon",
|
|
175
|
+
"label",
|
|
176
|
+
"description",
|
|
177
|
+
"value",
|
|
178
|
+
"switch",
|
|
179
|
+
"checkbox",
|
|
180
|
+
"thumbnail",
|
|
181
|
+
"drill-in-chevron",
|
|
182
|
+
"link-out-icon"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
{ "name": "icon", "description": "Leading icon of a menu item." },
|
|
186
|
+
{ "name": "label", "description": "Primary label text of a menu item." },
|
|
187
|
+
{
|
|
188
|
+
"name": "description",
|
|
189
|
+
"description": "Secondary descriptive text of a menu item."
|
|
190
|
+
},
|
|
191
|
+
{ "name": "value", "description": "Current value display of a menu item." },
|
|
192
|
+
{
|
|
193
|
+
"name": "switch",
|
|
194
|
+
"description": "Switch control for a menu item with switch selection style."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "checkbox",
|
|
198
|
+
"description": "Checkbox control for a menu item with checkbox selection style."
|
|
199
|
+
},
|
|
200
|
+
{ "name": "thumbnail", "description": "Thumbnail image of a menu item." },
|
|
201
|
+
{
|
|
202
|
+
"name": "drill-in-chevron",
|
|
203
|
+
"description": "Chevron indicating a menu item opens a sub-menu."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "link-out-icon",
|
|
207
|
+
"description": "Icon indicating a menu item navigates to a new context."
|
|
208
|
+
}
|
|
209
|
+
],
|
|
165
210
|
"states": [
|
|
166
211
|
{ "name": "hover", "trigger": "interaction" },
|
|
167
212
|
{ "name": "down", "trigger": "interaction" },
|
|
@@ -179,6 +179,12 @@
|
|
|
179
179
|
"description": "If true, hides in-field increment and decrement buttons (stepper)."
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
+
"anatomy": [
|
|
183
|
+
{
|
|
184
|
+
"name": "in-field-stepper",
|
|
185
|
+
"description": "Increment/decrement stepper embedded in the field."
|
|
186
|
+
}
|
|
187
|
+
],
|
|
182
188
|
"states": [
|
|
183
189
|
{ "name": "hover", "trigger": "interaction" },
|
|
184
190
|
{ "name": "focus-+-hover", "trigger": "prop" },
|
|
@@ -133,6 +133,12 @@
|
|
|
133
133
|
]
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
|
+
"anatomy": [
|
|
137
|
+
{
|
|
138
|
+
"name": "trailing-accessory-area",
|
|
139
|
+
"description": "Trailing area for accessory content such as counts or actions."
|
|
140
|
+
}
|
|
141
|
+
],
|
|
136
142
|
"states": [
|
|
137
143
|
{ "name": "hover", "trigger": "interaction" },
|
|
138
144
|
{ "name": "down", "trigger": "interaction" },
|
package/components/slider.json
CHANGED
|
@@ -135,6 +135,12 @@
|
|
|
135
135
|
"isEditable": { "type": "boolean", "default": false },
|
|
136
136
|
"isDisabled": { "type": "boolean", "default": false }
|
|
137
137
|
},
|
|
138
|
+
"anatomy": [
|
|
139
|
+
{
|
|
140
|
+
"name": "text-field",
|
|
141
|
+
"description": "Editable numeric value field."
|
|
142
|
+
}
|
|
143
|
+
],
|
|
138
144
|
"states": [
|
|
139
145
|
{ "name": "hover", "trigger": "interaction" },
|
|
140
146
|
{ "name": "down", "trigger": "interaction" },
|
|
@@ -89,6 +89,24 @@
|
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
+
"anatomy": [
|
|
93
|
+
{
|
|
94
|
+
"name": "visual-75",
|
|
95
|
+
"description": "Severity dot, 75 size variant."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "visual-100",
|
|
99
|
+
"description": "Severity dot, 100 size variant."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "visual-200",
|
|
103
|
+
"description": "Severity dot, 200 size variant."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "visual-300",
|
|
107
|
+
"description": "Severity dot, 300 size variant."
|
|
108
|
+
}
|
|
109
|
+
],
|
|
92
110
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
93
111
|
"tokenBindings": [
|
|
94
112
|
{ "token": "component-height-75", "context": "Height" },
|
package/components/steplist.json
CHANGED
|
@@ -88,6 +88,12 @@
|
|
|
88
88
|
"description": "The identifier or label of the currently active step."
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
+
"anatomy": [
|
|
92
|
+
{
|
|
93
|
+
"name": "track-size",
|
|
94
|
+
"description": "The connecting track between steps."
|
|
95
|
+
}
|
|
96
|
+
],
|
|
91
97
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
92
98
|
"tokenBindings": [
|
|
93
99
|
{
|
package/components/table.json
CHANGED
|
@@ -193,6 +193,25 @@
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
|
+
"anatomy": [
|
|
197
|
+
{
|
|
198
|
+
"name": "column-header-row",
|
|
199
|
+
"description": "The header row containing column titles."
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "row",
|
|
203
|
+
"description": "A single data row.",
|
|
204
|
+
"contains": ["row-checkbox"]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "row-checkbox",
|
|
208
|
+
"description": "Selection checkbox within a row."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "header-row-checkbox",
|
|
212
|
+
"description": "Select-all checkbox within the column header row."
|
|
213
|
+
}
|
|
214
|
+
],
|
|
196
215
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
197
216
|
"tokenBindings": [
|
|
198
217
|
{ "token": "chevron-100", "context": "Header icons" },
|
package/components/tag.json
CHANGED
|
@@ -59,6 +59,16 @@
|
|
|
59
59
|
"isDisabled": { "type": "boolean", "default": false },
|
|
60
60
|
"isReadOnly": { "type": "boolean", "default": false }
|
|
61
61
|
},
|
|
62
|
+
"anatomy": [
|
|
63
|
+
{
|
|
64
|
+
"name": "clear-icon",
|
|
65
|
+
"description": "Icon affordance that removes the tag."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "cross-icon",
|
|
69
|
+
"description": "Cross/X icon shown on the tag."
|
|
70
|
+
}
|
|
71
|
+
],
|
|
62
72
|
"states": [
|
|
63
73
|
{ "name": "hover", "trigger": "interaction" },
|
|
64
74
|
{ "name": "down", "trigger": "interaction" },
|
|
@@ -165,6 +165,12 @@
|
|
|
165
165
|
"values": [{ "value": "toggle" }, { "value": "replace" }]
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
+
"anatomy": [
|
|
169
|
+
{
|
|
170
|
+
"name": "action-area",
|
|
171
|
+
"description": "Trailing area containing item actions."
|
|
172
|
+
}
|
|
173
|
+
],
|
|
168
174
|
"states": [
|
|
169
175
|
{ "name": "hover", "trigger": "interaction" },
|
|
170
176
|
{ "name": "down", "trigger": "interaction" },
|
package/fields/alignment.json
CHANGED
package/fields/color-scheme.json
CHANGED
package/fields/colorFamily.json
CHANGED
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
"registry": "packages/design-data/registry/color-families.json",
|
|
8
8
|
"validation": "advisory",
|
|
9
9
|
"serialization": {
|
|
10
|
-
"position":
|
|
10
|
+
"position": 20
|
|
11
11
|
},
|
|
12
12
|
"scope": "color",
|
|
13
13
|
"required": false,
|
|
14
|
-
"valueType": "string"
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
15
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "colorRole",
|
|
5
|
+
"description": "Semantic role of a color token within a component (e.g. primary, background). Used alongside colorFamily for component-scoped color tokens. Excluded from the legacy key; the serializer emits it via the explicit component-color branch.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/color-roles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 19
|
|
11
|
+
},
|
|
12
|
+
"scope": "color",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
package/fields/contrast.json
CHANGED
package/fields/density.json
CHANGED
package/fields/easing.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "emphasis",
|
|
5
|
+
"description": "Typographic emphasis level of a typography token (e.g. emphasized, strong, heavy, light). Distinct from the CSS font-weight axis (see `weight`) — emphasis is a relative modifier layered on a family/component, and values may compound (e.g. heavy-strong-emphasized).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/typography-emphasis.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 8
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
16
|
+
}
|
package/fields/family.json
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
3
|
"specVersion": "1.0.0-draft",
|
|
4
4
|
"name": "family",
|
|
5
|
-
"description": "Type family of a typography token (e.g. sans-serif, serif,
|
|
5
|
+
"description": "Type family of a typography token (e.g. sans-serif, serif, code). Used to distinguish tokens that apply to different typeface classifications or usage contexts. See `script` for writing-system variants (e.g. cjk).",
|
|
6
6
|
"kind": "semantic",
|
|
7
7
|
"registry": "packages/design-data/registry/typography-families.json",
|
|
8
8
|
"validation": "advisory",
|
|
9
9
|
"serialization": {
|
|
10
|
-
"position":
|
|
10
|
+
"position": 7
|
|
11
11
|
},
|
|
12
12
|
"scope": "typography",
|
|
13
13
|
"required": false,
|
|
14
|
-
"valueType": "string"
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
15
16
|
}
|
package/fields/from.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "from",
|
|
5
|
+
"description": "Semantic: the starting endpoint of a space-between measurement (e.g. top, edge, text). Paired with `to`. Value MUST be an edge position, a generic anatomy term, or (when `component` is present) an anatomy part declared on that component — see SPEC-047.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 25
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
package/fields/icon.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "icon",
|
|
5
|
+
"description": "Icon identity for icon-family tokens (e.g. checkmark, chevron, ui). Mutually exclusive with `component`. Legacy-key placement (leading, like `component`) is handled by an explicit owner-prefix branch in `extract_legacy_key` rather than the generic position-walk, so this position value only needs to be unique — it does not control key order.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/icon-terms.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 100
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
package/fields/motionRole.json
CHANGED
package/fields/orientation.json
CHANGED
package/fields/position.json
CHANGED
package/fields/property.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "qualifier",
|
|
5
|
+
"description": "Behavioral or layout modifier that narrows a property/anatomy without being a state, variant, or position (e.g. stacked, multiline, precision, collapsed, expanded, drag, highlight).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/qualifiers.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 28
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
package/fields/role.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "role",
|
|
5
|
+
"description": "An object's role within a nesting relationship (e.g. container, control), distinct from the `size` field.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/roles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 29
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
package/fields/scale.json
CHANGED
package/fields/scaleIndex.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "script",
|
|
5
|
+
"description": "Writing-system/script variant of a typography token (e.g. cjk). Orthogonal to `family` (typeface classification): a script and a family can combine independently (e.g. a CJK serif).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/scripts.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 6
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
16
|
+
}
|
package/fields/shape.json
CHANGED
package/fields/size.json
CHANGED
package/fields/state.json
CHANGED
package/fields/structure.json
CHANGED