@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,128 +9,217 @@
|
|
|
9
9
|
"category": "inputs",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/combo-box/"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"type": "
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Combo boxes combine a text entry with a picker menu, allowing users to filter longer lists to only the selections matching a query."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Combo boxes combine a text field with a picker menu. They support filtering longer lists by narrowing options based on typed input. Use when both freeform entry and guided selection are needed."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "A combo box can be marked as having an error to show that a value needs to be entered or that a value is invalid, prompting the user to correct their input before moving forward."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "A combo box 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."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "Combo boxes have a read-only option for when content in the disabled state still needs to be shown. This allows for content to be copied, but not interacted with or changed. A combo box does not have a read-only option if no selection has been made."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "A combo box 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."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "A combo box 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."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "There are 3 options for how a combo box’s menu can be triggered: when a user starts typing (“input”), when focus is placed on the input field (“focus”), and manually when the user clicks or taps the field button (“manual”). These are used for different degrees of the information complexity and/or user familiarity of menu options."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "By default, the menu is triggered when a user starts typing. This should be used when the content is readily familiar or commonplace enough to a user that they can begin populating values without seeing a list of all available options."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "guideline",
|
|
51
|
+
"content": "If the content of the combo box is unfamiliar or complex, the menu should be triggered when focus is placed on the input field because a user would benefit from seeing example content before selecting a value."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "guideline",
|
|
55
|
+
"content": "If the content of the combo box is highly familiar and autocomplete is sufficient to surface options, the menu can be set to trigger manually."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "guideline",
|
|
59
|
+
"content": "Combo boxes can automatically complete suggested results within the input field."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "guideline",
|
|
63
|
+
"content": "Combo boxes can be marked as optional or required, depending on the situation. For required combo boxes, there are two styling options: a “(required)” label or an asterisk. If you use an asterisk, be sure to include hint text to explain what the asterisk means. Optional combo boxes are either denoted with text added to the end of the label — “(optional)” — or have no indication at all."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "guideline",
|
|
67
|
+
"content": "Combo boxes 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."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "guideline",
|
|
71
|
+
"content": "The value shows a user’s entered text or the option they’ve selected."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "guideline",
|
|
75
|
+
"content": "Combo boxes should always have an accessible name, typically provided by a visible text label. In rare cases where context is sufficient and an accessibility expert has reviewed the design, the visible label may be hidden. When no visible label is present, the input must still expose an accessible name (for example, in HTML via “aria-label” or “aria-labelledby,” and on other platforms via the platform’s accessible-name mechanism)."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "guideline",
|
|
79
|
+
"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."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
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."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "guideline",
|
|
87
|
+
"content": "When the help text is too long for the available horizontal space, it wraps to form another line."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "guideline",
|
|
91
|
+
"content": "The combo box menu can be as tall as necessary to show as many options as possible in the available space. There is no maximum height."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "guideline",
|
|
95
|
+
"content": "The text input functionality of the combo box is meant to make large lists easier to search. If you have fewer than 6 items, use radio buttons. If you have more than 6 items, consider whether your list of selections is complex enough to merit searching and filtering. If it's not complex enough for a combo box, you can use a picker."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "guideline",
|
|
99
|
+
"content": "It’s okay to suppress the popover when the combo box contains entries the user is familiar with, and when autocomplete is enabled. A suppressed popover can still be opened when the field button containing the chevron is clicked."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "guideline",
|
|
103
|
+
"content": "Launch the popover immediately if your user is highly unfamiliar with the content in the combo box, or if the data is especially complex."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "guideline",
|
|
107
|
+
"content": "Launch the popover on text change if your user can get started typing without seeing a long list of options."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "guideline",
|
|
111
|
+
"content": "When a suggestion is appended to the end of typed text, it remains the selected value when focus leaves the field. This guards against the scenario when a user sees a word completed in a field, continues to another form component, and the failure to commit changes erases the suggestion."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "guideline",
|
|
115
|
+
"content": "When autocomplete is disabled, best matches get a hover style in the popover, but don’t get saved as a value unless they’re clicked on or \"Enter\" is pressed."
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "guideline",
|
|
119
|
+
"content": "Every combo box should have a label. A combo box without a label is ambiguous and not accessible. In rare cases where a label could be absent, make sure to have the design reviewed and approved by an accessibility expert."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "guideline",
|
|
123
|
+
"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."
|
|
15
124
|
},
|
|
125
|
+
{
|
|
126
|
+
"type": "guideline",
|
|
127
|
+
"content": "Choose a width for your combo boxes that is likely to accommodate the majority of selections available within it. When a combo box is in focus and the typed input exceeds the width of the field, push the leftmost text out of sight while allowing text to continue to be entered towards the chevron. When a combo box is deselected, truncate the selected entry with ellipsis before it collides with the chevron button."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "guideline",
|
|
131
|
+
"content": "Field labels, placeholder text, and menu items should be in sentence case."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "guideline",
|
|
135
|
+
"content": "When labeling combo boxes in a form, only mark the minority type—either required or optional—to reduce visual clutter:"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "guideline",
|
|
139
|
+
"content": "Important: Never use an asterisk to indicate an optional combo box."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "guideline",
|
|
143
|
+
"content": "The help text’s message should not simply restate the same information in the label in order to prompt someone to interact with it. 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."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "guideline",
|
|
147
|
+
"content": "Putting instructions for how to complete an input, requirements, or any other essential information into placeholder text is not accessible. Once a value is entered, placeholder text is no longer viewable; if someone is using an automatic form filler, they will never get the information in the placeholder text."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "guideline",
|
|
151
|
+
"content": "Instead of placeholder text, use the help text description to convey requirements or to show any formatting examples that would help user comprehension. If there's placeholder text and help text at the same time, it becomes redundant and distracting, especially if they're communicating the same thing."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"type": "guideline",
|
|
155
|
+
"content": "The help text area also displays an error message. When a combo box 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 field."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "guideline",
|
|
159
|
+
"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 successfully complete the input. Error text tells a user how to fix the error by re-stating the input 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."
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "guideline",
|
|
163
|
+
"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."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "guideline",
|
|
167
|
+
"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 combo boxes, 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 filling out a combo box that asks for them to choose a topic, write the error text like you’re offering a hint or a tip to help guide them to understand what needs to go in the missing field: “Choose at least one topic.”"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"options": {
|
|
171
|
+
"label": { "type": "string" },
|
|
16
172
|
"labelPosition": {
|
|
17
173
|
"type": "string",
|
|
18
174
|
"default": "top",
|
|
19
175
|
"values": [
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
{
|
|
24
|
-
"value": "side"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"value": "in line"
|
|
28
|
-
}
|
|
176
|
+
{ "value": "top" },
|
|
177
|
+
{ "value": "side" },
|
|
178
|
+
{ "value": "in line" }
|
|
29
179
|
]
|
|
30
180
|
},
|
|
31
|
-
"value": {
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
"width": {
|
|
35
|
-
"type": "number"
|
|
36
|
-
},
|
|
181
|
+
"value": { "type": "string" },
|
|
182
|
+
"width": { "type": "number" },
|
|
37
183
|
"size": {
|
|
38
184
|
"type": "string",
|
|
39
185
|
"default": "m",
|
|
40
186
|
"values": [
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"value": "m"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "l"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"value": "xl"
|
|
52
|
-
}
|
|
187
|
+
{ "value": "s" },
|
|
188
|
+
{ "value": "m" },
|
|
189
|
+
{ "value": "l" },
|
|
190
|
+
{ "value": "xl" }
|
|
53
191
|
]
|
|
54
192
|
},
|
|
55
|
-
"isRequired": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"default": false
|
|
58
|
-
},
|
|
193
|
+
"isRequired": { "type": "boolean", "default": false },
|
|
59
194
|
"necessityIndicator": {
|
|
60
195
|
"type": "string",
|
|
61
196
|
"default": "icon",
|
|
62
|
-
"values": [
|
|
63
|
-
{
|
|
64
|
-
"value": "text"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"value": "icon"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
"hasAutocomplete": {
|
|
72
|
-
"type": "boolean",
|
|
73
|
-
"default": false
|
|
197
|
+
"values": [{ "value": "text" }, { "value": "icon" }]
|
|
74
198
|
},
|
|
199
|
+
"hasAutocomplete": { "type": "boolean", "default": false },
|
|
75
200
|
"menuTrigger": {
|
|
76
201
|
"type": "string",
|
|
77
202
|
"default": "input",
|
|
78
203
|
"values": [
|
|
79
|
-
{
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
{
|
|
83
|
-
"value": "focus"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"value": "manual"
|
|
87
|
-
}
|
|
204
|
+
{ "value": "input" },
|
|
205
|
+
{ "value": "focus" },
|
|
206
|
+
{ "value": "manual" }
|
|
88
207
|
]
|
|
89
208
|
},
|
|
90
|
-
"isError": {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
"
|
|
95
|
-
"type": "boolean",
|
|
96
|
-
"default": false
|
|
97
|
-
},
|
|
98
|
-
"isReadOnly": {
|
|
99
|
-
"type": "boolean",
|
|
100
|
-
"default": false
|
|
101
|
-
},
|
|
102
|
-
"description": {
|
|
103
|
-
"type": "string"
|
|
104
|
-
},
|
|
105
|
-
"errorMessage": {
|
|
106
|
-
"type": "string"
|
|
107
|
-
}
|
|
209
|
+
"isError": { "type": "boolean", "default": false },
|
|
210
|
+
"isDisabled": { "type": "boolean", "default": false },
|
|
211
|
+
"isReadOnly": { "type": "boolean", "default": false },
|
|
212
|
+
"description": { "type": "string" },
|
|
213
|
+
"errorMessage": { "type": "string" }
|
|
108
214
|
},
|
|
109
215
|
"states": [
|
|
110
|
-
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "hover-(button-area)",
|
|
116
|
-
"trigger": "prop"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "focus-+-hover",
|
|
120
|
-
"trigger": "prop"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "focus-+-not-hover",
|
|
124
|
-
"trigger": "prop"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "keyboard-focus",
|
|
128
|
-
"trigger": "interaction"
|
|
129
|
-
}
|
|
216
|
+
{ "name": "hover-(text-area)", "trigger": "prop" },
|
|
217
|
+
{ "name": "hover-(button-area)", "trigger": "prop" },
|
|
218
|
+
{ "name": "focus-+-hover", "trigger": "prop" },
|
|
219
|
+
{ "name": "focus-+-not-hover", "trigger": "prop" },
|
|
220
|
+
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
130
221
|
],
|
|
131
|
-
"lifecycle": {
|
|
132
|
-
"introduced": "1.0.0-draft"
|
|
133
|
-
},
|
|
222
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
134
223
|
"tokenBindings": [
|
|
135
224
|
{
|
|
136
225
|
"token": "combo-box-visual-to-field-button-quiet",
|
|
@@ -160,18 +249,9 @@
|
|
|
160
249
|
"token": "component-top-to-text-100",
|
|
161
250
|
"context": "S2 Spacing (top/bottom edge to text: inline)"
|
|
162
251
|
},
|
|
163
|
-
{
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"token": "field-default-width-medium",
|
|
169
|
-
"context": "Width (default)"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"token": "field-default-width-large",
|
|
173
|
-
"context": "Width (default)"
|
|
174
|
-
},
|
|
252
|
+
{ "token": "field-default-width-small", "context": "Width (default)" },
|
|
253
|
+
{ "token": "field-default-width-medium", "context": "Width (default)" },
|
|
254
|
+
{ "token": "field-default-width-large", "context": "Width (default)" },
|
|
175
255
|
{
|
|
176
256
|
"token": "field-default-width-extra-large",
|
|
177
257
|
"context": "Width (default)"
|
|
@@ -180,38 +260,14 @@
|
|
|
180
260
|
"token": "combo-box-minimum-width-multiplier",
|
|
181
261
|
"context": "Width (minimum)"
|
|
182
262
|
},
|
|
183
|
-
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"token": "component-height-200",
|
|
193
|
-
"context": "Height"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"token": "component-height-300",
|
|
197
|
-
"context": "Height"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"token": "corner-radius-medium-size-small",
|
|
201
|
-
"context": "Rounding"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"token": "corner-radius-medium-size-medium",
|
|
205
|
-
"context": "Rounding"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"token": "corner-radius-medium-size-large",
|
|
209
|
-
"context": "Rounding"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"token": "corner-radius-medium-size-extra-large",
|
|
213
|
-
"context": "Rounding"
|
|
214
|
-
},
|
|
263
|
+
{ "token": "component-height-75", "context": "Height" },
|
|
264
|
+
{ "token": "component-height-100", "context": "Height" },
|
|
265
|
+
{ "token": "component-height-200", "context": "Height" },
|
|
266
|
+
{ "token": "component-height-300", "context": "Height" },
|
|
267
|
+
{ "token": "corner-radius-medium-size-small", "context": "Rounding" },
|
|
268
|
+
{ "token": "corner-radius-medium-size-medium", "context": "Rounding" },
|
|
269
|
+
{ "token": "corner-radius-medium-size-large", "context": "Rounding" },
|
|
270
|
+
{ "token": "corner-radius-medium-size-extra-large", "context": "Rounding" },
|
|
215
271
|
{
|
|
216
272
|
"token": "component-edge-to-text-75",
|
|
217
273
|
"context": "Spacing (start/end edge to value)"
|
|
@@ -228,22 +284,10 @@
|
|
|
228
284
|
"token": "component-edge-to-text-300",
|
|
229
285
|
"context": "Spacing (start/end edge to value)"
|
|
230
286
|
},
|
|
231
|
-
{
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"token": "workflow-icon-size-100",
|
|
237
|
-
"context": "Prefix min-width"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"token": "workflow-icon-size-200",
|
|
241
|
-
"context": "Prefix min-width"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"token": "workflow-icon-size-300",
|
|
245
|
-
"context": "Prefix min-width"
|
|
246
|
-
},
|
|
287
|
+
{ "token": "workflow-icon-size-75", "context": "Prefix min-width" },
|
|
288
|
+
{ "token": "workflow-icon-size-100", "context": "Prefix min-width" },
|
|
289
|
+
{ "token": "workflow-icon-size-200", "context": "Prefix min-width" },
|
|
290
|
+
{ "token": "workflow-icon-size-300", "context": "Prefix min-width" },
|
|
247
291
|
{
|
|
248
292
|
"token": "text-to-visual-75",
|
|
249
293
|
"context": "Spacing (prefix to value/placeholder)"
|
|
@@ -260,18 +304,9 @@
|
|
|
260
304
|
"token": "text-to-visual-300",
|
|
261
305
|
"context": "Spacing (prefix to value/placeholder)"
|
|
262
306
|
},
|
|
263
|
-
{
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"token": "focus-indicator-thickness",
|
|
269
|
-
"context": "Focus indicator"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"token": "focus-indicator-gap",
|
|
273
|
-
"context": "Focus indicator"
|
|
274
|
-
},
|
|
307
|
+
{ "token": "border-width-200", "context": "Border" },
|
|
308
|
+
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
309
|
+
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
275
310
|
{
|
|
276
311
|
"token": "combo-box-visual-to-field-button",
|
|
277
312
|
"context": "Spacing (alert icon/in-field progress circle to field button)"
|
|
@@ -352,158 +387,50 @@
|
|
|
352
387
|
"token": "field-top-to-progress-circle-extra-large",
|
|
353
388
|
"context": "Spacing (top/bottom edge to in-field progress circle icon)"
|
|
354
389
|
},
|
|
355
|
-
{
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"token": "gray-300",
|
|
361
|
-
"context": "Background and border"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"token": "gray-400",
|
|
365
|
-
"context": "Background and border"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"token": "gray-900",
|
|
369
|
-
"context": "Background and border"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"token": "gray-800",
|
|
373
|
-
"context": "Background and border"
|
|
374
|
-
},
|
|
390
|
+
{ "token": "gray-25", "context": "Background and border" },
|
|
391
|
+
{ "token": "gray-300", "context": "Background and border" },
|
|
392
|
+
{ "token": "gray-400", "context": "Background and border" },
|
|
393
|
+
{ "token": "gray-900", "context": "Background and border" },
|
|
394
|
+
{ "token": "gray-800", "context": "Background and border" },
|
|
375
395
|
{
|
|
376
396
|
"token": "neutral-subdued-content-color-default",
|
|
377
397
|
"context": "Background and border"
|
|
378
398
|
},
|
|
379
|
-
{
|
|
380
|
-
|
|
381
|
-
"context": "Border (error)"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"token": "negative-border-color-hover",
|
|
385
|
-
"context": "Border (error)"
|
|
386
|
-
},
|
|
399
|
+
{ "token": "negative-border-color-default", "context": "Border (error)" },
|
|
400
|
+
{ "token": "negative-border-color-hover", "context": "Border (error)" },
|
|
387
401
|
{
|
|
388
402
|
"token": "negative-border-color-focus-hover",
|
|
389
403
|
"context": "Border (error)"
|
|
390
404
|
},
|
|
391
|
-
{
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"token": "negative-visual-color",
|
|
421
|
-
"context": "Alert icon"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"token": "disabled-content-color",
|
|
425
|
-
"context": "Disabled"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"token": "disabled-border-color",
|
|
429
|
-
"context": "Disabled"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"token": "disabled-background-color",
|
|
433
|
-
"context": "Disabled"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"token": "focus-indicator-color",
|
|
437
|
-
"context": "Focus ring"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"token": "default-font-family",
|
|
441
|
-
"context": "Value"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"token": "regular-font-weight",
|
|
445
|
-
"context": "Value"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"token": "default-font-style",
|
|
449
|
-
"context": "Value"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"token": "component-s-regular",
|
|
453
|
-
"context": "Value"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"token": "component-m-regular",
|
|
457
|
-
"context": "Value"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"token": "component-l-regular",
|
|
461
|
-
"context": "Value"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"token": "component-xl-regular",
|
|
465
|
-
"context": "Value"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"token": "line-height-font-size-75",
|
|
469
|
-
"context": "Value"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"token": "line-height-font-size-100",
|
|
473
|
-
"context": "Value"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"token": "line-height-font-size-200",
|
|
477
|
-
"context": "Value"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"token": "line-height-font-size-300",
|
|
481
|
-
"context": "Value"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"token": "cjk-line-height-100",
|
|
485
|
-
"context": "Value"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"token": "medium-font-weight",
|
|
489
|
-
"context": "Prefix"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"token": "component-s-medium",
|
|
493
|
-
"context": "Prefix"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"token": "component-m-medium",
|
|
497
|
-
"context": "Prefix"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"token": "component-l-medium",
|
|
501
|
-
"context": "Prefix"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"token": "component-xl-medium",
|
|
505
|
-
"context": "Prefix"
|
|
506
|
-
},
|
|
405
|
+
{ "token": "negative-border-color-focus", "context": "Border (error)" },
|
|
406
|
+
{ "token": "negative-border-color-key-focus", "context": "Border (error)" },
|
|
407
|
+
{ "token": "neutral-content-color-default", "context": "Value" },
|
|
408
|
+
{ "token": "neutral-content-color-hover", "context": "Value" },
|
|
409
|
+
{ "token": "neutral-content-color-focus-hover", "context": "Value" },
|
|
410
|
+
{ "token": "neutral-content-color-focus", "context": "Value" },
|
|
411
|
+
{ "token": "neutral-content-color-key-focus", "context": "Value" },
|
|
412
|
+
{ "token": "negative-visual-color", "context": "Alert icon" },
|
|
413
|
+
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
414
|
+
{ "token": "disabled-border-color", "context": "Disabled" },
|
|
415
|
+
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
416
|
+
{ "token": "focus-indicator-color", "context": "Focus ring" },
|
|
417
|
+
{ "token": "default-font-family", "context": "Value" },
|
|
418
|
+
{ "token": "regular-font-weight", "context": "Value" },
|
|
419
|
+
{ "token": "default-font-style", "context": "Value" },
|
|
420
|
+
{ "token": "component-s-regular", "context": "Value" },
|
|
421
|
+
{ "token": "component-m-regular", "context": "Value" },
|
|
422
|
+
{ "token": "component-l-regular", "context": "Value" },
|
|
423
|
+
{ "token": "component-xl-regular", "context": "Value" },
|
|
424
|
+
{ "token": "line-height-font-size-75", "context": "Value" },
|
|
425
|
+
{ "token": "line-height-font-size-100", "context": "Value" },
|
|
426
|
+
{ "token": "line-height-font-size-200", "context": "Value" },
|
|
427
|
+
{ "token": "line-height-font-size-300", "context": "Value" },
|
|
428
|
+
{ "token": "cjk-line-height-100", "context": "Value" },
|
|
429
|
+
{ "token": "medium-font-weight", "context": "Prefix" },
|
|
430
|
+
{ "token": "component-s-medium", "context": "Prefix" },
|
|
431
|
+
{ "token": "component-m-medium", "context": "Prefix" },
|
|
432
|
+
{ "token": "component-l-medium", "context": "Prefix" },
|
|
433
|
+
{ "token": "component-xl-medium", "context": "Prefix" },
|
|
507
434
|
{
|
|
508
435
|
"token": "field-label-top-to-asterisk-large",
|
|
509
436
|
"context": "Spacing (top/bottom edge to required)"
|
|
@@ -512,10 +439,7 @@
|
|
|
512
439
|
"token": "field-label-top-to-asterisk-extra-large",
|
|
513
440
|
"context": "Spacing (top/bottom edge to required)"
|
|
514
441
|
},
|
|
515
|
-
{
|
|
516
|
-
"token": "gray-600",
|
|
517
|
-
"context": "Label (populated true/false)"
|
|
518
|
-
}
|
|
442
|
+
{ "token": "gray-600", "context": "Label (populated true/false)" }
|
|
519
443
|
],
|
|
520
444
|
"accessibility": {
|
|
521
445
|
"role": "combobox",
|
|
@@ -523,21 +447,9 @@
|
|
|
523
447
|
"focusable": true,
|
|
524
448
|
"keyboardIntents": ["expand", "collapse", "navigate-options"],
|
|
525
449
|
"wcag": [
|
|
526
|
-
{
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
"title": "Info and Relationships"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"criterion": "2.1.1",
|
|
533
|
-
"level": "A",
|
|
534
|
-
"title": "Keyboard"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"criterion": "4.1.2",
|
|
538
|
-
"level": "A",
|
|
539
|
-
"title": "Name, Role, Value"
|
|
540
|
-
}
|
|
450
|
+
{ "criterion": "1.3.1", "level": "A", "title": "Info and Relationships" },
|
|
451
|
+
{ "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
|
|
452
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
541
453
|
]
|
|
542
454
|
}
|
|
543
455
|
}
|