@adobe/spectrum-design-data 0.1.0 → 0.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.
Files changed (144) hide show
  1. package/components/accordion.json +557 -0
  2. package/components/action-bar.json +214 -0
  3. package/components/action-button.json +522 -0
  4. package/components/action-group.json +134 -0
  5. package/components/alert-banner.json +134 -0
  6. package/components/alert-dialog.json +180 -0
  7. package/components/avatar-group.json +166 -0
  8. package/components/avatar.json +246 -0
  9. package/components/badge.json +594 -0
  10. package/components/body.json +54 -0
  11. package/components/bottom-navigation-android.json +72 -0
  12. package/components/breadcrumbs.json +307 -0
  13. package/components/button-group.json +86 -0
  14. package/components/button.json +586 -0
  15. package/components/calendar.json +133 -0
  16. package/components/cards.json +541 -0
  17. package/components/checkbox-group.json +91 -0
  18. package/components/checkbox.json +339 -0
  19. package/components/close-button.json +208 -0
  20. package/components/coach-indicator.json +105 -0
  21. package/components/coach-mark.json +169 -0
  22. package/components/code.json +44 -0
  23. package/components/color-area.json +138 -0
  24. package/components/color-handle.json +111 -0
  25. package/components/color-loupe.json +77 -0
  26. package/components/color-slider.json +165 -0
  27. package/components/color-wheel.json +117 -0
  28. package/components/combo-box.json +543 -0
  29. package/components/contextual-help.json +230 -0
  30. package/components/date-picker.json +471 -0
  31. package/components/detail.json +53 -0
  32. package/components/divider.json +93 -0
  33. package/components/drop-zone.json +238 -0
  34. package/components/field-label.json +219 -0
  35. package/components/heading.json +68 -0
  36. package/components/help-text.json +209 -0
  37. package/components/illustrated-message.json +175 -0
  38. package/components/in-field-progress-button.json +88 -0
  39. package/components/in-field-progress-circle.json +116 -0
  40. package/components/in-line-alert.json +233 -0
  41. package/components/link.json +167 -0
  42. package/components/list-view.json +382 -0
  43. package/components/menu.json +597 -0
  44. package/components/meter.json +199 -0
  45. package/components/number-field.json +518 -0
  46. package/components/opacity-checkerboard.json +69 -0
  47. package/components/picker.json +579 -0
  48. package/components/popover.json +174 -0
  49. package/components/progress-bar.json +229 -0
  50. package/components/progress-circle.json +132 -0
  51. package/components/radio-button.json +308 -0
  52. package/components/radio-group.json +113 -0
  53. package/components/rating.json +168 -0
  54. package/components/scroll-zoom-bar.json +82 -0
  55. package/components/search-field.json +346 -0
  56. package/components/segmented-control.json +248 -0
  57. package/components/select-box.json +272 -0
  58. package/components/side-navigation.json +320 -0
  59. package/components/slider.json +407 -0
  60. package/components/standard-dialog.json +179 -0
  61. package/components/standard-panel.json +83 -0
  62. package/components/status-light.json +334 -0
  63. package/components/steplist.json +294 -0
  64. package/components/swatch-group.json +114 -0
  65. package/components/swatch.json +240 -0
  66. package/components/switch.json +336 -0
  67. package/components/tab-bar-ios.json +72 -0
  68. package/components/table.json +435 -0
  69. package/components/tabs.json +253 -0
  70. package/components/tag-field.json +243 -0
  71. package/components/tag-group.json +87 -0
  72. package/components/tag.json +393 -0
  73. package/components/takeover-dialog.json +117 -0
  74. package/components/text-area.json +555 -0
  75. package/components/text-field.json +555 -0
  76. package/components/thumbnail.json +149 -0
  77. package/components/title.json +91 -0
  78. package/components/toast.json +156 -0
  79. package/components/tooltip.json +179 -0
  80. package/components/tray.json +32 -0
  81. package/components/tree-view.json +393 -0
  82. package/fields/alignment.json +15 -0
  83. package/fields/anatomy.json +15 -0
  84. package/fields/color-scheme.json +15 -0
  85. package/fields/colorFamily.json +15 -0
  86. package/fields/component.json +15 -0
  87. package/fields/contrast.json +15 -0
  88. package/fields/density.json +15 -0
  89. package/fields/easing.json +15 -0
  90. package/fields/family.json +15 -0
  91. package/fields/motionRole.json +15 -0
  92. package/fields/object.json +15 -0
  93. package/fields/orientation.json +15 -0
  94. package/fields/position.json +15 -0
  95. package/fields/property.json +15 -0
  96. package/fields/scale.json +15 -0
  97. package/fields/scaleIndex.json +15 -0
  98. package/fields/shape.json +15 -0
  99. package/fields/size.json +15 -0
  100. package/fields/state.json +15 -0
  101. package/fields/structure.json +15 -0
  102. package/fields/style.json +15 -0
  103. package/fields/substructure.json +15 -0
  104. package/fields/variant.json +15 -0
  105. package/fields/weight.json +15 -0
  106. package/mode-sets/color-scheme.json +8 -0
  107. package/mode-sets/contrast.json +8 -0
  108. package/mode-sets/scale.json +8 -0
  109. package/package.json +41 -2
  110. package/registry/alignments.json +22 -0
  111. package/registry/anatomy-terms.json +739 -0
  112. package/registry/categories.json +55 -0
  113. package/registry/color-families.json +177 -0
  114. package/registry/components.json +277 -0
  115. package/registry/densities.json +17 -0
  116. package/registry/easing-curves.json +42 -0
  117. package/registry/glossary.json +181 -0
  118. package/registry/motion-roles.json +32 -0
  119. package/registry/navigation-terms.json +241 -0
  120. package/registry/orientations.json +17 -0
  121. package/registry/platform-extensions/ios-states.json +59 -0
  122. package/registry/platform-extensions/web-components-states.json +58 -0
  123. package/registry/platforms.json +37 -0
  124. package/registry/positions.json +32 -0
  125. package/registry/property-terms.json +212 -0
  126. package/registry/scale-values.json +133 -0
  127. package/registry/shapes.json +12 -0
  128. package/registry/sizes.json +71 -0
  129. package/registry/states.json +184 -0
  130. package/registry/structures.json +57 -0
  131. package/registry/substructures.json +12 -0
  132. package/registry/token-objects.json +32 -0
  133. package/registry/token-terminology.json +925 -0
  134. package/registry/typography-families.json +27 -0
  135. package/registry/typography-styles.json +22 -0
  136. package/registry/typography-weights.json +37 -0
  137. package/registry/variants.json +282 -0
  138. package/tokens/color-aliases.tokens.json +332 -328
  139. package/tokens/color-component.tokens.json +74 -74
  140. package/tokens/icons.tokens.json +191 -191
  141. package/tokens/layout-component.tokens.json +373 -316
  142. package/tokens/layout.tokens.json +110 -98
  143. package/tokens/semantic-color-palette.tokens.json +104 -104
  144. package/tokens/typography.tokens.json +379 -305
@@ -0,0 +1,393 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/tree-view.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "tree-view",
6
+ "displayName": "Tree view",
7
+ "description": "A tree view provides users with a way to navigate nested hierarchical information.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/tree-view/"
11
+ },
12
+ "options": {
13
+ "size": {
14
+ "type": "string",
15
+ "default": "m",
16
+ "values": [
17
+ {
18
+ "value": "s"
19
+ },
20
+ {
21
+ "value": "m"
22
+ },
23
+ {
24
+ "value": "l"
25
+ },
26
+ {
27
+ "value": "xl"
28
+ }
29
+ ]
30
+ },
31
+ "isDetached": {
32
+ "type": "boolean",
33
+ "default": false
34
+ },
35
+ "isEmphasized": {
36
+ "type": "boolean",
37
+ "default": false
38
+ },
39
+ "showDragIcon": {
40
+ "type": "boolean",
41
+ "default": false
42
+ },
43
+ "selectionMode": {
44
+ "type": "string",
45
+ "default": "multiple",
46
+ "values": [
47
+ {
48
+ "value": "single"
49
+ },
50
+ {
51
+ "value": "multiple"
52
+ }
53
+ ]
54
+ },
55
+ "selectionStyle": {
56
+ "type": "string",
57
+ "default": "checkbox",
58
+ "values": [
59
+ {
60
+ "value": "checkbox"
61
+ },
62
+ {
63
+ "value": "highlight"
64
+ }
65
+ ]
66
+ },
67
+ "selectionBehavior": {
68
+ "type": "string",
69
+ "default": "toggle",
70
+ "values": [
71
+ {
72
+ "value": "toggle"
73
+ },
74
+ {
75
+ "value": "replace"
76
+ }
77
+ ]
78
+ }
79
+ },
80
+ "states": [
81
+ {
82
+ "name": "hover",
83
+ "trigger": "interaction"
84
+ },
85
+ {
86
+ "name": "down",
87
+ "trigger": "interaction"
88
+ },
89
+ {
90
+ "name": "keyboard-focus",
91
+ "trigger": "interaction"
92
+ }
93
+ ],
94
+ "lifecycle": {
95
+ "introduced": "1.0.0-draft"
96
+ },
97
+ "tokenBindings": [
98
+ {
99
+ "token": "workflow-icon-size-100",
100
+ "context": "Icon"
101
+ },
102
+ {
103
+ "token": "tree-view-minimum-height",
104
+ "context": "Height (minimum)"
105
+ },
106
+ {
107
+ "token": "tree-view-minimum-width",
108
+ "context": "Width (minimum)"
109
+ },
110
+ {
111
+ "token": "corner-radius-medium-default",
112
+ "context": "Rounding"
113
+ },
114
+ {
115
+ "token": "tree-view-disclosure-indicator-height",
116
+ "context": "Spacing (disclosure indicator)"
117
+ },
118
+ {
119
+ "token": "tree-view-disclosure-indicator-width",
120
+ "context": "Spacing (disclosure indicator)"
121
+ },
122
+ {
123
+ "token": "tree-view-edge-to-checkbox",
124
+ "context": "Spacing (edge to checkbox, checkbox)"
125
+ },
126
+ {
127
+ "token": "tree-view-edge-to-drag-handle",
128
+ "context": "Spacing (edge to drag handle, drag handle)"
129
+ },
130
+ {
131
+ "token": "tree-view-drag-handle-to-checkbox",
132
+ "context": "Spacing (drag handle to checkbox, drag handle + checkbox)"
133
+ },
134
+ {
135
+ "token": "text-to-visual-100",
136
+ "context": "Spacing (context area to label)"
137
+ },
138
+ {
139
+ "token": "component-edge-to-text-100",
140
+ "context": "Spacing (label to edge)"
141
+ },
142
+ {
143
+ "token": "tree-view-label-to-action-area",
144
+ "context": "Spacing (label to action area)"
145
+ },
146
+ {
147
+ "token": "tree-view-end-edge-to-action-area",
148
+ "context": "Spacing (edge to action area, action button 1 + action button 2)"
149
+ },
150
+ {
151
+ "token": "tree-view-level-increment",
152
+ "context": "Spacing (indentation)"
153
+ },
154
+ {
155
+ "token": "vertical-align-items",
156
+ "context": "Spacing (vertical)"
157
+ },
158
+ {
159
+ "token": "stack-item-minimum-padding-vertical",
160
+ "context": "Spacing (vertical)"
161
+ },
162
+ {
163
+ "token": "border-width-100",
164
+ "context": "Border width (selected, highlight)"
165
+ },
166
+ {
167
+ "token": "focus-indicator-thickness",
168
+ "context": "Focus "
169
+ },
170
+ {
171
+ "token": "focus-indicator-gap",
172
+ "context": "Focus (drag handle)"
173
+ },
174
+ {
175
+ "token": "component-height-200",
176
+ "context": "Height"
177
+ },
178
+ {
179
+ "token": "stack-item-minimum-vertical-padding",
180
+ "context": "Spacing (vertical)"
181
+ },
182
+ {
183
+ "token": "stack-item-item-to-item",
184
+ "context": "Spacing (vertically, between tree view items)"
185
+ },
186
+ {
187
+ "token": "tree-view-item-to-header",
188
+ "context": "Spacing (vertically, between tree view item and tree view header)"
189
+ },
190
+ {
191
+ "token": "tree-view-header-to-item",
192
+ "context": "Spacing (vertically, between tree view item and tree view header)"
193
+ },
194
+ {
195
+ "token": "stack-item-header-to-item",
196
+ "context": "Spacing (vertically, between tree view item and tree view header)"
197
+ },
198
+ {
199
+ "token": "stack-item-background-color-hover",
200
+ "context": "Background (not selected)"
201
+ },
202
+ {
203
+ "token": "stack-item-background-color-down",
204
+ "context": "Background (not selected)"
205
+ },
206
+ {
207
+ "token": "stack-item-background-color-key-focus",
208
+ "context": "Background (not selected)"
209
+ },
210
+ {
211
+ "token": "tree-view-selected-row-background-default",
212
+ "context": "Background (selected, checkbox)"
213
+ },
214
+ {
215
+ "token": "tree-view-selected-row-background-hover",
216
+ "context": "Background (selected, checkbox)"
217
+ },
218
+ {
219
+ "token": "stack-item-selected-background-color-default",
220
+ "context": "Background (selected, checkbox)"
221
+ },
222
+ {
223
+ "token": "stack-item-selected-background-color-hover",
224
+ "context": "Background (selected, checkbox)"
225
+ },
226
+ {
227
+ "token": "stack-item-selected-background-color-down",
228
+ "context": "Background (selected, checkbox)"
229
+ },
230
+ {
231
+ "token": "stack-item-selected-background-color-key-focus",
232
+ "context": "Background (selected, checkbox)"
233
+ },
234
+ {
235
+ "token": "tree-view-selected-row-background-color-emphasized",
236
+ "context": "Background (selected, emphasized)"
237
+ },
238
+ {
239
+ "token": "tree-view-selected-row-background-opacity-emphasized-hover",
240
+ "context": "Background (selected, emphasized)"
241
+ },
242
+ {
243
+ "token": "stack-item-selected-background-color-highlight",
244
+ "context": "Background (selected + highlight)"
245
+ },
246
+ {
247
+ "token": "stack-item-selected-background-opacity-highlight-hover",
248
+ "context": "Background (selected + highlight)"
249
+ },
250
+ {
251
+ "token": "accent-content-color-selected",
252
+ "context": "Border (selected + highlight)"
253
+ },
254
+ {
255
+ "token": "neutral-subdued-content-color-default",
256
+ "context": "Label and icon (non-selected)"
257
+ },
258
+ {
259
+ "token": "neutral-subdued-content-color-hover",
260
+ "context": "Label and icon (non-selected)"
261
+ },
262
+ {
263
+ "token": "neutral-subdued-content-color-down",
264
+ "context": "Label and icon (non-selected)"
265
+ },
266
+ {
267
+ "token": "neutral-subdued-content-color-key-focus",
268
+ "context": "Label and icon (non-selected)"
269
+ },
270
+ {
271
+ "token": "neutral-content-color-default",
272
+ "context": "Label and icon (selected, checkbox and highlight)"
273
+ },
274
+ {
275
+ "token": "neutral-content-color-hover",
276
+ "context": "Label and icon (selected, checkbox and highlight)"
277
+ },
278
+ {
279
+ "token": "neutral-content-color-down",
280
+ "context": "Label and icon (selected, checkbox and highlight)"
281
+ },
282
+ {
283
+ "token": "neutral-content-color-key-focus",
284
+ "context": "Label and icon (selected, checkbox and highlight)"
285
+ },
286
+ {
287
+ "token": "disabled-content-color",
288
+ "context": "Label and icon (disabled)"
289
+ },
290
+ {
291
+ "token": "focus-indicator-color",
292
+ "context": "Focus indicator"
293
+ },
294
+ {
295
+ "token": "title-content-color",
296
+ "context": "Label and icon"
297
+ },
298
+ {
299
+ "token": "default-font-family",
300
+ "context": "Text (tree view item)"
301
+ },
302
+ {
303
+ "token": "regular-font-weight",
304
+ "context": "Text (tree view item)"
305
+ },
306
+ {
307
+ "token": "default-font-style",
308
+ "context": "Text (tree view item)"
309
+ },
310
+ {
311
+ "token": "font-size-100",
312
+ "context": "Text (tree view item)"
313
+ },
314
+ {
315
+ "token": "line-height-100",
316
+ "context": "Text (tree view item)"
317
+ },
318
+ {
319
+ "token": "cjk-line-height-100",
320
+ "context": "Text (tree view item)"
321
+ },
322
+ {
323
+ "token": "bold-font-weight",
324
+ "context": "Text (tree view title)"
325
+ },
326
+ {
327
+ "token": "thumbnail-size-75",
328
+ "context": "Size"
329
+ },
330
+ {
331
+ "token": "thumbnail-size-300",
332
+ "context": "Size"
333
+ },
334
+ {
335
+ "token": "thumbnail-size-1000",
336
+ "context": "Size"
337
+ },
338
+ {
339
+ "token": "thumbnail-corner-radius",
340
+ "context": "Rounding (default)"
341
+ },
342
+ {
343
+ "token": "spacing-75",
344
+ "context": "Opacity checkerboard (layer)"
345
+ },
346
+ {
347
+ "token": "corner-radius-0",
348
+ "context": "Rounding (layer)"
349
+ },
350
+ {
351
+ "token": "thumbnail-border-color",
352
+ "context": "Border (default)"
353
+ },
354
+ {
355
+ "token": "thumbnail-border-opacity",
356
+ "context": "Border (default)"
357
+ },
358
+ {
359
+ "token": "gray-500",
360
+ "context": "Border (layer)"
361
+ },
362
+ {
363
+ "token": "opacity-checkerboard-square-light",
364
+ "context": "Checkerboard colors "
365
+ },
366
+ {
367
+ "token": "opacity-checkerboard-square-dark",
368
+ "context": "Checkerboard colors "
369
+ },
370
+ {
371
+ "token": "thumbnail-opacity-disabled",
372
+ "context": "Disabled"
373
+ }
374
+ ],
375
+ "accessibility": {
376
+ "role": "tree",
377
+ "intents": ["navigate", "select", "expand"],
378
+ "focusable": true,
379
+ "keyboardIntents": ["navigate-items", "expand", "collapse", "activate"],
380
+ "wcag": [
381
+ {
382
+ "criterion": "2.1.1",
383
+ "level": "A",
384
+ "title": "Keyboard"
385
+ },
386
+ {
387
+ "criterion": "4.1.2",
388
+ "level": "A",
389
+ "title": "Name, Role, Value"
390
+ }
391
+ ]
392
+ }
393
+ }
@@ -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": "alignment",
5
+ "description": "Horizontal alignment of a text-align token. Corresponds to the CSS text-align axis.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/alignments.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 25
11
+ },
12
+ "scope": "typography",
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "anatomy",
5
+ "description": "Visible named part of a component (e.g. handle, icon, label, track). Refers to a specific sub-element, not a styling surface.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/anatomy-terms.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 4
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "colorScheme",
5
+ "description": "Theme / appearance mode set. Controls which color scheme a token applies to (e.g. light, dark, wireframe). Drives cascade resolution.",
6
+ "kind": "mode-set",
7
+ "registry": null,
8
+ "validation": "strict",
9
+ "serialization": {
10
+ "position": 13
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "colorFamily",
5
+ "description": "Hue family of a color token (e.g. blue, gray, celery, accent). Used on color palette and semantic color tokens. Paired with scaleIndex for ramp tokens (e.g. colorFamily=blue + scaleIndex=100 → blue-100).",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/color-families.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 17
11
+ },
12
+ "scope": "color",
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "component",
5
+ "description": "Component scope — the UI component this token belongs to (e.g. button, checkbox, slider).",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/components.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 1
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "contrast",
5
+ "description": "Contrast level mode set (e.g. regular, high). Drives cascade resolution.",
6
+ "kind": "mode-set",
7
+ "registry": null,
8
+ "validation": "strict",
9
+ "serialization": {
10
+ "position": 15
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "density",
5
+ "description": "Space density within or around component parts (e.g. spacious, compact). Distinct from the `scale` mode set.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/densities.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 10
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "easing",
5
+ "description": "Easing curve identifier for a motion token (e.g. ease-in, ease-out, standard). Registry is provisional until motion tokens are added to the foundation.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/easing-curves.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 22
11
+ },
12
+ "scope": "motion",
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "family",
5
+ "description": "Type family of a typography token (e.g. sans-serif, serif, cjk, code). Used to distinguish tokens that apply to different script or display contexts.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/typography-families.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 18
11
+ },
12
+ "scope": "typography",
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "motionRole",
5
+ "description": "Semantic role of a motion token — the interaction pattern it governs (e.g. enter, exit, transition, emphasis). Registry is provisional until motion tokens are added to the foundation.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/motion-roles.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 21
11
+ },
12
+ "scope": "motion",
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "object",
5
+ "description": "Styling surface being targeted (e.g. background, border, edge, visual). Refers to what is being styled, not the property value.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/token-objects.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 5
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "orientation",
5
+ "description": "Direction or layout axis (e.g. vertical, horizontal).",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/orientations.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 7
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "position",
5
+ "description": "Location relative to another object or edge (e.g. top, bottom, start, end, affixed).",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/positions.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 8
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "property",
5
+ "description": "The stylistic attribute being defined (e.g. color, width, padding, gap). The only required field on every name object.",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/property-terms.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 6
11
+ },
12
+ "scope": null,
13
+ "required": true,
14
+ "valueType": "string"
15
+ }
@@ -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": "scale",
5
+ "description": "Platform density scale mode set (e.g. desktop, mobile). Drives cascade resolution.",
6
+ "kind": "mode-set",
7
+ "registry": null,
8
+ "validation": "strict",
9
+ "serialization": {
10
+ "position": 14
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }
@@ -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": "scaleIndex",
5
+ "description": "Numeric scale index appended at the end of the serialized name (e.g., 100, 200, 900). Used by foundational scale tokens for spacing, color palette, font sizes, border widths, corner radii, and drop-shadow values.",
6
+ "kind": "numeric",
7
+ "registry": null,
8
+ "validation": "none",
9
+ "serialization": {
10
+ "position": 99
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "integer"
15
+ }
@@ -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": "shape",
5
+ "description": "Overall component shape qualifier (e.g. uniform, rounded).",
6
+ "kind": "semantic",
7
+ "registry": "packages/design-data/registry/shapes.json",
8
+ "validation": "advisory",
9
+ "serialization": {
10
+ "position": 11
11
+ },
12
+ "scope": null,
13
+ "required": false,
14
+ "valueType": "string"
15
+ }