@cntrl-site/components 1.0.33-alpha.2 → 1.0.34
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/{Zoom/ZoomComponent.d.ts → ClickGallerie/ClickGallerieComponent.d.ts} +13 -7
- package/dist/index.js +665 -663
- package/dist/index.mjs +5710 -5576
- package/package.json +1 -1
- package/dist/Components/Zoom/Zoom.d.ts +0 -22
|
@@ -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 {};
|
package/dist/Components/{Zoom/ZoomComponent.d.ts → ClickGallerie/ClickGallerieComponent.d.ts}
RENAMED
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClickGallerie } from './ClickGallerie';
|
|
2
2
|
import { ComponentSchemaV1 } from '../../types/SchemaV1';
|
|
3
|
-
export declare const
|
|
4
|
-
element: typeof
|
|
3
|
+
export declare const ClickGallerieComponent: {
|
|
4
|
+
element: typeof ClickGallerie;
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
category: string;
|
|
8
8
|
version: number;
|
|
9
9
|
defaultSize: {
|
|
10
10
|
d: {
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
};
|
|
14
|
+
t: {
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
13
17
|
};
|
|
14
18
|
m: {
|
|
15
19
|
width: string;
|
|
16
|
-
height:
|
|
20
|
+
height: string;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
23
|
preview: {
|
|
@@ -27,7 +31,9 @@ export declare const ZoomComponent: {
|
|
|
27
31
|
path: string;
|
|
28
32
|
placeholderEnabled: boolean;
|
|
29
33
|
}[];
|
|
30
|
-
parameters:
|
|
34
|
+
parameters: {
|
|
35
|
+
path: string;
|
|
36
|
+
}[];
|
|
31
37
|
};
|
|
32
38
|
fontSettingsPaths: {
|
|
33
39
|
content: never[];
|