@adobe/spectrum-component-api-schemas 6.0.0 → 6.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 (95) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/index.js +28 -12
  3. package/moon.yml +1 -4
  4. package/package.json +3 -2
  5. package/scripts/convert-to-spec-format.mjs +136 -0
  6. package/test/index.test.js +64 -34
  7. package/test/integration.test.js +4 -6
  8. package/test/performance.test.js +7 -7
  9. package/test/schema-validation.test.js +64 -105
  10. package/schemas/component.json +0 -32
  11. package/schemas/components/accordion.json +0 -74
  12. package/schemas/components/action-bar.json +0 -18
  13. package/schemas/components/action-button.json +0 -62
  14. package/schemas/components/action-group.json +0 -69
  15. package/schemas/components/alert-banner.json +0 -29
  16. package/schemas/components/alert-dialog.json +0 -42
  17. package/schemas/components/avatar-group.json +0 -22
  18. package/schemas/components/avatar.json +0 -45
  19. package/schemas/components/badge.json +0 -69
  20. package/schemas/components/body.json +0 -25
  21. package/schemas/components/bottom-navigation-android.json +0 -37
  22. package/schemas/components/breadcrumbs.json +0 -72
  23. package/schemas/components/button-group.json +0 -33
  24. package/schemas/components/button.json +0 -61
  25. package/schemas/components/calendar.json +0 -100
  26. package/schemas/components/cards.json +0 -238
  27. package/schemas/components/checkbox-group.json +0 -49
  28. package/schemas/components/checkbox.json +0 -49
  29. package/schemas/components/close-button.json +0 -35
  30. package/schemas/components/coach-indicator.json +0 -34
  31. package/schemas/components/coach-mark.json +0 -51
  32. package/schemas/components/code.json +0 -21
  33. package/schemas/components/color-area.json +0 -64
  34. package/schemas/components/color-handle.json +0 -31
  35. package/schemas/components/color-loupe.json +0 -21
  36. package/schemas/components/color-slider.json +0 -66
  37. package/schemas/components/color-wheel.json +0 -47
  38. package/schemas/components/combo-box.json +0 -80
  39. package/schemas/components/contextual-help.json +0 -67
  40. package/schemas/components/date-picker.json +0 -157
  41. package/schemas/components/detail.json +0 -26
  42. package/schemas/components/divider.json +0 -23
  43. package/schemas/components/drop-zone.json +0 -41
  44. package/schemas/components/field-label.json +0 -39
  45. package/schemas/components/heading.json +0 -29
  46. package/schemas/components/help-text.json +0 -36
  47. package/schemas/components/illustrated-message.json +0 -45
  48. package/schemas/components/in-field-progress-button.json +0 -31
  49. package/schemas/components/in-field-progress-circle.json +0 -22
  50. package/schemas/components/in-line-alert.json +0 -43
  51. package/schemas/components/link.json +0 -32
  52. package/schemas/components/list-view.json +0 -89
  53. package/schemas/components/menu.json +0 -63
  54. package/schemas/components/meter.json +0 -44
  55. package/schemas/components/number-field.json +0 -57
  56. package/schemas/components/opacity-checkerboard.json +0 -21
  57. package/schemas/components/picker.json +0 -81
  58. package/schemas/components/popover.json +0 -65
  59. package/schemas/components/progress-bar.json +0 -64
  60. package/schemas/components/progress-circle.json +0 -41
  61. package/schemas/components/radio-button.json +0 -30
  62. package/schemas/components/radio-group.json +0 -58
  63. package/schemas/components/rating.json +0 -34
  64. package/schemas/components/scroll-zoom-bar.json +0 -44
  65. package/schemas/components/search-field.json +0 -58
  66. package/schemas/components/segmented-control.json +0 -72
  67. package/schemas/components/select-box.json +0 -50
  68. package/schemas/components/side-navigation.json +0 -59
  69. package/schemas/components/slider.json +0 -79
  70. package/schemas/components/standard-dialog.json +0 -49
  71. package/schemas/components/standard-panel.json +0 -49
  72. package/schemas/components/status-light.json +0 -51
  73. package/schemas/components/steplist.json +0 -52
  74. package/schemas/components/swatch-group.json +0 -44
  75. package/schemas/components/swatch.json +0 -46
  76. package/schemas/components/switch.json +0 -42
  77. package/schemas/components/tab-bar-ios.json +0 -37
  78. package/schemas/components/table.json +0 -118
  79. package/schemas/components/tabs.json +0 -75
  80. package/schemas/components/tag-field.json +0 -42
  81. package/schemas/components/tag-group.json +0 -31
  82. package/schemas/components/tag.json +0 -41
  83. package/schemas/components/takeover-dialog.json +0 -54
  84. package/schemas/components/text-area.json +0 -92
  85. package/schemas/components/text-field.json +0 -80
  86. package/schemas/components/thumbnail.json +0 -22
  87. package/schemas/components/toast.json +0 -29
  88. package/schemas/components/tooltip.json +0 -50
  89. package/schemas/components/tray.json +0 -17
  90. package/schemas/components/tree-view.json +0 -50
  91. package/schemas/types/hex-color.json +0 -8
  92. package/schemas/types/typography-classification.json +0 -9
  93. package/schemas/types/typography-script.json +0 -9
  94. package/schemas/types/workflow-icon.json +0 -901
  95. package/test/componentSchemaValidator.test.js +0 -74
@@ -1,118 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/table.json",
4
- "title": "Table",
5
- "description": "Tables display information in rows and columns, allowing users to compare and scan structured data.",
6
- "meta": {
7
- "category": "data visualization",
8
- "documentationUrl": "https://spectrum.adobe.com/page/table/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "size": {
13
- "type": "string",
14
- "enum": ["s", "m", "l"],
15
- "default": "m",
16
- "description": "Controls the density of table rows."
17
- },
18
- "hideHeader": {
19
- "type": "boolean",
20
- "default": false,
21
- "description": "If true, the table header is hidden."
22
- },
23
- "header": {
24
- "type": "object",
25
- "description": "Configuration for the table header row.",
26
- "properties": {
27
- "alignment": {
28
- "type": "string",
29
- "enum": ["left", "right"],
30
- "default": "left",
31
- "description": "Alignment of the table header text."
32
- },
33
- "state": {
34
- "type": "string",
35
- "enum": ["default", "hover", "down", "keyboard focus"],
36
- "default": "default",
37
- "description": "Interaction state of the header row."
38
- }
39
- }
40
- },
41
- "density": {
42
- "type": "string",
43
- "enum": ["compact", "regular", "spacious"],
44
- "default": "regular"
45
- },
46
- "isQuiet": {
47
- "type": "boolean",
48
- "default": false,
49
- "description": "If true, the table uses a quiet visual style."
50
- },
51
- "isSortable": {
52
- "type": "boolean",
53
- "default": false,
54
- "description": "If true, table columns can be sorted."
55
- },
56
- "columns": {
57
- "type": "array",
58
- "description": "An array of column definitions for the table.",
59
- "items": {
60
- "type": "object",
61
- "properties": {
62
- "key": {
63
- "type": "string",
64
- "description": "Unique identifier for the column."
65
- },
66
- "label": {
67
- "type": "string",
68
- "description": "The header text displayed for the column."
69
- },
70
- "type": {
71
- "type": "string",
72
- "enum": [
73
- "text",
74
- "number",
75
- "avatar",
76
- "date",
77
- "sparkline",
78
- "select",
79
- "layout"
80
- ],
81
- "default": "text",
82
- "description": "Defines the data type for the column."
83
- },
84
- "resizing": {
85
- "type": "string",
86
- "enum": ["fluid", "fixed"],
87
- "default": "fluid",
88
- "description": "Defines whether the column width is fluid or fixed."
89
- },
90
- "summary placement": {
91
- "type": "string",
92
- "enum": ["top", "bottom"],
93
- "default": "bottom",
94
- "description": "Placement of the summary row for this column, if applicable."
95
- },
96
- "summary text": {
97
- "type": "string",
98
- "description": "Text to display in the summary row for this column, if applicable."
99
- },
100
- "isSortable": {
101
- "type": "boolean",
102
- "default": false,
103
- "description": "Whether this column is sortable."
104
- }
105
- },
106
- "required": ["key", "label", "type"]
107
- }
108
- },
109
- "rows": {
110
- "type": "array",
111
- "description": "An array of row data for the table.",
112
- "items": {
113
- "type": "object",
114
- "description": "Each object represents a single row, keyed by column IDs."
115
- }
116
- }
117
- }
118
- }
@@ -1,75 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tabs.json",
4
- "title": "Tabs",
5
- "description": "Tabs organize content into multiple sections and allow users to navigate between them. The content under the set of tabs should be related and form a coherent unit.",
6
- "meta": {
7
- "category": "navigation",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tabs/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "orientation": {
13
- "type": "string",
14
- "enum": ["horizontal", "vertical"],
15
- "default": "horizontal"
16
- },
17
- "items": {
18
- "type": "array",
19
- "description": "An array of tab items.",
20
- "items": {
21
- "type": "object",
22
- "properties": {
23
- "label": {
24
- "type": "string",
25
- "description": "The text displayed for the tab item."
26
- },
27
- "isDisabled": {
28
- "type": "boolean",
29
- "default": false,
30
- "description": "Whether the tab is disabled."
31
- },
32
- "state": {
33
- "type": "string",
34
- "enum": ["default", "hover", "keyboard focus"],
35
- "default": "default",
36
- "description": "The interaction state of the tab item."
37
- },
38
- "contentVariant": {
39
- "type": "string",
40
- "enum": ["label-only", "icon-only", "icon-label"],
41
- "default": "icon-label",
42
- "description": "Controls whether the tab displays a label, an icon, or both."
43
- },
44
- "density": {
45
- "type": "string",
46
- "enum": ["compact", "regular"],
47
- "default": "regular"
48
- },
49
- "isFluid": {
50
- "type": "boolean",
51
- "default": false,
52
- "description": "This overrides density and is only applicable to horizontal tabs."
53
- },
54
- "isEmphasized": {
55
- "type": "boolean",
56
- "default": false
57
- },
58
- "alignment": {
59
- "type": "string",
60
- "enum": ["start", "center"],
61
- "default": "start"
62
- },
63
- "selectedItem": {
64
- "description": "(list of available items)"
65
- },
66
- "keyboardActivation": {
67
- "type": "string",
68
- "enum": ["manual", "automatic"],
69
- "default": "manual"
70
- }
71
- }
72
- }
73
- }
74
- }
75
- }
@@ -1,42 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tag-field.json",
4
- "title": "Tag field",
5
- "description": "A tag field is an input field that allows users to enter and manage tags.",
6
- "meta": {
7
- "category": "inputs",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tag-field/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "size": {
13
- "type": "string",
14
- "enum": ["s", "m", "l"],
15
- "default": "m"
16
- },
17
- "state": {
18
- "type": "string",
19
- "enum": [
20
- "default",
21
- "hover",
22
- "focus + hover",
23
- "focus + not hover",
24
- "keyboard focus"
25
- ],
26
- "default": "default"
27
- },
28
- "style": {
29
- "type": "string",
30
- "enum": ["keyword", "icon", "thumbnail", "avatar"],
31
- "default": "keyword"
32
- },
33
- "isDisabled": {
34
- "type": "boolean",
35
- "default": false
36
- },
37
- "hideLabel": {
38
- "type": "boolean",
39
- "default": false
40
- }
41
- }
42
- }
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tag-group.json",
4
- "title": "Tag group",
5
- "description": "A tag group is a collection of tags that represent a set of related items.",
6
- "meta": {
7
- "category": "inputs",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tag-group/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "size": {
13
- "type": "string",
14
- "enum": ["s", "m", "l"],
15
- "default": "m"
16
- },
17
- "labelPosition": {
18
- "type": "string",
19
- "enum": ["top", "side"],
20
- "default": "top"
21
- },
22
- "hideLabel": {
23
- "type": "boolean",
24
- "default": false
25
- },
26
- "actionLabel": {
27
- "type": "string",
28
- "description": "If undefined, this button does not appear."
29
- }
30
- }
31
- }
@@ -1,41 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tag.json",
4
- "title": "Tag",
5
- "description": "Tags allow users to categorize content. They can represent keywords or people, and are grouped to describe an item or a search request.",
6
- "meta": {
7
- "category": "navigation",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tag/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "label": {
13
- "type": "string"
14
- },
15
- "hasAvatar": {
16
- "type": "boolean",
17
- "default": false
18
- },
19
- "isRemovable": {
20
- "type": "boolean",
21
- "default": false
22
- },
23
- "isError": {
24
- "type": "boolean",
25
- "default": false
26
- },
27
- "isDisabled": {
28
- "type": "boolean",
29
- "default": false
30
- },
31
- "isReadOnly": {
32
- "type": "boolean",
33
- "default": false
34
- },
35
- "state": {
36
- "type": "string",
37
- "enum": ["default", "hover", "down", "keyboard focus"],
38
- "default": "default"
39
- }
40
- }
41
- }
@@ -1,54 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/takeover-dialog.json",
4
- "title": "Takeover dialog",
5
- "description": "Takeover dialogs are larger, flexible dialogs that contain other components to support complex workflows.",
6
- "meta": {
7
- "category": "feedback",
8
- "documentationUrl": "https://spectrum.adobe.com/page/takeover-dialog/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "title": {
13
- "type": "string"
14
- },
15
- "description": {
16
- "type": "string"
17
- },
18
- "variant": {
19
- "type": "string",
20
- "enum": ["dialog", "full screen"],
21
- "default": "dialog"
22
- },
23
- "primaryActionLabel": {
24
- "type": "string"
25
- },
26
- "secondaryActionLabel": {
27
- "type": "string",
28
- "description": "If undefined, this button does not appear."
29
- },
30
- "cancelActionLabel": {
31
- "type": "string",
32
- "default": "cancel",
33
- "description": "If undefined, this button does not appear."
34
- },
35
- "slots": {
36
- "type": "array",
37
- "description": "Areas where other components can be inserted (e.g. Side navigation, Steplist, Forms).",
38
- "items": {
39
- "type": "object",
40
- "properties": {
41
- "name": {
42
- "type": "string",
43
- "description": "Identifier for the slot (e.g. 'sidebar', 'content', 'footer')."
44
- },
45
- "component": {
46
- "type": "string",
47
- "description": "The type of component placed in this slot (e.g. side-navigation, steplist, form)."
48
- }
49
- },
50
- "required": ["name", "component"]
51
- }
52
- }
53
- }
54
- }
@@ -1,92 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/text-area.json",
4
- "title": "Text area",
5
- "description": "A text area lets a user input a longer amount of text than a standard text field. It can include all of the standard validation options supported by the text field component.",
6
- "meta": {
7
- "category": "inputs",
8
- "documentationUrl": "https://spectrum.adobe.com/page/text-area/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "label": {
13
- "type": "string"
14
- },
15
- "labelPosition": {
16
- "type": "string",
17
- "default": "top",
18
- "enum": ["top", "side"]
19
- },
20
- "hideLabel": {
21
- "type": "boolean",
22
- "default": false
23
- },
24
- "value": {
25
- "type": "string",
26
- "description": "from minValue to maxValue"
27
- },
28
- "width": {
29
- "type": "number"
30
- },
31
- "size": {
32
- "type": "string",
33
- "enum": ["s", "m", "l", "xl"],
34
- "default": "m"
35
- },
36
- "necessityIndicator": {
37
- "type": "string",
38
- "enum": ["text", "icon"],
39
- "default": "icon"
40
- },
41
- "isRequired": {
42
- "type": "boolean",
43
- "default": false
44
- },
45
- "hasCharacterCount": {
46
- "type": "boolean",
47
- "default": false
48
- },
49
- "showValidIcon": {
50
- "type": "boolean",
51
- "default": false
52
- },
53
- "isError": {
54
- "type": "boolean",
55
- "default": false
56
- },
57
- "isDisabled": {
58
- "type": "boolean",
59
- "default": false
60
- },
61
- "hideDragIcon": {
62
- "type": "boolean",
63
- "default": false
64
- },
65
- "height": {
66
- "type": "number",
67
- "description": "If undefined, height is dynamic and grows with input text."
68
- },
69
- "helpText": {
70
- "type": "string"
71
- },
72
- "errorMessage": {
73
- "type": "string"
74
- },
75
- "inputType": {
76
- "type": "string",
77
- "enum": ["text", "url", "phone", "email", "password"],
78
- "default": "text"
79
- },
80
- "state": {
81
- "type": "string",
82
- "enum": [
83
- "default",
84
- "hover",
85
- "focus + hover",
86
- "focus + not hover",
87
- "keyboard focus"
88
- ],
89
- "default": "default"
90
- }
91
- }
92
- }
@@ -1,80 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/text-field.json",
4
- "title": "Text field",
5
- "description": "Text fields allow users to input custom text entries with a keyboard. Various options can be shown with the field to communicate the input requirements.",
6
- "meta": {
7
- "category": "inputs",
8
- "documentationUrl": "https://spectrum.adobe.com/page/text-field/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "label": {
13
- "type": "string"
14
- },
15
- "labelPosition": {
16
- "type": "string",
17
- "default": "top",
18
- "enum": ["top", "side"]
19
- },
20
- "hideLabel": {
21
- "type": "boolean",
22
- "default": false
23
- },
24
- "value": {
25
- "type": "string",
26
- "description": "from minValue to maxValue"
27
- },
28
- "width": {
29
- "type": "number"
30
- },
31
- "size": {
32
- "type": "string",
33
- "enum": ["s", "m", "l", "xl"],
34
- "default": "m"
35
- },
36
- "necessityIndicator": {
37
- "type": "string",
38
- "enum": ["text", "icon"],
39
- "default": "icon"
40
- },
41
- "isRequired": {
42
- "type": "boolean",
43
- "default": false
44
- },
45
- "hasCharacterCount": {
46
- "type": "boolean",
47
- "default": false
48
- },
49
- "showValidIcon": {
50
- "type": "boolean",
51
- "default": false
52
- },
53
- "isError": {
54
- "type": "boolean",
55
- "default": false,
56
- "description": "If there is an error, this property overrides show valid icon."
57
- },
58
- "isDisabled": {
59
- "type": "boolean",
60
- "default": false
61
- },
62
- "helpText": {
63
- "type": "string"
64
- },
65
- "errorMessage": {
66
- "type": "string"
67
- },
68
- "state": {
69
- "type": "string",
70
- "enum": [
71
- "default",
72
- "hover",
73
- "focus + hover",
74
- "focus + not hover",
75
- "keyboard focus"
76
- ],
77
- "default": "default"
78
- }
79
- }
80
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/thumbnail.json",
4
- "title": "Thumbnail",
5
- "description": "Thumbnails are small representations of images or content used for previews and navigation in galleries, lists, and media collections.",
6
- "meta": {
7
- "category": "navigation",
8
- "documentationUrl": "https://spectrum.adobe.com/page/thumbnail/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "size": {
13
- "type": "number",
14
- "enum": [50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]
15
- },
16
- "state": {
17
- "type": "string",
18
- "enum": ["default", "disabled"],
19
- "default": "default"
20
- }
21
- }
22
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/toast.json",
4
- "title": "Toast",
5
- "description": "Toasts display brief, temporary notifications. They're meant to be noticed without disrupting a user's experience or requiring an action to be taken.",
6
- "meta": {
7
- "category": "feedback",
8
- "documentationUrl": "https://spectrum.adobe.com/page/toast/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "text": {
13
- "type": "string"
14
- },
15
- "variant": {
16
- "type": "string",
17
- "enum": ["neutral", "informative", "positive", "negative"],
18
- "default": "neutral"
19
- },
20
- "actionLabel": {
21
- "type": "string",
22
- "description": "If undefined, this button does not appear."
23
- },
24
- "isAutoDismissible": {
25
- "type": "boolean",
26
- "default": false
27
- }
28
- }
29
- }
@@ -1,50 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tooltip.json",
4
- "title": "Tooltip",
5
- "description": "Tooltips show contextual help or information about specific components when a user hovers or focuses on them.",
6
- "meta": {
7
- "category": "feedback",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tooltip/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "label": {
13
- "type": "string"
14
- },
15
- "variant": {
16
- "type": "string",
17
- "enum": ["neutral", "informative", "negative"],
18
- "default": "neutral"
19
- },
20
- "hasIcon": {
21
- "type": "boolean",
22
- "description": "If the neutral variant, there is never an icon.",
23
- "default": false
24
- },
25
- "maxWidth": {
26
- "type": "number",
27
- "default": 160,
28
- "description": "units: pixels"
29
- },
30
- "placement": {
31
- "type": "string",
32
- "enum": ["top", "bottom", "left", "right"],
33
- "default": "top"
34
- },
35
- "shouldFlip": {
36
- "type": "boolean",
37
- "default": false
38
- },
39
- "offset": {
40
- "type": "number",
41
- "default": 4,
42
- "description": "units: pixels"
43
- },
44
- "containerPadding": {
45
- "type": "number",
46
- "default": 8,
47
- "description": "units: pixels"
48
- }
49
- }
50
- }
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tray.json",
4
- "title": "Tray",
5
- "description": "Trays are containers that display transient content such as menus, options, additional actions, and more. They only exist on mobile experiences and are used for exposing types of content that may be too overwhelming for popovers.",
6
- "meta": {
7
- "category": "containers",
8
- "documentationUrl": "https://spectrum.adobe.com/page/tray/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "height": {
13
- "type": "string",
14
- "default": "auto"
15
- }
16
- }
17
- }