@planetaexo/design-system 0.3.18 → 0.3.19
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1770,7 +1770,8 @@ function TermsSection({
|
|
|
1770
1770
|
checked,
|
|
1771
1771
|
onChange,
|
|
1772
1772
|
warningMessage,
|
|
1773
|
-
locale = "en"
|
|
1773
|
+
locale = "en",
|
|
1774
|
+
termsContent
|
|
1774
1775
|
}) {
|
|
1775
1776
|
var _a;
|
|
1776
1777
|
const [modalOpen, setModalOpen] = React21__namespace.useState(false);
|
|
@@ -1807,7 +1808,7 @@ function TermsSection({
|
|
|
1807
1808
|
i18n.modalTitle,
|
|
1808
1809
|
" \u2014 PlanetaEXO"
|
|
1809
1810
|
] }) }),
|
|
1810
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 space-y-5 text-sm font-sans text-foreground/80 leading-relaxed", children: TERMS_CONTENT.map((section, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1811
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 space-y-5 text-sm font-sans text-foreground/80 leading-relaxed", children: termsContent != null ? termsContent : TERMS_CONTENT.map((section, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1811
1812
|
section.heading && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-bold text-foreground font-heading mb-1", children: section.heading }),
|
|
1812
1813
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: section.body })
|
|
1813
1814
|
] }, i)) }),
|