@planetaexo/design-system 0.5.4 → 0.5.5

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 CHANGED
@@ -5143,16 +5143,13 @@ function RegistrationSuccessCard({
5143
5143
  answers[f.id]
5144
5144
  ) })
5145
5145
  ] }, f.id)) }) }),
5146
- terms && /* @__PURE__ */ jsxs(FormSection2, { title: "Terms & Conditions", children: [
5147
- /* @__PURE__ */ jsx("div", { className: "rounded-lg border border-border bg-muted/30 p-4 max-h-48 overflow-y-auto", children: /* @__PURE__ */ jsx("p", { className: "whitespace-pre-wrap text-sm leading-relaxed text-foreground font-ui", children: terms.markdown }) }),
5148
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm font-ui", children: [
5149
- /* @__PURE__ */ jsx("div", { className: cn(
5150
- "inline-flex h-5 w-5 items-center justify-center rounded-full text-white text-xs",
5151
- terms.accepted ? "bg-primary" : "bg-destructive"
5152
- ), children: terms.accepted ? "\u2713" : "\u2717" }),
5153
- /* @__PURE__ */ jsx("span", { className: terms.accepted ? "text-primary font-medium" : "text-destructive font-medium", children: terms.accepted ? "Accepted" : "Not accepted" })
5154
- ] })
5155
- ] })
5146
+ terms && /* @__PURE__ */ jsx(FormSection2, { title: "Terms & Conditions", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm font-ui", children: [
5147
+ /* @__PURE__ */ jsx("div", { className: cn(
5148
+ "inline-flex h-5 w-5 items-center justify-center rounded-full text-white text-xs font-bold",
5149
+ terms.accepted ? "bg-primary" : "bg-destructive"
5150
+ ), children: terms.accepted ? "\u2713" : "\u2717" }),
5151
+ /* @__PURE__ */ jsx("span", { className: terms.accepted ? "text-primary font-medium" : "text-destructive font-medium", children: terms.accepted ? "Accepted" : "Not accepted" })
5152
+ ] }) })
5156
5153
  ] });
5157
5154
  }
5158
5155
  var OTPCodeInput = ({