@cntrl-site/components 1.0.87-alpha.0 → 1.0.88
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/List/List.d.ts +2 -1
- package/dist/Components/Mercury/Mercury.d.ts +1 -2
- package/dist/index.js +83 -83
- package/dist/index.mjs +7827 -7831
- package/package.json +1 -1
|
@@ -139,6 +139,7 @@ type ListProps = {
|
|
|
139
139
|
isPreviewMode?: boolean;
|
|
140
140
|
isEditMode?: boolean;
|
|
141
141
|
activeEvent: string | undefined;
|
|
142
|
+
portalId?: string;
|
|
142
143
|
onUpdateSettings?: (settings: ListSettings) => void;
|
|
143
144
|
} & CommonComponentProps;
|
|
144
145
|
export declare const COLUMN_CONTENT_KEYS: readonly ["AColumn", "BColumnWidth", "CColumnWidth", "DColumnWidth", "EColumnWidth"];
|
|
@@ -175,5 +176,5 @@ export declare function applyListColumnCountChange(nextSettings: ListSettings, p
|
|
|
175
176
|
export declare function applyListSettingsChange(nextSettings: ListSettings, prevSettings: ListSettings, options?: {
|
|
176
177
|
designWidth?: number;
|
|
177
178
|
}): ListSettings;
|
|
178
|
-
export declare function List({ settings, content, isEditor, isPreviewMode, isEditMode, activeEvent, layoutId, onUpdateSettings }: ListProps): import("react/jsx-runtime").JSX.Element;
|
|
179
|
+
export declare function List({ settings, content, isEditor, isPreviewMode, isEditMode, activeEvent, layoutId, portalId, onUpdateSettings }: ListProps): import("react/jsx-runtime").JSX.Element;
|
|
179
180
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CommonComponentProps } from '../props';
|
|
2
2
|
import { TextStyles } from '../utils/textStylesToCss';
|
|
3
|
-
type TitlePosition = 'left-top' | 'top-center' | 'top-right' | 'left-center' | 'center' | 'right-center' | 'left-bottom' | 'bottom-center' | 'right-bottom';
|
|
4
3
|
type MercuryMedia = {
|
|
5
4
|
url: string;
|
|
6
5
|
name?: string;
|
|
@@ -29,7 +28,7 @@ export type MercurySettings = {
|
|
|
29
28
|
galleryPaddingLeft?: number;
|
|
30
29
|
galleryPaddingBetween?: number;
|
|
31
30
|
cornerRadius?: number;
|
|
32
|
-
position?:
|
|
31
|
+
position?: string;
|
|
33
32
|
titleTopPadding?: number;
|
|
34
33
|
titleBottomPadding?: number;
|
|
35
34
|
titleLeftPadding?: number;
|