@adobe/design-data-spec 4.11.0 → 4.12.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": "4.11.0",
3
+ "version": "4.12.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": {
@@ -154,21 +154,25 @@
154
154
  }
155
155
  },
156
156
  "markers": {
157
- "description": "Numbered markers 1..n, one per group of token rows that share a recipe property template. `part` is the recipe part the marker sits on, or null when no recipe binding fits.",
157
+ "description": "Numbered markers 1..n, one per group of token rows that share a recipe property template. `part` is the recipe part the marker sits on, or null when no recipe binding fits. `drawn` is false when the visual has no node for the marker (no part, or the recipe does not draw it); its number stays on the rows and views note it as not drawn.",
158
158
  "type": "array",
159
159
  "items": {
160
160
  "type": "object",
161
- "required": ["n", "part", "label"],
161
+ "required": ["n", "part", "label", "drawn"],
162
162
  "properties": {
163
163
  "n": { "type": "integer", "minimum": 1 },
164
164
  "part": { "type": ["string", "null"] },
165
- "label": { "type": "string" }
165
+ "label": {
166
+ "description": "The group's relationship property with its size part dropped (the recipe's `{sizeIndex}`/`{size}` template without the placeholder). Distinct within a block.",
167
+ "type": "string"
168
+ },
169
+ "drawn": { "type": "boolean" }
166
170
  },
167
171
  "additionalProperties": false
168
172
  }
169
173
  },
170
174
  "measurements": {
171
- "description": "Scene measurements the block shows on the Layout page: those whose relationship context is the block title (kinds `height`, `width`, `padding`, `gap`, `radius`, `border`, `focus-thickness`, `focus-gap`, `press`). A block renders in the states and options its bindings need (a focus ring in `keyboard-focus`, a pressed scale in `down`). `index` points into scene.measurements and `label` is the relationship property.",
175
+ "description": "Scene measurements the block shows on the Layout page: those whose relationship context is the block title (kinds `height`, `width`, `padding`, `gap`, `radius`, `border`, `focus-thickness`, `focus-gap`, `press`). A block renders in the states and options its bindings need (a focus ring in `keyboard-focus`, a pressed scale in `down`). `index` points into scene.measurements and `label` is the bound token's name, the same name the token rows show (the relationship property only when no token resolves).",
172
176
  "type": "array",
173
177
  "items": {
174
178
  "type": "object",
@@ -32,7 +32,7 @@ A record's own `rationale` is copied into the entry when present. History comes
32
32
  | `documentation` | Descriptions, document blocks, rationale, relationship context text |
33
33
  | `metadata` | Legacy keys, ids, ordering, implementations, spec bookkeeping (summarized, not listed) |
34
34
 
35
- **Metadata-class changes are not entries.** Each commit records them as `metadata: {count, fields}`: how many changes, and which field paths changed (a record added or removed is named `<kind> <change>`, e.g. `implementation added`). They count as a patch.
35
+ **Metadata-class changes are not entries.** Each commit records them as `metadata: {count, fields}`: how many changes, and which field paths changed (a record added or removed is named `<kind> <change>`, e.g. `implementation added`). They count as a patch. Removing a relationship whose exact twin survives (same scope, context and `$ref` or value) is metadata: nothing changes for consumers. Re-scoping a record (`scope.options` added or changed, same component, property, context and target) is an update, not a removal and an addition.
36
36
 
37
37
  In the committed file every entry, source and metadata summary is written on one line.
38
38