@adobe/spectrum-design-data 0.8.0 → 0.10.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.
Files changed (51) hide show
  1. package/components/list-view.json +40 -0
  2. package/components/menu.json +36 -1
  3. package/components/table.json +2 -1
  4. package/fields/alignment.json +1 -1
  5. package/fields/color-scheme.json +1 -1
  6. package/fields/colorFamily.json +2 -2
  7. package/fields/colorRole.json +1 -1
  8. package/fields/contrast.json +1 -1
  9. package/fields/density.json +1 -1
  10. package/fields/easing.json +1 -1
  11. package/fields/emphasis.json +16 -0
  12. package/fields/family.json +3 -3
  13. package/fields/from.json +1 -1
  14. package/fields/icon.json +15 -0
  15. package/fields/motionRole.json +1 -1
  16. package/fields/orientation.json +1 -1
  17. package/fields/position.json +1 -1
  18. package/fields/property.json +1 -1
  19. package/fields/qualifier.json +15 -0
  20. package/fields/role.json +15 -0
  21. package/fields/scale.json +1 -1
  22. package/fields/script.json +16 -0
  23. package/fields/shape.json +1 -1
  24. package/fields/size.json +1 -1
  25. package/fields/state.json +1 -1
  26. package/fields/style.json +2 -3
  27. package/fields/to.json +1 -1
  28. package/fields/weight.json +2 -3
  29. package/package.json +2 -2
  30. package/registry/anatomy-terms.json +33 -2
  31. package/registry/color-roles.json +30 -0
  32. package/registry/components.json +185 -0
  33. package/registry/icon-terms.json +90 -0
  34. package/registry/positions.json +18 -0
  35. package/registry/property-terms.json +80 -0
  36. package/registry/qualifiers.json +47 -0
  37. package/registry/roles.json +17 -0
  38. package/registry/scripts.json +12 -0
  39. package/registry/shapes.json +15 -0
  40. package/registry/sizes.json +7 -0
  41. package/registry/structures.json +10 -0
  42. package/registry/typography-emphasis.json +32 -0
  43. package/registry/typography-families.json +1 -6
  44. package/registry/variants.json +56 -0
  45. package/tokens/color-aliases.tokens.json +628 -251
  46. package/tokens/color-component.tokens.json +113 -38
  47. package/tokens/icons.tokens.json +205 -196
  48. package/tokens/layout-component.tokens.json +2799 -1162
  49. package/tokens/layout.tokens.json +523 -155
  50. package/tokens/semantic-color-palette.tokens.json +85 -35
  51. package/tokens/typography.tokens.json +888 -381
@@ -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 script or display context of the typeface, not a specific font name.",
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",
@@ -31,6 +31,13 @@
31
31
  "category": "emphasis",
32
32
  "usedIn": ["component-schemas"]
33
33
  },
34
+ {
35
+ "id": "quiet",
36
+ "label": "Quiet",
37
+ "description": "Reduced-visual-weight emphasis variant (e.g. no visible border/background until interaction)",
38
+ "category": "emphasis",
39
+ "usedIn": ["tokens"]
40
+ },
34
41
  {
35
42
  "id": "positive",
36
43
  "label": "Positive",
@@ -207,6 +214,13 @@
207
214
  "category": "emphasis",
208
215
  "usedIn": ["tokens"]
209
216
  },
217
+ {
218
+ "id": "emphasized",
219
+ "label": "Emphasized",
220
+ "description": "Elevated emphasis variant for prominent surfaces (e.g. drop shadows)",
221
+ "category": "emphasis",
222
+ "usedIn": ["tokens"]
223
+ },
210
224
  {
211
225
  "id": "static",
212
226
  "label": "Static",
@@ -277,6 +291,48 @@
277
291
  "description": "Informational dialog variant (alias for informative in alert contexts)",
278
292
  "category": "semantic",
279
293
  "usedIn": ["component-schemas"]
294
+ },
295
+ {
296
+ "id": "ambient",
297
+ "label": "Ambient",
298
+ "description": "Ambient/diffuse drop-shadow context",
299
+ "category": "context",
300
+ "usedIn": ["tokens"]
301
+ },
302
+ {
303
+ "id": "dragged",
304
+ "label": "Dragged",
305
+ "description": "Shadow context during drag interaction",
306
+ "category": "context",
307
+ "usedIn": ["tokens"]
308
+ },
309
+ {
310
+ "id": "elevated",
311
+ "label": "Elevated",
312
+ "description": "Elevated surface or shadow context",
313
+ "category": "context",
314
+ "usedIn": ["tokens"]
315
+ },
316
+ {
317
+ "id": "pasteboard",
318
+ "label": "Pasteboard",
319
+ "description": "Pasteboard surface context",
320
+ "category": "context",
321
+ "usedIn": ["tokens"]
322
+ },
323
+ {
324
+ "id": "elevated-key",
325
+ "label": "Elevated Key",
326
+ "description": "Key-light shadow context on an elevated surface",
327
+ "category": "context",
328
+ "usedIn": ["tokens"]
329
+ },
330
+ {
331
+ "id": "dragged-key",
332
+ "label": "Dragged Key",
333
+ "description": "Key-light shadow context during drag interaction",
334
+ "category": "context",
335
+ "usedIn": ["tokens"]
280
336
  }
281
337
  ]
282
338
  }