@cntrl-site/components 1.0.7-alpha.0 → 1.0.7-alpha.1
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 +3 -4
- package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +4 -4
- package/dist/Components/TestimonialSingle/TestimonialSingle.d.ts +1 -3
- package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +2 -3
- package/dist/index.js +43 -33
- package/dist/index.mjs +1619 -1588
- 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;
|
|
@@ -28,10 +26,11 @@ 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;
|
|
33
32
|
direction: 'left' | 'right';
|
|
34
|
-
|
|
33
|
+
pauseOnHover: 'on' | 'off';
|
|
35
34
|
gap: number;
|
|
36
35
|
cardWidth: number;
|
|
37
36
|
cardHeight: number;
|
|
@@ -2,10 +2,11 @@ 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;
|
|
7
8
|
direction: "left" | "right";
|
|
8
|
-
|
|
9
|
+
pauseOnHover: "on" | "off";
|
|
9
10
|
gap: number;
|
|
10
11
|
cardWidth: number;
|
|
11
12
|
cardHeight: number;
|
|
@@ -75,13 +76,12 @@ export declare const TestimonialGridComponent: {
|
|
|
75
76
|
};
|
|
76
77
|
};
|
|
77
78
|
};
|
|
78
|
-
content?:
|
|
79
|
-
items: import('./TestimonialGrid').TestimonialsItem[];
|
|
80
|
-
};
|
|
79
|
+
content?: import('./TestimonialGrid').TestimonialsItem[];
|
|
81
80
|
isEditor?: boolean;
|
|
82
81
|
} & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
83
82
|
id: string;
|
|
84
83
|
name: string;
|
|
84
|
+
category: string;
|
|
85
85
|
version: number;
|
|
86
86
|
preview: {
|
|
87
87
|
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;
|
|
@@ -101,13 +101,12 @@ export declare const TestimonialSingleComponent: {
|
|
|
101
101
|
hover: string;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
content?:
|
|
105
|
-
items: import('./TestimonialSingle').TestimonialsItem[];
|
|
106
|
-
};
|
|
104
|
+
content?: import('./TestimonialSingle').TestimonialsItem[];
|
|
107
105
|
isEditor?: boolean;
|
|
108
106
|
} & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
109
107
|
id: string;
|
|
110
108
|
name: string;
|
|
109
|
+
category: string;
|
|
111
110
|
version: number;
|
|
112
111
|
preview: {
|
|
113
112
|
type: "image";
|