@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/picker.json
CHANGED
|
@@ -9,173 +9,211 @@
|
|
|
9
9
|
"category": "inputs",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/picker/"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"type": "
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Pickers (sometimes known as \"dropdowns\" or \"selects\") allow users to choose from a list of options in a limited space. The list of options can change based on the context."
|
|
15
16
|
},
|
|
16
|
-
|
|
17
|
-
"type": "
|
|
18
|
-
"
|
|
19
|
-
"values": [
|
|
20
|
-
{
|
|
21
|
-
"value": "top"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "side"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Pickers present a list of options in a compact format for selection. They’re sometimes called “dropdowns” or “selects,” and the available options may change based on context."
|
|
27
20
|
},
|
|
28
|
-
|
|
29
|
-
"type": "
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "The error message communicates an error for when the selection requirements aren’t met, prompting a user to adjust what they had originally selected."
|
|
30
24
|
},
|
|
31
|
-
|
|
32
|
-
"type": "
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "A picker can have help text below the field to give extra context or instruction about what a user should input in the field. The help text communicates a hint or helpful information, such as specific requirements for correctly filling out the field."
|
|
33
28
|
},
|
|
34
|
-
|
|
35
|
-
"type": "
|
|
36
|
-
"
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "A picker can be marked as having an error to show that a value needs to be entered in order to move forward or that a value that was entered is invalid."
|
|
37
32
|
},
|
|
38
|
-
|
|
39
|
-
"type": "
|
|
40
|
-
"
|
|
41
|
-
"values": [
|
|
42
|
-
{
|
|
43
|
-
"value": "s"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"value": "m"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"value": "l"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"value": "xl"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "A picker in a disabled state shows that an input field exists, but is not available in that circumstance. This can be used to maintain layout continuity and communicate that it may become available later."
|
|
55
36
|
},
|
|
56
|
-
|
|
57
|
-
"type": "
|
|
58
|
-
"
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "The picker menu is a menu element that is used to display the options for the picker. A picker menu can include menu items, menu dividers, and menu groups. A picker menu should never contain submenus, as doing so would render it inaccessible."
|
|
59
40
|
},
|
|
60
|
-
|
|
61
|
-
"type": "
|
|
62
|
-
"
|
|
63
|
-
"values": [
|
|
64
|
-
{
|
|
65
|
-
"value": "text"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"value": "icon"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "For required pickers, you have two options:"
|
|
71
44
|
},
|
|
72
|
-
|
|
73
|
-
"type": "
|
|
74
|
-
"
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "For optional pickers, you have two options:"
|
|
75
48
|
},
|
|
76
|
-
|
|
77
|
-
"type": "
|
|
78
|
-
"
|
|
79
|
-
"values": [
|
|
80
|
-
{
|
|
81
|
-
"value": "popover"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"value": "tray"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
49
|
+
{
|
|
50
|
+
"type": "guideline",
|
|
51
|
+
"content": "By default, pickers have a visible background. This style works best in a dense array of controls where the background helps to separate the input from the surrounding container, or to give visibility to isolated buttons."
|
|
87
52
|
},
|
|
88
|
-
|
|
89
|
-
"type": "
|
|
90
|
-
"
|
|
53
|
+
{
|
|
54
|
+
"type": "guideline",
|
|
55
|
+
"content": "Alternatively, quiet pickers can have no visible background. This style works best when a clear layout (vertical stack, table, grid) makes it easy to parse the buttons. Too many quiet components in a small space can be hard to read."
|
|
91
56
|
},
|
|
92
|
-
|
|
93
|
-
"type": "
|
|
94
|
-
"
|
|
57
|
+
{
|
|
58
|
+
"type": "guideline",
|
|
59
|
+
"content": "Pickers 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."
|
|
95
60
|
},
|
|
96
|
-
|
|
97
|
-
"type": "
|
|
98
|
-
"
|
|
61
|
+
{
|
|
62
|
+
"type": "guideline",
|
|
63
|
+
"content": "The width of a picker can be customized appropriately for its context. This option is not applicable to quiet pickers."
|
|
99
64
|
},
|
|
100
|
-
"errorMessage": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"default": null
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"states": [
|
|
106
65
|
{
|
|
107
|
-
"
|
|
108
|
-
"
|
|
66
|
+
"type": "guideline",
|
|
67
|
+
"content": "The value shows the option that a user has selected."
|
|
109
68
|
},
|
|
110
69
|
{
|
|
111
|
-
"
|
|
112
|
-
"
|
|
70
|
+
"type": "guideline",
|
|
71
|
+
"content": "Placeholder text provides hints about expected input values. It disappears once a user selects an option."
|
|
113
72
|
},
|
|
114
73
|
{
|
|
115
|
-
"
|
|
116
|
-
"
|
|
74
|
+
"type": "guideline",
|
|
75
|
+
"content": "Labels can be placed either on top or on the side. Top labels are the default and are recommended because they work better with long copy, localization, and responsive layouts. Side labels are most useful when vertical space is limited."
|
|
117
76
|
},
|
|
118
77
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"lifecycle": {
|
|
124
|
-
"introduced": "1.0.0-draft"
|
|
125
|
-
},
|
|
126
|
-
"tokenBindings": [
|
|
78
|
+
"type": "guideline",
|
|
79
|
+
"content": "Pickers should always have a label. In rare cases where context is sufficient and an accessibility expert has reviewed the design, the label could be undefined. These pickers without a visible label should still include an aria-label in HTML (depending on the context, “aria-label” or “aria-labelledby”)."
|
|
80
|
+
},
|
|
127
81
|
{
|
|
128
|
-
"
|
|
129
|
-
"
|
|
82
|
+
"type": "guideline",
|
|
83
|
+
"content": "When the field label and menu text are too long for the available horizontal space, they wrap to form another line. The field text itself truncates at the end, but the text can be shown in full in the menu."
|
|
130
84
|
},
|
|
131
85
|
{
|
|
132
|
-
"
|
|
133
|
-
"
|
|
86
|
+
"type": "guideline",
|
|
87
|
+
"content": "When the help or error text is too long for the available horizontal space, it wraps to form another line."
|
|
134
88
|
},
|
|
135
89
|
{
|
|
136
|
-
"
|
|
137
|
-
"
|
|
90
|
+
"type": "guideline",
|
|
91
|
+
"content": "The picker menu can be as tall as necessary to show as many options as possible in the available space. There is no maximum height."
|
|
138
92
|
},
|
|
139
93
|
{
|
|
140
|
-
"
|
|
141
|
-
"
|
|
94
|
+
"type": "guideline",
|
|
95
|
+
"content": "Every picker should have a label. A picker without a label is ambiguous and not accessible."
|
|
142
96
|
},
|
|
143
97
|
{
|
|
144
|
-
"
|
|
145
|
-
"
|
|
98
|
+
"type": "guideline",
|
|
99
|
+
"content": "In rare cases where context is sufficient and a label could be absent, make sure to have the design reviewed and approved by an accessibility expert. These should still include an aria-label in HTML (depending on the context, “aria-label” or “aria-labelledby”)."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "guideline",
|
|
103
|
+
"content": "Keep menu items short and concise. Long menu items that cause text to wrap to multiple lines are discouraged. If text wrapping becomes a frequent concern, consider revising the text or use alternative UI patterns that will give your content more space."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "guideline",
|
|
107
|
+
"content": "When possible, the field button width should be wide enough so that any chosen menu items can be displayed in full."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "guideline",
|
|
111
|
+
"content": "Field labels, placeholder text, and menu items should be in sentence case."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "guideline",
|
|
115
|
+
"content": "When labeling pickers in a form, only mark the minority type — either required or optional — to reduce visual clutter:"
|
|
146
116
|
},
|
|
147
117
|
{
|
|
148
|
-
"
|
|
149
|
-
"
|
|
118
|
+
"type": "guideline",
|
|
119
|
+
"content": "Never use an asterisk to indicate an optional picker."
|
|
150
120
|
},
|
|
151
121
|
{
|
|
152
|
-
"
|
|
153
|
-
"
|
|
122
|
+
"type": "guideline",
|
|
123
|
+
"content": "A picker’s description in the help text is can communicate what to select or how to select an option. This includes information such as:"
|
|
154
124
|
},
|
|
155
125
|
{
|
|
156
|
-
"
|
|
157
|
-
"
|
|
126
|
+
"type": "guideline",
|
|
127
|
+
"content": "The help text’s message should not simply restate the same information in the label in order to prompt someone to interact with a picker. Don’t add help text if it isn’t actually relevant or meaningful to a user in order to try to maintain layout continuity with other inputs that require help text."
|
|
158
128
|
},
|
|
159
129
|
{
|
|
160
|
-
"
|
|
161
|
-
"
|
|
130
|
+
"type": "guideline",
|
|
131
|
+
"content": "The help text area also displays an error message. When a picker already includes help text and an error is triggered, the help text is replaced with error text. Once the error is resolved, the help text description reappears below the picker."
|
|
162
132
|
},
|
|
163
133
|
{
|
|
164
|
-
"
|
|
165
|
-
"
|
|
134
|
+
"type": "guideline",
|
|
135
|
+
"content": "Since one gets replaced by the other, the language of the help text and error text need to work together to convey the same messaging. Help text explains the requirement or adds supplementary context for how to complete the interaction. Error text tells a user how to fix the error by re-stating the selection requirements or describing the necessary interaction. Make sure that the help text and the error text include the same essential information so that it isn’t lost if one replaces the other like minimum requirements."
|
|
166
136
|
},
|
|
167
137
|
{
|
|
168
|
-
"
|
|
169
|
-
"
|
|
138
|
+
"type": "guideline",
|
|
139
|
+
"content": "Write error messaging in a human-centered way by guiding a user and showing them a solution — don’t simply state what’s wrong and then leave them guessing as to how to resolve it. Ambiguous error messages can be frustrating and even shame-inducing for users. Also, keep in mind that something that a system may deem an error may not actually be perceived as an error to a user."
|
|
170
140
|
},
|
|
171
141
|
{
|
|
172
|
-
"
|
|
173
|
-
"
|
|
142
|
+
"type": "guideline",
|
|
143
|
+
"content": "Error text should be written in 1-2 short, complete sentences and in a clear and straightforward way. End sentences with a period, and never with an exclamation point. For pickers, the nature of the error is often related to something that needs to be fixed for in-line validation, so a helpful tone is most appropriate. For example, if someone were to miss selecting an option to note as their preferred contact method, write the error text like you’re offering a hint or a tip to help guide them to understand what needs to be selected: “Select a contact method.”"
|
|
174
144
|
},
|
|
175
145
|
{
|
|
176
|
-
"
|
|
177
|
-
"
|
|
146
|
+
"type": "guideline",
|
|
147
|
+
"content": "Placeholder text provides hints about expected input values. When implemented properly, it enhances usability without compromising accessibility."
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"options": {
|
|
151
|
+
"label": { "type": "string" },
|
|
152
|
+
"labelPosition": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"default": "top",
|
|
155
|
+
"values": [{ "value": "top" }, { "value": "side" }]
|
|
156
|
+
},
|
|
157
|
+
"placeholder": { "type": "string" },
|
|
158
|
+
"value": { "type": "string" },
|
|
159
|
+
"width": {
|
|
160
|
+
"type": "number",
|
|
161
|
+
"description": "Not applicable to quiet picker."
|
|
162
|
+
},
|
|
163
|
+
"size": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"default": "m",
|
|
166
|
+
"values": [
|
|
167
|
+
{ "value": "s" },
|
|
168
|
+
{ "value": "m" },
|
|
169
|
+
{ "value": "l" },
|
|
170
|
+
{ "value": "xl" }
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"isQuiet": { "type": "boolean", "default": false },
|
|
174
|
+
"necessityIndicator": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"default": "icon",
|
|
177
|
+
"values": [{ "value": "text" }, { "value": "icon" }]
|
|
178
|
+
},
|
|
179
|
+
"isRequired": { "type": "boolean", "default": false },
|
|
180
|
+
"menuContainer": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"default": "popover",
|
|
183
|
+
"values": [{ "value": "popover" }, { "value": "tray" }]
|
|
184
|
+
},
|
|
185
|
+
"isDisabled": { "type": "boolean", "default": false },
|
|
186
|
+
"isError": { "type": "boolean", "default": false },
|
|
187
|
+
"description": { "type": "string", "default": null },
|
|
188
|
+
"errorMessage": { "type": "string", "default": null }
|
|
189
|
+
},
|
|
190
|
+
"states": [
|
|
191
|
+
{ "name": "hover", "trigger": "interaction" },
|
|
192
|
+
{ "name": "focus-+-hover", "trigger": "prop" },
|
|
193
|
+
{ "name": "focus-+-not-hover", "trigger": "prop" },
|
|
194
|
+
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
195
|
+
],
|
|
196
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
197
|
+
"tokenBindings": [
|
|
198
|
+
{ "token": "field-default-width-small", "context": "Width (default)" },
|
|
199
|
+
{ "token": "field-default-width-medium", "context": "Width (default)" },
|
|
200
|
+
{ "token": "field-default-width-large", "context": "Width (default)" },
|
|
201
|
+
{
|
|
202
|
+
"token": "field-default-width-extra-large",
|
|
203
|
+
"context": "Width (default)"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"token": "picker-minimum-width-multiplier",
|
|
207
|
+
"context": "Width (minimum)"
|
|
178
208
|
},
|
|
209
|
+
{ "token": "component-height-75", "context": "Height" },
|
|
210
|
+
{ "token": "component-height-100", "context": "Height" },
|
|
211
|
+
{ "token": "component-height-200", "context": "Height" },
|
|
212
|
+
{ "token": "component-height-300", "context": "Height" },
|
|
213
|
+
{ "token": "corner-radius-medium-size-small", "context": "Rounding" },
|
|
214
|
+
{ "token": "corner-radius-medium-size-medium", "context": "Rounding" },
|
|
215
|
+
{ "token": "corner-radius-medium-size-large", "context": "Rounding" },
|
|
216
|
+
{ "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
|
|
179
217
|
{
|
|
180
218
|
"token": "component-edge-to-text-75",
|
|
181
219
|
"context": "Spacing (start/end edge to value)"
|
|
@@ -196,14 +234,8 @@
|
|
|
196
234
|
"token": "field-edge-to-text-quiet",
|
|
197
235
|
"context": "Spacing (start/end edge to value)"
|
|
198
236
|
},
|
|
199
|
-
{
|
|
200
|
-
|
|
201
|
-
"context": "Focus indicator"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"token": "focus-indicator-gap",
|
|
205
|
-
"context": "Focus indicator"
|
|
206
|
-
},
|
|
237
|
+
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
238
|
+
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
207
239
|
{
|
|
208
240
|
"token": "component-size-difference-down",
|
|
209
241
|
"context": "Component size (down)"
|
|
@@ -216,22 +248,10 @@
|
|
|
216
248
|
"token": "component-size-minimum-perspective-down",
|
|
217
249
|
"context": "Component size (down)"
|
|
218
250
|
},
|
|
219
|
-
{
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"token": "workflow-icon-size-100",
|
|
225
|
-
"context": "Prefix min-width"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"token": "workflow-icon-size-200",
|
|
229
|
-
"context": "Prefix min-width"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"token": "workflow-icon-size-300",
|
|
233
|
-
"context": "Prefix min-width"
|
|
234
|
-
},
|
|
251
|
+
{ "token": "workflow-icon-size-75", "context": "Prefix min-width" },
|
|
252
|
+
{ "token": "workflow-icon-size-100", "context": "Prefix min-width" },
|
|
253
|
+
{ "token": "workflow-icon-size-200", "context": "Prefix min-width" },
|
|
254
|
+
{ "token": "workflow-icon-size-300", "context": "Prefix min-width" },
|
|
235
255
|
{
|
|
236
256
|
"token": "picker-end-edge-to-disclosure-icon-quiet",
|
|
237
257
|
"context": "Spacing (start/end edge to prefix)"
|
|
@@ -252,22 +272,10 @@
|
|
|
252
272
|
"token": "text-to-visual-300",
|
|
253
273
|
"context": "Spacing (prefix to value/placeholder)"
|
|
254
274
|
},
|
|
255
|
-
{
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"token": "chevron-icon-size-100",
|
|
261
|
-
"context": "Chevron/disclosure icon"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"token": "chevron-icon-size-200",
|
|
265
|
-
"context": "Chevron/disclosure icon"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"token": "chevron-icon-size-300",
|
|
269
|
-
"context": "Chevron/disclosure icon"
|
|
270
|
-
},
|
|
275
|
+
{ "token": "chevron-icon-size-75", "context": "Chevron/disclosure icon" },
|
|
276
|
+
{ "token": "chevron-icon-size-100", "context": "Chevron/disclosure icon" },
|
|
277
|
+
{ "token": "chevron-icon-size-200", "context": "Chevron/disclosure icon" },
|
|
278
|
+
{ "token": "chevron-icon-size-300", "context": "Chevron/disclosure icon" },
|
|
271
279
|
{
|
|
272
280
|
"token": "field-top-to-disclosure-icon-75",
|
|
273
281
|
"context": "Spacing (top/bottom to disclosure icon)"
|
|
@@ -404,154 +412,46 @@
|
|
|
404
412
|
"token": "field-top-to-progress-circle-extra-large",
|
|
405
413
|
"context": "Spacing (top/bottom edge to progress circle icon)"
|
|
406
414
|
},
|
|
407
|
-
{
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"token": "gray-200",
|
|
413
|
-
"context": "Background"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"token": "negative-border-color-default",
|
|
417
|
-
"context": "Border (error)"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"token": "negative-border-color-hover",
|
|
421
|
-
"context": "Border (error)"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"token": "negative-border-color-down",
|
|
425
|
-
"context": "Border (error)"
|
|
426
|
-
},
|
|
415
|
+
{ "token": "gray-100", "context": "Background" },
|
|
416
|
+
{ "token": "gray-200", "context": "Background" },
|
|
417
|
+
{ "token": "negative-border-color-default", "context": "Border (error)" },
|
|
418
|
+
{ "token": "negative-border-color-hover", "context": "Border (error)" },
|
|
419
|
+
{ "token": "negative-border-color-down", "context": "Border (error)" },
|
|
427
420
|
{
|
|
428
421
|
"token": "negative-border-color-focus-hover",
|
|
429
422
|
"context": "Border (error)"
|
|
430
423
|
},
|
|
431
|
-
{
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"token": "neutral-subdued-content-color-default",
|
|
465
|
-
"context": "Label"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"token": "negative-visual-color",
|
|
469
|
-
"context": "Alert icon"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"token": "disabled-background-color",
|
|
473
|
-
"context": "Disabled"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"token": "disabled-content-color",
|
|
477
|
-
"context": "Disabled"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"token": "focus-indicator-color",
|
|
481
|
-
"context": "Focus ring"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"token": "gray-700",
|
|
485
|
-
"context": "Prefix"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"token": "default-font-family",
|
|
489
|
-
"context": "Value"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"token": "regular-font-weight",
|
|
493
|
-
"context": "Value"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"token": "default-font-style",
|
|
497
|
-
"context": "Value"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"token": "component-s-regular",
|
|
501
|
-
"context": "Value"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"token": "component-m-regular",
|
|
505
|
-
"context": "Value"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"token": "component-l-regular",
|
|
509
|
-
"context": "Value"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"token": "component-xl-regular",
|
|
513
|
-
"context": "Value"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"token": "line-height-font-size-75",
|
|
517
|
-
"context": "Value"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"token": "line-height-font-size-100",
|
|
521
|
-
"context": "Value"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"token": "line-height-font-size-200",
|
|
525
|
-
"context": "Value"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"token": "line-height-font-size-300",
|
|
529
|
-
"context": "Value"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"token": "cjk-line-height-100",
|
|
533
|
-
"context": "Value"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"token": "medium-font-weight",
|
|
537
|
-
"context": "Prefix"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"token": "component-s-medium",
|
|
541
|
-
"context": "Prefix"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"token": "component-m-medium",
|
|
545
|
-
"context": "Prefix"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"token": "component-l-medium",
|
|
549
|
-
"context": "Prefix"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"token": "component-xl-medium",
|
|
553
|
-
"context": "Prefix"
|
|
554
|
-
}
|
|
424
|
+
{ "token": "negative-border-color-focus", "context": "Border (error)" },
|
|
425
|
+
{ "token": "negative-border-color-key-focus", "context": "Border (error)" },
|
|
426
|
+
{ "token": "neutral-content-color-default", "context": "Value" },
|
|
427
|
+
{ "token": "neutral-content-color-hover", "context": "Value" },
|
|
428
|
+
{ "token": "neutral-content-color-down", "context": "Value" },
|
|
429
|
+
{ "token": "neutral-content-color-focus-hover", "context": "Value" },
|
|
430
|
+
{ "token": "neutral-content-color-focus", "context": "Value" },
|
|
431
|
+
{ "token": "neutral-content-color-key-focus", "context": "Value" },
|
|
432
|
+
{ "token": "neutral-subdued-content-color-default", "context": "Label" },
|
|
433
|
+
{ "token": "negative-visual-color", "context": "Alert icon" },
|
|
434
|
+
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
435
|
+
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
436
|
+
{ "token": "focus-indicator-color", "context": "Focus ring" },
|
|
437
|
+
{ "token": "gray-700", "context": "Prefix" },
|
|
438
|
+
{ "token": "default-font-family", "context": "Value" },
|
|
439
|
+
{ "token": "regular-font-weight", "context": "Value" },
|
|
440
|
+
{ "token": "default-font-style", "context": "Value" },
|
|
441
|
+
{ "token": "component-s-regular", "context": "Value" },
|
|
442
|
+
{ "token": "component-m-regular", "context": "Value" },
|
|
443
|
+
{ "token": "component-l-regular", "context": "Value" },
|
|
444
|
+
{ "token": "component-xl-regular", "context": "Value" },
|
|
445
|
+
{ "token": "line-height-font-size-75", "context": "Value" },
|
|
446
|
+
{ "token": "line-height-font-size-100", "context": "Value" },
|
|
447
|
+
{ "token": "line-height-font-size-200", "context": "Value" },
|
|
448
|
+
{ "token": "line-height-font-size-300", "context": "Value" },
|
|
449
|
+
{ "token": "cjk-line-height-100", "context": "Value" },
|
|
450
|
+
{ "token": "medium-font-weight", "context": "Prefix" },
|
|
451
|
+
{ "token": "component-s-medium", "context": "Prefix" },
|
|
452
|
+
{ "token": "component-m-medium", "context": "Prefix" },
|
|
453
|
+
{ "token": "component-l-medium", "context": "Prefix" },
|
|
454
|
+
{ "token": "component-xl-medium", "context": "Prefix" }
|
|
555
455
|
],
|
|
556
456
|
"accessibility": {
|
|
557
457
|
"role": "combobox",
|
|
@@ -559,21 +459,9 @@
|
|
|
559
459
|
"focusable": true,
|
|
560
460
|
"keyboardIntents": ["expand", "collapse", "navigate-options"],
|
|
561
461
|
"wcag": [
|
|
562
|
-
{
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
"title": "Info and Relationships"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"criterion": "2.1.1",
|
|
569
|
-
"level": "A",
|
|
570
|
-
"title": "Keyboard"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"criterion": "4.1.2",
|
|
574
|
-
"level": "A",
|
|
575
|
-
"title": "Name, Role, Value"
|
|
576
|
-
}
|
|
462
|
+
{ "criterion": "1.3.1", "level": "A", "title": "Info and Relationships" },
|
|
463
|
+
{ "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
|
|
464
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
577
465
|
]
|
|
578
466
|
}
|
|
579
467
|
}
|