@planetaexo/design-system 0.13.1 → 0.13.2

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.d.cts CHANGED
@@ -325,6 +325,9 @@ interface BookingDepositInfo {
325
325
  remainingAmount: string;
326
326
  balanceDueDate: string;
327
327
  isPaidInFull?: boolean;
328
+ /** Label da linha do depósito. Default: "Deposit". Use "Paid" em contextos
329
+ * pós-compra onde o valor reflete o que o cliente realmente pagou. */
330
+ depositLabel?: string;
328
331
  /** Valor numérico do saldo restante (em unidade monetária). Quando fornecido,
329
332
  * o botão "Pay remaining balance" só é renderizado se > 0.
330
333
  * Mantém backward compat: consumers que não passam o valor conservam o
package/dist/index.d.ts CHANGED
@@ -325,6 +325,9 @@ interface BookingDepositInfo {
325
325
  remainingAmount: string;
326
326
  balanceDueDate: string;
327
327
  isPaidInFull?: boolean;
328
+ /** Label da linha do depósito. Default: "Deposit". Use "Paid" em contextos
329
+ * pós-compra onde o valor reflete o que o cliente realmente pagou. */
330
+ depositLabel?: string;
328
331
  /** Valor numérico do saldo restante (em unidade monetária). Quando fornecido,
329
332
  * o botão "Pay remaining balance" só é renderizado se > 0.
330
333
  * Mantém backward compat: consumers que não passam o valor conservam o
package/dist/index.js CHANGED
@@ -3181,6 +3181,7 @@ function OrderSummary({
3181
3181
  balanceDueLabel,
3182
3182
  totalPaidLabel
3183
3183
  }) {
3184
+ var _a;
3184
3185
  return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl border border-border bg-card p-5 lg:p-6 flex flex-col gap-4", children: [
3185
3186
  /* @__PURE__ */ jsx("h3", { className: "text-xs font-bold text-muted-foreground font-heading uppercase tracking-widest", children: "Order Summary" }),
3186
3187
  /* @__PURE__ */ jsx(Separator, {}),
@@ -3268,7 +3269,8 @@ function OrderSummary({
3268
3269
  depositInfo && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 rounded-lg bg-muted/50 border border-border p-4", children: [
3269
3270
  !depositInfo.hideDepositLine && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
3270
3271
  /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground font-sans", children: [
3271
- "Deposit (",
3272
+ (_a = depositInfo.depositLabel) != null ? _a : "Deposit",
3273
+ " (",
3272
3274
  depositInfo.depositPercent,
3273
3275
  "%)"
3274
3276
  ] }),