easy-email-pro-editor 1.42.2 → 1.43.0

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.
@@ -11,7 +11,7 @@ var p = (t, r, e) => r in t ? f(t, r, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  import o, { useRef as C, useCallback as d, useMemo as a } from "react";
13
13
  import { Slate as L, Editable as O } from "slate-react";
14
- import { E as R, L as w } from "./index-5be1e721.js";
14
+ import { E as R, L as w } from "./index-a1b1af29.js";
15
15
  import { createEditor as g } from "slate";
16
16
  import { isEqual as h } from "lodash";
17
17
  import { EditorAuth as B } from "easy-email-pro-core";
package/lib/index.js CHANGED
@@ -1,37 +1,55 @@
1
- import { A as l, C as n, p, q as c, b as u, a as E, H as g, I as v, r as P, s as C, T as f, d as D, g as I, f as S, i as T, c as x, e as F, t as b, m as A, u as M, l as N, j as h, n as k, o as q, k as y, h as H, v as O } from "./index-5be1e721.js";
2
- import "react";
3
- import "slate-history";
4
- import "slate-react";
5
- import "slate";
1
+ import { R as m, b as l, B as g, O as p, P as E, Q as u, c as C, e as c, d as P, H as T, I as v, S as M, U as N, M as h, T as x, z as D, h as S, n as f, q as B, l as F, g as I, k as b, w as k, x as y, i as R, f as A, j as O, r as q, y as w, s as H, m as J, p as K, o as Q, t as U, a as W, J as j, A as z, u as G, G as L, D as V, K as X, N as Y, F as Z, C as _, v as $ } from "./index-a1b1af29.js";
6
2
  import "lodash";
7
3
  import "easy-email-pro-core";
4
+ import "react";
5
+ import "slate";
6
+ import "slate-react";
7
+ import "slate-history";
8
8
  import "react-dom";
9
9
  export {
10
- l as ActiveTabKeys,
11
- n as CustomEvent,
12
- p as EditorPropsContext,
13
- c as EditorPropsProvider,
14
- u as EmailEditor,
15
- E as EmailEditorProvider,
16
- g as HtmlStringToReactNodes,
10
+ m as ActiveTabKeys,
11
+ l as BaseElement,
12
+ g as BlockComponentProvider,
13
+ p as CustomEvent,
14
+ E as EditorPropsContext,
15
+ u as EditorPropsProvider,
16
+ C as ElementMap,
17
+ c as EmailEditor,
18
+ P as EmailEditorProvider,
19
+ T as HtmlStringToReactNodes,
17
20
  v as IframeComponent,
18
- P as InteractContext,
19
- C as InteractProvider,
20
- f as TextFormat,
21
- D as classnames,
21
+ M as InteractContext,
22
+ N as InteractProvider,
23
+ h as MJMLElementRender,
24
+ x as TextFormat,
25
+ D as borderParser,
26
+ S as classnames,
27
+ f as endConditionalTag,
28
+ B as endNegationConditionalTag,
29
+ F as getBoxWidths,
22
30
  I as getDefaultView,
23
- S as getDynamicImagePlaceholder,
24
- T as isDOMElement,
25
- x as isDOMNode,
26
- F as isFormatActive,
27
- b as toggleFormat,
28
- A as useEditorProps,
29
- M as useEditorState,
30
- N as useEqualState,
31
- h as useEventCallback,
32
- k as useForceUpdate,
33
- q as useMergeTagsData,
34
- y as useRefState,
35
- H as useSelectedNode,
36
- O as validation
31
+ b as getDynamicImagePlaceholder,
32
+ k as getMediaQuery,
33
+ y as getParsedWidth,
34
+ R as isDOMElement,
35
+ A as isDOMNode,
36
+ O as isFormatActive,
37
+ q as msoConditionalTag,
38
+ w as shorthandParser,
39
+ H as startConditionalTag,
40
+ J as startMsoConditionalTag,
41
+ K as startMsoNegationConditionalTag,
42
+ Q as startNegationConditionalTag,
43
+ U as toggleFormat,
44
+ W as useBlockComponent,
45
+ j as useEditorProps,
46
+ z as useEditorState,
47
+ G as useElement,
48
+ L as useEqualState,
49
+ V as useEventCallback,
50
+ X as useForceUpdate,
51
+ Y as useMergeTagsData,
52
+ Z as useRefState,
53
+ _ as useSelectedNode,
54
+ $ as validation
37
55
  };
@@ -3,17 +3,16 @@ import { RenderElementProps } from "slate-react";
3
3
  import { Element, PageElement } from "easy-email-pro-core";
4
4
  export type BaseElementProps<T extends Element> = Omit<RenderElementProps, "element"> & {
5
5
  element: T;
6
- atomElement: T;
7
6
  elementAttributes: T["attributes"];
8
7
  context: PageElement;
9
8
  placeholder?: React.ReactNode;
10
9
  isMobileActive: boolean;
11
10
  attributesVariables?: Record<string, any>;
12
11
  };
13
- export declare abstract class BaseElement<T extends Element> extends React.Component<BaseElementProps<T>> {
12
+ export declare class BaseElement<T extends Element> extends React.Component<BaseElementProps<T>> {
14
13
  defaultAttributes: Partial<T["attributes"]>;
15
14
  allowedAttributes: Record<string, string>;
16
- abstract componentType: string;
15
+ componentType: string;
17
16
  idx: string;
18
17
  constructor(props: BaseElementProps<any>);
19
18
  renderElement(): React.ReactNode;
@@ -0,0 +1,10 @@
1
+ import { Element } from "easy-email-pro-core";
2
+ import { BaseElementProps } from "./BaseElement";
3
+ import React from "react";
4
+ declare const ElementMap: Record<string, React.FC<Omit<BaseElementProps<any>, "attributes"> & {
5
+ attributes?: BaseElementProps<any>["attributes"] | undefined;
6
+ }> | undefined>;
7
+ export declare const MJMLElementRender: React.FC<Pick<BaseElementProps<Element>, "context" | "isMobileActive"> & {
8
+ mjmlString: string;
9
+ }>;
10
+ export { ElementMap };
@@ -16,7 +16,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
16
16
  accessKey?: string | undefined;
17
17
  autoFocus?: boolean | undefined;
18
18
  className?: string | undefined;
19
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
19
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
20
20
  contextMenu?: string | undefined;
21
21
  dir?: string | undefined;
22
22
  draggable?: (boolean | "true" | "false") | undefined;
@@ -53,7 +53,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -67,7 +67,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
67
67
  "aria-colindextext"?: string | undefined;
68
68
  "aria-colspan"?: number | undefined;
69
69
  "aria-controls"?: string | undefined;
70
- "aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
70
+ "aria-current"?: boolean | "page" | "time" | "true" | "false" | "step" | "location" | "date" | undefined;
71
71
  "aria-describedby"?: string | undefined;
72
72
  "aria-description"?: string | undefined;
73
73
  "aria-details"?: string | undefined;
@@ -77,7 +77,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
77
77
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
80
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
81
81
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
82
82
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
96
96
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
97
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "true" | "false") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -289,7 +289,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
289
289
  accessKey?: string | undefined;
290
290
  autoFocus?: boolean | undefined;
291
291
  className?: string | undefined;
292
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
292
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
293
293
  contextMenu?: string | undefined;
294
294
  dir?: string | undefined;
295
295
  draggable?: (boolean | "true" | "false") | undefined;
@@ -326,7 +326,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
326
326
  results?: number | undefined;
327
327
  security?: string | undefined;
328
328
  unselectable?: "on" | "off" | undefined;
329
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
329
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
330
330
  is?: string | undefined;
331
331
  "aria-activedescendant"?: string | undefined;
332
332
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -340,7 +340,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
340
340
  "aria-colindextext"?: string | undefined;
341
341
  "aria-colspan"?: number | undefined;
342
342
  "aria-controls"?: string | undefined;
343
- "aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
343
+ "aria-current"?: boolean | "page" | "time" | "true" | "false" | "step" | "location" | "date" | undefined;
344
344
  "aria-describedby"?: string | undefined;
345
345
  "aria-description"?: string | undefined;
346
346
  "aria-details"?: string | undefined;
@@ -350,7 +350,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
350
350
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
351
351
  "aria-flowto"?: string | undefined;
352
352
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
353
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
353
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
354
354
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
355
355
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
356
356
  "aria-keyshortcuts"?: string | undefined;
@@ -367,7 +367,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
367
367
  "aria-posinset"?: number | undefined;
368
368
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
369
369
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
370
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
370
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
371
371
  "aria-required"?: (boolean | "true" | "false") | undefined;
372
372
  "aria-roledescription"?: string | undefined;
373
373
  "aria-rowcount"?: number | undefined;
@@ -15,7 +15,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
15
15
  accessKey?: string | undefined;
16
16
  autoFocus?: boolean | undefined;
17
17
  className?: string | undefined;
18
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
18
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
19
19
  contextMenu?: string | undefined;
20
20
  dir?: string | undefined;
21
21
  draggable?: (boolean | "true" | "false") | undefined;
@@ -52,7 +52,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
52
52
  results?: number | undefined;
53
53
  security?: string | undefined;
54
54
  unselectable?: "on" | "off" | undefined;
55
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
55
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
56
  is?: string | undefined;
57
57
  "aria-activedescendant"?: string | undefined;
58
58
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -66,7 +66,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
66
66
  "aria-colindextext"?: string | undefined;
67
67
  "aria-colspan"?: number | undefined;
68
68
  "aria-controls"?: string | undefined;
69
- "aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
69
+ "aria-current"?: boolean | "page" | "time" | "true" | "false" | "step" | "location" | "date" | undefined;
70
70
  "aria-describedby"?: string | undefined;
71
71
  "aria-description"?: string | undefined;
72
72
  "aria-details"?: string | undefined;
@@ -76,7 +76,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
76
76
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
77
77
  "aria-flowto"?: string | undefined;
78
78
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
79
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
79
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
80
80
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
81
81
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
82
82
  "aria-keyshortcuts"?: string | undefined;
@@ -93,7 +93,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
93
93
  "aria-posinset"?: number | undefined;
94
94
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
95
95
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
96
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
96
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
97
  "aria-required"?: (boolean | "true" | "false") | undefined;
98
98
  "aria-roledescription"?: string | undefined;
99
99
  "aria-rowcount"?: number | undefined;
@@ -47,7 +47,7 @@ export declare class Table extends BaseElement<TableElement> {
47
47
  border?: string | undefined;
48
48
  cellpadding?: string | undefined;
49
49
  cellspacing?: string | undefined;
50
- "table-layout"?: "inherit" | "fixed" | "initial" | "auto" | undefined;
50
+ "table-layout"?: "inherit" | "auto" | "fixed" | "initial" | undefined;
51
51
  "css-class"?: string | undefined;
52
52
  "mj-class"?: string | undefined;
53
53
  };
@@ -16,7 +16,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
16
16
  accessKey?: string | undefined;
17
17
  autoFocus?: boolean | undefined;
18
18
  className?: string | undefined;
19
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
19
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
20
20
  contextMenu?: string | undefined;
21
21
  dir?: string | undefined;
22
22
  draggable?: (boolean | "true" | "false") | undefined;
@@ -53,7 +53,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -67,7 +67,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
67
67
  "aria-colindextext"?: string | undefined;
68
68
  "aria-colspan"?: number | undefined;
69
69
  "aria-controls"?: string | undefined;
70
- "aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
70
+ "aria-current"?: boolean | "page" | "time" | "true" | "false" | "step" | "location" | "date" | undefined;
71
71
  "aria-describedby"?: string | undefined;
72
72
  "aria-description"?: string | undefined;
73
73
  "aria-details"?: string | undefined;
@@ -77,7 +77,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
77
77
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
80
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
81
81
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
82
82
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
96
96
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
97
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "true" | "false") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -56,7 +56,7 @@ export declare class Table2 extends BaseElement<StandardTable2Element> {
56
56
  border?: string | undefined;
57
57
  cellpadding?: string | undefined;
58
58
  cellspacing?: string | undefined;
59
- "table-layout"?: "inherit" | "fixed" | "initial" | "auto" | undefined;
59
+ "table-layout"?: "inherit" | "auto" | "fixed" | "initial" | undefined;
60
60
  "css-class"?: string | undefined;
61
61
  "mj-class"?: string | undefined;
62
62
  };
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
2
  import { RenderElementProps } from "slate-react";
3
3
  import { Element } from "easy-email-pro-core";
4
- import { ActiveTabKeys } from "../../contexts";
5
4
  export type ElementProps = Omit<RenderElementProps, "attributes" | "element"> & {
6
5
  attributes?: RenderElementProps["attributes"] & {
7
6
  contentEditable?: boolean;
@@ -9,7 +8,7 @@ export type ElementProps = Omit<RenderElementProps, "attributes" | "element"> &
9
8
  };
10
9
  placeholder?: React.ReactNode;
11
10
  element: Element;
12
- activeTab: ActiveTabKeys;
11
+ isMobileActive: boolean;
13
12
  attributesVariables?: Record<string, any>;
14
13
  enabledResponsive?: boolean;
15
14
  };
@@ -3,7 +3,6 @@ import { Element } from "easy-email-pro-core";
3
3
  import { BaseElement, BaseElementProps } from "./BaseElement";
4
4
  export declare const useElement: <T extends Element>({ element, context, attributesVariables, defaultAttributes, allowedAttributes, getDefaultStyles, Com, ...rest }: Omit<import("slate-react").RenderElementProps, "element"> & {
5
5
  element: T;
6
- atomElement: T;
7
6
  elementAttributes: T["attributes"];
8
7
  context: import("easy-email-pro-core").PageElement;
9
8
  placeholder?: import("react").ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { CustomSlateEditor } from "../typings/custom-types";
2
2
  import React from "react";
3
3
  import { ElementProps } from "../components/Elements";
4
- export declare const withEditorState: (Com: React.FC<ElementProps>) => (props: ElementProps) => React.JSX.Element;
4
+ export declare const withEditorState: (Com: React.FC<Omit<ElementProps, "isMobileActive">>) => (props: Omit<ElementProps, "isMobileActive">) => React.JSX.Element;
5
5
  export interface CustomSlateEditorState {
6
6
  editor: CustomSlateEditor;
7
7
  selected: boolean;
@@ -1,3 +1,6 @@
1
1
  import React from "react";
2
2
  import { ElementProps } from "../components/Elements";
3
- export declare const withElementInteract: (Com: any) => (props: Omit<ElementProps, "activeTab" | "attributesVariables" | "enabledResponsive">) => React.JSX.Element;
3
+ import { BaseElementProps } from "../components/Elements/BaseElement";
4
+ export declare const withElementInteract: (Com: React.FC<Omit<BaseElementProps<any>, "elementAttributes" | "context"> & {
5
+ enabledResponsive: boolean;
6
+ }>) => (props: Omit<ElementProps, "attributesVariables" | "enabledResponsive" | "isMobileActive">) => React.JSX.Element;
@@ -1,3 +1,8 @@
1
+ export { useElement } from "./components/Elements/useElement";
2
+ export { useBlockComponent, BlockComponentProvider, } from "./components/Elements/components/BlockComponentProvider";
3
+ export type { BaseElementProps } from "./components/Elements/BaseElement";
4
+ export { BaseElement } from "./components/Elements/BaseElement";
5
+ export { ElementMap, MJMLElementRender, } from "./components/Elements/ElementMap";
1
6
  export * from "./components/EmailEditorProvider";
2
7
  export * from "./components/EmailEditor";
3
8
  export * from "./components/IframeComponent";
@@ -4,3 +4,9 @@ export * from "./isFormatActive";
4
4
  export * from "./toggleFormat";
5
5
  export * from "./types";
6
6
  export * from "./getDynamicImagePlaceholder";
7
+ export * from "./getBoxWidths";
8
+ export * from "./conditionalTag";
9
+ export * from "./getMediaQuery";
10
+ export * from "./getParsedWidth";
11
+ export * from "./mediaQueries";
12
+ export * from "./shorthandParser";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.42.2",
3
+ "version": "1.43.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"
@@ -1,2 +0,0 @@
1
- declare const componentMap: Record<string, any>;
2
- export { componentMap };