@adobe/design-data-spec 1.5.0 → 2.0.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/conformance/invalid/SPEC-009/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-018/dataset.json +8 -1
- package/conformance/invalid/SPEC-034/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-035/expected-errors.json +1 -1
- package/package.json +5 -6
- package/rules/rules.yaml +8 -7
- package/schemas/component.schema.json +1 -1
- package/schemas/manifest.schema.json +1 -23
- package/schemas/platform-extension.json +79 -0
- package/schemas/registry-value.json +230 -0
- package/schemas/token.schema.json +1 -1
- package/spec/agent-surface.md +16 -14
- package/spec/anatomy-format.md +1 -1
- package/spec/cascade.md +1 -1
- package/spec/index.md +5 -5
- package/spec/mode-sets.md +1 -1
- package/spec/registry.md +6 -8
- package/spec/taxonomy.md +32 -32
- package/spec/token-format.md +11 -3
- package/components/accordion.json +0 -557
- package/components/action-bar.json +0 -214
- package/components/action-button.json +0 -522
- package/components/action-group.json +0 -134
- package/components/alert-banner.json +0 -134
- package/components/alert-dialog.json +0 -180
- package/components/avatar-group.json +0 -166
- package/components/avatar.json +0 -246
- package/components/badge.json +0 -594
- package/components/body.json +0 -54
- package/components/bottom-navigation-android.json +0 -72
- package/components/breadcrumbs.json +0 -307
- package/components/button-group.json +0 -86
- package/components/button.json +0 -586
- package/components/calendar.json +0 -133
- package/components/cards.json +0 -541
- package/components/checkbox-group.json +0 -91
- package/components/checkbox.json +0 -339
- package/components/close-button.json +0 -208
- package/components/coach-indicator.json +0 -105
- package/components/coach-mark.json +0 -169
- package/components/code.json +0 -44
- package/components/color-area.json +0 -138
- package/components/color-handle.json +0 -111
- package/components/color-loupe.json +0 -77
- package/components/color-slider.json +0 -165
- package/components/color-wheel.json +0 -117
- package/components/combo-box.json +0 -543
- package/components/contextual-help.json +0 -230
- package/components/date-picker.json +0 -471
- package/components/detail.json +0 -53
- package/components/divider.json +0 -93
- package/components/drop-zone.json +0 -238
- package/components/field-label.json +0 -219
- package/components/heading.json +0 -68
- package/components/help-text.json +0 -209
- package/components/illustrated-message.json +0 -175
- package/components/in-field-progress-button.json +0 -88
- package/components/in-field-progress-circle.json +0 -116
- package/components/in-line-alert.json +0 -233
- package/components/link.json +0 -167
- package/components/list-view.json +0 -382
- package/components/menu.json +0 -597
- package/components/meter.json +0 -199
- package/components/number-field.json +0 -518
- package/components/opacity-checkerboard.json +0 -69
- package/components/picker.json +0 -579
- package/components/popover.json +0 -174
- package/components/progress-bar.json +0 -229
- package/components/progress-circle.json +0 -132
- package/components/radio-button.json +0 -308
- package/components/radio-group.json +0 -113
- package/components/rating.json +0 -168
- package/components/scroll-zoom-bar.json +0 -82
- package/components/search-field.json +0 -346
- package/components/segmented-control.json +0 -248
- package/components/select-box.json +0 -272
- package/components/side-navigation.json +0 -320
- package/components/slider.json +0 -407
- package/components/standard-dialog.json +0 -179
- package/components/standard-panel.json +0 -83
- package/components/status-light.json +0 -334
- package/components/steplist.json +0 -294
- package/components/swatch-group.json +0 -114
- package/components/swatch.json +0 -240
- package/components/switch.json +0 -336
- package/components/tab-bar-ios.json +0 -72
- package/components/table.json +0 -435
- package/components/tabs.json +0 -253
- package/components/tag-field.json +0 -243
- package/components/tag-group.json +0 -87
- package/components/tag.json +0 -393
- package/components/takeover-dialog.json +0 -117
- package/components/text-area.json +0 -555
- package/components/text-field.json +0 -555
- package/components/thumbnail.json +0 -149
- package/components/title.json +0 -91
- package/components/toast.json +0 -156
- package/components/tooltip.json +0 -179
- package/components/tray.json +0 -32
- package/components/tree-view.json +0 -393
- package/fields/alignment.json +0 -15
- package/fields/anatomy.json +0 -15
- package/fields/color-scheme.json +0 -15
- package/fields/colorFamily.json +0 -15
- package/fields/component.json +0 -15
- package/fields/contrast.json +0 -15
- package/fields/density.json +0 -15
- package/fields/easing.json +0 -15
- package/fields/family.json +0 -15
- package/fields/motionRole.json +0 -15
- package/fields/object.json +0 -15
- package/fields/orientation.json +0 -15
- package/fields/position.json +0 -15
- package/fields/property.json +0 -15
- package/fields/scale.json +0 -15
- package/fields/scaleIndex.json +0 -15
- package/fields/shape.json +0 -15
- package/fields/size.json +0 -15
- package/fields/state.json +0 -15
- package/fields/structure.json +0 -15
- package/fields/style.json +0 -15
- package/fields/substructure.json +0 -15
- package/fields/variant.json +0 -15
- package/fields/weight.json +0 -15
package/components/tabs.json
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/tabs.json",
|
|
4
|
-
"specVersion": "1.0.0-draft",
|
|
5
|
-
"name": "tabs",
|
|
6
|
-
"displayName": "Tabs",
|
|
7
|
-
"description": "Tabs organize content into multiple sections and allow users to navigate between them. The content under the set of tabs should be related and form a coherent unit.",
|
|
8
|
-
"meta": {
|
|
9
|
-
"category": "navigation",
|
|
10
|
-
"documentationUrl": "https://spectrum.adobe.com/page/tabs/"
|
|
11
|
-
},
|
|
12
|
-
"options": {
|
|
13
|
-
"orientation": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"default": "horizontal",
|
|
16
|
-
"values": [
|
|
17
|
-
{
|
|
18
|
-
"value": "horizontal"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"value": "vertical"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"items": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"description": "An array of tab items.",
|
|
28
|
-
"items": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"label": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"description": "The text displayed for the tab item."
|
|
34
|
-
},
|
|
35
|
-
"isDisabled": {
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false,
|
|
38
|
-
"description": "Whether the tab is disabled."
|
|
39
|
-
},
|
|
40
|
-
"state": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"enum": ["default", "hover", "keyboard focus"],
|
|
43
|
-
"default": "default",
|
|
44
|
-
"description": "The interaction state of the tab item."
|
|
45
|
-
},
|
|
46
|
-
"contentVariant": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"enum": ["label-only", "icon-only", "icon-label"],
|
|
49
|
-
"default": "icon-label",
|
|
50
|
-
"description": "Controls whether the tab displays a label, an icon, or both."
|
|
51
|
-
},
|
|
52
|
-
"density": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"enum": ["compact", "regular"],
|
|
55
|
-
"default": "regular"
|
|
56
|
-
},
|
|
57
|
-
"isFluid": {
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"default": false,
|
|
60
|
-
"description": "This overrides density and is only applicable to horizontal tabs."
|
|
61
|
-
},
|
|
62
|
-
"isEmphasized": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"default": false
|
|
65
|
-
},
|
|
66
|
-
"alignment": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"enum": ["start", "center"],
|
|
69
|
-
"default": "start"
|
|
70
|
-
},
|
|
71
|
-
"selectedItem": {
|
|
72
|
-
"description": "(list of available items)"
|
|
73
|
-
},
|
|
74
|
-
"keyboardActivation": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"enum": ["manual", "automatic"],
|
|
77
|
-
"default": "manual"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"lifecycle": {
|
|
84
|
-
"introduced": "1.0.0-draft"
|
|
85
|
-
},
|
|
86
|
-
"tokenBindings": [
|
|
87
|
-
{
|
|
88
|
-
"token": "tab-item-compact-height-medium",
|
|
89
|
-
"context": "Height "
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"token": "tab-item-height-medium",
|
|
93
|
-
"context": "Regular density "
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"token": "corner-radius-0",
|
|
97
|
-
"context": "Corner radius"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"token": "workflow-icon-size-100",
|
|
101
|
-
"context": "Icon "
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"token": "text-to-visual-100",
|
|
105
|
-
"context": "Spacing (icon to label)"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"token": "tab-item-top-to-workflow-icon-compact-medium",
|
|
109
|
-
"context": "Spacing (top/bottom to edge, workflow icon only)"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"token": "tab-item-top-to-workflow-icon-medium",
|
|
113
|
-
"context": "Spacing (top/bottom to edge, workflow icon only)"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"token": "tab-item-side-to-workflow-icon-compact-medium",
|
|
117
|
-
"context": "Spacing (side to edge, workflow icon only)"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"token": "tab-item-side-to-workflow-icon-medium",
|
|
121
|
-
"context": "Spacing (side to edge, workflow icon only)"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"token": "spacing-100",
|
|
125
|
-
"context": "Spacing (edge to edge)"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"token": "tab-item-top-to-text-compact-medium",
|
|
129
|
-
"context": "Spacing (top edge to label)"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"token": "tab-item-top-to-text-medium",
|
|
133
|
-
"context": "Spacing (top edge to label)"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"token": "tab-item-bottom-to-text-compact-medium",
|
|
137
|
-
"context": "Spacing (bottom edge to label)"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"token": "tab-item-bottom-to-text-medium",
|
|
141
|
-
"context": "Spacing (bottom edge to label)"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"token": "tab-item-to-tab-item-compact-horizontal-medium",
|
|
145
|
-
"context": "Spacing (between tab items, horizontal)"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"token": "tab-item-to-tab-item-horizontal-medium",
|
|
149
|
-
"context": "Spacing (between tab items, horizontal)"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"token": "focus-indicator-thickness",
|
|
153
|
-
"context": "Focus ring"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"token": "focus-indicator-gap",
|
|
157
|
-
"context": "Focus ring"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"token": "tab-selection-indicator-thickness",
|
|
161
|
-
"context": "Selection indicator (underline)"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"token": "spacing-75",
|
|
165
|
-
"context": "Spacing (selected) "
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"token": "spacing-200",
|
|
169
|
-
"context": "Spacing (selected) "
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"token": "spacing-50",
|
|
173
|
-
"context": "Spacing (selected with keyboard focus) "
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"token": "neutral-content-color-default",
|
|
177
|
-
"context": "Tab items and selection indicator"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"token": "neutral-content-color-hover",
|
|
181
|
-
"context": "Tab items and selection indicator"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"token": "neutral-content-color-key-focus",
|
|
185
|
-
"context": "Tab items and selection indicator"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"token": "neutral-subdued-content-color-default",
|
|
189
|
-
"context": "Tab items and selection indicator"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"token": "neutral-subdued-content-color-hover",
|
|
193
|
-
"context": "Tab items and selection indicator"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"token": "neutral-subdued-content-color-key-focus",
|
|
197
|
-
"context": "Tab items and selection indicator"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"token": "disabled-border-color",
|
|
201
|
-
"context": "Disabled"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"token": "disabled-content-color",
|
|
205
|
-
"context": "Disabled"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"token": "focus-indicator-color",
|
|
209
|
-
"context": "Focus ring"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"token": "default-font-family"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"token": "default-font-style"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"token": "regular-font-weight"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"token": "font-size-75"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"token": "font-size-100"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"token": "font-size-200"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"token": "font-size-300"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"token": "line-height-100"
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"accessibility": {
|
|
237
|
-
"intents": ["navigate"],
|
|
238
|
-
"focusable": true,
|
|
239
|
-
"keyboardIntents": ["navigate-items"],
|
|
240
|
-
"wcag": [
|
|
241
|
-
{
|
|
242
|
-
"criterion": "2.1.1",
|
|
243
|
-
"level": "A",
|
|
244
|
-
"title": "Keyboard"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"criterion": "4.1.2",
|
|
248
|
-
"level": "A",
|
|
249
|
-
"title": "Name, Role, Value"
|
|
250
|
-
}
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
}
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/tag-field.json",
|
|
4
|
-
"specVersion": "1.0.0-draft",
|
|
5
|
-
"name": "tag-field",
|
|
6
|
-
"displayName": "Tag field",
|
|
7
|
-
"description": "A tag field is an input field that allows users to enter and manage tags.",
|
|
8
|
-
"meta": {
|
|
9
|
-
"category": "inputs",
|
|
10
|
-
"documentationUrl": "https://spectrum.adobe.com/page/tag-field/"
|
|
11
|
-
},
|
|
12
|
-
"options": {
|
|
13
|
-
"size": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"default": "m",
|
|
16
|
-
"values": [
|
|
17
|
-
{
|
|
18
|
-
"value": "s"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"value": "m"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "l"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"style": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"default": "keyword",
|
|
31
|
-
"values": [
|
|
32
|
-
{
|
|
33
|
-
"value": "keyword"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"value": "icon"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"value": "thumbnail"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"value": "avatar"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"isDisabled": {
|
|
47
|
-
"type": "boolean",
|
|
48
|
-
"default": false
|
|
49
|
-
},
|
|
50
|
-
"hideLabel": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"default": false
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"states": [
|
|
56
|
-
{
|
|
57
|
-
"name": "hover",
|
|
58
|
-
"trigger": "interaction"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "focus-+-hover",
|
|
62
|
-
"trigger": "prop"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "focus-+-not-hover",
|
|
66
|
-
"trigger": "prop"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "keyboard-focus",
|
|
70
|
-
"trigger": "interaction"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"lifecycle": {
|
|
74
|
-
"introduced": "1.0.0-draft"
|
|
75
|
-
},
|
|
76
|
-
"tokenBindings": [
|
|
77
|
-
{
|
|
78
|
-
"token": "tag-field-default-width-small",
|
|
79
|
-
"context": "Width (default)"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"token": "tag-field-default-width-medium",
|
|
83
|
-
"context": "Width (default)"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"token": "tag-field-default-width-large",
|
|
87
|
-
"context": "Width (default)"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"token": "tag-field-minimum-width",
|
|
91
|
-
"context": "Width (minimum)"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"token": "tag-field-minimum-height-small",
|
|
95
|
-
"context": "Height (minimum)"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"token": "tag-field-minimum-height-medium",
|
|
99
|
-
"context": "Height (minimum)"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"token": "tag-field-minimum-height-large",
|
|
103
|
-
"context": "Height (minimum)"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"token": "corner-radius-medium-size-small",
|
|
107
|
-
"context": "Rounding"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"token": "corner-radius-medium-size-medium",
|
|
111
|
-
"context": "Rounding"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"token": "corner-radius-medium-size-large",
|
|
115
|
-
"context": "Rounding"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"token": "border-width-200",
|
|
119
|
-
"context": "Border"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"token": "focus-indicator-thickness",
|
|
123
|
-
"context": "Focus indicator"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"token": "workflow-icon-size-75",
|
|
127
|
-
"context": "Alert icon"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"token": "workflow-icon-size-100",
|
|
131
|
-
"context": "Alert icon"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"token": "workflow-icon-size-200",
|
|
135
|
-
"context": "Alert icon"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"token": "field-edge-to-alert-icon-small",
|
|
139
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"token": "field-edge-to-alert-icon-medium",
|
|
143
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"token": "field-edge-to-alert-icon-large",
|
|
147
|
-
"context": "Spacing (top/bottom edge to alert icon)"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"token": "field-label-to-component",
|
|
151
|
-
"context": "Spacing (field label to tag field)"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"token": "tag-field-edge-to-content-small",
|
|
155
|
-
"context": "Spacing (edge to tag group)"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"token": "tag-field-edge-to-content-medium",
|
|
159
|
-
"context": "Spacing (edge to tag group)"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"token": "tag-field-edge-to-content-large",
|
|
163
|
-
"context": "Spacing (edge to tag group)"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"token": "help-text-to-component",
|
|
167
|
-
"context": "Spacing (tag field to help text)"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"token": "spacing-200",
|
|
171
|
-
"context": "Spacing (minimum, field label to field)"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"token": "gray-25",
|
|
175
|
-
"context": "Background and border"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"token": "gray-300",
|
|
179
|
-
"context": "Background and border"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"token": "gray-400",
|
|
183
|
-
"context": "Background and border"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"token": "gray-900",
|
|
187
|
-
"context": "Background and border"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"token": "gray-800",
|
|
191
|
-
"context": "Background and border"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"token": "negative-border-color-default",
|
|
195
|
-
"context": "Border (error)"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"token": "negative-border-color-hover",
|
|
199
|
-
"context": "Border (error)"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"token": "negative-border-color-focus-hover",
|
|
203
|
-
"context": "Border (error)"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"token": "negative-border-color-focus",
|
|
207
|
-
"context": "Border (error)"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"token": "negative-border-color-key-focus",
|
|
211
|
-
"context": "Border (error)"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"token": "negative-visual-color",
|
|
215
|
-
"context": "Alert icon"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"token": "disabled-border-color",
|
|
219
|
-
"context": "Disabled"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"token": "focus-indicator-color",
|
|
223
|
-
"context": "Focus ring"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"accessibility": {
|
|
227
|
-
"intents": ["input", "select"],
|
|
228
|
-
"focusable": true,
|
|
229
|
-
"keyboardIntents": ["navigate-items", "activate"],
|
|
230
|
-
"wcag": [
|
|
231
|
-
{
|
|
232
|
-
"criterion": "1.3.1",
|
|
233
|
-
"level": "A",
|
|
234
|
-
"title": "Info and Relationships"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"criterion": "4.1.2",
|
|
238
|
-
"level": "A",
|
|
239
|
-
"title": "Name, Role, Value"
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/tag-group.json",
|
|
4
|
-
"specVersion": "1.0.0-draft",
|
|
5
|
-
"name": "tag-group",
|
|
6
|
-
"displayName": "Tag group",
|
|
7
|
-
"description": "A tag group is a collection of tags that represent a set of related items.",
|
|
8
|
-
"meta": {
|
|
9
|
-
"category": "inputs",
|
|
10
|
-
"documentationUrl": "https://spectrum.adobe.com/page/tag-group/"
|
|
11
|
-
},
|
|
12
|
-
"options": {
|
|
13
|
-
"size": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"default": "m",
|
|
16
|
-
"values": [
|
|
17
|
-
{
|
|
18
|
-
"value": "s"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"value": "m"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "l"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"labelPosition": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"default": "top",
|
|
31
|
-
"values": [
|
|
32
|
-
{
|
|
33
|
-
"value": "top"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"value": "side"
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"hideLabel": {
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"default": false
|
|
43
|
-
},
|
|
44
|
-
"actionLabel": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "If undefined, this button does not appear."
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"lifecycle": {
|
|
50
|
-
"introduced": "1.0.0-draft"
|
|
51
|
-
},
|
|
52
|
-
"tokenBindings": [
|
|
53
|
-
{
|
|
54
|
-
"token": "spacing-100",
|
|
55
|
-
"context": "Spacing (vertical)"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"token": "spacing-200",
|
|
59
|
-
"context": "Spacing (vertical)"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"token": "field-label-to-component",
|
|
63
|
-
"context": "Spacing (Field label to Tags)"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"token": "help-text-to-component",
|
|
67
|
-
"context": "Spacing (Text area to Help text)"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"accessibility": {
|
|
71
|
-
"intents": ["select"],
|
|
72
|
-
"focusable": true,
|
|
73
|
-
"keyboardIntents": ["navigate-items", "activate"],
|
|
74
|
-
"wcag": [
|
|
75
|
-
{
|
|
76
|
-
"criterion": "1.3.1",
|
|
77
|
-
"level": "A",
|
|
78
|
-
"title": "Info and Relationships"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"criterion": "4.1.2",
|
|
82
|
-
"level": "A",
|
|
83
|
-
"title": "Name, Role, Value"
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
}
|