@adobe/design-data-spec 1.5.0 → 2.1.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/conformance/invalid/SPEC-044/empty-optional-dir/components/.gitkeep +0 -0
- package/conformance/invalid/SPEC-044/empty-optional-dir/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-044/empty-optional-dir/tokens/base.tokens.json +1 -0
- package/conformance/invalid/SPEC-044/missing-tokens/expected-errors.json +10 -0
- package/conformance/valid/SPEC-044/components/button.json +9 -0
- package/conformance/valid/SPEC-044/expected-errors.json +4 -0
- package/conformance/valid/SPEC-044/tokens/base.tokens.json +1 -0
- package/package.json +6 -6
- package/rules/rules.yaml +27 -7
- package/schemas/component.schema.json +1 -1
- package/schemas/dataset.schema.json +39 -0
- package/schemas/manifest.schema.json +1 -23
- package/schemas/mode-set.schema.json +4 -0
- 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/dataset-layout.md +72 -0
- package/spec/index.md +7 -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
|
@@ -1,214 +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/action-bar.json",
|
|
4
|
-
"specVersion": "1.0.0-draft",
|
|
5
|
-
"name": "action-bar",
|
|
6
|
-
"displayName": "Action bar",
|
|
7
|
-
"description": "Action bars are used for single and bulk selection patterns, when a user needs to perform actions on either a single or multiple items at the same time.",
|
|
8
|
-
"meta": {
|
|
9
|
-
"category": "actions",
|
|
10
|
-
"documentationUrl": "https://spectrum.adobe.com/page/action-bar/"
|
|
11
|
-
},
|
|
12
|
-
"options": {
|
|
13
|
-
"isEmphasized": {
|
|
14
|
-
"type": "boolean",
|
|
15
|
-
"default": false
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"lifecycle": {
|
|
19
|
-
"introduced": "1.0.0-draft"
|
|
20
|
-
},
|
|
21
|
-
"tokenBindings": [
|
|
22
|
-
{
|
|
23
|
-
"token": "action-bar-height",
|
|
24
|
-
"context": "Height"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"token": "action-bar-minimum-width",
|
|
28
|
-
"context": "Width (minimum)"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"token": "corner-radius-medium-size-extra-large",
|
|
32
|
-
"context": "Rounding"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"token": "action-bar-top-to-content-area",
|
|
36
|
-
"context": "Spacing (padding)"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"token": "action-bar-bottom-to-content-area",
|
|
40
|
-
"context": "Spacing (padding)"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"token": "action-bar-edge-to-content-area",
|
|
44
|
-
"context": "Spacing (padding)"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"token": "action-bar-label-to-action-button-group",
|
|
48
|
-
"context": "Spacing (label to action button group)"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"token": "action-bar-top-to-item-counter",
|
|
52
|
-
"context": "Spacing (counter)"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"token": "action-bar-close-button-to-counter",
|
|
56
|
-
"context": "Spacing (counter)"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"token": "background-elevated-color",
|
|
60
|
-
"context": "Background (default)"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"token": "neutral-content-color-default",
|
|
64
|
-
"context": "Background (emphasized)"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"token": "action-bar-border",
|
|
68
|
-
"context": "Border"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"token": "drop-shadow-elevated-color",
|
|
72
|
-
"context": "Drop shadow"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"token": "drop-shadow-elevated-x",
|
|
76
|
-
"context": "Drop shadow"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"token": "drop-shadow-elevated-y",
|
|
80
|
-
"context": "Drop shadow"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"token": "drop-shadow-elevated-blur",
|
|
84
|
-
"context": "Drop shadow"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"token": "action-bar-counter-font-size",
|
|
88
|
-
"context": "Counter"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"token": "line-height-100",
|
|
92
|
-
"context": "Counter"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"token": "cjk-line-height-100",
|
|
96
|
-
"context": "Counter"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"token": "accent-background-color-default",
|
|
100
|
-
"context": "Background"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"token": "accent-background-color-hover",
|
|
104
|
-
"context": "Background"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"token": "accent-background-color-down",
|
|
108
|
-
"context": "Background"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"token": "accent-background-color-key-focus",
|
|
112
|
-
"context": "Background"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"token": "white",
|
|
116
|
-
"context": "Icon and Clear icon"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"token": "neutral-selected-background-color-default",
|
|
120
|
-
"context": "Background"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"token": "neutral-selected-background-color-hover",
|
|
124
|
-
"context": "Background"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"token": "neutral-selected-background-color-down",
|
|
128
|
-
"context": "Background"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"token": "neutral-selected-background-color-key-focus",
|
|
132
|
-
"context": "Background"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"token": "gray-25",
|
|
136
|
-
"context": "Icon and Clear icon"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"token": "neutral-content-color-hover",
|
|
140
|
-
"context": "Control (selected, non emphasized)"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"token": "neutral-content-color-down",
|
|
144
|
-
"context": "Control (selected, non emphasized)"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"token": "neutral-content-color-key-focus",
|
|
148
|
-
"context": "Control (selected, non emphasized)"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"token": "accent-content-color-default",
|
|
152
|
-
"context": "Control (selected, emphasized)"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"token": "accent-content-color-hover",
|
|
156
|
-
"context": "Control (selected, emphasized)"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"token": "accent-content-color-down",
|
|
160
|
-
"context": "Control (selected, emphasized)"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"token": "accent-content-color-key-focus",
|
|
164
|
-
"context": "Control (selected, emphasized)"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"token": "neutral-subdued-content-color-default",
|
|
168
|
-
"context": "Step text"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"token": "neutral-subdued-content-color-hover",
|
|
172
|
-
"context": "Step text"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"token": "neutral-subdued-content-color-key-focus",
|
|
176
|
-
"context": "Step text"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"token": "neutral-subdued-background-color-default",
|
|
180
|
-
"context": "Step visual"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"token": "neutral-subdued-background-color-hover",
|
|
184
|
-
"context": "Step visual"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"token": "neutral-subdued-background-color-key-focus",
|
|
188
|
-
"context": "Step visual"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"token": "neutral-background-color-default",
|
|
192
|
-
"context": "Step visual"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"token": "neutral-background-color-key-focus",
|
|
196
|
-
"context": "Step visual"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"token": "neutral-visual-color",
|
|
200
|
-
"context": "Step visual"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"accessibility": {
|
|
204
|
-
"intents": ["trigger"],
|
|
205
|
-
"focusable": false,
|
|
206
|
-
"wcag": [
|
|
207
|
-
{
|
|
208
|
-
"criterion": "4.1.2",
|
|
209
|
-
"level": "A",
|
|
210
|
-
"title": "Name, Role, Value"
|
|
211
|
-
}
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
}
|