@adobe/spectrum-design-data 1.0.3 → 2.1.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 (79) 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 +38 -40
  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 +33 -262
  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 +96 -242
  25. package/components/contextual-help.json +106 -59
  26. package/components/date-picker.json +59 -171
  27. package/components/divider.json +25 -17
  28. package/components/drop-zone.json +28 -105
  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 +31 -176
  36. package/components/menu.json +105 -339
  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 +53 -216
  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 +86 -197
  71. package/package.json +2 -2
  72. package/tokens/color-aliases.tokens.json +9 -7
  73. package/tokens/color-component.tokens.json +1 -1202
  74. package/tokens/color-palette.tokens.json +0 -33
  75. package/tokens/icons.tokens.json +3 -1
  76. package/tokens/layout-component.tokens.json +1044 -22359
  77. package/tokens/layout.tokens.json +1287 -1292
  78. package/tokens/semantic-color-palette.tokens.json +12 -4
  79. package/tokens/typography.tokens.json +559 -3212
@@ -128,307 +128,136 @@
128
128
  }
129
129
  ],
130
130
  "options": {
131
- "label": { "type": "string" },
131
+ "label": {
132
+ "type": "string"
133
+ },
132
134
  "labelPosition": {
133
135
  "type": "string",
134
136
  "default": "top",
135
- "values": [{ "value": "top" }, { "value": "side" }]
137
+ "values": [
138
+ {
139
+ "value": "top"
140
+ },
141
+ {
142
+ "value": "side"
143
+ }
144
+ ]
145
+ },
146
+ "hideLabel": {
147
+ "type": "boolean",
148
+ "default": false
149
+ },
150
+ "value": {
151
+ "type": "string",
152
+ "description": "from minValue to maxValue"
153
+ },
154
+ "width": {
155
+ "type": "number"
136
156
  },
137
- "hideLabel": { "type": "boolean", "default": false },
138
- "value": { "type": "string", "description": "from minValue to maxValue" },
139
- "width": { "type": "number" },
140
157
  "size": {
141
158
  "type": "string",
142
159
  "default": "m",
143
160
  "values": [
144
- { "value": "s" },
145
- { "value": "m" },
146
- { "value": "l" },
147
- { "value": "xl" }
161
+ {
162
+ "value": "s"
163
+ },
164
+ {
165
+ "value": "m"
166
+ },
167
+ {
168
+ "value": "l"
169
+ },
170
+ {
171
+ "value": "xl"
172
+ }
148
173
  ]
149
174
  },
150
175
  "necessityIndicator": {
151
176
  "type": "string",
152
177
  "default": "icon",
153
- "values": [{ "value": "text" }, { "value": "icon" }]
178
+ "values": [
179
+ {
180
+ "value": "text"
181
+ },
182
+ {
183
+ "value": "icon"
184
+ }
185
+ ]
154
186
  },
155
- "isRequired": { "type": "boolean", "default": false },
156
- "hasCharacterCount": { "type": "boolean", "default": false },
157
- "showValidIcon": { "type": "boolean", "default": false },
158
- "isError": {
187
+ "isRequired": {
159
188
  "type": "boolean",
160
- "default": false,
161
- "description": "If there is an error, this property overrides show valid icon."
189
+ "default": false
162
190
  },
163
- "isDisabled": { "type": "boolean", "default": false },
164
- "helpText": { "type": "string" },
165
- "errorMessage": { "type": "string" }
166
- },
167
- "states": [
168
- { "name": "hover", "trigger": "interaction" },
169
- { "name": "focus-+-hover", "trigger": "prop" },
170
- { "name": "focus-+-not-hover", "trigger": "prop" },
171
- { "name": "keyboard-focus", "trigger": "interaction" }
172
- ],
173
- "lifecycle": { "introduced": "1.0.0-draft" },
174
- "tokenBindings": [
175
- { "token": "field-default-width-small", "context": "Width (default)" },
176
- { "token": "field-default-width-medium", "context": "Width (default)" },
177
- { "token": "field-default-width-large", "context": "Width (default)" },
178
- {
179
- "token": "field-default-width-extra-large",
180
- "context": "Width (default)"
181
- },
182
- {
183
- "token": "text-field-minimum-width-multiplier",
184
- "context": "Width (minimum)"
185
- },
186
- { "token": "component-height-75", "context": "Height" },
187
- { "token": "component-height-100", "context": "Height" },
188
- { "token": "component-height-200", "context": "Height" },
189
- { "token": "component-height-300", "context": "Height" },
190
- { "token": "corner-radius-medium-size-small", "context": "Rounding" },
191
- { "token": "corner-radius-medium-size-medium", "context": "Rounding" },
192
- { "token": "corner-radius-medium-size-large", "context": "Rounding" },
193
- { "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
194
- {
195
- "token": "component-edge-to-text-75",
196
- "context": "Spacing (start/end edge to value)"
197
- },
198
- {
199
- "token": "component-edge-to-text-100",
200
- "context": "Spacing (start/end edge to value)"
201
- },
202
- {
203
- "token": "component-edge-to-text-200",
204
- "context": "Spacing (start/end edge to value)"
205
- },
206
- {
207
- "token": "component-edge-to-text-300",
208
- "context": "Spacing (start/end edge to value)"
209
- },
210
- { "token": "workflow-icon-size-75", "context": "Prefix min-width" },
211
- { "token": "workflow-icon-size-100", "context": "Prefix min-width" },
212
- { "token": "workflow-icon-size-200", "context": "Prefix min-width" },
213
- { "token": "workflow-icon-size-300", "context": "Prefix min-width" },
214
- {
215
- "token": "text-to-visual-75",
216
- "context": "Spacing (prefix to value/placeholder)"
217
- },
218
- {
219
- "token": "text-to-visual-100",
220
- "context": "Spacing (prefix to value/placeholder)"
221
- },
222
- {
223
- "token": "text-to-visual-200",
224
- "context": "Spacing (prefix to value/placeholder)"
225
- },
226
- {
227
- "token": "text-to-visual-300",
228
- "context": "Spacing (prefix to value/placeholder)"
229
- },
230
- { "token": "border-width-200", "context": "Border" },
231
- { "token": "focus-indicator-thickness", "context": "Focus indicator" },
232
- {
233
- "token": "component-top-to-workflow-icon-75",
234
- "context": "Spacing (top/bottom edge to alert icon)"
235
- },
236
- {
237
- "token": "component-top-to-workflow-icon-100",
238
- "context": "Spacing (top/bottom edge to alert icon)"
239
- },
240
- {
241
- "token": "component-top-to-workflow-icon-200",
242
- "context": "Spacing (top/bottom edge to alert icon)"
243
- },
244
- {
245
- "token": "component-top-to-workflow-icon-300",
246
- "context": "Spacing (top/bottom edge to alert icon)"
247
- },
248
- {
249
- "token": "field-edge-to-alert-icon-small",
250
- "context": "Spacing (alert icon to end edge)"
251
- },
252
- {
253
- "token": "field-edge-to-alert-icon-medium",
254
- "context": "Spacing (alert icon to end edge)"
255
- },
256
- {
257
- "token": "field-edge-to-alert-icon-large",
258
- "context": "Spacing (alert icon to end edge)"
259
- },
260
- {
261
- "token": "field-edge-to-alert-icon-extra-large",
262
- "context": "Spacing (alert icon to end edge)"
263
- },
264
- { "token": "checkmark-icon-size-75", "context": "Checkmark UI icon asset" },
265
- {
266
- "token": "checkmark-icon-size-100",
267
- "context": "Checkmark UI icon asset"
268
- },
269
- {
270
- "token": "checkmark-icon-size-200",
271
- "context": "Checkmark UI icon asset"
272
- },
273
- {
274
- "token": "checkmark-icon-size-300",
275
- "context": "Checkmark UI icon asset"
276
- },
277
- {
278
- "token": "field-top-to-validation-icon-small",
279
- "context": "Spacing (top/bottom edge to validation icon)"
280
- },
281
- {
282
- "token": "field-top-to-validation-icon-medium",
283
- "context": "Spacing (top/bottom edge to validation icon)"
284
- },
285
- {
286
- "token": "field-top-to-validation-icon-large",
287
- "context": "Spacing (top/bottom edge to validation icon)"
288
- },
289
- {
290
- "token": "field-top-to-validation-icon-extra-large",
291
- "context": "Spacing (top/bottom edge to validation icon)"
292
- },
293
- {
294
- "token": "field-edge-to-validation-icon-small",
295
- "context": "Spacing (validation icon to end edge)"
296
- },
297
- {
298
- "token": "field-edge-to-validation-icon-medium",
299
- "context": "Spacing (validation icon to end edge)"
300
- },
301
- {
302
- "token": "field-edge-to-validation-icon-large",
303
- "context": "Spacing (validation icon to end edge)"
304
- },
305
- {
306
- "token": "field-edge-to-validation-icon-extra-large",
307
- "context": "Spacing (validation icon to end edge)"
308
- },
309
- {
310
- "token": "field-label-to-component",
311
- "context": "Spacing (field label to text field)"
312
- },
313
- {
314
- "token": "spacing-200",
315
- "context": "Spacing (character count to field label)"
316
- },
317
- {
318
- "token": "component-bottom-to-text-75",
319
- "context": "Spacing (character count to field)"
320
- },
321
- {
322
- "token": "component-bottom-to-text-100",
323
- "context": "Spacing (character count to field)"
324
- },
325
- {
326
- "token": "component-bottom-to-text-200",
327
- "context": "Spacing (character count to field)"
328
- },
329
- {
330
- "token": "component-bottom-to-text-300",
331
- "context": "Spacing (character count to field)"
332
- },
333
- {
334
- "token": "side-label-character-count-to-field",
335
- "context": "Spacing (side label, field to character count)"
336
- },
337
- {
338
- "token": "help-text-to-component",
339
- "context": "Spacing (text field to help text)"
340
- },
341
- { "token": "gray-25", "context": "Background and border" },
342
- { "token": "gray-300", "context": "Background and border" },
343
- { "token": "gray-400", "context": "Background and border" },
344
- { "token": "gray-900", "context": "Background and border" },
345
- { "token": "gray-800", "context": "Background and border" },
346
- {
347
- "token": "neutral-subdued-content-color-default",
348
- "context": "Background and border"
349
- },
350
- { "token": "negative-border-color-default", "context": "Border (error)" },
351
- { "token": "negative-border-color-hover", "context": "Border (error)" },
352
- {
353
- "token": "negative-border-color-focus-hover",
354
- "context": "Border (error)"
191
+ "hasCharacterCount": {
192
+ "type": "boolean",
193
+ "default": false
355
194
  },
356
- { "token": "negative-border-color-focus", "context": "Border (error)" },
357
- { "token": "negative-border-color-key-focus", "context": "Border (error)" },
358
- { "token": "neutral-content-color-default", "context": "Value" },
359
- { "token": "neutral-content-color-hover", "context": "Value" },
360
- { "token": "neutral-content-color-focus-hover", "context": "Value" },
361
- { "token": "neutral-content-color-focus", "context": "Value" },
362
- { "token": "neutral-content-color-key-focus", "context": "Value" },
363
- { "token": "negative-visual-color", "context": "Alert icon" },
364
- { "token": "positive-visual-color", "context": "Positive icon" },
365
- { "token": "disabled-border-color", "context": "Disabled" },
366
- { "token": "disabled-content-color", "context": "Disabled" },
367
- { "token": "focus-indicator-color", "context": "Focus ring" },
368
- { "token": "gray-600", "context": "Leading icon" },
369
- { "token": "default-font-family", "context": "Value" },
370
- { "token": "regular-font-weight", "context": "Value" },
371
- { "token": "default-font-style", "context": "Value" },
372
- { "token": "component-s-regular", "context": "Value" },
373
- { "token": "component-m-regular", "context": "Value" },
374
- { "token": "component-l-regular", "context": "Value" },
375
- { "token": "component-xl-regular", "context": "Value" },
376
- { "token": "line-height-font-size-75", "context": "Value" },
377
- { "token": "line-height-font-size-100", "context": "Value" },
378
- { "token": "line-height-font-size-200", "context": "Value" },
379
- { "token": "line-height-font-size-300", "context": "Value" },
380
- { "token": "cjk-line-height-100", "context": "Value" },
381
- { "token": "medium-font-weight", "context": "Prefix" },
382
- { "token": "component-s-medium", "context": "Prefix" },
383
- { "token": "component-m-medium", "context": "Prefix" },
384
- { "token": "component-l-medium", "context": "Prefix" },
385
- { "token": "component-xl-medium", "context": "Prefix" },
386
- {
387
- "token": "component-padding-vertical-200",
388
- "context": "Spacing (top/bottom edge to text)"
195
+ "showValidIcon": {
196
+ "type": "boolean",
197
+ "default": false
389
198
  },
390
- {
391
- "token": "component-padding-vertical-300",
392
- "context": "Spacing (top/bottom edge to text)"
199
+ "isError": {
200
+ "type": "boolean",
201
+ "default": false,
202
+ "description": "If there is an error, this property overrides show valid icon."
393
203
  },
394
- {
395
- "token": "component-top-to-text-50",
396
- "context": "Spacing (top/bottom edge to text)"
204
+ "isDisabled": {
205
+ "type": "boolean",
206
+ "default": false
397
207
  },
398
- {
399
- "token": "component-top-to-text-100",
400
- "context": "Spacing (top/bottom edge to text)"
208
+ "helpText": {
209
+ "type": "string"
401
210
  },
211
+ "errorMessage": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ "states": [
402
216
  {
403
- "token": "component-top-to-text-300",
404
- "context": "Leading icon (top/bottom edge to leading icon)"
217
+ "name": "hover",
218
+ "trigger": "interaction"
405
219
  },
406
220
  {
407
- "token": "component-top-to-workflow-icon-300",
408
- "context": "Leading icon (top/bottom edge to leading icon)"
221
+ "name": "focus-+-hover",
222
+ "trigger": "prop"
409
223
  },
410
224
  {
411
- "token": "field-label-top-to-asterisk-large",
412
- "context": "Spacing (top/bottom edge to required)"
225
+ "name": "focus-+-not-hover",
226
+ "trigger": "prop"
413
227
  },
414
228
  {
415
- "token": "field-label-top-to-asterisk-extra-large",
416
- "context": "Spacing (top/bottom edge to required)"
229
+ "name": "keyboard-focus",
230
+ "trigger": "interaction"
417
231
  }
418
232
  ],
233
+ "lifecycle": {
234
+ "introduced": "1.0.0-draft"
235
+ },
419
236
  "accessibility": {
420
237
  "role": "textbox",
421
238
  "intents": ["input"],
422
239
  "focusable": true,
423
240
  "wcag": [
424
- { "criterion": "1.3.1", "level": "A", "title": "Info and Relationships" },
241
+ {
242
+ "criterion": "1.3.1",
243
+ "level": "A",
244
+ "title": "Info and Relationships"
245
+ },
425
246
  {
426
247
  "criterion": "1.3.5",
427
248
  "level": "AA",
428
249
  "title": "Identify Input Purpose"
429
250
  },
430
- { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
431
- { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
251
+ {
252
+ "criterion": "2.1.1",
253
+ "level": "A",
254
+ "title": "Keyboard"
255
+ },
256
+ {
257
+ "criterion": "4.1.2",
258
+ "level": "A",
259
+ "title": "Name, Role, Value"
260
+ }
432
261
  ]
433
262
  }
434
263
  }
@@ -55,53 +55,55 @@
55
55
  "size": {
56
56
  "type": "number",
57
57
  "values": [
58
- { "value": 50 },
59
- { "value": 75 },
60
- { "value": 100 },
61
- { "value": 200 },
62
- { "value": 300 },
63
- { "value": 400 },
64
- { "value": 500 },
65
- { "value": 600 },
66
- { "value": 700 },
67
- { "value": 800 },
68
- { "value": 900 },
69
- { "value": 1000 }
58
+ {
59
+ "value": 50
60
+ },
61
+ {
62
+ "value": 75
63
+ },
64
+ {
65
+ "value": 100
66
+ },
67
+ {
68
+ "value": 200
69
+ },
70
+ {
71
+ "value": 300
72
+ },
73
+ {
74
+ "value": 400
75
+ },
76
+ {
77
+ "value": 500
78
+ },
79
+ {
80
+ "value": 600
81
+ },
82
+ {
83
+ "value": 700
84
+ },
85
+ {
86
+ "value": 800
87
+ },
88
+ {
89
+ "value": 900
90
+ },
91
+ {
92
+ "value": 1000
93
+ }
70
94
  ]
71
95
  }
72
96
  },
73
- "states": [{ "name": "disabled", "trigger": "prop" }],
74
- "lifecycle": { "introduced": "1.0.0-draft" },
75
- "tokenBindings": [
76
- { "token": "thumbnail-size-50", "context": "Size" },
77
- { "token": "thumbnail-size-75", "context": "Size" },
78
- { "token": "thumbnail-size-100", "context": "Size" },
79
- { "token": "thumbnail-size-200", "context": "Size" },
80
- { "token": "thumbnail-size-300", "context": "Size" },
81
- { "token": "thumbnail-size-400", "context": "Size" },
82
- { "token": "thumbnail-size-500", "context": "Size" },
83
- { "token": "thumbnail-size-600", "context": "Size" },
84
- { "token": "thumbnail-size-700", "context": "Size" },
85
- { "token": "thumbnail-size-800", "context": "Size" },
86
- { "token": "thumbnail-size-900", "context": "Size" },
87
- { "token": "thumbnail-size-1000", "context": "Size" },
88
- { "token": "thumbnail-corner-radius", "context": "Rounding" },
97
+ "states": [
89
98
  {
90
- "token": "thumbnail-opacity-checkerboard-square-size",
91
- "context": "Opacity Checkerboard"
92
- },
93
- { "token": "border-width-100", "context": "Border" },
94
- { "token": "thumbnail-border-color", "context": "Border " },
95
- { "token": "thumbnail-border-opacity", "context": "Border " },
96
- {
97
- "token": "opacity-checkerboard-square-light",
98
- "context": "Checkerboard Colors "
99
- },
100
- {
101
- "token": "opacity-checkerboard-square-dark",
102
- "context": "Checkerboard Colors "
103
- },
104
- { "token": "thumbnail-opacity-disabled", "context": "Disabled" }
99
+ "name": "disabled",
100
+ "trigger": "prop"
101
+ }
105
102
  ],
106
- "accessibility": { "focusable": false }
103
+ "lifecycle": {
104
+ "introduced": "1.0.0-draft"
105
+ },
106
+ "accessibility": {
107
+ "focusable": false
108
+ }
107
109
  }
@@ -47,24 +47,6 @@
47
47
  "lifecycle": {
48
48
  "introduced": "1.0.0-draft"
49
49
  },
50
- "tokenBindings": [
51
- {
52
- "token": "letter-spacing",
53
- "context": "Title-XXXL"
54
- },
55
- {
56
- "token": "title-margin-top-multiplier",
57
- "context": "Margins"
58
- },
59
- {
60
- "token": "title-margin-bottom-multiplier",
61
- "context": "Margins"
62
- },
63
- {
64
- "token": "title-color",
65
- "context": "Color"
66
- }
67
- ],
68
50
  "accessibility": {
69
51
  "focusable": false
70
52
  }
@@ -88,83 +88,49 @@
88
88
  }
89
89
  ],
90
90
  "options": {
91
- "text": { "type": "string" },
91
+ "text": {
92
+ "type": "string"
93
+ },
92
94
  "variant": {
93
95
  "type": "string",
94
96
  "default": "neutral",
95
97
  "values": [
96
- { "value": "neutral" },
97
- { "value": "informative" },
98
- { "value": "positive" },
99
- { "value": "negative" }
98
+ {
99
+ "value": "neutral"
100
+ },
101
+ {
102
+ "value": "informative"
103
+ },
104
+ {
105
+ "value": "positive"
106
+ },
107
+ {
108
+ "value": "negative"
109
+ }
100
110
  ]
101
111
  },
102
112
  "actionLabel": {
103
113
  "type": "string",
104
114
  "description": "If undefined, this button does not appear."
105
115
  },
106
- "isAutoDismissible": { "type": "boolean", "default": false }
107
- },
108
- "lifecycle": { "introduced": "1.0.0-draft" },
109
- "tokenBindings": [
110
- { "token": "toast-height", "context": "Height" },
111
- { "token": "toast-maximum-width", "context": "Width (maximum)" },
112
- { "token": "corner-radius-800", "context": "Rounding" },
113
- { "token": "workflow-icon-size-100", "context": "Icon" },
114
- { "token": "text-to-visual-300", "context": "Spacing (icon to text)" },
115
- {
116
- "token": "spacing-400",
117
- "context": "Spacing (text to button, horizontal)"
118
- },
119
- {
120
- "token": "spacing-300",
121
- "context": "Spacing (start edge to text and icon)"
122
- },
123
- {
124
- "token": "spacing-200",
125
- "context": "Spacing (button to close button, horizontal)"
126
- },
127
- { "token": "spacing-100", "context": "Spacing (close button to end edge)" },
128
- {
129
- "token": "toast-top-to-workflow-icon",
130
- "context": "18px (desktop), 20px (mobile)"
131
- },
132
- {
133
- "token": "toast-top-to-text",
134
- "context": "18px (desktop), 20px (mobile)"
135
- },
136
- {
137
- "token": "toast-bottom-to-text",
138
- "context": "20px (desktop), 22px (mobile)"
139
- },
140
- {
141
- "token": "neutral-subdued-background-color-default",
142
- "context": "Background"
143
- },
144
- {
145
- "token": "informative-background-color-default",
146
- "context": "Background"
147
- },
148
- { "token": "positive-background-color-default", "context": "Background" },
149
- { "token": "negative-background-color-default", "context": "Background" },
150
- { "token": "white", "context": "Text and icon" },
151
- { "token": "default-font-family", "context": "Value" },
152
- { "token": "regular-font-weight", "context": "Value" },
153
- { "token": "default-font-style", "context": "Value" },
154
- { "token": "font-size-100", "context": "Value" },
155
- { "token": "line-height-100", "context": "Value" },
156
- { "token": "cjk-line-height-100", "context": "Value" },
157
- {
158
- "token": "neutral-background-color-default",
159
- "context": "Toast token changes (Jan 2025)"
116
+ "isAutoDismissible": {
117
+ "type": "boolean",
118
+ "default": false
160
119
  }
161
- ],
120
+ },
121
+ "lifecycle": {
122
+ "introduced": "1.0.0-draft"
123
+ },
162
124
  "accessibility": {
163
125
  "intents": ["dismiss"],
164
126
  "focusable": true,
165
127
  "keyboardIntents": ["dismiss"],
166
128
  "wcag": [
167
- { "criterion": "4.1.3", "level": "AA", "title": "Status Messages" }
129
+ {
130
+ "criterion": "4.1.3",
131
+ "level": "AA",
132
+ "title": "Status Messages"
133
+ }
168
134
  ]
169
135
  }
170
136
  }