@cntrl-site/components 0.1.23-alpha.0 → 0.1.23
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/Lightbox/Lightbox.d.ts +1 -1
- package/dist/components.css +1 -1
- package/dist/index.js +121 -1463
- package/dist/index.mjs +121 -1463
- package/package.json +1 -1
- package/dist/Components/Testimonials/Testimonials.d.ts +0 -106
- package/dist/Components/Testimonials/TestimonialsComponent.d.ts +0 -2
- package/dist/Components/Testimonials/getAlignPosition.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
type TestimonialsProps = {
|
|
3
|
-
settings: TestimonialsSettings;
|
|
4
|
-
content: TestimonialsImage[];
|
|
5
|
-
styles: TestimonialsStyles;
|
|
6
|
-
isEditor?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const Testimonials: FC<TestimonialsProps>;
|
|
9
|
-
type TestimonialsImage = {
|
|
10
|
-
image?: {
|
|
11
|
-
url?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
objectFit?: 'cover' | 'contain';
|
|
14
|
-
};
|
|
15
|
-
icon?: {
|
|
16
|
-
url?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
objectFit?: 'cover' | 'contain';
|
|
19
|
-
};
|
|
20
|
-
imageCaption: any[];
|
|
21
|
-
creds: any[];
|
|
22
|
-
};
|
|
23
|
-
export type Alignment = 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'middle-center' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
24
|
-
export type Offset = {
|
|
25
|
-
x: number;
|
|
26
|
-
y: number;
|
|
27
|
-
};
|
|
28
|
-
type TestimonialsGeneral = {
|
|
29
|
-
autoplay: 'on' | 'off';
|
|
30
|
-
inView?: number;
|
|
31
|
-
alignment: 'left' | 'center' | 'right';
|
|
32
|
-
move: 'one' | 'view';
|
|
33
|
-
speed: string;
|
|
34
|
-
direction: 'left' | 'right';
|
|
35
|
-
pause: 'hover' | 'click' | 'off';
|
|
36
|
-
};
|
|
37
|
-
type TestimonialsControls = {
|
|
38
|
-
arrowsImgUrl: string | null;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
color: string;
|
|
41
|
-
hover: string;
|
|
42
|
-
offset: Offset;
|
|
43
|
-
scale: number;
|
|
44
|
-
};
|
|
45
|
-
type TestimonialsCard = {
|
|
46
|
-
dimensions: {
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
};
|
|
50
|
-
gap: number;
|
|
51
|
-
corner: number;
|
|
52
|
-
borders: {
|
|
53
|
-
width: number;
|
|
54
|
-
color: string;
|
|
55
|
-
};
|
|
56
|
-
bgColor: string;
|
|
57
|
-
};
|
|
58
|
-
type TestimonialsElements = {
|
|
59
|
-
text: {
|
|
60
|
-
alignment: Alignment;
|
|
61
|
-
offset: Offset;
|
|
62
|
-
};
|
|
63
|
-
icon: {
|
|
64
|
-
alignment: Alignment;
|
|
65
|
-
offset: Offset;
|
|
66
|
-
scale: number;
|
|
67
|
-
};
|
|
68
|
-
creds: {
|
|
69
|
-
alignment: Alignment;
|
|
70
|
-
offset: Offset;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
type TestimonialsSettings = {
|
|
74
|
-
general: TestimonialsGeneral;
|
|
75
|
-
card: TestimonialsCard;
|
|
76
|
-
elements: TestimonialsElements;
|
|
77
|
-
controls: TestimonialsControls;
|
|
78
|
-
};
|
|
79
|
-
type TestimonialsStyles = {
|
|
80
|
-
caption: CaptionStyles;
|
|
81
|
-
};
|
|
82
|
-
type CaptionStyles = {
|
|
83
|
-
fontSettings: {
|
|
84
|
-
fontFamily: string;
|
|
85
|
-
fontWeight: number;
|
|
86
|
-
fontStyle: string;
|
|
87
|
-
};
|
|
88
|
-
widthSettings: {
|
|
89
|
-
width: number;
|
|
90
|
-
sizing: 'auto' | 'manual';
|
|
91
|
-
};
|
|
92
|
-
letterSpacing: number;
|
|
93
|
-
textAlign: 'left' | 'center' | 'right';
|
|
94
|
-
wordSpacing: number;
|
|
95
|
-
fontSizeLineHeight: {
|
|
96
|
-
fontSize: number;
|
|
97
|
-
lineHeight: number;
|
|
98
|
-
};
|
|
99
|
-
textAppearance: {
|
|
100
|
-
textTransform: 'none' | 'uppercase' | 'lowercase';
|
|
101
|
-
textDecoration: 'none' | 'underline';
|
|
102
|
-
fontVariant: 'normal' | 'small-caps';
|
|
103
|
-
};
|
|
104
|
-
color: string;
|
|
105
|
-
};
|
|
106
|
-
export {};
|