@cntrl-site/sdk 1.24.5-0 → 1.24.5-2

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.
@@ -328,6 +328,9 @@ export declare const ControlSliderComponent: {
328
328
  content: {
329
329
  layoutBased: boolean;
330
330
  type: string;
331
+ settings: {
332
+ addItemFromFileExplorer: boolean;
333
+ };
331
334
  items: {
332
335
  type: string;
333
336
  properties: {
@@ -335,6 +338,9 @@ export declare const ControlSliderComponent: {
335
338
  type: string;
336
339
  display: {
337
340
  type: string;
341
+ minWidth: number;
342
+ defaultWidth: number;
343
+ maxWidth: number;
338
344
  };
339
345
  properties: {
340
346
  url: {
@@ -354,18 +360,9 @@ export declare const ControlSliderComponent: {
354
360
  display: {
355
361
  type: string;
356
362
  placeholder: string;
357
- };
358
- };
359
- link: {
360
- type: string;
361
- display: {
362
- type: string;
363
- placeholder: string;
364
- };
365
- properties: {
366
- text: {
367
- type: string;
368
- };
363
+ minWidth: number;
364
+ defaultWidth: number;
365
+ maxWidth: number;
369
366
  };
370
367
  };
371
368
  };
@@ -162,6 +162,9 @@ export declare const ControlImageRevealSliderComponent: {
162
162
  content: {
163
163
  layoutBased: boolean;
164
164
  type: string;
165
+ settings: {
166
+ addItemFromFileExplorer: boolean;
167
+ };
165
168
  items: {
166
169
  type: string;
167
170
  properties: {
@@ -188,16 +191,6 @@ export declare const ControlImageRevealSliderComponent: {
188
191
  };
189
192
  required: string[];
190
193
  };
191
- link: {
192
- type: string;
193
- display: {
194
- type: string;
195
- placeholder: string;
196
- minWidth: number;
197
- defaultWidth: number;
198
- maxWidth: number;
199
- };
200
- };
201
194
  };
202
195
  required: string[];
203
196
  };
package/dist/index.js CHANGED
@@ -2057,13 +2057,19 @@ const ControlSliderComponent = {
2057
2057
  content: {
2058
2058
  layoutBased: false,
2059
2059
  type: "array",
2060
+ settings: {
2061
+ addItemFromFileExplorer: true
2062
+ },
2060
2063
  items: {
2061
2064
  type: "object",
2062
2065
  properties: {
2063
2066
  image: {
2064
2067
  type: "object",
2065
2068
  display: {
2066
- type: "media-input"
2069
+ type: "media-input",
2070
+ minWidth: 48,
2071
+ defaultWidth: 108,
2072
+ maxWidth: 108
2067
2073
  },
2068
2074
  properties: {
2069
2075
  url: {
@@ -2082,19 +2088,10 @@ const ControlSliderComponent = {
2082
2088
  imageCaption: {
2083
2089
  display: {
2084
2090
  type: "rich-text",
2085
- placeholder: "Add Caption..."
2086
- }
2087
- },
2088
- link: {
2089
- type: "object",
2090
- display: {
2091
- type: "text-input",
2092
- placeholder: "Add Caption..."
2093
- },
2094
- properties: {
2095
- text: {
2096
- type: "string"
2097
- }
2091
+ placeholder: "Add Caption...",
2092
+ minWidth: 100,
2093
+ defaultWidth: 300,
2094
+ maxWidth: 500
2098
2095
  }
2099
2096
  }
2100
2097
  },
@@ -2636,6 +2633,9 @@ const ControlImageRevealSliderComponent = {
2636
2633
  content: {
2637
2634
  layoutBased: false,
2638
2635
  type: "array",
2636
+ settings: {
2637
+ addItemFromFileExplorer: true
2638
+ },
2639
2639
  items: {
2640
2640
  type: "object",
2641
2641
  properties: {
@@ -2661,16 +2661,6 @@ const ControlImageRevealSliderComponent = {
2661
2661
  }
2662
2662
  },
2663
2663
  required: ["url", "name"]
2664
- },
2665
- link: {
2666
- type: "string",
2667
- display: {
2668
- type: "text-input",
2669
- placeholder: "Enter link...",
2670
- minWidth: 100,
2671
- defaultWidth: 300,
2672
- maxWidth: 500
2673
- }
2674
2664
  }
2675
2665
  },
2676
2666
  required: ["image"]
package/dist/index.mjs CHANGED
@@ -2038,13 +2038,19 @@ const ControlSliderComponent = {
2038
2038
  content: {
2039
2039
  layoutBased: false,
2040
2040
  type: "array",
2041
+ settings: {
2042
+ addItemFromFileExplorer: true
2043
+ },
2041
2044
  items: {
2042
2045
  type: "object",
2043
2046
  properties: {
2044
2047
  image: {
2045
2048
  type: "object",
2046
2049
  display: {
2047
- type: "media-input"
2050
+ type: "media-input",
2051
+ minWidth: 48,
2052
+ defaultWidth: 108,
2053
+ maxWidth: 108
2048
2054
  },
2049
2055
  properties: {
2050
2056
  url: {
@@ -2063,19 +2069,10 @@ const ControlSliderComponent = {
2063
2069
  imageCaption: {
2064
2070
  display: {
2065
2071
  type: "rich-text",
2066
- placeholder: "Add Caption..."
2067
- }
2068
- },
2069
- link: {
2070
- type: "object",
2071
- display: {
2072
- type: "text-input",
2073
- placeholder: "Add Caption..."
2074
- },
2075
- properties: {
2076
- text: {
2077
- type: "string"
2078
- }
2072
+ placeholder: "Add Caption...",
2073
+ minWidth: 100,
2074
+ defaultWidth: 300,
2075
+ maxWidth: 500
2079
2076
  }
2080
2077
  }
2081
2078
  },
@@ -2617,6 +2614,9 @@ const ControlImageRevealSliderComponent = {
2617
2614
  content: {
2618
2615
  layoutBased: false,
2619
2616
  type: "array",
2617
+ settings: {
2618
+ addItemFromFileExplorer: true
2619
+ },
2620
2620
  items: {
2621
2621
  type: "object",
2622
2622
  properties: {
@@ -2642,16 +2642,6 @@ const ControlImageRevealSliderComponent = {
2642
2642
  }
2643
2643
  },
2644
2644
  required: ["url", "name"]
2645
- },
2646
- link: {
2647
- type: "string",
2648
- display: {
2649
- type: "text-input",
2650
- placeholder: "Enter link...",
2651
- minWidth: 100,
2652
- defaultWidth: 300,
2653
- maxWidth: 500
2654
- }
2655
2645
  }
2656
2646
  },
2657
2647
  required: ["image"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.24.5-0",
3
+ "version": "1.24.5-2",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",