@adobe/design-data-spec 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion.json +431 -1
- package/components/action-bar.json +183 -1
- package/components/action-button.json +407 -1
- package/components/action-group.json +15 -1
- package/components/alert-banner.json +79 -1
- package/components/alert-dialog.json +107 -1
- package/components/avatar-group.json +115 -1
- package/components/avatar.json +131 -1
- package/components/badge.json +430 -1
- package/components/breadcrumbs.json +175 -1
- package/components/button-group.json +11 -1
- package/components/button.json +466 -8
- package/components/cards.json +483 -1
- package/components/checkbox-group.json +2 -1
- package/components/checkbox.json +243 -1
- package/components/close-button.json +123 -1
- package/components/coach-indicator.json +39 -1
- package/components/coach-mark.json +103 -1
- package/components/color-area.json +39 -1
- package/components/color-handle.json +51 -1
- package/components/color-loupe.json +55 -1
- package/components/color-slider.json +43 -1
- package/components/color-wheel.json +35 -1
- package/components/combo-box.json +387 -1
- package/components/contextual-help.json +83 -1
- package/components/date-picker.json +279 -1
- package/components/divider.json +47 -1
- package/components/drop-zone.json +167 -1
- package/components/field-label.json +147 -1
- package/components/help-text.json +147 -1
- package/components/illustrated-message.json +107 -1
- package/components/in-field-progress-circle.json +55 -1
- package/components/in-line-alert.json +155 -1
- package/components/link.json +91 -1
- package/components/list-view.json +263 -1
- package/components/menu.json +467 -1
- package/components/meter.json +115 -1
- package/components/number-field.json +399 -1
- package/components/opacity-checkerboard.json +19 -1
- package/components/picker.json +431 -1
- package/components/popover.json +51 -1
- package/components/progress-bar.json +115 -1
- package/components/progress-circle.json +55 -1
- package/components/radio-button.json +243 -1
- package/components/radio-group.json +2 -1
- package/components/rating.json +99 -1
- package/components/search-field.json +235 -1
- package/components/segmented-control.json +135 -1
- package/components/select-box.json +187 -1
- package/components/side-navigation.json +223 -1
- package/components/slider.json +279 -1
- package/components/standard-dialog.json +99 -1
- package/components/status-light.json +219 -1
- package/components/steplist.json +215 -1
- package/components/swatch-group.json +15 -1
- package/components/swatch.json +136 -2
- package/components/switch.json +251 -1
- package/components/table.json +271 -1
- package/components/tabs.json +151 -1
- package/components/tag-field.json +151 -1
- package/components/tag-group.json +19 -1
- package/components/tag.json +323 -1
- package/components/takeover-dialog.json +35 -1
- package/components/text-area.json +383 -1
- package/components/text-field.json +411 -1
- package/components/thumbnail.json +83 -1
- package/components/title.json +39 -0
- package/components/toast.json +99 -1
- package/components/tooltip.json +87 -1
- package/components/tree-view.json +279 -1
- package/conformance/invalid/SPEC-027/dataset.json +25 -0
- package/conformance/invalid/SPEC-027/expected-errors.json +10 -0
- package/conformance/valid/token-bindings.json +27 -0
- package/package.json +1 -1
- package/rules/rules.yaml +9 -0
- package/schemas/component.schema.json +22 -0
- package/schemas/token.schema.json +27 -0
- package/spec/agent-surface.md +39 -9
- package/spec/component-format.md +41 -16
- package/spec/token-format.md +18 -0
- package/src/validate.js +27 -3
|
@@ -89,5 +89,267 @@
|
|
|
89
89
|
},
|
|
90
90
|
"lifecycle": {
|
|
91
91
|
"introduced": "1.0.0-draft"
|
|
92
|
-
}
|
|
92
|
+
},
|
|
93
|
+
"tokenBindings": [
|
|
94
|
+
{
|
|
95
|
+
"token": "(multi-select",
|
|
96
|
+
"context": "Variants"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"token": "multi-select)",
|
|
100
|
+
"context": "Variants"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"token": "workflow-icon-size-100",
|
|
104
|
+
"context": "Icon size"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"token": "list-view-minimum-height",
|
|
108
|
+
"context": "Component height"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"token": "list-view-minimum-width",
|
|
112
|
+
"context": "Component width"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"token": "corner-radius-medium-default",
|
|
116
|
+
"context": "Item rounding"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"token": "stack-item-start-edge-to-content",
|
|
120
|
+
"context": "Spacing (edge to drag handle)"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"token": "stack-item-drag-handle-to-control",
|
|
124
|
+
"context": "Spacing (drag handle to checkbox, to visual, to text)"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"token": "visual-to-control-100",
|
|
128
|
+
"context": "Spacing (drag handle to checkbox, to visual, to text)"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"token": "stack-item-text-to-control",
|
|
132
|
+
"context": "Spacing (drag handle to checkbox, to visual, to text)"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"token": "stack-item-edge-to-control",
|
|
136
|
+
"context": "Spacing (edge to checkbox, edge to visual, edge to text)"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"token": "stack-item-edge-to-visual",
|
|
140
|
+
"context": "Spacing (edge to checkbox, edge to visual, edge to text)"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"token": "component-edge-to-text",
|
|
144
|
+
"context": "Spacing (edge to checkbox, edge to visual, edge to text)"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"token": "text-to-visual-100",
|
|
148
|
+
"context": "Spacing (content items to text)"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"token": "stack-item-action-to-navigation",
|
|
152
|
+
"context": "Spacing (navigation indicator to edge, actions to edge)"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"token": "list-view-end-edge-to-content",
|
|
156
|
+
"context": "Spacing (edge to Navigation icon)"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"token": "vertical-align-items",
|
|
160
|
+
"context": "Spacing (vertical)"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"token": "stack-item-minimum-padding-vertical",
|
|
164
|
+
"context": "Spacing (vertical)"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"token": "label-to-description-0",
|
|
168
|
+
"context": "Spacing (navigation indicator)"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"token": "border-width-100",
|
|
172
|
+
"context": "Border width (selected - highlight)"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"token": "focus-indicator-thickness",
|
|
176
|
+
"context": "Focus"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"token": "focus-indicator-gap",
|
|
180
|
+
"context": "Focus (drag handle)"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"token": "drop-shadow-dragged-x",
|
|
184
|
+
"context": "Dragged shadow"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"token": "drop-shadow-dragged-y",
|
|
188
|
+
"context": "Dragged shadow"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"token": "drop-shadow-dragged-blur",
|
|
192
|
+
"context": "Dragged shadow"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"token": "drop-shadow-dragged-color",
|
|
196
|
+
"context": "Dragged shadow"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"token": "component-height-100",
|
|
200
|
+
"context": "Height"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"token": "stack-item-header-minimum-width",
|
|
204
|
+
"context": "Width"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"token": "component-edge-to-text-100",
|
|
208
|
+
"context": "Spacing (horizontal)"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"token": "top-to-text-100",
|
|
212
|
+
"context": "Spacing (vertical)"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"token": "bottom-to-text-100",
|
|
216
|
+
"context": "Spacing (vertical)"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"token": "component-top-to-workflow-icon-100",
|
|
220
|
+
"context": "Spacing (vertical)"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"token": "stack-item-header-to-item",
|
|
224
|
+
"context": "Spacing (vertically, between list view header to list view items)"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"token": "stack-item-item-to-item",
|
|
228
|
+
"context": "Spacing (vertically, between list view header to list view items)"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"token": "stack-item-background-color-hover",
|
|
232
|
+
"context": "Background"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"token": "stack-item-background-color-down",
|
|
236
|
+
"context": "Background"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"token": "stack-item-background-color-key-focus",
|
|
240
|
+
"context": "Background"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"token": "stack-item-selected-background-color-default",
|
|
244
|
+
"context": "Background (selected, checkbox)"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"token": "stack-item-selected-background-color-hover",
|
|
248
|
+
"context": "Background (selected, checkbox)"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"token": "stack-item-selected-background-color-down",
|
|
252
|
+
"context": "Background (selected, checkbox)"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"token": "stack-item-selected-background-color-key-focus",
|
|
256
|
+
"context": "Background (selected, checkbox)"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"token": "stack-item-selected-background-color-highlight",
|
|
260
|
+
"context": "Background (selected, highlight)"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"token": "stack-item-selected-background-opacity-highlight-hover",
|
|
264
|
+
"context": "Background (selected, highlight)"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"token": "accent-content-color-selected",
|
|
268
|
+
"context": "Border (selected, highlight)"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"token": "gray-300",
|
|
272
|
+
"context": "Border"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"token": "neutral-subdued-content-color-default",
|
|
276
|
+
"context": "Label and icon (non-selected)"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"token": "neutral-subdued-content-color-hover",
|
|
280
|
+
"context": "Label and icon (non-selected)"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"token": "neutral-subdued-content-color-down",
|
|
284
|
+
"context": "Label and icon (non-selected)"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"token": "neutral-subdued-content-color-key-focus",
|
|
288
|
+
"context": "Label and icon (non-selected)"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"token": "neutral-content-color-default",
|
|
292
|
+
"context": "Label and icon (selected, checkbox and highlight)"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"token": "neutral-content-color-hover",
|
|
296
|
+
"context": "Label and icon (selected, checkbox and highlight)"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"token": "neutral-content-color-down",
|
|
300
|
+
"context": "Label and icon (selected, checkbox and highlight)"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"token": "neutral-content-color-key-focus",
|
|
304
|
+
"context": "Label and icon (selected, checkbox and highlight)"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"token": "disabled-background-color",
|
|
308
|
+
"context": "Background (disabled)"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"token": "disabled-content-color",
|
|
312
|
+
"context": "Label and icon (disabled)"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"token": "focus-indicator-color",
|
|
316
|
+
"context": "Focus indicator"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"token": "title-color",
|
|
320
|
+
"context": "Title label and icon"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"token": "default-font-family",
|
|
324
|
+
"context": "Text (List view item)"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"token": "regular-font-weight",
|
|
328
|
+
"context": "Text (List view item)"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"token": "default-font-style",
|
|
332
|
+
"context": "Text (List view item)"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"token": "font-size-100",
|
|
336
|
+
"context": "Text (List view item)"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"token": "line-height-100",
|
|
340
|
+
"context": "Text (List view item)"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"token": "cjk-line-height-100",
|
|
344
|
+
"context": "Text (List view item)"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"token": "font-size-75",
|
|
348
|
+
"context": "Text (List view description)"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"token": "bold-font-weight",
|
|
352
|
+
"context": "Text (List view title)"
|
|
353
|
+
}
|
|
354
|
+
]
|
|
93
355
|
}
|