@adobe/spectrum-design-data 3.3.0 → 3.5.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 (122) hide show
  1. package/components/accordion.json +32 -102
  2. package/components/action-bar.json +9 -23
  3. package/components/action-button.json +52 -92
  4. package/components/action-group.json +18 -129
  5. package/components/alert-banner.json +8 -27
  6. package/components/alert-dialog.json +45 -55
  7. package/components/avatar-group.json +20 -50
  8. package/components/avatar.json +44 -123
  9. package/components/badge.json +66 -160
  10. package/components/breadcrumbs.json +26 -100
  11. package/components/button-group.json +32 -63
  12. package/components/button.json +74 -105
  13. package/components/calendar.json +8 -67
  14. package/components/cards.json +31 -46
  15. package/components/checkbox-group.json +22 -84
  16. package/components/checkbox.json +33 -96
  17. package/components/close-button.json +31 -73
  18. package/components/coach-indicator.json +14 -44
  19. package/components/coach-mark.json +8 -26
  20. package/components/color-area.json +20 -93
  21. package/components/color-handle.json +25 -38
  22. package/components/color-loupe.json +18 -18
  23. package/components/color-slider.json +26 -122
  24. package/components/color-wheel.json +17 -84
  25. package/components/combo-box.json +56 -188
  26. package/components/contextual-help.json +87 -126
  27. package/components/date-picker.json +24 -120
  28. package/components/divider.json +25 -38
  29. package/components/drop-zone.json +25 -37
  30. package/components/field-label.json +22 -59
  31. package/components/help-text.json +16 -53
  32. package/components/illustrated-message.json +21 -72
  33. package/components/in-line-alert.json +13 -53
  34. package/components/link.json +31 -63
  35. package/components/list-view.json +15 -73
  36. package/components/menu.json +51 -180
  37. package/components/meter.json +35 -76
  38. package/components/number-field.json +34 -168
  39. package/components/picker.json +48 -187
  40. package/components/popover.json +47 -123
  41. package/components/progress-bar.json +33 -105
  42. package/components/progress-circle.json +25 -55
  43. package/components/radio-button.json +14 -67
  44. package/components/radio-group.json +34 -131
  45. package/components/rating.json +9 -38
  46. package/components/search-field.json +40 -125
  47. package/components/segmented-control.json +27 -69
  48. package/components/select-box.json +29 -96
  49. package/components/side-navigation.json +28 -69
  50. package/components/slider.json +45 -154
  51. package/components/standard-dialog.json +16 -88
  52. package/components/status-light.json +51 -133
  53. package/components/steplist.json +5 -24
  54. package/components/swatch-group.json +19 -55
  55. package/components/swatch.json +24 -79
  56. package/components/switch.json +42 -79
  57. package/components/table.json +26 -73
  58. package/components/tabs.json +35 -52
  59. package/components/tag-field.json +14 -60
  60. package/components/tag-group.json +22 -55
  61. package/components/tag.json +27 -77
  62. package/components/takeover-dialog.json +10 -61
  63. package/components/text-area.json +55 -204
  64. package/components/text-field.json +48 -169
  65. package/components/thumbnail.json +22 -63
  66. package/components/toast.json +30 -47
  67. package/components/tooltip.json +37 -84
  68. package/components/tree-view.json +51 -146
  69. package/fields/structure.json +1 -2
  70. package/guidelines/ai-resource-guide.json +42 -0
  71. package/guidelines/app-frame-overview.json +45 -44
  72. package/guidelines/applying-the-type-system.json +71 -0
  73. package/guidelines/attention-hierarchy.json +13 -22
  74. package/guidelines/background-layers.json +84 -10
  75. package/guidelines/bi-directionality.json +57 -0
  76. package/guidelines/border-width.json +70 -0
  77. package/guidelines/brand.json +24 -12
  78. package/guidelines/cognitive.json +229 -0
  79. package/guidelines/colors.json +55 -17
  80. package/guidelines/component-spacing.json +65 -0
  81. package/guidelines/contact-us.json +27 -0
  82. package/guidelines/containers.json +21 -28
  83. package/guidelines/content-area-browsing-context.json +73 -0
  84. package/guidelines/creating-bluelines-browsing-context.json +71 -0
  85. package/guidelines/design-tokens.json +186 -0
  86. package/guidelines/developer-overview.json +33 -9
  87. package/guidelines/drop-shadow.json +76 -0
  88. package/guidelines/faqs.json +100 -9
  89. package/guidelines/fonts.json +33 -14
  90. package/guidelines/grammar-and-mechanics.json +276 -0
  91. package/guidelines/grays.json +17 -44
  92. package/guidelines/header-browsing-context.json +40 -0
  93. package/guidelines/icon-fundamentals.json +7 -18
  94. package/guidelines/illustration.json +120 -0
  95. package/guidelines/in-product-word-list.json +25 -0
  96. package/guidelines/inclusive-design.json +101 -0
  97. package/guidelines/inclusive-ux-writing.json +34 -0
  98. package/guidelines/internationalization.json +103 -0
  99. package/guidelines/layout-spacing.json +39 -0
  100. package/guidelines/manifest.json +280 -16
  101. package/guidelines/motion.json +18 -13
  102. package/guidelines/object-styles-overview.json +17 -0
  103. package/guidelines/principles.json +7 -8
  104. package/guidelines/resources.json +29 -15
  105. package/guidelines/rounding.json +85 -0
  106. package/guidelines/side-navigation-browsing-context.json +74 -0
  107. package/guidelines/spacing-overview.json +78 -0
  108. package/guidelines/states.json +16 -11
  109. package/guidelines/support.json +125 -0
  110. package/guidelines/typography-overview.json +39 -0
  111. package/guidelines/typography-system.json +212 -0
  112. package/guidelines/using-icons.json +32 -47
  113. package/guidelines/voice-and-tone.json +51 -0
  114. package/guidelines/whats-new.json +21 -0
  115. package/guidelines/writing-about-people.json +99 -0
  116. package/guidelines/writing-for-errors.json +140 -0
  117. package/guidelines/writing-for-onboarding.json +123 -0
  118. package/guidelines/writing-for-readability.json +66 -0
  119. package/guidelines/writing-with-visuals.json +78 -0
  120. package/llms.txt +27 -0
  121. package/package.json +3 -2
  122. package/tokens/layout.tokens.json +88 -0
@@ -9,13 +9,6 @@
9
9
  "category": "navigation",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/tree-view/"
11
11
  },
12
- "implementations": [
13
- {
14
- "platform": "web",
15
- "componentName": "TreeView",
16
- "package": "@react-spectrum/s2"
17
- }
18
- ],
19
12
  "documentBlocks": [
20
13
  {
21
14
  "type": "purpose",
@@ -23,123 +16,106 @@
23
16
  },
24
17
  {
25
18
  "type": "guideline",
26
- "content": "Tree views display nested, hierarchical content in a collapsible structure. They allow for navigation through multiple levels of grouped information."
27
- },
28
- {
29
- "type": "guideline",
30
- "content": "A tree view offers four sizes: small, medium, large and extra-large. Medium is the default and most common. Use other sizes sparingly to create a visual hierarchy of importance on the page."
31
- },
32
- {
33
- "type": "guideline",
34
- "content": "When placed outside a panel, a tree view uses the detached style with rounded corners. Inside a panel, it spans edge to edge by default and does not include rounded corners."
35
- },
36
- {
37
- "type": "guideline",
38
- "content": "Tree view items can include a drag icon when needed. The icon serves as a keyboard-navigable indicator for items that support multiple actions. It appears only on hover, active and keyboard focus states."
39
- },
40
- {
41
- "type": "guideline",
42
- "content": "The type of selection allowed in a collection can be none, single or multiple."
43
- },
44
- {
45
- "type": "guideline",
46
- "content": "Checkbox With checkboxes, both single-select and multi-select views display boxes on the left of each item. Clicking another item adds it to the selection, and clicking a selected item removes it."
19
+ "content": "Collapse and expand.\n\nClicking the collapse and expand button will expand or collapse a tree view item that contains child tree view items."
47
20
  },
48
21
  {
49
22
  "type": "guideline",
50
- "content": "Highlight Use highlight selection when checkboxes add clutter or unnecessary controls. This style shows a highlighted state for selected items, and clicking a new item replaces the previous selection by default."
23
+ "content": "Drag and drop.\n\nTree view items can be dragged and dropped to reorder or restructure the hierarchy, including multiple items at once. Dropping items from different hierarchies into a new location flattens them as sibling children. Tree views should also accept external drops, such as files, to create new items. Drag icon focus: When this option is enabled, the drag icon receives keyboard focus to support keyboard-based drag-and-drop."
51
24
  },
52
25
  {
53
26
  "type": "guideline",
54
- "content": "All tree views have a hover state, regardless of whether actions or selections can be made."
27
+ "content": "Text overflow.\n\nWhen a tree view item label is too long for the available horizontal space, it truncates. The full label appears in a tooltip on hover or keyboard focus."
55
28
  },
56
29
  {
57
30
  "type": "guideline",
58
- "content": "Tree views support both single-select and multi-select modes, using either checkbox or highlight styles. In multi-select mode, selecting an item toggles its selection on or off. In single-select mode, selecting an item replaces the current selection."
31
+ "content": "Always display the collapse and expand button.\n\nFor proper functionality, a parent-level tree view must include a collapse-and-expand button that uses a chevron icon - regardless of its nesting level. This makes the expected behavior clear when users click an item icon."
59
32
  },
60
33
  {
61
34
  "type": "guideline",
62
- "content": "Clicking the collapse and expand button will expand or collapse a tree view item that contains child tree view items."
35
+ "content": "Using multiple sources in one tree view.\n\nWhen displaying hierarchical information from different sources, use a single tree view with separate sections and headings. Do not cross-reference sources to avoid confusing users. Single and multi-selection should work as expected within one tree view component."
63
36
  },
64
37
  {
65
38
  "type": "guideline",
66
- "content": "Tree view items can be dragged and dropped to reorder or restructure the hierarchy, including multiple items at once. Dropping items from different hierarchies into a new location flattens them as sibling children. Tree views should also accept external drops, such as files, to create new items."
39
+ "content": "Customize the root item display.\n\nThe root (topmost) level of the hierarchy does not always need to be shown or displayed as a tree view item. If the root provides no useful context, hide it or replace it with a section header. In cases such as mixed tree views, the root can serve as a \"Back\" button."
67
40
  },
68
41
  {
69
42
  "type": "guideline",
70
- "content": "When a tree view item label is too long for the available horizontal space, it truncates. The full label appears in a tooltip on hover or keyboard focus."
43
+ "content": "Drill-in tree views.\n\nIn some cases, users may need to view different hierarchies depending on context. To support this, let users drill into a tree view item to display a different variation of the tree view within the same panel. Use a navigation controller with a \"Back\" button to let users return to the previous view."
71
44
  },
72
45
  {
73
46
  "type": "guideline",
74
- "content": "For proper functionality, a parent-level tree view must include a collapse-and-expand button that uses a chevron icon - regardless of its nesting level. This makes the expected behavior clear when users click an item icon."
47
+ "content": "Iconography.\n\nChoose icons that match the object type represented in the tree view. Icons can be unique to specific data types to help clarify meaning for users."
75
48
  },
76
49
  {
77
50
  "type": "guideline",
78
- "content": "When displaying hierarchical information from different sources, use a single tree view with separate sections and headings. Do not cross-reference sources to avoid confusing users. Single and multi-selection should work as expected within one tree view component."
51
+ "content": "Using thumbnails.\n\nTree view items can display thumbnails instead of icons when users need a content preview. Use icons as a fallback when an image is unavailable, and size them to match the thumbnail. Thumbnails should scale appropriately to the tree view size. For example, an extra-large tree view should not use small thumbnails; in that case, icons may work better. Multiple thumbnails may be displayed in line with a tree view item (for example, layer masks). Each thumbnail should be individually selectable and support standard tree view behaviors, including drag-and-drop. Do not use more than three thumbnails per item."
79
52
  },
80
53
  {
81
54
  "type": "guideline",
82
- "content": "The root (topmost) level of the hierarchy does not always need to be shown or displayed as a tree view item. If the root provides no useful context, hide it or replace it with a section header. In cases such as mixed tree views, the root can serve as a “Back” button."
55
+ "content": "Restrict hierarchy depth.\n\nOne way to manage overflow is to limit how many levels of hierarchy users can create in a tree view. Some products use this approach to reduce the complexity of deeply nested hierarchies. Setting limits helps when a complex hierarchy is unnecessary for the experience."
83
56
  },
84
57
  {
85
58
  "type": "guideline",
86
- "content": "In some cases, users may need to view different hierarchies depending on context. To support this, let users drill into a tree view item to display a different variation of the tree view within the same panel. Use a navigation controller with a “Back” button to let users return to the previous view."
59
+ "content": "Show truncated labels in tooltip.\n\nWhen a label is too long to fit in the tree view, it truncates with an ellipsis. Hovering over or focusing on the item reveals a tooltip with the full label text."
87
60
  },
88
61
  {
89
62
  "type": "guideline",
90
- "content": "Choose icons that match the object type represented in the tree view. Icons can be unique to specific data types to help clarify meaning for users."
63
+ "content": "Use an adjustable layout.\n\nWhen a tree view hierarchy may extend beyond the available layout space, use an adjustable layout mechanism such as panels or rails. This lets users modify the layout while preserving visibility of the tree view."
91
64
  },
92
65
  {
93
66
  "type": "guideline",
94
- "content": "Tree view items can display thumbnails instead of icons when users need a content preview. Use icons as a fallback when an image is unavailable, and size them to match the thumbnail. Thumbnails should scale appropriately to the tree view size. For example, an extra-large tree view should not use small thumbnails; in that case, icons may work better."
67
+ "content": "Horizontal scrolling.\n\nIf you have a layout that doesn't allow for users to adjust the width of the container for a tree view, allow them to horizontally scroll in order to see the full depth of the hierarchy."
95
68
  },
96
69
  {
97
70
  "type": "guideline",
98
- "content": "One way to manage overflow is to limit how many levels of hierarchy users can create in a tree view. Some products use this approach to reduce the complexity of deeply nested hierarchies. Setting limits helps when a complex hierarchy is unnecessary for the experience."
71
+ "content": "Large tree views.\n\nWhen tree views are very large, use a progress circle or a \"Show more\" control to reveal additional parts when contextually relevant. These loading patterns can apply to the entire tree view or to nested items."
99
72
  },
100
73
  {
101
74
  "type": "guideline",
102
- "content": "When a label is too long to fit in the tree view, it truncates with an ellipsis. Hovering over or focusing on the item reveals a tooltip with the full label text."
75
+ "content": "Loading tree view items.\n\nIf system processes are delaying the display of child tree view items when a parent tree view item is expanded, show a clear indication that the items are in the process of loading."
103
76
  },
104
77
  {
105
78
  "type": "guideline",
106
- "content": "When a tree view hierarchy may extend beyond the available layout space, use an adjustable layout mechanism such as panels or rails. This lets users modify the layout while preserving visibility of the tree view."
79
+ "content": "Sorting.\n\nUsers should be able to sort a tree view. Sorting should not affect the hierarchical structure since each layer of the hierarchy is sorted individually."
107
80
  },
108
81
  {
109
82
  "type": "guideline",
110
- "content": "If you have a layout that doesn't allow for users to adjust the width of the container for a tree view, allow them to horizontally scroll in order to see the full depth of the hierarchy."
83
+ "content": "Modifying the tree view.\n\nUsers may need to modify a tree view directly. They should be able to create new parent or child items, such as groups or folders, and flatten the hierarchy at the item level, such as ungrouping layers. In some cases, users should be able to edit item labels directly. Any action for modifying the hierarchy should be offered as an explicit control and, if needed, as a keyboard shortcut — but never as a shortcut alone."
111
84
  },
112
85
  {
113
86
  "type": "guideline",
114
- "content": "When tree views are very large, use a progress circle or a “Show more” control to reveal additional parts when contextually relevant. These loading patterns can apply to the entire tree view or to nested items."
87
+ "content": "Entering into multiple selection mode.\n\nAllow users to enter multiple-selection mode explicitly when keyboard shortcuts such as Shift + click are unavailable or when you need to show a different selection type. Do this by toggling the selection style from highlight to checkbox."
115
88
  },
116
89
  {
117
90
  "type": "guideline",
118
- "content": "If system processes are delaying the display of child tree view items when a parent tree view item is expanded, show a clear indication that the items are in the process of loading."
91
+ "content": "Use checkbox selection for modifying a tree view.\n\nThe checkbox selection style is intended for performing bulk actions on tree view items. Use this option when selection corresponds to bulk actions."
119
92
  },
120
93
  {
121
94
  "type": "guideline",
122
- "content": "Users should be able to sort a tree view. Sorting should not affect the hierarchical structure since each layer of the hierarchy is sorted individually."
95
+ "content": "Use a checkbox component when selection doesn't affect tree view items.\n\nWhen you need to provide selection controls within a hierarchy, use a checkbox component instead of the tree view item's label. This should not correspond to selecting specific content and works best for cases like categorized filtering."
123
96
  },
124
97
  {
125
98
  "type": "guideline",
126
- "content": "Users may need to modify a tree view directly. They should be able to create new parent or child items, such as groups or folders, and flatten the hierarchy at the item level, such as ungrouping layers. In some cases, users should be able to edit item labels directly."
99
+ "content": "RTL.\n\nFor RTL (right-to-left) languages, the entire tree view is mirrored horizontally, including the direction of the collapse and expand button. Workflow icons follow iconography internationalization guidelines."
127
100
  },
128
101
  {
129
102
  "type": "guideline",
130
- "content": "Any action for modifying the hierarchy should be offered as an explicit control and, if needed, as a keyboard shortcut — but never as a shortcut alone."
103
+ "content": "Keyboard interactions.\n\nKey Interaction Tab Moves focus to the tree view, placing the first tree view item in focus. Shift + Tab Moves focus out of the tree view to the previous focusable element. Down Arrow Moves focus to the tree view item below or to the next thumbnail of a tree view item. Up Arrow Moves focus to the tree view item above or to the previous thumbnail of a tree view item. Enter or Space Selects the currently focused tree view item. If focus is on a child of the tree view item, subsequent action is based on the child component’s keyboard interactions. For the drag icon, this places the user in drag-and-drop mode. Right Arrow (Left Arrow in RTL) Expands the currently focused tree view item. If the tree view item is already expanded, or if the tree view item is not expandable, focus is moved in a left-to-right direction along child components. If focus is on the rightmost child of the tree view item, focus does not move. Left Arrow (Right Arrow in RTL) Collapses the currently focused tree view item. If focus is on a child of the tree view item, focus is moved in a right-to-left direction along child components. If focus is on the leftmost child of the tree view item, focus is placed back on the parent tree view item. Home Moves focus to the first item in the tree view without opening or closing a level. End Moves focus to the last item in the tree view that is focusable without opening a level. Cmd + [ (optional) Moves the currently selected item up in the view order. Cmd + ] (optional) Moves the currently selected item down in the view order. Cmd + Z (optional) Undoes the action most recently taken, such as after the user drags and drops, reorders, or performs an action on a tree view item. Cmd + G (optional) Groups the selected tree view item(s) into a new parent tree view item. Shift + Cmd + G (optional) Ungroups or removes the selected parent tree view item, placing its children at the same level of hierarchy as the removed items. Printable characters Typeahead: moves focus to next node matching typed text. * (optional) Expands all sibling nodes at the same level."
131
104
  },
132
105
  {
133
106
  "type": "guideline",
134
- "content": "Allow users to enter multiple-selection mode explicitly when keyboard shortcuts such as Shift + click are unavailable or when you need to show a different selection type. Do this by toggling the selection style from highlight to checkbox."
107
+ "content": "Cursor guidelines.\n\nCursor Description Default (Arrow) Use the default arrow cursor for non-interactive headers and disabled text. Pointer Use the pointer cursor for all interactive pieces of the tree view component. Grab hand Use the grab hand on the drag handle when tree view objects can be moved. Grab fist Use the grab fist cursor when actively dragging tree items."
135
108
  },
136
109
  {
137
110
  "type": "guideline",
138
- "content": "The checkbox selection style is intended for performing bulk actions on tree view items. Use this option when selection corresponds to bulk actions."
139
- },
111
+ "content": "WCAG 2.2 compliance.\n\nAny criterion not mention in the below table are not applicable to this component or are resolved with underlying requirements, engineering, and styles of the entire system. 1. Perceivable Requirement Criterion Level Compliance Non-text content 1.1.1 A Non-text elements, such as icons used in tree view items, must provide a text alternative that communicates the item's purpose. All tree items, especially icon-only items, need an accessible name (for example, via a title, aria-label, or associated text) so screen readers can announce their function. Info and relationships, Identify purpose 1.3.1, 1.3.6 A, AAA Tree views should be understandable by assistive technologies like screen readers. This means using the proper semantic HTML or ARIA role should be utilized, including parent/child relationships, expanded/collapsed states, and selection states. Use of color 1.4.1 A Color is not used as a means to convey information or distinguish elements. Contrast 1.4.3 AA The visual presentation of text has a contrast ratio of at least 4.5:1. Visual presentation 1.4.8 AAA The width of text blocks is no more than 80 characters (40 for CJK languages), and text is never justified. Non-text contrast 1.4.11 AA The visual presentation of icons and component states have a contrast ratio of at least 3:1. Text spacing 1.4.12 AA Line height of text is at least 1.5x the font size. 2. Operable Requirement Criterion Level Compliance Keyboard 2.1.1, 2.1.3 A, AAA All functionality of the component is operable through a keyboard without specific timing for keystrokes. Keyboard traps 2.1.2 A Focus can be moved away from the component using only a keyboard. Seizures and physical reactions 2.3.1, 2.3.2, 2.3.3 A, AAA, AAA There is no flashing content or unnecessary motion or animation in this component. Focus order 2.4.3 A Navigation sequences receive focus in an order that preserves meaning and operability. Focus visible 2.4.7 AA Keyboard states use an indicator that is visible with at least 3:1 contrast."
112
+ }
113
+ ],
114
+ "implementations": [
140
115
  {
141
- "type": "guideline",
142
- "content": "When you need to provide selection controls within a hierarchy, use a checkbox component instead of the tree view item’s label. This should not correspond to selecting specific content and works best for cases like categorized filtering."
116
+ "platform": "web",
117
+ "componentName": "TreeView",
118
+ "package": "@react-spectrum/s2"
143
119
  }
144
120
  ],
145
121
  "options": {
@@ -147,67 +123,29 @@
147
123
  "type": "string",
148
124
  "default": "m",
149
125
  "values": [
150
- {
151
- "value": "s"
152
- },
153
- {
154
- "value": "m"
155
- },
156
- {
157
- "value": "l"
158
- },
159
- {
160
- "value": "xl"
161
- }
126
+ { "value": "s" },
127
+ { "value": "m" },
128
+ { "value": "l" },
129
+ { "value": "xl" }
162
130
  ]
163
131
  },
164
- "isDetached": {
165
- "type": "boolean",
166
- "default": false
167
- },
168
- "isEmphasized": {
169
- "type": "boolean",
170
- "default": false
171
- },
172
- "showDragIcon": {
173
- "type": "boolean",
174
- "default": false
175
- },
132
+ "isDetached": { "type": "boolean", "default": false },
133
+ "isEmphasized": { "type": "boolean", "default": false },
134
+ "showDragIcon": { "type": "boolean", "default": false },
176
135
  "selectionMode": {
177
136
  "type": "string",
178
137
  "default": "multiple",
179
- "values": [
180
- {
181
- "value": "single"
182
- },
183
- {
184
- "value": "multiple"
185
- }
186
- ]
138
+ "values": [{ "value": "single" }, { "value": "multiple" }]
187
139
  },
188
140
  "selectionStyle": {
189
141
  "type": "string",
190
142
  "default": "checkbox",
191
- "values": [
192
- {
193
- "value": "checkbox"
194
- },
195
- {
196
- "value": "highlight"
197
- }
198
- ]
143
+ "values": [{ "value": "checkbox" }, { "value": "highlight" }]
199
144
  },
200
145
  "selectionBehavior": {
201
146
  "type": "string",
202
147
  "default": "toggle",
203
- "values": [
204
- {
205
- "value": "toggle"
206
- },
207
- {
208
- "value": "replace"
209
- }
210
- ]
148
+ "values": [{ "value": "toggle" }, { "value": "replace" }]
211
149
  }
212
150
  },
213
151
  "anatomy": [
@@ -215,63 +153,30 @@
215
153
  "name": "action-area",
216
154
  "description": "Trailing area containing item actions."
217
155
  },
218
- {
219
- "name": "row"
220
- },
156
+ { "name": "row" },
221
157
  {
222
158
  "name": "disclosure-indicator",
223
159
  "description": "Visual affordance showing a tree view item's expand/collapse state."
224
160
  }
225
161
  ],
226
162
  "states": [
227
- {
228
- "name": "default",
229
- "description": "Resting base state."
230
- },
231
- {
232
- "name": "hover",
233
- "trigger": "interaction"
234
- },
235
- {
236
- "name": "down",
237
- "trigger": "interaction"
238
- },
239
- {
240
- "name": "keyboard-focus",
241
- "trigger": "interaction"
242
- },
243
- {
244
- "name": "selected",
245
- "trigger": "interaction"
246
- },
247
- {
248
- "name": "selected-default",
249
- "trigger": "interaction"
250
- },
251
- {
252
- "name": "selected-hover",
253
- "trigger": "interaction"
254
- }
163
+ { "name": "default", "description": "Resting base state." },
164
+ { "name": "hover", "trigger": "interaction" },
165
+ { "name": "down", "trigger": "interaction" },
166
+ { "name": "keyboard-focus", "trigger": "interaction" },
167
+ { "name": "selected", "trigger": "interaction" },
168
+ { "name": "selected-default", "trigger": "interaction" },
169
+ { "name": "selected-hover", "trigger": "interaction" }
255
170
  ],
256
- "lifecycle": {
257
- "introduced": "1.0.0-draft"
258
- },
171
+ "lifecycle": { "introduced": "1.0.0-draft" },
259
172
  "accessibility": {
260
173
  "role": "tree",
261
174
  "intents": ["navigate", "select", "expand"],
262
175
  "focusable": true,
263
176
  "keyboardIntents": ["navigate-items", "expand", "collapse", "activate"],
264
177
  "wcag": [
265
- {
266
- "criterion": "2.1.1",
267
- "level": "A",
268
- "title": "Keyboard"
269
- },
270
- {
271
- "criterion": "4.1.2",
272
- "level": "A",
273
- "title": "Name, Role, Value"
274
- }
178
+ { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
179
+ { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
275
180
  ]
276
181
  }
277
182
  }
@@ -11,6 +11,5 @@
11
11
  },
12
12
  "scope": null,
13
13
  "required": false,
14
- "valueType": "string",
15
- "excludeFromLegacyKey": true
14
+ "valueType": "string"
16
15
  }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/guideline.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/guidelines/ai-resource-guide.json",
4
+ "name": "ai-resource-guide",
5
+ "title": "AI resource guide",
6
+ "category": "support",
7
+ "documentBlocks": [
8
+ { "type": "purpose", "content": "AI resource guide" },
9
+ {
10
+ "type": "guideline",
11
+ "content": "Spectrum Design Data puts the official Spectrum dataset (design tokens, component schemas, and Spectrum documentation and usage guidelines) directly in your AI assistant. We ship both an Agent Skill and an MCP server. See the Spectrum Data System documentation for more details."
12
+ },
13
+ {
14
+ "type": "guideline",
15
+ "content": "@adobe/design-data-skill [npm: github].\n\nA skill the sets up access agents access to Spectrum design tokens, component schemas, and design-system data via the design data CLI."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "@adobe/design-data-mcp [npm: github].\n\nThe MCP server for Adobe Spectrum design tokens, component schemas, and design guidelines and documentation."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "React Spectrum.\n\nView the React Spectrum AI integration overview"
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "Spectrum Web Components.\n\nView the Spectrum Web Components AI skills"
28
+ }
29
+ ],
30
+ "sourceUrl": "https://spectrum.adobe.com/support/ai-resource-guide",
31
+ "lastUpdated": "2026-09-29",
32
+ "status": "published",
33
+ "tags": [
34
+ "AI tooling",
35
+ "Protopack",
36
+ "Design data",
37
+ "Figma",
38
+ "Claude Enterprise",
39
+ "Prototyping",
40
+ "design-to-code"
41
+ ]
42
+ }