@cntrl-site/components 1.0.97-0 → 1.0.97-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 -2
- package/dist/Components/Hive/HiveComponent.d.ts +3 -1
- package/dist/Components/ImageRevealSlider/ImageRevealSlider.d.ts +1 -2
- package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +5 -2
- package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +5 -2
- package/dist/Components/List/List.d.ts +1 -2
- package/dist/Components/Marquee/Marquee.d.ts +1 -2
- package/dist/Components/MarqueeText/MarqueeText.d.ts +1 -2
- package/dist/Components/Waterfall/WaterfallComponent.d.ts +3 -1
- package/dist/Components/helpers/SvgImage/loadSvgMaskUrl.d.ts +2 -0
- package/dist/Components/utils/index.d.ts +0 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +237 -161
- package/dist/index.mjs +8255 -8120
- package/dist/panelAvailability-CgSic84c.mjs +126 -0
- package/dist/panelAvailability-D8c7cdbu.js +1 -0
- package/dist/types/SchemaV1.d.ts +1 -53
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +10 -11
- package/package.json +1 -1
- package/dist/Components/utils/LinkWrapper.d.ts +0 -16
- package/dist/LinkWrapper-CM1Wd42k.js +0 -1
- package/dist/LinkWrapper-D4d13mZT.mjs +0 -137
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
|
-
import { ContentLink } from '../utils/index';
|
|
3
2
|
type ClickGallerieItem = {
|
|
4
3
|
image: {
|
|
5
4
|
url: string;
|
|
6
5
|
name: string;
|
|
7
6
|
};
|
|
8
|
-
link
|
|
7
|
+
link: string;
|
|
9
8
|
};
|
|
10
9
|
type ImageSizeSettings = {
|
|
11
10
|
sizeType: 'custom' | 'as is' | 'random';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ContentLink } from '../utils/index';
|
|
2
1
|
interface ImageRevealSliderProps {
|
|
3
2
|
settings: ImageRevealSliderSettings;
|
|
4
3
|
content: ImageRevealSliderItem[];
|
|
@@ -35,7 +34,7 @@ type ImageRevealSliderItem = {
|
|
|
35
34
|
url: string;
|
|
36
35
|
name: string;
|
|
37
36
|
};
|
|
38
|
-
link
|
|
37
|
+
link: string;
|
|
39
38
|
};
|
|
40
39
|
export declare function ImageRevealSlider({ settings, content, isEditor }: ImageRevealSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
41
40
|
export {};
|
|
@@ -34,10 +34,13 @@ export declare const LightboxJournalComponent: {
|
|
|
34
34
|
path: string;
|
|
35
35
|
placeholderEnabled: boolean;
|
|
36
36
|
}[];
|
|
37
|
-
parameters: {
|
|
37
|
+
parameters: ({
|
|
38
38
|
path: string;
|
|
39
39
|
placeholderEnabled: boolean;
|
|
40
|
-
}
|
|
40
|
+
} | {
|
|
41
|
+
path: string;
|
|
42
|
+
placeholderEnabled?: undefined;
|
|
43
|
+
})[];
|
|
41
44
|
};
|
|
42
45
|
fontSettingsPaths: {
|
|
43
46
|
content: never[];
|
|
@@ -34,10 +34,13 @@ export declare const LightboxStripComponent: {
|
|
|
34
34
|
path: string;
|
|
35
35
|
placeholderEnabled: boolean;
|
|
36
36
|
}[];
|
|
37
|
-
parameters: {
|
|
37
|
+
parameters: ({
|
|
38
38
|
path: string;
|
|
39
39
|
placeholderEnabled: boolean;
|
|
40
|
-
}
|
|
40
|
+
} | {
|
|
41
|
+
path: string;
|
|
42
|
+
placeholderEnabled?: undefined;
|
|
43
|
+
})[];
|
|
41
44
|
};
|
|
42
45
|
fontSettingsPaths: {
|
|
43
46
|
content: never[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
|
-
import { ContentLink } from '../utils/index';
|
|
3
2
|
import { TextStyles } from '../utils/textStylesToCss';
|
|
4
3
|
import { LayoutItem, LayoutTab } from '../../types/SchemaV1';
|
|
5
4
|
type ListFontSettings = {
|
|
@@ -130,7 +129,7 @@ type ListContentItem = {
|
|
|
130
129
|
DColumnWidth?: string;
|
|
131
130
|
EColumnWidth?: string;
|
|
132
131
|
image?: ListMedia;
|
|
133
|
-
link?:
|
|
132
|
+
link?: string;
|
|
134
133
|
};
|
|
135
134
|
type ListProps = {
|
|
136
135
|
layoutId?: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
|
-
import { ContentLink } from '../utils/index';
|
|
3
2
|
export declare const Marquee: ({ settings, content, isEditor, isPreviewMode, isEditMode }: MarqueeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export type MarqueeItem = {
|
|
5
4
|
image?: {
|
|
@@ -7,7 +6,7 @@ export type MarqueeItem = {
|
|
|
7
6
|
name?: string;
|
|
8
7
|
type?: 'image' | 'video';
|
|
9
8
|
};
|
|
10
|
-
link?:
|
|
9
|
+
link?: string;
|
|
11
10
|
};
|
|
12
11
|
export type MarqueeSettings = {
|
|
13
12
|
speed: number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
|
-
import { ContentLink } from '../utils/index';
|
|
3
2
|
export declare const MarqueeText: ({ settings, content, isEditor, isPreviewMode }: MarqueeTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export type MarqueeTextItem = {
|
|
5
4
|
text: string;
|
|
@@ -7,7 +6,7 @@ export type MarqueeTextItem = {
|
|
|
7
6
|
url?: string;
|
|
8
7
|
name?: string;
|
|
9
8
|
};
|
|
10
|
-
link?:
|
|
9
|
+
link?: string;
|
|
11
10
|
};
|
|
12
11
|
export type MarqueeTextSettings = {
|
|
13
12
|
speed: number;
|
|
@@ -9,5 +9,3 @@ export type { CommonComponentProps } from '../props';
|
|
|
9
9
|
export { readTestimonialTextMeasure } from './readTestimonialTextMeasure';
|
|
10
10
|
export { getAvailableStatePanels, getUnavailableStates, isPanelAvailable, } from './panelAvailability';
|
|
11
11
|
export type { PanelAvailabilityContext } from './panelAvailability';
|
|
12
|
-
export { LinkWrapper } from './LinkWrapper';
|
|
13
|
-
export type { ContentLink } from '../../types/SchemaV1';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { type Breakpoint, type Component, type ComponentDefaultSize, type ComponentDefaultNavigationPosition, type ComponentNavigationPosition, type ComponentSize, isSchemaV1 } from './types/Component';
|
|
2
|
-
export type { ComponentSchemaV1,
|
|
2
|
+
export type { ComponentSchemaV1, SchemaProperty, PropertyScope, LayoutItem, LayoutRow, LayoutGroup, LayoutSwitcher, LayoutTab, SchemaSection, SchemaPanel, SchemaPanelAvailability, SchemaDisplay } from './types/SchemaV1';
|
|
3
3
|
export { components } from './Components/components';
|
|
4
4
|
export { getAvailableStatePanels, getUnavailableStates, isPanelAvailable, } from './Components/utils/panelAvailability';
|
|
5
5
|
export type { PanelAvailabilityContext } from './Components/utils/panelAvailability';
|