@adobe/spectrum-design-data 0.12.0 → 0.14.1
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 +1 -41
- package/components/action-bar.json +8 -7
- package/components/alert-dialog.json +2 -2
- package/components/avatar.json +6 -8
- package/components/badge.json +1 -1
- package/components/bar-panel.json +14 -0
- package/components/card-horizontal.json +14 -0
- package/components/card.json +15 -0
- package/components/cards.json +8 -20
- package/components/coach-mark.json +5 -1
- package/components/collection-card.json +13 -0
- package/components/color-control.json +14 -0
- package/components/combo-box.json +20 -4
- package/components/contextual-help.json +0 -2
- package/components/date-field.json +13 -0
- package/components/date-picker.json +2 -4
- package/components/double-calendar.json +13 -0
- package/components/drop-zone.json +2 -2
- package/components/field.json +13 -0
- package/components/floating-action-button.json +13 -0
- package/components/form-item.json +13 -0
- package/components/help-text.json +1 -1
- package/components/in-field-button.json +14 -0
- package/components/list-view.json +5 -4
- package/components/menu.json +4 -2
- package/components/number-field.json +0 -1
- package/components/rating.json +2 -2
- package/components/search-field.json +0 -1
- package/components/segmented-text-field.json +13 -0
- package/components/select-box.json +3 -2
- package/components/side-navigation.json +5 -4
- package/components/single-calendar.json +13 -0
- package/components/slider.json +13 -11
- package/components/stack-item.json +23 -0
- package/components/standard-dialog.json +1 -1
- package/components/status-light.json +3 -2
- package/components/steplist.json +3 -2
- package/components/swatch.json +9 -1
- package/components/table.json +7 -6
- package/components/tabs.json +0 -8
- package/components/tag.json +4 -4
- package/components/takeover-dialog.json +1 -1
- package/components/time-field.json +13 -0
- package/components/tree-view.json +7 -6
- package/components/triple-calendar.json +13 -0
- package/components/user-card.json +14 -0
- package/fields/referenceScaleIndex.json +16 -0
- package/package.json +1 -1
- package/registry/property-terms.json +2 -2
- package/tokens/color-aliases.tokens.json +151 -65
- package/tokens/color-component.tokens.json +99 -40
- package/tokens/layout-component.tokens.json +1023 -600
- package/tokens/layout.tokens.json +305 -128
- package/tokens/semantic-color-palette.tokens.json +260 -88
- package/tokens/typography.tokens.json +144 -72
|
@@ -417,47 +417,7 @@
|
|
|
417
417
|
{ "token": "accordion-top-to-text-regular-large", "context": "S" },
|
|
418
418
|
{ "token": "accordion-bottom-to-text-regular-large", "context": "S" },
|
|
419
419
|
{ "token": "accordion-top-to-text-regular-extra-large", "context": "S" },
|
|
420
|
-
{ "token": "accordion-bottom-to-text-regular-extra-large", "context": "S" }
|
|
421
|
-
{
|
|
422
|
-
"token": "field-top-to-disclosure-icon-75-compact",
|
|
423
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"token": "field-top-to-disclosure-icon-75-regular",
|
|
427
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"token": "field-top-to-disclosure-icon-75-spacious",
|
|
431
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"token": "field-top-to-disclosure-icon-100-compact",
|
|
435
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"token": "field-top-to-disclosure-icon-200-compact",
|
|
439
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"token": "field-top-to-disclosure-icon-200-regular",
|
|
443
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"token": "field-top-to-disclosure-icon-200-spacious",
|
|
447
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"token": "field-top-to-disclosure-icon-300-compact",
|
|
451
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"token": "field-top-to-disclosure-icon-300-regular",
|
|
455
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"token": "field-top-to-disclosure-icon-300-spacious",
|
|
459
|
-
"context": "Spacing (top/bottom to disclosure icon)"
|
|
460
|
-
}
|
|
420
|
+
{ "token": "accordion-bottom-to-text-regular-extra-large", "context": "S" }
|
|
461
421
|
],
|
|
462
422
|
"accessibility": {
|
|
463
423
|
"intents": ["expand"],
|
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
{
|
|
63
63
|
"name": "item-counter",
|
|
64
64
|
"description": "Badge showing a count of items or actions."
|
|
65
|
-
}
|
|
65
|
+
},
|
|
66
|
+
{ "name": "counter" }
|
|
66
67
|
],
|
|
67
68
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
68
69
|
"tokenBindings": [
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"context": "Spacing (padding)"
|
|
83
84
|
},
|
|
84
85
|
{
|
|
85
|
-
"token": "action-bar-label-to-action-
|
|
86
|
+
"token": "action-bar-label-to-action-group-area",
|
|
86
87
|
"context": "Spacing (label to action button group)"
|
|
87
88
|
},
|
|
88
89
|
{
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
"token": "neutral-content-color-default",
|
|
99
100
|
"context": "Background (emphasized)"
|
|
100
101
|
},
|
|
101
|
-
{ "token": "action-bar-border", "context": "Border" },
|
|
102
|
+
{ "token": "action-bar-border-color", "context": "Border" },
|
|
102
103
|
{ "token": "drop-shadow-elevated-color", "context": "Drop shadow" },
|
|
103
104
|
{ "token": "drop-shadow-elevated-x", "context": "Drop shadow" },
|
|
104
105
|
{ "token": "drop-shadow-elevated-y", "context": "Drop shadow" },
|
|
@@ -112,19 +113,19 @@
|
|
|
112
113
|
{ "token": "accent-background-color-key-focus", "context": "Background" },
|
|
113
114
|
{ "token": "white", "context": "Icon and Clear icon" },
|
|
114
115
|
{
|
|
115
|
-
"token": "neutral-
|
|
116
|
+
"token": "neutral-background-color-selected-default",
|
|
116
117
|
"context": "Background"
|
|
117
118
|
},
|
|
118
119
|
{
|
|
119
|
-
"token": "neutral-
|
|
120
|
+
"token": "neutral-background-color-selected-hover",
|
|
120
121
|
"context": "Background"
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
|
-
"token": "neutral-
|
|
124
|
+
"token": "neutral-background-color-selected-down",
|
|
124
125
|
"context": "Background"
|
|
125
126
|
},
|
|
126
127
|
{
|
|
127
|
-
"token": "neutral-
|
|
128
|
+
"token": "neutral-background-color-selected-key-focus",
|
|
128
129
|
"context": "Background"
|
|
129
130
|
},
|
|
130
131
|
{ "token": "gray-25", "context": "Icon and Clear icon" },
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
{ "token": "body-sans-serif-font-family", "context": "Description" },
|
|
96
96
|
{ "token": "body-sans-serif-font-weight", "context": "Description" },
|
|
97
97
|
{ "token": "body-sans-serif-font-style", "context": "Description" },
|
|
98
|
-
{ "token": "alert-dialog-
|
|
98
|
+
{ "token": "alert-dialog-description-font-size", "context": "Description" },
|
|
99
99
|
{ "token": "line-height-200", "context": "Description" },
|
|
100
100
|
{ "token": "body-color", "context": "Description" },
|
|
101
101
|
{ "token": "alert-dialog-maximum-width", "context": "Maximum width" },
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"context": "Icon (error and warning variants)"
|
|
114
114
|
},
|
|
115
115
|
{ "token": "spacing-100", "context": "Minimum spacing (title to icon)" },
|
|
116
|
-
{ "token": "background-color
|
|
116
|
+
{ "token": "background-layer-2-color", "context": "Background" },
|
|
117
117
|
{ "token": "overlay-color", "context": "Overlay" },
|
|
118
118
|
{ "token": "overlay-opacity", "context": "Overlay" },
|
|
119
119
|
{ "token": "notice-visual-color", "context": "Icon (warning variant)" },
|
package/components/avatar.json
CHANGED
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
},
|
|
92
92
|
"states": [
|
|
93
93
|
{ "name": "down", "trigger": "interaction" },
|
|
94
|
-
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
94
|
+
{ "name": "keyboard-focus", "trigger": "interaction" },
|
|
95
|
+
{ "name": "disabled", "trigger": "prop" }
|
|
95
96
|
],
|
|
96
97
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
97
98
|
"tokenBindings": [
|
|
@@ -112,15 +113,12 @@
|
|
|
112
113
|
{ "token": "avatar-size-1300", "context": "Size" },
|
|
113
114
|
{ "token": "avatar-size-1400", "context": "Size" },
|
|
114
115
|
{ "token": "avatar-size-1500", "context": "Size" },
|
|
115
|
-
{ "token": "avatar-border-
|
|
116
|
+
{ "token": "avatar-border-width", "context": "Border" },
|
|
116
117
|
{ "token": "focus-indicator-thickness", "context": "Focus indicator" },
|
|
117
118
|
{ "token": "focus-indicator-gap", "context": "Focus indicator" },
|
|
118
|
-
{ "token": "
|
|
119
|
-
{ "token": "
|
|
120
|
-
{ "token": "
|
|
121
|
-
{ "token": "static-[color]-600", "context": "66% " },
|
|
122
|
-
{ "token": "avatar-gradient-stop-3", "context": "100% " },
|
|
123
|
-
{ "token": "static-[color]-800", "context": "100% " },
|
|
119
|
+
{ "token": "gradient-stop-1-avatar", "context": "0% " },
|
|
120
|
+
{ "token": "gradient-stop-2-avatar", "context": "66% " },
|
|
121
|
+
{ "token": "gradient-stop-3-avatar", "context": "100% " },
|
|
124
122
|
{ "token": "gradient-angle", "context": "Top-left to bottom-right" },
|
|
125
123
|
{ "token": "default-font-family", "context": "Text (List view item)" },
|
|
126
124
|
{ "token": "extra-bold-font-weight", "context": "Text (List view item)" },
|
package/components/badge.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
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/bar-panel.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "bar-panel",
|
|
6
|
+
"displayName": "Bar panel",
|
|
7
|
+
"description": "A panel anchored to an edge, exposing a draggable gripper for resizing.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/bar-panel/"
|
|
11
|
+
},
|
|
12
|
+
"anatomy": [{ "name": "gripper" }],
|
|
13
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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/card-horizontal.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "card-horizontal",
|
|
6
|
+
"displayName": "Horizontal card",
|
|
7
|
+
"description": "A card variant laid out horizontally, pairing a preview with content side by side.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/card-horizontal/"
|
|
11
|
+
},
|
|
12
|
+
"states": [{ "name": "default" }],
|
|
13
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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/card.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "card",
|
|
6
|
+
"displayName": "Card",
|
|
7
|
+
"description": "A single card surface used to group related content and actions; the base of the cards family (cards.json documents the group).",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/card/"
|
|
11
|
+
},
|
|
12
|
+
"anatomy": [{ "name": "selection" }, { "name": "well" }],
|
|
13
|
+
"states": [{ "name": "default" }],
|
|
14
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
15
|
+
}
|
package/components/cards.json
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
{ "token": "focus-indicator-color", "context": "Focus ring" },
|
|
174
174
|
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
175
175
|
{ "token": "opacity-disabled", "context": "Disabled" },
|
|
176
|
-
{ "token": "card-background-color
|
|
176
|
+
{ "token": "card-background-loading-color", "context": "Loading" },
|
|
177
177
|
{
|
|
178
178
|
"token": "card-minimum-height-extra-small",
|
|
179
179
|
"context": "Height (minimum)"
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"context": "Selection checkbox "
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
"token": "card-selection-background-size-extra",
|
|
201
|
+
"token": "card-selection-background-size-extra-large",
|
|
202
202
|
"context": "Selection checkbox "
|
|
203
203
|
},
|
|
204
204
|
{
|
|
@@ -268,23 +268,23 @@
|
|
|
268
268
|
"context": "Height (minimum), default variant"
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
"token": "collection-card-
|
|
271
|
+
"token": "collection-card-minimum-height-hero-extra-small",
|
|
272
272
|
"context": "Height (minimum), hero image variant"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
"token": "collection-card-
|
|
275
|
+
"token": "collection-card-minimum-height-hero-small",
|
|
276
276
|
"context": "Height (minimum), hero image variant"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
"token": "collection-card-
|
|
279
|
+
"token": "collection-card-minimum-height-hero-medium",
|
|
280
280
|
"context": "Height (minimum), hero image variant"
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
|
-
"token": "collection-card-
|
|
283
|
+
"token": "collection-card-minimum-height-hero-large",
|
|
284
284
|
"context": "Height (minimum), hero image variant"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
|
-
"token": "collection-card-
|
|
287
|
+
"token": "collection-card-minimum-height-hero-extra-large",
|
|
288
288
|
"context": "Height (minimum), hero image variant"
|
|
289
289
|
},
|
|
290
290
|
{ "token": "spacing-100", "context": "Spacing (header to footer)" },
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
"context": "Height (minimum), default variant"
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
"token": "user-
|
|
317
|
+
"token": "user-card-minimum-height-extra-large",
|
|
318
318
|
"context": "Height (minimum), default variant"
|
|
319
319
|
},
|
|
320
320
|
{
|
|
@@ -367,25 +367,13 @@
|
|
|
367
367
|
"token": "border-width-100",
|
|
368
368
|
"context": "Stroke width (secondary, dark)"
|
|
369
369
|
},
|
|
370
|
-
{
|
|
371
|
-
"token": "horizontal-card-edge-to-content-default",
|
|
372
|
-
"context": "Spacing"
|
|
373
|
-
},
|
|
374
370
|
{
|
|
375
371
|
"token": "popover-border-color",
|
|
376
372
|
"context": "Border (Secondary, Light theme)"
|
|
377
373
|
},
|
|
378
|
-
{
|
|
379
|
-
"token": "horizontal-card-edge-to-content-compact",
|
|
380
|
-
"context": "Spacing (top/side/bottom edge to content)"
|
|
381
|
-
},
|
|
382
374
|
{
|
|
383
375
|
"token": "horizontal-card-edge-to-content-regular",
|
|
384
376
|
"context": "Spacing (top/side/bottom edge to content)"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"token": "horizontal-card-edge-to-content-spacious",
|
|
388
|
-
"context": "Spacing (top/side/bottom edge to content)"
|
|
389
377
|
}
|
|
390
378
|
],
|
|
391
379
|
"accessibility": {
|
|
@@ -115,7 +115,11 @@
|
|
|
115
115
|
{
|
|
116
116
|
"name": "pagination-text",
|
|
117
117
|
"description": "Text indicating step position (e.g. '2 of 5')."
|
|
118
|
-
}
|
|
118
|
+
},
|
|
119
|
+
{ "name": "body" },
|
|
120
|
+
{ "name": "media" },
|
|
121
|
+
{ "name": "pagination" },
|
|
122
|
+
{ "name": "title" }
|
|
119
123
|
],
|
|
120
124
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
121
125
|
"tokenBindings": [
|
|
@@ -0,0 +1,13 @@
|
|
|
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/collection-card.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "collection-card",
|
|
6
|
+
"displayName": "Collection card",
|
|
7
|
+
"description": "A card variant representing a collection of items rather than a single asset.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/collection-card/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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/color-control.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "color-control",
|
|
6
|
+
"displayName": "Color control",
|
|
7
|
+
"description": "Shared interactive control (slider/area) underlying color-picker components.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/color-control/"
|
|
11
|
+
},
|
|
12
|
+
"anatomy": [{ "name": "track" }],
|
|
13
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
14
|
+
}
|
|
@@ -213,10 +213,26 @@
|
|
|
213
213
|
"errorMessage": { "type": "string" }
|
|
214
214
|
},
|
|
215
215
|
"states": [
|
|
216
|
-
{
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
{
|
|
217
|
+
"name": "hover-text-area",
|
|
218
|
+
"trigger": "prop",
|
|
219
|
+
"description": "Hover scoped to the text-entry anatomy part, distinct from hover over the field button."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "hover-button-area",
|
|
223
|
+
"trigger": "prop",
|
|
224
|
+
"description": "Hover scoped to the field button anatomy part, distinct from hover over the text-entry area."
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "focus-hover",
|
|
228
|
+
"trigger": "prop",
|
|
229
|
+
"description": "Combined focus and hover, when the field is focused and the pointer is also over it."
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "focus-not-hover",
|
|
233
|
+
"trigger": "prop",
|
|
234
|
+
"description": "Focus without hover, when the field is focused but the pointer is not over it."
|
|
235
|
+
},
|
|
220
236
|
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
221
237
|
],
|
|
222
238
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
@@ -96,8 +96,6 @@
|
|
|
96
96
|
],
|
|
97
97
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
98
98
|
"tokenBindings": [
|
|
99
|
-
{ "token": "xs-s", "context": "Components" },
|
|
100
|
-
{ "token": "s-m", "context": "Components" },
|
|
101
99
|
{ "token": "contextual-help-minimum-width", "context": "Minimum width" },
|
|
102
100
|
{ "token": "corner-radius-large-default", "context": "Rounding" },
|
|
103
101
|
{
|
|
@@ -0,0 +1,13 @@
|
|
|
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/date-field.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "date-field",
|
|
6
|
+
"displayName": "Date field",
|
|
7
|
+
"description": "A field for entering a date value.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/date-field/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
},
|
|
235
235
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
236
236
|
"tokenBindings": [
|
|
237
|
-
{ "token": "
|
|
237
|
+
{ "token": "popover-gap", "context": "Spacing (open)" },
|
|
238
238
|
{
|
|
239
239
|
"token": "single-calendar-popover-minimum-width",
|
|
240
240
|
"context": "Width (minimum)"
|
|
@@ -308,13 +308,11 @@
|
|
|
308
308
|
"token": "neutral-content-color-key-focus",
|
|
309
309
|
"context": "In field button colors "
|
|
310
310
|
},
|
|
311
|
-
{ "token": "disabled-color-content", "context": "In field button colors " },
|
|
312
311
|
{ "token": "gray-200", "context": "In field button colors " },
|
|
313
312
|
{
|
|
314
|
-
"token": "background-
|
|
313
|
+
"token": "disabled-background-color",
|
|
315
314
|
"context": "In field button colors "
|
|
316
315
|
},
|
|
317
|
-
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
318
316
|
{
|
|
319
317
|
"token": "default-font-family",
|
|
320
318
|
"context": "Label, value, help text, and error message"
|
|
@@ -0,0 +1,13 @@
|
|
|
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/double-calendar.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "double-calendar",
|
|
6
|
+
"displayName": "Double calendar",
|
|
7
|
+
"description": "A date-picker calendar variant displaying two consecutive months.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/double-calendar/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{ "token": "default-font-size", "context": "Title area and body area" },
|
|
157
157
|
{ "token": "font-size-300", "context": "Title area and body area" },
|
|
158
158
|
{ "token": "line-height-100", "context": "Title area and body area" },
|
|
159
|
-
{ "token": "
|
|
159
|
+
{ "token": "gray-300", "context": "Border color" },
|
|
160
160
|
{
|
|
161
161
|
"token": "neutral-content-color-default",
|
|
162
162
|
"context": "Illustration color"
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"context": "Border and background color (empty, hover)"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
"token": "drop-zone-background-color-opacity-
|
|
180
|
+
"token": "drop-zone-background-color-opacity-filled",
|
|
181
181
|
"context": "Border, background, and text area color (filled, hover)"
|
|
182
182
|
},
|
|
183
183
|
{
|
|
@@ -0,0 +1,13 @@
|
|
|
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/field.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "field",
|
|
6
|
+
"displayName": "Field",
|
|
7
|
+
"description": "Shared layout primitive underlying labeled form fields (text field, picker, etc.).",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/field/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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/floating-action-button.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "floating-action-button",
|
|
6
|
+
"displayName": "Floating action button",
|
|
7
|
+
"description": "A circular button that floats above content to surface a primary action.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "actions",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/floating-action-button/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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/form-item.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "form-item",
|
|
6
|
+
"displayName": "Form item",
|
|
7
|
+
"description": "Layout wrapper pairing a form field with its label and helper text.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/form-item/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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/in-field-button.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "in-field-button",
|
|
6
|
+
"displayName": "In-field button",
|
|
7
|
+
"description": "A button embedded inside a field's input area, such as a clear or disclosure action.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/in-field-button/"
|
|
11
|
+
},
|
|
12
|
+
"anatomy": [{ "name": "fill" }],
|
|
13
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
14
|
+
}
|
|
@@ -200,8 +200,6 @@
|
|
|
200
200
|
],
|
|
201
201
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
202
202
|
"tokenBindings": [
|
|
203
|
-
{ "token": "(multi-select", "context": "Variants" },
|
|
204
|
-
{ "token": "multi-select)", "context": "Variants" },
|
|
205
203
|
{ "token": "workflow-icon-size-100", "context": "Icon size" },
|
|
206
204
|
{ "token": "list-view-minimum-height", "context": "Component height" },
|
|
207
205
|
{ "token": "list-view-minimum-width", "context": "Component width" },
|
|
@@ -271,8 +269,11 @@
|
|
|
271
269
|
"token": "component-edge-to-text-100",
|
|
272
270
|
"context": "Spacing (horizontal)"
|
|
273
271
|
},
|
|
274
|
-
{ "token": "top-to-text-100", "context": "Spacing (vertical)" },
|
|
275
|
-
{
|
|
272
|
+
{ "token": "component-top-to-text-100", "context": "Spacing (vertical)" },
|
|
273
|
+
{
|
|
274
|
+
"token": "component-bottom-to-text-100",
|
|
275
|
+
"context": "Spacing (vertical)"
|
|
276
|
+
},
|
|
276
277
|
{
|
|
277
278
|
"token": "component-top-to-workflow-icon-100",
|
|
278
279
|
"context": "Spacing (vertical)"
|
package/components/menu.json
CHANGED
|
@@ -210,7 +210,9 @@
|
|
|
210
210
|
"states": [
|
|
211
211
|
{ "name": "hover", "trigger": "interaction" },
|
|
212
212
|
{ "name": "down", "trigger": "interaction" },
|
|
213
|
-
{ "name": "keyboard-focus", "trigger": "interaction" }
|
|
213
|
+
{ "name": "keyboard-focus", "trigger": "interaction" },
|
|
214
|
+
{ "name": "default", "trigger": "prop" },
|
|
215
|
+
{ "name": "disabled", "trigger": "prop" }
|
|
214
216
|
],
|
|
215
217
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
216
218
|
"tokenBindings": [
|
|
@@ -489,7 +491,7 @@
|
|
|
489
491
|
{ "token": "menu-item-background-color-hover", "context": "Background" },
|
|
490
492
|
{ "token": "menu-item-background-color-down", "context": "Background" },
|
|
491
493
|
{
|
|
492
|
-
"token": "menu-item-background-color-
|
|
494
|
+
"token": "menu-item-background-color-keyboard-focus",
|
|
493
495
|
"context": "Background"
|
|
494
496
|
},
|
|
495
497
|
{ "token": "menu-item-background-color-disabled", "context": "Background" },
|
package/components/rating.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
],
|
|
79
79
|
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
80
80
|
"tokenBindings": [
|
|
81
|
-
{ "token": "
|
|
81
|
+
{ "token": "workflow-icon-size-75", "context": "Layout" },
|
|
82
82
|
{ "token": "workflow-icon-size-100", "context": "Layout" },
|
|
83
83
|
{ "token": "rating-width-small", "context": "Width" },
|
|
84
84
|
{ "token": "rating-width-medium", "context": "Width" },
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
{ "token": "corner-radius-medium-size-small", "context": "Rounding" },
|
|
88
88
|
{ "token": "corner-radius-medium-size-medium", "context": "Rounding" },
|
|
89
89
|
{ "token": "focus-indicator-thickness", "context": "Focus ring" },
|
|
90
|
-
{ "token": "focus-indicator-
|
|
90
|
+
{ "token": "focus-indicator-gap", "context": "Focus ring" },
|
|
91
91
|
{
|
|
92
92
|
"token": "rating-top-to-content-area-small",
|
|
93
93
|
"context": "Spacing (padding)"
|
|
@@ -0,0 +1,13 @@
|
|
|
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/segmented-text-field.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "segmented-text-field",
|
|
6
|
+
"displayName": "Segmented text field",
|
|
7
|
+
"description": "A text field split into discrete segments, such as for structured input.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/segmented-text-field/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|