optimized-react-component-library-xyz123 2.8.11 → 2.8.13
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1905,9 +1905,9 @@ var AlertInTextStandard_default = AlertInTextStandard;
|
|
|
1905
1905
|
import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1906
1906
|
var TextBody = ({ data }) => {
|
|
1907
1907
|
return /* @__PURE__ */ jsxs15("div", { className: "pts-textBody-container", children: [
|
|
1908
|
-
/* @__PURE__ */ jsxs15("div", { className: `${!data.body || !data.linksForMoreInfo ? "" : "pts-textbody-createspace"}`, children: [
|
|
1908
|
+
/* @__PURE__ */ jsxs15("div", { className: `${!data.body || !data.linksForMoreInfo || !data.alertInText ? "" : "pts-textbody-createspace"}`, children: [
|
|
1909
1909
|
data.body && /* @__PURE__ */ jsx18("div", { dangerouslySetInnerHTML: { __html: DOMPurify5.sanitize(data.body, {
|
|
1910
|
-
ALLOWED_ATTR: ["target", "href"]
|
|
1910
|
+
ALLOWED_ATTR: ["target", "href", "style"]
|
|
1911
1911
|
}) } }),
|
|
1912
1912
|
data.linksForMoreInfo && data.linksForMoreInfo.length > 1 && /* @__PURE__ */ jsx18("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx18("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs15(
|
|
1913
1913
|
"a",
|