@adobe/spectrum-component-api-schemas 5.0.0 → 6.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/CHANGELOG.md +60 -19
- package/package.json +4 -4
- package/schemas/component.json +5 -2
- package/schemas/components/accordion.json +2 -2
- package/schemas/components/action-bar.json +2 -2
- package/schemas/components/action-button.json +4 -4
- package/schemas/components/action-group.json +2 -2
- package/schemas/components/alert-banner.json +2 -2
- package/schemas/components/alert-dialog.json +2 -2
- package/schemas/components/avatar-group.json +2 -2
- package/schemas/components/avatar.json +2 -2
- package/schemas/components/badge.json +3 -3
- package/schemas/components/body.json +4 -4
- package/schemas/components/bottom-navigation-android.json +3 -3
- package/schemas/components/breadcrumbs.json +2 -2
- package/schemas/components/button-group.json +2 -2
- package/schemas/components/button.json +3 -3
- package/schemas/components/calendar.json +90 -99
- package/schemas/components/cards.json +2 -2
- package/schemas/components/checkbox-group.json +2 -2
- package/schemas/components/checkbox.json +2 -2
- package/schemas/components/close-button.json +2 -2
- package/schemas/components/coach-indicator.json +2 -2
- package/schemas/components/coach-mark.json +2 -2
- package/schemas/components/code.json +3 -3
- package/schemas/components/color-area.json +2 -2
- package/schemas/components/color-handle.json +2 -2
- package/schemas/components/color-loupe.json +3 -3
- package/schemas/components/color-slider.json +2 -2
- package/schemas/components/color-wheel.json +2 -2
- package/schemas/components/combo-box.json +2 -2
- package/schemas/components/contextual-help.json +2 -2
- package/schemas/components/date-picker.json +2 -2
- package/schemas/components/detail.json +3 -3
- package/schemas/components/divider.json +2 -2
- package/schemas/components/drop-zone.json +2 -2
- package/schemas/components/field-label.json +2 -2
- package/schemas/components/heading.json +4 -4
- package/schemas/components/help-text.json +2 -2
- package/schemas/components/illustrated-message.json +42 -49
- package/schemas/components/in-field-progress-button.json +2 -2
- package/schemas/components/in-field-progress-circle.json +2 -2
- package/schemas/components/in-line-alert.json +2 -2
- package/schemas/components/link.json +2 -2
- package/schemas/components/list-view.json +81 -98
- package/schemas/components/menu.json +3 -3
- package/schemas/components/meter.json +2 -2
- package/schemas/components/number-field.json +2 -2
- package/schemas/components/opacity-checkerboard.json +2 -2
- package/schemas/components/picker.json +6 -20
- package/schemas/components/popover.json +2 -2
- package/schemas/components/progress-bar.json +2 -2
- package/schemas/components/progress-circle.json +2 -2
- package/schemas/components/radio-button.json +2 -2
- package/schemas/components/radio-group.json +2 -2
- package/schemas/components/rating.json +2 -2
- package/schemas/components/scroll-zoom-bar.json +2 -2
- package/schemas/components/search-field.json +3 -3
- package/schemas/components/segmented-control.json +2 -2
- package/schemas/components/select-box.json +2 -2
- package/schemas/components/side-navigation.json +7 -25
- package/schemas/components/slider.json +2 -2
- package/schemas/components/standard-dialog.json +46 -50
- package/schemas/components/standard-panel.json +2 -2
- package/schemas/components/status-light.json +2 -2
- package/schemas/components/{step-list.json → steplist.json} +4 -4
- package/schemas/components/swatch-group.json +2 -2
- package/schemas/components/swatch.json +2 -2
- package/schemas/components/switch.json +2 -2
- package/schemas/components/tab-bar-ios.json +3 -3
- package/schemas/components/table.json +107 -133
- package/schemas/components/tabs.json +2 -2
- package/schemas/components/tag-field.json +2 -2
- package/schemas/components/tag-group.json +2 -2
- package/schemas/components/tag.json +2 -2
- package/schemas/components/takeover-dialog.json +47 -53
- package/schemas/components/text-area.json +2 -2
- package/schemas/components/text-field.json +2 -2
- package/schemas/components/thumbnail.json +2 -2
- package/schemas/components/toast.json +2 -2
- package/schemas/components/tooltip.json +2 -2
- package/schemas/components/tray.json +2 -2
- package/schemas/components/tree-view.json +2 -2
- package/schemas/types/hex-color.json +1 -1
- package/schemas/types/typography-classification.json +1 -1
- package/schemas/types/typography-script.json +1 -1
- package/schemas/types/workflow-icon.json +1 -1
- package/test/performance.test.js +3 -3
- package/test/snapshots/index.test.js.md +36 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,51 @@
|
|
|
1
|
-
#
|
|
1
|
+
# [**@adobe/spectrum-component-api-schemas**](https://github.com/adobe/spectrum-component-api-schemas)
|
|
2
|
+
|
|
3
|
+
## 6.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#632](https://github.com/adobe/spectrum-design-data/pull/632) [`fa28b11`](https://github.com/adobe/spectrum-design-data/commit/fa28b117c6b84776f4ebe9bb281c29e14e0d64b6) Thanks [@GarthDB](https://github.com/GarthDB)! - BREAKING CHANGE: Repository renamed from spectrum-tokens to
|
|
8
|
+
spectrum-design-data
|
|
9
|
+
|
|
10
|
+
**Breaking Changes:**
|
|
11
|
+
- JSON Schema `$id` URIs changed (spectrum-tokens → spectrum-design-data)
|
|
12
|
+
- External tools referencing schemas by `$id` must update references
|
|
13
|
+
|
|
14
|
+
**Changes:**
|
|
15
|
+
- Updated all GitHub repository and Pages URLs
|
|
16
|
+
- Updated schema base URIs to maintain consistency
|
|
17
|
+
|
|
18
|
+
**Note:** NPM package names unchanged. GitHub redirects are in place.
|
|
19
|
+
|
|
20
|
+
## 5.0.1
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [#621](https://github.com/adobe/spectrum-design-data/pull/621) [`ee2ceb5`](https://github.com/adobe/spectrum-design-data/commit/ee2ceb541dea5eb9b5267c861e44bfd804fd33a7) Thanks [@GarthDB](https://github.com/GarthDB)! - refactor(component-schemas): rename step-list to steplist
|
|
25
|
+
|
|
26
|
+
Renamed the `step-list` component schema to `steplist` for consistency with other single-word component names.
|
|
27
|
+
|
|
28
|
+
## Components Changed (0 added, 1 deleted, 1 added)
|
|
29
|
+
|
|
30
|
+
**Original Branch:** `main`
|
|
31
|
+
|
|
32
|
+
**New Branch:** `refactor/rename-step-list-to-steplist`
|
|
33
|
+
|
|
34
|
+
### 📦 Renamed Component
|
|
35
|
+
- `step-list` → `steplist` - Component schema renamed
|
|
36
|
+
|
|
37
|
+
### Changes to steplist schema
|
|
38
|
+
- **$id**: Changed from `https://opensource.adobe.com/spectrum-design-data/schemas/components/step-list.json` to `https://opensource.adobe.com/spectrum-design-data/schemas/components/steplist.json`
|
|
39
|
+
- **title**: Changed from "Step list" to "Steplist"
|
|
40
|
+
- **documentationUrl**: Changed from `https://spectrum.adobe.com/page/step-list/` to `https://spectrum.adobe.com/page/steplist/`
|
|
41
|
+
|
|
42
|
+
All other properties remain unchanged. This is a non-breaking rename at the schema level, though consumers referencing the old filename will need to update their imports.
|
|
2
43
|
|
|
3
44
|
## 5.0.0
|
|
4
45
|
|
|
5
46
|
### Major Changes
|
|
6
47
|
|
|
7
|
-
- [#614](https://github.com/adobe/spectrum-
|
|
48
|
+
- [#614](https://github.com/adobe/spectrum-design-data/pull/614) [`a772572`](https://github.com/adobe/spectrum-design-data/commit/a772572de88c54d279c20d7148f6ac91eb941d2a) Thanks [@AmunMRa](https://github.com/AmunMRa)! - # Component Schemas Changed (9 added, 0 deleted, 3 updated)
|
|
8
49
|
|
|
9
50
|
**Original Branch:** `main`
|
|
10
51
|
|
|
@@ -33,7 +74,7 @@
|
|
|
33
74
|
**side-navigation**
|
|
34
75
|
- Added: `items` (array) - "The list of navigation items."
|
|
35
76
|
- Added: `selectionMode` (string, default: single) - "How selection is handled for items."
|
|
36
|
-
- Added: `required` - ["items"]
|
|
77
|
+
- Added: `required` - \["items"]
|
|
37
78
|
|
|
38
79
|
### 🔄 Non-Breaking Updates
|
|
39
80
|
|
|
@@ -44,7 +85,7 @@
|
|
|
44
85
|
|
|
45
86
|
### Major Changes
|
|
46
87
|
|
|
47
|
-
- [#613](https://github.com/adobe/spectrum-
|
|
88
|
+
- [#613](https://github.com/adobe/spectrum-design-data/pull/613) [`433efdd`](https://github.com/adobe/spectrum-design-data/commit/433efdd18f9b0842ae55acac3cd0fbc1e5e5db58) Thanks [@AmunMRa](https://github.com/AmunMRa)! - feat(component-schemas): add 10 new components with breaking changes to existing schemas
|
|
48
89
|
|
|
49
90
|
## Component Schemas Changed (10 added, 0 deleted, 17 updated)
|
|
50
91
|
|
|
@@ -64,7 +105,7 @@
|
|
|
64
105
|
- `drop-zone` - New component schema
|
|
65
106
|
- `number-field` - New component schema
|
|
66
107
|
- `segmented-control` - New component schema
|
|
67
|
-
- `
|
|
108
|
+
- `steplist` - New component schema
|
|
68
109
|
- `tag-field` - New component schema
|
|
69
110
|
- `tag-group` - New component schema
|
|
70
111
|
|
|
@@ -160,7 +201,7 @@
|
|
|
160
201
|
|
|
161
202
|
### Major Changes
|
|
162
203
|
|
|
163
|
-
- [#610](https://github.com/adobe/spectrum-
|
|
204
|
+
- [#610](https://github.com/adobe/spectrum-design-data/pull/610) [`13d9202`](https://github.com/adobe/spectrum-design-data/commit/13d920273c02c78d3748522de6a7c7ee39b39814) Thanks [@GarthDB](https://github.com/GarthDB)! - Component schema improvements for Batch 1 components
|
|
164
205
|
|
|
165
206
|
Quality control pass on the Design API table for v0, ensuring schema consistency and completeness across S2 components.
|
|
166
207
|
|
|
@@ -190,7 +231,7 @@
|
|
|
190
231
|
|
|
191
232
|
**status-light**
|
|
192
233
|
- Added: Colors to `variant.enum`: "gray", "red", "orange", "green", "cyan"
|
|
193
|
-
- Added: `required` - ["label"] - label is now required
|
|
234
|
+
- Added: `required` - \["label"] - label is now required
|
|
194
235
|
- Removed: `isDisabled` property
|
|
195
236
|
|
|
196
237
|
**tooltip**
|
|
@@ -211,8 +252,8 @@
|
|
|
211
252
|
- Added: `hideLabel` (boolean, default: false)
|
|
212
253
|
|
|
213
254
|
**progress-bar**
|
|
214
|
-
- Added: `staticColor` (string, enum: ["white"]) - "Static color can only be white, otherwise it is default"
|
|
215
|
-
- Added: `labelPosition` (string, enum: ["top", "side"], default: "top")
|
|
255
|
+
- Added: `staticColor` (string, enum: \["white"]) - "Static color can only be white, otherwise it is default"
|
|
256
|
+
- Added: `labelPosition` (string, enum: \["top", "side"], default: "top")
|
|
216
257
|
- Added: `hideLabel` (boolean, default: false)
|
|
217
258
|
|
|
218
259
|
**search-field**
|
|
@@ -231,7 +272,7 @@
|
|
|
231
272
|
|
|
232
273
|
### Major Changes
|
|
233
274
|
|
|
234
|
-
- [#581](https://github.com/adobe/spectrum-
|
|
275
|
+
- [#581](https://github.com/adobe/spectrum-design-data/pull/581) [`163fe7c`](https://github.com/adobe/spectrum-design-data/commit/163fe7c13bb00c639d202195a398126b6c25b58f) Thanks [@GarthDB](https://github.com/GarthDB)! - feat(component-schemas): add S2 Batch 2 components with breaking changes
|
|
235
276
|
- Add 6 new component schemas (coach-indicator, in-field-progress-button, etc.)
|
|
236
277
|
- Update avatar, badge, and checkbox components with breaking changes
|
|
237
278
|
- Expand size options and add new interaction states
|
|
@@ -241,13 +282,13 @@
|
|
|
241
282
|
|
|
242
283
|
### Patch Changes
|
|
243
284
|
|
|
244
|
-
- [#545](https://github.com/adobe/spectrum-
|
|
285
|
+
- [#545](https://github.com/adobe/spectrum-design-data/pull/545) [`ebc79f6`](https://github.com/adobe/spectrum-design-data/commit/ebc79f6f91bce28a64cddfc2cc5548ddcf30389d) Thanks [@GarthDB](https://github.com/GarthDB)! - Fixed a typo where meter had `valueLable` instead of `valueLabel`.
|
|
245
286
|
|
|
246
287
|
## 1.0.1
|
|
247
288
|
|
|
248
289
|
### Patch Changes
|
|
249
290
|
|
|
250
|
-
- [#523](https://github.com/adobe/spectrum-
|
|
291
|
+
- [#523](https://github.com/adobe/spectrum-design-data/pull/523) [`9c5a2ac`](https://github.com/adobe/spectrum-design-data/commit/9c5a2ac5fccb29b6f106396b21d91aab949043d4) Thanks [@GarthDB](https://github.com/GarthDB)! - S2 components batch 1 (part 2)
|
|
251
292
|
|
|
252
293
|
## Changes
|
|
253
294
|
|
|
@@ -264,7 +305,7 @@
|
|
|
264
305
|
|
|
265
306
|
### Major Changes
|
|
266
307
|
|
|
267
|
-
- [#520](https://github.com/adobe/spectrum-
|
|
308
|
+
- [#520](https://github.com/adobe/spectrum-design-data/pull/520) [`2964807`](https://github.com/adobe/spectrum-design-data/commit/2964807641908e40820bea0556b3b0542503223b) Thanks [@GarthDB](https://github.com/GarthDB) and [@AmunMRa](https://github.com/AmunMRa)! - S2 components batch 1
|
|
268
309
|
|
|
269
310
|
## Changes
|
|
270
311
|
|
|
@@ -317,34 +358,34 @@
|
|
|
317
358
|
|
|
318
359
|
### Minor Changes
|
|
319
360
|
|
|
320
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
361
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`71e674a`](https://github.com/adobe/spectrum-design-data/commit/71e674ad6baa630a900785ae21c9dcae93233b21) Thanks [@karstens](https://github.com/karstens)! - Release to latest branch
|
|
321
362
|
|
|
322
363
|
## 0.0.0-schema-20240821152525
|
|
323
364
|
|
|
324
365
|
### Patch Changes
|
|
325
366
|
|
|
326
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
367
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`dc2d6c6`](https://github.com/adobe/spectrum-design-data/commit/dc2d6c6e12c1ea4fdc0d891b3fd50ea0b1697dd7) Thanks [@karstens](https://github.com/karstens)! - Making adjustments to bring the schema more in line with what was on the spectrum website.
|
|
327
368
|
|
|
328
369
|
## 0.0.0-schema-20240620220450
|
|
329
370
|
|
|
330
371
|
### Minor Changes
|
|
331
372
|
|
|
332
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
373
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`64379eb`](https://github.com/adobe/spectrum-design-data/commit/64379ebeaf9402fe77ca1adfd020f42df60c60d9) Thanks [@karstens](https://github.com/karstens)! - Added schema for search-field and fixed some path bugs in testing
|
|
333
374
|
|
|
334
375
|
## 0.0.0-schema-20240618053842
|
|
335
376
|
|
|
336
377
|
### Minor Changes
|
|
337
378
|
|
|
338
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
379
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`b5c1579`](https://github.com/adobe/spectrum-design-data/commit/b5c15792ec5f5e5c269bfa7bf58af3df42e648c1) Thanks [@karstens](https://github.com/karstens)! - Initial release
|
|
339
380
|
|
|
340
381
|
## 0.0.0-schema-20240614194147
|
|
341
382
|
|
|
342
383
|
### Patch Changes
|
|
343
384
|
|
|
344
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
385
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`9805167`](https://github.com/adobe/spectrum-design-data/commit/980516791c0bef9e2f0bbeffe6515f103f3ad7a2) Thanks [@karstens](https://github.com/karstens)! - fixed some bugs
|
|
345
386
|
|
|
346
387
|
## 0.0.0-schema-20240613154750
|
|
347
388
|
|
|
348
389
|
### Patch Changes
|
|
349
390
|
|
|
350
|
-
- [#353](https://github.com/adobe/spectrum-
|
|
391
|
+
- [#353](https://github.com/adobe/spectrum-design-data/pull/353) [`6ff5ad7`](https://github.com/adobe/spectrum-design-data/commit/6ff5ad7a75356f4b93d07a2818b357da19ce5b4b) Thanks [@karstens](https://github.com/karstens)! - Initial release
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-component-api-schemas",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/adobe/spectrum-
|
|
9
|
+
"url": "git+https://github.com/adobe/spectrum-design-data.git"
|
|
10
10
|
},
|
|
11
11
|
"author": "Garth Braithwaite <garthdb@gmail.com> (https://garthdb.com/)",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/adobe/spectrum-
|
|
13
|
+
"url": "https://github.com/adobe/spectrum-design-data/issues"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"provenance": true
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://github.com/adobe/spectrum-
|
|
18
|
+
"homepage": "https://github.com/adobe/spectrum-design-data/tree/main/packages/component-schemas#readme",
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"glob": "^10.3.12"
|
package/schemas/component.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
4
4
|
"title": "Component",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"typography"
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
|
-
"documentationUrl": {
|
|
23
|
+
"documentationUrl": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "uri"
|
|
26
|
+
}
|
|
24
27
|
},
|
|
25
28
|
"required": ["category", "documentationUrl"]
|
|
26
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/accordion.json",
|
|
4
4
|
"title": "Accordion",
|
|
5
5
|
"description": "An accordion is a vertically stacked set of interactive headings that each contain a title and a content area.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/action-bar.json",
|
|
4
4
|
"title": "Action bar",
|
|
5
5
|
"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.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/action-button.json",
|
|
4
4
|
"title": "Action button",
|
|
5
5
|
"description": "Action buttons allow users to perform an action or mark a selection. They're used for similar, task-based options within a workflow, and are ideal for interfaces where buttons aren't meant to draw a lot of attention.",
|
|
6
6
|
"meta": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"default": false
|
|
18
18
|
},
|
|
19
19
|
"icon": {
|
|
20
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
20
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
|
|
21
21
|
"description": "Icon must be present if the label is not defined."
|
|
22
22
|
},
|
|
23
23
|
"size": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"description": "Static color must not be set for the default version of this component."
|
|
44
44
|
},
|
|
45
45
|
"selectedTextColor": {
|
|
46
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
46
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/hex-color.json"
|
|
47
47
|
},
|
|
48
48
|
"hasHoldIcon": {
|
|
49
49
|
"type": "boolean",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/action-group.json",
|
|
4
4
|
"title": "Action group",
|
|
5
5
|
"description": "An action group is a grouping of action buttons that are related to each other.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/alert-banner.json",
|
|
4
4
|
"title": "Alert banner",
|
|
5
5
|
"description": "Alert banners show pressing and high-signal messages, such as system alerts. They're meant to be noticed and prompt users to take action.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/alert-dialog.json",
|
|
4
4
|
"title": "Alert dialog",
|
|
5
5
|
"description": "Alert dialogs display important information that users need to acknowledge. They appear over the interface and block further interactions until an action is selected.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/avatar-group.json",
|
|
4
4
|
"title": "Avatar group",
|
|
5
5
|
"description": "Avatar groups display a collection of avatars representing people or entities.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/avatar.json",
|
|
4
4
|
"title": "Avatar",
|
|
5
5
|
"description": "An avatar is a thumbnail representation of an entity, such as a user or an organization.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/badge.json",
|
|
4
4
|
"title": "Badge",
|
|
5
5
|
"description": "Similar to status lights, badges are for showing a small amount of color-categorized metadata. They're ideal for getting a user''s attention.",
|
|
6
6
|
"meta": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "When the label is not defined, the badge appears as icon-only."
|
|
15
15
|
},
|
|
16
16
|
"icon": {
|
|
17
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
17
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
|
|
18
18
|
},
|
|
19
19
|
"variant": {
|
|
20
20
|
"type": "string",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/body.json",
|
|
4
4
|
"title": "Body",
|
|
5
5
|
"description": "Body is a typography component primarily used within Spectrum components and for blocks of text.",
|
|
6
6
|
"meta": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"type": "object",
|
|
11
11
|
"properties": {
|
|
12
12
|
"script": {
|
|
13
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
13
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
|
|
14
14
|
},
|
|
15
15
|
"classification": {
|
|
16
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
16
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-classification.json"
|
|
17
17
|
},
|
|
18
18
|
"size": {
|
|
19
19
|
"type": "string",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/bottom-navigation-android.json",
|
|
4
4
|
"title": "Bottom navigation (Android)",
|
|
5
5
|
"description": "Bottom navigation is a top-level navigation control for Android apps.",
|
|
6
6
|
"meta": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"default": "bottom"
|
|
19
19
|
},
|
|
20
20
|
"icon": {
|
|
21
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
21
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
|
|
22
22
|
},
|
|
23
23
|
"background": {
|
|
24
24
|
"type": "string",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/breadcrumbs.json",
|
|
4
4
|
"title": "Breadcrumbs",
|
|
5
5
|
"description": "Breadcrumbs show hierarchy and navigational context for a user’s location within an app.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/button-group.json",
|
|
4
4
|
"title": "Button group",
|
|
5
5
|
"description": "A button group is a grouping of buttons whose actions are related to each other.",
|
|
6
6
|
"meta": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opensource.adobe.com/spectrum-
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/button.json",
|
|
4
4
|
"title": "Button",
|
|
5
5
|
"description": "Buttons allow users to perform an action or to navigate to another page. They have multiple styles for various needs, and are ideal for calling attention to where a user needs to do something in order to move forward in a flow.",
|
|
6
6
|
"meta": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"default": false
|
|
18
18
|
},
|
|
19
19
|
"icon": {
|
|
20
|
-
"$ref": "https://opensource.adobe.com/spectrum-
|
|
20
|
+
"$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
|
|
21
21
|
"description": "Icon must be present if the label is not defined."
|
|
22
22
|
},
|
|
23
23
|
"variant": {
|