@planetaexo/design-system 0.3.18 → 0.3.20

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 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)) }),
@@ -2099,7 +2100,7 @@ function Offer({
2099
2100
  if (!checkoutSlot && !externalBookingFlow) setShowBooking(true);
2100
2101
  onContinue == null ? void 0 : onContinue();
2101
2102
  };
2102
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full max-w-5xl mx-auto flex flex-col gap-6 pb-20 lg:pb-0", className), children: [
2103
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col gap-6 pb-20 lg:pb-0", className), children: [
2103
2104
  /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: logoAlt, className: "w-[150px] h-auto object-contain mx-auto block" }),
2104
2105
  /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-2xl font-black text-foreground font-heading leading-tight", children: title }),
2105
2106
  subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground font-sans space-y-1 leading-relaxed", children: subtitle }),