easy-email-extensions 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ConfigurationPanel/index.d.ts +7 -0
- package/lib/EditPanel/Blocks/index.d.ts +1 -0
- package/lib/EditPanel/ConfigurationDrawer/index.d.ts +4 -0
- package/lib/EditPanel/index.d.ts +1 -0
- package/lib/StandardLayout/StandardLayout.d.ts +3 -0
- package/lib/StandardLayout/index.d.ts +1 -0
- package/lib/components/FullHeightOverlayScrollbars/index.d.ts +5 -0
- package/lib/components/Providers/ExtensionProvider.d.ts +39 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/index2.js +5799 -579
- package/lib/index2.js.map +1 -1
- package/lib/style.css +12 -1
- package/package.json +4 -2
- package/readme.md +101 -19
@@ -0,0 +1,7 @@
|
|
1
|
+
export interface ConfigurationPanelProps {
|
2
|
+
showSourceCode: boolean;
|
3
|
+
height: string;
|
4
|
+
onBack?: () => void;
|
5
|
+
compact?: boolean;
|
6
|
+
}
|
7
|
+
export declare function ConfigurationPanel({ showSourceCode, height, onBack, compact, }: ConfigurationPanelProps): JSX.Element | null;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function Blocks(): JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function EditPanel(): JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { StandardLayout } from './StandardLayout';
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { BlockLayerProps } from '../../BlockLayer';
|
2
|
+
import React from 'react';
|
3
|
+
export interface ExtensionProps extends BlockLayerProps {
|
4
|
+
categories: Array<{
|
5
|
+
label: string;
|
6
|
+
active?: boolean;
|
7
|
+
blocks: Array<{
|
8
|
+
type: string;
|
9
|
+
payload?: any;
|
10
|
+
title?: string | undefined;
|
11
|
+
}>;
|
12
|
+
displayType?: 'grid';
|
13
|
+
} | {
|
14
|
+
label: string;
|
15
|
+
active?: boolean;
|
16
|
+
blocks: Array<{
|
17
|
+
payload?: any;
|
18
|
+
title?: string | undefined;
|
19
|
+
}>;
|
20
|
+
displayType: 'column';
|
21
|
+
} | {
|
22
|
+
label: string;
|
23
|
+
active?: boolean;
|
24
|
+
blocks: Array<{
|
25
|
+
payload?: any;
|
26
|
+
}>;
|
27
|
+
displayType: 'widget';
|
28
|
+
} | {
|
29
|
+
label: string;
|
30
|
+
active?: boolean;
|
31
|
+
blocks: Array<React.ReactNode>;
|
32
|
+
displayType: 'custom';
|
33
|
+
}>;
|
34
|
+
showSourceCode?: boolean;
|
35
|
+
compact?: boolean;
|
36
|
+
}
|
37
|
+
export declare const ExtensionContext: React.Context<ExtensionProps>;
|
38
|
+
export declare const ExtensionProvider: React.FC<ExtensionProps>;
|
39
|
+
export declare function useExtensionProps(): ExtensionProps;
|
package/lib/index.d.ts
CHANGED
@@ -5,7 +5,9 @@ export * from './ShortcutToolbar';
|
|
5
5
|
export * from './SourceCodePanel';
|
6
6
|
export * from './InteractivePrompt';
|
7
7
|
export * from './SimpleLayout';
|
8
|
+
export * from './StandardLayout';
|
8
9
|
export * from './MergeTagBadgePrompt';
|
10
|
+
export * from './components/Providers/ExtensionProvider';
|
9
11
|
export * from './constants';
|
10
12
|
export * from './components/Form';
|
11
13
|
export { getContextMergeTags } from './utils/getContextMergeTags';
|
package/lib/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper,
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a6 as AutoCompleteField, j as Background, m as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, y as BlockMarketManager, z as BlockMaskWrapper, p as Border, q as BorderColor, t as BorderStyle, v as BorderWidth, aa as CheckboxField, x as ClassName, C as Color, a1 as ColorPickerField, h as ContainerBackgroundColor, a9 as DatePickerField, D as Decoration, n as Direction, ac as EditGridTabField, ab as EditTabField, O as ExtensionContext, Q as ExtensionProvider, F as FontFamily, r as FontSize, u as FontStyle, w as FontWeight, H as Height, a3 as ImageUploaderField, ad as InlineTextField, Y as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, k as LineHeight, o as Link, M as Margin, K as MergeTagBadgePrompt, s as MergeTags, N as NavbarLinkPadding, $ as NumberField, P as Padding, U as RICH_TEXT_TOOL_BAR, a7 as RadioGroupField, af as RichTextField, Z as SearchField, a4 as SelectField, S as ShortcutToolbar, G as SimpleLayout, a0 as SliderField, E as SourceCodePanel, J as StandardLayout, a8 as SwitchField, T as TextAlign, _ as TextAreaField, i as TextDecoration, X as TextField, l as TextTransform, a5 as TreeSelectField, a2 as UploadField, V as VerticalAlign, W as Width, ae as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, R as useExtensionProps } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|