@webstudio-is/sdk 0.213.0 → 0.214.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/index.js
CHANGED
|
@@ -1003,8 +1003,7 @@ var WsComponentMeta = z16.object({
|
|
|
1003
1003
|
// container - can accept other components with dnd or be edited as text
|
|
1004
1004
|
// control - usually form controls like inputs, without children
|
|
1005
1005
|
// embed - images, videos or other embeddable components, without children
|
|
1006
|
-
|
|
1007
|
-
type: z16.enum(["container", "control", "embed", "rich-text-child"]),
|
|
1006
|
+
type: z16.enum(["container", "control", "embed"]),
|
|
1008
1007
|
/**
|
|
1009
1008
|
* a property used as textual placeholder when no content specified while in builder
|
|
1010
1009
|
* also signals to not insert components inside unless dropped explicitly
|
|
@@ -5930,7 +5930,7 @@ export declare const ContentModel: z.ZodObject<{
|
|
|
5930
5930
|
export type ContentModel = z.infer<typeof ContentModel>;
|
|
5931
5931
|
export declare const WsComponentMeta: z.ZodObject<{
|
|
5932
5932
|
category: z.ZodOptional<z.ZodEnum<["general", "typography", "media", "animations", "data", "forms", "localization", "radix", "xml", "hidden", "internal"]>>;
|
|
5933
|
-
type: z.ZodEnum<["container", "control", "embed"
|
|
5933
|
+
type: z.ZodEnum<["container", "control", "embed"]>;
|
|
5934
5934
|
/**
|
|
5935
5935
|
* a property used as textual placeholder when no content specified while in builder
|
|
5936
5936
|
* also signals to not insert components inside unless dropped explicitly
|
|
@@ -11159,7 +11159,7 @@ export declare const WsComponentMeta: z.ZodObject<{
|
|
|
11159
11159
|
}>, "many">>;
|
|
11160
11160
|
order: z.ZodOptional<z.ZodNumber>;
|
|
11161
11161
|
}, "strip", z.ZodTypeAny, {
|
|
11162
|
-
type: "embed" | "control" | "container"
|
|
11162
|
+
type: "embed" | "control" | "container";
|
|
11163
11163
|
icon: string;
|
|
11164
11164
|
order?: number | undefined;
|
|
11165
11165
|
label?: string | undefined;
|
|
@@ -11814,7 +11814,7 @@ export declare const WsComponentMeta: z.ZodObject<{
|
|
|
11814
11814
|
state?: string | undefined;
|
|
11815
11815
|
}[]> | undefined;
|
|
11816
11816
|
}, {
|
|
11817
|
-
type: "embed" | "control" | "container"
|
|
11817
|
+
type: "embed" | "control" | "container";
|
|
11818
11818
|
icon: string;
|
|
11819
11819
|
order?: number | undefined;
|
|
11820
11820
|
label?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.214.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"reserved-identifiers": "^1.0.0",
|
|
41
41
|
"type-fest": "^4.37.0",
|
|
42
42
|
"zod": "^3.24.2",
|
|
43
|
-
"@webstudio-is/fonts": "0.
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
43
|
+
"@webstudio-is/fonts": "0.214.0",
|
|
44
|
+
"@webstudio-is/css-engine": "0.214.0",
|
|
45
|
+
"@webstudio-is/icons": "0.214.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"html-tags": "^4.0.0",
|
|
49
49
|
"vitest": "^3.0.8",
|
|
50
50
|
"@webstudio-is/css-data": "0.0.0",
|
|
51
|
-
"@webstudio-is/template": "0.
|
|
51
|
+
"@webstudio-is/template": "0.214.0",
|
|
52
52
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|