@cntrl-site/components 1.0.31-alpha.0 → 1.0.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "1.0.31-alpha.0",
3
+ "version": "1.0.31",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,30 +0,0 @@
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 {};
@@ -1,42 +0,0 @@
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
- };