@planetaexo/design-system 0.25.0 → 0.26.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.js CHANGED
@@ -4452,6 +4452,96 @@ function BookingAdventureCard({
4452
4452
  );
4453
4453
  }
4454
4454
  var DEFAULT_LABELS2 = {
4455
+ heading: "PAYMENT DETAILS"
4456
+ };
4457
+ function PaymentDetailsBlock({
4458
+ rows,
4459
+ footerBanner,
4460
+ labels,
4461
+ className
4462
+ }) {
4463
+ var _a;
4464
+ const l = {
4465
+ heading: (_a = labels == null ? void 0 : labels.heading) != null ? _a : DEFAULT_LABELS2.heading
4466
+ };
4467
+ const hasBanner = !!footerBanner;
4468
+ return /* @__PURE__ */ jsxs(
4469
+ "div",
4470
+ {
4471
+ style: {
4472
+ borderRadius: "12px",
4473
+ border: `1px solid ${emailTokens.border}`,
4474
+ overflow: "hidden"
4475
+ },
4476
+ className,
4477
+ children: [
4478
+ /* @__PURE__ */ jsx(
4479
+ "div",
4480
+ {
4481
+ style: {
4482
+ padding: "12px 16px",
4483
+ backgroundColor: emailTokens.muted,
4484
+ borderBottom: `1px solid ${emailTokens.border}`
4485
+ },
4486
+ children: /* @__PURE__ */ jsx(
4487
+ "p",
4488
+ {
4489
+ style: {
4490
+ fontSize: "10px",
4491
+ fontWeight: 700,
4492
+ color: emailTokens.mutedForeground,
4493
+ textTransform: "uppercase",
4494
+ letterSpacing: "0.1em",
4495
+ margin: 0
4496
+ },
4497
+ children: l.heading
4498
+ }
4499
+ )
4500
+ }
4501
+ ),
4502
+ /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
4503
+ rows.map((row, i) => {
4504
+ const isLast = i === rows.length - 1;
4505
+ const showBorder = !isLast;
4506
+ const valueStyle = {
4507
+ padding: "10px 16px",
4508
+ textAlign: "right",
4509
+ fontWeight: row.emphasis ? 700 : 500,
4510
+ color: row.emphasis ? emailTokens.primary : emailTokens.foreground,
4511
+ whiteSpace: "nowrap"
4512
+ };
4513
+ return /* @__PURE__ */ jsxs(
4514
+ "tr",
4515
+ {
4516
+ style: showBorder ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
4517
+ children: [
4518
+ /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: row.label }),
4519
+ /* @__PURE__ */ jsx("td", { style: valueStyle, children: row.value })
4520
+ ]
4521
+ },
4522
+ i
4523
+ );
4524
+ }),
4525
+ hasBanner && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
4526
+ "td",
4527
+ {
4528
+ colSpan: 2,
4529
+ style: {
4530
+ padding: "12px 16px",
4531
+ textAlign: "center",
4532
+ fontWeight: 600,
4533
+ color: emailTokens.green,
4534
+ backgroundColor: emailTokens.greenBg
4535
+ },
4536
+ children: footerBanner.text
4537
+ }
4538
+ ) })
4539
+ ] }) })
4540
+ ]
4541
+ }
4542
+ );
4543
+ }
4544
+ var DEFAULT_LABELS3 = {
4455
4545
  ctaButton: "View booking details",
4456
4546
  logoAlt: "PlanetaEXO",
4457
4547
  greeting: (recipientName) => `Hi ${recipientName},`,
@@ -4503,7 +4593,7 @@ function BookingConfirmation({
4503
4593
  className,
4504
4594
  flow = "auto"
4505
4595
  }) {
4506
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS2), labels);
4596
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS3), labels);
4507
4597
  const allTravellers = adventures.flatMap((a) => {
4508
4598
  var _a;
4509
4599
  return (_a = a.travellers) != null ? _a : [];
@@ -4666,24 +4756,32 @@ function BookingConfirmation({
4666
4756
  /* @__PURE__ */ jsx("td", { style: { padding: "16px", textAlign: "right", fontWeight: "700", color: emailTokens.primary, fontSize: "20px", whiteSpace: "nowrap" }, children: total })
4667
4757
  ] })
4668
4758
  ] }) }) }),
4669
- depositInfo && /* @__PURE__ */ jsxs("div", { style: { borderRadius: "12px", border: `1px solid ${emailTokens.border}`, marginTop: "16px", overflow: "hidden" }, children: [
4670
- /* @__PURE__ */ jsx("div", { style: { padding: "12px 16px", backgroundColor: emailTokens.muted, borderBottom: `1px solid ${emailTokens.border}` }, children: /* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: 0 }, children: l.paymentDetailsHeading }) }),
4671
- /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
4672
- /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
4673
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.depositLabel(depositInfo.depositPercent) }),
4674
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.depositAmount })
4675
- ] }),
4676
- /* @__PURE__ */ jsxs("tr", { style: depositInfo.isPaidInFull ? {} : { borderBottom: `1px solid ${emailTokens.border}` }, children: [
4677
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.remainingBalanceLabel }),
4678
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.remainingAmount })
4679
- ] }),
4680
- !depositInfo.isPaidInFull && /* @__PURE__ */ jsxs("tr", { children: [
4681
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.balanceDueLabel }),
4682
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.balanceDueDate })
4683
- ] }),
4684
- depositInfo.isPaidInFull && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 2, style: { padding: "12px 16px", textAlign: "center", fontWeight: "600", color: emailTokens.green, backgroundColor: emailTokens.greenBg }, children: l.paidInFullLabel }) })
4685
- ] }) })
4686
- ] })
4759
+ depositInfo && /* @__PURE__ */ jsx("div", { style: { marginTop: "16px" }, children: /* @__PURE__ */ jsx(
4760
+ PaymentDetailsBlock,
4761
+ {
4762
+ labels: { heading: l.paymentDetailsHeading },
4763
+ rows: (() => {
4764
+ const rows = [
4765
+ {
4766
+ label: l.depositLabel(depositInfo.depositPercent),
4767
+ value: depositInfo.depositAmount
4768
+ },
4769
+ {
4770
+ label: l.remainingBalanceLabel,
4771
+ value: depositInfo.remainingAmount
4772
+ }
4773
+ ];
4774
+ if (!depositInfo.isPaidInFull) {
4775
+ rows.push({
4776
+ label: l.balanceDueLabel,
4777
+ value: depositInfo.balanceDueDate
4778
+ });
4779
+ }
4780
+ return rows;
4781
+ })(),
4782
+ footerBanner: depositInfo.isPaidInFull ? { text: l.paidInFullLabel, kind: "success" } : void 0
4783
+ }
4784
+ ) })
4687
4785
  ] }),
4688
4786
  /* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
4689
4787
  /* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "40px" }, children: isManualFlow ? (
@@ -4700,7 +4798,7 @@ function BookingConfirmation({
4700
4798
  }
4701
4799
  );
4702
4800
  }
4703
- var DEFAULT_LABELS3 = {
4801
+ var DEFAULT_LABELS4 = {
4704
4802
  ctaButton: "Add travellers to your booking",
4705
4803
  logoAlt: "PlanetaEXO",
4706
4804
  greeting: (recipientName) => `Hi ${recipientName},`,
@@ -4733,7 +4831,7 @@ function BookingConfirmationEmail({
4733
4831
  nextStepsImportant,
4734
4832
  directBookingLinkLabel
4735
4833
  }) {
4736
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS3), labels);
4834
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS4), labels);
4737
4835
  const ctaStyle = {
4738
4836
  display: "inline-block",
4739
4837
  backgroundColor: emailTokens.primary,
@@ -4820,7 +4918,7 @@ function BookingConfirmationEmail({
4820
4918
  }
4821
4919
  );
4822
4920
  }
4823
- var DEFAULT_LABELS4 = {
4921
+ var DEFAULT_LABELS5 = {
4824
4922
  logoAlt: "PlanetaEXO",
4825
4923
  greeting: (name) => `Hi ${name},`,
4826
4924
  receiptHeading: "Payment receipt",
@@ -4859,7 +4957,7 @@ function PaymentReceiptEmail({
4859
4957
  labels,
4860
4958
  className
4861
4959
  }) {
4862
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS4), labels);
4960
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS5), labels);
4863
4961
  const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
4864
4962
  const interestRow = chargedAmount && chargedAmount !== amount;
4865
4963
  const receiptRows = [
@@ -4955,8 +5053,24 @@ function PaymentReceiptEmail({
4955
5053
  }
4956
5054
  );
4957
5055
  }
4958
- var EMPTY_AGENT_FN = (_agentName) => "";
4959
- var DEFAULT_LABELS5 = {
5056
+ var INLINE_LINK_STYLE = {
5057
+ color: emailTokens.primary,
5058
+ textDecoration: "underline"
5059
+ };
5060
+ function renderWhatsappLink(contact, label) {
5061
+ if (contact.whatsappUrl) {
5062
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE, children: label });
5063
+ }
5064
+ return label;
5065
+ }
5066
+ function renderEmailLink(contact, label) {
5067
+ if (contact.email) {
5068
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE, children: label });
5069
+ }
5070
+ return label;
5071
+ }
5072
+ var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
5073
+ var DEFAULT_LABELS6 = {
4960
5074
  logoAlt: "PlanetaEXO",
4961
5075
  greeting: (name) => `Hi ${name},`,
4962
5076
  intermediateHello: "Hope you're doing well.",
@@ -4964,9 +5078,18 @@ var DEFAULT_LABELS5 = {
4964
5078
  amountAlreadyPaidLabel: "Amount already paid",
4965
5079
  remainingBalanceDueLabel: "Remaining balance due",
4966
5080
  totalBookingAmountLabel: "Total booking amount",
5081
+ paymentDetailsHeading: "PAYMENT DETAILS",
4967
5082
  ctaLabel: "Complete Payment",
4968
5083
  teamSignature: "The PlanetaEXO Team",
4969
- closingAgent: (agentName) => `If you need any assistance or would like to discuss your payment, feel free to contact your agent ${agentName} via WhatsApp or email.`,
5084
+ closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
5085
+ "If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
5086
+ agentName,
5087
+ " via ",
5088
+ renderWhatsappLink(contact, "WhatsApp"),
5089
+ " or ",
5090
+ renderEmailLink(contact, "email"),
5091
+ "."
5092
+ ] }),
4970
5093
  closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
4971
5094
  adventureCard: {
4972
5095
  travellersHeading: "TRAVELLERS",
@@ -4983,28 +5106,36 @@ var DEFAULT_LABELS5 = {
4983
5106
  secureLine: "To secure your booking, please complete the payment through your booking page using the button below:",
4984
5107
  closingThanks: "Many thanks, and we look forward to helping you experience your next adventure with us.",
4985
5108
  disregardIfPaid: "",
4986
- closingAlternative: EMPTY_AGENT_FN
5109
+ closingAlternative: EMPTY_CLOSING_ALTERNATIVE
4987
5110
  },
4988
5111
  dZero: {
4989
5112
  intro: (b, d) => `This is a friendly reminder that the remaining balance for your booking #${b} with PlanetaEXO is due today (${d}).`,
4990
5113
  secureLine: "To keep your booking confirmed, please complete the payment through your booking page using the button below:",
4991
5114
  closingThanks: "Many thanks, and we look forward to welcoming you soon.",
4992
5115
  disregardIfPaid: "",
4993
- closingAlternative: EMPTY_AGENT_FN
5116
+ closingAlternative: EMPTY_CLOSING_ALTERNATIVE
4994
5117
  },
4995
5118
  dPlus1: {
4996
5119
  intro: (b, d) => `We noticed that the remaining balance for your booking #${b} with PlanetaEXO was due yesterday (${d}) and is still pending.`,
4997
5120
  secureLine: "To avoid any impact on your booking confirmation, we kindly ask you to complete the payment as soon as possible through your booking page:",
4998
5121
  closingThanks: "Thank you, and we hope to welcome you on your upcoming adventure soon.",
4999
5122
  disregardIfPaid: "If you have already completed the payment, please disregard this message.",
5000
- closingAlternative: EMPTY_AGENT_FN
5123
+ closingAlternative: EMPTY_CLOSING_ALTERNATIVE
5001
5124
  },
5002
5125
  dPlus2: {
5003
5126
  intro: (b, d) => `This is a final reminder regarding the remaining balance for your booking #${b} with PlanetaEXO, which was due on ${d} and is still pending.`,
5004
5127
  secureLine: "To avoid any impact on your booking status or availability, we kindly ask you to complete the payment as soon as possible through your booking page:",
5005
5128
  closingThanks: "Thank you for your attention, and we hope to welcome you on this adventure soon.",
5006
5129
  disregardIfPaid: "If you have already completed the payment, please disregard this message.",
5007
- closingAlternative: (agentName) => `If you are experiencing any issues with payment or need additional time, please contact your agent ${agentName} via WhatsApp or email. We'll be happy to assist.`
5130
+ closingAlternative: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
5131
+ "If you are experiencing any issues with payment or need additional time, please contact your agent ",
5132
+ agentName,
5133
+ " via ",
5134
+ renderWhatsappLink(contact, "WhatsApp"),
5135
+ " or ",
5136
+ renderEmailLink(contact, "email"),
5137
+ ". We'll be happy to assist."
5138
+ ] })
5008
5139
  }
5009
5140
  }
5010
5141
  };
@@ -5019,13 +5150,14 @@ function PaymentReminderEmail({
5019
5150
  totalBookingAmount,
5020
5151
  viewBookingUrl,
5021
5152
  agentName,
5153
+ agentContactLinks,
5022
5154
  logoUrl,
5023
5155
  labels,
5024
5156
  className
5025
5157
  }) {
5026
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
5158
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
5027
5159
  const lOverride = labels != null ? labels : {};
5028
- const variantDefaults = DEFAULT_LABELS5.variants[variant];
5160
+ const variantDefaults = DEFAULT_LABELS6.variants[variant];
5029
5161
  const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
5030
5162
  const variantLabels = {
5031
5163
  intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
@@ -5035,18 +5167,19 @@ function PaymentReminderEmail({
5035
5167
  closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
5036
5168
  };
5037
5169
  const l = {
5038
- logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS5.logoAlt,
5039
- greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS5.greeting,
5040
- intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS5.intermediateHello,
5041
- bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS5.bookingSummaryHeader,
5042
- amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS5.amountAlreadyPaidLabel,
5043
- remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS5.remainingBalanceDueLabel,
5044
- totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS5.totalBookingAmountLabel,
5045
- ctaLabel: (_n = lOverride.ctaLabel) != null ? _n : DEFAULT_LABELS5.ctaLabel,
5046
- teamSignature: (_o = lOverride.teamSignature) != null ? _o : DEFAULT_LABELS5.teamSignature,
5047
- closingAgent: (_p = lOverride.closingAgent) != null ? _p : DEFAULT_LABELS5.closingAgent,
5048
- closingNoAgent: (_q = lOverride.closingNoAgent) != null ? _q : DEFAULT_LABELS5.closingNoAgent,
5049
- adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS5.adventureCard), (_r = lOverride.adventureCard) != null ? _r : {})
5170
+ logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS6.logoAlt,
5171
+ greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS6.greeting,
5172
+ intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS6.intermediateHello,
5173
+ bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS6.bookingSummaryHeader,
5174
+ amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS6.amountAlreadyPaidLabel,
5175
+ remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS6.remainingBalanceDueLabel,
5176
+ totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS6.totalBookingAmountLabel,
5177
+ paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS6.paymentDetailsHeading,
5178
+ ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS6.ctaLabel,
5179
+ teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS6.teamSignature,
5180
+ closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS6.closingAgent,
5181
+ closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS6.closingNoAgent,
5182
+ adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
5050
5183
  };
5051
5184
  const ctaStyle = {
5052
5185
  display: "inline-block",
@@ -5059,16 +5192,15 @@ function PaymentReminderEmail({
5059
5192
  textDecoration: "none",
5060
5193
  fontFamily: emailTokens.fontFamily
5061
5194
  };
5062
- const summaryRowStyle = {
5063
- margin: "0 0 8px",
5064
- fontSize: "14px",
5065
- color: emailTokens.foreground
5066
- };
5067
5195
  const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
5068
- const closingMain = agentNameTrimmed ? l.closingAgent(agentNameTrimmed) : l.closingNoAgent;
5196
+ const contact = agentContactLinks != null ? agentContactLinks : {};
5197
+ let closingMainNode;
5198
+ if (variant === "dPlus2") {
5199
+ closingMainNode = agentNameTrimmed ? variantLabels.closingAlternative(agentNameTrimmed, contact) : l.closingNoAgent;
5200
+ } else {
5201
+ closingMainNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
5202
+ }
5069
5203
  const showDisregard = typeof variantLabels.disregardIfPaid === "string" && variantLabels.disregardIfPaid.trim().length > 0;
5070
- const closingAlternativeText = agentNameTrimmed && variantLabels.closingAlternative ? variantLabels.closingAlternative(agentNameTrimmed) : "";
5071
- const showClosingAlternative = closingAlternativeText.trim().length > 0;
5072
5204
  return /* @__PURE__ */ jsxs(
5073
5205
  "div",
5074
5206
  {
@@ -5147,40 +5279,21 @@ function PaymentReminderEmail({
5147
5279
  advIdx
5148
5280
  );
5149
5281
  }),
5150
- /* @__PURE__ */ jsx(
5151
- "hr",
5282
+ /* @__PURE__ */ jsx("div", { style: { marginTop: "8px", marginBottom: "24px" }, children: /* @__PURE__ */ jsx(
5283
+ PaymentDetailsBlock,
5152
5284
  {
5153
- style: {
5154
- border: "none",
5155
- borderTop: `1px solid ${emailTokens.border}`,
5156
- marginBottom: "16px"
5157
- }
5285
+ labels: { heading: l.paymentDetailsHeading },
5286
+ rows: [
5287
+ { label: l.amountAlreadyPaidLabel, value: amountAlreadyPaid },
5288
+ {
5289
+ label: l.remainingBalanceDueLabel,
5290
+ value: remainingBalanceDue,
5291
+ emphasis: true
5292
+ },
5293
+ { label: l.totalBookingAmountLabel, value: totalBookingAmount }
5294
+ ]
5158
5295
  }
5159
- ),
5160
- /* @__PURE__ */ jsxs("p", { style: summaryRowStyle, children: [
5161
- /* @__PURE__ */ jsxs("strong", { children: [
5162
- l.amountAlreadyPaidLabel,
5163
- ":"
5164
- ] }),
5165
- " ",
5166
- amountAlreadyPaid
5167
- ] }),
5168
- /* @__PURE__ */ jsxs("p", { style: summaryRowStyle, children: [
5169
- /* @__PURE__ */ jsxs("strong", { children: [
5170
- l.remainingBalanceDueLabel,
5171
- ":"
5172
- ] }),
5173
- " ",
5174
- remainingBalanceDue
5175
- ] }),
5176
- /* @__PURE__ */ jsxs("p", { style: __spreadProps(__spreadValues({}, summaryRowStyle), { marginBottom: "24px" }), children: [
5177
- /* @__PURE__ */ jsxs("strong", { children: [
5178
- l.totalBookingAmountLabel,
5179
- ":"
5180
- ] }),
5181
- " ",
5182
- totalBookingAmount
5183
- ] }),
5296
+ ) }),
5184
5297
  showDisregard && /* @__PURE__ */ jsx(
5185
5298
  "p",
5186
5299
  {
@@ -5193,8 +5306,7 @@ function PaymentReminderEmail({
5193
5306
  children: variantLabels.disregardIfPaid
5194
5307
  }
5195
5308
  ),
5196
- showClosingAlternative && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: closingAlternativeText }),
5197
- /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: closingMain }),
5309
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: closingMainNode }),
5198
5310
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: variantLabels.closingThanks }),
5199
5311
  /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
5200
5312
  ]
@@ -5881,7 +5993,7 @@ function BookingForm({
5881
5993
  }
5882
5994
  );
5883
5995
  }
5884
- var DEFAULT_LABELS6 = {
5996
+ var DEFAULT_LABELS7 = {
5885
5997
  formSubtitle: "To confirm your participation, please complete this short form. It's required for all travellers and helps us coordinate logistics with our local partners and tailor the experience to you.",
5886
5998
  detailsSectionTitle: "Your details",
5887
5999
  tripInfoSectionTitle: "Trip info",
@@ -6546,7 +6658,7 @@ function RegistrationForm({
6546
6658
  }) {
6547
6659
  var _a;
6548
6660
  const L = React25.useMemo(
6549
- () => __spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels != null ? labels : {}),
6661
+ () => __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels != null ? labels : {}),
6550
6662
  [labels]
6551
6663
  );
6552
6664
  const sortedFields = React25.useMemo(
@@ -11144,6 +11256,6 @@ function LeadCapturePopup({
11144
11256
  );
11145
11257
  }
11146
11258
 
11147
- export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
11259
+ export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
11148
11260
  //# sourceMappingURL=index.js.map
11149
11261
  //# sourceMappingURL=index.js.map