@adobe/spectrum-tokens 14.2.2 → 14.3.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/moon.yml CHANGED
@@ -16,14 +16,8 @@ fileGroups:
16
16
  - "test/**/*"
17
17
  tasks:
18
18
  validateDesignData:
19
- command: cargo
19
+ command: ../../sdk/target/debug/design-data
20
20
  args:
21
- - run
22
- - --manifest-path
23
- - ../../sdk/Cargo.toml
24
- - --bin
25
- - design-data
26
- - --
27
21
  - validate
28
22
  - ./src
29
23
  - --schema-path
@@ -31,20 +25,16 @@ tasks:
31
25
  - --exceptions-path
32
26
  - ./naming-exceptions.json
33
27
  platform: system
28
+ deps:
29
+ - sdk:build
34
30
  inputs:
35
31
  - "@globs(sources)"
36
32
  - "schemas/**/*.json"
37
33
  - "snapshots/**/*.json"
38
34
  - "naming-exceptions.json"
39
35
  verifyDesignDataSnapshot:
40
- command: cargo
36
+ command: ../../sdk/target/debug/design-data
41
37
  args:
42
- - run
43
- - --manifest-path
44
- - ../../sdk/Cargo.toml
45
- - --bin
46
- - design-data
47
- - --
48
38
  - migrate
49
39
  - verify
50
40
  - ./src
@@ -55,6 +45,8 @@ tasks:
55
45
  - --exceptions-path
56
46
  - ./naming-exceptions.json
57
47
  platform: system
48
+ deps:
49
+ - sdk:build
58
50
  inputs:
59
51
  - "@globs(sources)"
60
52
  - "schemas/**/*.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "14.2.2",
3
+ "version": "14.3.0",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,7 +23,8 @@
23
23
  "homepage": "https://github.com/adobe/spectrum-design-data/tree/main/packages/tokens#readme",
24
24
  "exports": {
25
25
  ".": "./index.js",
26
- "./schemas/token-file.json": "./schemas/token-file.json"
26
+ "./schemas/token-file.json": "./schemas/token-file.json",
27
+ "./dist/*": "./dist/*"
27
28
  },
28
29
  "devDependencies": {
29
30
  "ajv": "^8.17.1",
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -64,6 +64,8 @@
64
64
  "private": {},
65
65
  "deprecated": {},
66
66
  "deprecated_comment": {},
67
+ "description": {},
68
+ "renamed": {},
67
69
  "uuid": {}
68
70
  },
69
71
  "required": ["sets"]
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -46,6 +46,7 @@
46
46
  "private": {},
47
47
  "deprecated": {},
48
48
  "deprecated_comment": {},
49
+ "description": {},
49
50
  "uuid": {}
50
51
  }
51
52
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -22,6 +22,7 @@
22
22
  "private": {},
23
23
  "deprecated": {},
24
24
  "deprecated_comment": {},
25
+ "description": {},
25
26
  "uuid": {}
26
27
  }
27
28
  }
@@ -20,6 +20,7 @@
20
20
  "private": {},
21
21
  "deprecated": {},
22
22
  "deprecated_comment": {},
23
+ "description": {},
23
24
  "uuid": {}
24
25
  }
25
26
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -55,6 +55,8 @@
55
55
  "private": {},
56
56
  "deprecated": {},
57
57
  "deprecated_comment": {},
58
+ "description": {},
59
+ "renamed": {},
58
60
  "uuid": {}
59
61
  },
60
62
  "required": ["sets"]
@@ -16,6 +16,14 @@
16
16
  },
17
17
  "deprecated_comment": {
18
18
  "type": "string"
19
+ },
20
+ "renamed": {
21
+ "type": "string",
22
+ "description": "New token name if this token has been renamed. Use for 1:1 complete replacements."
23
+ },
24
+ "description": {
25
+ "type": "string",
26
+ "description": "Plain text describing the token's purpose (aligns with DTCG $description)."
19
27
  }
20
28
  },
21
29
  "required": ["sets"]
@@ -77,6 +77,8 @@
77
77
  "private": {},
78
78
  "deprecated": {},
79
79
  "deprecated_comment": {},
80
+ "description": {},
81
+ "renamed": {},
80
82
  "uuid": {}
81
83
  },
82
84
  "required": ["sets"]
@@ -22,6 +22,7 @@
22
22
  "private": {},
23
23
  "deprecated": {},
24
24
  "deprecated_comment": {},
25
+ "description": {},
25
26
  "uuid": {}
26
27
  }
27
28
  }
@@ -21,6 +21,7 @@
21
21
  "private": {},
22
22
  "deprecated": {},
23
23
  "deprecated_comment": {},
24
+ "description": {},
24
25
  "uuid": {}
25
26
  }
26
27
  }
@@ -39,6 +39,10 @@
39
39
  "type": "string",
40
40
  "description": "New token name if this token has been renamed. Use for 1:1 complete replacements."
41
41
  },
42
+ "description": {
43
+ "type": "string",
44
+ "description": "Plain text describing the token's purpose (aligns with DTCG $description)."
45
+ },
42
46
  "uuid": {
43
47
  "type": "string",
44
48
  "pattern": "^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$",
@@ -42,6 +42,7 @@
42
42
  "private": {},
43
43
  "deprecated": {},
44
44
  "deprecated_comment": {},
45
+ "description": {},
45
46
  "uuid": {}
46
47
  }
47
48
  }
@@ -778,6 +778,13 @@
778
778
  "severity": "info",
779
779
  "message": "Known naming exception: 'focus-indicator-thickness' does not match canonical generation rules (tracked in naming-exceptions.json)"
780
780
  },
781
+ {
782
+ "file": "./src/layout.json",
783
+ "token": "focus-ring-gap",
784
+ "rule_id": "SPEC-007",
785
+ "severity": "warning",
786
+ "message": "Token 'focus-ring-gap' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
787
+ },
781
788
  {
782
789
  "file": "./src/layout.json",
783
790
  "token": "side-focus-indicator",