@cntrl-site/components 1.0.62-alpha.4 → 1.0.62

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.62-alpha.4",
3
+ "version": "1.0.62",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,44 +0,0 @@
1
- import { CommonComponentProps } from '../props';
2
- export declare const MarqueeText: ({ settings, content, isEditor, isPreviewMode }: 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
- ribbonWidth?: number;
17
- layoutType: 'straight' | 'curve';
18
- curveAmplitude: number;
19
- curveFrequency: 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 {};
@@ -1,47 +0,0 @@
1
- import { ComponentSchemaV1 } from '../../types/SchemaV1';
2
- export declare const MarqueeTextComponent: {
3
- element: ({ settings, content, isEditor, isPreviewMode }: {
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
- };