@adobe/spectrum-tokens 15.2.0 → 15.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
|
|
2
2
|
|
|
3
|
+
## 15.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1428](https://github.com/adobe/spectrum-design-data/pull/1428) [`6005339`](https://github.com/adobe/spectrum-design-data/commit/6005339a0678226eee3e827fd5bbfa793f5bccc7) Thanks [@GarthDB](https://github.com/GarthDB)! - Add a canonical `conceptId` UUID shared by every mode row of a design concept (closes the
|
|
8
|
+
concept-identity gap in proposal 013), and retire the transitional `set_uuid` cascade-migration
|
|
9
|
+
bridge field in the same release now that `conceptId` fully subsumes its role.
|
|
10
|
+
- **packages/tokens/schemas/token-types/alias.json**: removed `set_uuid`; `conceptId` was
|
|
11
|
+
already documented alongside `uuid` on the token schema.
|
|
12
|
+
- **packages/design-data/tokens/\*.tokens.json**: backfilled `conceptId` on every token
|
|
13
|
+
(reusing existing `set_uuid` values where present) and removed `set_uuid`.
|
|
14
|
+
- **sdk/core/src/{graph,legacy,migrate,figma/import}.rs**: re-keyed concept grouping,
|
|
15
|
+
legacy-output reconstruction, migration, and Figma import onto `conceptId`; CTR-side
|
|
16
|
+
camelCase `setUuid`/`setSchema` bridging is unchanged. `set_schema` is retained as-is —
|
|
17
|
+
it encodes set-type, not concept identity.
|
|
18
|
+
- **sdk/core/src/validate/rules/spec059.rs** (new): `alias-mode-context-compatibility`,
|
|
19
|
+
a mode analogue of SPEC-002 flagging an alias pinned to a mode-mismatched target.
|
|
20
|
+
- **spec/{cascade,token-format}.md**: normativize `conceptId` and context-aware `$ref`
|
|
21
|
+
resolution against a `conceptId` anchor.
|
|
22
|
+
- **conformance fixtures**: renamed `set_uuid` → `conceptId` throughout.
|
|
23
|
+
|
|
3
24
|
## 15.2.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -44,14 +44,16 @@
|
|
|
44
44
|
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
|
|
45
45
|
"format": "uuid"
|
|
46
46
|
},
|
|
47
|
-
"set_uuid": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Set-level UUID carried from the cascade migration (used by legacy-output to reconstruct the outer set UUID)."
|
|
50
|
-
},
|
|
51
47
|
"set_schema": {
|
|
52
48
|
"type": "string",
|
|
53
49
|
"description": "Set-level schema URL carried from the cascade migration."
|
|
54
50
|
},
|
|
51
|
+
"conceptId": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
|
|
54
|
+
"format": "uuid",
|
|
55
|
+
"description": "Canonical concept-level UUID shared by every mode row of this design concept. Additive to the per-value uuid (which remains the $ref/diff/replacedBy/sync anchor)."
|
|
56
|
+
},
|
|
55
57
|
"replaced_by": {
|
|
56
58
|
"oneOf": [
|
|
57
59
|
{ "type": "string", "format": "uuid" },
|
|
@@ -63,6 +63,12 @@
|
|
|
63
63
|
"type": "string",
|
|
64
64
|
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
|
|
65
65
|
"format": "uuid"
|
|
66
|
+
},
|
|
67
|
+
"conceptId": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
|
|
70
|
+
"format": "uuid",
|
|
71
|
+
"description": "Canonical concept-level UUID shared by every mode row of this design concept. Additive to the per-value uuid (which remains the $ref/diff/replacedBy/sync anchor)."
|
|
66
72
|
}
|
|
67
73
|
},
|
|
68
74
|
"required": ["value", "uuid"]
|