@planetaexo/design-system 0.35.0 → 0.36.0

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
@@ -2633,6 +2633,9 @@ function AdventureSection({
2633
2633
  onAddTraveller,
2634
2634
  onUnassignFromAdventure,
2635
2635
  onCopyFormLink,
2636
+ onResendInvite,
2637
+ resendingInviteTravellerIds,
2638
+ resendInviteAriaLabel,
2636
2639
  hasSubmitAddTraveller,
2637
2640
  hasSubmitEditTraveller,
2638
2641
  hasConfirmRemoveTraveller,
@@ -2889,6 +2892,18 @@ function AdventureSection({
2889
2892
  }
2890
2893
  ),
2891
2894
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0.5 shrink-0", children: [
2895
+ onResendInvite && t.status === "pending" && t.email && /* @__PURE__ */ jsxRuntime.jsx(
2896
+ "button",
2897
+ {
2898
+ type: "button",
2899
+ onClick: () => onResendInvite(t.id),
2900
+ disabled: resendingInviteTravellerIds == null ? void 0 : resendingInviteTravellerIds.has(t.id),
2901
+ className: "flex h-8 w-8 sm:h-7 sm:w-7 items-center justify-center rounded-lg text-muted-foreground hover:text-primary hover:bg-primary/10 transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:pointer-events-none",
2902
+ "aria-label": resendInviteAriaLabel != null ? resendInviteAriaLabel : "Resend registration invite",
2903
+ title: resendInviteAriaLabel != null ? resendInviteAriaLabel : "Resend registration invite",
2904
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SendIcon, { className: "w-3.5 h-3.5" })
2905
+ }
2906
+ ),
2892
2907
  (onEditTraveller || hasSubmitEditTraveller) && /* @__PURE__ */ jsxRuntime.jsx(
2893
2908
  "button",
2894
2909
  {
@@ -3465,6 +3480,9 @@ function BookingDetails({
3465
3480
  onAddTraveller,
3466
3481
  onUnassignFromAdventure,
3467
3482
  onCopyFormLink,
3483
+ onResendInvite,
3484
+ resendingInviteTravellerIds,
3485
+ resendInviteAriaLabel,
3468
3486
  onSubmitAddTraveller,
3469
3487
  onSubmitEditTraveller,
3470
3488
  onConfirmRemoveTraveller,
@@ -3653,6 +3671,9 @@ function BookingDetails({
3653
3671
  onAddTraveller,
3654
3672
  onUnassignFromAdventure,
3655
3673
  onCopyFormLink,
3674
+ onResendInvite,
3675
+ resendingInviteTravellerIds,
3676
+ resendInviteAriaLabel,
3656
3677
  hasSubmitAddTraveller,
3657
3678
  hasSubmitEditTraveller,
3658
3679
  hasConfirmRemoveTraveller,