@planetaexo/design-system 0.4.1 → 0.4.2
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 +151 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +151 -182
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1327,10 +1327,15 @@ declare const emailTokens: {
|
|
|
1327
1327
|
readonly greenBg: "#f0fdf4";
|
|
1328
1328
|
/** Red-600 — destructive / not-included icon */
|
|
1329
1329
|
readonly destructive: "#dc2626";
|
|
1330
|
-
/**
|
|
1331
|
-
|
|
1330
|
+
/**
|
|
1331
|
+
* Font stack — DM Sans (the DS brand font) with modern system-font
|
|
1332
|
+
* fallbacks. Clients that load Google Fonts (Apple Mail, Gmail web,
|
|
1333
|
+
* Outlook Mac) will render DM Sans; others fall back gracefully.
|
|
1334
|
+
*/
|
|
1335
|
+
readonly fontFamily: "'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif";
|
|
1332
1336
|
};
|
|
1333
1337
|
type EmailTokens = typeof emailTokens;
|
|
1338
|
+
declare function wrapEmailHtml(content: string): string;
|
|
1334
1339
|
|
|
1335
1340
|
interface LeadCapturePopupConfig {
|
|
1336
1341
|
/** Hero image URL displayed at the top of the popup */
|
|
@@ -1382,4 +1387,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
1382
1387
|
config: LeadCapturePopupConfig;
|
|
1383
1388
|
}): react_jsx_runtime.JSX.Element | null;
|
|
1384
1389
|
|
|
1385
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailLabels, type BookingOtpEmailProps, BookingShell, type BookingShellProps, type BookingStatus, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferDepositInfo, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TermsSection, type TermsSectionProps, ThemeToggle, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance };
|
|
1390
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailLabels, type BookingOtpEmailProps, BookingShell, type BookingShellProps, type BookingStatus, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferDepositInfo, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TermsSection, type TermsSectionProps, ThemeToggle, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -1327,10 +1327,15 @@ declare const emailTokens: {
|
|
|
1327
1327
|
readonly greenBg: "#f0fdf4";
|
|
1328
1328
|
/** Red-600 — destructive / not-included icon */
|
|
1329
1329
|
readonly destructive: "#dc2626";
|
|
1330
|
-
/**
|
|
1331
|
-
|
|
1330
|
+
/**
|
|
1331
|
+
* Font stack — DM Sans (the DS brand font) with modern system-font
|
|
1332
|
+
* fallbacks. Clients that load Google Fonts (Apple Mail, Gmail web,
|
|
1333
|
+
* Outlook Mac) will render DM Sans; others fall back gracefully.
|
|
1334
|
+
*/
|
|
1335
|
+
readonly fontFamily: "'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif";
|
|
1332
1336
|
};
|
|
1333
1337
|
type EmailTokens = typeof emailTokens;
|
|
1338
|
+
declare function wrapEmailHtml(content: string): string;
|
|
1334
1339
|
|
|
1335
1340
|
interface LeadCapturePopupConfig {
|
|
1336
1341
|
/** Hero image URL displayed at the top of the popup */
|
|
@@ -1382,4 +1387,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
1382
1387
|
config: LeadCapturePopupConfig;
|
|
1383
1388
|
}): react_jsx_runtime.JSX.Element | null;
|
|
1384
1389
|
|
|
1385
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailLabels, type BookingOtpEmailProps, BookingShell, type BookingShellProps, type BookingStatus, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferDepositInfo, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TermsSection, type TermsSectionProps, ThemeToggle, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance };
|
|
1390
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailLabels, type BookingOtpEmailProps, BookingShell, type BookingShellProps, type BookingStatus, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferDepositInfo, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TermsSection, type TermsSectionProps, ThemeToggle, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
package/dist/index.js
CHANGED
|
@@ -2900,9 +2900,31 @@ var emailTokens = {
|
|
|
2900
2900
|
greenBg: "#f0fdf4",
|
|
2901
2901
|
/** Red-600 — destructive / not-included icon */
|
|
2902
2902
|
destructive: "#dc2626",
|
|
2903
|
-
/**
|
|
2904
|
-
|
|
2903
|
+
/**
|
|
2904
|
+
* Font stack — DM Sans (the DS brand font) with modern system-font
|
|
2905
|
+
* fallbacks. Clients that load Google Fonts (Apple Mail, Gmail web,
|
|
2906
|
+
* Outlook Mac) will render DM Sans; others fall back gracefully.
|
|
2907
|
+
*/
|
|
2908
|
+
fontFamily: "'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"
|
|
2905
2909
|
};
|
|
2910
|
+
var DM_SANS_URL = "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap";
|
|
2911
|
+
function wrapEmailHtml(content) {
|
|
2912
|
+
return `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2913
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="pt">
|
|
2914
|
+
<head>
|
|
2915
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
2916
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
2917
|
+
<!--[if !mso]><!-->
|
|
2918
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
2919
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" />
|
|
2920
|
+
<link href="${DM_SANS_URL}" rel="stylesheet" type="text/css" />
|
|
2921
|
+
<!--<![endif]-->
|
|
2922
|
+
</head>
|
|
2923
|
+
<body style="margin:0;padding:0;background-color:#f1f5f9;">
|
|
2924
|
+
${content}
|
|
2925
|
+
</body>
|
|
2926
|
+
</html>`;
|
|
2927
|
+
}
|
|
2906
2928
|
var DEFAULT_LABELS = {
|
|
2907
2929
|
ctaButton: "View booking details",
|
|
2908
2930
|
logoAlt: "PlanetaEXO",
|
|
@@ -2981,7 +3003,10 @@ function BookingConfirmation({
|
|
|
2981
3003
|
color: emailTokens.foreground,
|
|
2982
3004
|
fontFamily: emailTokens.fontFamily,
|
|
2983
3005
|
fontSize: "16px",
|
|
2984
|
-
lineHeight: "1.6"
|
|
3006
|
+
lineHeight: "1.6",
|
|
3007
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3008
|
+
borderRadius: "12px",
|
|
3009
|
+
overflow: "hidden"
|
|
2985
3010
|
},
|
|
2986
3011
|
className,
|
|
2987
3012
|
children: [
|
|
@@ -2994,35 +3019,34 @@ function BookingConfirmation({
|
|
|
2994
3019
|
}
|
|
2995
3020
|
) }),
|
|
2996
3021
|
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px" }, children: [
|
|
2997
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.greeting(recipientName) }),
|
|
2998
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.confirmationMessage }),
|
|
2999
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "32px", fontSize: "16px" }, children: l.detailsIntro }),
|
|
3022
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", marginTop: 0, fontSize: "16px" }, children: l.greeting(recipientName) }),
|
|
3023
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", marginTop: 0, fontSize: "16px" }, children: l.confirmationMessage }),
|
|
3024
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "32px", marginTop: 0, fontSize: "16px" }, children: l.detailsIntro }),
|
|
3000
3025
|
/* @__PURE__ */ jsx("div", { style: { marginBottom: "40px" }, children: ViewBookingCta })
|
|
3001
3026
|
] }),
|
|
3002
3027
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3003
3028
|
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
3004
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.nextStepsHeading }),
|
|
3005
|
-
/* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: `1px solid ${emailTokens.border}`, padding: "20px"
|
|
3006
|
-
/* @__PURE__ */ jsx("span", { style: {
|
|
3007
|
-
display: "
|
|
3029
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.nextStepsHeading }),
|
|
3030
|
+
/* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: `1px solid ${emailTokens.border}`, padding: "20px" }, children: l.nextSteps.map((step, i) => /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: i < l.nextSteps.length - 1 ? "16px" : "0" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3031
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", width: "32px", paddingRight: "14px" }, children: /* @__PURE__ */ jsx("span", { style: {
|
|
3032
|
+
display: "inline-block",
|
|
3008
3033
|
height: "24px",
|
|
3009
3034
|
width: "24px",
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
justifyContent: "center",
|
|
3035
|
+
lineHeight: "24px",
|
|
3036
|
+
textAlign: "center",
|
|
3013
3037
|
borderRadius: "9999px",
|
|
3014
3038
|
backgroundColor: emailTokens.primaryLight,
|
|
3015
3039
|
fontSize: "12px",
|
|
3016
3040
|
fontWeight: "700",
|
|
3017
3041
|
color: emailTokens.primary,
|
|
3018
3042
|
marginTop: "2px"
|
|
3019
|
-
}, children: i + 1 }),
|
|
3020
|
-
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: step })
|
|
3021
|
-
] }, i)) })
|
|
3043
|
+
}, children: i + 1 }) }),
|
|
3044
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top" }, children: /* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: step }) })
|
|
3045
|
+
] }) }) }, i)) })
|
|
3022
3046
|
] }),
|
|
3023
3047
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3024
3048
|
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
3025
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.bookingSummaryHeading }),
|
|
3049
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.bookingSummaryHeading }),
|
|
3026
3050
|
/* @__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: [
|
|
3027
3051
|
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3028
3052
|
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.bookingNumberLabel }),
|
|
@@ -3043,23 +3067,29 @@ function BookingConfirmation({
|
|
|
3043
3067
|
] }) }) })
|
|
3044
3068
|
] }),
|
|
3045
3069
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3046
|
-
/* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px"
|
|
3070
|
+
/* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: adventures.map((adventure, adIdx) => {
|
|
3047
3071
|
var _a;
|
|
3048
3072
|
return /* @__PURE__ */ jsxs(
|
|
3049
3073
|
"div",
|
|
3050
3074
|
{
|
|
3051
|
-
style: {
|
|
3075
|
+
style: {
|
|
3076
|
+
borderRadius: "16px",
|
|
3077
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3078
|
+
backgroundColor: emailTokens.white,
|
|
3079
|
+
overflow: "hidden",
|
|
3080
|
+
marginBottom: adIdx < adventures.length - 1 ? "24px" : "0"
|
|
3081
|
+
},
|
|
3052
3082
|
children: [
|
|
3053
|
-
/* @__PURE__ */ jsx("div", { style: {
|
|
3083
|
+
adventure.image && /* @__PURE__ */ jsx("div", { style: { overflow: "hidden", backgroundColor: emailTokens.muted }, children: /* @__PURE__ */ jsx(
|
|
3054
3084
|
"img",
|
|
3055
3085
|
{
|
|
3056
3086
|
src: adventure.image,
|
|
3057
3087
|
alt: (_a = adventure.imageAlt) != null ? _a : adventure.title,
|
|
3058
|
-
style: { width: "100%", height: "
|
|
3088
|
+
style: { width: "100%", height: "auto", display: "block" }
|
|
3059
3089
|
}
|
|
3060
3090
|
) }),
|
|
3061
|
-
/* @__PURE__ */ jsxs("div", { style: { padding: "20px"
|
|
3062
|
-
adventure.reference && /* @__PURE__ */ jsx("span", { style: {
|
|
3091
|
+
/* @__PURE__ */ jsxs("div", { style: { padding: "20px" }, children: [
|
|
3092
|
+
adventure.reference && /* @__PURE__ */ jsx("div", { style: { marginBottom: "10px" }, children: /* @__PURE__ */ jsx("span", { style: {
|
|
3063
3093
|
display: "inline-block",
|
|
3064
3094
|
backgroundColor: emailTokens.primaryLight,
|
|
3065
3095
|
color: emailTokens.primary,
|
|
@@ -3067,142 +3097,96 @@ function BookingConfirmation({
|
|
|
3067
3097
|
borderRadius: "6px",
|
|
3068
3098
|
fontSize: "12px",
|
|
3069
3099
|
fontWeight: "600",
|
|
3070
|
-
letterSpacing: "0.05em"
|
|
3071
|
-
|
|
3072
|
-
}, children: adventure.
|
|
3073
|
-
/* @__PURE__ */ jsx("
|
|
3074
|
-
|
|
3075
|
-
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: emailTokens.primary, flexShrink: 0 }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3100
|
+
letterSpacing: "0.05em"
|
|
3101
|
+
}, children: adventure.reference }) }),
|
|
3102
|
+
/* @__PURE__ */ jsx("h3", { style: { fontSize: "20px", fontWeight: "700", color: emailTokens.foreground, lineHeight: "1.3", margin: "0 0 10px 0" }, children: adventure.title }),
|
|
3103
|
+
/* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3104
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "14px" }, children: /* @__PURE__ */ jsxs("svg", { style: { display: "block", width: "14px", height: "14px", color: emailTokens.primary }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3076
3105
|
/* @__PURE__ */ jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }),
|
|
3077
3106
|
/* @__PURE__ */ jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }),
|
|
3078
3107
|
/* @__PURE__ */ jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }),
|
|
3079
3108
|
/* @__PURE__ */ jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })
|
|
3080
|
-
] }),
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3109
|
+
] }) }),
|
|
3110
|
+
/* @__PURE__ */ jsxs("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3111
|
+
adventure.dateFrom,
|
|
3112
|
+
" \u2192 ",
|
|
3113
|
+
adventure.dateTo
|
|
3114
|
+
] })
|
|
3115
|
+
] }) }) }),
|
|
3116
|
+
adventure.location && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3117
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "14px" }, children: /* @__PURE__ */ jsxs("svg", { style: { display: "block", width: "14px", height: "14px", color: emailTokens.primary }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3087
3118
|
/* @__PURE__ */ jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
|
|
3088
3119
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
|
|
3089
|
-
] }),
|
|
3090
|
-
adventure.location
|
|
3091
|
-
] }),
|
|
3092
|
-
adventure.slots && /* @__PURE__ */
|
|
3093
|
-
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: emailTokens.primary
|
|
3120
|
+
] }) }),
|
|
3121
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.location })
|
|
3122
|
+
] }) }) }),
|
|
3123
|
+
adventure.slots && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3124
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "14px" }, children: /* @__PURE__ */ jsxs("svg", { style: { display: "block", width: "14px", height: "14px", color: emailTokens.primary }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3094
3125
|
/* @__PURE__ */ jsx("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
|
|
3095
3126
|
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
|
|
3096
3127
|
/* @__PURE__ */ jsx("path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
|
|
3097
3128
|
/* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
|
|
3098
|
-
] }),
|
|
3099
|
-
[
|
|
3129
|
+
] }) }),
|
|
3130
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3100
3131
|
adventure.slots.adults ? `${adventure.slots.adults} ${l.adultsUnit}` : null,
|
|
3101
3132
|
adventure.slots.children ? `${adventure.slots.children} ${l.childrenUnit}` : null
|
|
3102
|
-
].filter(Boolean).join(" \xB7 ")
|
|
3103
|
-
] }),
|
|
3104
|
-
adventure.partner && /* @__PURE__ */
|
|
3105
|
-
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: emailTokens.primary
|
|
3133
|
+
].filter(Boolean).join(" \xB7 ") })
|
|
3134
|
+
] }) }) }),
|
|
3135
|
+
adventure.partner && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3136
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "14px" }, children: /* @__PURE__ */ jsxs("svg", { style: { display: "block", width: "14px", height: "14px", color: emailTokens.primary }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3106
3137
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
3107
3138
|
/* @__PURE__ */ jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
|
|
3108
|
-
] }),
|
|
3109
|
-
adventure.partner
|
|
3139
|
+
] }) }),
|
|
3140
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.partner })
|
|
3141
|
+
] }) }) }),
|
|
3142
|
+
adventure.travellers && adventure.travellers.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3143
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3144
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.travellersLabel }),
|
|
3145
|
+
adventure.travellers.map((traveller) => /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "6px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3146
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle" }, children: /* @__PURE__ */ jsxs("span", { style: { fontSize: "14px", fontWeight: "500", color: emailTokens.foreground }, children: [
|
|
3147
|
+
traveller.firstName,
|
|
3148
|
+
" ",
|
|
3149
|
+
traveller.lastName
|
|
3150
|
+
] }) }),
|
|
3151
|
+
traveller.isChild && /* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", textAlign: "right" }, children: /* @__PURE__ */ jsx("span", { style: { fontSize: "10px", fontWeight: "600", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted, borderRadius: "9999px", padding: "2px 8px", textTransform: "uppercase", letterSpacing: "0.05em" }, children: l.childBadge }) })
|
|
3152
|
+
] }) }) }, traveller.id))
|
|
3110
3153
|
] }),
|
|
3111
|
-
adventure.
|
|
3112
|
-
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`,
|
|
3113
|
-
/* @__PURE__ */
|
|
3114
|
-
|
|
3115
|
-
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "6px" }, children: adventure.travellers.map((traveller) => /* @__PURE__ */ jsxs(
|
|
3116
|
-
"div",
|
|
3117
|
-
{
|
|
3118
|
-
style: { display: "flex", alignItems: "center", justifyContent: "space-between" },
|
|
3119
|
-
children: [
|
|
3120
|
-
/* @__PURE__ */ jsxs("span", { style: { fontSize: "14px", fontWeight: "500", color: emailTokens.foreground }, children: [
|
|
3121
|
-
traveller.firstName,
|
|
3122
|
-
" ",
|
|
3123
|
-
traveller.lastName
|
|
3124
|
-
] }),
|
|
3125
|
-
traveller.isChild && /* @__PURE__ */ jsx("span", { style: { fontSize: "10px", fontWeight: "600", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted, borderRadius: "9999px", padding: "2px 8px", textTransform: "uppercase", letterSpacing: "0.05em" }, children: l.childBadge })
|
|
3126
|
-
]
|
|
3127
|
-
},
|
|
3128
|
-
traveller.id
|
|
3129
|
-
)) })
|
|
3130
|
-
] })
|
|
3154
|
+
adventure.description && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3155
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3156
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.itineraryLabel }),
|
|
3157
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: adventure.description })
|
|
3131
3158
|
] }),
|
|
3132
|
-
adventure.
|
|
3133
|
-
/* @__PURE__ */ jsx("
|
|
3134
|
-
/* @__PURE__ */ jsxs("
|
|
3135
|
-
/* @__PURE__ */ jsx("
|
|
3136
|
-
/* @__PURE__ */ jsx("
|
|
3137
|
-
] })
|
|
3159
|
+
adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
3160
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.includedLabel }),
|
|
3161
|
+
adventure.included.map((item, i) => /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "6px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3162
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsx("svg", { style: { display: "block", width: "16px", height: "16px", color: emailTokens.primary, marginTop: "2px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" }) }) }),
|
|
3163
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
3164
|
+
] }) }) }, i))
|
|
3138
3165
|
] }),
|
|
3139
|
-
adventure.
|
|
3140
|
-
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: 0 }, children: l.
|
|
3141
|
-
/* @__PURE__ */ jsx("
|
|
3142
|
-
"
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
]
|
|
3149
|
-
},
|
|
3150
|
-
i
|
|
3151
|
-
)) })
|
|
3152
|
-
] }),
|
|
3153
|
-
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "10px", marginTop: "4px" }, children: [
|
|
3154
|
-
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: 0 }, children: l.notIncludedLabel }),
|
|
3155
|
-
/* @__PURE__ */ jsx("ul", { style: { display: "flex", flexDirection: "column", gap: "6px", margin: 0, padding: 0, listStyle: "none" }, children: adventure.notIncluded.map((item, i) => /* @__PURE__ */ jsxs(
|
|
3156
|
-
"li",
|
|
3157
|
-
{
|
|
3158
|
-
style: { display: "flex", alignItems: "flex-start", gap: "8px", fontSize: "14px", color: emailTokens.bodyText },
|
|
3159
|
-
children: [
|
|
3160
|
-
/* @__PURE__ */ jsxs("svg", { style: { width: "16px", height: "16px", color: emailTokens.destructive, flexShrink: 0, marginTop: "2px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3161
|
-
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
|
|
3162
|
-
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
|
|
3163
|
-
] }),
|
|
3164
|
-
item
|
|
3165
|
-
]
|
|
3166
|
-
},
|
|
3167
|
-
i
|
|
3168
|
-
)) })
|
|
3166
|
+
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
3167
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.notIncludedLabel }),
|
|
3168
|
+
adventure.notIncluded.map((item, i) => /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "6px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3169
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsxs("svg", { style: { display: "block", width: "16px", height: "16px", color: emailTokens.destructive, marginTop: "2px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3170
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
|
|
3171
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
|
|
3172
|
+
] }) }),
|
|
3173
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
3174
|
+
] }) }) }, i))
|
|
3169
3175
|
] }),
|
|
3170
|
-
adventure.lineItems && adventure.lineItems.length > 0 && /* @__PURE__ */ jsxs(
|
|
3171
|
-
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`,
|
|
3172
|
-
/* @__PURE__ */
|
|
3173
|
-
|
|
3174
|
-
/* @__PURE__ */
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
style: { display: "flex", alignItems: "center", justifyContent: "space-between" },
|
|
3179
|
-
children: [
|
|
3180
|
-
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", color: emailTokens.mutedForeground }, children: item.label }),
|
|
3181
|
-
/* @__PURE__ */ jsxs(
|
|
3182
|
-
"span",
|
|
3183
|
-
{
|
|
3184
|
-
style: {
|
|
3185
|
-
fontSize: "14px",
|
|
3186
|
-
fontWeight: "500",
|
|
3187
|
-
whiteSpace: "nowrap",
|
|
3188
|
-
color: item.isDiscount ? emailTokens.green : emailTokens.foreground
|
|
3189
|
-
},
|
|
3190
|
-
children: [
|
|
3191
|
-
item.isDiscount ? "\u2212" : "",
|
|
3192
|
-
item.price
|
|
3193
|
-
]
|
|
3194
|
-
}
|
|
3195
|
-
)
|
|
3196
|
-
]
|
|
3197
|
-
},
|
|
3198
|
-
j
|
|
3199
|
-
)),
|
|
3200
|
-
adventure.subtotal && /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", paddingTop: "8px", marginTop: "4px", borderTop: `1px solid ${emailTokens.border}` }, children: [
|
|
3201
|
-
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground }, children: l.subtotalLabel }),
|
|
3202
|
-
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: adventure.subtotal })
|
|
3203
|
-
] })
|
|
3176
|
+
adventure.lineItems && adventure.lineItems.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3177
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3178
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.pricingLabel }),
|
|
3179
|
+
adventure.lineItems.map((item, j) => /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "4px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3180
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground }, children: item.label }),
|
|
3181
|
+
/* @__PURE__ */ jsxs("td", { style: { verticalAlign: "middle", textAlign: "right", fontSize: "14px", fontWeight: "500", whiteSpace: "nowrap", color: item.isDiscount ? emailTokens.green : emailTokens.foreground }, children: [
|
|
3182
|
+
item.isDiscount ? "\u2212" : "",
|
|
3183
|
+
item.price
|
|
3204
3184
|
] })
|
|
3205
|
-
] })
|
|
3185
|
+
] }) }) }, j)),
|
|
3186
|
+
adventure.subtotal && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", paddingTop: "8px", marginTop: "4px", borderTop: `1px solid ${emailTokens.border}` }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3187
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", fontWeight: "700", color: emailTokens.foreground }, children: l.subtotalLabel }),
|
|
3188
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", textAlign: "right", fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: adventure.subtotal })
|
|
3189
|
+
] }) }) })
|
|
3206
3190
|
] })
|
|
3207
3191
|
] })
|
|
3208
3192
|
]
|
|
@@ -3212,26 +3196,14 @@ function BookingConfirmation({
|
|
|
3212
3196
|
}) }),
|
|
3213
3197
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3214
3198
|
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
3215
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.paymentSummaryHeading }),
|
|
3199
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.paymentSummaryHeading }),
|
|
3216
3200
|
/* @__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: [
|
|
3217
3201
|
summaryLineItems && summaryLineItems.map((item, i) => /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3218
3202
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: item.label }),
|
|
3219
|
-
/* @__PURE__ */ jsxs(
|
|
3220
|
-
"
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
padding: "10px 16px",
|
|
3224
|
-
textAlign: "right",
|
|
3225
|
-
fontWeight: "500",
|
|
3226
|
-
whiteSpace: "nowrap",
|
|
3227
|
-
color: item.isDiscount ? emailTokens.green : emailTokens.foreground
|
|
3228
|
-
},
|
|
3229
|
-
children: [
|
|
3230
|
-
item.isDiscount ? "\u2212" : "",
|
|
3231
|
-
item.price
|
|
3232
|
-
]
|
|
3233
|
-
}
|
|
3234
|
-
)
|
|
3203
|
+
/* @__PURE__ */ jsxs("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", whiteSpace: "nowrap", color: item.isDiscount ? emailTokens.green : emailTokens.foreground }, children: [
|
|
3204
|
+
item.isDiscount ? "\u2212" : "",
|
|
3205
|
+
item.price
|
|
3206
|
+
] })
|
|
3235
3207
|
] }, i)),
|
|
3236
3208
|
subtotal && /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3237
3209
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.subtotalLabel }),
|
|
@@ -3253,31 +3225,18 @@ function BookingConfirmation({
|
|
|
3253
3225
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.remainingBalanceLabel }),
|
|
3254
3226
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.remainingAmount })
|
|
3255
3227
|
] }),
|
|
3256
|
-
/* @__PURE__ */ jsxs(
|
|
3257
|
-
"
|
|
3258
|
-
{
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.balanceDueLabel }),
|
|
3262
|
-
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.balanceDueDate })
|
|
3263
|
-
]
|
|
3264
|
-
}
|
|
3265
|
-
),
|
|
3266
|
-
depositInfo.isPaidInFull && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
|
|
3267
|
-
"td",
|
|
3268
|
-
{
|
|
3269
|
-
colSpan: 2,
|
|
3270
|
-
style: { padding: "12px 16px", textAlign: "center", fontWeight: "600", color: emailTokens.green, backgroundColor: emailTokens.greenBg },
|
|
3271
|
-
children: l.paidInFullLabel
|
|
3272
|
-
}
|
|
3273
|
-
) })
|
|
3228
|
+
/* @__PURE__ */ jsxs("tr", { style: depositInfo.isPaidInFull ? { borderBottom: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
3229
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.balanceDueLabel }),
|
|
3230
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.balanceDueDate })
|
|
3231
|
+
] }),
|
|
3232
|
+
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 }) })
|
|
3274
3233
|
] }) })
|
|
3275
3234
|
] })
|
|
3276
3235
|
] }),
|
|
3277
3236
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3278
3237
|
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "40px" }, children: [
|
|
3279
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.footerMessage }),
|
|
3280
|
-
/* @__PURE__ */ jsx("p", { style: { fontSize: "16px" }, children: l.footerContact(agent) })
|
|
3238
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontSize: "16px" }, children: l.footerMessage }),
|
|
3239
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "16px" }, children: l.footerContact(agent) })
|
|
3281
3240
|
] })
|
|
3282
3241
|
]
|
|
3283
3242
|
}
|
|
@@ -3344,11 +3303,15 @@ function BookingConfirmationEmail({
|
|
|
3344
3303
|
color: emailTokens.foreground,
|
|
3345
3304
|
fontFamily: emailTokens.fontFamily,
|
|
3346
3305
|
fontSize: "16px",
|
|
3347
|
-
lineHeight: "1.6"
|
|
3306
|
+
lineHeight: "1.6",
|
|
3307
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3308
|
+
borderRadius: "12px",
|
|
3309
|
+
overflow: "hidden",
|
|
3310
|
+
padding: "32px"
|
|
3348
3311
|
},
|
|
3349
3312
|
className,
|
|
3350
3313
|
children: [
|
|
3351
|
-
/* @__PURE__ */ jsx("div", { style: { marginTop: "
|
|
3314
|
+
/* @__PURE__ */ jsx("div", { style: { marginTop: "0", marginBottom: "32px", textAlign: "center" }, children: /* @__PURE__ */ jsx(
|
|
3352
3315
|
"img",
|
|
3353
3316
|
{
|
|
3354
3317
|
src: logoUrl,
|
|
@@ -3388,7 +3351,10 @@ function BookingOtpEmail({
|
|
|
3388
3351
|
color: emailTokens.foreground,
|
|
3389
3352
|
maxWidth: "600px",
|
|
3390
3353
|
margin: "0 auto",
|
|
3391
|
-
padding: "
|
|
3354
|
+
padding: "32px",
|
|
3355
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3356
|
+
borderRadius: "12px",
|
|
3357
|
+
backgroundColor: emailTokens.white
|
|
3392
3358
|
},
|
|
3393
3359
|
className,
|
|
3394
3360
|
children: [
|
|
@@ -3447,7 +3413,10 @@ function TravellerFormInviteEmail({
|
|
|
3447
3413
|
color: emailTokens.foreground,
|
|
3448
3414
|
maxWidth: "600px",
|
|
3449
3415
|
margin: "0 auto",
|
|
3450
|
-
padding: "
|
|
3416
|
+
padding: "32px",
|
|
3417
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3418
|
+
borderRadius: "12px",
|
|
3419
|
+
backgroundColor: emailTokens.white
|
|
3451
3420
|
},
|
|
3452
3421
|
className,
|
|
3453
3422
|
children: [
|
|
@@ -8204,6 +8173,6 @@ function LeadCapturePopup({
|
|
|
8204
8173
|
);
|
|
8205
8174
|
}
|
|
8206
8175
|
|
|
8207
|
-
export { ActivityCard, Alert, BirthDateField, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, FilterPanel, FloatingInput, FloatingSelect, Itinerary, LeadCapturePopup, MenuTrip, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentMethodSelector, PaymentModalShell, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TermsSection, ThemeToggle, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance };
|
|
8176
|
+
export { ActivityCard, Alert, BirthDateField, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, FilterPanel, FloatingInput, FloatingSelect, Itinerary, LeadCapturePopup, MenuTrip, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentMethodSelector, PaymentModalShell, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TermsSection, ThemeToggle, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
|
8208
8177
|
//# sourceMappingURL=index.js.map
|
|
8209
8178
|
//# sourceMappingURL=index.js.map
|