@cntrl-site/sdk 1.28.0-2 → 1.28.0-3

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.
@@ -94,6 +94,7 @@ export declare const YoutubeEmbedLayoutParamsSchema: z.ZodObject<{
94
94
  blendMode?: string | undefined;
95
95
  }>;
96
96
  export declare const ComponentItemLayoutParamsSchema: z.ZodObject<{
97
+ sizing: z.ZodOptional<z.ZodString>;
97
98
  opacity: z.ZodNumber;
98
99
  blur: z.ZodNumber;
99
100
  parameters: z.ZodOptional<z.ZodAny>;
@@ -101,11 +102,13 @@ export declare const ComponentItemLayoutParamsSchema: z.ZodObject<{
101
102
  }, "strip", z.ZodTypeAny, {
102
103
  opacity: number;
103
104
  blur: number;
105
+ sizing?: string | undefined;
104
106
  parameters?: any;
105
107
  blendMode?: string | undefined;
106
108
  }, {
107
109
  opacity: number;
108
110
  blur: number;
111
+ sizing?: string | undefined;
109
112
  parameters?: any;
110
113
  blendMode?: string | undefined;
111
114
  }>;
@@ -200,6 +200,7 @@ const CodeEmbedItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
200
200
  state: zod_1.z.record(ItemState_schema_1.CodeEmbedStateParamsSchema)
201
201
  });
202
202
  exports.ComponentItemLayoutParamsSchema = zod_1.z.object({
203
+ sizing: zod_1.z.string().optional(),
203
204
  opacity: zod_1.z.number().nonnegative(),
204
205
  blur: zod_1.z.number(),
205
206
  parameters: zod_1.z.any().optional(),
@@ -249,6 +249,7 @@ type LayoutIdentifier = string;
249
249
  export interface ComponentLayoutParams {
250
250
  parameters?: any;
251
251
  opacity: number;
252
+ sizing?: string;
252
253
  blur: number;
253
254
  }
254
255
  export type VideoItem = Item<ArticleItemType.Video>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.28.0-2",
3
+ "version": "1.28.0-3",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",