@cntrl-site/sdk 1.22.5 → 1.22.6-alpha.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.
@@ -3,6 +3,10 @@ export declare const ControlSliderComponent: {
3
3
  element: typeof ControlSlider;
4
4
  id: string;
5
5
  name: string;
6
+ preview: {
7
+ type: "video";
8
+ url: string;
9
+ };
6
10
  defaultSize: {
7
11
  width: number;
8
12
  height: number;
package/dist/index.js CHANGED
@@ -1641,6 +1641,10 @@ const ControlSliderComponent = {
1641
1641
  element: ControlSlider,
1642
1642
  id: "control-slider",
1643
1643
  name: "Slider",
1644
+ preview: {
1645
+ type: "video",
1646
+ url: "https://cdn.cntrl.site/projects/01GJ2SMPPCQ7JSNGVXZ2DHWXWF/articles-assets/01JTFXX5M899RG2JA2GTJG1WNX.mp4"
1647
+ },
1644
1648
  defaultSize: {
1645
1649
  width: 400,
1646
1650
  height: 400
package/dist/index.mjs CHANGED
@@ -1622,6 +1622,10 @@ const ControlSliderComponent = {
1622
1622
  element: ControlSlider,
1623
1623
  id: "control-slider",
1624
1624
  name: "Slider",
1625
+ preview: {
1626
+ type: "video",
1627
+ url: "https://cdn.cntrl.site/projects/01GJ2SMPPCQ7JSNGVXZ2DHWXWF/articles-assets/01JTFXX5M899RG2JA2GTJG1WNX.mp4"
1628
+ },
1625
1629
  defaultSize: {
1626
1630
  width: 400,
1627
1631
  height: 400
@@ -8,4 +8,8 @@ export type Component = {
8
8
  height: number;
9
9
  };
10
10
  schema: any;
11
+ preview?: {
12
+ type: 'image' | 'video';
13
+ url: string;
14
+ };
11
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.22.5",
3
+ "version": "1.22.6-alpha.0",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",