@adobe/spectrum-component-api-schemas 5.0.0 → 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 +60 -19
  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/{step-list.json → steplist.json} +4 -4
  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,109 +1,100 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/calendar.json",
4
- "title": "Calendar",
5
- "description": "Calendars display days, weeks, and months, allowing users to select dates or ranges.",
6
- "meta": {
7
- "category": "inputs",
8
- "documentationUrl": "https://spectrum.adobe.com/page/calendar/"
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/calendar.json",
4
+ "title": "Calendar",
5
+ "description": "Calendars display days, weeks, and months, allowing users to select dates or ranges.",
6
+ "meta": {
7
+ "category": "inputs",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/calendar/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "currentMonth": {
13
+ "type": "number",
14
+ "minimum": 1,
15
+ "maximum": 12,
16
+ "description": "The month currently displayed in the calendar (1 = January, 12 = December)."
9
17
  },
10
- "type": "object",
11
- "properties": {
12
- "currentMonth": {
13
- "type": "number",
14
- "minimum": 1,
15
- "maximum": 12,
16
- "description": "The month currently displayed in the calendar (1 = January, 12 = December)."
17
- },
18
- "currentYear": {
19
- "type": "number",
20
- "description": "The year currently displayed in the calendar (Gregorian year number)."
21
- },
22
- "selectionMode": {
18
+ "currentYear": {
19
+ "type": "number",
20
+ "description": "The year currently displayed in the calendar (Gregorian year number)."
21
+ },
22
+ "selectionMode": {
23
+ "type": "string",
24
+ "enum": ["single", "range"],
25
+ "default": "single",
26
+ "description": "Controls whether the calendar allows selecting a single date or a date range."
27
+ },
28
+ "isDisabled": {
29
+ "type": "boolean",
30
+ "default": false
31
+ },
32
+ "isError": {
33
+ "type": "boolean",
34
+ "default": false
35
+ },
36
+ "minValue": {
37
+ "type": "string",
38
+ "description": "The minimum allowed date that a user may select (ISO format string)."
39
+ },
40
+ "maxValue": {
41
+ "type": "string",
42
+ "description": "The maximum allowed date that a user may select (ISO format string)."
43
+ },
44
+ "showTimeZone": {
45
+ "type": "boolean",
46
+ "default": false,
47
+ "description": "Whether to show a time zone indicator in the calendar."
48
+ },
49
+ "days": {
50
+ "type": "array",
51
+ "description": "An array of days displayed in the current calendar view.",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "date": {
23
56
  "type": "string",
24
- "enum": [
25
- "single",
26
- "range"
27
- ],
28
- "default": "single",
29
- "description": "Controls whether the calendar allows selecting a single date or a date range."
30
- },
31
- "isDisabled": {
57
+ "description": "The date represented by this day (ISO format string)."
58
+ },
59
+ "isDisabled": {
32
60
  "type": "boolean",
33
- "default": false
34
- },
35
- "isError": {
61
+ "default": false,
62
+ "description": "Whether this day is disabled."
63
+ },
64
+ "isSelected": {
36
65
  "type": "boolean",
37
- "default": false
38
- },
39
- "minValue": {
40
- "type": "string",
41
- "description": "The minimum allowed date that a user may select (ISO format string)."
42
- },
43
- "maxValue": {
44
- "type": "string",
45
- "description": "The maximum allowed date that a user may select (ISO format string)."
46
- },
47
- "showTimeZone": {
66
+ "default": false,
67
+ "description": "Whether this day is currently selected."
68
+ },
69
+ "isRangeStart": {
70
+ "type": "boolean",
71
+ "default": false,
72
+ "description": "Whether this day is the start of a selected range."
73
+ },
74
+ "isRangeEnd": {
75
+ "type": "boolean",
76
+ "default": false,
77
+ "description": "Whether this day is the end of a selected range."
78
+ },
79
+ "isUnavailable": {
48
80
  "type": "boolean",
49
81
  "default": false,
50
- "description": "Whether to show a time zone indicator in the calendar."
82
+ "description": "Whether this day is unavailable for selection. If true, the day appears with a strikethrough."
83
+ },
84
+ "isToday": {
85
+ "type": "boolean",
86
+ "default": false,
87
+ "description": "Whether this day represents the current date."
88
+ },
89
+ "state": {
90
+ "type": "string",
91
+ "enum": ["default", "hover", "keyboard focus"],
92
+ "default": "default",
93
+ "description": "The interaction state of the day cell."
94
+ }
51
95
  },
52
- "days": {
53
- "type": "array",
54
- "description": "An array of days displayed in the current calendar view.",
55
- "items": {
56
- "type": "object",
57
- "properties": {
58
- "date": {
59
- "type": "string",
60
- "description": "The date represented by this day (ISO format string)."
61
- },
62
- "isDisabled": {
63
- "type": "boolean",
64
- "default": false,
65
- "description": "Whether this day is disabled."
66
- },
67
- "isSelected": {
68
- "type": "boolean",
69
- "default": false,
70
- "description": "Whether this day is currently selected."
71
- },
72
- "isRangeStart": {
73
- "type": "boolean",
74
- "default": false,
75
- "description": "Whether this day is the start of a selected range."
76
- },
77
- "isRangeEnd": {
78
- "type": "boolean",
79
- "default": false,
80
- "description": "Whether this day is the end of a selected range."
81
- },
82
- "isUnavailable": {
83
- "type": "boolean",
84
- "default": false,
85
- "description": "Whether this day is unavailable for selection. If true, the day appears with a strikethrough."
86
- },
87
- "isToday": {
88
- "type": "boolean",
89
- "default": false,
90
- "description": "Whether this day represents the current date."
91
- },
92
- "state": {
93
- "type": "string",
94
- "enum": [
95
- "default",
96
- "hover",
97
- "keyboard focus"
98
- ],
99
- "default": "default",
100
- "description": "The interaction state of the day cell."
101
- }
102
- },
103
- "required": [
104
- "date"
105
- ]
106
- }
107
- }
96
+ "required": ["date"]
97
+ }
108
98
  }
99
+ }
109
100
  }
@@ -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/cards.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/cards.json",
4
4
  "title": "Cards",
5
5
  "description": "Cards group related content into distinct layouts depending on context.",
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/checkbox-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/checkbox-group.json",
4
4
  "title": "Checkbox group",
5
5
  "description": "A checkbox group is a grouping of checkboxes 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/checkbox.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/checkbox.json",
4
4
  "title": "Checkbox",
5
5
  "description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
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/close-button.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/close-button.json",
4
4
  "title": "Close button",
5
5
  "description": "The close button is used inside of other components, like a toast or an action bar, for closing or dismissing its parent 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/coach-indicator.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/coach-indicator.json",
4
4
  "title": "Coach indicator",
5
5
  "description": "Coach indicators help guide users through interfaces by highlighting important areas or features during onboarding and feature discovery.",
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/coach-mark.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/coach-mark.json",
4
4
  "title": "Coach mark",
5
5
  "description": "Coach marks provide contextual guidance to users by highlighting specific interface elements.",
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/code.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/code.json",
4
4
  "title": "Code",
5
5
  "description": "Detail is a typography component used for disclosing extra information or smaller items in hierarchical relationships of text.",
6
6
  "meta": {
@@ -10,7 +10,7 @@
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "script": {
13
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/typography-script.json"
13
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
14
14
  },
15
15
  "size": {
16
16
  "type": "string",
@@ -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/color-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/color-area.json",
4
4
  "title": "Color area",
5
5
  "description": "A color area allows users to visually select two properties of a color simultaneously. It's commonly used together with a color slider or color wheel.",
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/color-handle.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/color-handle.json",
4
4
  "title": "Color handle",
5
5
  "description": "Color handles allow users to select and adjust colors in a color picker.",
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/color-loupe.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/color-loupe.json",
4
4
  "title": "Color loupe",
5
5
  "description": "A color loupe shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.",
6
6
  "meta": {
@@ -10,7 +10,7 @@
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "value": {
13
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/hex-color.json"
13
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/hex-color.json"
14
14
  },
15
15
  "state": {
16
16
  "type": "string",
@@ -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/color-slider.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/color-slider.json",
4
4
  "title": "Color slider",
5
5
  "description": "A color slider lets users visually change an individual channel of a color.",
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/color-wheel.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/color-wheel.json",
4
4
  "title": "Color wheel",
5
5
  "description": "A color wheel lets users visually change an individual channel of a color on a circular track.",
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/combo-box.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/combo-box.json",
4
4
  "title": "Combo box",
5
5
  "description": "Combo boxes combine a text entry with a picker menu, allowing users to filter longer lists to only the selections matching a query.",
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/contextual-help.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/contextual-help.json",
4
4
  "title": "Contextual help",
5
5
  "description": "Contextual help shows a user extra information about the state of either an adjacent component or an entire view. It explains a high-level topic about an experience and can point users to more information elsewhere.",
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/date-picker.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/date-picker.json",
4
4
  "title": "Date picker",
5
5
  "description": "A date picker lets users enter a single date or a date range. It includes a calendar popover and a field.",
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/detail.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/detail.json",
4
4
  "title": "Detail",
5
5
  "description": "Detail is a typography component used for disclosing extra information or smaller items in hierarchical relationships of text.",
6
6
  "meta": {
@@ -10,7 +10,7 @@
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "script": {
13
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/typography-script.json"
13
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
14
14
  },
15
15
  "weight": {
16
16
  "type": "string",
@@ -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/divider.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/divider.json",
4
4
  "title": "Divider",
5
5
  "description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity. They can also be used to establish rhythm and hierarchy.",
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/drop-zone.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/drop-zone.json",
4
4
  "title": "Drop zone",
5
5
  "description": "A drop zone allows users to drag and drop files or other content into a designated area.",
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/field-label.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/field-label.json",
4
4
  "title": "Field label",
5
5
  "description": "Field labels give context to the information that a user needs to input. They're commonly used in forms.",
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/heading.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/heading.json",
4
4
  "title": "Heading",
5
5
  "description": "Heading is a typography component used to create various levels of hierarchies between text.",
6
6
  "meta": {
@@ -10,10 +10,10 @@
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "script": {
13
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/typography-script.json"
13
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
14
14
  },
15
15
  "classification": {
16
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/typography-classification.json"
16
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-classification.json"
17
17
  },
18
18
  "weight": {
19
19
  "type": "string",
@@ -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/help-text.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/help-text.json",
4
4
  "title": "Help text",
5
5
  "description": "Help text provides either an informative description or an error message that gives more context about what a user needs to input. It’s commonly used in forms.",
6
6
  "meta": {
@@ -1,52 +1,45 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/illustrated-message.json",
4
- "title": "Illustrated message",
5
- "description": "An illustrated message displays an illustration with a short title and description, often used for empty states or error states.",
6
- "meta": {
7
- "category": "feedback",
8
- "documentationUrl": "https://spectrum.adobe.com/page/illustrated-message/"
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/illustrated-message.json",
4
+ "title": "Illustrated message",
5
+ "description": "An illustrated message displays an illustration with a short title and description, often used for empty states or error states.",
6
+ "meta": {
7
+ "category": "feedback",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/illustrated-message/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "illustration": {
13
+ "type": "string",
14
+ "description": "Optional illustration or icon displayed above the message."
9
15
  },
10
- "type": "object",
11
- "properties": {
12
- "illustration": {
13
- "type": "string",
14
- "description": "Optional illustration or icon displayed above the message."
15
- },
16
- "size": {
17
- "type": "string",
18
- "enum": [
19
- "s",
20
- "m",
21
- "l"
22
- ],
23
- "default": "m",
24
- "description": "Size of the illustration."
25
- },
26
- "orientation": {
27
- "type": "string",
28
- "enum": [
29
- "vertical",
30
- "horizontal"
31
- ],
32
- "default": "vertical",
33
- "description": "Orientation of the illustrated message."
34
- },
35
- "title": {
36
- "type": "string",
37
- "description": "Primary heading text of the message."
38
- },
39
- "description": {
40
- "type": "string",
41
- "description": "Secondary descriptive text providing context or instructions."
42
- },
43
- "primaryActionLabel": {
44
- "type": "string",
45
- "description": "Label for the primary action button. If undefined, no primary action is shown."
46
- },
47
- "secondaryActionLabel": {
48
- "type": "string",
49
- "description": "Label for the secondary action button. If undefined, no secondary action is shown."
50
- }
51
- }
16
+ "size": {
17
+ "type": "string",
18
+ "enum": ["s", "m", "l"],
19
+ "default": "m",
20
+ "description": "Size of the illustration."
21
+ },
22
+ "orientation": {
23
+ "type": "string",
24
+ "enum": ["vertical", "horizontal"],
25
+ "default": "vertical",
26
+ "description": "Orientation of the illustrated message."
27
+ },
28
+ "title": {
29
+ "type": "string",
30
+ "description": "Primary heading text of the message."
31
+ },
32
+ "description": {
33
+ "type": "string",
34
+ "description": "Secondary descriptive text providing context or instructions."
35
+ },
36
+ "primaryActionLabel": {
37
+ "type": "string",
38
+ "description": "Label for the primary action button. If undefined, no primary action is shown."
39
+ },
40
+ "secondaryActionLabel": {
41
+ "type": "string",
42
+ "description": "Label for the secondary action button. If undefined, no secondary action is shown."
52
43
  }
44
+ }
45
+ }
@@ -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/in-field-progress-button.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/in-field-progress-button.json",
4
4
  "title": "In field progress button",
5
5
  "description": "In field progress buttons provide interactive controls within form fields for actions like clearing, adding, or disclosing additional content.",
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/in-field-progress-circle.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/in-field-progress-circle.json",
4
4
  "title": "In field progress circle",
5
5
  "description": "In field progress circles indicate progress for loading states within form fields and input areas.",
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/in-line-alert.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/in-line-alert.json",
4
4
  "title": "In-line alert",
5
5
  "description": "In-line alerts display a non-modal message associated with objects in a view. These are often used in form validation, providing a place to aggregate feedback related to multiple fields.",
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/link.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/link.json",
4
4
  "title": "Link",
5
5
  "description": "Links allow users to navigate to a different location. They can be presented inside a paragraph or as standalone text.",
6
6
  "meta": {