@adobe/spectrum-design-data 0.3.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.
- package/LICENSE +1 -1
- 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 +87 -0
- package/guidelines/app-frame-creating-bluelines.json +61 -0
- package/guidelines/app-frame-header.json +75 -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 +41 -0
- package/guidelines/brand.json +50 -0
- package/guidelines/colors.json +65 -0
- package/guidelines/containers.json +65 -0
- package/guidelines/developer-overview.json +38 -0
- package/guidelines/faqs.json +35 -0
- package/guidelines/fonts.json +58 -0
- package/guidelines/grays.json +69 -0
- package/guidelines/icon-fundamentals.json +45 -0
- package/guidelines/illustrations.json +114 -0
- package/guidelines/introduction.json +34 -0
- package/guidelines/manifest.json +204 -0
- package/guidelines/motion.json +41 -0
- package/guidelines/object-styles.json +105 -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 +145 -0
- package/guidelines/using-icons.json +110 -0
- package/package.json +5 -2
- package/tokens/layout-component.tokens.json +72 -36
- package/tokens/layout.tokens.json +207 -92
package/components/button.json
CHANGED
|
@@ -9,68 +9,96 @@
|
|
|
9
9
|
"category": "actions",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/button/"
|
|
11
11
|
},
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Buttons enable actions or navigation between views. They come in multiple styles to support different levels of emphasis, and are commonly used to guide progression through a flow."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Keyboard focus.\n\nA button 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."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "Tooltip when the label is hidden.\n\nWhen the button label is hidden, a tooltip is shown on hover that displays the label text and, if appropriate, a keyboard shortcut."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Flexible width.\n\nThe width of a button automatically adjusts to fit the label text. The padding on each side of the button is equal to half its height."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "Minimum width.\n\nButtons have a minimum width of 2.25× the height of the button. This ensures that small buttons retain an identifiable shape."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "Text overflow.\n\nWhen the button text is too long for the horizontal space available, it wraps to form another line."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "Cursor style.\n\nButtons use the default arrow cursor for all states, including hover and down. The only exception occurs on the web; if the button is using the href property it will display the pointer cursor instead."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "Delay before pending state.\n\nSome progress can be very quick. In order to avoid showing a progress circle for a fraction of a second, which results in an unpleasant flickering, there is a delay of 1 second before the pending state appears. During this delay, the button continues to visually respond to interactive events (e.g., hover), but additional clicks do not result in repeated submissions."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "Use icons only when necessary.\n\nIcons can be used in buttons when additional clarity is required and the icon is highly relevant to the action. Icons should not be used for decoration."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "do-dont",
|
|
51
|
+
"content": "Don't override color",
|
|
52
|
+
"dont": "Do not use custom colors for buttons. The colors of different button variations have been designed to be consistent and accessible."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "guideline",
|
|
56
|
+
"content": "When to use static black and static white.\n\nTo ensure maximum contrast with the background, use static black for light backgrounds and images, and use static white for dark backgrounds and images. Avoid placing static components on top of busy images with a lot of variance in contrast."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "do-dont",
|
|
60
|
+
"content": "Don't use the pending state for long progress",
|
|
61
|
+
"dont": "The pending state should be reserved for indeterminate actions that are expected to take 5 seconds or less. For determinate or longer actions, use a [progress bar](https://spectrum.adobe.com/page/progress-bar/) or [progress circle](https://spectrum.adobe.com/page/progress-circle/) outside of the button."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "guideline",
|
|
65
|
+
"content": "Use a button group to show additional actions.\n\nInstead of a single split button (now a deprecated component), use a [button group](https://spectrum.adobe.com/page/button-group/) to show any additional actions related to the most critical action."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "guideline",
|
|
69
|
+
"content": "Display a popover when featuring subsequent options.\n\nIn some instances, it's possible to have a call to action button display a popover (or tray) to feature subsequent options. These options should extend and parallel the action of the button. Do not include arbitrary or unrelated options."
|
|
70
|
+
}
|
|
71
|
+
],
|
|
12
72
|
"options": {
|
|
13
73
|
"variant": {
|
|
14
74
|
"type": "string",
|
|
15
75
|
"default": "accent",
|
|
16
76
|
"description": "Visual emphasis level.",
|
|
17
77
|
"values": [
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"value": "negative"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"value": "primary"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"value": "secondary"
|
|
29
|
-
}
|
|
78
|
+
{ "value": "accent" },
|
|
79
|
+
{ "value": "negative" },
|
|
80
|
+
{ "value": "primary" },
|
|
81
|
+
{ "value": "secondary" }
|
|
30
82
|
]
|
|
31
83
|
},
|
|
32
84
|
"style": {
|
|
33
85
|
"type": "string",
|
|
34
86
|
"default": "fill",
|
|
35
|
-
"values": [
|
|
36
|
-
{
|
|
37
|
-
"value": "fill"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"value": "outline"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
87
|
+
"values": [{ "value": "fill" }, { "value": "outline" }]
|
|
43
88
|
},
|
|
44
89
|
"size": {
|
|
45
90
|
"type": "string",
|
|
46
91
|
"default": "m",
|
|
47
92
|
"values": [
|
|
48
|
-
{
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"value": "m"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"value": "l"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"value": "xl"
|
|
59
|
-
}
|
|
93
|
+
{ "value": "s" },
|
|
94
|
+
{ "value": "m" },
|
|
95
|
+
{ "value": "l" },
|
|
96
|
+
{ "value": "xl" }
|
|
60
97
|
]
|
|
61
98
|
},
|
|
62
|
-
"isDisabled": {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
"isPending": {
|
|
67
|
-
"type": "boolean",
|
|
68
|
-
"default": false
|
|
69
|
-
},
|
|
70
|
-
"isLabelHidden": {
|
|
71
|
-
"type": "boolean",
|
|
72
|
-
"default": false
|
|
73
|
-
},
|
|
99
|
+
"isDisabled": { "type": "boolean", "default": false },
|
|
100
|
+
"isPending": { "type": "boolean", "default": false },
|
|
101
|
+
"isLabelHidden": { "type": "boolean", "default": false },
|
|
74
102
|
"icon": {
|
|
75
103
|
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
|
|
76
104
|
"description": "Icon placed at the start of the button. Required when isLabelHidden is true."
|
|
@@ -78,14 +106,7 @@
|
|
|
78
106
|
"staticColor": {
|
|
79
107
|
"type": "string",
|
|
80
108
|
"description": "Static color for use on colored backgrounds.",
|
|
81
|
-
"values": [
|
|
82
|
-
{
|
|
83
|
-
"value": "white"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"value": "black"
|
|
87
|
-
}
|
|
88
|
-
]
|
|
109
|
+
"values": [{ "value": "white" }, { "value": "black" }]
|
|
89
110
|
}
|
|
90
111
|
},
|
|
91
112
|
"slots": [
|
|
@@ -94,64 +115,29 @@
|
|
|
94
115
|
"description": "Text label of the button.",
|
|
95
116
|
"required": false
|
|
96
117
|
},
|
|
97
|
-
{
|
|
98
|
-
"name": "icon",
|
|
99
|
-
"description": "Icon placed at the start of the button."
|
|
100
|
-
}
|
|
118
|
+
{ "name": "icon", "description": "Icon placed at the start of the button." }
|
|
101
119
|
],
|
|
102
120
|
"anatomy": [
|
|
103
|
-
{
|
|
104
|
-
|
|
105
|
-
"description": "Leading icon."
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "label",
|
|
109
|
-
"description": "Button text.",
|
|
110
|
-
"required": true
|
|
111
|
-
}
|
|
121
|
+
{ "name": "icon", "description": "Leading icon." },
|
|
122
|
+
{ "name": "label", "description": "Button text.", "required": true }
|
|
112
123
|
],
|
|
113
124
|
"states": [
|
|
114
|
-
{
|
|
115
|
-
"name": "hover",
|
|
116
|
-
"trigger": "interaction",
|
|
117
|
-
"precedence": 50
|
|
118
|
-
},
|
|
125
|
+
{ "name": "hover", "trigger": "interaction", "precedence": 50 },
|
|
119
126
|
{
|
|
120
127
|
"name": "focus",
|
|
121
128
|
"trigger": "interaction",
|
|
122
129
|
"precedence": 60,
|
|
123
130
|
"layered": true
|
|
124
131
|
},
|
|
125
|
-
{
|
|
126
|
-
"name": "disabled",
|
|
127
|
-
"trigger": "prop",
|
|
128
|
-
"precedence": 100
|
|
129
|
-
}
|
|
132
|
+
{ "name": "disabled", "trigger": "prop", "precedence": 100 }
|
|
130
133
|
],
|
|
131
|
-
"lifecycle": {
|
|
132
|
-
"introduced": "1.0.0-draft"
|
|
133
|
-
},
|
|
134
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
134
135
|
"tokenBindings": [
|
|
135
|
-
{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"token": "component-height-100",
|
|
141
|
-
"context": "Minimum height"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"token": "component-height-200",
|
|
145
|
-
"context": "Minimum height"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"token": "component-height-300",
|
|
149
|
-
"context": "Minimum height"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"token": "corner-radius-full",
|
|
153
|
-
"context": "Rounding"
|
|
154
|
-
},
|
|
136
|
+
{ "token": "component-height-75", "context": "Minimum height" },
|
|
137
|
+
{ "token": "component-height-100", "context": "Minimum height" },
|
|
138
|
+
{ "token": "component-height-200", "context": "Minimum height" },
|
|
139
|
+
{ "token": "component-height-300", "context": "Minimum height" },
|
|
140
|
+
{ "token": "corner-radius-full", "context": "Rounding" },
|
|
155
141
|
{
|
|
156
142
|
"token": "corner-radius-button-small",
|
|
157
143
|
"context": "Rounding (with wrapping)"
|
|
@@ -184,22 +170,10 @@
|
|
|
184
170
|
"token": "component-size-minimum-perspective-down",
|
|
185
171
|
"context": "Component size (down)"
|
|
186
172
|
},
|
|
187
|
-
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"token": "workflow-icon-size-100",
|
|
193
|
-
"context": "Icon"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"token": "workflow-icon-size-200",
|
|
197
|
-
"context": "Icon"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"token": "workflow-icon-size-300",
|
|
201
|
-
"context": "Icon"
|
|
202
|
-
},
|
|
173
|
+
{ "token": "workflow-icon-size-75", "context": "Icon" },
|
|
174
|
+
{ "token": "workflow-icon-size-100", "context": "Icon" },
|
|
175
|
+
{ "token": "workflow-icon-size-200", "context": "Icon" },
|
|
176
|
+
{ "token": "workflow-icon-size-300", "context": "Icon" },
|
|
203
177
|
{
|
|
204
178
|
"token": "component-pill-edge-to-visual-75",
|
|
205
179
|
"context": "Spacing (start/end edges)"
|
|
@@ -248,22 +222,10 @@
|
|
|
248
222
|
"token": "component-pill-edge-to-visual-only-300",
|
|
249
223
|
"context": "Spacing (start/end edges, icon only)"
|
|
250
224
|
},
|
|
251
|
-
{
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"token": "text-to-visual-100",
|
|
257
|
-
"context": "Spacing (icon to label)"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"token": "text-to-visual-200",
|
|
261
|
-
"context": "Spacing (icon to label)"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"token": "text-to-visual-300",
|
|
265
|
-
"context": "Spacing (icon to label)"
|
|
266
|
-
},
|
|
225
|
+
{ "token": "text-to-visual-75", "context": "Spacing (icon to label)" },
|
|
226
|
+
{ "token": "text-to-visual-100", "context": "Spacing (icon to label)" },
|
|
227
|
+
{ "token": "text-to-visual-200", "context": "Spacing (icon to label)" },
|
|
228
|
+
{ "token": "text-to-visual-300", "context": "Spacing (icon to label)" },
|
|
267
229
|
{
|
|
268
230
|
"token": "component-top-to-workflow-icon-75",
|
|
269
231
|
"context": "Spacing (top edge to icon)"
|
|
@@ -312,198 +274,54 @@
|
|
|
312
274
|
"token": "component-bottom-to-text-300",
|
|
313
275
|
"context": "Spacing (top/bottom edge to label)"
|
|
314
276
|
},
|
|
315
|
-
{
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"token": "accent-background-color-default",
|
|
365
|
-
"context": "Background"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"token": "accent-background-color-hover",
|
|
369
|
-
"context": "Background"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"token": "accent-background-color-down",
|
|
373
|
-
"context": "Background"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"token": "accent-background-color-key-focus",
|
|
377
|
-
"context": "Background"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"token": "white",
|
|
381
|
-
"context": "Icon"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"token": "negative-background-color-default",
|
|
385
|
-
"context": "Background"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"token": "negative-background-color-hover",
|
|
389
|
-
"context": "Background"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"token": "negative-background-color-down",
|
|
393
|
-
"context": "Background"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"token": "negative-background-color-key-focus",
|
|
397
|
-
"context": "Background"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"token": "neutral-background-color-default",
|
|
401
|
-
"context": "Background"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"token": "neutral-background-color-hover",
|
|
405
|
-
"context": "Background"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"token": "neutral-background-color-down",
|
|
409
|
-
"context": "Background"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"token": "neutral-background-color-key-focus",
|
|
413
|
-
"context": "Background"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"token": "gray-25",
|
|
417
|
-
"context": "Icon"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"token": "gray-100",
|
|
421
|
-
"context": "Background"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"token": "gray-800",
|
|
425
|
-
"context": "Border"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"token": "gray-900",
|
|
429
|
-
"context": "Border"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"token": "neutral-content-color-default",
|
|
433
|
-
"context": "Icon"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"token": "neutral-content-color-hover",
|
|
437
|
-
"context": "Icon"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"token": "neutral-content-color-down",
|
|
441
|
-
"context": "Icon"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"token": "neutral-content-color-key-focus",
|
|
445
|
-
"context": "Icon"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"token": "gray-200",
|
|
449
|
-
"context": "Background"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"token": "gray-300",
|
|
453
|
-
"context": "Border"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"token": "gray-400",
|
|
457
|
-
"context": "Border"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"token": "disabled-background-color",
|
|
461
|
-
"context": "Fill"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"token": "disabled-border-color",
|
|
465
|
-
"context": "Outline"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"token": "disabled-content-color",
|
|
469
|
-
"context": "Icon"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"token": "focus-indicator-color",
|
|
473
|
-
"context": "Focus indicator"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"token": "transparent-white-900",
|
|
477
|
-
"context": "Background"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"token": "transparent-white-1000",
|
|
481
|
-
"context": "Background"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"token": "black",
|
|
485
|
-
"context": "Icon"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"token": "transparent-white-25",
|
|
489
|
-
"context": "Background"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"token": "transparent-white-100",
|
|
493
|
-
"context": "Background"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"token": "transparent-white-200",
|
|
497
|
-
"context": "Background"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"token": "transparent-white-300",
|
|
501
|
-
"context": "Border"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"token": "transparent-white-400",
|
|
505
|
-
"context": "Border"
|
|
506
|
-
},
|
|
277
|
+
{ "token": "border-width-200", "context": "Border" },
|
|
278
|
+
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
279
|
+
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
280
|
+
{ "token": "default-font-family", "context": "Label" },
|
|
281
|
+
{ "token": "bold-font-weight", "context": "Label" },
|
|
282
|
+
{ "token": "default-font-style", "context": "Label" },
|
|
283
|
+
{ "token": "font-size-75", "context": "Label" },
|
|
284
|
+
{ "token": "font-size-100", "context": "Label" },
|
|
285
|
+
{ "token": "font-size-200", "context": "Label" },
|
|
286
|
+
{ "token": "font-size-300", "context": "Label" },
|
|
287
|
+
{ "token": "line-height-100", "context": "Label" },
|
|
288
|
+
{ "token": "cjk-line-height-100", "context": "Label" },
|
|
289
|
+
{ "token": "accent-background-color-default", "context": "Background" },
|
|
290
|
+
{ "token": "accent-background-color-hover", "context": "Background" },
|
|
291
|
+
{ "token": "accent-background-color-down", "context": "Background" },
|
|
292
|
+
{ "token": "accent-background-color-key-focus", "context": "Background" },
|
|
293
|
+
{ "token": "white", "context": "Icon" },
|
|
294
|
+
{ "token": "negative-background-color-default", "context": "Background" },
|
|
295
|
+
{ "token": "negative-background-color-hover", "context": "Background" },
|
|
296
|
+
{ "token": "negative-background-color-down", "context": "Background" },
|
|
297
|
+
{ "token": "negative-background-color-key-focus", "context": "Background" },
|
|
298
|
+
{ "token": "neutral-background-color-default", "context": "Background" },
|
|
299
|
+
{ "token": "neutral-background-color-hover", "context": "Background" },
|
|
300
|
+
{ "token": "neutral-background-color-down", "context": "Background" },
|
|
301
|
+
{ "token": "neutral-background-color-key-focus", "context": "Background" },
|
|
302
|
+
{ "token": "gray-25", "context": "Icon" },
|
|
303
|
+
{ "token": "gray-100", "context": "Background" },
|
|
304
|
+
{ "token": "gray-800", "context": "Border" },
|
|
305
|
+
{ "token": "gray-900", "context": "Border" },
|
|
306
|
+
{ "token": "neutral-content-color-default", "context": "Icon" },
|
|
307
|
+
{ "token": "neutral-content-color-hover", "context": "Icon" },
|
|
308
|
+
{ "token": "neutral-content-color-down", "context": "Icon" },
|
|
309
|
+
{ "token": "neutral-content-color-key-focus", "context": "Icon" },
|
|
310
|
+
{ "token": "gray-200", "context": "Background" },
|
|
311
|
+
{ "token": "gray-300", "context": "Border" },
|
|
312
|
+
{ "token": "gray-400", "context": "Border" },
|
|
313
|
+
{ "token": "disabled-background-color", "context": "Fill" },
|
|
314
|
+
{ "token": "disabled-border-color", "context": "Outline" },
|
|
315
|
+
{ "token": "disabled-content-color", "context": "Icon" },
|
|
316
|
+
{ "token": "focus-indicator-color", "context": "Focus indicator" },
|
|
317
|
+
{ "token": "transparent-white-900", "context": "Background" },
|
|
318
|
+
{ "token": "transparent-white-1000", "context": "Background" },
|
|
319
|
+
{ "token": "black", "context": "Icon" },
|
|
320
|
+
{ "token": "transparent-white-25", "context": "Background" },
|
|
321
|
+
{ "token": "transparent-white-100", "context": "Background" },
|
|
322
|
+
{ "token": "transparent-white-200", "context": "Background" },
|
|
323
|
+
{ "token": "transparent-white-300", "context": "Border" },
|
|
324
|
+
{ "token": "transparent-white-400", "context": "Border" },
|
|
507
325
|
{
|
|
508
326
|
"token": "disabled-static-white-background-color",
|
|
509
327
|
"context": "Background"
|
|
@@ -512,42 +330,18 @@
|
|
|
512
330
|
"token": "disabled-static-white-content-color",
|
|
513
331
|
"context": "Icon and label"
|
|
514
332
|
},
|
|
515
|
-
{
|
|
516
|
-
"token": "disabled-static-white-border-color",
|
|
517
|
-
"context": "Border"
|
|
518
|
-
},
|
|
333
|
+
{ "token": "disabled-static-white-border-color", "context": "Border" },
|
|
519
334
|
{
|
|
520
335
|
"token": "static-white-focus-indicator-color",
|
|
521
336
|
"context": "Static white – Focus indicator"
|
|
522
337
|
},
|
|
523
|
-
{
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"token": "transparent-black-25",
|
|
533
|
-
"context": "Background"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"token": "transparent-black-100",
|
|
537
|
-
"context": "Background"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"token": "transparent-black-200",
|
|
541
|
-
"context": "Background"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"token": "transparent-black-300",
|
|
545
|
-
"context": "Border"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"token": "transparent-black-400",
|
|
549
|
-
"context": "Border"
|
|
550
|
-
},
|
|
338
|
+
{ "token": "transparent-black-900", "context": "Background" },
|
|
339
|
+
{ "token": "transparent-black-1000", "context": "Background" },
|
|
340
|
+
{ "token": "transparent-black-25", "context": "Background" },
|
|
341
|
+
{ "token": "transparent-black-100", "context": "Background" },
|
|
342
|
+
{ "token": "transparent-black-200", "context": "Background" },
|
|
343
|
+
{ "token": "transparent-black-300", "context": "Border" },
|
|
344
|
+
{ "token": "transparent-black-400", "context": "Border" },
|
|
551
345
|
{
|
|
552
346
|
"token": "disabled-static-black-background-color",
|
|
553
347
|
"context": "Background"
|
|
@@ -556,10 +350,7 @@
|
|
|
556
350
|
"token": "disabled-static-black-content-color",
|
|
557
351
|
"context": "Icon and label"
|
|
558
352
|
},
|
|
559
|
-
{
|
|
560
|
-
"token": "disabled-static-black-border-color",
|
|
561
|
-
"context": "Border"
|
|
562
|
-
},
|
|
353
|
+
{ "token": "disabled-static-black-border-color", "context": "Border" },
|
|
563
354
|
{
|
|
564
355
|
"token": "static-black-focus-indicator-color",
|
|
565
356
|
"context": "Static black – Focus indicator"
|
|
@@ -571,16 +362,8 @@
|
|
|
571
362
|
"focusable": true,
|
|
572
363
|
"keyboardIntents": ["activate"],
|
|
573
364
|
"wcag": [
|
|
574
|
-
{
|
|
575
|
-
|
|
576
|
-
"level": "A",
|
|
577
|
-
"title": "Keyboard"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"criterion": "4.1.2",
|
|
581
|
-
"level": "A",
|
|
582
|
-
"title": "Name, Role, Value"
|
|
583
|
-
}
|
|
365
|
+
{ "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
|
|
366
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
584
367
|
]
|
|
585
368
|
}
|
|
586
369
|
}
|