@adobe/design-data-spec 1.5.0 → 2.0.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 (124) hide show
  1. package/conformance/invalid/SPEC-009/expected-errors.json +1 -1
  2. package/conformance/invalid/SPEC-018/dataset.json +8 -1
  3. package/conformance/invalid/SPEC-034/expected-errors.json +1 -1
  4. package/conformance/invalid/SPEC-035/expected-errors.json +1 -1
  5. package/package.json +5 -6
  6. package/rules/rules.yaml +8 -7
  7. package/schemas/component.schema.json +1 -1
  8. package/schemas/manifest.schema.json +1 -23
  9. package/schemas/platform-extension.json +79 -0
  10. package/schemas/registry-value.json +230 -0
  11. package/schemas/token.schema.json +1 -1
  12. package/spec/agent-surface.md +16 -14
  13. package/spec/anatomy-format.md +1 -1
  14. package/spec/cascade.md +1 -1
  15. package/spec/index.md +5 -5
  16. package/spec/mode-sets.md +1 -1
  17. package/spec/registry.md +6 -8
  18. package/spec/taxonomy.md +32 -32
  19. package/spec/token-format.md +11 -3
  20. package/components/accordion.json +0 -557
  21. package/components/action-bar.json +0 -214
  22. package/components/action-button.json +0 -522
  23. package/components/action-group.json +0 -134
  24. package/components/alert-banner.json +0 -134
  25. package/components/alert-dialog.json +0 -180
  26. package/components/avatar-group.json +0 -166
  27. package/components/avatar.json +0 -246
  28. package/components/badge.json +0 -594
  29. package/components/body.json +0 -54
  30. package/components/bottom-navigation-android.json +0 -72
  31. package/components/breadcrumbs.json +0 -307
  32. package/components/button-group.json +0 -86
  33. package/components/button.json +0 -586
  34. package/components/calendar.json +0 -133
  35. package/components/cards.json +0 -541
  36. package/components/checkbox-group.json +0 -91
  37. package/components/checkbox.json +0 -339
  38. package/components/close-button.json +0 -208
  39. package/components/coach-indicator.json +0 -105
  40. package/components/coach-mark.json +0 -169
  41. package/components/code.json +0 -44
  42. package/components/color-area.json +0 -138
  43. package/components/color-handle.json +0 -111
  44. package/components/color-loupe.json +0 -77
  45. package/components/color-slider.json +0 -165
  46. package/components/color-wheel.json +0 -117
  47. package/components/combo-box.json +0 -543
  48. package/components/contextual-help.json +0 -230
  49. package/components/date-picker.json +0 -471
  50. package/components/detail.json +0 -53
  51. package/components/divider.json +0 -93
  52. package/components/drop-zone.json +0 -238
  53. package/components/field-label.json +0 -219
  54. package/components/heading.json +0 -68
  55. package/components/help-text.json +0 -209
  56. package/components/illustrated-message.json +0 -175
  57. package/components/in-field-progress-button.json +0 -88
  58. package/components/in-field-progress-circle.json +0 -116
  59. package/components/in-line-alert.json +0 -233
  60. package/components/link.json +0 -167
  61. package/components/list-view.json +0 -382
  62. package/components/menu.json +0 -597
  63. package/components/meter.json +0 -199
  64. package/components/number-field.json +0 -518
  65. package/components/opacity-checkerboard.json +0 -69
  66. package/components/picker.json +0 -579
  67. package/components/popover.json +0 -174
  68. package/components/progress-bar.json +0 -229
  69. package/components/progress-circle.json +0 -132
  70. package/components/radio-button.json +0 -308
  71. package/components/radio-group.json +0 -113
  72. package/components/rating.json +0 -168
  73. package/components/scroll-zoom-bar.json +0 -82
  74. package/components/search-field.json +0 -346
  75. package/components/segmented-control.json +0 -248
  76. package/components/select-box.json +0 -272
  77. package/components/side-navigation.json +0 -320
  78. package/components/slider.json +0 -407
  79. package/components/standard-dialog.json +0 -179
  80. package/components/standard-panel.json +0 -83
  81. package/components/status-light.json +0 -334
  82. package/components/steplist.json +0 -294
  83. package/components/swatch-group.json +0 -114
  84. package/components/swatch.json +0 -240
  85. package/components/switch.json +0 -336
  86. package/components/tab-bar-ios.json +0 -72
  87. package/components/table.json +0 -435
  88. package/components/tabs.json +0 -253
  89. package/components/tag-field.json +0 -243
  90. package/components/tag-group.json +0 -87
  91. package/components/tag.json +0 -393
  92. package/components/takeover-dialog.json +0 -117
  93. package/components/text-area.json +0 -555
  94. package/components/text-field.json +0 -555
  95. package/components/thumbnail.json +0 -149
  96. package/components/title.json +0 -91
  97. package/components/toast.json +0 -156
  98. package/components/tooltip.json +0 -179
  99. package/components/tray.json +0 -32
  100. package/components/tree-view.json +0 -393
  101. package/fields/alignment.json +0 -15
  102. package/fields/anatomy.json +0 -15
  103. package/fields/color-scheme.json +0 -15
  104. package/fields/colorFamily.json +0 -15
  105. package/fields/component.json +0 -15
  106. package/fields/contrast.json +0 -15
  107. package/fields/density.json +0 -15
  108. package/fields/easing.json +0 -15
  109. package/fields/family.json +0 -15
  110. package/fields/motionRole.json +0 -15
  111. package/fields/object.json +0 -15
  112. package/fields/orientation.json +0 -15
  113. package/fields/position.json +0 -15
  114. package/fields/property.json +0 -15
  115. package/fields/scale.json +0 -15
  116. package/fields/scaleIndex.json +0 -15
  117. package/fields/shape.json +0 -15
  118. package/fields/size.json +0 -15
  119. package/fields/state.json +0 -15
  120. package/fields/structure.json +0 -15
  121. package/fields/style.json +0 -15
  122. package/fields/substructure.json +0 -15
  123. package/fields/variant.json +0 -15
  124. package/fields/weight.json +0 -15
@@ -1,393 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/alignments.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 25
11
- },
12
- "scope": "typography",
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/anatomy-terms.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 4
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/color-families.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 17
11
- },
12
- "scope": "color",
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/components.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 1
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/densities.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 10
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/easing-curves.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 22
11
- },
12
- "scope": "motion",
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/typography-families.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 18
11
- },
12
- "scope": "typography",
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/motion-roles.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 21
11
- },
12
- "scope": "motion",
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/token-objects.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 5
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/orientations.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 7
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/positions.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 8
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }
@@ -1,15 +0,0 @@
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-system-registry/registry/property-terms.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 6
11
- },
12
- "scope": null,
13
- "required": true,
14
- "valueType": "string"
15
- }
package/fields/scale.json DELETED
@@ -1,15 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
package/fields/shape.json DELETED
@@ -1,15 +0,0 @@
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-system-registry/registry/shapes.json",
8
- "validation": "advisory",
9
- "serialization": {
10
- "position": 11
11
- },
12
- "scope": null,
13
- "required": false,
14
- "valueType": "string"
15
- }