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