@planetaexo/design-system 0.30.0 → 0.32.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
@@ -4451,6 +4451,98 @@ function BookingAdventureCard({
4451
4451
  }
4452
4452
  );
4453
4453
  }
4454
+ function BookingSummary({ heading, rows, footer, className }) {
4455
+ var _a, _b;
4456
+ return /* @__PURE__ */ jsxs("div", { className, style: { marginBottom: "24px" }, children: [
4457
+ /* @__PURE__ */ jsx(
4458
+ "p",
4459
+ {
4460
+ style: {
4461
+ marginTop: 0,
4462
+ marginBottom: "20px",
4463
+ fontWeight: 700,
4464
+ color: emailTokens.foreground,
4465
+ fontSize: "18px",
4466
+ fontFamily: emailTokens.fontFamily
4467
+ },
4468
+ children: heading
4469
+ }
4470
+ ),
4471
+ /* @__PURE__ */ jsx(
4472
+ "div",
4473
+ {
4474
+ style: {
4475
+ borderRadius: "12px",
4476
+ border: `1px solid ${emailTokens.border}`,
4477
+ overflow: "hidden"
4478
+ },
4479
+ children: /* @__PURE__ */ jsx(
4480
+ "table",
4481
+ {
4482
+ style: {
4483
+ width: "100%",
4484
+ fontSize: "14px",
4485
+ borderCollapse: "collapse"
4486
+ },
4487
+ children: /* @__PURE__ */ jsxs("tbody", { children: [
4488
+ rows.map((row, i) => {
4489
+ var _a2;
4490
+ const isLastRowWithoutFooter = i === rows.length - 1 && !footer;
4491
+ return /* @__PURE__ */ jsxs(
4492
+ "tr",
4493
+ {
4494
+ style: !isLastRowWithoutFooter ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
4495
+ children: [
4496
+ /* @__PURE__ */ jsx(
4497
+ "td",
4498
+ {
4499
+ style: {
4500
+ padding: "12px 20px",
4501
+ color: emailTokens.mutedForeground,
4502
+ backgroundColor: emailTokens.muted,
4503
+ verticalAlign: "top"
4504
+ },
4505
+ children: row.label
4506
+ }
4507
+ ),
4508
+ /* @__PURE__ */ jsx(
4509
+ "td",
4510
+ {
4511
+ style: {
4512
+ padding: "12px 20px",
4513
+ fontWeight: row.valueColor === emailTokens.primary ? 600 : 500,
4514
+ color: (_a2 = row.valueColor) != null ? _a2 : emailTokens.foreground,
4515
+ verticalAlign: "top"
4516
+ },
4517
+ children: row.value
4518
+ }
4519
+ )
4520
+ ]
4521
+ },
4522
+ i
4523
+ );
4524
+ }),
4525
+ footer && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
4526
+ "td",
4527
+ {
4528
+ colSpan: 2,
4529
+ style: {
4530
+ padding: "12px 20px",
4531
+ textAlign: "center",
4532
+ fontWeight: (_a = footer.fontWeight) != null ? _a : 600,
4533
+ color: (_b = footer.color) != null ? _b : emailTokens.foreground,
4534
+ backgroundColor: footer.backgroundColor
4535
+ },
4536
+ children: footer.text
4537
+ }
4538
+ ) })
4539
+ ] })
4540
+ }
4541
+ )
4542
+ }
4543
+ )
4544
+ ] });
4545
+ }
4454
4546
  var DEFAULT_LABELS2 = {
4455
4547
  heading: "PAYMENT DETAILS"
4456
4548
  };
@@ -4578,7 +4670,7 @@ var DEFAULT_LABELS3 = {
4578
4670
  footerContact: (agent) => `If you have any questions, just reply to this email or contact ${agent} \u2014 happy to help.`,
4579
4671
  closingMessage: "You can access your booking at any time through the link below."
4580
4672
  };
4581
- function BookingConfirmation({
4673
+ function BookingPaymentConfirmationEmail({
4582
4674
  recipientName,
4583
4675
  logoUrl,
4584
4676
  bookingReference,
@@ -4658,27 +4750,18 @@ function BookingConfirmation({
4658
4750
  ] }),
4659
4751
  /* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } })
4660
4752
  ] }),
4661
- /* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
4662
- /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.bookingSummaryHeading }),
4663
- /* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: `1px solid ${emailTokens.border}`, overflow: "hidden" }, children: /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
4664
- /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
4665
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.bookingNumberLabel }),
4666
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "600", color: emailTokens.primary }, children: bookingReference })
4667
- ] }),
4668
- /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
4669
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.adventuresLabel }),
4670
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: emailTokens.foreground }, children: adventures.length })
4671
- ] }),
4672
- /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
4673
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.totalTravellersLabel }),
4674
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: emailTokens.foreground }, children: allTravellers.length })
4675
- ] }),
4676
- /* @__PURE__ */ jsxs("tr", { children: [
4677
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.agentLabel }),
4678
- /* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: emailTokens.foreground }, children: agent })
4679
- ] })
4680
- ] }) }) })
4681
- ] }),
4753
+ /* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: /* @__PURE__ */ jsx(
4754
+ BookingSummary,
4755
+ {
4756
+ heading: l.bookingSummaryHeading,
4757
+ rows: [
4758
+ { label: l.bookingNumberLabel, value: bookingReference, valueColor: emailTokens.primary },
4759
+ { label: l.adventuresLabel, value: adventures.length },
4760
+ { label: l.totalTravellersLabel, value: allTravellers.length },
4761
+ { label: l.agentLabel, value: agent }
4762
+ ]
4763
+ }
4764
+ ) }),
4682
4765
  /* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
4683
4766
  /* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: adventures.map((adventure, adIdx) => {
4684
4767
  var _a, _b, _c, _d;
@@ -4798,43 +4881,13 @@ function BookingConfirmation({
4798
4881
  }
4799
4882
  );
4800
4883
  }
4801
- function BookingSummary({ heading, rows, className }) {
4802
- return /* @__PURE__ */ jsxs("div", { className, style: { marginBottom: "32px" }, children: [
4803
- /* @__PURE__ */ jsx(
4804
- "p",
4805
- {
4806
- style: {
4807
- marginBottom: "16px",
4808
- fontWeight: "700",
4809
- color: emailTokens.foreground,
4810
- fontFamily: emailTokens.fontFamily
4811
- },
4812
- children: heading
4813
- }
4814
- ),
4815
- /* @__PURE__ */ jsx(
4816
- "table",
4817
- {
4818
- style: {
4819
- width: "100%",
4820
- fontSize: "14px",
4821
- borderCollapse: "collapse"
4822
- },
4823
- children: /* @__PURE__ */ jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
4824
- /* @__PURE__ */ jsx("td", { style: { padding: "4px 16px 4px 0", color: emailTokens.mutedForeground }, children: row.label }),
4825
- /* @__PURE__ */ jsx("td", { style: { padding: "4px 0", fontWeight: "500", color: emailTokens.foreground }, children: row.value })
4826
- ] }, i)) })
4827
- }
4828
- )
4829
- ] });
4830
- }
4831
4884
  var DEFAULT_LABELS4 = {
4832
4885
  ctaButton: "Add travellers to your booking",
4833
4886
  logoAlt: "PlanetaEXO",
4834
4887
  greeting: (recipientName) => `Hi ${recipientName},`,
4835
4888
  thankYouMessage: "Thank you for booking your adventure with PlanetaEXO \u2014 we\u2019re really looking forward to your adventure.",
4836
4889
  addTravellersInstruction: "To move forward, the first step is to add all travellers included in your booking. Once you do this, each person \u2014 including you \u2014 will receive an email with a link to complete their individual registration.",
4837
- summaryHeading: "\u{1F4DD} Here\u2019s a quick summary of your booking:",
4890
+ summaryHeading: "\u{1F4DD} Booking Summary",
4838
4891
  bookingNumberLabel: "Booking Number:",
4839
4892
  activityLabel: "Activity:",
4840
4893
  adventureLabel: "Adventure:",
@@ -4845,7 +4898,7 @@ var DEFAULT_LABELS4 = {
4845
4898
  closingMessage: "If you have any questions, just reply to this email \u2014 happy to help.",
4846
4899
  nextStepsHeading: "Next steps:"
4847
4900
  };
4848
- function BookingConfirmationEmail({
4901
+ function BookingCreatedEmail({
4849
4902
  recipientName,
4850
4903
  addTravellersUrl,
4851
4904
  logoUrl,
@@ -4875,7 +4928,7 @@ function BookingConfirmationEmail({
4875
4928
  };
4876
4929
  const AddTravellersCta = addTravellersUrl ? /* @__PURE__ */ jsx("a", { href: addTravellersUrl, style: ctaStyle, children: l.ctaButton }) : /* @__PURE__ */ jsx("span", { style: ctaStyle, role: "presentation", children: l.ctaButton });
4877
4930
  const tableRows = [
4878
- { label: l.bookingNumberLabel, value: bookingNumber },
4931
+ { label: l.bookingNumberLabel, value: bookingNumber, valueColor: emailTokens.primary },
4879
4932
  ...activity && activity.trim().length > 0 ? [{ label: l.activityLabel, value: activity }] : [],
4880
4933
  { label: l.adventureLabel, value: adventure },
4881
4934
  { label: l.startingDateLabel, value: startingDate },
@@ -5026,12 +5079,12 @@ var DEFAULT_LABELS5 = {
5026
5079
  logoAlt: "PlanetaEXO",
5027
5080
  greeting: (n) => `Hi ${n},`,
5028
5081
  intermediateHello: "Hope you're doing well.",
5029
- bookingSummaryHeader: "Booking summary",
5030
- bookingNumberLabel: "Booking number",
5031
- adventuresCountLabel: (c) => `${c} adventure${c === 1 ? "" : "s"}`,
5032
- travellersCountLabel: (c) => `${c} traveller${c === 1 ? "" : "s"}`,
5082
+ bookingSummaryHeader: "\u{1F4DD} Booking Summary",
5083
+ bookingNumberLabel: "Booking Number",
5084
+ adventuresCountLabel: (c) => String(c),
5085
+ travellersCountLabel: (c) => String(c),
5033
5086
  adventuresRowLabel: "Adventures",
5034
- travellersRowLabel: "Total travellers",
5087
+ travellersRowLabel: "Total Travellers",
5035
5088
  agentRowLabel: "Agent",
5036
5089
  progressHeader: "Registration progress",
5037
5090
  startsLabel: "Starts",
@@ -5090,7 +5143,7 @@ var DEFAULT_LABELS5 = {
5090
5143
  contextNote: "Please ensure all pending registrations are completed as soon as possible.",
5091
5144
  importantNote: "Important: Registration is mandatory and required for participation in the adventure.",
5092
5145
  progressIntro: "Review your booking page to complete missing information:",
5093
- multiTravellerNote: "If your booking includes multiple travellers, please ensure every traveller completes their registration before departure.",
5146
+ multiTravellerNote: "",
5094
5147
  pleaseNoteHeader: "",
5095
5148
  pleaseNoteBullets: [],
5096
5149
  bookerCoordinationNote: "",
@@ -5105,7 +5158,7 @@ var DEFAULT_LABELS5 = {
5105
5158
  finalReminderTagline: "This is a final reminder.",
5106
5159
  importantNote: "Traveller registration is mandatory. Without completed registration forms, we may be unable to confirm logistics and travellers may not be allowed to board transfers, flights, boats, or participate in activities.",
5107
5160
  progressIntro: "Please complete all pending registrations immediately through your booking page:",
5108
- disregardIfCompleted: "If registrations have already been completed, please disregard this email.",
5161
+ disregardIfCompleted: "",
5109
5162
  closingThanks: "We look forward to welcoming you soon.",
5110
5163
  contextNote: "",
5111
5164
  pleaseNoteHeader: "",
@@ -5157,7 +5210,7 @@ function RegistrationReminderEmail({
5157
5210
  fontFamily: emailTokens.fontFamily
5158
5211
  };
5159
5212
  const summaryRows = [
5160
- { label: l.bookingNumberLabel, value: `#${bookingNumber}` },
5213
+ { label: l.bookingNumberLabel, value: bookingNumber, valueColor: emailTokens.primary },
5161
5214
  { label: l.adventuresRowLabel, value: l.adventuresCountLabel(totalAdventures) },
5162
5215
  { label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
5163
5216
  ...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
@@ -5167,9 +5220,24 @@ function RegistrationReminderEmail({
5167
5220
  const showEarlyBenefit = hasText(v.earlyCompletionBenefit);
5168
5221
  const showImportant = hasText(v.importantNote);
5169
5222
  const showFinalTagline = hasText(v.finalReminderTagline);
5170
- const showMultiTraveller = hasText(v.multiTravellerNote);
5223
+ hasText(v.multiTravellerNote);
5171
5224
  const showDisregard = hasText(v.disregardIfCompleted);
5172
5225
  const showClosingThanks = hasText(v.closingThanks);
5226
+ const sectionDivider = /* @__PURE__ */ jsx(
5227
+ "hr",
5228
+ {
5229
+ style: {
5230
+ border: "none",
5231
+ borderTop: `1px solid ${emailTokens.border}`,
5232
+ marginTop: 0,
5233
+ marginBottom: "24px"
5234
+ }
5235
+ }
5236
+ );
5237
+ const hasIntroBlock = hasText(v.intro) || hasText(v.contextNote);
5238
+ const hasPleaseNote = showPleaseNote;
5239
+ const hasD7Highlight = showImportant && slug === "d_minus_7";
5240
+ const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
5173
5241
  return /* @__PURE__ */ jsxs(
5174
5242
  "div",
5175
5243
  {
@@ -5193,45 +5261,18 @@ function RegistrationReminderEmail({
5193
5261
  hasText(l.intermediateHello) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
5194
5262
  hasText(v.intro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
5195
5263
  hasText(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
5196
- showPleaseNote && /* @__PURE__ */ jsxs("div", { style: { marginBottom: "24px" }, children: [
5197
- /* @__PURE__ */ jsx("p", { style: { marginBottom: "8px", fontWeight: 700, color: emailTokens.foreground }, children: v.pleaseNoteHeader }),
5198
- /* @__PURE__ */ jsx("ul", { style: { paddingLeft: "20px", margin: 0 }, children: v.pleaseNoteBullets.map((b, i) => /* @__PURE__ */ jsx("li", { style: { marginBottom: "6px", color: emailTokens.bodyText }, children: b }, i)) })
5199
- ] }),
5200
- showBookerCoord && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
5201
- /* @__PURE__ */ jsx(
5202
- "hr",
5203
- {
5204
- style: {
5205
- border: "none",
5206
- borderTop: `1px solid ${emailTokens.border}`,
5207
- marginBottom: "24px"
5208
- }
5209
- }
5210
- ),
5211
- /* @__PURE__ */ jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
5212
- showImportant && slug === "d_minus_7" && /* @__PURE__ */ jsx(
5213
- "p",
5214
- {
5215
- style: {
5216
- marginBottom: "20px",
5217
- padding: "12px 16px",
5218
- borderRadius: "8px",
5219
- backgroundColor: "#fef3c7",
5220
- color: "#78350f",
5221
- fontWeight: 600
5222
- },
5223
- children: v.importantNote
5224
- }
5225
- ),
5264
+ hasIntroBlock && sectionDivider,
5265
+ slug === "d_minus_30" && /* @__PURE__ */ jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
5266
+ slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
5226
5267
  hasItems(adventures) && /* @__PURE__ */ jsxs(Fragment, { children: [
5227
5268
  /* @__PURE__ */ jsx(
5228
5269
  "p",
5229
5270
  {
5230
5271
  style: {
5231
- marginTop: "8px",
5272
+ marginTop: 0,
5232
5273
  marginBottom: "12px",
5233
5274
  fontWeight: 700,
5234
- fontSize: "15px",
5275
+ fontSize: "16px",
5235
5276
  color: emailTokens.foreground
5236
5277
  },
5237
5278
  children: l.progressHeader
@@ -5297,8 +5338,8 @@ function RegistrationReminderEmail({
5297
5338
  `${adv.name}-${i}`
5298
5339
  ))
5299
5340
  ] }),
5300
- showEarlyBenefit && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.earlyCompletionBenefit }),
5301
- (showFinalTagline || showImportant && slug === "d_minus_2") && /* @__PURE__ */ jsxs(
5341
+ slug === "d_minus_15" && showEarlyBenefit && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.earlyCompletionBenefit }),
5342
+ slug === "d_minus_2" && hasD2Highlight && /* @__PURE__ */ jsxs(
5302
5343
  "div",
5303
5344
  {
5304
5345
  style: {
@@ -5311,12 +5352,47 @@ function RegistrationReminderEmail({
5311
5352
  },
5312
5353
  children: [
5313
5354
  showFinalTagline && /* @__PURE__ */ jsx("p", { style: { margin: 0, marginBottom: showImportant ? "8px" : 0, fontWeight: 700 }, children: v.finalReminderTagline }),
5314
- showImportant && slug === "d_minus_2" && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.importantNote })
5355
+ showImportant && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.importantNote })
5315
5356
  ]
5316
5357
  }
5317
5358
  ),
5318
- showMultiTraveller && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.multiTravellerNote }),
5319
5359
  /* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
5360
+ slug === "d_minus_7" && hasD7Highlight && /* @__PURE__ */ jsx(
5361
+ "p",
5362
+ {
5363
+ style: {
5364
+ marginBottom: "20px",
5365
+ padding: "12px 16px",
5366
+ borderRadius: "8px",
5367
+ backgroundColor: "#fef3c7",
5368
+ color: "#78350f",
5369
+ fontWeight: 600
5370
+ },
5371
+ children: v.importantNote
5372
+ }
5373
+ ),
5374
+ slug !== "d_minus_30" && /* @__PURE__ */ jsxs(Fragment, { children: [
5375
+ sectionDivider,
5376
+ /* @__PURE__ */ jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows })
5377
+ ] }),
5378
+ hasPleaseNote && /* @__PURE__ */ jsxs(Fragment, { children: [
5379
+ sectionDivider,
5380
+ /* @__PURE__ */ jsx(
5381
+ "p",
5382
+ {
5383
+ style: {
5384
+ marginTop: 0,
5385
+ marginBottom: "12px",
5386
+ fontWeight: 700,
5387
+ fontSize: "16px",
5388
+ color: emailTokens.foreground
5389
+ },
5390
+ children: v.pleaseNoteHeader
5391
+ }
5392
+ ),
5393
+ /* @__PURE__ */ jsx("ul", { style: { paddingLeft: "20px", margin: 0, marginBottom: "24px" }, children: v.pleaseNoteBullets.map((b, i) => /* @__PURE__ */ jsx("li", { style: { marginBottom: "6px", color: emailTokens.bodyText }, children: b }, i)) })
5394
+ ] }),
5395
+ sectionDivider,
5320
5396
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
5321
5397
  whatsappUrl: agent.whatsappUrl,
5322
5398
  email: agent.email
@@ -5435,37 +5511,16 @@ function PaymentReceiptEmail({
5435
5511
  ] }) })
5436
5512
  }
5437
5513
  ),
5438
- /* @__PURE__ */ jsx("p", { style: { marginBottom: "12px", fontWeight: 700, color: emailTokens.foreground, fontSize: "16px" }, children: l.summaryHeading }),
5439
5514
  /* @__PURE__ */ jsx(
5440
- "div",
5515
+ BookingSummary,
5441
5516
  {
5442
- style: {
5443
- borderRadius: "12px",
5444
- border: `1px solid ${emailTokens.border}`,
5445
- overflow: "hidden",
5446
- marginBottom: "24px"
5447
- },
5448
- children: /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
5449
- summaryRows.map((row, i) => /* @__PURE__ */ jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
5450
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground, verticalAlign: "top" }, children: row.label }),
5451
- /* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: 500, color: emailTokens.foreground, whiteSpace: "nowrap" }, children: row.value })
5452
- ] }, i)),
5453
- isPaidInFull && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
5454
- "td",
5455
- {
5456
- colSpan: 2,
5457
- style: {
5458
- padding: "12px 16px",
5459
- textAlign: "center",
5460
- fontWeight: 600,
5461
- color: emailTokens.green,
5462
- backgroundColor: emailTokens.greenBg,
5463
- borderTop: `1px solid ${emailTokens.border}`
5464
- },
5465
- children: l.paidInFullMessage
5466
- }
5467
- ) })
5468
- ] }) })
5517
+ heading: l.summaryHeading,
5518
+ rows: summaryRows,
5519
+ footer: isPaidInFull ? {
5520
+ text: l.paidInFullMessage,
5521
+ color: emailTokens.green,
5522
+ backgroundColor: emailTokens.greenBg
5523
+ } : void 0
5469
5524
  }
5470
5525
  ),
5471
5526
  /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: l.closingMessage }),
@@ -5717,6 +5772,17 @@ function PaymentReminderEmail({
5717
5772
  ]
5718
5773
  }
5719
5774
  ) }),
5775
+ /* @__PURE__ */ jsx(
5776
+ "hr",
5777
+ {
5778
+ style: {
5779
+ border: "none",
5780
+ borderTop: `1px solid ${emailTokens.border}`,
5781
+ marginTop: 0,
5782
+ marginBottom: "24px"
5783
+ }
5784
+ }
5785
+ ),
5720
5786
  showDisregard && /* @__PURE__ */ jsx(
5721
5787
  "p",
5722
5788
  {
@@ -11679,6 +11745,6 @@ function LeadCapturePopup({
11679
11745
  );
11680
11746
  }
11681
11747
 
11682
- export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, BookingSummary, 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, RegistrationProgressBar, RegistrationReminderEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
11748
+ export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, 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, RegistrationProgressBar, RegistrationReminderEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
11683
11749
  //# sourceMappingURL=index.js.map
11684
11750
  //# sourceMappingURL=index.js.map