@solutions2share/s2s-email-builder 0.0.14 → 0.0.15

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/index.es.js CHANGED
@@ -28884,18 +28884,18 @@ function $6({ blockId: e }) {
28884
28884
  ] }) });
28885
28885
  }
28886
28886
  function Ka({ children: e }) {
28887
- var S;
28887
+ var D;
28888
28888
  const t = XT(), [r, n] = Yt(!1), i = qf(), a = V6();
28889
28889
  let o;
28890
28890
  t === i ? o = "2px solid rgba(0,121,204, 1)" : r && (o = "2px solid rgba(0,121,204, 0.3)");
28891
28891
  let c;
28892
- const d = (S = e.props.style) == null ? void 0 : S.backgroundColor;
28893
- Object.keys(e.props.props).length === 1 && Object.keys(e.props.props)[0] === "text" ? d === "#ecf0f1" && a === "dark" && (c = "#000") : c = a === "dark" ? "#fff" : "#000";
28894
- let p;
28895
- Object.keys(e.props.props).length === 1 && Object.keys(e.props.props)[0] === "text" && (p = "break-word");
28896
- let _;
28897
- Object.keys(e.props.props).length === 1 && Object.keys(e.props.props)[0] === "text" && (_ = "break-word");
28898
- const g = () => t !== i ? null : /* @__PURE__ */ G.jsx($6, { blockId: i });
28892
+ const d = (D = e.props.style) == null ? void 0 : D.backgroundColor, p = Object.keys(e.props.props ?? {}), _ = p.length === 1 && p[0] === "text";
28893
+ _ ? d === "#ecf0f1" && a === "dark" && (c = "#000") : c = a === "dark" ? "#fff" : "#000";
28894
+ let g;
28895
+ _ && (g = "break-word");
28896
+ let S;
28897
+ _ && (S = "break-word");
28898
+ const v = () => t !== i ? null : /* @__PURE__ */ G.jsx($6, { blockId: i });
28899
28899
  return /* @__PURE__ */ G.jsxs(
28900
28900
  On,
28901
28901
  {
@@ -28906,20 +28906,20 @@ function Ka({ children: e }) {
28906
28906
  outline: o,
28907
28907
  // backgroundColor,
28908
28908
  color: c,
28909
- wordBreak: p,
28910
- overflowWrap: _
28909
+ wordBreak: g,
28910
+ overflowWrap: S
28911
28911
  },
28912
- onMouseEnter: (v) => {
28913
- n(!0), v.stopPropagation();
28912
+ onMouseEnter: (O) => {
28913
+ n(!0), O.stopPropagation();
28914
28914
  },
28915
28915
  onMouseLeave: () => {
28916
28916
  n(!1);
28917
28917
  },
28918
- onClick: (v) => {
28919
- uu(i), v.stopPropagation(), v.preventDefault();
28918
+ onClick: (O) => {
28919
+ uu(i), O.stopPropagation(), O.preventDefault();
28920
28920
  },
28921
28921
  children: [
28922
- g(),
28922
+ v(),
28923
28923
  e
28924
28924
  ]
28925
28925
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solutions2share/s2s-email-builder",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",