@planetaexo/design-system 0.13.1 → 0.13.3

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 CHANGED
@@ -2526,7 +2526,7 @@ function AdventureSection({
2526
2526
  onRequestOpenDeleteModal,
2527
2527
  cannotRemoveLastTravellerLabel
2528
2528
  }) {
2529
- var _a, _b, _c, _d, _e, _f, _g, _h;
2529
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
2530
2530
  const [detailsOpen, setDetailsOpen] = React23__namespace.useState(false);
2531
2531
  const handleCopyUrl = (url) => {
2532
2532
  if (onCopyFormLink) {
@@ -2868,7 +2868,7 @@ function AdventureSection({
2868
2868
  )) })
2869
2869
  ] });
2870
2870
  })(),
2871
- adventure.travellers.length > 0 && totalSlots > 0 && (() => {
2871
+ adventure.registrationNotRequired ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2 mt-1", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-ui text-muted-foreground", children: (_i = adventure.noRegistrationRequiredLabel) != null ? _i : "No registration required" }) }) : adventure.travellers.length > 0 && totalSlots > 0 && (() => {
2872
2872
  const completed = adventure.travellers.filter((t) => t.status === "completed").length;
2873
2873
  const percent = Math.round(completed / totalSlots * 100);
2874
2874
  const isComplete = completed >= totalSlots;
@@ -3202,6 +3202,7 @@ function OrderSummary({
3202
3202
  balanceDueLabel,
3203
3203
  totalPaidLabel
3204
3204
  }) {
3205
+ var _a;
3205
3206
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl border border-border bg-card p-5 lg:p-6 flex flex-col gap-4", children: [
3206
3207
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xs font-bold text-muted-foreground font-heading uppercase tracking-widest", children: "Order Summary" }),
3207
3208
  /* @__PURE__ */ jsxRuntime.jsx(Separator, {}),
@@ -3289,7 +3290,8 @@ function OrderSummary({
3289
3290
  depositInfo && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 rounded-lg bg-muted/50 border border-border p-4", children: [
3290
3291
  !depositInfo.hideDepositLine && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
3291
3292
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-muted-foreground font-sans", children: [
3292
- "Deposit (",
3293
+ (_a = depositInfo.depositLabel) != null ? _a : "Deposit",
3294
+ " (",
3293
3295
  depositInfo.depositPercent,
3294
3296
  "%)"
3295
3297
  ] }),