@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,106 +1,89 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/list-view.json",
4
- "title": "List view",
5
- "description": "List views display rows of data or options that users can browse, select, and interact with.",
6
- "meta": {
7
- "category": "navigation",
8
- "documentationUrl": "https://spectrum.adobe.com/page/list-view/"
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/list-view.json",
4
+ "title": "List view",
5
+ "description": "List views display rows of data or options that users can browse, select, and interact with.",
6
+ "meta": {
7
+ "category": "navigation",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/list-view/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "selectionMode": {
13
+ "type": "string",
14
+ "enum": ["none", "single", "multiple"],
15
+ "default": "single",
16
+ "description": "Defines how many items can be selected at once."
9
17
  },
10
- "type": "object",
11
- "properties": {
12
- "selectionMode": {
18
+ "isQuiet": {
19
+ "type": "boolean",
20
+ "default": false,
21
+ "description": "If true, the list view uses a quiet visual style."
22
+ },
23
+ "items": {
24
+ "type": "array",
25
+ "description": "An array of list view items.",
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "label": {
13
30
  "type": "string",
14
- "enum": [
15
- "none",
16
- "single",
17
- "multiple"
18
- ],
19
- "default": "single",
20
- "description": "Defines how many items can be selected at once."
21
- },
22
- "isQuiet": {
31
+ "description": "Primary text displayed for the item."
32
+ },
33
+ "description": {
34
+ "type": "string",
35
+ "description": "Secondary text displayed under the label (optional)."
36
+ },
37
+ "hideCheckbox": {
38
+ "type": "boolean",
39
+ "default": false,
40
+ "description": "If true, the checkbox is hidden."
41
+ },
42
+ "hideDragHandle": {
43
+ "type": "boolean",
44
+ "default": false,
45
+ "description": "If true, the drag handle is hidden."
46
+ },
47
+ "hideNavigationIndicator": {
23
48
  "type": "boolean",
24
49
  "default": false,
25
- "description": "If true, the list view uses a quiet visual style."
50
+ "description": "If true, the navigation indicator is hidden."
51
+ },
52
+ "isDisabled": {
53
+ "type": "boolean",
54
+ "default": false,
55
+ "description": "If true, the item is disabled."
56
+ },
57
+ "isSelected": {
58
+ "type": "boolean",
59
+ "default": false,
60
+ "description": "If true, the item is selected."
61
+ },
62
+ "overflowMode": {
63
+ "type": "string",
64
+ "enum": ["wrap", "truncate"],
65
+ "default": "truncate",
66
+ "description": "Defines how text should behave when it overflows the available space."
67
+ },
68
+ "itemRounding": {
69
+ "type": "string",
70
+ "enum": ["none", "top", "bottom"],
71
+ "default": "none",
72
+ "description": "Defines the border radius of the list view item."
73
+ },
74
+ "isEmphasized": {
75
+ "type": "boolean",
76
+ "default": false
77
+ },
78
+ "state": {
79
+ "type": "string",
80
+ "enum": ["default", "hover", "dragged"],
81
+ "default": "default",
82
+ "description": "The interaction state of the list view item."
83
+ }
26
84
  },
27
- "items": {
28
- "type": "array",
29
- "description": "An array of list view items.",
30
- "items": {
31
- "type": "object",
32
- "properties": {
33
- "label": {
34
- "type": "string",
35
- "description": "Primary text displayed for the item."
36
- },
37
- "description": {
38
- "type": "string",
39
- "description": "Secondary text displayed under the label (optional)."
40
- },
41
- "hideCheckbox": {
42
- "type": "boolean",
43
- "default": false,
44
- "description": "If true, the checkbox is hidden."
45
- },
46
- "hideDragHandle": {
47
- "type": "boolean",
48
- "default": false,
49
- "description": "If true, the drag handle is hidden."
50
- },
51
- "hideNavigationIndicator": {
52
- "type": "boolean",
53
- "default": false,
54
- "description": "If true, the navigation indicator is hidden."
55
- },
56
- "isDisabled": {
57
- "type": "boolean",
58
- "default": false,
59
- "description": "If true, the item is disabled."
60
- },
61
- "isSelected": {
62
- "type": "boolean",
63
- "default": false,
64
- "description": "If true, the item is selected."
65
- },
66
- "overflowMode": {
67
- "type": "string",
68
- "enum": [
69
- "wrap",
70
- "truncate"
71
- ],
72
- "default": "truncate",
73
- "description": "Defines how text should behave when it overflows the available space."
74
- },
75
- "itemRounding": {
76
- "type": "string",
77
- "enum": [
78
- "none",
79
- "top",
80
- "bottom"
81
- ],
82
- "default": "none",
83
- "description": "Defines the border radius of the list view item."
84
- },
85
- "isEmphasized": {
86
- "type": "boolean",
87
- "default": false
88
- },
89
- "state": {
90
- "type": "string",
91
- "enum": [
92
- "default",
93
- "hover",
94
- "dragged"
95
- ],
96
- "default": "default",
97
- "description": "The interaction state of the list view item."
98
- }
99
- },
100
- "required": [
101
- "label"
102
- ]
103
- }
104
- }
85
+ "required": ["label"]
86
+ }
105
87
  }
88
+ }
106
89
  }
@@ -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/menu.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/menu.json",
4
4
  "title": "Menu",
5
5
  "description": "Menus help users take actions, choose from a list of options, configure settings, and more. They can be placed in a transient container, like a popover or tray.",
6
6
  "meta": {
@@ -17,7 +17,7 @@
17
17
  "type": "string"
18
18
  },
19
19
  "icon": {
20
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/workflow-icon.json",
20
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
21
21
  "description": "Icon must be present if the label is not defined."
22
22
  },
23
23
  "description": {
@@ -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/meter.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/meter.json",
4
4
  "title": "Meter",
5
5
  "description": "Meters are visual representations of a quantity or an achievement. Their progress is determined by user actions, rather than system 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/number-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/number-field.json",
4
4
  "title": "Number field",
5
5
  "description": "Number fields allow users to enter a numeric value, with optional increment and decrement buttons.",
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/opacity-checkerboard.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/opacity-checkerboard.json",
4
4
  "title": "Opacity Checkerboard",
5
5
  "description": "Opacity checkerboards provide a visual pattern background used in color swatches and UI elements to indicate transparency or when no color is 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/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/picker.json",
4
4
  "title": "Picker",
5
5
  "description": "Pickers (sometimes known as \"dropdowns\" or \"selects\") allow users to choose from a list of options in a limited space. The list of options can change based on the context.",
6
6
  "meta": {
@@ -15,10 +15,7 @@
15
15
  "labelPosition": {
16
16
  "type": "string",
17
17
  "default": "top",
18
- "enum": [
19
- "top",
20
- "side"
21
- ]
18
+ "enum": ["top", "side"]
22
19
  },
23
20
  "placeholder": {
24
21
  "type": "string"
@@ -32,12 +29,7 @@
32
29
  },
33
30
  "size": {
34
31
  "type": "string",
35
- "enum": [
36
- "s",
37
- "m",
38
- "l",
39
- "xl"
40
- ],
32
+ "enum": ["s", "m", "l", "xl"],
41
33
  "default": "m"
42
34
  },
43
35
  "isQuiet": {
@@ -46,10 +38,7 @@
46
38
  },
47
39
  "necessityIndicator": {
48
40
  "type": "string",
49
- "enum": [
50
- "text",
51
- "icon"
52
- ],
41
+ "enum": ["text", "icon"],
53
42
  "default": "icon"
54
43
  },
55
44
  "isRequired": {
@@ -58,10 +47,7 @@
58
47
  },
59
48
  "menuContainer": {
60
49
  "type": "string",
61
- "enum": [
62
- "popover",
63
- "tray"
64
- ],
50
+ "enum": ["popover", "tray"],
65
51
  "default": "popover"
66
52
  },
67
53
  "isDisabled": {
@@ -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/popover.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/popover.json",
4
4
  "title": "Popover",
5
5
  "description": "Popovers are containers used to display transient content such as menus, options, additional actions, and more. They visually stand out through stroke and drop shadow and float on top of the interface.",
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/progress-bar.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/progress-bar.json",
4
4
  "title": "Progress bar",
5
5
  "description": "Progress bars show the progression of a system operation: downloading, uploading, processing, etc., in a visual way. They can represent either determinate or indeterminate progress.",
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/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/progress-circle.json",
4
4
  "title": "Progress circle",
5
5
  "description": "Progress circles show the progression of a system operation such as downloading, uploading, processing, etc. in a visual way. They can represent determinate or indeterminate progress.",
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/radio-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/radio-button.json",
4
4
  "title": "Radio button",
5
5
  "description": "Radio buttons allow users to select a single option from a list of mutually exclusive options.",
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/radio-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/radio-group.json",
4
4
  "title": "Radio Group",
5
5
  "description": "A radio group is a grouping of radio buttons 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/rating.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/rating.json",
4
4
  "title": "Rating",
5
5
  "description": "The rating component lets users apply a rating to an item or experience, such as an image, a forum post, an item for sale in a marketplace, and more.",
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/scroll-zoom-bar.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/scroll-zoom-bar.json",
4
4
  "title": "Scroll-zoom bar",
5
5
  "description": "Primarily for usage in timelines, a scroll-zoom bar lets a user scroll or zoom with the same control.",
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/search-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/search-field.json",
4
4
  "title": "Search field",
5
5
  "description": "A search field is used for searching and filtering items.",
6
6
  "meta": {
@@ -17,7 +17,7 @@
17
17
  "default": false
18
18
  },
19
19
  "icon": {
20
- "$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/workflow-icon.json",
20
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
21
21
  "description": "Icon must be present if the label is not defined."
22
22
  },
23
23
  "value": {
@@ -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/segmented-control.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/segmented-control.json",
4
4
  "title": "Segmented Control",
5
5
  "description": "Segmented controls allow users to select one option from a set of mutually exclusive options.",
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/select-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/select-box.json",
4
4
  "title": "Select box",
5
5
  "description": "",
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/side-navigation.json",
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/side-navigation.json",
4
4
  "title": "Side navigation",
5
5
  "description": "Side navigation lets users navigate the entire content of a product or a section. These can be used for a single level or a multi-level navigation.",
6
6
  "meta": {
@@ -11,12 +11,7 @@
11
11
  "properties": {
12
12
  "state": {
13
13
  "type": "string",
14
- "enum": [
15
- "default",
16
- "hover",
17
- "down",
18
- "keyboard focus"
19
- ],
14
+ "enum": ["default", "hover", "down", "keyboard focus"],
20
15
  "default": "default"
21
16
  },
22
17
  "items": {
@@ -31,12 +26,7 @@
31
26
  },
32
27
  "state": {
33
28
  "type": "string",
34
- "enum": [
35
- "default",
36
- "hover",
37
- "down",
38
- "keyboard focus"
39
- ],
29
+ "enum": ["default", "hover", "down", "keyboard focus"],
40
30
  "default": "default",
41
31
  "description": "State of the navigation item."
42
32
  },
@@ -55,23 +45,15 @@
55
45
  "description": "Whether the item is disabled."
56
46
  }
57
47
  },
58
- "required": [
59
- "label"
60
- ]
48
+ "required": ["label"]
61
49
  }
62
50
  },
63
51
  "selectionMode": {
64
52
  "type": "string",
65
- "enum": [
66
- "none",
67
- "single",
68
- "multiple"
69
- ],
53
+ "enum": ["none", "single", "multiple"],
70
54
  "default": "single",
71
55
  "description": "How selection is handled for items."
72
56
  }
73
57
  },
74
- "required": [
75
- "items"
76
- ]
58
+ "required": ["items"]
77
59
  }
@@ -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/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/slider.json",
4
4
  "title": "Slider",
5
5
  "description": "Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.",
6
6
  "meta": {
@@ -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,11 +1,11 @@
1
1
  {
2
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
- "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/step-list.json",
4
- "title": "Step list",
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
+ "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": {
7
7
  "category": "navigation",
8
- "documentationUrl": "https://spectrum.adobe.com/page/step-list/"
8
+ "documentationUrl": "https://spectrum.adobe.com/page/steplist/"
9
9
  },
10
10
  "type": "object",
11
11
  "properties": {
@@ -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": {