@cntrl-site/sdk 1.25.9 → 1.25.11-components.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.
@@ -89,6 +89,7 @@ interface YoutubeEmbedCommonParams extends CommonParamsBase {
89
89
  interface ComponentCommonParams extends CommonParamsBase {
90
90
  componentId: string;
91
91
  content?: any;
92
+ parameters?: Record<string, any>;
92
93
  }
93
94
  interface MediaLayoutParams {
94
95
  opacity: number;
@@ -189,7 +190,6 @@ export type SolidFillLayer = {
189
190
  id: string;
190
191
  type: 'solid';
191
192
  value: string;
192
- blendMode: string;
193
193
  };
194
194
  export type LinearGradientFillLayer = {
195
195
  id: string;
@@ -198,7 +198,6 @@ export type LinearGradientFillLayer = {
198
198
  start: [number, number];
199
199
  end: [number, number];
200
200
  angle: number;
201
- blendMode: string;
202
201
  };
203
202
  export type RadialGradientFillLayer = {
204
203
  id: string;
@@ -207,7 +206,6 @@ export type RadialGradientFillLayer = {
207
206
  diameter: number;
208
207
  center: [number, number];
209
208
  angle: number;
210
- blendMode: string;
211
209
  };
212
210
  export type ConicGradientFillLayer = {
213
211
  id: string;
@@ -215,7 +213,6 @@ export type ConicGradientFillLayer = {
215
213
  colors: ColorPoint[];
216
214
  center: [number, number];
217
215
  angle: number;
218
- blendMode: string;
219
216
  };
220
217
  export type ImageLayer = {
221
218
  id: string;
@@ -224,7 +221,6 @@ export type ImageLayer = {
224
221
  behavior: string;
225
222
  backgroundSize: number;
226
223
  opacity: number;
227
- blendMode: string;
228
224
  rotation?: number;
229
225
  };
230
226
  export interface ScrollPlaybackParams {
@@ -0,0 +1,5 @@
1
+ export type CustomComponentMeta = {
2
+ id: string;
3
+ name: string;
4
+ schema: Record<string, unknown>;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.25.9",
3
+ "version": "1.25.11-components.0",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -8,6 +8,7 @@
8
8
  "test": "jest",
9
9
  "prebuild": "rimraf ./lib",
10
10
  "build": "tsc --project tsconfig.build.json",
11
+ "build:watch": "tsc --watch --project tsconfig.build.json",
11
12
  "prepublishOnly": "cross-env NODE_ENV=production npm run build"
12
13
  },
13
14
  "bin": {