@adobe/spectrum-design-data 0.7.1 → 0.9.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/action-bar.json +10 -0
- package/components/alert-banner.json +6 -0
- package/components/breadcrumbs.json +6 -0
- package/components/coach-mark.json +6 -0
- package/components/field-label.json +6 -0
- package/components/list-view.json +40 -0
- package/components/menu.json +45 -0
- package/components/number-field.json +6 -0
- package/components/side-navigation.json +6 -0
- package/components/slider.json +6 -0
- package/components/status-light.json +18 -0
- package/components/steplist.json +6 -0
- package/components/table.json +19 -0
- package/components/tag.json +10 -0
- package/components/tree-view.json +6 -0
- package/fields/alignment.json +1 -1
- package/fields/color-scheme.json +3 -2
- package/fields/colorFamily.json +3 -2
- package/fields/colorRole.json +16 -0
- package/fields/contrast.json +3 -2
- package/fields/density.json +1 -1
- package/fields/easing.json +1 -1
- package/fields/emphasis.json +16 -0
- package/fields/family.json +4 -3
- package/fields/from.json +16 -0
- package/fields/icon.json +15 -0
- package/fields/motionRole.json +1 -1
- package/fields/orientation.json +1 -1
- package/fields/position.json +1 -1
- package/fields/property.json +1 -1
- package/fields/qualifier.json +15 -0
- package/fields/role.json +15 -0
- package/fields/scale.json +3 -2
- package/fields/scaleIndex.json +2 -1
- package/fields/script.json +16 -0
- package/fields/shape.json +1 -1
- package/fields/size.json +1 -1
- package/fields/state.json +1 -1
- package/fields/structure.json +2 -1
- package/fields/style.json +1 -1
- package/fields/to.json +16 -0
- package/fields/weight.json +1 -1
- package/package.json +2 -2
- package/registry/anatomy-terms.json +98 -2
- package/registry/color-roles.json +47 -0
- package/registry/components.json +195 -0
- package/registry/icon-terms.json +90 -0
- package/registry/positions.json +38 -0
- package/registry/property-terms.json +90 -0
- package/registry/qualifiers.json +47 -0
- package/registry/roles.json +17 -0
- package/registry/scripts.json +12 -0
- package/registry/shapes.json +15 -0
- package/registry/sizes.json +7 -0
- package/registry/structures.json +10 -0
- package/registry/typography-emphasis.json +32 -0
- package/registry/typography-families.json +1 -6
- package/registry/variants.json +49 -0
- package/tokens/color-aliases.tokens.json +775 -349
- package/tokens/color-component.tokens.json +124 -44
- package/tokens/icons.tokens.json +943 -563
- package/tokens/layout-component.tokens.json +3625 -1585
- package/tokens/layout.tokens.json +508 -157
- package/tokens/semantic-color-palette.tokens.json +85 -35
- package/tokens/typography.tokens.json +894 -384
|
@@ -207,6 +207,96 @@
|
|
|
207
207
|
"id": "line-height-multiplier",
|
|
208
208
|
"label": "Line Height Multiplier",
|
|
209
209
|
"description": "Unitless line-height ratio (multiplier), distinct from the absolute px line-height paired with a specific font-size tier"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "margin-multiplier",
|
|
213
|
+
"label": "Margin Multiplier",
|
|
214
|
+
"description": "Unitless margin ratio (multiplier), applied to both top and bottom of a typography block"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "margin-top-multiplier",
|
|
218
|
+
"label": "Margin Top Multiplier",
|
|
219
|
+
"description": "Unitless margin ratio (multiplier) applied above a typography block"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "margin-bottom-multiplier",
|
|
223
|
+
"label": "Margin Bottom Multiplier",
|
|
224
|
+
"description": "Unitless margin ratio (multiplier) applied below a typography block"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "text-transform",
|
|
228
|
+
"label": "Text Transform",
|
|
229
|
+
"description": "Case transformation applied to text content (e.g. uppercase, lowercase)"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "minimum-width",
|
|
233
|
+
"label": "Minimum Width",
|
|
234
|
+
"description": "CSS min-width constraint (design-system abstraction)"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "default-width",
|
|
238
|
+
"label": "Default Width",
|
|
239
|
+
"description": "Default width sizing for field components (design-system abstraction)"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "minimum-height",
|
|
243
|
+
"label": "Minimum Height",
|
|
244
|
+
"description": "CSS min-height constraint (design-system abstraction)"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "maximum-width",
|
|
248
|
+
"label": "Maximum Width",
|
|
249
|
+
"description": "CSS max-width constraint (design-system abstraction)"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "thickness",
|
|
253
|
+
"label": "Thickness",
|
|
254
|
+
"description": "Stroke or line thickness (design-system abstraction; not a standard CSS property)"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": "space-between",
|
|
258
|
+
"label": "Space Between",
|
|
259
|
+
"description": "Spacing between two named endpoints (e.g. an edge and an anatomy part, or two anatomy parts). The endpoints are carried by the paired `from`/`to` name-object fields, not by this term; the legacy key is reconstructed as {from}-to-{to} and omits this property term."
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "x",
|
|
263
|
+
"label": "X",
|
|
264
|
+
"description": "Horizontal offset (e.g. drop-shadow x offset)"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "y",
|
|
268
|
+
"label": "Y",
|
|
269
|
+
"description": "Vertical offset (e.g. drop-shadow y offset)"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "minimum",
|
|
273
|
+
"label": "Minimum",
|
|
274
|
+
"description": "Lower-bound constraint modifier (design-system abstraction; distinct from the compound minimum-width/minimum-height terms)"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "minimum-padding-vertical",
|
|
278
|
+
"label": "Minimum Vertical Padding",
|
|
279
|
+
"description": "Lower-bound constraint on internal vertical (top/bottom) spacing"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "component-size-minimum-perspective",
|
|
283
|
+
"label": "Component Size Minimum Perspective",
|
|
284
|
+
"description": "Lower bound used to calculate the CSS perspective transform for a component's S2 pressed/'down'-state scale-down effect (not applicable to all components)"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": "component-size-maximum-perspective",
|
|
288
|
+
"label": "Component Size Maximum Perspective",
|
|
289
|
+
"description": "Upper bound used to calculate the CSS perspective transform for a component's S2 pressed/'down'-state scale-down effect (not applicable to all components)"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "component-size-difference",
|
|
293
|
+
"label": "Component Size Difference",
|
|
294
|
+
"description": "Size delta used to calculate the CSS perspective transform for a component's S2 pressed/'down'-state scale-down effect (not applicable to all components)"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"id": "component-size-width-ratio",
|
|
298
|
+
"label": "Component Size Width Ratio",
|
|
299
|
+
"description": "Width ratio used to calculate the CSS perspective transform for a component's S2 pressed/'down'-state scale-down effect (not applicable to all components)"
|
|
210
300
|
}
|
|
211
301
|
]
|
|
212
302
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "qualifier",
|
|
4
|
+
"description": "Behavioral or layout modifier that narrows a property/anatomy without being a state, variant, or position.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "stacked",
|
|
8
|
+
"label": "Stacked",
|
|
9
|
+
"description": "Layout arranged in a stacked (vertical) configuration"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "multiline",
|
|
13
|
+
"label": "Multiline",
|
|
14
|
+
"description": "Content spanning more than one line"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "precision",
|
|
18
|
+
"label": "Precision",
|
|
19
|
+
"description": "Fine-grained/precision interaction mode"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "collapsed",
|
|
23
|
+
"label": "Collapsed",
|
|
24
|
+
"description": "Contracted/minimized display configuration"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "expanded",
|
|
28
|
+
"label": "Expanded",
|
|
29
|
+
"description": "Extended/enlarged display configuration"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "drag",
|
|
33
|
+
"label": "Drag",
|
|
34
|
+
"description": "Drag interaction modifier"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "highlight",
|
|
38
|
+
"label": "Highlight",
|
|
39
|
+
"description": "Emphasized highlight treatment"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "has-stepper",
|
|
43
|
+
"label": "Has stepper",
|
|
44
|
+
"description": "Configuration where the in-field stepper buttons are shown; inverse of the hideStepper component option."
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "role",
|
|
4
|
+
"description": "Terms describing an object's role within a nesting relationship, distinct from its size. This is a starting vocabulary — new role terms should be added here as design system patterns are identified.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "container",
|
|
8
|
+
"label": "Container",
|
|
9
|
+
"description": "The outer, container-level object in a nesting relationship (e.g. an action button or picker)"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "control",
|
|
13
|
+
"label": "Control",
|
|
14
|
+
"description": "The inner, nested control object in a nesting relationship (e.g. a checkbox's control box), sized smaller than its container to create a visually balanced gap"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "script",
|
|
4
|
+
"description": "Writing-system identifiers for typography tokens. Assigned via the `script` name-object field. Represents the script/writing-system a typeface variant supports, orthogonal to `family` (which represents typeface classification, e.g. serif vs. sans-serif).",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "cjk",
|
|
8
|
+
"label": "CJK",
|
|
9
|
+
"description": "Ideographic scripts used for Chinese, Japanese, and Korean (e.g. Adobe Clean Han)"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
package/registry/shapes.json
CHANGED
|
@@ -7,6 +7,21 @@
|
|
|
7
7
|
"id": "uniform",
|
|
8
8
|
"label": "Uniform",
|
|
9
9
|
"description": "Equal proportions (e.g., 1:1 ratio between horizontal and vertical padding)"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "rectangle",
|
|
13
|
+
"label": "Rectangle",
|
|
14
|
+
"description": "Rectangular (non-uniform) proportions"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "full",
|
|
18
|
+
"label": "Full",
|
|
19
|
+
"description": "Fully rounded corners (e.g. a pill or circle) regardless of the object's dimensions"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "none",
|
|
23
|
+
"label": "None",
|
|
24
|
+
"description": "No corner rounding (square corners)"
|
|
10
25
|
}
|
|
11
26
|
]
|
|
12
27
|
}
|
package/registry/sizes.json
CHANGED
|
@@ -66,6 +66,13 @@
|
|
|
66
66
|
"aliases": ["3x-large"],
|
|
67
67
|
"tokenName": "3x-large",
|
|
68
68
|
"usedIn": ["tokens", "component-options", "component-schemas"]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "xxxxl",
|
|
72
|
+
"label": "4X Large",
|
|
73
|
+
"aliases": ["4x-large"],
|
|
74
|
+
"tokenName": "4x-large",
|
|
75
|
+
"usedIn": ["tokens"]
|
|
69
76
|
}
|
|
70
77
|
]
|
|
71
78
|
}
|
package/registry/structures.json
CHANGED
|
@@ -52,6 +52,16 @@
|
|
|
52
52
|
"id": "heading",
|
|
53
53
|
"label": "Heading",
|
|
54
54
|
"description": "Heading text typography scale — used for section and page headings"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "drop-shadow",
|
|
58
|
+
"label": "Drop Shadow",
|
|
59
|
+
"description": "Elevated shadow effect applied to components and containers"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "drop-target",
|
|
63
|
+
"label": "Drop Target",
|
|
64
|
+
"description": "Drag-and-drop destination structure"
|
|
55
65
|
}
|
|
56
66
|
]
|
|
57
67
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "typography-emphasis",
|
|
4
|
+
"description": "Typographic emphasis identifiers for typography tokens. Assigned via the `emphasis` name-object field. Distinct from the CSS font-weight axis (see `weight`): emphasis is a relative modifier layered on a family/component (e.g. `cjk-strong-font-weight`), and values may compound (e.g. `heavy-strong-emphasized`) by hyphen-joining multiple modifiers.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "emphasized",
|
|
8
|
+
"label": "Emphasized",
|
|
9
|
+
"description": "Standard emphasis"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "strong",
|
|
13
|
+
"label": "Strong",
|
|
14
|
+
"description": "Strong emphasis (heavier than emphasized)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "heavy",
|
|
18
|
+
"label": "Heavy",
|
|
19
|
+
"description": "Heaviest emphasis"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "light",
|
|
23
|
+
"label": "Light",
|
|
24
|
+
"description": "Lighter than default emphasis"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "non-emphasized",
|
|
28
|
+
"label": "Non-Emphasized",
|
|
29
|
+
"description": "Explicitly not emphasized (maps to isEmphasized: false)"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
3
|
"type": "typography-family",
|
|
4
|
-
"description": "Type family identifiers for typography tokens. Assigned via the `family` name-object field. Represents the
|
|
4
|
+
"description": "Type family identifiers for typography tokens. Assigned via the `family` name-object field. Represents the typeface classification (e.g. serif vs. sans-serif) or usage context (e.g. code), not a specific font name or writing system — see `script` for the latter.",
|
|
5
5
|
"values": [
|
|
6
6
|
{
|
|
7
7
|
"id": "sans-serif",
|
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
"label": "Serif",
|
|
14
14
|
"description": "Serif typeface family (e.g. Adobe Clean Serif)"
|
|
15
15
|
},
|
|
16
|
-
{
|
|
17
|
-
"id": "cjk",
|
|
18
|
-
"label": "CJK",
|
|
19
|
-
"description": "CJK (Chinese, Japanese, Korean) script typeface family"
|
|
20
|
-
},
|
|
21
16
|
{
|
|
22
17
|
"id": "code",
|
|
23
18
|
"label": "Code",
|
package/registry/variants.json
CHANGED
|
@@ -207,6 +207,13 @@
|
|
|
207
207
|
"category": "emphasis",
|
|
208
208
|
"usedIn": ["tokens"]
|
|
209
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"id": "emphasized",
|
|
212
|
+
"label": "Emphasized",
|
|
213
|
+
"description": "Elevated emphasis variant for prominent surfaces (e.g. drop shadows)",
|
|
214
|
+
"category": "emphasis",
|
|
215
|
+
"usedIn": ["tokens"]
|
|
216
|
+
},
|
|
210
217
|
{
|
|
211
218
|
"id": "static",
|
|
212
219
|
"label": "Static",
|
|
@@ -277,6 +284,48 @@
|
|
|
277
284
|
"description": "Informational dialog variant (alias for informative in alert contexts)",
|
|
278
285
|
"category": "semantic",
|
|
279
286
|
"usedIn": ["component-schemas"]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "ambient",
|
|
290
|
+
"label": "Ambient",
|
|
291
|
+
"description": "Ambient/diffuse drop-shadow context",
|
|
292
|
+
"category": "context",
|
|
293
|
+
"usedIn": ["tokens"]
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"id": "dragged",
|
|
297
|
+
"label": "Dragged",
|
|
298
|
+
"description": "Shadow context during drag interaction",
|
|
299
|
+
"category": "context",
|
|
300
|
+
"usedIn": ["tokens"]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "elevated",
|
|
304
|
+
"label": "Elevated",
|
|
305
|
+
"description": "Elevated surface or shadow context",
|
|
306
|
+
"category": "context",
|
|
307
|
+
"usedIn": ["tokens"]
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "pasteboard",
|
|
311
|
+
"label": "Pasteboard",
|
|
312
|
+
"description": "Pasteboard surface context",
|
|
313
|
+
"category": "context",
|
|
314
|
+
"usedIn": ["tokens"]
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "elevated-key",
|
|
318
|
+
"label": "Elevated Key",
|
|
319
|
+
"description": "Key-light shadow context on an elevated surface",
|
|
320
|
+
"category": "context",
|
|
321
|
+
"usedIn": ["tokens"]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "dragged-key",
|
|
325
|
+
"label": "Dragged Key",
|
|
326
|
+
"description": "Key-light shadow context during drag interaction",
|
|
327
|
+
"category": "context",
|
|
328
|
+
"usedIn": ["tokens"]
|
|
280
329
|
}
|
|
281
330
|
]
|
|
282
331
|
}
|