@cntrl-site/components 1.0.97-alpha.1 → 1.0.97

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,7 +1,7 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  type ClickGallerieItem = {
3
3
  image: {
4
- url: string;
4
+ assetId: string;
5
5
  name: string;
6
6
  };
7
7
  link: string;
@@ -9,7 +9,7 @@ type SliderProps = {
9
9
  export declare function ControlSlider({ settings, content, styles: sliderStyles, isEditor }: SliderProps): import("react/jsx-runtime").JSX.Element;
10
10
  type SliderItem = {
11
11
  image: {
12
- url: string;
12
+ assetId: string;
13
13
  name?: string;
14
14
  objectFit?: 'cover' | 'contain';
15
15
  };
@@ -1,6 +1,6 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  type HelixMedia = {
3
- url?: string;
3
+ assetId?: string;
4
4
  name?: string;
5
5
  type?: 'image' | 'video';
6
6
  };
@@ -18,7 +18,7 @@ type HiveSettings = {
18
18
  };
19
19
  } & HiveLightboxTitleSettings;
20
20
  type HiveMedia = {
21
- url: string;
21
+ assetId: string;
22
22
  name?: string;
23
23
  objectFit?: 'cover' | 'contain';
24
24
  type?: 'image' | 'video';
@@ -31,7 +31,7 @@ type ImageRevealSliderSettings = {
31
31
  };
32
32
  type ImageRevealSliderItem = {
33
33
  image: {
34
- url: string;
34
+ assetId: string;
35
35
  name: string;
36
36
  };
37
37
  link: string;
@@ -12,7 +12,7 @@ type LightboxGalleryProps = {
12
12
  export declare const LightboxGallery: ({ settings, content, styles, portalId, activeEvent, isEditor, isPreviewMode }: LightboxGalleryProps) => import("react/jsx-runtime").JSX.Element;
13
13
  type LightboxImage = {
14
14
  image: {
15
- url: string;
15
+ assetId: string;
16
16
  name?: string;
17
17
  objectFit?: 'cover' | 'contain';
18
18
  };
@@ -47,7 +47,7 @@ type Triggers = {
47
47
  type LightboxSettings = {
48
48
  thumbnailBlock: {
49
49
  cover: {
50
- url: string;
50
+ assetId: string;
51
51
  };
52
52
  };
53
53
  lightboxBlock: {
@@ -2,7 +2,7 @@ import { CommonComponentProps } from '../props';
2
2
  import { TextStyles } from '../utils/textStylesToCss';
3
3
  import { ImageRatioFit } from '../utils/imageFitStyles';
4
4
  export type LightboxJournalImage = {
5
- url: string;
5
+ assetId: string;
6
6
  name?: string;
7
7
  objectFit?: 'cover' | 'contain';
8
8
  };
@@ -2,7 +2,7 @@ import { CSSProperties } from 'react';
2
2
  import { TextStyles } from '../utils/textStylesToCss';
3
3
  import { LayoutItem, LayoutTab } from '../../types/SchemaV1';
4
4
  type JournalImage = {
5
- url: string;
5
+ assetId: string;
6
6
  name?: string;
7
7
  objectFit?: 'cover' | 'contain';
8
8
  };
@@ -5,7 +5,7 @@ export { createStripTextStylePanelTab, createStripTextStyleTabContentItems, extr
5
5
  export type { StripGlobalTextStyleKey, StripTextStylePrefix, StripTitleWidthKey, } from './utils';
6
6
  export type LightboxStripItem = {
7
7
  image: {
8
- url: string;
8
+ assetId: string;
9
9
  name?: string;
10
10
  objectFit?: 'cover' | 'contain';
11
11
  };
@@ -118,7 +118,7 @@ export type ListSettings = {
118
118
  } & ListColumnTextStyleOverrides;
119
119
  type ListMedia = {
120
120
  objectFit?: 'cover' | 'contain';
121
- url: string;
121
+ assetId: string;
122
122
  name: string;
123
123
  type?: 'image' | 'video';
124
124
  };
@@ -2,7 +2,7 @@ import { CommonComponentProps } from '../props';
2
2
  export declare const Marquee: ({ settings, content, isEditor, isPreviewMode, isEditMode }: MarqueeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export type MarqueeItem = {
4
4
  image?: {
5
- url?: string;
5
+ assetId?: string;
6
6
  name?: string;
7
7
  type?: 'image' | 'video';
8
8
  };
@@ -3,7 +3,7 @@ export declare const MarqueeText: ({ settings, content, isEditor, isPreviewMode
3
3
  export type MarqueeTextItem = {
4
4
  text: string;
5
5
  image?: {
6
- url?: string;
6
+ assetId?: string;
7
7
  name?: string;
8
8
  };
9
9
  link?: string;
@@ -1,7 +1,7 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  import { TextStyles } from '../utils/textStylesToCss';
3
3
  type MercuryMedia = {
4
- url: string;
4
+ assetId: string;
5
5
  name?: string;
6
6
  type?: 'image' | 'video';
7
7
  objectFit?: 'cover' | 'contain';
@@ -1,7 +1,7 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  type ScaleContentItem = {
3
3
  image?: {
4
- url?: string;
4
+ assetId?: string;
5
5
  name?: string;
6
6
  };
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  type Slider20Item = {
3
3
  image: {
4
- url: string;
4
+ assetId: string;
5
5
  name?: string;
6
6
  objectFit?: 'cover' | 'contain';
7
7
  };
@@ -9,7 +9,7 @@ type TestimonialsProps = {
9
9
  export declare const TestimonialGrid: ({ settings, content, isEditor, isPreviewMode, isEditMode }: TestimonialsProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export type TestimonialsItem = {
11
11
  logo?: {
12
- url?: string;
12
+ assetId?: string;
13
13
  name?: string;
14
14
  objectFit?: 'cover' | 'contain';
15
15
  };
@@ -9,7 +9,7 @@ type TestimonialsProps = {
9
9
  export declare const TestimonialSingle: ({ settings, content, isEditor, isPreviewMode, isEditMode }: TestimonialsProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export type TestimonialsItem = {
11
11
  image?: {
12
- url?: string;
12
+ assetId?: string;
13
13
  name?: string;
14
14
  objectFit?: 'cover' | 'contain';
15
15
  };
@@ -1,6 +1,6 @@
1
1
  import { HiveLightboxTextEntry, HiveLightboxTitleSettings } from '../Hive/HiveLightboxTitles';
2
2
  export type WaterfallMedia = {
3
- url: string;
3
+ assetId: string;
4
4
  name?: string;
5
5
  objectFit?: 'cover' | 'contain';
6
6
  type?: 'image' | 'video';