@cntrl-site/components 0.1.3 → 0.1.4-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.
@@ -171,9 +171,12 @@ export declare const ControlImageRevealSliderComponent: {
171
171
  display: {
172
172
  type: string;
173
173
  label: string;
174
- isObjectFitEditable: boolean;
175
- minWidth: number;
176
- maxWidth: number;
174
+ display: {
175
+ type: string;
176
+ isObjectFitEditable: boolean;
177
+ minWidth: number;
178
+ maxWidth: number;
179
+ };
177
180
  };
178
181
  properties: {
179
182
  url: {
@@ -195,8 +198,11 @@ export declare const ControlImageRevealSliderComponent: {
195
198
  type: string;
196
199
  label: string;
197
200
  placeholder: string;
198
- minWidth: number;
199
- maxWidth: number;
201
+ display: {
202
+ type: string;
203
+ minWidth: number;
204
+ maxWidth: number;
205
+ };
200
206
  };
201
207
  };
202
208
  };
package/dist/index.js CHANGED
@@ -1406,11 +1406,14 @@ const ControlImageRevealSliderComponent = {
1406
1406
  image: {
1407
1407
  type: "object",
1408
1408
  display: {
1409
- type: "media-input",
1409
+ type: "object",
1410
1410
  label: "Image",
1411
- isObjectFitEditable: false,
1412
- minWidth: 58,
1413
- maxWidth: 108
1411
+ display: {
1412
+ type: "media-input",
1413
+ isObjectFitEditable: false,
1414
+ minWidth: 58,
1415
+ maxWidth: 108
1416
+ }
1414
1417
  },
1415
1418
  properties: {
1416
1419
  url: {
@@ -1427,13 +1430,16 @@ const ControlImageRevealSliderComponent = {
1427
1430
  required: ["url", "name"]
1428
1431
  },
1429
1432
  link: {
1430
- type: "string",
1433
+ type: "object",
1431
1434
  display: {
1432
- type: "text-input",
1435
+ type: "object",
1433
1436
  label: "URL",
1434
1437
  placeholder: "Enter link...",
1435
- minWidth: 300,
1436
- maxWidth: 550
1438
+ display: {
1439
+ type: "text-input",
1440
+ minWidth: 300,
1441
+ maxWidth: 550
1442
+ }
1437
1443
  }
1438
1444
  }
1439
1445
  },
package/dist/index.mjs CHANGED
@@ -1404,11 +1404,14 @@ const ControlImageRevealSliderComponent = {
1404
1404
  image: {
1405
1405
  type: "object",
1406
1406
  display: {
1407
- type: "media-input",
1407
+ type: "object",
1408
1408
  label: "Image",
1409
- isObjectFitEditable: false,
1410
- minWidth: 58,
1411
- maxWidth: 108
1409
+ display: {
1410
+ type: "media-input",
1411
+ isObjectFitEditable: false,
1412
+ minWidth: 58,
1413
+ maxWidth: 108
1414
+ }
1412
1415
  },
1413
1416
  properties: {
1414
1417
  url: {
@@ -1425,13 +1428,16 @@ const ControlImageRevealSliderComponent = {
1425
1428
  required: ["url", "name"]
1426
1429
  },
1427
1430
  link: {
1428
- type: "string",
1431
+ type: "object",
1429
1432
  display: {
1430
- type: "text-input",
1433
+ type: "object",
1431
1434
  label: "URL",
1432
1435
  placeholder: "Enter link...",
1433
- minWidth: 300,
1434
- maxWidth: 550
1436
+ display: {
1437
+ type: "text-input",
1438
+ minWidth: 300,
1439
+ maxWidth: 550
1440
+ }
1435
1441
  }
1436
1442
  }
1437
1443
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-0",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",