@adobe/design-data-spec 3.2.1 → 3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-data-spec",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "Design Data Specification — prose, JSON Schemas, rule catalog, and conformance fixtures for the design data format",
5
5
  "type": "module",
6
6
  "repository": {
@@ -87,6 +87,22 @@
87
87
  "type": "object",
88
88
  "description": "Platform-local tokens, mode sets, and formatting rules.",
89
89
  "properties": {
90
+ "tokens": {
91
+ "$ref": "cascade-file.schema.json",
92
+ "description": "Platform-local token definitions, in cascade-format (same shape as a cascade token file)."
93
+ },
94
+ "components": {
95
+ "type": "array",
96
+ "items": { "$ref": "component.schema.json" },
97
+ "description": "Platform-local component specs, injected into the component catalog (add-or-replace by name)."
98
+ },
99
+ "platformExtensions": {
100
+ "type": "array",
101
+ "items": {
102
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/platform-extension.json"
103
+ },
104
+ "description": "Platform-local terminology extensions (e.g. iOS state vocabulary), annotating ids in an existing base registry."
105
+ },
90
106
  "formatting": {
91
107
  "type": "object",
92
108
  "description": "Rules for serializing structured name objects into platform-specific token name strings.",
@@ -66,7 +66,7 @@ An agent loop benefits from a small, structural overview at session start so tha
66
66
 
67
67
  ### CLI
68
68
 
69
- The reference CLI is `design-data` (see [`sdk/cli/`](../../../sdk/cli/)). RFC-C extends the existing subcommands (`validate`, `resolve`, `diff`, `query`) with:
69
+ The reference CLI is `design-data` (see [`sdk/cli/`](../../../sdk/cli/)). Install it via Homebrew (macOS), `cargo install design-data-cli`, or a [GitHub Release download](https://github.com/adobe/spectrum-design-data/releases) — see the [`sdk/cli/` README](../../../sdk/cli/README.md#install). RFC-C extends the existing subcommands (`validate`, `resolve`, `diff`, `query`) with:
70
70
 
71
71
  * `design-data primer [PATH]` — emit the [Session primer](#session-primer) payload.
72
72
  * `design-data suggest "<intent>" [--property <hint>]` — invoke `suggest_token`.