@rudyzeinoun/email-builder 0.0.36 → 0.0.38
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.js +1 -8
- package/dist/index.mjs +1 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -207,14 +207,7 @@ function getBorder({ borderColor }) {
|
|
|
207
207
|
function EmailLayoutReader(props) {
|
|
208
208
|
var _a, _b, _c, _d, _e;
|
|
209
209
|
const childrenIds = (_a = props.childrenIds) != null ? _a : [];
|
|
210
|
-
return /* @__PURE__ */ import_react3.default.createElement(import_react3.Fragment, null, props.previewText && /* @__PURE__ */ import_react3.default.createElement(
|
|
211
|
-
"div",
|
|
212
|
-
{
|
|
213
|
-
style: { display: "none", maxHeight: "0px", overflow: "hidden" }
|
|
214
|
-
},
|
|
215
|
-
props.previewText,
|
|
216
|
-
"\xA0\u200C\xA0\u200C\xA0\u200C\xA0"
|
|
217
|
-
), /* @__PURE__ */ import_react3.default.createElement(
|
|
210
|
+
return /* @__PURE__ */ import_react3.default.createElement(import_react3.Fragment, null, props.previewText && /* @__PURE__ */ import_react3.default.createElement("div", { style: { display: "none", maxHeight: "0px", overflow: "hidden" } }, props.previewText, "\xA0\u200C\xA0\u200C\xA0\u200C\xA0"), "$", props.underline !== true ? "<style>{`a { text-decoration: none }`}</style>" : "", /* @__PURE__ */ import_react3.default.createElement(
|
|
218
211
|
"div",
|
|
219
212
|
{
|
|
220
213
|
style: {
|
package/dist/index.mjs
CHANGED
|
@@ -174,14 +174,7 @@ function getBorder({ borderColor }) {
|
|
|
174
174
|
function EmailLayoutReader(props) {
|
|
175
175
|
var _a, _b, _c, _d, _e;
|
|
176
176
|
const childrenIds = (_a = props.childrenIds) != null ? _a : [];
|
|
177
|
-
return /* @__PURE__ */ React3.createElement(Fragment, null, props.previewText && /* @__PURE__ */ React3.createElement(
|
|
178
|
-
"div",
|
|
179
|
-
{
|
|
180
|
-
style: { display: "none", maxHeight: "0px", overflow: "hidden" }
|
|
181
|
-
},
|
|
182
|
-
props.previewText,
|
|
183
|
-
"\xA0\u200C\xA0\u200C\xA0\u200C\xA0"
|
|
184
|
-
), /* @__PURE__ */ React3.createElement(
|
|
177
|
+
return /* @__PURE__ */ React3.createElement(Fragment, null, props.previewText && /* @__PURE__ */ React3.createElement("div", { style: { display: "none", maxHeight: "0px", overflow: "hidden" } }, props.previewText, "\xA0\u200C\xA0\u200C\xA0\u200C\xA0"), "$", props.underline !== true ? "<style>{`a { text-decoration: none }`}</style>" : "", /* @__PURE__ */ React3.createElement(
|
|
185
178
|
"div",
|
|
186
179
|
{
|
|
187
180
|
style: {
|