@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.cjs.js +1 -1
- package/dist/index.es.js +15 -15
- package/package.json +1 -1
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
|
|
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 = (
|
|
28893
|
-
|
|
28894
|
-
let
|
|
28895
|
-
|
|
28896
|
-
let
|
|
28897
|
-
|
|
28898
|
-
const
|
|
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:
|
|
28910
|
-
overflowWrap:
|
|
28909
|
+
wordBreak: g,
|
|
28910
|
+
overflowWrap: S
|
|
28911
28911
|
},
|
|
28912
|
-
onMouseEnter: (
|
|
28913
|
-
n(!0),
|
|
28912
|
+
onMouseEnter: (O) => {
|
|
28913
|
+
n(!0), O.stopPropagation();
|
|
28914
28914
|
},
|
|
28915
28915
|
onMouseLeave: () => {
|
|
28916
28916
|
n(!1);
|
|
28917
28917
|
},
|
|
28918
|
-
onClick: (
|
|
28919
|
-
uu(i),
|
|
28918
|
+
onClick: (O) => {
|
|
28919
|
+
uu(i), O.stopPropagation(), O.preventDefault();
|
|
28920
28920
|
},
|
|
28921
28921
|
children: [
|
|
28922
|
-
|
|
28922
|
+
v(),
|
|
28923
28923
|
e
|
|
28924
28924
|
]
|
|
28925
28925
|
}
|