@webstudio-is/sdk 0.218.0 → 0.220.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/lib/core-templates.js +726 -33
- package/lib/index.js +730 -51
- package/lib/runtime.js +2 -0
- package/lib/types/__generated__/tags.d.ts +1 -0
- package/lib/types/core-metas.d.ts +0 -1010
- package/lib/types/core-templates.d.ts +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/runtime.d.ts +2 -1
- package/lib/types/schema/component-meta.d.ts +889 -902
- package/lib/types/schema/webstudio.d.ts +22 -22
- package/package.json +7 -7
|
@@ -20398,6 +20398,17 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
20398
20398
|
property: import("@webstudio-is/css-engine").StyleProperty;
|
|
20399
20399
|
}>, "many">;
|
|
20400
20400
|
}, "strip", z.ZodTypeAny, {
|
|
20401
|
+
children: ({
|
|
20402
|
+
value: string;
|
|
20403
|
+
type: "text";
|
|
20404
|
+
placeholder?: boolean | undefined;
|
|
20405
|
+
} | {
|
|
20406
|
+
value: string;
|
|
20407
|
+
type: "id";
|
|
20408
|
+
} | {
|
|
20409
|
+
value: string;
|
|
20410
|
+
type: "expression";
|
|
20411
|
+
})[];
|
|
20401
20412
|
props: ({
|
|
20402
20413
|
value: number;
|
|
20403
20414
|
type: "number";
|
|
@@ -21818,17 +21829,6 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
21818
21829
|
instanceId: string;
|
|
21819
21830
|
required?: boolean | undefined;
|
|
21820
21831
|
})[];
|
|
21821
|
-
children: ({
|
|
21822
|
-
value: string;
|
|
21823
|
-
type: "text";
|
|
21824
|
-
placeholder?: boolean | undefined;
|
|
21825
|
-
} | {
|
|
21826
|
-
value: string;
|
|
21827
|
-
type: "id";
|
|
21828
|
-
} | {
|
|
21829
|
-
value: string;
|
|
21830
|
-
type: "expression";
|
|
21831
|
-
})[];
|
|
21832
21832
|
styles: {
|
|
21833
21833
|
value: {
|
|
21834
21834
|
value: {
|
|
@@ -22556,6 +22556,17 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
22556
22556
|
id: string;
|
|
22557
22557
|
})[];
|
|
22558
22558
|
}, {
|
|
22559
|
+
children: ({
|
|
22560
|
+
value: string;
|
|
22561
|
+
type: "text";
|
|
22562
|
+
placeholder?: boolean | undefined;
|
|
22563
|
+
} | {
|
|
22564
|
+
value: string;
|
|
22565
|
+
type: "id";
|
|
22566
|
+
} | {
|
|
22567
|
+
value: string;
|
|
22568
|
+
type: "expression";
|
|
22569
|
+
})[];
|
|
22559
22570
|
props: ({
|
|
22560
22571
|
value: number;
|
|
22561
22572
|
type: "number";
|
|
@@ -23976,17 +23987,6 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
23976
23987
|
instanceId: string;
|
|
23977
23988
|
required?: boolean | undefined;
|
|
23978
23989
|
})[];
|
|
23979
|
-
children: ({
|
|
23980
|
-
value: string;
|
|
23981
|
-
type: "text";
|
|
23982
|
-
placeholder?: boolean | undefined;
|
|
23983
|
-
} | {
|
|
23984
|
-
value: string;
|
|
23985
|
-
type: "id";
|
|
23986
|
-
} | {
|
|
23987
|
-
value: string;
|
|
23988
|
-
type: "expression";
|
|
23989
|
-
})[];
|
|
23990
23990
|
styles: {
|
|
23991
23991
|
value: {
|
|
23992
23992
|
value: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.220.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"reserved-identifiers": "^1.0.0",
|
|
41
41
|
"type-fest": "^4.37.0",
|
|
42
42
|
"zod": "^3.24.2",
|
|
43
|
-
"@webstudio-is/
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/icons": "0.
|
|
43
|
+
"@webstudio-is/fonts": "0.220.0",
|
|
44
|
+
"@webstudio-is/css-engine": "0.220.0",
|
|
45
|
+
"@webstudio-is/icons": "0.220.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"html-tags": "^4.0.0",
|
|
49
|
-
"vitest": "^3.
|
|
49
|
+
"vitest": "^3.1.2",
|
|
50
50
|
"@webstudio-is/css-data": "0.0.0",
|
|
51
|
-
"@webstudio-is/
|
|
52
|
-
"@webstudio-is/
|
|
51
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
52
|
+
"@webstudio-is/template": "0.220.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"typecheck": "tsc",
|