@cntrl-site/components 0.1.4-0 → 0.1.4
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.
|
@@ -7,6 +7,10 @@ export declare const ControlImageRevealSliderComponent: {
|
|
|
7
7
|
type: "video";
|
|
8
8
|
url: string;
|
|
9
9
|
};
|
|
10
|
+
defaultSize: {
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
};
|
|
10
14
|
schema: {
|
|
11
15
|
type: string;
|
|
12
16
|
properties: {
|
|
@@ -168,15 +172,12 @@ export declare const ControlImageRevealSliderComponent: {
|
|
|
168
172
|
properties: {
|
|
169
173
|
image: {
|
|
170
174
|
type: string;
|
|
175
|
+
label: string;
|
|
171
176
|
display: {
|
|
177
|
+
isObjectFitEditable: boolean;
|
|
178
|
+
minWidth: number;
|
|
179
|
+
maxWidth: number;
|
|
172
180
|
type: string;
|
|
173
|
-
label: string;
|
|
174
|
-
display: {
|
|
175
|
-
type: string;
|
|
176
|
-
isObjectFitEditable: boolean;
|
|
177
|
-
minWidth: number;
|
|
178
|
-
maxWidth: number;
|
|
179
|
-
};
|
|
180
181
|
};
|
|
181
182
|
properties: {
|
|
182
183
|
url: {
|
|
@@ -193,16 +194,12 @@ export declare const ControlImageRevealSliderComponent: {
|
|
|
193
194
|
required: string[];
|
|
194
195
|
};
|
|
195
196
|
link: {
|
|
196
|
-
|
|
197
|
+
label: string;
|
|
198
|
+
placeholder: string;
|
|
197
199
|
display: {
|
|
198
200
|
type: string;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
display: {
|
|
202
|
-
type: string;
|
|
203
|
-
minWidth: number;
|
|
204
|
-
maxWidth: number;
|
|
205
|
-
};
|
|
201
|
+
minWidth: number;
|
|
202
|
+
maxWidth: number;
|
|
206
203
|
};
|
|
207
204
|
};
|
|
208
205
|
};
|
package/dist/index.js
CHANGED
|
@@ -1221,6 +1221,10 @@ const ControlImageRevealSliderComponent = {
|
|
|
1221
1221
|
type: "video",
|
|
1222
1222
|
url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7EQ3WSW43JG5YMC8B2HTPKT.mp4"
|
|
1223
1223
|
},
|
|
1224
|
+
defaultSize: {
|
|
1225
|
+
width: "100%",
|
|
1226
|
+
height: "100%"
|
|
1227
|
+
},
|
|
1224
1228
|
schema: {
|
|
1225
1229
|
type: "object",
|
|
1226
1230
|
properties: {
|
|
@@ -1405,15 +1409,12 @@ const ControlImageRevealSliderComponent = {
|
|
|
1405
1409
|
properties: {
|
|
1406
1410
|
image: {
|
|
1407
1411
|
type: "object",
|
|
1412
|
+
label: "Image",
|
|
1408
1413
|
display: {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
isObjectFitEditable: false,
|
|
1414
|
-
minWidth: 58,
|
|
1415
|
-
maxWidth: 108
|
|
1416
|
-
}
|
|
1414
|
+
isObjectFitEditable: false,
|
|
1415
|
+
minWidth: 58,
|
|
1416
|
+
maxWidth: 108,
|
|
1417
|
+
type: "media-input"
|
|
1417
1418
|
},
|
|
1418
1419
|
properties: {
|
|
1419
1420
|
url: {
|
|
@@ -1430,16 +1431,12 @@ const ControlImageRevealSliderComponent = {
|
|
|
1430
1431
|
required: ["url", "name"]
|
|
1431
1432
|
},
|
|
1432
1433
|
link: {
|
|
1433
|
-
|
|
1434
|
+
label: "URL",
|
|
1435
|
+
placeholder: "Enter link...",
|
|
1434
1436
|
display: {
|
|
1435
|
-
type: "
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
display: {
|
|
1439
|
-
type: "text-input",
|
|
1440
|
-
minWidth: 300,
|
|
1441
|
-
maxWidth: 550
|
|
1442
|
-
}
|
|
1437
|
+
type: "text-input",
|
|
1438
|
+
minWidth: 300,
|
|
1439
|
+
maxWidth: 550
|
|
1443
1440
|
}
|
|
1444
1441
|
}
|
|
1445
1442
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1219,6 +1219,10 @@ const ControlImageRevealSliderComponent = {
|
|
|
1219
1219
|
type: "video",
|
|
1220
1220
|
url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7EQ3WSW43JG5YMC8B2HTPKT.mp4"
|
|
1221
1221
|
},
|
|
1222
|
+
defaultSize: {
|
|
1223
|
+
width: "100%",
|
|
1224
|
+
height: "100%"
|
|
1225
|
+
},
|
|
1222
1226
|
schema: {
|
|
1223
1227
|
type: "object",
|
|
1224
1228
|
properties: {
|
|
@@ -1403,15 +1407,12 @@ const ControlImageRevealSliderComponent = {
|
|
|
1403
1407
|
properties: {
|
|
1404
1408
|
image: {
|
|
1405
1409
|
type: "object",
|
|
1410
|
+
label: "Image",
|
|
1406
1411
|
display: {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
isObjectFitEditable: false,
|
|
1412
|
-
minWidth: 58,
|
|
1413
|
-
maxWidth: 108
|
|
1414
|
-
}
|
|
1412
|
+
isObjectFitEditable: false,
|
|
1413
|
+
minWidth: 58,
|
|
1414
|
+
maxWidth: 108,
|
|
1415
|
+
type: "media-input"
|
|
1415
1416
|
},
|
|
1416
1417
|
properties: {
|
|
1417
1418
|
url: {
|
|
@@ -1428,16 +1429,12 @@ const ControlImageRevealSliderComponent = {
|
|
|
1428
1429
|
required: ["url", "name"]
|
|
1429
1430
|
},
|
|
1430
1431
|
link: {
|
|
1431
|
-
|
|
1432
|
+
label: "URL",
|
|
1433
|
+
placeholder: "Enter link...",
|
|
1432
1434
|
display: {
|
|
1433
|
-
type: "
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
display: {
|
|
1437
|
-
type: "text-input",
|
|
1438
|
-
minWidth: 300,
|
|
1439
|
-
maxWidth: 550
|
|
1440
|
-
}
|
|
1435
|
+
type: "text-input",
|
|
1436
|
+
minWidth: 300,
|
|
1437
|
+
maxWidth: 550
|
|
1441
1438
|
}
|
|
1442
1439
|
}
|
|
1443
1440
|
},
|