@react-email/tailwind 2.0.2 → 2.0.4-canary.0
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 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +29 -29
package/dist/index.js
CHANGED
|
@@ -21719,7 +21719,7 @@ function Tailwind({ children, config }) {
|
|
|
21719
21719
|
const elementWithInlinedStyles = cloneElementWithInlinedStyles(node, inlinableRules, nonInlinableRules, customProperties);
|
|
21720
21720
|
if (elementWithInlinedStyles.type === "head") {
|
|
21721
21721
|
appliedNonInlineStyles = true;
|
|
21722
|
-
const styleElement = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", {
|
|
21722
|
+
const styleElement = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", { dangerouslySetInnerHTML: { __html: generate(nonInlineStyles) } });
|
|
21723
21723
|
return react.cloneElement(elementWithInlinedStyles, elementWithInlinedStyles.props, styleElement, elementWithInlinedStyles.props.children);
|
|
21724
21724
|
}
|
|
21725
21725
|
return elementWithInlinedStyles;
|
package/dist/index.mjs
CHANGED
|
@@ -21706,7 +21706,7 @@ function Tailwind({ children, config }) {
|
|
|
21706
21706
|
const elementWithInlinedStyles = cloneElementWithInlinedStyles(node, inlinableRules, nonInlinableRules, customProperties);
|
|
21707
21707
|
if (elementWithInlinedStyles.type === "head") {
|
|
21708
21708
|
appliedNonInlineStyles = true;
|
|
21709
|
-
const styleElement = /* @__PURE__ */ jsx("style", {
|
|
21709
|
+
const styleElement = /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: generate(nonInlineStyles) } });
|
|
21710
21710
|
return React$1.cloneElement(elementWithInlinedStyles, elementWithInlinedStyles.props, styleElement, elementWithInlinedStyles.props.children);
|
|
21711
21711
|
}
|
|
21712
21712
|
return elementWithInlinedStyles;
|