@planetaexo/design-system 0.12.5 → 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 +16 -11
- 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 +16 -11
- 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: [
|
|
@@ -3242,15 +3247,13 @@ function OrderSummary({
|
|
|
3242
3247
|
] }),
|
|
3243
3248
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.depositAmount })
|
|
3244
3249
|
] }),
|
|
3245
|
-
|
|
3246
|
-
/* @__PURE__ */ jsxRuntime.
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
/* @__PURE__ */ jsxRuntime.
|
|
3251
|
-
|
|
3252
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.balanceDueDate })
|
|
3253
|
-
] })
|
|
3250
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
3251
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground font-sans", children: "Remaining balance" }),
|
|
3252
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.remainingAmount })
|
|
3253
|
+
] }),
|
|
3254
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
3255
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground font-sans", children: balanceDueLabel != null ? balanceDueLabel : "Balance due" }),
|
|
3256
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.balanceDueDate })
|
|
3254
3257
|
] })
|
|
3255
3258
|
] })
|
|
3256
3259
|
] });
|
|
@@ -3270,6 +3273,7 @@ function BookingDetails({
|
|
|
3270
3273
|
contactSectionLabel,
|
|
3271
3274
|
payBalanceLabel,
|
|
3272
3275
|
balanceDueLabel,
|
|
3276
|
+
totalPaidLabel,
|
|
3273
3277
|
cannotRemoveLastTravellerLabel,
|
|
3274
3278
|
adventures,
|
|
3275
3279
|
summaryLineItems,
|
|
@@ -3486,7 +3490,8 @@ function BookingDetails({
|
|
|
3486
3490
|
subtotal,
|
|
3487
3491
|
total,
|
|
3488
3492
|
depositInfo,
|
|
3489
|
-
balanceDueLabel
|
|
3493
|
+
balanceDueLabel,
|
|
3494
|
+
totalPaidLabel
|
|
3490
3495
|
}
|
|
3491
3496
|
),
|
|
3492
3497
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl border border-border bg-card p-5 lg:p-6 flex flex-col gap-4", children: [
|