@adobe/spectrum-design-data 0.4.0 → 0.6.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 (96) hide show
  1. package/components/accordion.json +108 -194
  2. package/components/action-bar.json +64 -97
  3. package/components/action-button.json +95 -230
  4. package/components/action-group.json +88 -86
  5. package/components/alert-banner.json +104 -76
  6. package/components/alert-dialog.json +78 -126
  7. package/components/avatar-group.json +61 -119
  8. package/components/avatar.json +98 -212
  9. package/components/badge.json +138 -256
  10. package/components/breadcrumbs.json +95 -89
  11. package/components/button-group.json +57 -48
  12. package/components/button.json +151 -368
  13. package/components/calendar.json +97 -34
  14. package/components/cards.json +109 -250
  15. package/components/checkbox-group.json +50 -58
  16. package/components/checkbox.json +121 -186
  17. package/components/close-button.json +61 -124
  18. package/components/coach-indicator.json +63 -72
  19. package/components/coach-mark.json +89 -93
  20. package/components/color-area.json +68 -94
  21. package/components/color-handle.json +39 -79
  22. package/components/color-loupe.json +35 -52
  23. package/components/color-slider.json +95 -116
  24. package/components/color-wheel.json +67 -73
  25. package/components/combo-box.json +243 -331
  26. package/components/contextual-help.json +86 -175
  27. package/components/date-picker.json +139 -179
  28. package/components/divider.json +30 -69
  29. package/components/drop-zone.json +51 -92
  30. package/components/field-label.json +75 -117
  31. package/components/help-text.json +81 -105
  32. package/components/illustrated-message.json +106 -73
  33. package/components/in-line-alert.json +50 -83
  34. package/components/link.json +63 -85
  35. package/components/list-view.json +107 -146
  36. package/components/menu.json +180 -274
  37. package/components/meter.json +72 -118
  38. package/components/number-field.json +213 -305
  39. package/components/picker.json +208 -320
  40. package/components/popover.json +94 -129
  41. package/components/progress-bar.json +94 -131
  42. package/components/progress-circle.json +45 -72
  43. package/components/radio-button.json +87 -156
  44. package/components/radio-group.json +107 -74
  45. package/components/rating.json +66 -99
  46. package/components/search-field.json +132 -202
  47. package/components/segmented-control.json +94 -109
  48. package/components/select-box.json +119 -179
  49. package/components/side-navigation.json +108 -118
  50. package/components/slider.json +143 -228
  51. package/components/standard-dialog.json +96 -114
  52. package/components/standard-panel.json +105 -53
  53. package/components/status-light.json +104 -240
  54. package/components/steplist.json +77 -161
  55. package/components/swatch-group.json +42 -58
  56. package/components/swatch.json +75 -162
  57. package/components/switch.json +101 -189
  58. package/components/table.json +97 -102
  59. package/components/tabs.json +77 -104
  60. package/components/tag-field.json +86 -150
  61. package/components/tag-group.json +50 -44
  62. package/components/tag.json +81 -198
  63. package/components/takeover-dialog.json +59 -57
  64. package/components/text-area.json +200 -323
  65. package/components/text-field.json +183 -304
  66. package/components/thumbnail.json +63 -105
  67. package/components/toast.json +97 -83
  68. package/components/tooltip.json +104 -96
  69. package/components/tree-view.json +169 -181
  70. package/guidelines/app-frame-content-area.json +87 -0
  71. package/guidelines/app-frame-creating-bluelines.json +61 -0
  72. package/guidelines/app-frame-header.json +75 -0
  73. package/guidelines/app-frame-overview.json +167 -0
  74. package/guidelines/app-frame-side-navigation.json +138 -0
  75. package/guidelines/attention-hierarchy.json +42 -0
  76. package/guidelines/background-layers.json +41 -0
  77. package/guidelines/brand.json +50 -0
  78. package/guidelines/colors.json +65 -0
  79. package/guidelines/containers.json +65 -0
  80. package/guidelines/developer-overview.json +38 -0
  81. package/guidelines/faqs.json +35 -0
  82. package/guidelines/fonts.json +58 -0
  83. package/guidelines/grays.json +69 -0
  84. package/guidelines/icon-fundamentals.json +45 -0
  85. package/guidelines/illustrations.json +114 -0
  86. package/guidelines/introduction.json +34 -0
  87. package/guidelines/manifest.json +204 -0
  88. package/guidelines/motion.json +41 -0
  89. package/guidelines/object-styles.json +105 -0
  90. package/guidelines/principles.json +30 -0
  91. package/guidelines/resources.json +59 -0
  92. package/guidelines/spacing.json +25 -0
  93. package/guidelines/states.json +34 -0
  94. package/guidelines/typography-fundamentals.json +145 -0
  95. package/guidelines/using-icons.json +110 -0
  96. package/package.json +5 -2
@@ -9,18 +9,81 @@
9
9
  "category": "navigation",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/segmented-control/"
11
11
  },
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "Segmented controls allow users to select one option from a set of mutually exclusive options."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "Segmented controls display a group of buttons where only one can be selected at a time. They're ideal for toggling between layouts like a list, grid, or map. Avoid using them for navigation or triggering actions."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "Segmented controls should have between two and five items."
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "The identifier of the currently selected item."
28
+ },
29
+ {
30
+ "type": "guideline",
31
+ "content": "By default, segmented controls should include a track. The track style is justified within the parent container. Segmented controls without a track are left-aligned in left-to-right (LTR) languages."
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "Segmented controls without a track are left aligned in left-to-right languages."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "If true, the control takes up the full width of its container. Only horizontal segmented controls support fluid behavior."
40
+ },
41
+ {
42
+ "type": "guideline",
43
+ "content": "Segmented controls can be either horizontal or vertical. By default, segmented controls are horizontal."
44
+ },
45
+ {
46
+ "type": "guideline",
47
+ "content": "Segmented controls have one item selected by default at all times, and are mutually exclusive. This means selecting one item automatically deselects the others."
48
+ },
49
+ {
50
+ "type": "guideline",
51
+ "content": "Clicking on a segmented control item immediately performs the view change."
52
+ },
53
+ {
54
+ "type": "guideline",
55
+ "content": "When the segmented control item text is too long for the available horizontal space, it truncates at the end. The full text should be revealed with a tooltip on hover."
56
+ },
57
+ {
58
+ "type": "guideline",
59
+ "content": "Icon-only or truncated label segmented controls can be hard to identify. They should display a tooltip after a brief hover, showing the name and a keyboard shortcut, if applicable."
60
+ },
61
+ {
62
+ "type": "guideline",
63
+ "content": "Segmented controls are only meant to be used to change the way you view information on a page. They should not be used for navigating, filtering content, or taking actions."
64
+ },
65
+ {
66
+ "type": "guideline",
67
+ "content": "Use a segmented control when the primary goal is to switch views of content. Tabs are reserved for navigation. Action groups are for triggering actions. Tag groups are for filtering content."
68
+ },
69
+ {
70
+ "type": "guideline",
71
+ "content": "It may not make sense in every case to include icons. If the items are too complicated to convey in an icon, don’t force it. Keep in mind that if one segmented control has an icon, then they all should have an icon."
72
+ },
73
+ {
74
+ "type": "guideline",
75
+ "content": "Segmented control groups work best with 2 to 5 items. If your component needs more than 5 items, consider using a dropdown or radio button group instead."
76
+ },
77
+ {
78
+ "type": "guideline",
79
+ "content": "Segmented control groups are meant for switching views on a page. To navigate to a different page or progressively disclose different content, use tabs instead. To perform actions or make a selection, use action groups."
80
+ }
81
+ ],
12
82
  "options": {
13
83
  "orientation": {
14
84
  "type": "string",
15
85
  "default": "horizontal",
16
- "values": [
17
- {
18
- "value": "horizontal"
19
- },
20
- {
21
- "value": "vertical"
22
- }
23
- ]
86
+ "values": [{ "value": "horizontal" }, { "value": "vertical" }]
24
87
  },
25
88
  "isFluid": {
26
89
  "type": "boolean",
@@ -30,14 +93,7 @@
30
93
  "alignment": {
31
94
  "type": "string",
32
95
  "default": "start",
33
- "values": [
34
- {
35
- "value": "start"
36
- },
37
- {
38
- "value": "center"
39
- }
40
- ]
96
+ "values": [{ "value": "start" }, { "value": "center" }]
41
97
  },
42
98
  "hideTracker": {
43
99
  "type": "boolean",
@@ -51,14 +107,7 @@
51
107
  "keyboardActivation": {
52
108
  "type": "string",
53
109
  "default": "manual",
54
- "values": [
55
- {
56
- "value": "manual"
57
- },
58
- {
59
- "value": "automatic"
60
- }
61
- ]
110
+ "values": [{ "value": "manual" }, { "value": "automatic" }]
62
111
  },
63
112
  "items": {
64
113
  "type": "array",
@@ -91,30 +140,16 @@
91
140
  }
92
141
  }
93
142
  },
94
- "lifecycle": {
95
- "introduced": "1.0.0-draft"
96
- },
143
+ "lifecycle": { "introduced": "1.0.0-draft" },
97
144
  "tokenBindings": [
98
- {
99
- "token": "segmented-control-item-height",
100
- "context": "Height "
101
- },
102
- {
103
- "token": "corner-radius-medium-default",
104
- "context": "Corner radius"
105
- },
106
- {
107
- "token": "workflow-icon-size-100",
108
- "context": "Icon "
109
- },
145
+ { "token": "segmented-control-item-height", "context": "Height " },
146
+ { "token": "corner-radius-medium-default", "context": "Corner radius" },
147
+ { "token": "workflow-icon-size-100", "context": "Icon " },
110
148
  {
111
149
  "token": "component-edge-to-visual-only-100",
112
150
  "context": "Spacing (top/bottom to edge, workflow icon only)"
113
151
  },
114
- {
115
- "token": "text-to-visual-100",
116
- "context": "Spacing (icon to label)"
117
- },
152
+ { "token": "text-to-visual-100", "context": "Spacing (icon to label)" },
118
153
  {
119
154
  "token": "component-edge-to-visual-100",
120
155
  "context": "Spacing (start/end edges, workflow icon with label)"
@@ -143,22 +178,13 @@
143
178
  "token": "spacing-75",
144
179
  "context": "Spacing (between segmented control items)"
145
180
  },
146
- {
147
- "token": "focus-indicator-thickness",
148
- "context": "Focus ring"
149
- },
150
- {
151
- "token": "focus-indicator-gap",
152
- "context": "Focus ring"
153
- },
181
+ { "token": "focus-indicator-thickness", "context": "Focus ring" },
182
+ { "token": "focus-indicator-gap", "context": "Focus ring" },
154
183
  {
155
184
  "token": "segmented-control-selection-border-width",
156
185
  "context": "Selection border"
157
186
  },
158
- {
159
- "token": "gray-600",
160
- "context": "Segmented control items (no track)"
161
- },
187
+ { "token": "gray-600", "context": "Segmented control items (no track)" },
162
188
  {
163
189
  "token": "neutral-subdued-content-color-hover",
164
190
  "context": "Segmented control items (no track)"
@@ -179,70 +205,29 @@
179
205
  "token": "neutral-content-color-key-focus",
180
206
  "context": "Segmented control items (no track)"
181
207
  },
182
- {
183
- "token": "gray-200",
184
- "context": "Segmented control items (no track)"
185
- },
208
+ { "token": "gray-200", "context": "Segmented control items (no track)" },
186
209
  {
187
210
  "token": "neutral-subdued-content-color-default",
188
211
  "context": "Segmented control items (with track)"
189
212
  },
190
- {
191
- "token": "gray-25",
192
- "context": "Segmented control items (with track)"
193
- },
194
- {
195
- "token": "gray-100",
196
- "context": "Segmented control items (with track)"
197
- },
198
- {
199
- "token": "disabled-content-color",
200
- "context": "Disabled"
201
- },
202
- {
203
- "token": "disabled-background-color",
204
- "context": "Disabled"
205
- },
206
- {
207
- "token": "focus-indicator-color",
208
- "context": "Focus ring"
209
- },
210
- {
211
- "token": "default-font-family",
212
- "context": "Label"
213
- },
214
- {
215
- "token": "default-font-style",
216
- "context": "Label"
217
- },
218
- {
219
- "token": "regular-font-weight",
220
- "context": "Label"
221
- },
222
- {
223
- "token": "font-size-100",
224
- "context": "Label"
225
- },
226
- {
227
- "token": "line-height-100",
228
- "context": "Label"
229
- }
213
+ { "token": "gray-25", "context": "Segmented control items (with track)" },
214
+ { "token": "gray-100", "context": "Segmented control items (with track)" },
215
+ { "token": "disabled-content-color", "context": "Disabled" },
216
+ { "token": "disabled-background-color", "context": "Disabled" },
217
+ { "token": "focus-indicator-color", "context": "Focus ring" },
218
+ { "token": "default-font-family", "context": "Label" },
219
+ { "token": "default-font-style", "context": "Label" },
220
+ { "token": "regular-font-weight", "context": "Label" },
221
+ { "token": "font-size-100", "context": "Label" },
222
+ { "token": "line-height-100", "context": "Label" }
230
223
  ],
231
224
  "accessibility": {
232
225
  "intents": ["choose"],
233
226
  "focusable": true,
234
227
  "keyboardIntents": ["navigate-items", "activate"],
235
228
  "wcag": [
236
- {
237
- "criterion": "2.1.1",
238
- "level": "A",
239
- "title": "Keyboard"
240
- },
241
- {
242
- "criterion": "4.1.2",
243
- "level": "A",
244
- "title": "Name, Role, Value"
245
- }
229
+ { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
230
+ { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
246
231
  ]
247
232
  }
248
233
  }
@@ -4,68 +4,109 @@
4
4
  "specVersion": "1.0.0-draft",
5
5
  "name": "select-box",
6
6
  "displayName": "Select box",
7
+ "description": "Select boxes allow users to choose options in a workflow.",
7
8
  "meta": {
8
9
  "category": "inputs",
9
10
  "documentationUrl": "https://spectrum.adobe.com/page/select-box/"
10
11
  },
11
- "options": {
12
- "label": {
13
- "type": "string"
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "Select boxes allow users to choose options in a workflow."
14
16
  },
15
- "orientation": {
16
- "type": "string",
17
- "default": "vertical",
18
- "values": [
19
- {
20
- "value": "horizontal"
21
- },
22
- {
23
- "value": "vertical"
24
- }
25
- ]
26
- },
27
- "body": {
28
- "type": "string"
29
- },
30
- "isSelected": {
31
- "type": "boolean",
32
- "default": false
17
+ {
18
+ "type": "guideline",
19
+ "content": "Select boxes allow users to choose options in a workflow. Both single-select and multi-select versions use checkboxes to show selection. Multi-select boxes display unchecked checkboxes by default to signal that multiple choices are allowed. Single-select boxes only show an unchecked checkbox on hover. If showCheckbox is false, selection is only shown using the dark border."
33
20
  },
34
- "hideIllustration": {
35
- "type": "boolean",
36
- "default": false
21
+ {
22
+ "type": "guideline",
23
+ "content": "A select box in a disabled state shows that the items within the group exist, but are not available in that circumstance. This state can be used to maintain layout continuity and to communicate that an option may become available later. Individual boxes may be disabled or the entire group may be disabled."
37
24
  },
38
- "showCheckbox": {
39
- "type": "boolean",
40
- "default": false
25
+ {
26
+ "type": "guideline",
27
+ "content": "Illustrations are optional but recommended and included by default."
41
28
  },
42
- "isDisabled": {
43
- "type": "boolean",
44
- "default": false
29
+ {
30
+ "type": "guideline",
31
+ "content": "A label is required in select boxes. It acts as the title of the select box and explains its action or purpose.. Ideally, the label should be kept concise, even in the horizontal orientation."
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "Body is optional in select boxes. If no value is entered for the body, then it will not appear in the component. Body is usually reserved for the horizontal version of select boxes."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "A select box is vertical by default, which works best when metadata is limited to a short title, with or without an illustration. The horizontal orientation is recommended when the select box includes longer-form metadata."
40
+ },
41
+ {
42
+ "type": "guideline",
43
+ "content": "Minimum and maximum sizing ensures that the component remains clear, usable, and visually consistent, even in flexible or responsive layouts."
44
+ },
45
+ {
46
+ "type": "guideline",
47
+ "content": "All select boxes should be the same size as one another. Keep metadata concise, and make the size of the box large enough to accommodate longer text when translated to other languages."
48
+ },
49
+ {
50
+ "type": "guideline",
51
+ "content": "When the title of the select box is too long for the available horizontal space, it wraps to another line. Wrapped text should not affect the size of an individual select box. Each box in a group should have enough space to allow for longer, localized text to fit as necessary."
45
52
  },
46
- "multiple": {
47
- "type": "boolean",
48
- "default": false,
49
- "description": "Set to true to allow multiple selections."
50
- }
51
- },
52
- "states": [
53
53
  {
54
- "name": "down",
55
- "trigger": "interaction"
54
+ "type": "guideline",
55
+ "content": "Clicking a select box does not immediately move to the next step in the sequence. After making a selection, the user must initiate the next step by choosing a button or similar component outside the select box group."
56
56
  },
57
57
  {
58
- "name": "hover",
59
- "trigger": "interaction"
58
+ "type": "guideline",
59
+ "content": "A select box group can be navigated using a keyboard. The keyboard focus state takes the button’s visual hover state and adds a blue ring to the button in focus."
60
60
  },
61
61
  {
62
- "name": "keyboard-focus",
63
- "trigger": "interaction"
62
+ "type": "guideline",
63
+ "content": "Illustrations should be used when they help clarify the content. If the items are too complex to represent visually, it may be better to omit them. For consistency, if one select box includes an illustration, all select boxes in the group should include one."
64
+ },
65
+ {
66
+ "type": "guideline",
67
+ "content": "Select box groups work best with 3 to 9 items. If your experience needs more than 9 items, consider using a dropdown, checkboxes, or radio button group instead."
68
+ },
69
+ {
70
+ "type": "guideline",
71
+ "content": "Select boxes are used to choose an item from a group. If clicking an item is meant to immediately trigger an action, use an action group instead."
72
+ },
73
+ {
74
+ "type": "guideline",
75
+ "content": "All select boxes in a group should be the same size to maintain visual consistency and usability."
76
+ },
77
+ {
78
+ "type": "guideline",
79
+ "content": "Select boxes use a checkbox to indicate both single- and multi-selection. Don’t use radio buttons for single-selection."
80
+ },
81
+ {
82
+ "type": "guideline",
83
+ "content": "Some cases may make more sense for the user to select one or a few options in a group of select boxes, but if the use case doesn’t make sense to be checking a selection, showCheckbox can be false and the highlight style can be used instead. There is no visual differentiation between single- and multi-select behaviors when checkboxes are not present."
64
84
  }
65
85
  ],
66
- "lifecycle": {
67
- "introduced": "1.0.0-draft"
86
+ "options": {
87
+ "label": { "type": "string" },
88
+ "orientation": {
89
+ "type": "string",
90
+ "default": "vertical",
91
+ "values": [{ "value": "horizontal" }, { "value": "vertical" }]
92
+ },
93
+ "body": { "type": "string" },
94
+ "isSelected": { "type": "boolean", "default": false },
95
+ "hideIllustration": { "type": "boolean", "default": false },
96
+ "showCheckbox": { "type": "boolean", "default": false },
97
+ "isDisabled": { "type": "boolean", "default": false },
98
+ "multiple": {
99
+ "type": "boolean",
100
+ "default": false,
101
+ "description": "Set to true to allow multiple selections."
102
+ }
68
103
  },
104
+ "states": [
105
+ { "name": "down", "trigger": "interaction" },
106
+ { "name": "hover", "trigger": "interaction" },
107
+ { "name": "keyboard-focus", "trigger": "interaction" }
108
+ ],
109
+ "lifecycle": { "introduced": "1.0.0-draft" },
69
110
  "tokenBindings": [
70
111
  {
71
112
  "token": "select-box-vertical-height",
@@ -111,162 +152,61 @@
111
152
  "token": "select-box-horizontal-illustration-to-label",
112
153
  "context": "Spacing (illustration to label, horizontal)"
113
154
  },
114
- {
115
- "token": "border-width-200",
116
- "context": "Border (Selected)"
117
- },
118
- {
119
- "token": "component-size-difference-down",
120
- "context": "Down state"
121
- },
122
- {
123
- "token": "component-size-width-ratio-down",
124
- "context": "Down state"
125
- },
155
+ { "token": "border-width-200", "context": "Border (Selected)" },
156
+ { "token": "component-size-difference-down", "context": "Down state" },
157
+ { "token": "component-size-width-ratio-down", "context": "Down state" },
126
158
  {
127
159
  "token": "component-size-minimum-perspective-down",
128
160
  "context": "Down state"
129
161
  },
130
- {
131
- "token": "focus-indicator-thickness",
132
- "context": "Border (Selected)"
133
- },
134
- {
135
- "token": "corner-radius-700",
136
- "context": "Border radius"
137
- },
162
+ { "token": "focus-indicator-thickness", "context": "Border (Selected)" },
163
+ { "token": "corner-radius-700", "context": "Border radius" },
138
164
  {
139
165
  "token": "select-box-edge-to-checkbox",
140
166
  "context": "Spacing (top/side edge to checkbox)"
141
167
  },
142
- {
143
- "token": "default-font-family",
144
- "context": "Text (vertical)"
145
- },
146
- {
147
- "token": "regular-font-weight",
148
- "context": "Text (vertical)"
149
- },
150
- {
151
- "token": "default-font-style",
152
- "context": "Text (vertical)"
153
- },
154
- {
155
- "token": "font-size-100",
156
- "context": "Text (vertical)"
157
- },
158
- {
159
- "token": "line-height-100",
160
- "context": "Text (vertical)"
161
- },
162
- {
163
- "token": "cjk-line-height-100",
164
- "context": "Text (vertical)"
165
- },
166
- {
167
- "token": "bold-font-weight",
168
- "context": "Text (horizontal)"
169
- },
170
- {
171
- "token": "background-layer-2-color",
172
- "context": "Background"
173
- },
168
+ { "token": "default-font-family", "context": "Text (vertical)" },
169
+ { "token": "regular-font-weight", "context": "Text (vertical)" },
170
+ { "token": "default-font-style", "context": "Text (vertical)" },
171
+ { "token": "font-size-100", "context": "Text (vertical)" },
172
+ { "token": "line-height-100", "context": "Text (vertical)" },
173
+ { "token": "cjk-line-height-100", "context": "Text (vertical)" },
174
+ { "token": "bold-font-weight", "context": "Text (horizontal)" },
175
+ { "token": "background-layer-2-color", "context": "Background" },
174
176
  {
175
177
  "token": "neutral-content-color-default",
176
178
  "context": "Illustration color"
177
179
  },
178
- {
179
- "token": "neutral-content-color-hover",
180
- "context": "Illustration color"
181
- },
182
- {
183
- "token": "netural-content-color-focus",
184
- "context": "Illustration color"
185
- },
180
+ { "token": "neutral-content-color-hover", "context": "Illustration color" },
181
+ { "token": "netural-content-color-focus", "context": "Illustration color" },
186
182
  {
187
183
  "token": "select-box-selected-border-color",
188
184
  "context": "Border (selected)"
189
185
  },
190
- {
191
- "token": "gray-900",
192
- "context": "Border (selected)"
193
- },
194
- {
195
- "token": "focus-indicator-color",
196
- "context": "Border (focus)"
197
- },
198
- {
199
- "token": "disabled-content-color",
200
- "context": "Disabled"
201
- },
202
- {
203
- "token": "disabled-background-color",
204
- "context": "Disabled"
205
- },
206
- {
207
- "token": "drop-shadow-emphasized-default-x",
208
- "context": "Default"
209
- },
210
- {
211
- "token": "drop-shadow-emphasized-default-y",
212
- "context": "Default"
213
- },
214
- {
215
- "token": "drop-shadow-emphasized-default-blur",
216
- "context": "Default"
217
- },
218
- {
219
- "token": "drop-shadow-emphasized-default-color",
220
- "context": "Default"
221
- },
222
- {
223
- "token": "drop-shadow-emphasized-hover-x",
224
- "context": "Hover"
225
- },
226
- {
227
- "token": "drop-shadow-emphasized-hover-y",
228
- "context": "Hover"
229
- },
230
- {
231
- "token": "drop-shadow-emphasized-hover-blur",
232
- "context": "Hover"
233
- },
234
- {
235
- "token": "drop-shadow-emphasized-hover-color",
236
- "context": "Hover"
237
- },
238
- {
239
- "token": "drop-shadow-elevated-x",
240
- "context": "Focus"
241
- },
242
- {
243
- "token": "drop-shadow-elevated-y",
244
- "context": "Focus"
245
- },
246
- {
247
- "token": "drop-shadow-elevated-blur",
248
- "context": "Focus"
249
- },
250
- {
251
- "token": "drop-shadow-elevated-color",
252
- "context": "Focus"
253
- }
186
+ { "token": "gray-900", "context": "Border (selected)" },
187
+ { "token": "focus-indicator-color", "context": "Border (focus)" },
188
+ { "token": "disabled-content-color", "context": "Disabled" },
189
+ { "token": "disabled-background-color", "context": "Disabled" },
190
+ { "token": "drop-shadow-emphasized-default-x", "context": "Default" },
191
+ { "token": "drop-shadow-emphasized-default-y", "context": "Default" },
192
+ { "token": "drop-shadow-emphasized-default-blur", "context": "Default" },
193
+ { "token": "drop-shadow-emphasized-default-color", "context": "Default" },
194
+ { "token": "drop-shadow-emphasized-hover-x", "context": "Hover" },
195
+ { "token": "drop-shadow-emphasized-hover-y", "context": "Hover" },
196
+ { "token": "drop-shadow-emphasized-hover-blur", "context": "Hover" },
197
+ { "token": "drop-shadow-emphasized-hover-color", "context": "Hover" },
198
+ { "token": "drop-shadow-elevated-x", "context": "Focus" },
199
+ { "token": "drop-shadow-elevated-y", "context": "Focus" },
200
+ { "token": "drop-shadow-elevated-blur", "context": "Focus" },
201
+ { "token": "drop-shadow-elevated-color", "context": "Focus" }
254
202
  ],
255
203
  "accessibility": {
256
204
  "intents": ["select"],
257
205
  "focusable": true,
258
206
  "keyboardIntents": ["activate"],
259
207
  "wcag": [
260
- {
261
- "criterion": "2.1.1",
262
- "level": "A",
263
- "title": "Keyboard"
264
- },
265
- {
266
- "criterion": "4.1.2",
267
- "level": "A",
268
- "title": "Name, Role, Value"
269
- }
208
+ { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
209
+ { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
270
210
  ]
271
211
  }
272
212
  }