@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.
- package/components/accordion.json +49 -295
- package/components/action-bar.json +16 -119
- package/components/action-button.json +69 -302
- package/components/action-group.json +74 -20
- package/components/alert-banner.json +27 -47
- package/components/alert-dialog.json +37 -45
- package/components/avatar-group.json +28 -54
- package/components/avatar.json +92 -59
- package/components/badge.json +121 -370
- package/components/breadcrumbs.json +53 -159
- package/components/button-group.json +40 -13
- package/components/button.json +88 -231
- package/components/cards.json +31 -290
- package/components/checkbox-group.json +58 -13
- package/components/checkbox.json +53 -156
- package/components/close-button.json +47 -76
- package/components/coach-indicator.json +44 -31
- package/components/coach-mark.json +19 -43
- package/components/color-area.json +64 -26
- package/components/color-handle.json +35 -27
- package/components/color-loupe.json +6 -17
- package/components/color-slider.json +80 -35
- package/components/color-wheel.json +51 -25
- package/components/combo-box.json +94 -246
- package/components/contextual-help.json +106 -59
- package/components/date-picker.json +57 -185
- package/components/divider.json +25 -17
- package/components/drop-zone.json +24 -119
- package/components/field-label.json +45 -103
- package/components/help-text.json +29 -97
- package/components/illustrated-message.json +25 -74
- package/components/in-field-progress-circle.json +0 -54
- package/components/in-line-alert.json +39 -130
- package/components/link.json +40 -58
- package/components/list-view.json +30 -181
- package/components/menu.json +100 -340
- package/components/meter.json +52 -78
- package/components/number-field.json +72 -239
- package/components/opacity-checkerboard.json +0 -18
- package/components/picker.json +95 -275
- package/components/popover.json +88 -45
- package/components/progress-bar.json +63 -78
- package/components/progress-circle.json +36 -33
- package/components/radio-button.json +36 -145
- package/components/radio-group.json +74 -18
- package/components/rating.json +33 -48
- package/components/search-field.json +64 -133
- package/components/segmented-control.json +37 -86
- package/components/select-box.json +52 -100
- package/components/side-navigation.json +32 -164
- package/components/slider.json +90 -182
- package/components/standard-dialog.json +37 -43
- package/components/status-light.json +92 -134
- package/components/steplist.json +23 -113
- package/components/swatch-group.json +50 -22
- package/components/swatch.json +62 -70
- package/components/switch.json +51 -143
- package/components/table.json +51 -232
- package/components/tabs.json +29 -84
- package/components/tag-field.json +53 -85
- package/components/tag-group.json +36 -18
- package/components/tag.json +43 -206
- package/components/takeover-dialog.json +30 -20
- package/components/text-area.json +114 -247
- package/components/text-field.json +90 -261
- package/components/thumbnail.json +46 -44
- package/components/title.json +0 -18
- package/components/toast.json +27 -61
- package/components/tooltip.json +36 -52
- package/components/tree-view.json +79 -200
- package/package.json +2 -2
- package/tokens/color-aliases.tokens.json +33 -0
- package/tokens/color-component.tokens.json +1 -1212
- package/tokens/color-palette.tokens.json +0 -33
- package/tokens/layout-component.tokens.json +833 -24074
- package/tokens/layout.tokens.json +64 -597
- package/tokens/typography.tokens.json +559 -3318
package/components/picker.json
CHANGED
|
@@ -148,14 +148,27 @@
|
|
|
148
148
|
}
|
|
149
149
|
],
|
|
150
150
|
"options": {
|
|
151
|
-
"label": {
|
|
151
|
+
"label": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
152
154
|
"labelPosition": {
|
|
153
155
|
"type": "string",
|
|
154
156
|
"default": "top",
|
|
155
|
-
"values": [
|
|
157
|
+
"values": [
|
|
158
|
+
{
|
|
159
|
+
"value": "top"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "side"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"placeholder": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"value": {
|
|
170
|
+
"type": "string"
|
|
156
171
|
},
|
|
157
|
-
"placeholder": { "type": "string" },
|
|
158
|
-
"value": { "type": "string" },
|
|
159
172
|
"width": {
|
|
160
173
|
"type": "number",
|
|
161
174
|
"description": "Not applicable to quiet picker."
|
|
@@ -164,304 +177,111 @@
|
|
|
164
177
|
"type": "string",
|
|
165
178
|
"default": "m",
|
|
166
179
|
"values": [
|
|
167
|
-
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
{
|
|
180
|
+
{
|
|
181
|
+
"value": "s"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"value": "m"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"value": "l"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"value": "xl"
|
|
191
|
+
}
|
|
171
192
|
]
|
|
172
193
|
},
|
|
173
|
-
"isQuiet": {
|
|
194
|
+
"isQuiet": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"default": false
|
|
197
|
+
},
|
|
174
198
|
"necessityIndicator": {
|
|
175
199
|
"type": "string",
|
|
176
200
|
"default": "icon",
|
|
177
|
-
"values": [
|
|
201
|
+
"values": [
|
|
202
|
+
{
|
|
203
|
+
"value": "text"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"value": "icon"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"isRequired": {
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"default": false
|
|
178
213
|
},
|
|
179
|
-
"isRequired": { "type": "boolean", "default": false },
|
|
180
214
|
"menuContainer": {
|
|
181
215
|
"type": "string",
|
|
182
216
|
"default": "popover",
|
|
183
|
-
"values": [
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
{ "name": "hover", "trigger": "interaction" },
|
|
192
|
-
{ "name": "focus-+-hover", "trigger": "prop" },
|
|
193
|
-
{ "name": "focus-+-not-hover", "trigger": "prop" },
|
|
194
|
-
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
195
|
-
],
|
|
196
|
-
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
197
|
-
"tokenBindings": [
|
|
198
|
-
{ "token": "field-default-width-small", "context": "Width (default)" },
|
|
199
|
-
{ "token": "field-default-width-medium", "context": "Width (default)" },
|
|
200
|
-
{ "token": "field-default-width-large", "context": "Width (default)" },
|
|
201
|
-
{
|
|
202
|
-
"token": "field-default-width-extra-large",
|
|
203
|
-
"context": "Width (default)"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"token": "picker-minimum-width-multiplier",
|
|
207
|
-
"context": "Width (minimum)"
|
|
208
|
-
},
|
|
209
|
-
{ "token": "component-height-75", "context": "Height" },
|
|
210
|
-
{ "token": "component-height-100", "context": "Height" },
|
|
211
|
-
{ "token": "component-height-200", "context": "Height" },
|
|
212
|
-
{ "token": "component-height-300", "context": "Height" },
|
|
213
|
-
{ "token": "corner-radius-medium-size-small", "context": "Rounding" },
|
|
214
|
-
{ "token": "corner-radius-medium-size-medium", "context": "Rounding" },
|
|
215
|
-
{ "token": "corner-radius-medium-size-large", "context": "Rounding" },
|
|
216
|
-
{ "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
|
|
217
|
-
{
|
|
218
|
-
"token": "component-edge-to-text-75",
|
|
219
|
-
"context": "Spacing (start/end edge to value)"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"token": "component-edge-to-text-100",
|
|
223
|
-
"context": "Spacing (start/end edge to value)"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"token": "component-edge-to-text-200",
|
|
227
|
-
"context": "Spacing (start/end edge to value)"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"token": "component-edge-to-text-300",
|
|
231
|
-
"context": "Spacing (start/end edge to value)"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"token": "field-edge-to-text-quiet",
|
|
235
|
-
"context": "Spacing (start/end edge to value)"
|
|
236
|
-
},
|
|
237
|
-
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
238
|
-
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
239
|
-
{
|
|
240
|
-
"token": "component-size-difference-down",
|
|
241
|
-
"context": "Component size (down)"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"token": "component-size-width-ratio-down",
|
|
245
|
-
"context": "Component size (down)"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"token": "component-size-minimum-perspective-down",
|
|
249
|
-
"context": "Component size (down)"
|
|
250
|
-
},
|
|
251
|
-
{ "token": "workflow-icon-size-75", "context": "Prefix min-width" },
|
|
252
|
-
{ "token": "workflow-icon-size-100", "context": "Prefix min-width" },
|
|
253
|
-
{ "token": "workflow-icon-size-200", "context": "Prefix min-width" },
|
|
254
|
-
{ "token": "workflow-icon-size-300", "context": "Prefix min-width" },
|
|
255
|
-
{
|
|
256
|
-
"token": "picker-end-edge-to-disclosure-icon-quiet",
|
|
257
|
-
"context": "Spacing (start/end edge to prefix)"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"token": "text-to-visual-75",
|
|
261
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"token": "text-to-visual-100",
|
|
265
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"token": "text-to-visual-200",
|
|
269
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"token": "text-to-visual-300",
|
|
273
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
274
|
-
},
|
|
275
|
-
{ "token": "chevron-icon-size-75", "context": "Chevron/disclosure icon" },
|
|
276
|
-
{ "token": "chevron-icon-size-100", "context": "Chevron/disclosure icon" },
|
|
277
|
-
{ "token": "chevron-icon-size-200", "context": "Chevron/disclosure icon" },
|
|
278
|
-
{ "token": "chevron-icon-size-300", "context": "Chevron/disclosure icon" },
|
|
279
|
-
{
|
|
280
|
-
"token": "field-top-to-disclosure-icon-75",
|
|
281
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"token": "field-top-to-disclosure-icon-100",
|
|
285
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"token": "field-top-to-disclosure-icon-200",
|
|
289
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"token": "field-top-to-disclosure-icon-300",
|
|
293
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"token": "field-edge-to-disclosure-icon-75",
|
|
297
|
-
"context": "Spacing (end edge to disclosure icon)"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"token": "field-edge-to-disclosure-icon-100",
|
|
301
|
-
"context": "Spacing (end edge to disclosure icon)"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"token": "field-edge-to-disclosure-icon-200",
|
|
305
|
-
"context": "Spacing (end edge to disclosure icon)"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"token": "field-edge-to-disclosure-icon-300",
|
|
309
|
-
"context": "Spacing (end edge to disclosure icon)"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"token": "field-edge-to-alert-icon-small",
|
|
313
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"token": "field-edge-to-alert-icon-medium",
|
|
317
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"token": "field-edge-to-alert-icon-large",
|
|
321
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"token": "field-edge-to-alert-icon-extra-large",
|
|
325
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"token": "component-top-to-workflow-icon-75",
|
|
329
|
-
"context": "Spacing (top/bottom edge to icon)"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"token": "component-top-to-workflow-icon-100",
|
|
333
|
-
"context": "Spacing (top/bottom edge to icon)"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"token": "component-top-to-workflow-icon-200",
|
|
337
|
-
"context": "Spacing (top/bottom edge to icon)"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"token": "component-top-to-workflow-icon-300",
|
|
341
|
-
"context": "Spacing (top/bottom edge to icon)"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"token": "picker-visual-to-disclosure-icon-small",
|
|
345
|
-
"context": "Spacing (alert icon to disclosure icon)"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"token": "picker-visual-to-disclosure-icon-medium",
|
|
349
|
-
"context": "Spacing (alert icon to disclosure icon)"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"token": "picker-visual-to-disclosure-icon-large",
|
|
353
|
-
"context": "Spacing (alert icon to disclosure icon)"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"token": "picker-visual-to-disclosure-icon-extra-large",
|
|
357
|
-
"context": "Spacing (alert icon to disclosure icon)"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"token": "field-label-to-component",
|
|
361
|
-
"context": "Spacing (field label to picker)"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"token": "field-label-to-component-quiet-small",
|
|
365
|
-
"context": "Spacing (field label to picker)"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"token": "field-label-to-component-quiet-medium",
|
|
369
|
-
"context": "Spacing (field label to picker)"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"token": "field-label-to-component-quiet-large",
|
|
373
|
-
"context": "Spacing (field label to picker)"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"token": "field-label-to-component-quiet-extra-large",
|
|
377
|
-
"context": "Spacing (field label to picker)"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"token": "component-to-menu-small",
|
|
381
|
-
"context": "Spacing (component to menu)"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"token": "component-to-menu-medium",
|
|
385
|
-
"context": "Spacing (component to menu)"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"token": "component-to-menu-large",
|
|
389
|
-
"context": "Spacing (component to menu)"
|
|
217
|
+
"values": [
|
|
218
|
+
{
|
|
219
|
+
"value": "popover"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"value": "tray"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
390
225
|
},
|
|
391
|
-
{
|
|
392
|
-
"
|
|
393
|
-
"
|
|
226
|
+
"isDisabled": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"default": false
|
|
394
229
|
},
|
|
395
|
-
{
|
|
396
|
-
"
|
|
397
|
-
"
|
|
230
|
+
"isError": {
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"default": false
|
|
398
233
|
},
|
|
399
|
-
{
|
|
400
|
-
"
|
|
401
|
-
"
|
|
234
|
+
"description": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"default": null
|
|
402
237
|
},
|
|
238
|
+
"errorMessage": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"default": null
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"states": [
|
|
403
244
|
{
|
|
404
|
-
"
|
|
405
|
-
"
|
|
245
|
+
"name": "hover",
|
|
246
|
+
"trigger": "interaction"
|
|
406
247
|
},
|
|
407
248
|
{
|
|
408
|
-
"
|
|
409
|
-
"
|
|
249
|
+
"name": "focus-+-hover",
|
|
250
|
+
"trigger": "prop"
|
|
410
251
|
},
|
|
411
252
|
{
|
|
412
|
-
"
|
|
413
|
-
"
|
|
253
|
+
"name": "focus-+-not-hover",
|
|
254
|
+
"trigger": "prop"
|
|
414
255
|
},
|
|
415
|
-
{ "token": "gray-100", "context": "Background" },
|
|
416
|
-
{ "token": "gray-200", "context": "Background" },
|
|
417
|
-
{ "token": "negative-border-color-default", "context": "Border (error)" },
|
|
418
|
-
{ "token": "negative-border-color-hover", "context": "Border (error)" },
|
|
419
|
-
{ "token": "negative-border-color-down", "context": "Border (error)" },
|
|
420
256
|
{
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
}
|
|
424
|
-
{ "token": "negative-border-color-focus", "context": "Border (error)" },
|
|
425
|
-
{ "token": "negative-border-color-key-focus", "context": "Border (error)" },
|
|
426
|
-
{ "token": "neutral-content-color-default", "context": "Value" },
|
|
427
|
-
{ "token": "neutral-content-color-hover", "context": "Value" },
|
|
428
|
-
{ "token": "neutral-content-color-down", "context": "Value" },
|
|
429
|
-
{ "token": "neutral-content-color-focus-hover", "context": "Value" },
|
|
430
|
-
{ "token": "neutral-content-color-focus", "context": "Value" },
|
|
431
|
-
{ "token": "neutral-content-color-key-focus", "context": "Value" },
|
|
432
|
-
{ "token": "neutral-subdued-content-color-default", "context": "Label" },
|
|
433
|
-
{ "token": "negative-visual-color", "context": "Alert icon" },
|
|
434
|
-
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
435
|
-
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
436
|
-
{ "token": "focus-indicator-color", "context": "Focus ring" },
|
|
437
|
-
{ "token": "gray-700", "context": "Prefix" },
|
|
438
|
-
{ "token": "default-font-family", "context": "Value" },
|
|
439
|
-
{ "token": "regular-font-weight", "context": "Value" },
|
|
440
|
-
{ "token": "default-font-style", "context": "Value" },
|
|
441
|
-
{ "token": "component-s-regular", "context": "Value" },
|
|
442
|
-
{ "token": "component-m-regular", "context": "Value" },
|
|
443
|
-
{ "token": "component-l-regular", "context": "Value" },
|
|
444
|
-
{ "token": "component-xl-regular", "context": "Value" },
|
|
445
|
-
{ "token": "line-height-font-size-75", "context": "Value" },
|
|
446
|
-
{ "token": "line-height-font-size-100", "context": "Value" },
|
|
447
|
-
{ "token": "line-height-font-size-200", "context": "Value" },
|
|
448
|
-
{ "token": "line-height-font-size-300", "context": "Value" },
|
|
449
|
-
{ "token": "cjk-line-height-100", "context": "Value" },
|
|
450
|
-
{ "token": "medium-font-weight", "context": "Prefix" },
|
|
451
|
-
{ "token": "component-s-medium", "context": "Prefix" },
|
|
452
|
-
{ "token": "component-m-medium", "context": "Prefix" },
|
|
453
|
-
{ "token": "component-l-medium", "context": "Prefix" },
|
|
454
|
-
{ "token": "component-xl-medium", "context": "Prefix" }
|
|
257
|
+
"name": "keyboard-focus",
|
|
258
|
+
"trigger": "interaction"
|
|
259
|
+
}
|
|
455
260
|
],
|
|
261
|
+
"lifecycle": {
|
|
262
|
+
"introduced": "1.0.0-draft"
|
|
263
|
+
},
|
|
456
264
|
"accessibility": {
|
|
457
265
|
"role": "combobox",
|
|
458
266
|
"intents": ["select", "expand"],
|
|
459
267
|
"focusable": true,
|
|
460
268
|
"keyboardIntents": ["expand", "collapse", "navigate-options"],
|
|
461
269
|
"wcag": [
|
|
462
|
-
{
|
|
463
|
-
|
|
464
|
-
|
|
270
|
+
{
|
|
271
|
+
"criterion": "1.3.1",
|
|
272
|
+
"level": "A",
|
|
273
|
+
"title": "Info and Relationships"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"criterion": "2.1.1",
|
|
277
|
+
"level": "A",
|
|
278
|
+
"title": "Keyboard"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"criterion": "4.1.2",
|
|
282
|
+
"level": "A",
|
|
283
|
+
"title": "Name, Role, Value"
|
|
284
|
+
}
|
|
465
285
|
]
|
|
466
286
|
}
|
|
467
287
|
}
|
package/components/popover.json
CHANGED
|
@@ -68,35 +68,86 @@
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
"options": {
|
|
71
|
-
"width": {
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
"width": {
|
|
72
|
+
"type": "number"
|
|
73
|
+
},
|
|
74
|
+
"height": {
|
|
75
|
+
"type": "number"
|
|
76
|
+
},
|
|
77
|
+
"hideTip": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"default": false
|
|
80
|
+
},
|
|
74
81
|
"placement": {
|
|
75
82
|
"type": "string",
|
|
76
83
|
"default": "top",
|
|
77
84
|
"values": [
|
|
78
|
-
{
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
{
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
{
|
|
85
|
+
{
|
|
86
|
+
"value": "top"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "top left"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "top right"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "top start"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"value": "top end"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"value": "bottom"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "bottom left"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "bottom right"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"value": "bottom start"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"value": "bottom end"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"value": "left"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"value": "left top"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"value": "left bottom"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"value": "start"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"value": "start top"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"value": "start bottom"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"value": "right"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"value": "right top"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"value": "right bottom"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"value": "end"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"value": "end top"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"value": "end bottom"
|
|
150
|
+
}
|
|
100
151
|
]
|
|
101
152
|
},
|
|
102
153
|
"offset": {
|
|
@@ -104,36 +155,28 @@
|
|
|
104
155
|
"default": 8,
|
|
105
156
|
"description": "pixel measurement"
|
|
106
157
|
},
|
|
107
|
-
"crossOffset": {
|
|
158
|
+
"crossOffset": {
|
|
159
|
+
"type": "number",
|
|
160
|
+
"default": 0
|
|
161
|
+
},
|
|
108
162
|
"containerPadding": {
|
|
109
163
|
"type": "number",
|
|
110
164
|
"default": 8,
|
|
111
165
|
"description": "pixel measurement"
|
|
112
166
|
}
|
|
113
167
|
},
|
|
114
|
-
"lifecycle": {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
{ "token": "popover-tip-width", "context": "Tip" },
|
|
118
|
-
{ "token": "popover-tip-height", "context": "Tip" },
|
|
119
|
-
{
|
|
120
|
-
"token": "popover-edge-to-content-area",
|
|
121
|
-
"context": "Spacing (left/right edge to content area)"
|
|
122
|
-
},
|
|
123
|
-
{ "token": "spacing-100", "context": "Spacing (tip to source)" },
|
|
124
|
-
{ "token": "border-width-100", "context": "Border" },
|
|
125
|
-
{ "token": "background-layer-2-color", "context": "Background and border" },
|
|
126
|
-
{ "token": "popover-border-color", "context": "Background and border" },
|
|
127
|
-
{ "token": "drop-shadow-elevated-color", "context": "Drop shadow" },
|
|
128
|
-
{ "token": "drop-shadow-elevated-x", "context": "Drop shadow" },
|
|
129
|
-
{ "token": "drop-shadow-elevated-y", "context": "Drop shadow" },
|
|
130
|
-
{ "token": "drop-shadow-elevated-blur", "context": "Drop shadow" }
|
|
131
|
-
],
|
|
168
|
+
"lifecycle": {
|
|
169
|
+
"introduced": "1.0.0-draft"
|
|
170
|
+
},
|
|
132
171
|
"accessibility": {
|
|
133
172
|
"intents": ["dismiss"],
|
|
134
173
|
"focusable": false,
|
|
135
174
|
"wcag": [
|
|
136
|
-
{
|
|
175
|
+
{
|
|
176
|
+
"criterion": "4.1.2",
|
|
177
|
+
"level": "A",
|
|
178
|
+
"title": "Name, Role, Value"
|
|
179
|
+
}
|
|
137
180
|
]
|
|
138
181
|
}
|
|
139
182
|
}
|