@adobe/spectrum-design-data 2.0.0 → 2.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 (77) hide show
  1. package/components/accordion.json +49 -295
  2. package/components/action-bar.json +16 -119
  3. package/components/action-button.json +69 -302
  4. package/components/action-group.json +74 -20
  5. package/components/alert-banner.json +27 -47
  6. package/components/alert-dialog.json +37 -45
  7. package/components/avatar-group.json +28 -54
  8. package/components/avatar.json +92 -59
  9. package/components/badge.json +121 -370
  10. package/components/breadcrumbs.json +53 -159
  11. package/components/button-group.json +40 -13
  12. package/components/button.json +88 -231
  13. package/components/cards.json +31 -290
  14. package/components/checkbox-group.json +58 -13
  15. package/components/checkbox.json +53 -156
  16. package/components/close-button.json +47 -76
  17. package/components/coach-indicator.json +44 -31
  18. package/components/coach-mark.json +19 -43
  19. package/components/color-area.json +64 -26
  20. package/components/color-handle.json +35 -27
  21. package/components/color-loupe.json +6 -17
  22. package/components/color-slider.json +80 -35
  23. package/components/color-wheel.json +51 -25
  24. package/components/combo-box.json +94 -246
  25. package/components/contextual-help.json +106 -59
  26. package/components/date-picker.json +57 -185
  27. package/components/divider.json +25 -17
  28. package/components/drop-zone.json +24 -119
  29. package/components/field-label.json +45 -103
  30. package/components/help-text.json +29 -97
  31. package/components/illustrated-message.json +25 -74
  32. package/components/in-field-progress-circle.json +0 -54
  33. package/components/in-line-alert.json +39 -130
  34. package/components/link.json +40 -58
  35. package/components/list-view.json +30 -181
  36. package/components/menu.json +100 -340
  37. package/components/meter.json +52 -78
  38. package/components/number-field.json +72 -239
  39. package/components/opacity-checkerboard.json +0 -18
  40. package/components/picker.json +95 -275
  41. package/components/popover.json +88 -45
  42. package/components/progress-bar.json +63 -78
  43. package/components/progress-circle.json +36 -33
  44. package/components/radio-button.json +36 -145
  45. package/components/radio-group.json +74 -18
  46. package/components/rating.json +33 -48
  47. package/components/search-field.json +64 -133
  48. package/components/segmented-control.json +37 -86
  49. package/components/select-box.json +52 -100
  50. package/components/side-navigation.json +32 -164
  51. package/components/slider.json +90 -182
  52. package/components/standard-dialog.json +37 -43
  53. package/components/status-light.json +92 -134
  54. package/components/steplist.json +23 -113
  55. package/components/swatch-group.json +50 -22
  56. package/components/swatch.json +62 -70
  57. package/components/switch.json +51 -143
  58. package/components/table.json +51 -232
  59. package/components/tabs.json +29 -84
  60. package/components/tag-field.json +53 -85
  61. package/components/tag-group.json +36 -18
  62. package/components/tag.json +43 -206
  63. package/components/takeover-dialog.json +30 -20
  64. package/components/text-area.json +114 -247
  65. package/components/text-field.json +90 -261
  66. package/components/thumbnail.json +46 -44
  67. package/components/title.json +0 -18
  68. package/components/toast.json +27 -61
  69. package/components/tooltip.json +36 -52
  70. package/components/tree-view.json +79 -200
  71. package/package.json +2 -2
  72. package/tokens/color-aliases.tokens.json +33 -0
  73. package/tokens/color-component.tokens.json +1 -1212
  74. package/tokens/color-palette.tokens.json +0 -33
  75. package/tokens/layout-component.tokens.json +833 -24074
  76. package/tokens/layout.tokens.json +64 -597
  77. package/tokens/typography.tokens.json +559 -3318
@@ -82,395 +82,146 @@
82
82
  "variant": {
83
83
  "type": "string",
84
84
  "values": [
85
- { "value": "neutral" },
86
- { "value": "info" },
87
- { "value": "positive" },
88
- { "value": "negative" },
89
- { "value": "indigo" },
90
- { "value": "yellow" },
91
- { "value": "magenta" },
92
- { "value": "fuchsia" },
93
- { "value": "purple" },
94
- { "value": "seafoam" },
95
- { "value": "accent" },
96
- { "value": "notice" },
97
- { "value": "gray" },
98
- { "value": "red" },
99
- { "value": "orange" },
100
- { "value": "chartreuse" },
101
- { "value": "celery" },
102
- { "value": "green" },
103
- { "value": "cyan" },
104
- { "value": "blue" },
105
- { "value": "pink" },
106
- { "value": "turquoise" },
107
- { "value": "brown" },
108
- { "value": "cinnamon" },
109
- { "value": "silver" }
85
+ {
86
+ "value": "neutral"
87
+ },
88
+ {
89
+ "value": "info"
90
+ },
91
+ {
92
+ "value": "positive"
93
+ },
94
+ {
95
+ "value": "negative"
96
+ },
97
+ {
98
+ "value": "indigo"
99
+ },
100
+ {
101
+ "value": "yellow"
102
+ },
103
+ {
104
+ "value": "magenta"
105
+ },
106
+ {
107
+ "value": "fuchsia"
108
+ },
109
+ {
110
+ "value": "purple"
111
+ },
112
+ {
113
+ "value": "seafoam"
114
+ },
115
+ {
116
+ "value": "accent"
117
+ },
118
+ {
119
+ "value": "notice"
120
+ },
121
+ {
122
+ "value": "gray"
123
+ },
124
+ {
125
+ "value": "red"
126
+ },
127
+ {
128
+ "value": "orange"
129
+ },
130
+ {
131
+ "value": "chartreuse"
132
+ },
133
+ {
134
+ "value": "celery"
135
+ },
136
+ {
137
+ "value": "green"
138
+ },
139
+ {
140
+ "value": "cyan"
141
+ },
142
+ {
143
+ "value": "blue"
144
+ },
145
+ {
146
+ "value": "pink"
147
+ },
148
+ {
149
+ "value": "turquoise"
150
+ },
151
+ {
152
+ "value": "brown"
153
+ },
154
+ {
155
+ "value": "cinnamon"
156
+ },
157
+ {
158
+ "value": "silver"
159
+ }
110
160
  ]
111
161
  },
112
162
  "style": {
113
163
  "type": "string",
114
164
  "values": [
115
- { "value": "bold" },
116
- { "value": "subtle" },
117
- { "value": "outline" }
165
+ {
166
+ "value": "bold"
167
+ },
168
+ {
169
+ "value": "subtle"
170
+ },
171
+ {
172
+ "value": "outline"
173
+ }
118
174
  ]
119
175
  },
120
176
  "fixed": {
121
177
  "type": "string",
122
178
  "default": "none",
123
179
  "values": [
124
- { "value": "none" },
125
- { "value": "top" },
126
- { "value": "right" },
127
- { "value": "bottom" },
128
- { "value": "left" }
180
+ {
181
+ "value": "none"
182
+ },
183
+ {
184
+ "value": "top"
185
+ },
186
+ {
187
+ "value": "right"
188
+ },
189
+ {
190
+ "value": "bottom"
191
+ },
192
+ {
193
+ "value": "left"
194
+ }
129
195
  ]
130
196
  },
131
- "isDisabled": { "type": "boolean", "default": false },
197
+ "isDisabled": {
198
+ "type": "boolean",
199
+ "default": false
200
+ },
132
201
  "size": {
133
202
  "type": "string",
134
203
  "pattern": "^(x?s|m|x{0,3}l)$",
135
204
  "default": "s",
136
205
  "values": [
137
- { "value": "s" },
138
- { "value": "m" },
139
- { "value": "l" },
140
- { "value": "xl" }
206
+ {
207
+ "value": "s"
208
+ },
209
+ {
210
+ "value": "m"
211
+ },
212
+ {
213
+ "value": "l"
214
+ },
215
+ {
216
+ "value": "xl"
217
+ }
141
218
  ]
142
219
  }
143
220
  },
144
- "lifecycle": { "introduced": "1.0.0-draft" },
145
- "tokenBindings": [
146
- { "token": "component-height-75", "context": "Minimum height" },
147
- { "token": "component-height-100", "context": "Minimum height" },
148
- { "token": "component-height-200", "context": "Minimum height" },
149
- { "token": "component-height-300", "context": "Minimum height" },
150
- { "token": "corner-radius-medium-size-small", "context": "Rounding" },
151
- { "token": "corner-radius-medium-size-medium", "context": "Rounding" },
152
- { "token": "corner-radius-medium-size-large", "context": "Rounding" },
153
- { "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
154
- { "token": "workflow-icon-size-75", "context": "Icon" },
155
- { "token": "workflow-icon-size-100", "context": "Icon" },
156
- { "token": "workflow-icon-size-200", "context": "Icon" },
157
- { "token": "workflow-icon-size-300", "context": "Icon" },
158
- { "token": "text-to-visual-75", "context": "Spacing (icon to label)" },
159
- { "token": "text-to-visual-100", "context": "Spacing (icon to label)" },
160
- { "token": "text-to-visual-200", "context": "Spacing (icon to label)" },
161
- { "token": "text-to-visual-300", "context": "Spacing (icon to label)" },
162
- {
163
- "token": "component-edge-to-visual-75",
164
- "context": "Spacing (start/end edges)"
165
- },
166
- {
167
- "token": "component-edge-to-visual-100",
168
- "context": "Spacing (start/end edges)"
169
- },
170
- {
171
- "token": "component-edge-to-visual-200",
172
- "context": "Spacing (start/end edges)"
173
- },
174
- {
175
- "token": "component-edge-to-visual-300",
176
- "context": "Spacing (start/end edges)"
177
- },
178
- {
179
- "token": "component-edge-to-text-75",
180
- "context": "Spacing (start/end edges)"
181
- },
182
- {
183
- "token": "component-edge-to-text-100",
184
- "context": "Spacing (start/end edges)"
185
- },
186
- {
187
- "token": "component-edge-to-text-200",
188
- "context": "Spacing (start/end edges)"
189
- },
190
- {
191
- "token": "component-edge-to-text-300",
192
- "context": "Spacing (start/end edges)"
193
- },
194
- {
195
- "token": "component-edge-to-visual-only-75",
196
- "context": "Spacing (start/end edges, icon only)"
197
- },
198
- {
199
- "token": "component-edge-to-visual-only-100",
200
- "context": "Spacing (start/end edges, icon only)"
201
- },
202
- {
203
- "token": "component-edge-to-visual-only-200",
204
- "context": "Spacing (start/end edges, icon only)"
205
- },
206
- {
207
- "token": "component-edge-to-visual-only-300",
208
- "context": "Spacing (start/end edges, icon only)"
209
- },
210
- {
211
- "token": "component-top-to-workflow-icon-75",
212
- "context": "Spacing (top edge to icon)"
213
- },
214
- {
215
- "token": "component-top-to-workflow-icon-100",
216
- "context": "Spacing (top edge to icon)"
217
- },
218
- {
219
- "token": "component-top-to-workflow-icon-200",
220
- "context": "Spacing (top edge to icon)"
221
- },
222
- {
223
- "token": "component-top-to-workflow-icon-300",
224
- "context": "Spacing (top edge to icon)"
225
- },
226
- { "token": "border-width-200", "context": "Border" },
227
- {
228
- "token": "component-top-to-text-75",
229
- "context": "Spacing (top/bottom edge to label)"
230
- },
231
- {
232
- "token": "component-top-to-text-100",
233
- "context": "Spacing (top/bottom edge to label)"
234
- },
235
- {
236
- "token": "component-top-to-text-200",
237
- "context": "Spacing (top/bottom edge to label)"
238
- },
239
- {
240
- "token": "component-top-to-text-300",
241
- "context": "Spacing (top/bottom edge to label)"
242
- },
243
- {
244
- "token": "component-bottom-to-text-75",
245
- "context": "Spacing (top/bottom edge to label)"
246
- },
247
- {
248
- "token": "component-bottom-to-text-100",
249
- "context": "Spacing (top/bottom edge to label)"
250
- },
251
- {
252
- "token": "component-bottom-to-text-200",
253
- "context": "Spacing (top/bottom edge to label)"
254
- },
255
- {
256
- "token": "component-bottom-to-text-300",
257
- "context": "Spacing (top/bottom edge to label)"
258
- },
259
- { "token": "white", "context": "Text and icon (semantic)" },
260
- { "token": "black", "context": "Text and icon (semantic)" },
261
- {
262
- "token": "neutral-subdued-background-color-default",
263
- "context": "Background (semantic)"
264
- },
265
- {
266
- "token": "accent-background-color-default",
267
- "context": "Background (semantic)"
268
- },
269
- {
270
- "token": "informative-background-color-default",
271
- "context": "Background (semantic)"
272
- },
273
- {
274
- "token": "negative-background-color-default",
275
- "context": "Background (semantic)"
276
- },
277
- {
278
- "token": "notice-background-color-default",
279
- "context": "Background (semantic)"
280
- },
281
- {
282
- "token": "positive-background-color-default",
283
- "context": "Background (semantic)"
284
- },
285
- {
286
- "token": "gray-background-color-default",
287
- "context": "Background (non-semantic) "
288
- },
289
- {
290
- "token": "red-background-color-default",
291
- "context": "Background (non-semantic) "
292
- },
293
- {
294
- "token": "orange-background-color-default",
295
- "context": "Background (non-semantic) "
296
- },
297
- {
298
- "token": "yellow-background-color-default",
299
- "context": "Background (non-semantic) "
300
- },
301
- {
302
- "token": "chartreuse-background-color-default",
303
- "context": "Background (non-semantic) "
304
- },
305
- {
306
- "token": "celery-background-color-default",
307
- "context": "Background (non-semantic) "
308
- },
309
- {
310
- "token": "green-background-color-default",
311
- "context": "Background (non-semantic) "
312
- },
313
- {
314
- "token": "seafoam-background-color-default",
315
- "context": "Background (non-semantic) "
316
- },
317
- {
318
- "token": "cyan-background-color-default",
319
- "context": "Background (non-semantic) "
320
- },
321
- {
322
- "token": "blue-background-color-default",
323
- "context": "Background (non-semantic) "
324
- },
325
- {
326
- "token": "indigo-background-color-default",
327
- "context": "Background (non-semantic) "
328
- },
329
- {
330
- "token": "purple-background-color-default",
331
- "context": "Background (non-semantic) "
332
- },
333
- {
334
- "token": "fuchsia-background-color-default",
335
- "context": "Background (non-semantic) "
336
- },
337
- {
338
- "token": "magenta-background-color-default",
339
- "context": "Background (non-semantic) "
340
- },
341
- {
342
- "token": "pink-background-color-default",
343
- "context": "Background (non-semantic) "
344
- },
345
- {
346
- "token": "turquoise-background-color-default",
347
- "context": "Background (non-semantic) "
348
- },
349
- {
350
- "token": "brown-background-color-default",
351
- "context": "Background (non-semantic) "
352
- },
353
- {
354
- "token": "cinnamon-background-color-default",
355
- "context": "Background (non-semantic) "
356
- },
357
- {
358
- "token": "silver-background-color-default",
359
- "context": "Background (non-semantic) "
360
- },
361
- { "token": "gray-1000", "context": "Text and icon (semantic)" },
362
- {
363
- "token": "neutral-subtle-background-color-default",
364
- "context": "Background (semantic)"
365
- },
366
- {
367
- "token": "accent-subtle-background-color-default",
368
- "context": "Background (semantic)"
369
- },
370
- {
371
- "token": "informative-subtle-background-color-default",
372
- "context": "Background (semantic)"
373
- },
374
- {
375
- "token": "negative-subtle-background-color-default",
376
- "context": "Background (semantic)"
377
- },
378
- {
379
- "token": "notice-subtle-background-color-default",
380
- "context": "Background (semantic)"
381
- },
382
- {
383
- "token": "positive-subtle-background-color-default",
384
- "context": "Background (semantic)"
385
- },
386
- {
387
- "token": "gray-subtle-background-color-default",
388
- "context": "Background (non-semantic) "
389
- },
390
- {
391
- "token": "red-subtle-background-color-default",
392
- "context": "Background (non-semantic) "
393
- },
394
- {
395
- "token": "orange-subtle-background-color-default",
396
- "context": "Background (non-semantic) "
397
- },
398
- {
399
- "token": "yellow-subtle-background-color-default",
400
- "context": "Background (non-semantic) "
401
- },
402
- {
403
- "token": "chartreuse-subtle-background-color-default",
404
- "context": "Background (non-semantic) "
405
- },
406
- {
407
- "token": "celery-subtle-background-color-default",
408
- "context": "Background (non-semantic) "
409
- },
410
- {
411
- "token": "green-subtle-background-color-default",
412
- "context": "Background (non-semantic) "
413
- },
414
- {
415
- "token": "seafoam-subtle-background-color-default",
416
- "context": "Background (non-semantic) "
417
- },
418
- {
419
- "token": "cyan-subtle-background-color-default",
420
- "context": "Background (non-semantic) "
421
- },
422
- {
423
- "token": "blue-subtle-background-color-default",
424
- "context": "Background (non-semantic) "
425
- },
426
- {
427
- "token": "indigo-subtle-background-color-default",
428
- "context": "Background (non-semantic) "
429
- },
430
- {
431
- "token": "purple-subtle-background-color-default",
432
- "context": "Background (non-semantic) "
433
- },
434
- {
435
- "token": "magenta-subtle-background-color-default",
436
- "context": "Background (non-semantic) "
437
- },
438
- {
439
- "token": "pink-subtle-background-color-default",
440
- "context": "Background (non-semantic) "
441
- },
442
- {
443
- "token": "turquoise-subtle-background-color-default",
444
- "context": "Background (non-semantic) "
445
- },
446
- {
447
- "token": "brown-subtle-background-color-default",
448
- "context": "Background (non-semantic) "
449
- },
450
- {
451
- "token": "cinnamon-subtle-background-color-default",
452
- "context": "Background (non-semantic) "
453
- },
454
- {
455
- "token": "silver-subtle-background-color-default",
456
- "context": "Background (non-semantic) "
457
- },
458
- { "token": "background-layer-2-color", "context": "Background (semantic)" },
459
- { "token": "neutral-visual-color", "context": "Border (semantic)" },
460
- { "token": "accent-visual-color", "context": "Border (semantic)" },
461
- { "token": "informative-visual-color", "context": "Border (semantic)" },
462
- { "token": "negative-visual-color", "context": "Border (semantic)" },
463
- { "token": "notice-visual-color", "context": "Border (semantic)" },
464
- { "token": "positive-visual-color", "context": "Border (semantic)" },
465
- { "token": "default-font-family" },
466
- { "token": "medium-font-weight" },
467
- { "token": "default-font-style" },
468
- { "token": "font-size-75" },
469
- { "token": "font-size-100" },
470
- { "token": "font-size-200" },
471
- { "token": "font-size-300" },
472
- { "token": "line-height-100" },
473
- { "token": "cjk-line-height-100" }
474
- ],
475
- "accessibility": { "focusable": false }
221
+ "lifecycle": {
222
+ "introduced": "1.0.0-draft"
223
+ },
224
+ "accessibility": {
225
+ "focusable": false
226
+ }
476
227
  }