@solutions2share/s2s-email-builder 0.0.9 → 0.0.11

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