@cntrl-site/components 1.0.60 → 1.0.62-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/MarqueeText/MarqueeText.d.ts +44 -0
- package/dist/Components/MarqueeText/MarqueeTextComponent.d.ts +47 -0
- package/dist/index.js +862 -73
- package/dist/index.mjs +8371 -6970
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CommonComponentProps } from '../props';
|
|
2
|
+
export declare const MarqueeText: ({ settings, content, isEditor, isPreviewMode, isEditMode }: MarqueeTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export type MarqueeTextItem = {
|
|
4
|
+
text: string;
|
|
5
|
+
image?: {
|
|
6
|
+
url?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
};
|
|
9
|
+
link?: string;
|
|
10
|
+
};
|
|
11
|
+
export type MarqueeTextSettings = {
|
|
12
|
+
speed: number;
|
|
13
|
+
direction: 'left' | 'right';
|
|
14
|
+
pauseOnHover: 'on' | 'off';
|
|
15
|
+
gap: number;
|
|
16
|
+
layoutType: 'curve' | 'angle';
|
|
17
|
+
curveAmplitude: number;
|
|
18
|
+
curveFrequency: number;
|
|
19
|
+
angle: number;
|
|
20
|
+
textFontFamily: string;
|
|
21
|
+
textFontSettings: {
|
|
22
|
+
fontWeight: number;
|
|
23
|
+
fontStyle: string;
|
|
24
|
+
};
|
|
25
|
+
textFontSize: number;
|
|
26
|
+
textLineHeight: number;
|
|
27
|
+
textLetterSpacing: number;
|
|
28
|
+
textWordSpacing: number;
|
|
29
|
+
textTextAppearance: {
|
|
30
|
+
textTransform: string;
|
|
31
|
+
textDecoration: string;
|
|
32
|
+
fontVariant: string;
|
|
33
|
+
};
|
|
34
|
+
textColor: string;
|
|
35
|
+
backgroundColor: string;
|
|
36
|
+
};
|
|
37
|
+
type MarqueeTextProps = {
|
|
38
|
+
settings: MarqueeTextSettings;
|
|
39
|
+
content?: MarqueeTextItem[];
|
|
40
|
+
isEditor?: boolean;
|
|
41
|
+
isPreviewMode?: boolean;
|
|
42
|
+
isEditMode?: boolean;
|
|
43
|
+
} & CommonComponentProps;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
2
|
+
export declare const MarqueeTextComponent: {
|
|
3
|
+
element: ({ settings, content, isEditor, isPreviewMode, isEditMode }: {
|
|
4
|
+
settings: import('./MarqueeText').MarqueeTextSettings;
|
|
5
|
+
content?: import('./MarqueeText').MarqueeTextItem[];
|
|
6
|
+
isEditor?: boolean;
|
|
7
|
+
isPreviewMode?: boolean;
|
|
8
|
+
isEditMode?: boolean;
|
|
9
|
+
} & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
category: string;
|
|
13
|
+
version: number;
|
|
14
|
+
defaultSize: {
|
|
15
|
+
d: {
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
t: {
|
|
19
|
+
width: string;
|
|
20
|
+
};
|
|
21
|
+
m: {
|
|
22
|
+
width: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
preview: {
|
|
26
|
+
type: "image";
|
|
27
|
+
url: string;
|
|
28
|
+
};
|
|
29
|
+
schema: ComponentSchemaV1;
|
|
30
|
+
sourceCode: string;
|
|
31
|
+
assetsPaths: {
|
|
32
|
+
content: {
|
|
33
|
+
path: string;
|
|
34
|
+
placeholderEnabled: boolean;
|
|
35
|
+
}[];
|
|
36
|
+
parameters: never[];
|
|
37
|
+
};
|
|
38
|
+
fontSettingsPaths: {
|
|
39
|
+
content: never[];
|
|
40
|
+
parameters: {
|
|
41
|
+
path: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
fontRelations: {
|
|
45
|
+
textFontSettings: string;
|
|
46
|
+
};
|
|
47
|
+
};
|