easy-email-pro-editor 1.40.2 → 1.40.3

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.
@@ -1703,12 +1703,12 @@ const lg = () => /* @__PURE__ */ f.createElement(
1703
1703
  )
1704
1704
  )
1705
1705
  ), dg = f.lazy(
1706
- () => import("./index-d654aef7.js")
1706
+ () => import("./index-76e19283.js")
1707
1707
  ), fg = () => {
1708
1708
  const e = _u();
1709
1709
  return q(() => e.headerElement ? /* @__PURE__ */ f.createElement(dg, { element: e.headerElement }) : null, [e.headerElement]);
1710
1710
  }, hg = f.lazy(
1711
- () => import("./index-d654aef7.js")
1711
+ () => import("./index-76e19283.js")
1712
1712
  ), Ag = () => {
1713
1713
  const e = _u();
1714
1714
  return q(() => e.footerElement ? /* @__PURE__ */ f.createElement(hg, { element: e.footerElement }) : null, [e.footerElement]);
@@ -14998,10 +14998,9 @@ const ZT = (e) => {
14998
14998
  y
14999
14999
  ]);
15000
15000
  return q(() => {
15001
- I.data.breakpoint || (I.data.breakpoint = "600px");
15002
- const J = W(p({}, I), {
15001
+ const J = I.data.breakpoint || "600px", ae = W(p({}, I), {
15003
15002
  data: W(p({}, I.data), {
15004
- breakpoint: s ? "99999px" : I.data.breakpoint
15003
+ breakpoint: s ? "99999px" : J
15005
15004
  }),
15006
15005
  attributes: W(p({}, I.attributes), {
15007
15006
  width: s ? "375px" : I.attributes.width || "600px"
@@ -15012,14 +15011,14 @@ const ZT = (e) => {
15012
15011
  O,
15013
15012
  Ju.mjmlToBlockElement(O)
15014
15013
  );
15015
- const ae = Nr($i.get(O));
15016
- return z.isTextNode(ae) ? null : /* @__PURE__ */ f.createElement(
15014
+ const C = Nr($i.get(O));
15015
+ return z.isTextNode(C) ? null : /* @__PURE__ */ f.createElement(
15017
15016
  eD,
15018
15017
  W(p({}, e), {
15019
15018
  element: a,
15020
- atomElement: ae,
15021
- elementAttributes: ae.attributes,
15022
- context: J,
15019
+ atomElement: C,
15020
+ elementAttributes: C.attributes,
15021
+ context: ae,
15023
15022
  isMobileActive: s
15024
15023
  })
15025
15024
  );
@@ -15029,7 +15028,7 @@ const ZT = (e) => {
15029
15028
  W(p({}, e), {
15030
15029
  elementType: a.type,
15031
15030
  elementAttributes: P,
15032
- context: J,
15031
+ context: ae,
15033
15032
  isMobileActive: s
15034
15033
  })
15035
15034
  ));
@@ -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-ee160210.js";
14
+ import { E as R, L as w } from "./index-6d5cc015.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,4 +1,4 @@
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-ee160210.js";
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-6d5cc015.js";
2
2
  import "react";
3
3
  import "slate-history";
4
4
  import "slate-react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.40.2",
3
+ "version": "1.40.3",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"