@cntrl-site/components 1.0.54 → 1.0.55

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.
@@ -31,6 +31,7 @@ type GridSettings = {
31
31
  ratioValue: '1:1' | '2:3' | '3:4' | '4:5' | '16:9';
32
32
  reversed: boolean;
33
33
  };
34
+ imageCorners?: number;
34
35
  lightboxImageDisplay?: 'fit' | 'cover' | {
35
36
  display?: 'fit' | 'cover';
36
37
  };
@@ -52,12 +52,14 @@ type Slider20Settings = {
52
52
  textDecoration?: 'none' | 'underline';
53
53
  fontVariant?: 'normal' | 'small-caps';
54
54
  };
55
+ captionMarginTop?: number;
55
56
  };
56
57
  type Slider20Props = {
57
58
  settings?: Slider20Settings;
58
59
  content: Slider20Item[];
59
60
  isEditor?: boolean;
60
61
  isPreviewMode?: boolean;
62
+ isEditMode?: boolean;
61
63
  } & CommonComponentProps;
62
- export declare function Slider20({ settings, content, isEditor, isPreviewMode }: Slider20Props): import("react/jsx-runtime").JSX.Element;
64
+ export declare function Slider20({ settings, content, isEditor, isPreviewMode, isEditMode }: Slider20Props): import("react/jsx-runtime").JSX.Element;
63
65
  export {};
@@ -8,6 +8,7 @@ export type WaterfallContentItem = {
8
8
  image?: WaterfallMedia;
9
9
  };
10
10
  export type WaterfallSettings = {
11
+ type?: 'a' | 'b' | 'c';
11
12
  wrapperWidth?: number;
12
13
  imageDisplay?: {
13
14
  display: 'fit' | 'cover';
@@ -1,3 +1,4 @@
1
+ export declare function getContainedMediaTransformOrigin(media: HTMLImageElement | HTMLVideoElement): string;
1
2
  export declare function getDisplayedImageRect(img: HTMLImageElement): {
2
3
  x: number;
3
4
  y: number;