@adobe/spectrum-design-data 0.0.1 → 0.2.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 (145) hide show
  1. package/LICENSE +201 -0
  2. package/components/accordion.json +557 -0
  3. package/components/action-bar.json +214 -0
  4. package/components/action-button.json +522 -0
  5. package/components/action-group.json +134 -0
  6. package/components/alert-banner.json +134 -0
  7. package/components/alert-dialog.json +180 -0
  8. package/components/avatar-group.json +166 -0
  9. package/components/avatar.json +246 -0
  10. package/components/badge.json +594 -0
  11. package/components/body.json +54 -0
  12. package/components/bottom-navigation-android.json +72 -0
  13. package/components/breadcrumbs.json +307 -0
  14. package/components/button-group.json +86 -0
  15. package/components/button.json +586 -0
  16. package/components/calendar.json +133 -0
  17. package/components/cards.json +541 -0
  18. package/components/checkbox-group.json +91 -0
  19. package/components/checkbox.json +339 -0
  20. package/components/close-button.json +208 -0
  21. package/components/coach-indicator.json +105 -0
  22. package/components/coach-mark.json +169 -0
  23. package/components/code.json +44 -0
  24. package/components/color-area.json +138 -0
  25. package/components/color-handle.json +111 -0
  26. package/components/color-loupe.json +77 -0
  27. package/components/color-slider.json +165 -0
  28. package/components/color-wheel.json +117 -0
  29. package/components/combo-box.json +543 -0
  30. package/components/contextual-help.json +230 -0
  31. package/components/date-picker.json +471 -0
  32. package/components/detail.json +53 -0
  33. package/components/divider.json +93 -0
  34. package/components/drop-zone.json +238 -0
  35. package/components/field-label.json +219 -0
  36. package/components/heading.json +68 -0
  37. package/components/help-text.json +209 -0
  38. package/components/illustrated-message.json +175 -0
  39. package/components/in-field-progress-button.json +88 -0
  40. package/components/in-field-progress-circle.json +116 -0
  41. package/components/in-line-alert.json +233 -0
  42. package/components/link.json +167 -0
  43. package/components/list-view.json +382 -0
  44. package/components/menu.json +597 -0
  45. package/components/meter.json +199 -0
  46. package/components/number-field.json +518 -0
  47. package/components/opacity-checkerboard.json +69 -0
  48. package/components/picker.json +579 -0
  49. package/components/popover.json +174 -0
  50. package/components/progress-bar.json +229 -0
  51. package/components/progress-circle.json +132 -0
  52. package/components/radio-button.json +308 -0
  53. package/components/radio-group.json +113 -0
  54. package/components/rating.json +168 -0
  55. package/components/scroll-zoom-bar.json +82 -0
  56. package/components/search-field.json +346 -0
  57. package/components/segmented-control.json +248 -0
  58. package/components/select-box.json +272 -0
  59. package/components/side-navigation.json +320 -0
  60. package/components/slider.json +407 -0
  61. package/components/standard-dialog.json +179 -0
  62. package/components/standard-panel.json +83 -0
  63. package/components/status-light.json +334 -0
  64. package/components/steplist.json +294 -0
  65. package/components/swatch-group.json +114 -0
  66. package/components/swatch.json +240 -0
  67. package/components/switch.json +336 -0
  68. package/components/tab-bar-ios.json +72 -0
  69. package/components/table.json +435 -0
  70. package/components/tabs.json +253 -0
  71. package/components/tag-field.json +243 -0
  72. package/components/tag-group.json +87 -0
  73. package/components/tag.json +393 -0
  74. package/components/takeover-dialog.json +117 -0
  75. package/components/text-area.json +555 -0
  76. package/components/text-field.json +555 -0
  77. package/components/thumbnail.json +149 -0
  78. package/components/title.json +91 -0
  79. package/components/toast.json +156 -0
  80. package/components/tooltip.json +179 -0
  81. package/components/tray.json +32 -0
  82. package/components/tree-view.json +393 -0
  83. package/fields/alignment.json +15 -0
  84. package/fields/anatomy.json +15 -0
  85. package/fields/color-scheme.json +15 -0
  86. package/fields/colorFamily.json +15 -0
  87. package/fields/component.json +15 -0
  88. package/fields/contrast.json +15 -0
  89. package/fields/density.json +15 -0
  90. package/fields/easing.json +15 -0
  91. package/fields/family.json +15 -0
  92. package/fields/motionRole.json +15 -0
  93. package/fields/object.json +15 -0
  94. package/fields/orientation.json +15 -0
  95. package/fields/position.json +15 -0
  96. package/fields/property.json +15 -0
  97. package/fields/scale.json +15 -0
  98. package/fields/scaleIndex.json +15 -0
  99. package/fields/shape.json +15 -0
  100. package/fields/size.json +15 -0
  101. package/fields/state.json +15 -0
  102. package/fields/structure.json +15 -0
  103. package/fields/style.json +15 -0
  104. package/fields/substructure.json +15 -0
  105. package/fields/variant.json +15 -0
  106. package/fields/weight.json +15 -0
  107. package/mode-sets/color-scheme.json +8 -0
  108. package/mode-sets/contrast.json +8 -0
  109. package/mode-sets/scale.json +8 -0
  110. package/package.json +42 -3
  111. package/registry/alignments.json +22 -0
  112. package/registry/anatomy-terms.json +739 -0
  113. package/registry/categories.json +55 -0
  114. package/registry/color-families.json +177 -0
  115. package/registry/components.json +277 -0
  116. package/registry/densities.json +17 -0
  117. package/registry/easing-curves.json +42 -0
  118. package/registry/glossary.json +181 -0
  119. package/registry/motion-roles.json +32 -0
  120. package/registry/navigation-terms.json +241 -0
  121. package/registry/orientations.json +17 -0
  122. package/registry/platform-extensions/ios-states.json +59 -0
  123. package/registry/platform-extensions/web-components-states.json +58 -0
  124. package/registry/platforms.json +37 -0
  125. package/registry/positions.json +32 -0
  126. package/registry/property-terms.json +212 -0
  127. package/registry/scale-values.json +126 -0
  128. package/registry/shapes.json +12 -0
  129. package/registry/sizes.json +71 -0
  130. package/registry/states.json +184 -0
  131. package/registry/structures.json +57 -0
  132. package/registry/substructures.json +12 -0
  133. package/registry/token-objects.json +32 -0
  134. package/registry/token-terminology.json +925 -0
  135. package/registry/typography-families.json +27 -0
  136. package/registry/typography-styles.json +22 -0
  137. package/registry/typography-weights.json +37 -0
  138. package/registry/variants.json +282 -0
  139. package/tokens/color-aliases.tokens.json +332 -328
  140. package/tokens/color-component.tokens.json +74 -74
  141. package/tokens/icons.tokens.json +191 -191
  142. package/tokens/layout-component.tokens.json +373 -316
  143. package/tokens/layout.tokens.json +110 -98
  144. package/tokens/semantic-color-palette.tokens.json +104 -104
  145. package/tokens/typography.tokens.json +233 -233
@@ -0,0 +1,334 @@
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/status-light.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "status-light",
6
+ "displayName": "Status light",
7
+ "description": "Status lights describe the condition of an entity. They can be used to convey semantic meaning, such as statuses and categories.",
8
+ "meta": {
9
+ "category": "status",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/status-light/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "variant": {
17
+ "type": "string",
18
+ "default": "informative",
19
+ "values": [
20
+ {
21
+ "value": "informative"
22
+ },
23
+ {
24
+ "value": "neutral"
25
+ },
26
+ {
27
+ "value": "positive"
28
+ },
29
+ {
30
+ "value": "notice"
31
+ },
32
+ {
33
+ "value": "negative"
34
+ },
35
+ {
36
+ "value": "indigo"
37
+ },
38
+ {
39
+ "value": "celery"
40
+ },
41
+ {
42
+ "value": "chartreuse"
43
+ },
44
+ {
45
+ "value": "yellow"
46
+ },
47
+ {
48
+ "value": "magenta"
49
+ },
50
+ {
51
+ "value": "fuchsia"
52
+ },
53
+ {
54
+ "value": "purple"
55
+ },
56
+ {
57
+ "value": "seafoam"
58
+ },
59
+ {
60
+ "value": "pink"
61
+ },
62
+ {
63
+ "value": "turquoise"
64
+ },
65
+ {
66
+ "value": "cinnamon"
67
+ },
68
+ {
69
+ "value": "brown"
70
+ },
71
+ {
72
+ "value": "silver"
73
+ },
74
+ {
75
+ "value": "gray"
76
+ },
77
+ {
78
+ "value": "red"
79
+ },
80
+ {
81
+ "value": "orange"
82
+ },
83
+ {
84
+ "value": "green"
85
+ },
86
+ {
87
+ "value": "cyan"
88
+ }
89
+ ]
90
+ },
91
+ "size": {
92
+ "type": "string",
93
+ "default": "m",
94
+ "values": [
95
+ {
96
+ "value": "s"
97
+ },
98
+ {
99
+ "value": "m"
100
+ },
101
+ {
102
+ "value": "l"
103
+ },
104
+ {
105
+ "value": "xl"
106
+ }
107
+ ]
108
+ }
109
+ },
110
+ "lifecycle": {
111
+ "introduced": "1.0.0-draft"
112
+ },
113
+ "tokenBindings": [
114
+ {
115
+ "token": "component-height-75",
116
+ "context": "Height"
117
+ },
118
+ {
119
+ "token": "component-height-100",
120
+ "context": "Height"
121
+ },
122
+ {
123
+ "token": "component-height-200",
124
+ "context": "Height"
125
+ },
126
+ {
127
+ "token": "component-height-300",
128
+ "context": "Height"
129
+ },
130
+ {
131
+ "token": "status-light-dot-size-small",
132
+ "context": "Dot size"
133
+ },
134
+ {
135
+ "token": "status-light-dot-size-medium",
136
+ "context": "Dot size"
137
+ },
138
+ {
139
+ "token": "status-light-dot-size-large",
140
+ "context": "Dot size"
141
+ },
142
+ {
143
+ "token": "status-light-dot-extra-large",
144
+ "context": "Dot size"
145
+ },
146
+ {
147
+ "token": "status-light-text-to-visual-75",
148
+ "context": "Spacing (dot to label) "
149
+ },
150
+ {
151
+ "token": "status-light-text-to-visual-100",
152
+ "context": "Spacing (dot to label) "
153
+ },
154
+ {
155
+ "token": "status-light-text-to-visual-200",
156
+ "context": "Spacing (dot to label) "
157
+ },
158
+ {
159
+ "token": "status-light-text-to-visual-300",
160
+ "context": "Spacing (dot to label) "
161
+ },
162
+ {
163
+ "token": "status-light-top-to-dot-small",
164
+ "context": "Spacing (top edge to dot) "
165
+ },
166
+ {
167
+ "token": "status-light-top-to-dot-medium",
168
+ "context": "Spacing (top edge to dot) "
169
+ },
170
+ {
171
+ "token": "status-light-top-to-dot-large",
172
+ "context": "Spacing (top edge to dot) "
173
+ },
174
+ {
175
+ "token": "status-light-top-to-dot-extra-large",
176
+ "context": "Spacing (top edge to dot) "
177
+ },
178
+ {
179
+ "token": "component-top-to-text-75",
180
+ "context": "Spacing (top/bottom edge to label)"
181
+ },
182
+ {
183
+ "token": "component-top-to-text-100",
184
+ "context": "Spacing (top/bottom edge to label)"
185
+ },
186
+ {
187
+ "token": "component-top-to-text-200",
188
+ "context": "Spacing (top/bottom edge to label)"
189
+ },
190
+ {
191
+ "token": "component-top-to-text-300",
192
+ "context": "Spacing (top/bottom edge to label)"
193
+ },
194
+ {
195
+ "token": "component-bottom-to-text-75",
196
+ "context": "Spacing (top/bottom edge to label)"
197
+ },
198
+ {
199
+ "token": "component-bottom-to-text-100",
200
+ "context": "Spacing (top/bottom edge to label)"
201
+ },
202
+ {
203
+ "token": "component-bottom-to-text-200",
204
+ "context": "Spacing (top/bottom edge to label)"
205
+ },
206
+ {
207
+ "token": "component-bottom-to-text-300",
208
+ "context": "Spacing (top/bottom edge to label)"
209
+ },
210
+ {
211
+ "token": "default-font-family",
212
+ "context": "Label"
213
+ },
214
+ {
215
+ "token": "regular-font-weight",
216
+ "context": "Label"
217
+ },
218
+ {
219
+ "token": "default-font-style",
220
+ "context": "Label"
221
+ },
222
+ {
223
+ "token": "font-size-75",
224
+ "context": "Label"
225
+ },
226
+ {
227
+ "token": "font-size-100",
228
+ "context": "Label"
229
+ },
230
+ {
231
+ "token": "font-size-200",
232
+ "context": "Label"
233
+ },
234
+ {
235
+ "token": "font-size-300",
236
+ "context": "Label"
237
+ },
238
+ {
239
+ "token": "line-height-100",
240
+ "context": "Label"
241
+ },
242
+ {
243
+ "token": "cjk-line-height-100",
244
+ "context": "Label"
245
+ },
246
+ {
247
+ "token": "informative-visual-color",
248
+ "context": "Semantic (Dot) "
249
+ },
250
+ {
251
+ "token": "neutral-visual-color",
252
+ "context": "Semantic (Dot) "
253
+ },
254
+ {
255
+ "token": "positive-visual-color",
256
+ "context": "Semantic (Dot) "
257
+ },
258
+ {
259
+ "token": "notice-visual-color",
260
+ "context": "Semantic (Dot) "
261
+ },
262
+ {
263
+ "token": "negative-visual-color",
264
+ "context": "Semantic (Dot) "
265
+ },
266
+ {
267
+ "token": "celery-visual-color",
268
+ "context": "Non-semantic (Dot) "
269
+ },
270
+ {
271
+ "token": "chartreuse-visual-color",
272
+ "context": "Non-semantic (Dot) "
273
+ },
274
+ {
275
+ "token": "cyan-visual-color",
276
+ "context": "Non-semantic (Dot) "
277
+ },
278
+ {
279
+ "token": "fuchsia-visual-color",
280
+ "context": "Non-semantic (Dot) "
281
+ },
282
+ {
283
+ "token": "purple-visual-color",
284
+ "context": "Non-semantic (Dot) "
285
+ },
286
+ {
287
+ "token": "magenta-visual-color",
288
+ "context": "Non-semantic (Dot) "
289
+ },
290
+ {
291
+ "token": "indigo-visual-color",
292
+ "context": "Non-semantic (Dot) "
293
+ },
294
+ {
295
+ "token": "seafoam-visual-color",
296
+ "context": "Non-semantic (Dot) "
297
+ },
298
+ {
299
+ "token": "yellow-visual-color",
300
+ "context": "Non-semantic (Dot) "
301
+ },
302
+ {
303
+ "token": "pink-visual-color",
304
+ "context": "Non-semantic (Dot) "
305
+ },
306
+ {
307
+ "token": "turquoise-visual-color",
308
+ "context": "Non-semantic (Dot) "
309
+ },
310
+ {
311
+ "token": "cinnamon-visual-color",
312
+ "context": "Non-semantic (Dot) "
313
+ },
314
+ {
315
+ "token": "brown-visual-color",
316
+ "context": "Non-semantic (Dot) "
317
+ },
318
+ {
319
+ "token": "silver-visual-color",
320
+ "context": "Non-semantic (Dot) "
321
+ },
322
+ {
323
+ "token": "gray-600",
324
+ "context": "Label"
325
+ },
326
+ {
327
+ "token": "neutral-content-color-default",
328
+ "context": "Label"
329
+ }
330
+ ],
331
+ "accessibility": {
332
+ "focusable": false
333
+ }
334
+ }
@@ -0,0 +1,294 @@
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/steplist.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "steplist",
6
+ "displayName": "Steplist",
7
+ "description": "Step lists display progress through a sequence of steps, with each step marked as completed, current, or incomplete.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/steplist/"
11
+ },
12
+ "options": {
13
+ "orientation": {
14
+ "type": "string",
15
+ "default": "horizontal",
16
+ "values": [
17
+ {
18
+ "value": "horizontal"
19
+ },
20
+ {
21
+ "value": "vertical"
22
+ }
23
+ ]
24
+ },
25
+ "items": {
26
+ "type": "array",
27
+ "description": "An array of step items in the step list.",
28
+ "items": {
29
+ "type": "object",
30
+ "properties": {
31
+ "label": {
32
+ "type": "string",
33
+ "description": "The text displayed for the step item."
34
+ },
35
+ "isDisabled": {
36
+ "type": "boolean",
37
+ "default": false,
38
+ "description": "Whether the step item is disabled."
39
+ },
40
+ "stepState": {
41
+ "type": "string",
42
+ "enum": [
43
+ "completed default",
44
+ "completed hover",
45
+ "current default",
46
+ "incomplete default"
47
+ ],
48
+ "default": "current default",
49
+ "description": "The current state of the step item."
50
+ }
51
+ },
52
+ "required": ["label", "stepState"]
53
+ }
54
+ },
55
+ "currentStep": {
56
+ "type": "string",
57
+ "description": "The identifier or label of the currently active step."
58
+ }
59
+ },
60
+ "lifecycle": {
61
+ "introduced": "1.0.0-draft"
62
+ },
63
+ "tokenBindings": [
64
+ {
65
+ "token": "steplist-step-default-width-small",
66
+ "context": "Width small (default)"
67
+ },
68
+ {
69
+ "token": "steplist-step-default-width-medium",
70
+ "context": "Width small (default)"
71
+ },
72
+ {
73
+ "token": "steplist-step-default-width-large",
74
+ "context": "Width small (default)"
75
+ },
76
+ {
77
+ "token": "steplist-step-default-width-extra-large",
78
+ "context": "Width small (default)"
79
+ },
80
+ {
81
+ "token": "steplist-step-default-height-small",
82
+ "context": "Height small (default)"
83
+ },
84
+ {
85
+ "token": "steplist-step-default-height-medium",
86
+ "context": "Height small (default)"
87
+ },
88
+ {
89
+ "token": "steplist-step-default-height-large",
90
+ "context": "Height small (default)"
91
+ },
92
+ {
93
+ "token": "steplist-step-default-height-extra-large",
94
+ "context": "Height small (default)"
95
+ },
96
+ {
97
+ "token": "steplist-step-to-track-size-small",
98
+ "context": "Spacing (step to track)"
99
+ },
100
+ {
101
+ "token": "steplist-step-to-track-size-medium",
102
+ "context": "Spacing (step to track)"
103
+ },
104
+ {
105
+ "token": "steplist-step-to-track-size-large",
106
+ "context": "Spacing (step to track)"
107
+ },
108
+ {
109
+ "token": "steplist-step-to-track-size-extra-large",
110
+ "context": "Spacing (step to track)"
111
+ },
112
+ {
113
+ "token": "steplist-bottom-to-text",
114
+ "context": "Text adjustment"
115
+ },
116
+ {
117
+ "token": "border-width-200",
118
+ "context": "Visual border"
119
+ },
120
+ {
121
+ "token": "text-to-visual-75",
122
+ "context": "Spacing (text to visual)"
123
+ },
124
+ {
125
+ "token": "text-to-visual-100",
126
+ "context": "Spacing (text to visual)"
127
+ },
128
+ {
129
+ "token": "text-to-visual-200",
130
+ "context": "Spacing (text to visual)"
131
+ },
132
+ {
133
+ "token": "text-to-visual-300",
134
+ "context": "Spacing (text to visual)"
135
+ },
136
+ {
137
+ "token": "steplist-visual-size-small",
138
+ "context": "Visual size"
139
+ },
140
+ {
141
+ "token": "steplist-visual-size-medium",
142
+ "context": "Visual size"
143
+ },
144
+ {
145
+ "token": "steplist-visual-size-large",
146
+ "context": "Visual size"
147
+ },
148
+ {
149
+ "token": "steplist-visual-size-extra-large",
150
+ "context": "Visual size"
151
+ },
152
+ {
153
+ "token": "steplist-track-thickness-thickness",
154
+ "context": "Steplist track thickness"
155
+ },
156
+ {
157
+ "token": "neutral-subdued-content-color-default",
158
+ "context": "Step text"
159
+ },
160
+ {
161
+ "token": "neutral-subdued-content-color-hover",
162
+ "context": "Step text"
163
+ },
164
+ {
165
+ "token": "neutral-subdued-content-color-key-focus",
166
+ "context": "Step text"
167
+ },
168
+ {
169
+ "token": "neutral-content-color-default",
170
+ "context": "Step text"
171
+ },
172
+ {
173
+ "token": "neutral-content-color-key-focus",
174
+ "context": "Step text"
175
+ },
176
+ {
177
+ "token": "accent-content-color-default",
178
+ "context": "Step text"
179
+ },
180
+ {
181
+ "token": "accent-content-color-key-focus",
182
+ "context": "Step text"
183
+ },
184
+ {
185
+ "token": "neutral-subdued-background-color-default",
186
+ "context": "Step visual"
187
+ },
188
+ {
189
+ "token": "neutral-subdued-background-color-hover",
190
+ "context": "Step visual"
191
+ },
192
+ {
193
+ "token": "neutral-subdued-background-color-key-focus",
194
+ "context": "Step visual"
195
+ },
196
+ {
197
+ "token": "neutral-background-color-default",
198
+ "context": "Step visual"
199
+ },
200
+ {
201
+ "token": "neutral-background-color-key-focus",
202
+ "context": "Step visual"
203
+ },
204
+ {
205
+ "token": "neutral-visual-color",
206
+ "context": "Step visual"
207
+ },
208
+ {
209
+ "token": "accent-background-color-default",
210
+ "context": "Step visual"
211
+ },
212
+ {
213
+ "token": "accent-background-color-key-focus",
214
+ "context": "Step visual"
215
+ },
216
+ {
217
+ "token": "accent-background-color-hover",
218
+ "context": "Step visual"
219
+ },
220
+ {
221
+ "token": "gray-25",
222
+ "context": "Step visual text"
223
+ },
224
+ {
225
+ "token": "white",
226
+ "context": "Step visual text"
227
+ },
228
+ {
229
+ "token": "accent-visual-color",
230
+ "context": "Steplist track"
231
+ },
232
+ {
233
+ "token": "disabled-content-color",
234
+ "context": "Disabled"
235
+ },
236
+ {
237
+ "token": "disabled-background-color",
238
+ "context": "Disabled"
239
+ },
240
+ {
241
+ "token": "default-font-family",
242
+ "context": "Label"
243
+ },
244
+ {
245
+ "token": "regular-font-weight",
246
+ "context": "Label"
247
+ },
248
+ {
249
+ "token": "default-font-style",
250
+ "context": "Label"
251
+ },
252
+ {
253
+ "token": "font-size-75",
254
+ "context": "Label"
255
+ },
256
+ {
257
+ "token": "font-size-100",
258
+ "context": "Label"
259
+ },
260
+ {
261
+ "token": "font-size-200",
262
+ "context": "Label"
263
+ },
264
+ {
265
+ "token": "font-size-300",
266
+ "context": "Label"
267
+ },
268
+ {
269
+ "token": "line-height-100",
270
+ "context": "Label"
271
+ },
272
+ {
273
+ "token": "cjk-line-height-100",
274
+ "context": "Label"
275
+ }
276
+ ],
277
+ "accessibility": {
278
+ "intents": ["navigate"],
279
+ "focusable": true,
280
+ "keyboardIntents": ["navigate-items", "activate"],
281
+ "wcag": [
282
+ {
283
+ "criterion": "2.1.1",
284
+ "level": "A",
285
+ "title": "Keyboard"
286
+ },
287
+ {
288
+ "criterion": "4.1.2",
289
+ "level": "A",
290
+ "title": "Name, Role, Value"
291
+ }
292
+ ]
293
+ }
294
+ }