@cntrl-site/components 1.0.9-alpha.5 → 1.0.9-alpha.7

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.
@@ -1,26 +1,43 @@
1
1
  import { CommonComponentProps } from '../props';
2
- type MarqueeProps = {
3
- settings: MarqueeSettings;
4
- content?: MarqueeItem[];
5
- isEditor?: boolean;
6
- isPreviewMode?: boolean;
7
- } & CommonComponentProps;
8
- export declare const Marquee: ({ settings, content, isEditor, isPreviewMode }: MarqueeProps) => import("react/jsx-runtime").JSX.Element;
9
2
  export type MarqueeItem = {
10
3
  image?: {
11
4
  url?: string;
12
5
  name?: string;
13
6
  };
7
+ text?: any[];
14
8
  link?: string;
15
9
  };
16
10
  export type MarqueeSettings = {
17
11
  speed: number;
18
12
  direction: 'left' | 'right';
19
13
  pauseOnHover: 'on' | 'off';
14
+ hoverEffect: 'off' | 'brightness' | 'grayscale' | 'saturate';
20
15
  gap: number;
21
16
  imageMaxWidth: number;
22
17
  imageMaxHeight: number;
23
- /** `contain` is shown as "Fit" in the editor; same as CSS `object-fit: contain`. Legacy stored value `fit` is treated as `contain`. */
24
- imageFit?: 'cover' | 'contain' | 'fit';
18
+ imageFit?: 'cover' | 'contain';
19
+ textFontFamily?: string;
20
+ textFontSettings?: {
21
+ fontWeight?: number;
22
+ fontStyle?: string;
23
+ };
24
+ textFontSize?: number;
25
+ textLineHeight?: number;
26
+ textLetterSpacing?: number;
27
+ textWordSpacing?: number;
28
+ textTextAppearance?: {
29
+ textTransform?: string;
30
+ textDecoration?: string;
31
+ fontVariant?: string;
32
+ };
33
+ textColor?: string;
34
+ textMarginTop?: number;
25
35
  };
36
+ type MarqueeProps = {
37
+ settings: MarqueeSettings;
38
+ content?: MarqueeItem[];
39
+ isEditor?: boolean;
40
+ isPreviewMode?: boolean;
41
+ } & CommonComponentProps;
42
+ export declare const Marquee: ({ settings, content, isEditor, isPreviewMode }: MarqueeProps) => import("react/jsx-runtime").JSX.Element;
26
43
  export {};
@@ -29,6 +29,12 @@ export declare const MarqueeComponent: {
29
29
  };
30
30
  fontSettingsPaths: {
31
31
  content: never[];
32
- parameters: never[];
32
+ parameters: ({
33
+ path: string;
34
+ placeholderEnabled: boolean;
35
+ } | {
36
+ path: string;
37
+ placeholderEnabled?: undefined;
38
+ })[];
33
39
  };
34
40
  };