@adobe/spectrum-design-data 0.1.0 → 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 (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 +126 -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 +233 -233
@@ -0,0 +1,541 @@
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/cards.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "cards",
6
+ "displayName": "Cards",
7
+ "description": "Cards group related content into distinct layouts depending on context.",
8
+ "meta": {
9
+ "category": "containers",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/cards/"
11
+ },
12
+ "options": {
13
+ "variant": {
14
+ "type": "string",
15
+ "default": "asset",
16
+ "description": "Determines which card layout variant is used.",
17
+ "values": [
18
+ {
19
+ "value": "asset"
20
+ },
21
+ {
22
+ "value": "collection"
23
+ },
24
+ {
25
+ "value": "flex"
26
+ },
27
+ {
28
+ "value": "gallery"
29
+ },
30
+ {
31
+ "value": "horizontal"
32
+ },
33
+ {
34
+ "value": "product"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ "lifecycle": {
40
+ "introduced": "1.0.0-draft"
41
+ },
42
+ "tokenBindings": [
43
+ {
44
+ "token": "card-minimum-width-extra-small",
45
+ "context": "Width (minimum)"
46
+ },
47
+ {
48
+ "token": "card-minimum-width-small",
49
+ "context": "Width (minimum)"
50
+ },
51
+ {
52
+ "token": "card-minimum-width-medium",
53
+ "context": "Width (minimum)"
54
+ },
55
+ {
56
+ "token": "card-minimum-width-large",
57
+ "context": "Width (minimum)"
58
+ },
59
+ {
60
+ "token": "card-minimum-width-extra-large",
61
+ "context": "Width (minimum)"
62
+ },
63
+ {
64
+ "token": "card-default-width-extra-small",
65
+ "context": "Width (default)"
66
+ },
67
+ {
68
+ "token": "card-default-width-small",
69
+ "context": "Width (default)"
70
+ },
71
+ {
72
+ "token": "card-default-width-medium",
73
+ "context": "Width (default)"
74
+ },
75
+ {
76
+ "token": "card-default-width-large",
77
+ "context": "Width (default)"
78
+ },
79
+ {
80
+ "token": "card-default-width-extra-large",
81
+ "context": "Width (default)"
82
+ },
83
+ {
84
+ "token": "card-maximum-width-extra-small",
85
+ "context": "Width (maximum)"
86
+ },
87
+ {
88
+ "token": "card-maximum-width-small",
89
+ "context": "Width (maximum)"
90
+ },
91
+ {
92
+ "token": "card-maximum-width-medium",
93
+ "context": "Width (maximum)"
94
+ },
95
+ {
96
+ "token": "card-maximum-width-large",
97
+ "context": "Width (maximum)"
98
+ },
99
+ {
100
+ "token": "card-maximum-width-extra-large",
101
+ "context": "Width (maximum)"
102
+ },
103
+ {
104
+ "token": "corner-radius-medium-default",
105
+ "context": "Rounding"
106
+ },
107
+ {
108
+ "token": "corner-radius-large-default",
109
+ "context": "Rounding"
110
+ },
111
+ {
112
+ "token": "card-edge-to-content-compact-extra-small",
113
+ "context": "Spacing (top/side/bottom edge to content, extra small)"
114
+ },
115
+ {
116
+ "token": "card-edge-to-content-default-extra-small",
117
+ "context": "Spacing (top/side/bottom edge to content, extra small)"
118
+ },
119
+ {
120
+ "token": "card-edge-to-content-spacious-extra-small",
121
+ "context": "Spacing (top/side/bottom edge to content, extra small)"
122
+ },
123
+ {
124
+ "token": "card-edge-to-content-compact-small",
125
+ "context": "Spacing (top/side/bottom edge to content, small)"
126
+ },
127
+ {
128
+ "token": "card-edge-to-content-default-small",
129
+ "context": "Spacing (top/side/bottom edge to content, small)"
130
+ },
131
+ {
132
+ "token": "card-edge-to-content-spacious-small",
133
+ "context": "Spacing (top/side/bottom edge to content, small)"
134
+ },
135
+ {
136
+ "token": "card-edge-to-content-compact-medium",
137
+ "context": "Spacing (top/side/bottom edge to content, medium)"
138
+ },
139
+ {
140
+ "token": "card-edge-to-content-default-medium",
141
+ "context": "Spacing (top/side/bottom edge to content, medium)"
142
+ },
143
+ {
144
+ "token": "card-edge-to-content-spacious-medium",
145
+ "context": "Spacing (top/side/bottom edge to content, medium)"
146
+ },
147
+ {
148
+ "token": "card-edge-to-content-compact-large",
149
+ "context": "Spacing (top/side/bottom edge to content, large)"
150
+ },
151
+ {
152
+ "token": "card-edge-to-content-default-large",
153
+ "context": "Spacing (top/side/bottom edge to content, large)"
154
+ },
155
+ {
156
+ "token": "card-edge-to-content-spacious-large",
157
+ "context": "Spacing (top/side/bottom edge to content, large)"
158
+ },
159
+ {
160
+ "token": "card-edge-to-content-compact-extra-large",
161
+ "context": "Spacing (top/side/bottom edge to content, extra large)"
162
+ },
163
+ {
164
+ "token": "card-edge-to-content-default-extra-large",
165
+ "context": "Spacing (top/side/bottom edge to content, extra large)"
166
+ },
167
+ {
168
+ "token": "card-edge-to-content-spacious-extra-large",
169
+ "context": "Spacing (top/side/bottom edge to content, extra large)"
170
+ },
171
+ {
172
+ "token": "border-width-200",
173
+ "context": "Border"
174
+ },
175
+ {
176
+ "token": "focus-indicator-thickness",
177
+ "context": "Focus indicator"
178
+ },
179
+ {
180
+ "token": "focus-indicator-gap",
181
+ "context": "Focus indicator"
182
+ },
183
+ {
184
+ "token": "background-layer-2-color",
185
+ "context": "Background"
186
+ },
187
+ {
188
+ "token": "background-layer-1-color",
189
+ "context": "Background"
190
+ },
191
+ {
192
+ "token": "card-background-well-color",
193
+ "context": "Well"
194
+ },
195
+ {
196
+ "token": "gray-100",
197
+ "context": "Border"
198
+ },
199
+ {
200
+ "token": "gray-200",
201
+ "context": "Border"
202
+ },
203
+ {
204
+ "token": "neutral-subdued-content-color-selected",
205
+ "context": "Border"
206
+ },
207
+ {
208
+ "token": "focus-indicator-color",
209
+ "context": "Focus ring"
210
+ },
211
+ {
212
+ "token": "disabled-background-color",
213
+ "context": "Disabled"
214
+ },
215
+ {
216
+ "token": "opacity-disabled",
217
+ "context": "Disabled"
218
+ },
219
+ {
220
+ "token": "card-background-color-loading",
221
+ "context": "Loading"
222
+ },
223
+ {
224
+ "token": "card-minimum-height-extra-small",
225
+ "context": "Height (minimum)"
226
+ },
227
+ {
228
+ "token": "card-minimum-height-small",
229
+ "context": "Height (minimum)"
230
+ },
231
+ {
232
+ "token": "card-minimum-height-medium",
233
+ "context": "Height (minimum)"
234
+ },
235
+ {
236
+ "token": "card-minimum-height-large",
237
+ "context": "Height (minimum)"
238
+ },
239
+ {
240
+ "token": "card-minimum-height-extra-large",
241
+ "context": "Height (minimum)"
242
+ },
243
+ {
244
+ "token": "card-selection-background-size-small",
245
+ "context": "Selection checkbox "
246
+ },
247
+ {
248
+ "token": "card-selection-background-size-medium",
249
+ "context": "Selection checkbox "
250
+ },
251
+ {
252
+ "token": "card-selection-background-size-large",
253
+ "context": "Selection checkbox "
254
+ },
255
+ {
256
+ "token": "card-selection-background-size-extra",
257
+ "context": "Selection checkbox "
258
+ },
259
+ {
260
+ "token": "card-selection-background-corner-radius-small",
261
+ "context": "Selection checkbox "
262
+ },
263
+ {
264
+ "token": "card-selection-background-corner-radius-medium",
265
+ "context": "Selection checkbox "
266
+ },
267
+ {
268
+ "token": "card-selection-background-corner-radius-large",
269
+ "context": "Selection checkbox "
270
+ },
271
+ {
272
+ "token": "card-selection-background-corner-radius-extra-large",
273
+ "context": "Selection checkbox "
274
+ },
275
+ {
276
+ "token": "card-selection-background-color",
277
+ "context": "Selection checkbox "
278
+ },
279
+ {
280
+ "token": "text-to-visual-100",
281
+ "context": "Spacing (title to action button)"
282
+ },
283
+ {
284
+ "token": "card-header-to-description",
285
+ "context": "Spacing (header to description)"
286
+ },
287
+ {
288
+ "token": "border-width-400",
289
+ "context": "Border"
290
+ },
291
+ {
292
+ "token": "title-color",
293
+ "context": "Value"
294
+ },
295
+ {
296
+ "token": "body-color",
297
+ "context": "Value"
298
+ },
299
+ {
300
+ "token": "neutral-content-color-default",
301
+ "context": "Value"
302
+ },
303
+ {
304
+ "token": "disabled-content-color",
305
+ "context": "Disabled"
306
+ },
307
+ {
308
+ "token": "title-sans-serif-font-family",
309
+ "context": "Title"
310
+ },
311
+ {
312
+ "token": "title-sans-serif-font-weight",
313
+ "context": "Title"
314
+ },
315
+ {
316
+ "token": "title-serif-font-style",
317
+ "context": "Title"
318
+ },
319
+ {
320
+ "token": "font-size-50",
321
+ "context": "Title"
322
+ },
323
+ {
324
+ "token": "font-size-75",
325
+ "context": "Title"
326
+ },
327
+ {
328
+ "token": "font-size-100",
329
+ "context": "Title"
330
+ },
331
+ {
332
+ "token": "font-size-200",
333
+ "context": "Title"
334
+ },
335
+ {
336
+ "token": "font-size-300",
337
+ "context": "Title"
338
+ },
339
+ {
340
+ "token": "line-height-100",
341
+ "context": "Title"
342
+ },
343
+ {
344
+ "token": "cjk-line-height-100",
345
+ "context": "Title"
346
+ },
347
+ {
348
+ "token": "body-sans-serif-font-family",
349
+ "context": "Body"
350
+ },
351
+ {
352
+ "token": "body-sans-serif-font-weight",
353
+ "context": "Body"
354
+ },
355
+ {
356
+ "token": "body-serif-font-style",
357
+ "context": "Body"
358
+ },
359
+ {
360
+ "token": "collection-card-minimum-height-extra-small",
361
+ "context": "Height (minimum), default variant"
362
+ },
363
+ {
364
+ "token": "collection-card-minimum-height-small",
365
+ "context": "Height (minimum), default variant"
366
+ },
367
+ {
368
+ "token": "collection-card-minimum-height-medium",
369
+ "context": "Height (minimum), default variant"
370
+ },
371
+ {
372
+ "token": "collection-card-minimum-height-large",
373
+ "context": "Height (minimum), default variant"
374
+ },
375
+ {
376
+ "token": "collection-card-minimum-height-extra-large",
377
+ "context": "Height (minimum), default variant"
378
+ },
379
+ {
380
+ "token": "collection-card-hero-minimum-height-extra-small",
381
+ "context": "Height (minimum), hero image variant"
382
+ },
383
+ {
384
+ "token": "collection-card-hero-minimum-height-small",
385
+ "context": "Height (minimum), hero image variant"
386
+ },
387
+ {
388
+ "token": "collection-card-hero-minimum-height-medium",
389
+ "context": "Height (minimum), hero image variant"
390
+ },
391
+ {
392
+ "token": "collection-card-hero-minimum-height-large",
393
+ "context": "Height (minimum), hero image variant"
394
+ },
395
+ {
396
+ "token": "collection-card-hero-minimum-height-extra-large",
397
+ "context": "Height (minimum), hero image variant"
398
+ },
399
+ {
400
+ "token": "spacing-100",
401
+ "context": "Spacing (header to footer)"
402
+ },
403
+ {
404
+ "token": "card-header-to-footer",
405
+ "context": "Spacing (text to visual)"
406
+ },
407
+ {
408
+ "token": "card-edge-to-content-compact-extra-medium",
409
+ "context": "Spacing (top/side/bottom edge to content, medium)"
410
+ },
411
+ {
412
+ "token": "card-edge-to-content-default-extra-medium",
413
+ "context": "Spacing (top/side/bottom edge to content, medium)"
414
+ },
415
+ {
416
+ "token": "card-edge-to-content-spacious-extra-medium",
417
+ "context": "Spacing (top/side/bottom edge to content, medium)"
418
+ },
419
+ {
420
+ "token": "user-card-minimum-height-small",
421
+ "context": "Height (minimum), default variant"
422
+ },
423
+ {
424
+ "token": "user-card-minimum-height-medium",
425
+ "context": "Height (minimum), default variant"
426
+ },
427
+ {
428
+ "token": "user-card-minimum-height-large",
429
+ "context": "Height (minimum), default variant"
430
+ },
431
+ {
432
+ "token": "user-carde-minimum-height-extra-large",
433
+ "context": "Height (minimum), default variant"
434
+ },
435
+ {
436
+ "token": "user-card-minimum-height-title-below-small",
437
+ "context": "Height (minimum), title below variant"
438
+ },
439
+ {
440
+ "token": "user-card-minimum-height-title-below-medium",
441
+ "context": "Height (minimum), title below variant"
442
+ },
443
+ {
444
+ "token": "user-card-minimum-height-title-below-large",
445
+ "context": "Height (minimum), title below variant"
446
+ },
447
+ {
448
+ "token": "user-card-minimum-height-title-below-extra-large",
449
+ "context": "Height (minimum), title below variant"
450
+ },
451
+ {
452
+ "token": "card-thumbnail-to-title",
453
+ "context": "Spacing (thumbnail to title)"
454
+ },
455
+ {
456
+ "token": "card-title-to-description",
457
+ "context": "Spacing (title to description)"
458
+ },
459
+ {
460
+ "token": "card-description-to-footer",
461
+ "context": "Spacing (description to footer)"
462
+ },
463
+ {
464
+ "token": "thumbnail-size-100",
465
+ "context": "Components"
466
+ },
467
+ {
468
+ "token": "thumbnail-size-300",
469
+ "context": "Components"
470
+ },
471
+ {
472
+ "token": "thumbnail-size-500",
473
+ "context": "Components"
474
+ },
475
+ {
476
+ "token": "thumbnail-size-700",
477
+ "context": "Components"
478
+ },
479
+ {
480
+ "token": "thumbnail-size-900",
481
+ "context": "Components"
482
+ },
483
+ {
484
+ "token": "thumbnail-size-1000",
485
+ "context": "Components"
486
+ },
487
+ {
488
+ "token": "card-horizontal-edge-to-content-compact",
489
+ "context": "Spacing (top/side/bottom edge to content)"
490
+ },
491
+ {
492
+ "token": "card-horizontal-edge-to-content-default",
493
+ "context": "Spacing (top/side/bottom edge to content)"
494
+ },
495
+ {
496
+ "token": "card-horizontal-edge-to-content-spacious",
497
+ "context": "Spacing (top/side/bottom edge to content)"
498
+ },
499
+ {
500
+ "token": "border-width-100",
501
+ "context": "Stroke width (secondary, dark)"
502
+ },
503
+ {
504
+ "token": "horizontal-card-edge-to-content-default",
505
+ "context": "Spacing"
506
+ },
507
+ {
508
+ "token": "popover-border-color",
509
+ "context": "Border (Secondary, Light theme)"
510
+ },
511
+ {
512
+ "token": "horizontal-card-edge-to-content-compact",
513
+ "context": "Spacing (top/side/bottom edge to content)"
514
+ },
515
+ {
516
+ "token": "horizontal-card-edge-to-content-regular",
517
+ "context": "Spacing (top/side/bottom edge to content)"
518
+ },
519
+ {
520
+ "token": "horizontal-card-edge-to-content-spacious",
521
+ "context": "Spacing (top/side/bottom edge to content)"
522
+ }
523
+ ],
524
+ "accessibility": {
525
+ "intents": ["select"],
526
+ "focusable": true,
527
+ "keyboardIntents": ["activate"],
528
+ "wcag": [
529
+ {
530
+ "criterion": "2.1.1",
531
+ "level": "A",
532
+ "title": "Keyboard"
533
+ },
534
+ {
535
+ "criterion": "4.1.2",
536
+ "level": "A",
537
+ "title": "Name, Role, Value"
538
+ }
539
+ ]
540
+ }
541
+ }
@@ -0,0 +1,91 @@
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/checkbox-group.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "checkbox-group",
6
+ "displayName": "Checkbox group",
7
+ "description": "A checkbox group is a grouping of checkboxes that are related to each other.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/checkbox-group/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "labelPosition": {
17
+ "type": "string",
18
+ "default": "top",
19
+ "values": [
20
+ {
21
+ "value": "top"
22
+ },
23
+ {
24
+ "value": "side"
25
+ }
26
+ ]
27
+ },
28
+ "necessityIndicator": {
29
+ "type": "string",
30
+ "default": "icon",
31
+ "values": [
32
+ {
33
+ "value": "text"
34
+ },
35
+ {
36
+ "value": "icon"
37
+ }
38
+ ]
39
+ },
40
+ "isRequired": {
41
+ "type": "boolean",
42
+ "default": false
43
+ },
44
+ "orientation": {
45
+ "type": "string",
46
+ "default": "vertical",
47
+ "values": [
48
+ {
49
+ "value": "horizontal"
50
+ },
51
+ {
52
+ "value": "vertical"
53
+ }
54
+ ]
55
+ },
56
+ "isError": {
57
+ "type": "boolean",
58
+ "default": false
59
+ },
60
+ "isDisabled": {
61
+ "type": "boolean",
62
+ "default": false
63
+ },
64
+ "description": {
65
+ "type": "string"
66
+ },
67
+ "errorMessage": {
68
+ "type": "string"
69
+ }
70
+ },
71
+ "lifecycle": {
72
+ "introduced": "1.0.0-draft"
73
+ },
74
+ "tokenBindings": [],
75
+ "accessibility": {
76
+ "intents": ["choose"],
77
+ "focusable": false,
78
+ "wcag": [
79
+ {
80
+ "criterion": "1.3.1",
81
+ "level": "A",
82
+ "title": "Info and Relationships"
83
+ },
84
+ {
85
+ "criterion": "4.1.2",
86
+ "level": "A",
87
+ "title": "Name, Role, Value"
88
+ }
89
+ ]
90
+ }
91
+ }