@planetaexo/design-system 0.4.20 → 0.4.21
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5036,13 +5036,15 @@ function RegistrationSuccessCard({
|
|
|
5036
5036
|
answers,
|
|
5037
5037
|
dateFormatter = isoOrDateToString,
|
|
5038
5038
|
formatAnswer,
|
|
5039
|
-
className
|
|
5039
|
+
className,
|
|
5040
|
+
actions
|
|
5040
5041
|
}) {
|
|
5041
5042
|
const sorted = [...fields].sort((a, b) => {
|
|
5042
5043
|
var _a, _b;
|
|
5043
5044
|
return ((_a = a.order) != null ? _a : 0) - ((_b = b.order) != null ? _b : 0);
|
|
5044
5045
|
}).filter((f) => Object.prototype.hasOwnProperty.call(answers, f.id));
|
|
5045
5046
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("rounded-xl border border-border bg-card p-6 sm:p-8 flex flex-col gap-10", className), children: [
|
|
5047
|
+
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-3 justify-end", children: actions }),
|
|
5046
5048
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
5047
5049
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-14 w-14 items-center justify-center rounded-full bg-primary/10 text-primary", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleCheckIcon, { size: 28 }) }),
|
|
5048
5050
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl font-black uppercase tracking-wide text-foreground font-heading leading-tight", children: title }),
|