@cntrl-site/components 1.0.7-alpha.4 → 1.0.7-alpha.5
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.
|
@@ -17,8 +17,8 @@ export type TestimonialsItem = {
|
|
|
17
17
|
name?: string;
|
|
18
18
|
objectFit?: 'cover' | 'contain';
|
|
19
19
|
};
|
|
20
|
-
text
|
|
21
|
-
caption
|
|
20
|
+
text?: any[];
|
|
21
|
+
caption?: any[];
|
|
22
22
|
};
|
|
23
23
|
type Padding = {
|
|
24
24
|
top: number;
|
|
@@ -27,7 +27,6 @@ type Padding = {
|
|
|
27
27
|
left: number;
|
|
28
28
|
};
|
|
29
29
|
type TestimonialsSettings = {
|
|
30
|
-
type: 'A' | 'B';
|
|
31
30
|
autoplay: 'on' | 'off';
|
|
32
31
|
speed: number;
|
|
33
32
|
align: 'start' | 'center' | 'end';
|
|
@@ -35,7 +34,6 @@ type TestimonialsSettings = {
|
|
|
35
34
|
pauseOnHover: 'on' | 'off';
|
|
36
35
|
gap: number;
|
|
37
36
|
cardWidth: number;
|
|
38
|
-
cardHeight: number;
|
|
39
37
|
corners: number;
|
|
40
38
|
stroke: number;
|
|
41
39
|
strokeColor: string;
|
|
@@ -43,8 +41,9 @@ type TestimonialsSettings = {
|
|
|
43
41
|
padding: Padding;
|
|
44
42
|
logoMarginTop: number;
|
|
45
43
|
logoWidth: number;
|
|
46
|
-
|
|
44
|
+
logoHeight: number;
|
|
47
45
|
textMinHeight: number;
|
|
46
|
+
captionMinHeight: number;
|
|
48
47
|
captionMarginTop: number;
|
|
49
48
|
styles: TestimonialsStyles;
|
|
50
49
|
};
|
|
@@ -2,7 +2,6 @@ import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
|
2
2
|
export declare const TestimonialGridComponent: {
|
|
3
3
|
element: ({ settings, content, isEditor, isPreviewMode }: {
|
|
4
4
|
settings: {
|
|
5
|
-
type: "A" | "B";
|
|
6
5
|
autoplay: "on" | "off";
|
|
7
6
|
speed: number;
|
|
8
7
|
align: "start" | "center" | "end";
|
|
@@ -10,7 +9,6 @@ export declare const TestimonialGridComponent: {
|
|
|
10
9
|
pauseOnHover: "on" | "off";
|
|
11
10
|
gap: number;
|
|
12
11
|
cardWidth: number;
|
|
13
|
-
cardHeight: number;
|
|
14
12
|
corners: number;
|
|
15
13
|
stroke: number;
|
|
16
14
|
strokeColor: string;
|
|
@@ -23,8 +21,9 @@ export declare const TestimonialGridComponent: {
|
|
|
23
21
|
};
|
|
24
22
|
logoMarginTop: number;
|
|
25
23
|
logoWidth: number;
|
|
26
|
-
|
|
24
|
+
logoHeight: number;
|
|
27
25
|
textMinHeight: number;
|
|
26
|
+
captionMinHeight: number;
|
|
28
27
|
captionMarginTop: number;
|
|
29
28
|
styles: {
|
|
30
29
|
text: {
|