@planetaexo/design-system 0.12.6 → 0.12.7
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 +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3151,7 +3151,8 @@ function OrderSummary({
|
|
|
3151
3151
|
subtotal,
|
|
3152
3152
|
total,
|
|
3153
3153
|
depositInfo,
|
|
3154
|
-
balanceDueLabel
|
|
3154
|
+
balanceDueLabel,
|
|
3155
|
+
totalPaidLabel
|
|
3155
3156
|
}) {
|
|
3156
3157
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl border border-border bg-card p-5 lg:p-6 flex flex-col gap-4", children: [
|
|
3157
3158
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xs font-bold text-muted-foreground font-heading uppercase tracking-widest", children: "Order Summary" }),
|
|
@@ -3233,6 +3234,10 @@ function OrderSummary({
|
|
|
3233
3234
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-base font-bold text-foreground font-heading", children: "Total" }),
|
|
3234
3235
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-2xl font-black text-primary font-heading", children: total })
|
|
3235
3236
|
] }),
|
|
3237
|
+
(depositInfo == null ? void 0 : depositInfo.totalPaid) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
3238
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground font-sans", children: totalPaidLabel != null ? totalPaidLabel : "Total paid" }),
|
|
3239
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.totalPaid })
|
|
3240
|
+
] }),
|
|
3236
3241
|
depositInfo && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 rounded-lg bg-muted/50 border border-border p-4", children: [
|
|
3237
3242
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
3238
3243
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-muted-foreground font-sans", children: [
|
|
@@ -3268,6 +3273,7 @@ function BookingDetails({
|
|
|
3268
3273
|
contactSectionLabel,
|
|
3269
3274
|
payBalanceLabel,
|
|
3270
3275
|
balanceDueLabel,
|
|
3276
|
+
totalPaidLabel,
|
|
3271
3277
|
cannotRemoveLastTravellerLabel,
|
|
3272
3278
|
adventures,
|
|
3273
3279
|
summaryLineItems,
|
|
@@ -3484,7 +3490,8 @@ function BookingDetails({
|
|
|
3484
3490
|
subtotal,
|
|
3485
3491
|
total,
|
|
3486
3492
|
depositInfo,
|
|
3487
|
-
balanceDueLabel
|
|
3493
|
+
balanceDueLabel,
|
|
3494
|
+
totalPaidLabel
|
|
3488
3495
|
}
|
|
3489
3496
|
),
|
|
3490
3497
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl border border-border bg-card p-5 lg:p-6 flex flex-col gap-4", children: [
|