@adobe/spectrum-design-data 0.4.0 → 0.7.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 +108 -194
- package/components/action-bar.json +64 -97
- package/components/action-button.json +95 -230
- package/components/action-group.json +88 -86
- package/components/alert-banner.json +104 -76
- package/components/alert-dialog.json +78 -126
- package/components/avatar-group.json +61 -119
- package/components/avatar.json +98 -212
- package/components/badge.json +138 -256
- package/components/breadcrumbs.json +95 -89
- package/components/button-group.json +57 -48
- package/components/button.json +151 -368
- package/components/calendar.json +97 -34
- package/components/cards.json +109 -250
- package/components/checkbox-group.json +50 -58
- package/components/checkbox.json +121 -186
- package/components/close-button.json +61 -124
- package/components/coach-indicator.json +63 -72
- package/components/coach-mark.json +89 -93
- package/components/color-area.json +68 -94
- package/components/color-handle.json +39 -79
- package/components/color-loupe.json +35 -52
- package/components/color-slider.json +95 -116
- package/components/color-wheel.json +67 -73
- package/components/combo-box.json +243 -331
- package/components/contextual-help.json +86 -175
- package/components/date-picker.json +139 -179
- package/components/divider.json +30 -69
- package/components/drop-zone.json +51 -92
- package/components/field-label.json +75 -117
- package/components/help-text.json +81 -105
- package/components/illustrated-message.json +106 -73
- package/components/in-line-alert.json +50 -83
- package/components/link.json +63 -85
- package/components/list-view.json +107 -146
- package/components/menu.json +180 -274
- package/components/meter.json +72 -118
- package/components/number-field.json +213 -305
- package/components/picker.json +208 -320
- package/components/popover.json +94 -129
- package/components/progress-bar.json +94 -131
- package/components/progress-circle.json +45 -72
- package/components/radio-button.json +87 -156
- package/components/radio-group.json +107 -74
- package/components/rating.json +66 -99
- package/components/search-field.json +132 -202
- package/components/segmented-control.json +94 -109
- package/components/select-box.json +119 -179
- package/components/side-navigation.json +108 -118
- package/components/slider.json +143 -228
- package/components/standard-dialog.json +96 -114
- package/components/standard-panel.json +105 -53
- package/components/status-light.json +104 -240
- package/components/steplist.json +77 -161
- package/components/swatch-group.json +42 -58
- package/components/swatch.json +75 -162
- package/components/switch.json +101 -189
- package/components/table.json +97 -102
- package/components/tabs.json +77 -104
- package/components/tag-field.json +86 -150
- package/components/tag-group.json +50 -44
- package/components/tag.json +81 -198
- package/components/takeover-dialog.json +59 -57
- package/components/text-area.json +200 -323
- package/components/text-field.json +183 -304
- package/components/thumbnail.json +63 -105
- package/components/toast.json +97 -83
- package/components/tooltip.json +104 -96
- package/components/tree-view.json +169 -181
- package/guidelines/app-frame-content-area.json +81 -0
- package/guidelines/app-frame-creating-bluelines.json +58 -0
- package/guidelines/app-frame-header.json +72 -0
- package/guidelines/app-frame-overview.json +167 -0
- package/guidelines/app-frame-side-navigation.json +138 -0
- package/guidelines/attention-hierarchy.json +42 -0
- package/guidelines/background-layers.json +38 -0
- package/guidelines/brand.json +50 -0
- package/guidelines/colors.json +62 -0
- package/guidelines/containers.json +62 -0
- package/guidelines/developer-overview.json +35 -0
- package/guidelines/faqs.json +35 -0
- package/guidelines/fonts.json +58 -0
- package/guidelines/grays.json +66 -0
- package/guidelines/icon-fundamentals.json +45 -0
- package/guidelines/illustrations.json +111 -0
- package/guidelines/introduction.json +31 -0
- package/guidelines/manifest.json +204 -0
- package/guidelines/motion.json +41 -0
- package/guidelines/object-styles.json +102 -0
- package/guidelines/principles.json +30 -0
- package/guidelines/resources.json +59 -0
- package/guidelines/spacing.json +25 -0
- package/guidelines/states.json +34 -0
- package/guidelines/typography-fundamentals.json +142 -0
- package/guidelines/using-icons.json +107 -0
- package/package.json +4 -2
|
@@ -9,140 +9,96 @@
|
|
|
9
9
|
"category": "status",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/status-light/"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"type": "
|
|
15
|
-
|
|
16
|
-
"variant": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"default": "informative",
|
|
19
|
-
"values": [
|
|
20
|
-
{
|
|
21
|
-
"value": "informative"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "neutral"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"value": "positive"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"value": "notice"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"value": "negative"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"value": "indigo"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"value": "celery"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"value": "chartreuse"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"value": "yellow"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "magenta"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"value": "fuchsia"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"value": "purple"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"value": "seafoam"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"value": "pink"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"value": "turquoise"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"value": "cinnamon"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"value": "brown"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"value": "silver"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"value": "gray"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"value": "red"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"value": "orange"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"value": "green"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"value": "cyan"
|
|
88
|
-
}
|
|
89
|
-
]
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Status lights describe the condition of an entity. They can be used to convey semantic meaning, such as statuses and categories."
|
|
90
16
|
},
|
|
91
|
-
"size": {
|
|
92
|
-
"type": "string",
|
|
93
|
-
"default": "m",
|
|
94
|
-
"values": [
|
|
95
|
-
{
|
|
96
|
-
"value": "s"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"value": "m"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"value": "l"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"value": "xl"
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"lifecycle": {
|
|
111
|
-
"introduced": "1.0.0-draft"
|
|
112
|
-
},
|
|
113
|
-
"tokenBindings": [
|
|
114
17
|
{
|
|
115
|
-
"
|
|
116
|
-
"
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Status lights indicate the state or condition of an item. They convey semantic meaning such as statuses and categories."
|
|
117
20
|
},
|
|
118
21
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "Status lights should always include a label. Color alone is not enough to communicate the status."
|
|
121
24
|
},
|
|
122
25
|
{
|
|
123
|
-
"
|
|
124
|
-
"
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "When status lights have a semantic meaning, they use semantic colors. Use these variants for the following statuses:"
|
|
125
28
|
},
|
|
126
29
|
{
|
|
127
|
-
"
|
|
128
|
-
"
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "When status lights are used to color code categories and labels that are commonly found in data visualization, they use non-semantic label colors. The ideal usage for these is when there are 8 or fewer categories or labels being color coded."
|
|
129
32
|
},
|
|
130
33
|
{
|
|
131
|
-
"
|
|
132
|
-
"
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "Status lights come in four different sizes: small, medium, large, and extra-large. The medium size is the default and most frequently used option. Use the other sizes sparingly; they should be used to create a hierarchy of importance within the page."
|
|
133
36
|
},
|
|
134
37
|
{
|
|
135
|
-
"
|
|
136
|
-
"
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "When the text is too long for the horizontal space available, it wraps to form another line."
|
|
137
40
|
},
|
|
138
41
|
{
|
|
139
|
-
"
|
|
140
|
-
"
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "Semantic status lights should never be used for color coding categories or labels, and vice versa."
|
|
141
44
|
},
|
|
142
45
|
{
|
|
143
|
-
"
|
|
144
|
-
"
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "A status light should always include a label with text that clearly communicates about the kind of status being shown. Do not change the text color to match the dot."
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"options": {
|
|
51
|
+
"label": { "type": "string" },
|
|
52
|
+
"variant": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"default": "informative",
|
|
55
|
+
"values": [
|
|
56
|
+
{ "value": "informative" },
|
|
57
|
+
{ "value": "neutral" },
|
|
58
|
+
{ "value": "positive" },
|
|
59
|
+
{ "value": "notice" },
|
|
60
|
+
{ "value": "negative" },
|
|
61
|
+
{ "value": "indigo" },
|
|
62
|
+
{ "value": "celery" },
|
|
63
|
+
{ "value": "chartreuse" },
|
|
64
|
+
{ "value": "yellow" },
|
|
65
|
+
{ "value": "magenta" },
|
|
66
|
+
{ "value": "fuchsia" },
|
|
67
|
+
{ "value": "purple" },
|
|
68
|
+
{ "value": "seafoam" },
|
|
69
|
+
{ "value": "pink" },
|
|
70
|
+
{ "value": "turquoise" },
|
|
71
|
+
{ "value": "cinnamon" },
|
|
72
|
+
{ "value": "brown" },
|
|
73
|
+
{ "value": "silver" },
|
|
74
|
+
{ "value": "gray" },
|
|
75
|
+
{ "value": "red" },
|
|
76
|
+
{ "value": "orange" },
|
|
77
|
+
{ "value": "green" },
|
|
78
|
+
{ "value": "cyan" }
|
|
79
|
+
]
|
|
145
80
|
},
|
|
81
|
+
"size": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"default": "m",
|
|
84
|
+
"values": [
|
|
85
|
+
{ "value": "s" },
|
|
86
|
+
{ "value": "m" },
|
|
87
|
+
{ "value": "l" },
|
|
88
|
+
{ "value": "xl" }
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
93
|
+
"tokenBindings": [
|
|
94
|
+
{ "token": "component-height-75", "context": "Height" },
|
|
95
|
+
{ "token": "component-height-100", "context": "Height" },
|
|
96
|
+
{ "token": "component-height-200", "context": "Height" },
|
|
97
|
+
{ "token": "component-height-300", "context": "Height" },
|
|
98
|
+
{ "token": "status-light-dot-size-small", "context": "Dot size" },
|
|
99
|
+
{ "token": "status-light-dot-size-medium", "context": "Dot size" },
|
|
100
|
+
{ "token": "status-light-dot-size-large", "context": "Dot size" },
|
|
101
|
+
{ "token": "status-light-dot-extra-large", "context": "Dot size" },
|
|
146
102
|
{
|
|
147
103
|
"token": "status-light-text-to-visual-75",
|
|
148
104
|
"context": "Spacing (dot to label) "
|
|
@@ -207,128 +163,36 @@
|
|
|
207
163
|
"token": "component-bottom-to-text-300",
|
|
208
164
|
"context": "Spacing (top/bottom edge to label)"
|
|
209
165
|
},
|
|
210
|
-
{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
|
|
240
|
-
"context": "Label"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"token": "cjk-line-height-100",
|
|
244
|
-
"context": "Label"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"token": "informative-visual-color",
|
|
248
|
-
"context": "Semantic (Dot) "
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"token": "neutral-visual-color",
|
|
252
|
-
"context": "Semantic (Dot) "
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"token": "positive-visual-color",
|
|
256
|
-
"context": "Semantic (Dot) "
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"token": "notice-visual-color",
|
|
260
|
-
"context": "Semantic (Dot) "
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"token": "negative-visual-color",
|
|
264
|
-
"context": "Semantic (Dot) "
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"token": "celery-visual-color",
|
|
268
|
-
"context": "Non-semantic (Dot) "
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"token": "chartreuse-visual-color",
|
|
272
|
-
"context": "Non-semantic (Dot) "
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"token": "cyan-visual-color",
|
|
276
|
-
"context": "Non-semantic (Dot) "
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"token": "fuchsia-visual-color",
|
|
280
|
-
"context": "Non-semantic (Dot) "
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"token": "purple-visual-color",
|
|
284
|
-
"context": "Non-semantic (Dot) "
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"token": "magenta-visual-color",
|
|
288
|
-
"context": "Non-semantic (Dot) "
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"token": "indigo-visual-color",
|
|
292
|
-
"context": "Non-semantic (Dot) "
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"token": "seafoam-visual-color",
|
|
296
|
-
"context": "Non-semantic (Dot) "
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"token": "yellow-visual-color",
|
|
300
|
-
"context": "Non-semantic (Dot) "
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"token": "pink-visual-color",
|
|
304
|
-
"context": "Non-semantic (Dot) "
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"token": "turquoise-visual-color",
|
|
308
|
-
"context": "Non-semantic (Dot) "
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"token": "cinnamon-visual-color",
|
|
312
|
-
"context": "Non-semantic (Dot) "
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"token": "brown-visual-color",
|
|
316
|
-
"context": "Non-semantic (Dot) "
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"token": "silver-visual-color",
|
|
320
|
-
"context": "Non-semantic (Dot) "
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"token": "gray-600",
|
|
324
|
-
"context": "Label"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"token": "neutral-content-color-default",
|
|
328
|
-
"context": "Label"
|
|
329
|
-
}
|
|
166
|
+
{ "token": "default-font-family", "context": "Label" },
|
|
167
|
+
{ "token": "regular-font-weight", "context": "Label" },
|
|
168
|
+
{ "token": "default-font-style", "context": "Label" },
|
|
169
|
+
{ "token": "font-size-75", "context": "Label" },
|
|
170
|
+
{ "token": "font-size-100", "context": "Label" },
|
|
171
|
+
{ "token": "font-size-200", "context": "Label" },
|
|
172
|
+
{ "token": "font-size-300", "context": "Label" },
|
|
173
|
+
{ "token": "line-height-100", "context": "Label" },
|
|
174
|
+
{ "token": "cjk-line-height-100", "context": "Label" },
|
|
175
|
+
{ "token": "informative-visual-color", "context": "Semantic (Dot) " },
|
|
176
|
+
{ "token": "neutral-visual-color", "context": "Semantic (Dot) " },
|
|
177
|
+
{ "token": "positive-visual-color", "context": "Semantic (Dot) " },
|
|
178
|
+
{ "token": "notice-visual-color", "context": "Semantic (Dot) " },
|
|
179
|
+
{ "token": "negative-visual-color", "context": "Semantic (Dot) " },
|
|
180
|
+
{ "token": "celery-visual-color", "context": "Non-semantic (Dot) " },
|
|
181
|
+
{ "token": "chartreuse-visual-color", "context": "Non-semantic (Dot) " },
|
|
182
|
+
{ "token": "cyan-visual-color", "context": "Non-semantic (Dot) " },
|
|
183
|
+
{ "token": "fuchsia-visual-color", "context": "Non-semantic (Dot) " },
|
|
184
|
+
{ "token": "purple-visual-color", "context": "Non-semantic (Dot) " },
|
|
185
|
+
{ "token": "magenta-visual-color", "context": "Non-semantic (Dot) " },
|
|
186
|
+
{ "token": "indigo-visual-color", "context": "Non-semantic (Dot) " },
|
|
187
|
+
{ "token": "seafoam-visual-color", "context": "Non-semantic (Dot) " },
|
|
188
|
+
{ "token": "yellow-visual-color", "context": "Non-semantic (Dot) " },
|
|
189
|
+
{ "token": "pink-visual-color", "context": "Non-semantic (Dot) " },
|
|
190
|
+
{ "token": "turquoise-visual-color", "context": "Non-semantic (Dot) " },
|
|
191
|
+
{ "token": "cinnamon-visual-color", "context": "Non-semantic (Dot) " },
|
|
192
|
+
{ "token": "brown-visual-color", "context": "Non-semantic (Dot) " },
|
|
193
|
+
{ "token": "silver-visual-color", "context": "Non-semantic (Dot) " },
|
|
194
|
+
{ "token": "gray-600", "context": "Label" },
|
|
195
|
+
{ "token": "neutral-content-color-default", "context": "Label" }
|
|
330
196
|
],
|
|
331
|
-
"accessibility": {
|
|
332
|
-
"focusable": false
|
|
333
|
-
}
|
|
197
|
+
"accessibility": { "focusable": false }
|
|
334
198
|
}
|
package/components/steplist.json
CHANGED
|
@@ -9,18 +9,49 @@
|
|
|
9
9
|
"category": "navigation",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/steplist/"
|
|
11
11
|
},
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Step lists display progress through a sequence of steps, with each step marked as completed, current, or incomplete."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Steplists show progress across a series of discrete steps in a process. Use them for setups, wizards, or other flows with a fixed number of stages. They can be displayed horizontally or vertically."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "A current step in a steplist is styled to indicate the user's active position within a sequence. This styling helps orient the user by showing which step they are currently working on or viewing. It typically uses a distinct visual treatment, such as displaying the number of the step, to differentiate it from completed or incomplete steps. This ensures clarity in navigation and reinforces the sense of progress through the workflow."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Represents an individual step within the steplist. Each item conveys a specific stage in a process or workflow."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "By default, steplists are horizontal and should be used for wider layouts or panels to keep the user’s focus moving from left to right. Vertical steplists should be used for more narrow layouts or panels to accommodate more steps without crowding."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "Users can’t click on incomplete steps. The steplist follows a linear flow, requiring completion of the previous step before moving to the next."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "Completed steps display a checkmark, while remaining steps retain their numeric indicators. The current step uses a darker fill to indicate selection. This treatment is available in medium, large, and extra-large sizes."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "When a step’s label is long for the available horizontal space, it wraps to form another line."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "Labels are optional in a steplist. Here are three recommended approaches:"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
12
50
|
"options": {
|
|
13
51
|
"orientation": {
|
|
14
52
|
"type": "string",
|
|
15
53
|
"default": "horizontal",
|
|
16
|
-
"values": [
|
|
17
|
-
{
|
|
18
|
-
"value": "horizontal"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"value": "vertical"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
54
|
+
"values": [{ "value": "horizontal" }, { "value": "vertical" }]
|
|
24
55
|
},
|
|
25
56
|
"items": {
|
|
26
57
|
"type": "array",
|
|
@@ -57,9 +88,7 @@
|
|
|
57
88
|
"description": "The identifier or label of the currently active step."
|
|
58
89
|
}
|
|
59
90
|
},
|
|
60
|
-
"lifecycle": {
|
|
61
|
-
"introduced": "1.0.0-draft"
|
|
62
|
-
},
|
|
91
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
63
92
|
"tokenBindings": [
|
|
64
93
|
{
|
|
65
94
|
"token": "steplist-step-default-width-small",
|
|
@@ -109,46 +138,16 @@
|
|
|
109
138
|
"token": "steplist-step-to-track-size-extra-large",
|
|
110
139
|
"context": "Spacing (step to track)"
|
|
111
140
|
},
|
|
112
|
-
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
"context": "Spacing (text to visual)"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"token": "text-to-visual-100",
|
|
126
|
-
"context": "Spacing (text to visual)"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"token": "text-to-visual-200",
|
|
130
|
-
"context": "Spacing (text to visual)"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"token": "text-to-visual-300",
|
|
134
|
-
"context": "Spacing (text to visual)"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"token": "steplist-visual-size-small",
|
|
138
|
-
"context": "Visual size"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"token": "steplist-visual-size-medium",
|
|
142
|
-
"context": "Visual size"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"token": "steplist-visual-size-large",
|
|
146
|
-
"context": "Visual size"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"token": "steplist-visual-size-extra-large",
|
|
150
|
-
"context": "Visual size"
|
|
151
|
-
},
|
|
141
|
+
{ "token": "steplist-bottom-to-text", "context": "Text adjustment" },
|
|
142
|
+
{ "token": "border-width-200", "context": "Visual border" },
|
|
143
|
+
{ "token": "text-to-visual-75", "context": "Spacing (text to visual)" },
|
|
144
|
+
{ "token": "text-to-visual-100", "context": "Spacing (text to visual)" },
|
|
145
|
+
{ "token": "text-to-visual-200", "context": "Spacing (text to visual)" },
|
|
146
|
+
{ "token": "text-to-visual-300", "context": "Spacing (text to visual)" },
|
|
147
|
+
{ "token": "steplist-visual-size-small", "context": "Visual size" },
|
|
148
|
+
{ "token": "steplist-visual-size-medium", "context": "Visual size" },
|
|
149
|
+
{ "token": "steplist-visual-size-large", "context": "Visual size" },
|
|
150
|
+
{ "token": "steplist-visual-size-extra-large", "context": "Visual size" },
|
|
152
151
|
{
|
|
153
152
|
"token": "steplist-track-thickness-thickness",
|
|
154
153
|
"context": "Steplist track thickness"
|
|
@@ -157,30 +156,15 @@
|
|
|
157
156
|
"token": "neutral-subdued-content-color-default",
|
|
158
157
|
"context": "Step text"
|
|
159
158
|
},
|
|
160
|
-
{
|
|
161
|
-
"token": "neutral-subdued-content-color-hover",
|
|
162
|
-
"context": "Step text"
|
|
163
|
-
},
|
|
159
|
+
{ "token": "neutral-subdued-content-color-hover", "context": "Step text" },
|
|
164
160
|
{
|
|
165
161
|
"token": "neutral-subdued-content-color-key-focus",
|
|
166
162
|
"context": "Step text"
|
|
167
163
|
},
|
|
168
|
-
{
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"token": "neutral-content-color-key-focus",
|
|
174
|
-
"context": "Step text"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"token": "accent-content-color-default",
|
|
178
|
-
"context": "Step text"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"token": "accent-content-color-key-focus",
|
|
182
|
-
"context": "Step text"
|
|
183
|
-
},
|
|
164
|
+
{ "token": "neutral-content-color-default", "context": "Step text" },
|
|
165
|
+
{ "token": "neutral-content-color-key-focus", "context": "Step text" },
|
|
166
|
+
{ "token": "accent-content-color-default", "context": "Step text" },
|
|
167
|
+
{ "token": "accent-content-color-key-focus", "context": "Step text" },
|
|
184
168
|
{
|
|
185
169
|
"token": "neutral-subdued-background-color-default",
|
|
186
170
|
"context": "Step visual"
|
|
@@ -193,102 +177,34 @@
|
|
|
193
177
|
"token": "neutral-subdued-background-color-key-focus",
|
|
194
178
|
"context": "Step visual"
|
|
195
179
|
},
|
|
196
|
-
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
{
|
|
217
|
-
"token": "accent-background-color-hover",
|
|
218
|
-
"context": "Step visual"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"token": "gray-25",
|
|
222
|
-
"context": "Step visual text"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"token": "white",
|
|
226
|
-
"context": "Step visual text"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"token": "accent-visual-color",
|
|
230
|
-
"context": "Steplist track"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"token": "disabled-content-color",
|
|
234
|
-
"context": "Disabled"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"token": "disabled-background-color",
|
|
238
|
-
"context": "Disabled"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"token": "default-font-family",
|
|
242
|
-
"context": "Label"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"token": "regular-font-weight",
|
|
246
|
-
"context": "Label"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"token": "default-font-style",
|
|
250
|
-
"context": "Label"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"token": "font-size-75",
|
|
254
|
-
"context": "Label"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"token": "font-size-100",
|
|
258
|
-
"context": "Label"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"token": "font-size-200",
|
|
262
|
-
"context": "Label"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"token": "font-size-300",
|
|
266
|
-
"context": "Label"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"token": "line-height-100",
|
|
270
|
-
"context": "Label"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"token": "cjk-line-height-100",
|
|
274
|
-
"context": "Label"
|
|
275
|
-
}
|
|
180
|
+
{ "token": "neutral-background-color-default", "context": "Step visual" },
|
|
181
|
+
{ "token": "neutral-background-color-key-focus", "context": "Step visual" },
|
|
182
|
+
{ "token": "neutral-visual-color", "context": "Step visual" },
|
|
183
|
+
{ "token": "accent-background-color-default", "context": "Step visual" },
|
|
184
|
+
{ "token": "accent-background-color-key-focus", "context": "Step visual" },
|
|
185
|
+
{ "token": "accent-background-color-hover", "context": "Step visual" },
|
|
186
|
+
{ "token": "gray-25", "context": "Step visual text" },
|
|
187
|
+
{ "token": "white", "context": "Step visual text" },
|
|
188
|
+
{ "token": "accent-visual-color", "context": "Steplist track" },
|
|
189
|
+
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
190
|
+
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
191
|
+
{ "token": "default-font-family", "context": "Label" },
|
|
192
|
+
{ "token": "regular-font-weight", "context": "Label" },
|
|
193
|
+
{ "token": "default-font-style", "context": "Label" },
|
|
194
|
+
{ "token": "font-size-75", "context": "Label" },
|
|
195
|
+
{ "token": "font-size-100", "context": "Label" },
|
|
196
|
+
{ "token": "font-size-200", "context": "Label" },
|
|
197
|
+
{ "token": "font-size-300", "context": "Label" },
|
|
198
|
+
{ "token": "line-height-100", "context": "Label" },
|
|
199
|
+
{ "token": "cjk-line-height-100", "context": "Label" }
|
|
276
200
|
],
|
|
277
201
|
"accessibility": {
|
|
278
202
|
"intents": ["navigate"],
|
|
279
203
|
"focusable": true,
|
|
280
204
|
"keyboardIntents": ["navigate-items", "activate"],
|
|
281
205
|
"wcag": [
|
|
282
|
-
{
|
|
283
|
-
|
|
284
|
-
"level": "A",
|
|
285
|
-
"title": "Keyboard"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"criterion": "4.1.2",
|
|
289
|
-
"level": "A",
|
|
290
|
-
"title": "Name, Role, Value"
|
|
291
|
-
}
|
|
206
|
+
{ "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
|
|
207
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
292
208
|
]
|
|
293
209
|
}
|
|
294
210
|
}
|