@cntrl-site/components 1.0.33 → 1.0.35
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/ClickGallerie/ClickGallerie.d.ts +30 -0
- package/dist/Components/ClickGallerie/ClickGallerieComponent.d.ts +42 -0
- package/dist/Components/Scale/Scale.d.ts +22 -0
- package/dist/Components/Scale/ScaleComponent.d.ts +36 -0
- package/dist/index.js +1221 -37
- package/dist/index.mjs +8523 -6489
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonComponentProps } from '../props';
|
|
2
|
+
type ClickGallerieItem = {
|
|
3
|
+
image: {
|
|
4
|
+
url: string;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
link: string;
|
|
8
|
+
};
|
|
9
|
+
type ImageSizeSettings = {
|
|
10
|
+
sizeType: 'custom' | 'as is' | 'random';
|
|
11
|
+
value: number;
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
};
|
|
15
|
+
type ClickGallerieSettings = {
|
|
16
|
+
imageSize?: ImageSizeSettings;
|
|
17
|
+
cursor?: 'system' | 'custom';
|
|
18
|
+
target?: 'area' | 'image';
|
|
19
|
+
position?: 'random' | 'same' | 'on Click';
|
|
20
|
+
visible?: 'all' | 'last One';
|
|
21
|
+
defaultCursor?: string | null;
|
|
22
|
+
hoverCursor?: string | null;
|
|
23
|
+
};
|
|
24
|
+
type ClickGallerieProps = {
|
|
25
|
+
settings: ClickGallerieSettings;
|
|
26
|
+
content?: ClickGallerieItem[];
|
|
27
|
+
isEditor?: boolean;
|
|
28
|
+
} & CommonComponentProps;
|
|
29
|
+
export declare function ClickGallerie({ settings, content, isEditor }: ClickGallerieProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ClickGallerie } from './ClickGallerie';
|
|
2
|
+
import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
3
|
+
export declare const ClickGallerieComponent: {
|
|
4
|
+
element: typeof ClickGallerie;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
category: string;
|
|
8
|
+
version: number;
|
|
9
|
+
defaultSize: {
|
|
10
|
+
d: {
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
};
|
|
14
|
+
t: {
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
};
|
|
18
|
+
m: {
|
|
19
|
+
width: string;
|
|
20
|
+
height: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
preview: {
|
|
24
|
+
type: "image";
|
|
25
|
+
url: string;
|
|
26
|
+
};
|
|
27
|
+
schema: ComponentSchemaV1;
|
|
28
|
+
sourceCode: string;
|
|
29
|
+
assetsPaths: {
|
|
30
|
+
content: {
|
|
31
|
+
path: string;
|
|
32
|
+
placeholderEnabled: boolean;
|
|
33
|
+
}[];
|
|
34
|
+
parameters: {
|
|
35
|
+
path: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
fontSettingsPaths: {
|
|
39
|
+
content: never[];
|
|
40
|
+
parameters: never[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CommonComponentProps } from '../props';
|
|
2
|
+
type ScaleContentItem = {
|
|
3
|
+
image?: {
|
|
4
|
+
url?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
type ScaleSettings = {
|
|
9
|
+
imageSize?: number;
|
|
10
|
+
maxWidth?: number;
|
|
11
|
+
maxHeight?: number;
|
|
12
|
+
transition?: number;
|
|
13
|
+
bgImage?: 'greyscale' | 'blur' | 'as is';
|
|
14
|
+
};
|
|
15
|
+
type ScaleProps = {
|
|
16
|
+
settings: ScaleSettings;
|
|
17
|
+
content?: ScaleContentItem[];
|
|
18
|
+
isEditor?: boolean;
|
|
19
|
+
isPreviewMode?: boolean;
|
|
20
|
+
} & CommonComponentProps;
|
|
21
|
+
export declare function Scale({ settings, content, isEditor, isPreviewMode }: ScaleProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Scale } from './Scale';
|
|
2
|
+
import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
3
|
+
export declare const ScaleComponent: {
|
|
4
|
+
element: typeof Scale;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
category: string;
|
|
8
|
+
version: number;
|
|
9
|
+
defaultSize: {
|
|
10
|
+
d: {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
m: {
|
|
15
|
+
width: string;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
preview: {
|
|
20
|
+
type: "image";
|
|
21
|
+
url: string;
|
|
22
|
+
};
|
|
23
|
+
schema: ComponentSchemaV1;
|
|
24
|
+
sourceCode: string;
|
|
25
|
+
assetsPaths: {
|
|
26
|
+
content: {
|
|
27
|
+
path: string;
|
|
28
|
+
placeholderEnabled: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
parameters: never[];
|
|
31
|
+
};
|
|
32
|
+
fontSettingsPaths: {
|
|
33
|
+
content: never[];
|
|
34
|
+
parameters: never[];
|
|
35
|
+
};
|
|
36
|
+
};
|