@pagenflow/email 1.1.8 → 1.1.9
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17385,7 +17385,7 @@ function Button({ config, devMode }) {
|
|
|
17385
17385
|
border: "0 solid",
|
|
17386
17386
|
margin: 0,
|
|
17387
17387
|
padding: 0,
|
|
17388
|
-
}, children: jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { dangerouslySetInnerHTML: {
|
|
17388
|
+
}, onClick: devMode ? (e) => e.preventDefault() : undefined, children: jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { dangerouslySetInnerHTML: {
|
|
17389
17389
|
__html: `
|
|
17390
17390
|
${vmlButton}
|
|
17391
17391
|
<!--[if !mso]><!-->
|
|
@@ -18039,7 +18039,7 @@ function Image({ config, devNode, devMode }) {
|
|
|
18039
18039
|
// --- End dev
|
|
18040
18040
|
width: width || "100%",
|
|
18041
18041
|
borderCollapse: "collapse",
|
|
18042
|
-
}, children: [jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { style: tdStyle, align: "center", children: content }) }) }), devNode && (jsxRuntime.jsx("tfoot", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { children: devNode }) }) }))] }));
|
|
18042
|
+
}, onClick: devMode ? (e) => e.preventDefault() : undefined, children: [jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { style: tdStyle, align: "center", children: content }) }) }), devMode && !!devNode && (jsxRuntime.jsx("tfoot", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { children: devNode }) }) }))] }));
|
|
18043
18043
|
}
|
|
18044
18044
|
var Image_default = React.memo(Image, arePropsEqual);
|
|
18045
18045
|
|
|
@@ -18238,7 +18238,7 @@ function Text({ config, devMode, children }) {
|
|
|
18238
18238
|
jsxRuntime.jsx("table", { "aria-label": "Text Block Wrapper", role: "presentation", cellPadding: 0, cellSpacing: 0, border: 0, style: {
|
|
18239
18239
|
width: "100%",
|
|
18240
18240
|
borderCollapse: "collapse",
|
|
18241
|
-
}, children: jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { style: tdStyle, align: textAlign, children: jsxRuntime.jsx("div", { style: contentStyle, dangerouslySetInnerHTML: { __html: (_a = text !== null && text !== void 0 ? text : children) !== null && _a !== void 0 ? _a : "" } }) }) }) }) }));
|
|
18241
|
+
}, onClick: devMode ? (e) => e.preventDefault() : undefined, children: jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { style: tdStyle, align: textAlign, children: jsxRuntime.jsx("div", { style: contentStyle, dangerouslySetInnerHTML: { __html: (_a = text !== null && text !== void 0 ? text : children) !== null && _a !== void 0 ? _a : "" } }) }) }) }) }));
|
|
18242
18242
|
}
|
|
18243
18243
|
var Text_default = React.memo(Text, arePropsEqual);
|
|
18244
18244
|
|