@cntrl-site/components 1.0.97-alpha.2 → 1.0.98-alpha.1
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/dist/Components/ClickGallerie/ClickGallerie.d.ts +1 -1
- package/dist/Components/ControlSlider/ControlSlider.d.ts +1 -1
- package/dist/Components/Helix/Helix.d.ts +1 -1
- package/dist/Components/Hive/Hive.d.ts +1 -1
- package/dist/Components/ImageRevealSlider/ImageRevealSlider.d.ts +1 -1
- package/dist/Components/Lightbox/Lightbox.d.ts +2 -2
- package/dist/Components/LightboxJournal/LightboxJournal.d.ts +1 -1
- package/dist/Components/LightboxJournal/utils.d.ts +1 -1
- package/dist/Components/LightboxStrip/LightboxStrip.d.ts +1 -1
- package/dist/Components/List/List.d.ts +1 -1
- package/dist/Components/Marquee/Marquee.d.ts +1 -1
- package/dist/Components/MarqueeText/MarqueeText.d.ts +1 -1
- package/dist/Components/Mercury/Mercury.d.ts +1 -1
- package/dist/Components/Pretext/Pretext.d.ts +5 -0
- package/dist/Components/Pretext/PretextColumn.d.ts +1 -1
- package/dist/Components/Pretext/textLayout.d.ts +2 -0
- package/dist/Components/Scale/Scale.d.ts +1 -1
- package/dist/Components/Slider20/Slider20.d.ts +1 -1
- package/dist/Components/TestimonialGrid/TestimonialGrid.d.ts +1 -1
- package/dist/Components/TestimonialSingle/TestimonialSingle.d.ts +1 -1
- package/dist/Components/Waterfall/WaterfallLightbox.d.ts +1 -1
- package/dist/index.js +232 -221
- package/dist/index.mjs +9045 -8984
- package/package.json +1 -1
|
@@ -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
|
-
|
|
12
|
+
assetId: string;
|
|
13
13
|
name?: string;
|
|
14
14
|
objectFit?: 'cover' | 'contain';
|
|
15
15
|
};
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
8
|
+
assetId: string;
|
|
9
9
|
name?: string;
|
|
10
10
|
objectFit?: 'cover' | 'contain';
|
|
11
11
|
};
|
|
@@ -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
|
-
|
|
5
|
+
assetId?: string;
|
|
6
6
|
name?: string;
|
|
7
7
|
type?: 'image' | 'video';
|
|
8
8
|
};
|
|
@@ -40,6 +40,8 @@ export type PretextSettings = {
|
|
|
40
40
|
fitText?: 'on' | 'off';
|
|
41
41
|
hyphenate?: 'on' | 'off';
|
|
42
42
|
padding?: number;
|
|
43
|
+
columns?: number;
|
|
44
|
+
columnGutter?: number;
|
|
43
45
|
dropCapLines?: number;
|
|
44
46
|
dropCapSize?: number;
|
|
45
47
|
image?: string | null;
|
|
@@ -180,6 +182,8 @@ export type ColumnProps = {
|
|
|
180
182
|
scale: number;
|
|
181
183
|
onFitScale: (scale: number) => void;
|
|
182
184
|
padding: string;
|
|
185
|
+
columns: number;
|
|
186
|
+
gutter: string;
|
|
183
187
|
hyphenate: boolean;
|
|
184
188
|
showOverflowIndicator: boolean;
|
|
185
189
|
dropCapLines: number;
|
|
@@ -191,6 +195,7 @@ export type ColumnProps = {
|
|
|
191
195
|
imageFocalY: number;
|
|
192
196
|
imageScale: number;
|
|
193
197
|
imageCustomPath: string;
|
|
198
|
+
imagePathEdited: boolean;
|
|
194
199
|
pathDragActive: boolean;
|
|
195
200
|
pathCarryImage: boolean;
|
|
196
201
|
onCarryImageConsumed?: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ColumnProps } from './Pretext';
|
|
2
|
-
export declare function PretextColumn({ P, item, shape, customPath, pathFit, viewBox, mode, align, allowOverflow, fitEnabled, scale, onFitScale, padding, hyphenate, showOverflowIndicator, dropCapLines, dropCapSize, showGuides, typography, imageUrl, imageFocalX, imageFocalY, imageScale, imageCustomPath, pathDragActive, pathCarryImage, onCarryImageConsumed, pathEditor, imageEditor, }: ColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function PretextColumn({ P, item, shape, customPath, pathFit, viewBox, mode, align, allowOverflow, fitEnabled, scale, onFitScale, padding, columns, gutter, hyphenate, showOverflowIndicator, dropCapLines, dropCapSize, showGuides, typography, imageUrl, imageFocalX, imageFocalY, imageScale, imageCustomPath, imagePathEdited, pathDragActive, pathCarryImage, onCarryImageConsumed, pathEditor, imageEditor, }: ColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
12
|
+
assetId?: string;
|
|
13
13
|
name?: string;
|
|
14
14
|
objectFit?: 'cover' | 'contain';
|
|
15
15
|
};
|