@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
package/components/menu.json
CHANGED
|
@@ -9,176 +9,198 @@
|
|
|
9
9
|
"category": "actions",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/menu/"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"type": "
|
|
15
|
-
"
|
|
16
|
-
{
|
|
17
|
-
"value": "popover"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"value": "tray"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Menus help users take actions, choose from a list of options, configure settings, and more. They can be placed in a transient container, like a popover or tray."
|
|
23
16
|
},
|
|
24
|
-
|
|
25
|
-
"type": "
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "A disabled menu item indicates that an option exists but isn’t available in the current context. This helps preserve layout consistency and signals that the action might be available later."
|
|
26
20
|
},
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "An unavailable menu item signals that an option exists but isn’t accessible in the current scenario. This helps ensure the label remains visible and provides context about why the option is unavailable, or directions for how to make it available."
|
|
30
24
|
},
|
|
31
|
-
|
|
32
|
-
"type": "
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Displays submenus in a collapsed, nested format within the parent menu container. Works with both popover and tray styles. When using a tray, set a fixed height to avoid disorienting shifts when items expand or collapse."
|
|
33
28
|
},
|
|
34
|
-
|
|
35
|
-
"type": "
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "Use a section header when a menu section requires a label or descriptor. Section headers are helpful when two or more sections differ in function or context, making it easier for users to understand the structure."
|
|
36
32
|
},
|
|
37
|
-
|
|
38
|
-
"type": "
|
|
39
|
-
"
|
|
40
|
-
"values": [
|
|
41
|
-
{
|
|
42
|
-
"value": "s"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"value": "m"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "l"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"value": "xl"
|
|
52
|
-
}
|
|
53
|
-
]
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "When the selection option is enabled, the selection can be displayed using checkmarks, checkboxes or switches. Switches are more commonly used on mobile."
|
|
54
36
|
},
|
|
55
|
-
|
|
56
|
-
"type": "
|
|
57
|
-
"
|
|
58
|
-
{
|
|
59
|
-
"value": "single"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"value": "multiple"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"value": "no selection"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "A menu section has the options of single selection, multiple selection, or having no selection. By default, menu items have no selection, and perform an action on press."
|
|
68
40
|
},
|
|
69
|
-
|
|
70
|
-
"type": "
|
|
71
|
-
"
|
|
72
|
-
{
|
|
73
|
-
"value": "checkbox"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"value": "switch"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "For single selection menu sections, menu items show a single checkmark to indicate the selected item. Multiple selection menu sections can display checkboxes or switches beside each menu item."
|
|
79
44
|
},
|
|
80
|
-
|
|
81
|
-
"type": "
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "Menus come in four different sizes: small, medium, large, and extra-large. Medium is the default and most commonly used. Menu sizes should correspond to the size of the menu trigger component (like an action button), and any embedded components (like switches) should follow suit."
|
|
82
48
|
},
|
|
83
|
-
|
|
84
|
-
"type": "
|
|
85
|
-
"
|
|
49
|
+
{
|
|
50
|
+
"type": "guideline",
|
|
51
|
+
"content": "Use the other sizes sparingly; they should be used to create a hierarchy of importance within the page."
|
|
86
52
|
},
|
|
87
|
-
|
|
88
|
-
"type": "
|
|
89
|
-
"
|
|
53
|
+
{
|
|
54
|
+
"type": "guideline",
|
|
55
|
+
"content": "A menu item can display a related value in the value area. Examples of values include the selected option from a submenu, a keyboard shortcut for the action, or other content that clarifies the menu item."
|
|
90
56
|
},
|
|
91
|
-
"isDisabled": {
|
|
92
|
-
"type": "boolean",
|
|
93
|
-
"default": false
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"states": [
|
|
97
57
|
{
|
|
98
|
-
"
|
|
99
|
-
"
|
|
58
|
+
"type": "guideline",
|
|
59
|
+
"content": "Menu items can include description text to provide extra clarity beyond the label. Descriptions help users understand the action and make informed choices."
|
|
100
60
|
},
|
|
101
61
|
{
|
|
102
|
-
"
|
|
103
|
-
"
|
|
62
|
+
"type": "guideline",
|
|
63
|
+
"content": "Avoid cluttering items with repetitive details or promotional content."
|
|
104
64
|
},
|
|
105
65
|
{
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"lifecycle": {
|
|
111
|
-
"introduced": "1.0.0-draft"
|
|
112
|
-
},
|
|
113
|
-
"tokenBindings": [
|
|
66
|
+
"type": "guideline",
|
|
67
|
+
"content": "Menu items can include icons, but only when they add meaningful context — not just for decoration. Use icons when they have a strong, recognizable association with the label (like tool switching in a toolbar)."
|
|
68
|
+
},
|
|
114
69
|
{
|
|
115
|
-
"
|
|
116
|
-
"
|
|
70
|
+
"type": "guideline",
|
|
71
|
+
"content": "A menu item must include a label that clearly communicates the action or option it represents."
|
|
117
72
|
},
|
|
118
73
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
74
|
+
"type": "guideline",
|
|
75
|
+
"content": "On desktop, menus are shown in a popover by default. On mobile, popovers can be used when appropriate. Submenus cascade in a separate popover by default."
|
|
121
76
|
},
|
|
122
77
|
{
|
|
123
|
-
"
|
|
124
|
-
"
|
|
78
|
+
"type": "guideline",
|
|
79
|
+
"content": "When a menu item includes a submenu, a drill-in chevron appears at the end of the item to indicate that additional options are available."
|
|
125
80
|
},
|
|
126
81
|
{
|
|
127
|
-
"
|
|
128
|
-
"
|
|
82
|
+
"type": "guideline",
|
|
83
|
+
"content": "When a menu item leads to a different context, such as a new page or dialog, a link-out icon appears at the end of the item to indicate that the user will navigate away from the current view."
|
|
129
84
|
},
|
|
130
85
|
{
|
|
131
|
-
"
|
|
132
|
-
"
|
|
86
|
+
"type": "guideline",
|
|
87
|
+
"content": "When a menu is displayed within popovers, a submenu will appear adjacent to the parent menu item in a separate popover. The submenu popover is aligned with an offset to horizontally overlap the parent menu and vertically align the first submenu item with the parent menu item."
|
|
133
88
|
},
|
|
134
89
|
{
|
|
135
|
-
"
|
|
136
|
-
"
|
|
90
|
+
"type": "guideline",
|
|
91
|
+
"content": "When a menu is shown in a popover, any submenu appears in a separate popover next to the parent item. The submenu popover is positioned to overlap the parent menu horizontally, with vertical alignment that matches the first submenu item to its parent."
|
|
137
92
|
},
|
|
138
93
|
{
|
|
139
|
-
"
|
|
140
|
-
"
|
|
94
|
+
"type": "guideline",
|
|
95
|
+
"content": "When a menu is shown in a tray, selecting a parent item with a submenu replaces the tray’s content with the submenu. A back button labeled with the parent item’s title appears at the top of the tray to let users return to the previous menu level."
|
|
141
96
|
},
|
|
142
97
|
{
|
|
143
|
-
"
|
|
144
|
-
"
|
|
98
|
+
"type": "guideline",
|
|
99
|
+
"content": "A menu item can be navigated using a keyboard. The keyboard focus state takes the menu item’s visual hover state and adds a focus ring around the item."
|
|
145
100
|
},
|
|
146
101
|
{
|
|
147
|
-
"
|
|
148
|
-
"
|
|
102
|
+
"type": "guideline",
|
|
103
|
+
"content": "When a menu item’s label or description are too long for the available horizontal space, they wrap to form another line."
|
|
149
104
|
},
|
|
150
105
|
{
|
|
151
|
-
"
|
|
152
|
-
"
|
|
106
|
+
"type": "guideline",
|
|
107
|
+
"content": "Dividers appear between sections when two or more sections are used within the same menu."
|
|
153
108
|
},
|
|
154
109
|
{
|
|
155
|
-
"
|
|
156
|
-
"
|
|
110
|
+
"type": "guideline",
|
|
111
|
+
"content": "In Windows high contrast mode, menu items should display with default text color. Selected items should have the background and text colors defined for selected text."
|
|
157
112
|
},
|
|
158
113
|
{
|
|
159
|
-
"
|
|
160
|
-
"
|
|
114
|
+
"type": "guideline",
|
|
115
|
+
"content": "Menus should be sized according to the component being used as the menu trigger. All submenus within the menu should also be using the same size as the menu trigger."
|
|
161
116
|
},
|
|
162
117
|
{
|
|
163
|
-
"
|
|
164
|
-
"
|
|
118
|
+
"type": "guideline",
|
|
119
|
+
"content": "Following Adobe’s UX writing style, write menu items in sentence case unless they contain words that are branded terms."
|
|
165
120
|
},
|
|
166
121
|
{
|
|
167
|
-
"
|
|
168
|
-
"
|
|
122
|
+
"type": "guideline",
|
|
123
|
+
"content": "Don’t end a menu command with an ellipsis (…) unless it requires additional input to complete the action, typically in a dialog."
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"options": {
|
|
127
|
+
"container": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"values": [{ "value": "popover" }, { "value": "tray" }]
|
|
130
|
+
},
|
|
131
|
+
"label": { "type": "string" },
|
|
132
|
+
"icon": {
|
|
133
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
|
|
134
|
+
"description": "Icon must be present if the label is not defined."
|
|
135
|
+
},
|
|
136
|
+
"description": { "type": "string" },
|
|
137
|
+
"value": { "type": "string" },
|
|
138
|
+
"size": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"default": "m",
|
|
141
|
+
"values": [
|
|
142
|
+
{ "value": "s" },
|
|
143
|
+
{ "value": "m" },
|
|
144
|
+
{ "value": "l" },
|
|
145
|
+
{ "value": "xl" }
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"selectionMode": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"values": [
|
|
151
|
+
{ "value": "single" },
|
|
152
|
+
{ "value": "multiple" },
|
|
153
|
+
{ "value": "no selection" }
|
|
154
|
+
]
|
|
169
155
|
},
|
|
156
|
+
"selectionStyle": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"values": [{ "value": "checkbox" }, { "value": "switch" }]
|
|
159
|
+
},
|
|
160
|
+
"sectionHeader": { "type": "string" },
|
|
161
|
+
"isCollapsible": { "type": "boolean", "default": false },
|
|
162
|
+
"isUnavailable": { "type": "boolean", "default": false },
|
|
163
|
+
"isDisabled": { "type": "boolean", "default": false }
|
|
164
|
+
},
|
|
165
|
+
"states": [
|
|
166
|
+
{ "name": "hover", "trigger": "interaction" },
|
|
167
|
+
{ "name": "down", "trigger": "interaction" },
|
|
168
|
+
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
169
|
+
],
|
|
170
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
171
|
+
"tokenBindings": [
|
|
170
172
|
{
|
|
171
|
-
"token": "
|
|
172
|
-
"context": "
|
|
173
|
+
"token": "popover-submenu-to-menu-item-position",
|
|
174
|
+
"context": "Sub-menu alignment with menu item"
|
|
173
175
|
},
|
|
176
|
+
{ "token": "component-height-75", "context": "Minimum height" },
|
|
177
|
+
{ "token": "component-height-100", "context": "Minimum height" },
|
|
178
|
+
{ "token": "component-height-200", "context": "Minimum height" },
|
|
179
|
+
{ "token": "component-height-300", "context": "Minimum height" },
|
|
174
180
|
{
|
|
175
|
-
"token": "
|
|
176
|
-
"context": "
|
|
181
|
+
"token": "component-size-difference-down",
|
|
182
|
+
"context": "Component size (down)"
|
|
177
183
|
},
|
|
178
184
|
{
|
|
179
|
-
"token": "
|
|
180
|
-
"context": "
|
|
185
|
+
"token": "component-size-width-ratio-down",
|
|
186
|
+
"context": "Component size (down)"
|
|
181
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"token": "component-size-minimum-perspective-down",
|
|
190
|
+
"context": "Component size (down)"
|
|
191
|
+
},
|
|
192
|
+
{ "token": "corner-radius-400", "context": "Rounding" },
|
|
193
|
+
{ "token": "corner-radius-500", "context": "Rounding" },
|
|
194
|
+
{ "token": "corner-radius-600", "context": "Rounding" },
|
|
195
|
+
{ "token": "corner-radius-700", "context": "Rounding" },
|
|
196
|
+
{
|
|
197
|
+
"token": "menu-item-section-divider-height",
|
|
198
|
+
"context": "Height (section divider)"
|
|
199
|
+
},
|
|
200
|
+
{ "token": "text-to-visual-75", "context": "Spacing (icon to label)" },
|
|
201
|
+
{ "token": "text-to-visual-100", "context": "Spacing (icon to label)" },
|
|
202
|
+
{ "token": "text-to-visual-200", "context": "Spacing (icon to label)" },
|
|
203
|
+
{ "token": "text-to-visual-300", "context": "Spacing (icon to label)" },
|
|
182
204
|
{
|
|
183
205
|
"token": "component-top-to-workflow-icon-75",
|
|
184
206
|
"context": "Spacing (top edge to icon)"
|
|
@@ -195,10 +217,7 @@
|
|
|
195
217
|
"token": "component-top-to-workflow-icon-300",
|
|
196
218
|
"context": "Spacing (top edge to icon)"
|
|
197
219
|
},
|
|
198
|
-
{
|
|
199
|
-
"token": "menu-item-to-items",
|
|
200
|
-
"context": "Spacing (item to item)"
|
|
201
|
-
},
|
|
220
|
+
{ "token": "menu-item-to-items", "context": "Spacing (item to item)" },
|
|
202
221
|
{
|
|
203
222
|
"token": "component-edge-to-text-75",
|
|
204
223
|
"context": "Spacing (start/end edges to content)"
|
|
@@ -367,30 +386,12 @@
|
|
|
367
386
|
"token": "menu-item-top-to-disclosure-icon-extra-large",
|
|
368
387
|
"context": "Spacing (top edge to disclosure icon)"
|
|
369
388
|
},
|
|
370
|
-
{
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
|
|
376
|
-
"context": "Focus indicator"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"token": "workflow-icon-size-75",
|
|
380
|
-
"context": "Icon (menu item)"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"token": "workflow-icon-size-100",
|
|
384
|
-
"context": "Icon (menu item)"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"token": "workflow-icon-size-200",
|
|
388
|
-
"context": "Icon (menu item)"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"token": "workflow-icon-size-300",
|
|
392
|
-
"context": "Icon (menu item)"
|
|
393
|
-
},
|
|
389
|
+
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
390
|
+
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
391
|
+
{ "token": "workflow-icon-size-75", "context": "Icon (menu item)" },
|
|
392
|
+
{ "token": "workflow-icon-size-100", "context": "Icon (menu item)" },
|
|
393
|
+
{ "token": "workflow-icon-size-200", "context": "Icon (menu item)" },
|
|
394
|
+
{ "token": "workflow-icon-size-300", "context": "Icon (menu item)" },
|
|
394
395
|
{
|
|
395
396
|
"token": "checkmark-icon-size-75",
|
|
396
397
|
"context": "Icon (single selection, selected menu item)"
|
|
@@ -435,66 +436,24 @@
|
|
|
435
436
|
"token": "link-out-icon-size-200",
|
|
436
437
|
"context": "Icon (external link action, menu item)"
|
|
437
438
|
},
|
|
438
|
-
{
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"token": "thumbnail-size-800",
|
|
448
|
-
"context": "Thumbnail"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"token": "thumbnail-size-900",
|
|
452
|
-
"context": "Thumbnail"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"token": "menu-item-background-color-default",
|
|
456
|
-
"context": "Background"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"token": "menu-item-background-color-hover",
|
|
460
|
-
"context": "Background"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"token": "menu-item-background-color-down",
|
|
464
|
-
"context": "Background"
|
|
465
|
-
},
|
|
439
|
+
{ "token": "thumbnail-size-500", "context": "Thumbnail" },
|
|
440
|
+
{ "token": "thumbnail-size-700", "context": "Thumbnail" },
|
|
441
|
+
{ "token": "thumbnail-size-800", "context": "Thumbnail" },
|
|
442
|
+
{ "token": "thumbnail-size-900", "context": "Thumbnail" },
|
|
443
|
+
{ "token": "menu-item-background-color-default", "context": "Background" },
|
|
444
|
+
{ "token": "menu-item-background-color-hover", "context": "Background" },
|
|
445
|
+
{ "token": "menu-item-background-color-down", "context": "Background" },
|
|
466
446
|
{
|
|
467
447
|
"token": "menu-item-background-color-key-focus",
|
|
468
448
|
"context": "Background"
|
|
469
449
|
},
|
|
470
|
-
{
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"token": "neutral-content-color-default",
|
|
480
|
-
"context": "Label and icon"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"token": "neutral-content-color-hover",
|
|
484
|
-
"context": "Label and icon"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"token": "neutral-content-color-down",
|
|
488
|
-
"context": "Label and icon"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"token": "neutral-content-color-key-focus",
|
|
492
|
-
"context": "Label and icon"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"token": "disabled-content-color",
|
|
496
|
-
"context": "Label and icon"
|
|
497
|
-
},
|
|
450
|
+
{ "token": "menu-item-background-color-disabled", "context": "Background" },
|
|
451
|
+
{ "token": "menu-item-background-opacity", "context": "Background" },
|
|
452
|
+
{ "token": "neutral-content-color-default", "context": "Label and icon" },
|
|
453
|
+
{ "token": "neutral-content-color-hover", "context": "Label and icon" },
|
|
454
|
+
{ "token": "neutral-content-color-down", "context": "Label and icon" },
|
|
455
|
+
{ "token": "neutral-content-color-key-focus", "context": "Label and icon" },
|
|
456
|
+
{ "token": "disabled-content-color", "context": "Label and icon" },
|
|
498
457
|
{
|
|
499
458
|
"token": "neutral-subdued-content-color-default",
|
|
500
459
|
"context": "Description"
|
|
@@ -503,70 +462,25 @@
|
|
|
503
462
|
"token": "neutral-subdued-content-color-hover",
|
|
504
463
|
"context": "Description"
|
|
505
464
|
},
|
|
506
|
-
{
|
|
507
|
-
"token": "neutral-subdued-content-color-down",
|
|
508
|
-
"context": "Description"
|
|
509
|
-
},
|
|
465
|
+
{ "token": "neutral-subdued-content-color-down", "context": "Description" },
|
|
510
466
|
{
|
|
511
467
|
"token": "neutral-subdued-content-color-key-focus",
|
|
512
468
|
"context": "Description"
|
|
513
469
|
},
|
|
514
|
-
{
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
|
|
528
|
-
"context": "Checkmark icon"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"token": "focus-indicator-color",
|
|
532
|
-
"context": "Focus indicator"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"token": "default-font-family",
|
|
536
|
-
"context": "Section header title"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"token": "bold-font-weight",
|
|
540
|
-
"context": "Section header title"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"token": "default-font-style",
|
|
544
|
-
"context": "Section header title"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"token": "font-size-75",
|
|
548
|
-
"context": "Section header title"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"token": "font-size-100",
|
|
552
|
-
"context": "Section header title"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"token": "font-size-200",
|
|
556
|
-
"context": "Section header title"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"token": "font-size-300",
|
|
560
|
-
"context": "Section header title"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"token": "line-height-100",
|
|
564
|
-
"context": "Section header title"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"token": "cjk-line-height-100",
|
|
568
|
-
"context": "Section header title"
|
|
569
|
-
},
|
|
470
|
+
{ "token": "accent-content-color-default", "context": "Checkmark icon" },
|
|
471
|
+
{ "token": "accent-content-color-hover", "context": "Checkmark icon" },
|
|
472
|
+
{ "token": "accent-content-color-down", "context": "Checkmark icon" },
|
|
473
|
+
{ "token": "accent-content-color-key-focus", "context": "Checkmark icon" },
|
|
474
|
+
{ "token": "focus-indicator-color", "context": "Focus indicator" },
|
|
475
|
+
{ "token": "default-font-family", "context": "Section header title" },
|
|
476
|
+
{ "token": "bold-font-weight", "context": "Section header title" },
|
|
477
|
+
{ "token": "default-font-style", "context": "Section header title" },
|
|
478
|
+
{ "token": "font-size-75", "context": "Section header title" },
|
|
479
|
+
{ "token": "font-size-100", "context": "Section header title" },
|
|
480
|
+
{ "token": "font-size-200", "context": "Section header title" },
|
|
481
|
+
{ "token": "font-size-300", "context": "Section header title" },
|
|
482
|
+
{ "token": "line-height-100", "context": "Section header title" },
|
|
483
|
+
{ "token": "cjk-line-height-100", "context": "Section header title" },
|
|
570
484
|
{
|
|
571
485
|
"token": "regular-font-weight",
|
|
572
486
|
"context": "Descriptions (section header and item)"
|
|
@@ -582,16 +496,8 @@
|
|
|
582
496
|
"focusable": false,
|
|
583
497
|
"keyboardIntents": ["navigate-options", "activate", "dismiss"],
|
|
584
498
|
"wcag": [
|
|
585
|
-
{
|
|
586
|
-
|
|
587
|
-
"level": "A",
|
|
588
|
-
"title": "Keyboard"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"criterion": "4.1.2",
|
|
592
|
-
"level": "A",
|
|
593
|
-
"title": "Name, Role, Value"
|
|
594
|
-
}
|
|
499
|
+
{ "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
|
|
500
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
595
501
|
]
|
|
596
502
|
}
|
|
597
503
|
}
|