@planetaexo/design-system 0.13.0 → 0.13.1

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
@@ -338,6 +338,10 @@ interface BookingDepositInfo {
338
338
  /** Total efectivamente pago (com juros embutidos quando houver). Quando undefined,
339
339
  * a linha "Total paid" não é renderizada no OrderSummary. */
340
340
  totalPaid?: string;
341
+ /** Quando true, esconde a linha "Deposit (X%)" do bloco. Útil quando o deposit
342
+ * cobre o total inteiro (deposit=100%) e a linha duplicaria visualmente
343
+ * o "Remaining balance". `Remaining balance` e `Balance due` continuam visíveis. */
344
+ hideDepositLine?: boolean;
341
345
  }
342
346
  interface BookingDetailsProps {
343
347
  bookingId: string;
package/dist/index.d.ts CHANGED
@@ -338,6 +338,10 @@ interface BookingDepositInfo {
338
338
  /** Total efectivamente pago (com juros embutidos quando houver). Quando undefined,
339
339
  * a linha "Total paid" não é renderizada no OrderSummary. */
340
340
  totalPaid?: string;
341
+ /** Quando true, esconde a linha "Deposit (X%)" do bloco. Útil quando o deposit
342
+ * cobre o total inteiro (deposit=100%) e a linha duplicaria visualmente
343
+ * o "Remaining balance". `Remaining balance` e `Balance due` continuam visíveis. */
344
+ hideDepositLine?: boolean;
341
345
  }
342
346
  interface BookingDetailsProps {
343
347
  bookingId: string;
package/dist/index.js CHANGED
@@ -3266,7 +3266,7 @@ function OrderSummary({
3266
3266
  /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-foreground font-sans", children: depositInfo.totalPaid })
3267
3267
  ] }),
3268
3268
  depositInfo && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 rounded-lg bg-muted/50 border border-border p-4", children: [
3269
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
3269
+ !depositInfo.hideDepositLine && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
3270
3270
  /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground font-sans", children: [
3271
3271
  "Deposit (",
3272
3272
  depositInfo.depositPercent,