@planetaexo/design-system 0.62.1 → 0.63.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 +46 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -3
- package/dist/index.d.ts +36 -3
- package/dist/index.js +46 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4167,6 +4167,7 @@ function BookingAdventureCard({
|
|
|
4167
4167
|
imageAlt,
|
|
4168
4168
|
location,
|
|
4169
4169
|
destination,
|
|
4170
|
+
partner,
|
|
4170
4171
|
included,
|
|
4171
4172
|
notIncluded,
|
|
4172
4173
|
lineItems,
|
|
@@ -4425,6 +4426,39 @@ function BookingAdventureCard({
|
|
|
4425
4426
|
] }) })
|
|
4426
4427
|
}
|
|
4427
4428
|
),
|
|
4429
|
+
partner && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4430
|
+
"table",
|
|
4431
|
+
{
|
|
4432
|
+
cellPadding: 0,
|
|
4433
|
+
cellSpacing: 0,
|
|
4434
|
+
style: { borderCollapse: "collapse", marginBottom: "10px" },
|
|
4435
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
4436
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4437
|
+
"td",
|
|
4438
|
+
{
|
|
4439
|
+
style: {
|
|
4440
|
+
verticalAlign: "middle",
|
|
4441
|
+
paddingRight: "6px",
|
|
4442
|
+
width: "16px"
|
|
4443
|
+
},
|
|
4444
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", lineHeight: "1" }, children: "\u{1F91D}" })
|
|
4445
|
+
}
|
|
4446
|
+
),
|
|
4447
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4448
|
+
"td",
|
|
4449
|
+
{
|
|
4450
|
+
style: {
|
|
4451
|
+
verticalAlign: "middle",
|
|
4452
|
+
fontSize: "14px",
|
|
4453
|
+
color: emailTokens.mutedForeground,
|
|
4454
|
+
lineHeight: "1"
|
|
4455
|
+
},
|
|
4456
|
+
children: partner
|
|
4457
|
+
}
|
|
4458
|
+
)
|
|
4459
|
+
] }) })
|
|
4460
|
+
}
|
|
4461
|
+
),
|
|
4428
4462
|
hasTravellers && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
4429
4463
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4430
4464
|
"hr",
|
|
@@ -5301,6 +5335,7 @@ function BookingPaymentConfirmationEmail({
|
|
|
5301
5335
|
imageAlt: adventure.imageAlt,
|
|
5302
5336
|
location: locationToPass,
|
|
5303
5337
|
destination: destinationToPass,
|
|
5338
|
+
partner: adventure.partnerName,
|
|
5304
5339
|
included: adventure.included,
|
|
5305
5340
|
notIncluded: adventure.notIncluded,
|
|
5306
5341
|
lineItems: lineItemsToPass,
|
|
@@ -6464,6 +6499,8 @@ var DEFAULT_LABELS8 = {
|
|
|
6464
6499
|
adventureLabel: "Adventure",
|
|
6465
6500
|
datesLabel: "Dates",
|
|
6466
6501
|
partnerLabel: "Partner",
|
|
6502
|
+
bookingPersonLabel: "Booking person",
|
|
6503
|
+
passportLabel: "Passport",
|
|
6467
6504
|
expectationsHeading: "Travellers Expectations",
|
|
6468
6505
|
expectationsEmptyNote: "No expectations were collected for this adventure.",
|
|
6469
6506
|
expectationsEmptyAnswer: "\u2014",
|
|
@@ -6491,6 +6528,8 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6491
6528
|
bookingNumber,
|
|
6492
6529
|
adventureName,
|
|
6493
6530
|
dateRange,
|
|
6531
|
+
bookingPersonName,
|
|
6532
|
+
bookingPersonPassport,
|
|
6494
6533
|
travellersCount,
|
|
6495
6534
|
expectations,
|
|
6496
6535
|
pdfAttached,
|
|
@@ -6504,7 +6543,9 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6504
6543
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6505
6544
|
{ label: l.adventureLabel, value: adventureName },
|
|
6506
6545
|
{ label: l.datesLabel, value: dateRange },
|
|
6507
|
-
{ label: l.partnerLabel, value: partnerName }
|
|
6546
|
+
{ label: l.partnerLabel, value: partnerName },
|
|
6547
|
+
...hasText4(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
|
|
6548
|
+
...hasText4(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
|
|
6508
6549
|
];
|
|
6509
6550
|
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6510
6551
|
"hr",
|
|
@@ -6820,6 +6861,7 @@ var DEFAULT_LABELS10 = {
|
|
|
6820
6861
|
interestSurchargeLabel: "Interest / surcharge",
|
|
6821
6862
|
statusLabel: "Status",
|
|
6822
6863
|
travellersLabel: "Travellers",
|
|
6864
|
+
passportLabel: "Passport",
|
|
6823
6865
|
summaryHeading: "Booking summary",
|
|
6824
6866
|
totalOrderLabel: "Total order",
|
|
6825
6867
|
totalPaidLabel: "Total paid",
|
|
@@ -6838,6 +6880,7 @@ function PaymentReceiptEmail({
|
|
|
6838
6880
|
chargedAmount,
|
|
6839
6881
|
statusLabel,
|
|
6840
6882
|
travellers,
|
|
6883
|
+
passport,
|
|
6841
6884
|
totalOrderAmount,
|
|
6842
6885
|
totalPaidCumulative,
|
|
6843
6886
|
remainingBalance,
|
|
@@ -6858,7 +6901,8 @@ function PaymentReceiptEmail({
|
|
|
6858
6901
|
{ label: l.amountLabel, value: amount },
|
|
6859
6902
|
...interestRow ? [{ label: l.chargedAmountLabel, value: chargedAmount }] : [],
|
|
6860
6903
|
{ label: l.statusLabel, value: statusLabel },
|
|
6861
|
-
...travellersLine.length > 0 ? [{ label: l.travellersLabel, value: travellersLine }] : []
|
|
6904
|
+
...travellersLine.length > 0 ? [{ label: l.travellersLabel, value: travellersLine }] : [],
|
|
6905
|
+
...passport && passport.trim().length > 0 ? [{ label: l.passportLabel, value: passport.trim() }] : []
|
|
6862
6906
|
];
|
|
6863
6907
|
const summaryRows = [
|
|
6864
6908
|
{ label: l.totalOrderLabel, value: totalOrderAmount },
|