@adobe/spectrum-design-data 1.0.3 → 2.1.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.
- package/components/accordion.json +49 -295
- package/components/action-bar.json +16 -119
- package/components/action-button.json +69 -302
- package/components/action-group.json +74 -20
- package/components/alert-banner.json +27 -47
- package/components/alert-dialog.json +38 -40
- package/components/avatar-group.json +28 -54
- package/components/avatar.json +92 -59
- package/components/badge.json +121 -370
- package/components/breadcrumbs.json +53 -159
- package/components/button-group.json +40 -13
- package/components/button.json +88 -231
- package/components/cards.json +33 -262
- package/components/checkbox-group.json +58 -13
- package/components/checkbox.json +53 -156
- package/components/close-button.json +47 -76
- package/components/coach-indicator.json +44 -31
- package/components/coach-mark.json +19 -43
- package/components/color-area.json +64 -26
- package/components/color-handle.json +35 -27
- package/components/color-loupe.json +6 -17
- package/components/color-slider.json +80 -35
- package/components/color-wheel.json +51 -25
- package/components/combo-box.json +96 -242
- package/components/contextual-help.json +106 -59
- package/components/date-picker.json +59 -171
- package/components/divider.json +25 -17
- package/components/drop-zone.json +28 -105
- package/components/field-label.json +45 -103
- package/components/help-text.json +29 -97
- package/components/illustrated-message.json +25 -74
- package/components/in-field-progress-circle.json +0 -54
- package/components/in-line-alert.json +39 -130
- package/components/link.json +40 -58
- package/components/list-view.json +31 -176
- package/components/menu.json +105 -339
- package/components/meter.json +52 -78
- package/components/number-field.json +72 -239
- package/components/opacity-checkerboard.json +0 -18
- package/components/picker.json +95 -275
- package/components/popover.json +88 -45
- package/components/progress-bar.json +63 -78
- package/components/progress-circle.json +36 -33
- package/components/radio-button.json +36 -145
- package/components/radio-group.json +74 -18
- package/components/rating.json +33 -48
- package/components/search-field.json +64 -133
- package/components/segmented-control.json +37 -86
- package/components/select-box.json +52 -100
- package/components/side-navigation.json +32 -164
- package/components/slider.json +90 -182
- package/components/standard-dialog.json +37 -43
- package/components/status-light.json +92 -134
- package/components/steplist.json +23 -113
- package/components/swatch-group.json +50 -22
- package/components/swatch.json +62 -70
- package/components/switch.json +51 -143
- package/components/table.json +53 -216
- package/components/tabs.json +29 -84
- package/components/tag-field.json +53 -85
- package/components/tag-group.json +36 -18
- package/components/tag.json +43 -206
- package/components/takeover-dialog.json +30 -20
- package/components/text-area.json +114 -247
- package/components/text-field.json +90 -261
- package/components/thumbnail.json +46 -44
- package/components/title.json +0 -18
- package/components/toast.json +27 -61
- package/components/tooltip.json +36 -52
- package/components/tree-view.json +86 -197
- package/package.json +2 -2
- package/tokens/color-aliases.tokens.json +9 -7
- package/tokens/color-component.tokens.json +1 -1202
- package/tokens/color-palette.tokens.json +0 -33
- package/tokens/icons.tokens.json +3 -1
- package/tokens/layout-component.tokens.json +1044 -22359
- package/tokens/layout.tokens.json +1287 -1292
- package/tokens/semantic-color-palette.tokens.json +12 -4
- package/tokens/typography.tokens.json +559 -3212
|
@@ -85,60 +85,105 @@
|
|
|
85
85
|
"default": "hue",
|
|
86
86
|
"description": "Which channel of the color this slider controls. Use 'alpha' for opacity.",
|
|
87
87
|
"values": [
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
{
|
|
88
|
+
{
|
|
89
|
+
"value": "hue"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "saturation"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "lightness"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"value": "red"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"value": "green"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "blue"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "alpha"
|
|
108
|
+
}
|
|
95
109
|
]
|
|
96
110
|
},
|
|
97
111
|
"value": {
|
|
98
112
|
"type": "number",
|
|
99
113
|
"description": "Number (from minValue to maxValue)."
|
|
100
114
|
},
|
|
101
|
-
"minValue": {
|
|
102
|
-
|
|
103
|
-
|
|
115
|
+
"minValue": {
|
|
116
|
+
"type": "number",
|
|
117
|
+
"default": 0
|
|
118
|
+
},
|
|
119
|
+
"maxValue": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"default": 100
|
|
122
|
+
},
|
|
123
|
+
"step": {
|
|
124
|
+
"type": "number",
|
|
125
|
+
"default": 1
|
|
126
|
+
},
|
|
104
127
|
"orientation": {
|
|
105
128
|
"type": "string",
|
|
106
129
|
"default": "horizontal",
|
|
107
|
-
"values": [
|
|
130
|
+
"values": [
|
|
131
|
+
{
|
|
132
|
+
"value": "horizontal"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"value": "vertical"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"length": {
|
|
140
|
+
"type": "number",
|
|
141
|
+
"default": 192,
|
|
142
|
+
"description": "units: px"
|
|
108
143
|
},
|
|
109
|
-
"
|
|
110
|
-
|
|
144
|
+
"isDisabled": {
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"default": false
|
|
147
|
+
}
|
|
111
148
|
},
|
|
112
149
|
"states": [
|
|
113
|
-
{
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"token": "component-top-to-text-75",
|
|
126
|
-
"context": "Spacing (field label value to track)"
|
|
127
|
-
},
|
|
128
|
-
{ "token": "color-slider-border-color", "context": "Border" },
|
|
129
|
-
{ "token": "color-slider-border-opacity", "context": "Border" },
|
|
130
|
-
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
131
|
-
{ "token": "disabled-background-color", "context": "Disabled" }
|
|
150
|
+
{
|
|
151
|
+
"name": "hover",
|
|
152
|
+
"trigger": "interaction"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "down",
|
|
156
|
+
"trigger": "interaction"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "keyboard-focus",
|
|
160
|
+
"trigger": "interaction"
|
|
161
|
+
}
|
|
132
162
|
],
|
|
163
|
+
"lifecycle": {
|
|
164
|
+
"introduced": "1.0.0-draft"
|
|
165
|
+
},
|
|
133
166
|
"accessibility": {
|
|
134
167
|
"role": "slider",
|
|
135
168
|
"intents": ["choose"],
|
|
136
169
|
"focusable": true,
|
|
137
170
|
"keyboardIntents": ["increment", "decrement"],
|
|
138
171
|
"wcag": [
|
|
139
|
-
{
|
|
140
|
-
|
|
141
|
-
|
|
172
|
+
{
|
|
173
|
+
"criterion": "1.3.1",
|
|
174
|
+
"level": "A",
|
|
175
|
+
"title": "Info and Relationships"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"criterion": "2.1.1",
|
|
179
|
+
"level": "A",
|
|
180
|
+
"title": "Keyboard"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"criterion": "4.1.2",
|
|
184
|
+
"level": "A",
|
|
185
|
+
"title": "Name, Role, Value"
|
|
186
|
+
}
|
|
142
187
|
]
|
|
143
188
|
}
|
|
144
189
|
}
|
|
@@ -72,40 +72,66 @@
|
|
|
72
72
|
"type": "number",
|
|
73
73
|
"description": "Number (from minValue to maxValue)"
|
|
74
74
|
},
|
|
75
|
-
"minValue": {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
75
|
+
"minValue": {
|
|
76
|
+
"type": "number",
|
|
77
|
+
"default": 0
|
|
78
|
+
},
|
|
79
|
+
"maxValue": {
|
|
80
|
+
"type": "number",
|
|
81
|
+
"default": 360
|
|
82
|
+
},
|
|
83
|
+
"step": {
|
|
84
|
+
"type": "number",
|
|
85
|
+
"default": 1
|
|
86
|
+
},
|
|
87
|
+
"size": {
|
|
88
|
+
"type": "number",
|
|
89
|
+
"default": 192,
|
|
90
|
+
"description": "units: px"
|
|
91
|
+
},
|
|
92
|
+
"isDisabled": {
|
|
93
|
+
"type": "boolean",
|
|
94
|
+
"default": false
|
|
95
|
+
}
|
|
80
96
|
},
|
|
81
97
|
"states": [
|
|
82
|
-
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"context": "Margin to color area"
|
|
95
|
-
},
|
|
96
|
-
{ "token": "color-wheel-border-color", "context": "Border" },
|
|
97
|
-
{ "token": "color-wheel-border-opacity", "context": "Border" },
|
|
98
|
-
{ "token": "disabled-background-color", "context": "Disabled" }
|
|
98
|
+
{
|
|
99
|
+
"name": "hover",
|
|
100
|
+
"trigger": "interaction"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "down",
|
|
104
|
+
"trigger": "interaction"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "keyboard-focus",
|
|
108
|
+
"trigger": "interaction"
|
|
109
|
+
}
|
|
99
110
|
],
|
|
111
|
+
"lifecycle": {
|
|
112
|
+
"introduced": "1.0.0-draft"
|
|
113
|
+
},
|
|
100
114
|
"accessibility": {
|
|
101
115
|
"role": "slider",
|
|
102
116
|
"intents": ["choose"],
|
|
103
117
|
"focusable": true,
|
|
104
118
|
"keyboardIntents": ["increment", "decrement"],
|
|
105
119
|
"wcag": [
|
|
106
|
-
{
|
|
107
|
-
|
|
108
|
-
|
|
120
|
+
{
|
|
121
|
+
"criterion": "1.3.1",
|
|
122
|
+
"level": "A",
|
|
123
|
+
"title": "Info and Relationships"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"criterion": "2.1.1",
|
|
127
|
+
"level": "A",
|
|
128
|
+
"title": "Keyboard"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"criterion": "4.1.2",
|
|
132
|
+
"level": "A",
|
|
133
|
+
"title": "Name, Role, Value"
|
|
134
|
+
}
|
|
109
135
|
]
|
|
110
136
|
}
|
|
111
137
|
}
|
|
@@ -168,49 +168,101 @@
|
|
|
168
168
|
}
|
|
169
169
|
],
|
|
170
170
|
"options": {
|
|
171
|
-
"label": {
|
|
171
|
+
"label": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
172
174
|
"labelPosition": {
|
|
173
175
|
"type": "string",
|
|
174
176
|
"default": "top",
|
|
175
177
|
"values": [
|
|
176
|
-
{
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
{
|
|
179
|
+
"value": "top"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"value": "side"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"value": "in line"
|
|
186
|
+
}
|
|
179
187
|
]
|
|
180
188
|
},
|
|
181
|
-
"value": {
|
|
182
|
-
|
|
189
|
+
"value": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"width": {
|
|
193
|
+
"type": "number"
|
|
194
|
+
},
|
|
183
195
|
"size": {
|
|
184
196
|
"type": "string",
|
|
185
197
|
"default": "m",
|
|
186
198
|
"values": [
|
|
187
|
-
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
{
|
|
199
|
+
{
|
|
200
|
+
"value": "s"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"value": "m"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"value": "l"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"value": "xl"
|
|
210
|
+
}
|
|
191
211
|
]
|
|
192
212
|
},
|
|
193
|
-
"isRequired": {
|
|
213
|
+
"isRequired": {
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"default": false
|
|
216
|
+
},
|
|
194
217
|
"necessityIndicator": {
|
|
195
218
|
"type": "string",
|
|
196
219
|
"default": "icon",
|
|
197
|
-
"values": [
|
|
220
|
+
"values": [
|
|
221
|
+
{
|
|
222
|
+
"value": "text"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"value": "icon"
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"hasAutocomplete": {
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"default": false
|
|
198
232
|
},
|
|
199
|
-
"hasAutocomplete": { "type": "boolean", "default": false },
|
|
200
233
|
"menuTrigger": {
|
|
201
234
|
"type": "string",
|
|
202
235
|
"default": "input",
|
|
203
236
|
"values": [
|
|
204
|
-
{
|
|
205
|
-
|
|
206
|
-
|
|
237
|
+
{
|
|
238
|
+
"value": "input"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"value": "focus"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"value": "manual"
|
|
245
|
+
}
|
|
207
246
|
]
|
|
208
247
|
},
|
|
209
|
-
"isError": {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"
|
|
248
|
+
"isError": {
|
|
249
|
+
"type": "boolean",
|
|
250
|
+
"default": false
|
|
251
|
+
},
|
|
252
|
+
"isDisabled": {
|
|
253
|
+
"type": "boolean",
|
|
254
|
+
"default": false
|
|
255
|
+
},
|
|
256
|
+
"isReadOnly": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"default": false
|
|
259
|
+
},
|
|
260
|
+
"description": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"errorMessage": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
}
|
|
214
266
|
},
|
|
215
267
|
"states": [
|
|
216
268
|
{
|
|
@@ -233,229 +285,19 @@
|
|
|
233
285
|
"trigger": "prop",
|
|
234
286
|
"description": "Focus without hover, when the field is focused but the pointer is not over it."
|
|
235
287
|
},
|
|
236
|
-
{
|
|
288
|
+
{
|
|
289
|
+
"name": "keyboard-focus",
|
|
290
|
+
"trigger": "interaction"
|
|
291
|
+
}
|
|
237
292
|
],
|
|
238
|
-
"lifecycle": {
|
|
293
|
+
"lifecycle": {
|
|
294
|
+
"introduced": "1.0.0-draft"
|
|
295
|
+
},
|
|
239
296
|
"tokenBindings": [
|
|
240
|
-
{
|
|
241
|
-
"token": "combo-box-visual-to-field-button-quiet",
|
|
242
|
-
"context": "S1 Spacing (alert icon/progress circle to field button)"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"token": "component-top-to-text-300",
|
|
246
|
-
"context": "S2 Leading icon (top/bottom edge to leading icon) position: inline"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"token": "component-top-to-workflow-icon-300",
|
|
250
|
-
"context": "S2 Leading icon (top/bottom edge to leading icon) position: inline"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"token": "component-padding-vertical-200",
|
|
254
|
-
"context": "S2 Spacing (top/bottom edge to text: inline)"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"token": "component-padding-vertical-300",
|
|
258
|
-
"context": "S2 Spacing (top/bottom edge to text: inline)"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"token": "component-top-to-text-50",
|
|
262
|
-
"context": "S2 Spacing (top/bottom edge to text: inline)"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"token": "component-top-to-text-100",
|
|
266
|
-
"context": "S2 Spacing (top/bottom edge to text: inline)"
|
|
267
|
-
},
|
|
268
|
-
{ "token": "field-default-width-small", "context": "Width (default)" },
|
|
269
|
-
{ "token": "field-default-width-medium", "context": "Width (default)" },
|
|
270
|
-
{ "token": "field-default-width-large", "context": "Width (default)" },
|
|
271
|
-
{
|
|
272
|
-
"token": "field-default-width-extra-large",
|
|
273
|
-
"context": "Width (default)"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"token": "combo-box-minimum-width-multiplier",
|
|
277
|
-
"context": "Width (minimum)"
|
|
278
|
-
},
|
|
279
|
-
{ "token": "component-height-75", "context": "Height" },
|
|
280
|
-
{ "token": "component-height-100", "context": "Height" },
|
|
281
|
-
{ "token": "component-height-200", "context": "Height" },
|
|
282
|
-
{ "token": "component-height-300", "context": "Height" },
|
|
283
|
-
{ "token": "corner-radius-medium-size-small", "context": "Rounding" },
|
|
284
|
-
{ "token": "corner-radius-medium-size-medium", "context": "Rounding" },
|
|
285
|
-
{ "token": "corner-radius-medium-size-large", "context": "Rounding" },
|
|
286
|
-
{ "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
|
|
287
|
-
{
|
|
288
|
-
"token": "component-edge-to-text-75",
|
|
289
|
-
"context": "Spacing (start/end edge to value)"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"token": "component-edge-to-text-100",
|
|
293
|
-
"context": "Spacing (start/end edge to value)"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"token": "component-edge-to-text-200",
|
|
297
|
-
"context": "Spacing (start/end edge to value)"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"token": "component-edge-to-text-300",
|
|
301
|
-
"context": "Spacing (start/end edge to value)"
|
|
302
|
-
},
|
|
303
|
-
{ "token": "workflow-icon-size-75", "context": "Prefix min-width" },
|
|
304
|
-
{ "token": "workflow-icon-size-100", "context": "Prefix min-width" },
|
|
305
|
-
{ "token": "workflow-icon-size-200", "context": "Prefix min-width" },
|
|
306
|
-
{ "token": "workflow-icon-size-300", "context": "Prefix min-width" },
|
|
307
|
-
{
|
|
308
|
-
"token": "text-to-visual-75",
|
|
309
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"token": "text-to-visual-100",
|
|
313
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"token": "text-to-visual-200",
|
|
317
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"token": "text-to-visual-300",
|
|
321
|
-
"context": "Spacing (prefix to value/placeholder)"
|
|
322
|
-
},
|
|
323
|
-
{ "token": "border-width-200", "context": "Border" },
|
|
324
|
-
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
325
|
-
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
326
|
-
{
|
|
327
|
-
"token": "combo-box-visual-to-field-button",
|
|
328
|
-
"context": "Spacing (alert icon/in-field progress circle to field button)"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"token": "component-top-to-workflow-icon-75",
|
|
332
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"token": "component-top-to-workflow-icon-100",
|
|
336
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"token": "component-top-to-workflow-icon-200",
|
|
340
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"token": "component-top-to-workflow-icon-300",
|
|
344
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"token": "field-edge-to-alert-icon-small",
|
|
348
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"token": "field-edge-to-alert-icon-medium",
|
|
352
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"token": "field-edge-to-alert-icon-large",
|
|
356
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"token": "field-edge-to-alert-icon-extra-large",
|
|
360
|
-
"context": "Leading icon (leading icon to end edge)"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"token": "field-label-to-component",
|
|
364
|
-
"context": "Spacing (field label to combo box)"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"token": "component-to-menu-small",
|
|
368
|
-
"context": "Spacing (component to menu)"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"token": "component-to-menu-medium",
|
|
372
|
-
"context": "Spacing (component to menu)"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"token": "component-to-menu-large",
|
|
376
|
-
"context": "Spacing (component to menu)"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"token": "component-to-menu-extra-large",
|
|
380
|
-
"context": "Spacing (component to menu)"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"token": "help-text-to-component",
|
|
384
|
-
"context": "Spacing (combo box to help text)"
|
|
385
|
-
},
|
|
386
297
|
{
|
|
387
298
|
"token": "in-field-progress-circle",
|
|
388
299
|
"context": "In-field progress circle"
|
|
389
|
-
}
|
|
390
|
-
{
|
|
391
|
-
"token": "field-top-to-progress-circle-small",
|
|
392
|
-
"context": "Spacing (top/bottom edge to in-field progress circle icon)"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"token": "field-top-to-progress-circle-medium",
|
|
396
|
-
"context": "Spacing (top/bottom edge to in-field progress circle icon)"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"token": "field-top-to-progress-circle-large",
|
|
400
|
-
"context": "Spacing (top/bottom edge to in-field progress circle icon)"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"token": "field-top-to-progress-circle-extra-large",
|
|
404
|
-
"context": "Spacing (top/bottom edge to in-field progress circle icon)"
|
|
405
|
-
},
|
|
406
|
-
{ "token": "gray-25", "context": "Background and border" },
|
|
407
|
-
{ "token": "gray-300", "context": "Background and border" },
|
|
408
|
-
{ "token": "gray-400", "context": "Background and border" },
|
|
409
|
-
{ "token": "gray-900", "context": "Background and border" },
|
|
410
|
-
{ "token": "gray-800", "context": "Background and border" },
|
|
411
|
-
{
|
|
412
|
-
"token": "neutral-subdued-content-color-default",
|
|
413
|
-
"context": "Background and border"
|
|
414
|
-
},
|
|
415
|
-
{ "token": "negative-border-color-default", "context": "Border (error)" },
|
|
416
|
-
{ "token": "negative-border-color-hover", "context": "Border (error)" },
|
|
417
|
-
{
|
|
418
|
-
"token": "negative-border-color-focus-hover",
|
|
419
|
-
"context": "Border (error)"
|
|
420
|
-
},
|
|
421
|
-
{ "token": "negative-border-color-focus", "context": "Border (error)" },
|
|
422
|
-
{ "token": "negative-border-color-key-focus", "context": "Border (error)" },
|
|
423
|
-
{ "token": "neutral-content-color-default", "context": "Value" },
|
|
424
|
-
{ "token": "neutral-content-color-hover", "context": "Value" },
|
|
425
|
-
{ "token": "neutral-content-color-focus-hover", "context": "Value" },
|
|
426
|
-
{ "token": "neutral-content-color-focus", "context": "Value" },
|
|
427
|
-
{ "token": "neutral-content-color-key-focus", "context": "Value" },
|
|
428
|
-
{ "token": "negative-visual-color", "context": "Alert icon" },
|
|
429
|
-
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
430
|
-
{ "token": "disabled-border-color", "context": "Disabled" },
|
|
431
|
-
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
432
|
-
{ "token": "focus-indicator-color", "context": "Focus ring" },
|
|
433
|
-
{ "token": "default-font-family", "context": "Value" },
|
|
434
|
-
{ "token": "regular-font-weight", "context": "Value" },
|
|
435
|
-
{ "token": "default-font-style", "context": "Value" },
|
|
436
|
-
{ "token": "component-s-regular", "context": "Value" },
|
|
437
|
-
{ "token": "component-m-regular", "context": "Value" },
|
|
438
|
-
{ "token": "component-l-regular", "context": "Value" },
|
|
439
|
-
{ "token": "component-xl-regular", "context": "Value" },
|
|
440
|
-
{ "token": "line-height-font-size-75", "context": "Value" },
|
|
441
|
-
{ "token": "line-height-font-size-100", "context": "Value" },
|
|
442
|
-
{ "token": "line-height-font-size-200", "context": "Value" },
|
|
443
|
-
{ "token": "line-height-font-size-300", "context": "Value" },
|
|
444
|
-
{ "token": "cjk-line-height-100", "context": "Value" },
|
|
445
|
-
{ "token": "medium-font-weight", "context": "Prefix" },
|
|
446
|
-
{ "token": "component-s-medium", "context": "Prefix" },
|
|
447
|
-
{ "token": "component-m-medium", "context": "Prefix" },
|
|
448
|
-
{ "token": "component-l-medium", "context": "Prefix" },
|
|
449
|
-
{ "token": "component-xl-medium", "context": "Prefix" },
|
|
450
|
-
{
|
|
451
|
-
"token": "field-label-top-to-asterisk-large",
|
|
452
|
-
"context": "Spacing (top/bottom edge to required)"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"token": "field-label-top-to-asterisk-extra-large",
|
|
456
|
-
"context": "Spacing (top/bottom edge to required)"
|
|
457
|
-
},
|
|
458
|
-
{ "token": "gray-600", "context": "Label (populated true/false)" }
|
|
300
|
+
}
|
|
459
301
|
],
|
|
460
302
|
"accessibility": {
|
|
461
303
|
"role": "combobox",
|
|
@@ -463,9 +305,21 @@
|
|
|
463
305
|
"focusable": true,
|
|
464
306
|
"keyboardIntents": ["expand", "collapse", "navigate-options"],
|
|
465
307
|
"wcag": [
|
|
466
|
-
{
|
|
467
|
-
|
|
468
|
-
|
|
308
|
+
{
|
|
309
|
+
"criterion": "1.3.1",
|
|
310
|
+
"level": "A",
|
|
311
|
+
"title": "Info and Relationships"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"criterion": "2.1.1",
|
|
315
|
+
"level": "A",
|
|
316
|
+
"title": "Keyboard"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"criterion": "4.1.2",
|
|
320
|
+
"level": "A",
|
|
321
|
+
"title": "Name, Role, Value"
|
|
322
|
+
}
|
|
469
323
|
]
|
|
470
324
|
}
|
|
471
325
|
}
|