@cntrl-site/components 0.1.30-alpha.3 → 0.1.30

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.
@@ -5,7 +5,7 @@ type SliderProps = {
5
5
  styles: SliderStyles;
6
6
  isEditor?: boolean;
7
7
  } & CommonComponentProps;
8
- export declare function ControlSlider({ settings, content, styles: sliderStyles, isEditor }: SliderProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ControlSlider({ settings, content, styles: sliderStyles, isEditor }: SliderProps): JSX.Element;
9
9
  type SliderItem = {
10
10
  image: {
11
11
  url: string;
@@ -1,574 +1,2 @@
1
- import { ControlSlider } from './ControlSlider';
2
- export declare const ControlSliderComponent: {
3
- element: typeof ControlSlider;
4
- id: string;
5
- name: string;
6
- preview: {
7
- type: "video";
8
- url: string;
9
- };
10
- defaultSize: {
11
- width: number;
12
- height: number;
13
- };
14
- schema: {
15
- type: string;
16
- properties: {
17
- settings: {
18
- layoutBased: boolean;
19
- type: string;
20
- display: {
21
- type: string;
22
- };
23
- properties: {
24
- triggers: {
25
- title: string;
26
- icon: string;
27
- tooltip: string;
28
- type: string;
29
- properties: {
30
- triggersList: {
31
- type: string;
32
- display: {
33
- type: string;
34
- };
35
- properties: {
36
- click: {
37
- type: string;
38
- };
39
- drag: {
40
- type: string;
41
- };
42
- };
43
- };
44
- autoPlay: {
45
- type: string[];
46
- label: string;
47
- display: {
48
- type: string;
49
- };
50
- enum: (string | null)[];
51
- };
52
- };
53
- };
54
- direction: {
55
- icon: string;
56
- tooltip: string;
57
- type: string;
58
- display: {
59
- type: string;
60
- };
61
- enum: string[];
62
- };
63
- transition: {
64
- title: string;
65
- icon: string;
66
- tooltip: string;
67
- type: string;
68
- properties: {
69
- type: {
70
- type: string;
71
- display: {
72
- type: string;
73
- };
74
- enum: string[];
75
- };
76
- backgroundColor: {
77
- type: string[];
78
- title: string;
79
- display: {
80
- visible: boolean;
81
- type: string;
82
- format: string;
83
- };
84
- };
85
- duration: {
86
- type: string;
87
- label: string;
88
- display: {
89
- type: string;
90
- };
91
- enum: string[];
92
- };
93
- };
94
- };
95
- controls: {
96
- title: string;
97
- icon: string;
98
- tooltip: string;
99
- type: string;
100
- properties: {
101
- isActive: {
102
- type: string;
103
- display: {
104
- type: string;
105
- };
106
- };
107
- arrowsImgUrl: {
108
- type: string[];
109
- display: {
110
- type: string;
111
- };
112
- };
113
- offset: {
114
- type: string;
115
- title: string;
116
- display: {
117
- type: string;
118
- };
119
- properties: {
120
- x: {
121
- type: string;
122
- label: string;
123
- scalingEnabled: boolean;
124
- display: {
125
- type: string;
126
- visible: boolean;
127
- };
128
- };
129
- y: {
130
- type: string;
131
- label: string;
132
- scalingEnabled: boolean;
133
- display: {
134
- type: string;
135
- visible: boolean;
136
- };
137
- };
138
- };
139
- };
140
- scale: {
141
- type: string;
142
- title: string;
143
- min: number;
144
- max: number;
145
- display: {
146
- type: string;
147
- };
148
- };
149
- color: {
150
- title: string;
151
- type: string;
152
- display: {
153
- type: string;
154
- format: string;
155
- };
156
- };
157
- hover: {
158
- title: string;
159
- type: string;
160
- display: {
161
- type: string;
162
- format: string;
163
- };
164
- };
165
- show: {
166
- title: string;
167
- type: string;
168
- display: {
169
- type: string;
170
- };
171
- enum: string[];
172
- };
173
- };
174
- };
175
- pagination: {
176
- title: string;
177
- icon: string;
178
- tooltip: string;
179
- type: string;
180
- properties: {
181
- isActive: {
182
- type: string;
183
- display: {
184
- type: string;
185
- };
186
- };
187
- position: {
188
- display: {
189
- type: string;
190
- direction: string;
191
- };
192
- type: string;
193
- enum: string[];
194
- };
195
- offset: {
196
- type: string;
197
- title: string;
198
- display: {
199
- type: string;
200
- };
201
- properties: {
202
- x: {
203
- type: string;
204
- label: string;
205
- scalingEnabled: boolean;
206
- display: {
207
- type: string;
208
- visible: boolean;
209
- };
210
- };
211
- y: {
212
- type: string;
213
- label: string;
214
- scalingEnabled: boolean;
215
- display: {
216
- type: string;
217
- visible: boolean;
218
- };
219
- };
220
- };
221
- };
222
- scale: {
223
- type: string;
224
- title: string;
225
- min: number;
226
- max: number;
227
- display: {
228
- type: string;
229
- };
230
- };
231
- colors: {
232
- display: {
233
- type: string;
234
- format: string;
235
- };
236
- title: string;
237
- type: string;
238
- items: {
239
- type: string;
240
- };
241
- };
242
- hover: {
243
- title: string;
244
- type: string;
245
- display: {
246
- type: string;
247
- format: string;
248
- };
249
- };
250
- };
251
- };
252
- imageCaption: {
253
- title: string;
254
- icon: string;
255
- tooltip: string;
256
- type: string;
257
- properties: {
258
- isActive: {
259
- type: string;
260
- display: {
261
- type: string;
262
- };
263
- };
264
- alignment: {
265
- type: string;
266
- display: {
267
- type: string;
268
- };
269
- enum: string[];
270
- };
271
- offset: {
272
- type: string;
273
- title: string;
274
- display: {
275
- type: string;
276
- };
277
- properties: {
278
- x: {
279
- type: string;
280
- label: string;
281
- scalingEnabled: boolean;
282
- display: {
283
- type: string;
284
- visible: boolean;
285
- };
286
- };
287
- y: {
288
- type: string;
289
- label: string;
290
- scalingEnabled: boolean;
291
- display: {
292
- type: string;
293
- visible: boolean;
294
- };
295
- };
296
- };
297
- };
298
- linkColor: {
299
- title: string;
300
- type: string;
301
- display: {
302
- type: string;
303
- format: string;
304
- };
305
- };
306
- linkHoverColor: {
307
- title: string;
308
- type: string;
309
- display: {
310
- type: string;
311
- format: string;
312
- };
313
- };
314
- };
315
- };
316
- };
317
- default: {
318
- triggers: {
319
- triggersList: {
320
- click: boolean;
321
- drag: boolean;
322
- };
323
- autoPlay: null;
324
- };
325
- controls: {
326
- isActive: boolean;
327
- arrowsImgUrl: null;
328
- offset: {
329
- x: number;
330
- y: number;
331
- };
332
- scale: number;
333
- color: string;
334
- hover: string;
335
- show: string;
336
- };
337
- transition: {
338
- type: string;
339
- duration: string;
340
- backgroundColor: null;
341
- };
342
- pagination: {
343
- isActive: boolean;
344
- scale: number;
345
- position: string;
346
- offset: {
347
- x: number;
348
- y: number;
349
- };
350
- colors: string[];
351
- hover: string;
352
- };
353
- direction: string;
354
- imageCaption: {
355
- offset: {
356
- x: number;
357
- y: number;
358
- };
359
- isActive: boolean;
360
- alignment: string;
361
- linkColor: string;
362
- linkHoverColor: string;
363
- };
364
- };
365
- displayRules: ({
366
- if: {
367
- name: string;
368
- value: string;
369
- };
370
- then: {
371
- name: string;
372
- value: string;
373
- };
374
- } | {
375
- if: {
376
- name: string;
377
- value: string;
378
- };
379
- then: {
380
- name: string;
381
- value: boolean;
382
- };
383
- })[];
384
- };
385
- content: {
386
- layoutBased: boolean;
387
- type: string;
388
- settings: {
389
- addItemFromFileExplorer: boolean;
390
- defaultWidth: number;
391
- };
392
- items: {
393
- type: string;
394
- properties: {
395
- image: {
396
- type: string;
397
- label: string;
398
- display: {
399
- minWidth: number;
400
- maxWidth: number;
401
- type: string;
402
- };
403
- properties: {
404
- url: {
405
- type: string;
406
- };
407
- name: {
408
- type: string;
409
- };
410
- objectFit: {
411
- type: string;
412
- enum: string[];
413
- };
414
- };
415
- required: string[];
416
- };
417
- imageCaption: {
418
- placeholder: string;
419
- label: string;
420
- display: {
421
- type: string;
422
- minWidth: number;
423
- maxWidth: number;
424
- };
425
- };
426
- };
427
- required: string[];
428
- };
429
- default: {
430
- image: {
431
- objectFit: string;
432
- url: string;
433
- name: string;
434
- };
435
- imageCaption: {
436
- type: string;
437
- children: {
438
- text: string;
439
- }[];
440
- }[];
441
- }[];
442
- };
443
- styles: {
444
- layoutBased: boolean;
445
- type: string;
446
- properties: {
447
- imageCaption: {
448
- dataName: string;
449
- type: string;
450
- properties: {
451
- fontSettings: {
452
- type: string;
453
- display: {
454
- type: string;
455
- };
456
- properties: {
457
- fontFamily: {
458
- type: string;
459
- };
460
- fontWeight: {
461
- type: string;
462
- };
463
- fontStyle: {
464
- type: string;
465
- };
466
- };
467
- };
468
- widthSettings: {
469
- display: {
470
- type: string;
471
- };
472
- type: string;
473
- properties: {
474
- width: {
475
- type: string;
476
- };
477
- sizing: {
478
- type: string;
479
- enum: string[];
480
- };
481
- };
482
- };
483
- fontSizeLineHeight: {
484
- type: string;
485
- display: {
486
- type: string;
487
- };
488
- properties: {
489
- fontSize: {
490
- type: string;
491
- };
492
- lineHeight: {
493
- type: string;
494
- };
495
- };
496
- };
497
- letterSpacing: {
498
- display: {
499
- type: string;
500
- };
501
- type: string;
502
- };
503
- wordSpacing: {
504
- display: {
505
- type: string;
506
- };
507
- type: string;
508
- };
509
- textAlign: {
510
- display: {
511
- type: string;
512
- };
513
- type: string;
514
- enum: string[];
515
- };
516
- textAppearance: {
517
- display: {
518
- type: string;
519
- };
520
- properties: {
521
- textTransform: {
522
- type: string;
523
- enum: string[];
524
- };
525
- textDecoration: {
526
- type: string;
527
- enum: string[];
528
- };
529
- fontVariant: {
530
- type: string;
531
- enum: string[];
532
- };
533
- };
534
- };
535
- color: {
536
- display: {
537
- type: string;
538
- };
539
- type: string;
540
- };
541
- };
542
- };
543
- };
544
- default: {
545
- imageCaption: {
546
- widthSettings: {
547
- width: number;
548
- sizing: string;
549
- };
550
- fontSettings: {
551
- fontFamily: string;
552
- fontWeight: number;
553
- fontStyle: string;
554
- };
555
- fontSizeLineHeight: {
556
- fontSize: number;
557
- lineHeight: number;
558
- };
559
- letterSpacing: number;
560
- wordSpacing: number;
561
- textAlign: string;
562
- textAppearance: {
563
- textTransform: string;
564
- textDecoration: string;
565
- fontVariant: string;
566
- };
567
- color: string;
568
- };
569
- };
570
- };
571
- };
572
- required: string[];
573
- };
574
- };
1
+ import { Component } from '../../types/Component';
2
+ export declare const ControlSliderComponent: Component;