@adobe/spectrum-component-api-schemas 5.0.1 → 6.0.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 (89) hide show
  1. package/CHANGELOG.md +161 -184
  2. package/package.json +4 -4
  3. package/schemas/component.json +5 -2
  4. package/schemas/components/accordion.json +2 -2
  5. package/schemas/components/action-bar.json +2 -2
  6. package/schemas/components/action-button.json +4 -4
  7. package/schemas/components/action-group.json +2 -2
  8. package/schemas/components/alert-banner.json +2 -2
  9. package/schemas/components/alert-dialog.json +2 -2
  10. package/schemas/components/avatar-group.json +2 -2
  11. package/schemas/components/avatar.json +2 -2
  12. package/schemas/components/badge.json +3 -3
  13. package/schemas/components/body.json +4 -4
  14. package/schemas/components/bottom-navigation-android.json +3 -3
  15. package/schemas/components/breadcrumbs.json +2 -2
  16. package/schemas/components/button-group.json +2 -2
  17. package/schemas/components/button.json +3 -3
  18. package/schemas/components/calendar.json +90 -99
  19. package/schemas/components/cards.json +2 -2
  20. package/schemas/components/checkbox-group.json +2 -2
  21. package/schemas/components/checkbox.json +2 -2
  22. package/schemas/components/close-button.json +2 -2
  23. package/schemas/components/coach-indicator.json +2 -2
  24. package/schemas/components/coach-mark.json +2 -2
  25. package/schemas/components/code.json +3 -3
  26. package/schemas/components/color-area.json +2 -2
  27. package/schemas/components/color-handle.json +2 -2
  28. package/schemas/components/color-loupe.json +3 -3
  29. package/schemas/components/color-slider.json +2 -2
  30. package/schemas/components/color-wheel.json +2 -2
  31. package/schemas/components/combo-box.json +2 -2
  32. package/schemas/components/contextual-help.json +2 -2
  33. package/schemas/components/date-picker.json +2 -2
  34. package/schemas/components/detail.json +3 -3
  35. package/schemas/components/divider.json +2 -2
  36. package/schemas/components/drop-zone.json +2 -2
  37. package/schemas/components/field-label.json +2 -2
  38. package/schemas/components/heading.json +4 -4
  39. package/schemas/components/help-text.json +2 -2
  40. package/schemas/components/illustrated-message.json +42 -49
  41. package/schemas/components/in-field-progress-button.json +2 -2
  42. package/schemas/components/in-field-progress-circle.json +2 -2
  43. package/schemas/components/in-line-alert.json +2 -2
  44. package/schemas/components/link.json +2 -2
  45. package/schemas/components/list-view.json +81 -98
  46. package/schemas/components/menu.json +3 -3
  47. package/schemas/components/meter.json +2 -2
  48. package/schemas/components/number-field.json +2 -2
  49. package/schemas/components/opacity-checkerboard.json +2 -2
  50. package/schemas/components/picker.json +6 -20
  51. package/schemas/components/popover.json +2 -2
  52. package/schemas/components/progress-bar.json +2 -2
  53. package/schemas/components/progress-circle.json +2 -2
  54. package/schemas/components/radio-button.json +2 -2
  55. package/schemas/components/radio-group.json +2 -2
  56. package/schemas/components/rating.json +2 -2
  57. package/schemas/components/scroll-zoom-bar.json +2 -2
  58. package/schemas/components/search-field.json +3 -3
  59. package/schemas/components/segmented-control.json +2 -2
  60. package/schemas/components/select-box.json +2 -2
  61. package/schemas/components/side-navigation.json +7 -25
  62. package/schemas/components/slider.json +2 -2
  63. package/schemas/components/standard-dialog.json +46 -50
  64. package/schemas/components/standard-panel.json +2 -2
  65. package/schemas/components/status-light.json +2 -2
  66. package/schemas/components/steplist.json +2 -2
  67. package/schemas/components/swatch-group.json +2 -2
  68. package/schemas/components/swatch.json +2 -2
  69. package/schemas/components/switch.json +2 -2
  70. package/schemas/components/tab-bar-ios.json +3 -3
  71. package/schemas/components/table.json +107 -133
  72. package/schemas/components/tabs.json +2 -2
  73. package/schemas/components/tag-field.json +2 -2
  74. package/schemas/components/tag-group.json +2 -2
  75. package/schemas/components/tag.json +2 -2
  76. package/schemas/components/takeover-dialog.json +47 -53
  77. package/schemas/components/text-area.json +2 -2
  78. package/schemas/components/text-field.json +2 -2
  79. package/schemas/components/thumbnail.json +2 -2
  80. package/schemas/components/toast.json +2 -2
  81. package/schemas/components/tooltip.json +2 -2
  82. package/schemas/components/tray.json +2 -2
  83. package/schemas/components/tree-view.json +2 -2
  84. package/schemas/types/hex-color.json +1 -1
  85. package/schemas/types/typography-classification.json +1 -1
  86. package/schemas/types/typography-script.json +1 -1
  87. package/schemas/types/workflow-icon.json +1 -1
  88. package/test/performance.test.js +3 -3
  89. package/test/snapshots/index.test.js.md +36 -34
@@ -1,53 +1,49 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/standard-dialog.json",
4
- "title": "Standard dialog",
5
- "description": "Standard dialogs display important information that users need to acknowledge. They appear over the interface and block further interactions until an action is selected.",
6
- "meta": {
7
- "category": "feedback",
8
- "documentationUrl": "https://spectrum.adobe.com/page/standard-dialog/"
9
- },
10
- "type": "object",
11
- "properties": {
12
- "title": {
13
- "type": "string"
14
- },
15
- "description": {
16
- "type": "string"
17
- },
18
- "hideImage": {
19
- "type": "boolean",
20
- "default": false,
21
- "description": "Optional image to display in dialog."
22
- },
23
- "size": {
24
- "type": "string",
25
- "enum": [
26
- "s",
27
- "m",
28
- "l"
29
- ],
30
- "default": "m"
31
- },
32
- "hideCloseButton": {
33
- "type": "boolean",
34
- "default": false
35
- },
36
- "footerContent": {
37
- "type": "string",
38
- "description": "Optional footer content to display in the dialog footer like a checkbox."
39
- },
40
- "primaryActionLabel": {
41
- "type": "string"
42
- },
43
- "secondaryActionLabel": {
44
- "type": "string",
45
- "description": "If undefined, this button does not appear."
46
- },
47
- "cancelActionLabel": {
48
- "type": "string",
49
- "default": "cancel",
50
- "description": "If undefined, this button does not appear."
51
- }
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/standard-dialog.json",
4
+ "title": "Standard dialog",
5
+ "description": "Standard dialogs display important information that users need to acknowledge. They appear over the interface and block further interactions until an action is selected.",
6
+ "meta": {
7
+ "category": "feedback",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/standard-dialog/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "title": {
13
+ "type": "string"
14
+ },
15
+ "description": {
16
+ "type": "string"
17
+ },
18
+ "hideImage": {
19
+ "type": "boolean",
20
+ "default": false,
21
+ "description": "Optional image to display in dialog."
22
+ },
23
+ "size": {
24
+ "type": "string",
25
+ "enum": ["s", "m", "l"],
26
+ "default": "m"
27
+ },
28
+ "hideCloseButton": {
29
+ "type": "boolean",
30
+ "default": false
31
+ },
32
+ "footerContent": {
33
+ "type": "string",
34
+ "description": "Optional footer content to display in the dialog footer like a checkbox."
35
+ },
36
+ "primaryActionLabel": {
37
+ "type": "string"
38
+ },
39
+ "secondaryActionLabel": {
40
+ "type": "string",
41
+ "description": "If undefined, this button does not appear."
42
+ },
43
+ "cancelActionLabel": {
44
+ "type": "string",
45
+ "default": "cancel",
46
+ "description": "If undefined, this button does not appear."
52
47
  }
48
+ }
53
49
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/standard-panel.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/standard-panel.json",
4
4
  "title": "Standard Panel",
5
5
  "description": "Standard Panels provide a flexible container for grouping related content and actions.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/status-light.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/status-light.json",
4
4
  "title": "Status light",
5
5
  "description": "Status lights describe the condition of an entity. They can be used to convey semantic meaning, such as statuses and categories.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/steplist.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/steplist.json",
4
4
  "title": "Steplist",
5
5
  "description": "Step lists display progress through a sequence of steps, with each step marked as completed, current, or incomplete.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/swatch-group.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/swatch-group.json",
4
4
  "title": "Swatch group",
5
5
  "description": "A swatch group is a grouping of swatches that are related to each other.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/swatch.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/swatch.json",
4
4
  "title": "Swatch",
5
5
  "description": "A swatch shows a small sample of a fill — such as a color, gradient, texture, or material — that is intended to be applied to an object.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/switch.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/switch.json",
4
4
  "title": "Switch",
5
5
  "description": "Switches allow users to turn an individual option on or off. They are usually used to activate or deactivate a specific setting.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/tab-bar-ios.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tab-bar-ios.json",
4
4
  "title": "Tab bar (iOS)",
5
5
  "description": "Tab bar is a top-level navigation control for iOS apps.",
6
6
  "meta": {
@@ -18,7 +18,7 @@
18
18
  "default": "bottom"
19
19
  },
20
20
  "icon": {
21
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/workflow-icon.json"
21
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
22
22
  },
23
23
  "background": {
24
24
  "type": "string",
@@ -1,144 +1,118 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/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/"
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."
9
17
  },
10
- "type": "object",
11
- "properties": {
12
- "size": {
13
- "type": "string",
14
- "enum": [
15
- "s",
16
- "m",
17
- "l"
18
- ],
19
- "default": "m",
20
- "description": "Controls the density of table rows."
21
- },
22
- "hideHeader": {
23
- "type": "boolean",
24
- "default": false,
25
- "description": "If true, the table header is hidden."
26
- },
27
- "header": {
28
- "type": "object",
29
- "description": "Configuration for the table header row.",
30
- "properties": {
31
- "alignment": {
32
- "type": "string",
33
- "enum": [
34
- "left",
35
- "right"
36
- ],
37
- "default": "left",
38
- "description": "Alignment of the table header text."
39
- },
40
- "state": {
41
- "type": "string",
42
- "enum": [
43
- "default",
44
- "hover",
45
- "down",
46
- "keyboard focus"
47
- ],
48
- "default": "default",
49
- "description": "Interaction state of the header row."
50
- }
51
- }
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."
52
32
  },
53
- "density": {
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": {
54
71
  "type": "string",
55
72
  "enum": [
56
- "compact",
57
- "regular",
58
- "spacious"
73
+ "text",
74
+ "number",
75
+ "avatar",
76
+ "date",
77
+ "sparkline",
78
+ "select",
79
+ "layout"
59
80
  ],
60
- "default": "regular"
61
- },
62
- "isQuiet": {
63
- "type": "boolean",
64
- "default": false,
65
- "description": "If true, the table uses a quiet visual style."
66
- },
67
- "isSortable": {
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": {
68
101
  "type": "boolean",
69
102
  "default": false,
70
- "description": "If true, table columns can be sorted."
103
+ "description": "Whether this column is sortable."
104
+ }
71
105
  },
72
- "columns": {
73
- "type": "array",
74
- "description": "An array of column definitions for the table.",
75
- "items": {
76
- "type": "object",
77
- "properties": {
78
- "key": {
79
- "type": "string",
80
- "description": "Unique identifier for the column."
81
- },
82
- "label": {
83
- "type": "string",
84
- "description": "The header text displayed for the column."
85
- },
86
- "type": {
87
- "type": "string",
88
- "enum": [
89
- "text",
90
- "number",
91
- "avatar",
92
- "date",
93
- "sparkline",
94
- "select",
95
- "layout"
96
- ],
97
- "default": "text",
98
- "description": "Defines the data type for the column."
99
- },
100
- "resizing": {
101
- "type": "string",
102
- "enum": [
103
- "fluid",
104
- "fixed"
105
- ],
106
- "default": "fluid",
107
- "description": "Defines whether the column width is fluid or fixed."
108
- },
109
- "summary placement": {
110
- "type": "string",
111
- "enum": [
112
- "top",
113
- "bottom"
114
- ],
115
- "default": "bottom",
116
- "description": "Placement of the summary row for this column, if applicable."
117
- },
118
- "summary text": {
119
- "type": "string",
120
- "description": "Text to display in the summary row for this column, if applicable."
121
- },
122
- "isSortable": {
123
- "type": "boolean",
124
- "default": false,
125
- "description": "Whether this column is sortable."
126
- }
127
- },
128
- "required": [
129
- "key",
130
- "label",
131
- "type"
132
- ]
133
- }
134
- },
135
- "rows": {
136
- "type": "array",
137
- "description": "An array of row data for the table.",
138
- "items": {
139
- "type": "object",
140
- "description": "Each object represents a single row, keyed by column IDs."
141
- }
142
- }
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
+ }
143
116
  }
117
+ }
144
118
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/tabs.json",
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
4
  "title": "Tabs",
5
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
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/tag-field.json",
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
4
  "title": "Tag field",
5
5
  "description": "A tag field is an input field that allows users to enter and manage tags.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/tag-group.json",
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
4
  "title": "Tag group",
5
5
  "description": "A tag group is a collection of tags that represent a set of related items.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/tag.json",
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
4
  "title": "Tag",
5
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
6
  "meta": {
@@ -1,60 +1,54 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/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/"
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"
9
14
  },
10
- "type": "object",
11
- "properties": {
12
- "title": {
13
- "type": "string"
14
- },
15
- "description": {
16
- "type": "string"
17
- },
18
- "variant": {
19
- "type": "string",
20
- "enum": [
21
- "dialog",
22
- "full screen"
23
- ],
24
- "default": "dialog"
25
- },
26
- "primaryActionLabel": {
27
- "type": "string"
28
- },
29
- "secondaryActionLabel": {
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": {
30
42
  "type": "string",
31
- "description": "If undefined, this button does not appear."
32
- },
33
- "cancelActionLabel": {
43
+ "description": "Identifier for the slot (e.g. 'sidebar', 'content', 'footer')."
44
+ },
45
+ "component": {
34
46
  "type": "string",
35
- "default": "cancel",
36
- "description": "If undefined, this button does not appear."
47
+ "description": "The type of component placed in this slot (e.g. side-navigation, steplist, form)."
48
+ }
37
49
  },
38
- "slots": {
39
- "type": "array",
40
- "description": "Areas where other components can be inserted (e.g. Side navigation, Steplist, Forms).",
41
- "items": {
42
- "type": "object",
43
- "properties": {
44
- "name": {
45
- "type": "string",
46
- "description": "Identifier for the slot (e.g. 'sidebar', 'content', 'footer')."
47
- },
48
- "component": {
49
- "type": "string",
50
- "description": "The type of component placed in this slot (e.g. side-navigation, steplist, form)."
51
- }
52
- },
53
- "required": [
54
- "name",
55
- "component"
56
- ]
57
- }
58
- }
50
+ "required": ["name", "component"]
51
+ }
59
52
  }
53
+ }
60
54
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/text-area.json",
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
4
  "title": "Text area",
5
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
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/text-field.json",
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
4
  "title": "Text field",
5
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
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/thumbnail.json",
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
4
  "title": "Thumbnail",
5
5
  "description": "Thumbnails are small representations of images or content used for previews and navigation in galleries, lists, and media collections.",
6
6
  "meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/toast.json",
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
4
  "title": "Toast",
5
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
6
  "meta": {