@cntrl-site/components 1.0.7-alpha.0 → 1.0.7-alpha.2
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.
- package/dist/Components/Form/FormComponent.d.ts +1 -1
- package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +1 -1
- package/dist/Components/TestimonialGrid/TestimonialGrid.d.ts +7 -7
- package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +7 -6
- package/dist/Components/TestimonialSingle/TestimonialSingle.d.ts +3 -20
- package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +4 -36
- package/dist/index.js +167 -104
- package/dist/index.mjs +2489 -2375
- package/dist/types/Component.d.ts +1 -0
- package/dist/types/SchemaV1.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
2
|
type TestimonialsProps = {
|
|
3
3
|
settings: TestimonialsSettings;
|
|
4
|
-
content?:
|
|
5
|
-
items: TestimonialsItem[];
|
|
6
|
-
};
|
|
4
|
+
content?: TestimonialsItem[];
|
|
7
5
|
isEditor?: boolean;
|
|
8
6
|
} & CommonComponentProps;
|
|
9
7
|
export declare const Testimonials: ({ settings, content, isEditor }: TestimonialsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,7 +11,7 @@ export type TestimonialsItem = {
|
|
|
13
11
|
name?: string;
|
|
14
12
|
objectFit?: 'cover' | 'contain';
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
logo?: {
|
|
17
15
|
url?: string;
|
|
18
16
|
name?: string;
|
|
19
17
|
objectFit?: 'cover' | 'contain';
|
|
@@ -28,10 +26,12 @@ type Padding = {
|
|
|
28
26
|
left: number;
|
|
29
27
|
};
|
|
30
28
|
type TestimonialsSettings = {
|
|
29
|
+
type: 'A' | 'B';
|
|
31
30
|
autoplay: 'on' | 'off';
|
|
32
31
|
speed: number;
|
|
32
|
+
align: 'start' | 'center' | 'end';
|
|
33
33
|
direction: 'left' | 'right';
|
|
34
|
-
|
|
34
|
+
pauseOnHover: 'on' | 'off';
|
|
35
35
|
gap: number;
|
|
36
36
|
cardWidth: number;
|
|
37
37
|
cardHeight: number;
|
|
@@ -40,8 +40,8 @@ type TestimonialsSettings = {
|
|
|
40
40
|
strokeColor: string;
|
|
41
41
|
bgColor: string;
|
|
42
42
|
padding: Padding;
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
logoMarginTop: number;
|
|
44
|
+
logoWidth: number;
|
|
45
45
|
textMarginTop: number;
|
|
46
46
|
textMinHeight: number;
|
|
47
47
|
captionMarginTop: number;
|
|
@@ -2,10 +2,12 @@ import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
|
2
2
|
export declare const TestimonialGridComponent: {
|
|
3
3
|
element: ({ settings, content, isEditor }: {
|
|
4
4
|
settings: {
|
|
5
|
+
type: "A" | "B";
|
|
5
6
|
autoplay: "on" | "off";
|
|
6
7
|
speed: number;
|
|
8
|
+
align: "start" | "center" | "end";
|
|
7
9
|
direction: "left" | "right";
|
|
8
|
-
|
|
10
|
+
pauseOnHover: "on" | "off";
|
|
9
11
|
gap: number;
|
|
10
12
|
cardWidth: number;
|
|
11
13
|
cardHeight: number;
|
|
@@ -19,8 +21,8 @@ export declare const TestimonialGridComponent: {
|
|
|
19
21
|
bottom: number;
|
|
20
22
|
left: number;
|
|
21
23
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
logoMarginTop: number;
|
|
25
|
+
logoWidth: number;
|
|
24
26
|
textMarginTop: number;
|
|
25
27
|
textMinHeight: number;
|
|
26
28
|
captionMarginTop: number;
|
|
@@ -75,13 +77,12 @@ export declare const TestimonialGridComponent: {
|
|
|
75
77
|
};
|
|
76
78
|
};
|
|
77
79
|
};
|
|
78
|
-
content?:
|
|
79
|
-
items: import('./TestimonialGrid').TestimonialsItem[];
|
|
80
|
-
};
|
|
80
|
+
content?: import('./TestimonialGrid').TestimonialsItem[];
|
|
81
81
|
isEditor?: boolean;
|
|
82
82
|
} & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
83
83
|
id: string;
|
|
84
84
|
name: string;
|
|
85
|
+
category: string;
|
|
85
86
|
version: number;
|
|
86
87
|
preview: {
|
|
87
88
|
type: "image";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
2
|
type TestimonialsProps = {
|
|
3
3
|
settings: TestimonialsSettings;
|
|
4
|
-
content?:
|
|
5
|
-
items: TestimonialsItem[];
|
|
6
|
-
};
|
|
4
|
+
content?: TestimonialsItem[];
|
|
7
5
|
isEditor?: boolean;
|
|
8
6
|
} & CommonComponentProps;
|
|
9
7
|
export declare const TestimonialSingle: ({ settings, content, isEditor }: TestimonialsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,32 +11,18 @@ export type TestimonialsItem = {
|
|
|
13
11
|
name?: string;
|
|
14
12
|
objectFit?: 'cover' | 'contain';
|
|
15
13
|
};
|
|
16
|
-
icon?: {
|
|
17
|
-
url?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
objectFit?: 'cover' | 'contain';
|
|
20
|
-
};
|
|
21
14
|
text: any[];
|
|
22
|
-
imageCaption?: any[];
|
|
23
15
|
caption: any[];
|
|
24
16
|
};
|
|
25
|
-
type Padding = {
|
|
26
|
-
top: number;
|
|
27
|
-
right: number;
|
|
28
|
-
bottom: number;
|
|
29
|
-
left: number;
|
|
30
|
-
};
|
|
31
17
|
type TestimonialsSettings = {
|
|
32
18
|
autoplay: 'on' | 'off';
|
|
33
19
|
speed: number;
|
|
34
20
|
width: number;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
iconScale?: number;
|
|
21
|
+
imageMarginTop?: number;
|
|
22
|
+
imageWidth?: number;
|
|
38
23
|
textMarginTop?: number;
|
|
39
24
|
textMinHeight?: number;
|
|
40
25
|
captionMarginTop?: number;
|
|
41
|
-
padding: Padding;
|
|
42
26
|
styles: TestimonialsStyles;
|
|
43
27
|
controls: {
|
|
44
28
|
isActive: 'visible' | 'hidden';
|
|
@@ -75,7 +59,6 @@ type CaptionStyles = {
|
|
|
75
59
|
color: string;
|
|
76
60
|
};
|
|
77
61
|
type TestimonialsStyles = {
|
|
78
|
-
imageCaption?: CaptionStyles;
|
|
79
62
|
text: CaptionStyles;
|
|
80
63
|
caption: CaptionStyles;
|
|
81
64
|
};
|
|
@@ -5,43 +5,12 @@ export declare const TestimonialSingleComponent: {
|
|
|
5
5
|
autoplay: "on" | "off";
|
|
6
6
|
speed: number;
|
|
7
7
|
width: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
iconScale?: number;
|
|
8
|
+
imageMarginTop?: number;
|
|
9
|
+
imageWidth?: number;
|
|
11
10
|
textMarginTop?: number;
|
|
12
11
|
textMinHeight?: number;
|
|
13
12
|
captionMarginTop?: number;
|
|
14
|
-
padding: {
|
|
15
|
-
top: number;
|
|
16
|
-
right: number;
|
|
17
|
-
bottom: number;
|
|
18
|
-
left: number;
|
|
19
|
-
};
|
|
20
13
|
styles: {
|
|
21
|
-
imageCaption?: {
|
|
22
|
-
fontSettings: {
|
|
23
|
-
fontFamily: string;
|
|
24
|
-
fontWeight: number;
|
|
25
|
-
fontStyle: string;
|
|
26
|
-
};
|
|
27
|
-
widthSettings: {
|
|
28
|
-
width: number;
|
|
29
|
-
sizing: "auto" | "manual";
|
|
30
|
-
};
|
|
31
|
-
letterSpacing: number;
|
|
32
|
-
textAlign: "left" | "center" | "right";
|
|
33
|
-
wordSpacing: number;
|
|
34
|
-
fontSizeLineHeight: {
|
|
35
|
-
fontSize: number;
|
|
36
|
-
lineHeight: number;
|
|
37
|
-
};
|
|
38
|
-
textAppearance: {
|
|
39
|
-
textTransform: "none" | "uppercase" | "lowercase";
|
|
40
|
-
textDecoration: "none" | "underline";
|
|
41
|
-
fontVariant: "normal" | "small-caps";
|
|
42
|
-
};
|
|
43
|
-
color: string;
|
|
44
|
-
};
|
|
45
14
|
text: {
|
|
46
15
|
fontSettings: {
|
|
47
16
|
fontFamily: string;
|
|
@@ -101,13 +70,12 @@ export declare const TestimonialSingleComponent: {
|
|
|
101
70
|
hover: string;
|
|
102
71
|
};
|
|
103
72
|
};
|
|
104
|
-
content?:
|
|
105
|
-
items: import('./TestimonialSingle').TestimonialsItem[];
|
|
106
|
-
};
|
|
73
|
+
content?: import('./TestimonialSingle').TestimonialsItem[];
|
|
107
74
|
isEditor?: boolean;
|
|
108
75
|
} & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
109
76
|
id: string;
|
|
110
77
|
name: string;
|
|
78
|
+
category: string;
|
|
111
79
|
version: number;
|
|
112
80
|
preview: {
|
|
113
81
|
type: "image";
|