@webmate-studio/builder 0.2.150 → 0.2.152
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": "@webmate-studio/builder",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.152",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Webmate Studio Component Builder",
|
|
6
6
|
"keywords": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@webmate-studio/builder": "^0.2.
|
|
46
|
+
"@webmate-studio/builder": "^0.2.150",
|
|
47
47
|
"@webmate-studio/core": "^0.2.7",
|
|
48
48
|
"@webmate-studio/parser": "^0.2.8",
|
|
49
49
|
"dom-serializer": "^2.0.0",
|
|
@@ -152,6 +152,11 @@ export function validateDesignTokensV2(tokens) {
|
|
|
152
152
|
|
|
153
153
|
// Aliases
|
|
154
154
|
if (!v2.typography.aliases) v2.typography.aliases = { ...DEFAULT_TEXT_ALIASES };
|
|
155
|
+
// Migrate fine → lead
|
|
156
|
+
if (v2.typography.aliases.fine && !v2.typography.aliases.lead) {
|
|
157
|
+
v2.typography.aliases.lead = 'body-1';
|
|
158
|
+
delete v2.typography.aliases.fine;
|
|
159
|
+
}
|
|
155
160
|
|
|
156
161
|
// ── Buttons validieren ──
|
|
157
162
|
if (!v2.buttons) v2.buttons = structuredClone(defaultDesignTokensV2.buttons);
|