@planetaexo/design-system 0.4.1 → 0.4.3
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 +160 -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 +160 -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,40 @@ 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
|
+
<meta name="color-scheme" content="light dark" />
|
|
2918
|
+
<meta name="supported-color-schemes" content="light dark" />
|
|
2919
|
+
<!--[if !mso]><!-->
|
|
2920
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
2921
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" />
|
|
2922
|
+
<link href="${DM_SANS_URL}" rel="stylesheet" type="text/css" />
|
|
2923
|
+
<!--<![endif]-->
|
|
2924
|
+
</head>
|
|
2925
|
+
<body style="margin:0;padding:16px;background-color:#ffffff;">
|
|
2926
|
+
<!--[if !mso]><!-->
|
|
2927
|
+
<style type="text/css">
|
|
2928
|
+
@media (prefers-color-scheme: dark) {
|
|
2929
|
+
body { background-color: #111827 !important; }
|
|
2930
|
+
}
|
|
2931
|
+
</style>
|
|
2932
|
+
<!--<![endif]-->
|
|
2933
|
+
${content}
|
|
2934
|
+
</body>
|
|
2935
|
+
</html>`;
|
|
2936
|
+
}
|
|
2906
2937
|
var DEFAULT_LABELS = {
|
|
2907
2938
|
ctaButton: "View booking details",
|
|
2908
2939
|
logoAlt: "PlanetaEXO",
|
|
@@ -2981,7 +3012,10 @@ function BookingConfirmation({
|
|
|
2981
3012
|
color: emailTokens.foreground,
|
|
2982
3013
|
fontFamily: emailTokens.fontFamily,
|
|
2983
3014
|
fontSize: "16px",
|
|
2984
|
-
lineHeight: "1.6"
|
|
3015
|
+
lineHeight: "1.6",
|
|
3016
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3017
|
+
borderRadius: "12px",
|
|
3018
|
+
overflow: "hidden"
|
|
2985
3019
|
},
|
|
2986
3020
|
className,
|
|
2987
3021
|
children: [
|
|
@@ -2994,35 +3028,34 @@ function BookingConfirmation({
|
|
|
2994
3028
|
}
|
|
2995
3029
|
) }),
|
|
2996
3030
|
/* @__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 }),
|
|
3031
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", marginTop: 0, fontSize: "16px" }, children: l.greeting(recipientName) }),
|
|
3032
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", marginTop: 0, fontSize: "16px" }, children: l.confirmationMessage }),
|
|
3033
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "32px", marginTop: 0, fontSize: "16px" }, children: l.detailsIntro }),
|
|
3000
3034
|
/* @__PURE__ */ jsx("div", { style: { marginBottom: "40px" }, children: ViewBookingCta })
|
|
3001
3035
|
] }),
|
|
3002
3036
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3003
3037
|
/* @__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: "
|
|
3038
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.nextStepsHeading }),
|
|
3039
|
+
/* @__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: [
|
|
3040
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", width: "32px", paddingRight: "14px" }, children: /* @__PURE__ */ jsx("span", { style: {
|
|
3041
|
+
display: "inline-block",
|
|
3008
3042
|
height: "24px",
|
|
3009
3043
|
width: "24px",
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
justifyContent: "center",
|
|
3044
|
+
lineHeight: "24px",
|
|
3045
|
+
textAlign: "center",
|
|
3013
3046
|
borderRadius: "9999px",
|
|
3014
3047
|
backgroundColor: emailTokens.primaryLight,
|
|
3015
3048
|
fontSize: "12px",
|
|
3016
3049
|
fontWeight: "700",
|
|
3017
3050
|
color: emailTokens.primary,
|
|
3018
3051
|
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)) })
|
|
3052
|
+
}, children: i + 1 }) }),
|
|
3053
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top" }, children: /* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: step }) })
|
|
3054
|
+
] }) }) }, i)) })
|
|
3022
3055
|
] }),
|
|
3023
3056
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3024
3057
|
/* @__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 }),
|
|
3058
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.bookingSummaryHeading }),
|
|
3026
3059
|
/* @__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
3060
|
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3028
3061
|
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.bookingNumberLabel }),
|
|
@@ -3043,23 +3076,29 @@ function BookingConfirmation({
|
|
|
3043
3076
|
] }) }) })
|
|
3044
3077
|
] }),
|
|
3045
3078
|
/* @__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"
|
|
3079
|
+
/* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: adventures.map((adventure, adIdx) => {
|
|
3047
3080
|
var _a;
|
|
3048
3081
|
return /* @__PURE__ */ jsxs(
|
|
3049
3082
|
"div",
|
|
3050
3083
|
{
|
|
3051
|
-
style: {
|
|
3084
|
+
style: {
|
|
3085
|
+
borderRadius: "16px",
|
|
3086
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3087
|
+
backgroundColor: emailTokens.white,
|
|
3088
|
+
overflow: "hidden",
|
|
3089
|
+
marginBottom: adIdx < adventures.length - 1 ? "24px" : "0"
|
|
3090
|
+
},
|
|
3052
3091
|
children: [
|
|
3053
|
-
/* @__PURE__ */ jsx("div", { style: {
|
|
3092
|
+
adventure.image && /* @__PURE__ */ jsx("div", { style: { overflow: "hidden", backgroundColor: emailTokens.muted }, children: /* @__PURE__ */ jsx(
|
|
3054
3093
|
"img",
|
|
3055
3094
|
{
|
|
3056
3095
|
src: adventure.image,
|
|
3057
3096
|
alt: (_a = adventure.imageAlt) != null ? _a : adventure.title,
|
|
3058
|
-
style: { width: "100%", height: "
|
|
3097
|
+
style: { width: "100%", height: "auto", display: "block" }
|
|
3059
3098
|
}
|
|
3060
3099
|
) }),
|
|
3061
|
-
/* @__PURE__ */ jsxs("div", { style: { padding: "20px"
|
|
3062
|
-
adventure.reference && /* @__PURE__ */ jsx("span", { style: {
|
|
3100
|
+
/* @__PURE__ */ jsxs("div", { style: { padding: "20px" }, children: [
|
|
3101
|
+
adventure.reference && /* @__PURE__ */ jsx("div", { style: { marginBottom: "10px" }, children: /* @__PURE__ */ jsx("span", { style: {
|
|
3063
3102
|
display: "inline-block",
|
|
3064
3103
|
backgroundColor: emailTokens.primaryLight,
|
|
3065
3104
|
color: emailTokens.primary,
|
|
@@ -3067,142 +3106,96 @@ function BookingConfirmation({
|
|
|
3067
3106
|
borderRadius: "6px",
|
|
3068
3107
|
fontSize: "12px",
|
|
3069
3108
|
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: [
|
|
3109
|
+
letterSpacing: "0.05em"
|
|
3110
|
+
}, children: adventure.reference }) }),
|
|
3111
|
+
/* @__PURE__ */ jsx("h3", { style: { fontSize: "20px", fontWeight: "700", color: emailTokens.foreground, lineHeight: "1.3", margin: "0 0 10px 0" }, children: adventure.title }),
|
|
3112
|
+
/* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3113
|
+
/* @__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
3114
|
/* @__PURE__ */ jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }),
|
|
3077
3115
|
/* @__PURE__ */ jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }),
|
|
3078
3116
|
/* @__PURE__ */ jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }),
|
|
3079
3117
|
/* @__PURE__ */ jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })
|
|
3080
|
-
] }),
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3118
|
+
] }) }),
|
|
3119
|
+
/* @__PURE__ */ jsxs("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3120
|
+
adventure.dateFrom,
|
|
3121
|
+
" \u2192 ",
|
|
3122
|
+
adventure.dateTo
|
|
3123
|
+
] })
|
|
3124
|
+
] }) }) }),
|
|
3125
|
+
adventure.location && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3126
|
+
/* @__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
3127
|
/* @__PURE__ */ jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
|
|
3088
3128
|
/* @__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
|
|
3129
|
+
] }) }),
|
|
3130
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.location })
|
|
3131
|
+
] }) }) }),
|
|
3132
|
+
adventure.slots && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3133
|
+
/* @__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
3134
|
/* @__PURE__ */ jsx("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
|
|
3095
3135
|
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
|
|
3096
3136
|
/* @__PURE__ */ jsx("path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
|
|
3097
3137
|
/* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
|
|
3098
|
-
] }),
|
|
3099
|
-
[
|
|
3138
|
+
] }) }),
|
|
3139
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3100
3140
|
adventure.slots.adults ? `${adventure.slots.adults} ${l.adultsUnit}` : null,
|
|
3101
3141
|
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
|
|
3142
|
+
].filter(Boolean).join(" \xB7 ") })
|
|
3143
|
+
] }) }) }),
|
|
3144
|
+
adventure.partner && /* @__PURE__ */ jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3145
|
+
/* @__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
3146
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
3107
3147
|
/* @__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
|
|
3148
|
+
] }) }),
|
|
3149
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.partner })
|
|
3150
|
+
] }) }) }),
|
|
3151
|
+
adventure.travellers && adventure.travellers.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3152
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3153
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.travellersLabel }),
|
|
3154
|
+
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: [
|
|
3155
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle" }, children: /* @__PURE__ */ jsxs("span", { style: { fontSize: "14px", fontWeight: "500", color: emailTokens.foreground }, children: [
|
|
3156
|
+
traveller.firstName,
|
|
3157
|
+
" ",
|
|
3158
|
+
traveller.lastName
|
|
3159
|
+
] }) }),
|
|
3160
|
+
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 }) })
|
|
3161
|
+
] }) }) }, traveller.id))
|
|
3110
3162
|
] }),
|
|
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
|
-
] })
|
|
3163
|
+
adventure.description && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3164
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3165
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.itineraryLabel }),
|
|
3166
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: adventure.description })
|
|
3131
3167
|
] }),
|
|
3132
|
-
adventure.
|
|
3133
|
-
/* @__PURE__ */ jsx("
|
|
3134
|
-
/* @__PURE__ */ jsxs("
|
|
3135
|
-
/* @__PURE__ */ jsx("
|
|
3136
|
-
/* @__PURE__ */ jsx("
|
|
3137
|
-
] })
|
|
3168
|
+
adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
3169
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.includedLabel }),
|
|
3170
|
+
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: [
|
|
3171
|
+
/* @__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" }) }) }),
|
|
3172
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
3173
|
+
] }) }) }, i))
|
|
3138
3174
|
] }),
|
|
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
|
-
)) })
|
|
3175
|
+
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
3176
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.notIncludedLabel }),
|
|
3177
|
+
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: [
|
|
3178
|
+
/* @__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: [
|
|
3179
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
|
|
3180
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
|
|
3181
|
+
] }) }),
|
|
3182
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
3183
|
+
] }) }) }, i))
|
|
3152
3184
|
] }),
|
|
3153
|
-
adventure.
|
|
3154
|
-
/* @__PURE__ */ jsx("
|
|
3155
|
-
/* @__PURE__ */ jsx("
|
|
3156
|
-
|
|
3157
|
-
{
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
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
|
-
)) })
|
|
3169
|
-
] }),
|
|
3170
|
-
adventure.lineItems && adventure.lineItems.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3171
|
-
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginTop: "4px", marginBottom: "4px" } }),
|
|
3172
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
3173
|
-
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", marginBottom: "8px", margin: "0 0 8px 0" }, children: l.pricingLabel }),
|
|
3174
|
-
/* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
3175
|
-
adventure.lineItems.map((item, j) => /* @__PURE__ */ jsxs(
|
|
3176
|
-
"div",
|
|
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
|
-
] })
|
|
3185
|
+
adventure.lineItems && adventure.lineItems.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3186
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
3187
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.pricingLabel }),
|
|
3188
|
+
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: [
|
|
3189
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground }, children: item.label }),
|
|
3190
|
+
/* @__PURE__ */ jsxs("td", { style: { verticalAlign: "middle", textAlign: "right", fontSize: "14px", fontWeight: "500", whiteSpace: "nowrap", color: item.isDiscount ? emailTokens.green : emailTokens.foreground }, children: [
|
|
3191
|
+
item.isDiscount ? "\u2212" : "",
|
|
3192
|
+
item.price
|
|
3204
3193
|
] })
|
|
3205
|
-
] })
|
|
3194
|
+
] }) }) }, j)),
|
|
3195
|
+
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: [
|
|
3196
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", fontWeight: "700", color: emailTokens.foreground }, children: l.subtotalLabel }),
|
|
3197
|
+
/* @__PURE__ */ jsx("td", { style: { verticalAlign: "middle", textAlign: "right", fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: adventure.subtotal })
|
|
3198
|
+
] }) }) })
|
|
3206
3199
|
] })
|
|
3207
3200
|
] })
|
|
3208
3201
|
]
|
|
@@ -3212,26 +3205,14 @@ function BookingConfirmation({
|
|
|
3212
3205
|
}) }),
|
|
3213
3206
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3214
3207
|
/* @__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 }),
|
|
3208
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontWeight: "700", color: emailTokens.foreground, fontSize: "18px", fontFamily: emailTokens.fontFamily }, children: l.paymentSummaryHeading }),
|
|
3216
3209
|
/* @__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
3210
|
summaryLineItems && summaryLineItems.map((item, i) => /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3218
3211
|
/* @__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
|
-
)
|
|
3212
|
+
/* @__PURE__ */ jsxs("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", whiteSpace: "nowrap", color: item.isDiscount ? emailTokens.green : emailTokens.foreground }, children: [
|
|
3213
|
+
item.isDiscount ? "\u2212" : "",
|
|
3214
|
+
item.price
|
|
3215
|
+
] })
|
|
3235
3216
|
] }, i)),
|
|
3236
3217
|
subtotal && /* @__PURE__ */ jsxs("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: [
|
|
3237
3218
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.subtotalLabel }),
|
|
@@ -3253,31 +3234,18 @@ function BookingConfirmation({
|
|
|
3253
3234
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.remainingBalanceLabel }),
|
|
3254
3235
|
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.remainingAmount })
|
|
3255
3236
|
] }),
|
|
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
|
-
) })
|
|
3237
|
+
/* @__PURE__ */ jsxs("tr", { style: depositInfo.isPaidInFull ? { borderBottom: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
3238
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground }, children: l.balanceDueLabel }),
|
|
3239
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: emailTokens.foreground, whiteSpace: "nowrap" }, children: depositInfo.balanceDueDate })
|
|
3240
|
+
] }),
|
|
3241
|
+
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
3242
|
] }) })
|
|
3275
3243
|
] })
|
|
3276
3244
|
] }),
|
|
3277
3245
|
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3278
3246
|
/* @__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) })
|
|
3247
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "20px", fontSize: "16px" }, children: l.footerMessage }),
|
|
3248
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "16px" }, children: l.footerContact(agent) })
|
|
3281
3249
|
] })
|
|
3282
3250
|
]
|
|
3283
3251
|
}
|
|
@@ -3344,11 +3312,15 @@ function BookingConfirmationEmail({
|
|
|
3344
3312
|
color: emailTokens.foreground,
|
|
3345
3313
|
fontFamily: emailTokens.fontFamily,
|
|
3346
3314
|
fontSize: "16px",
|
|
3347
|
-
lineHeight: "1.6"
|
|
3315
|
+
lineHeight: "1.6",
|
|
3316
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3317
|
+
borderRadius: "12px",
|
|
3318
|
+
overflow: "hidden",
|
|
3319
|
+
padding: "32px"
|
|
3348
3320
|
},
|
|
3349
3321
|
className,
|
|
3350
3322
|
children: [
|
|
3351
|
-
/* @__PURE__ */ jsx("div", { style: { marginTop: "
|
|
3323
|
+
/* @__PURE__ */ jsx("div", { style: { marginTop: "0", marginBottom: "32px", textAlign: "center" }, children: /* @__PURE__ */ jsx(
|
|
3352
3324
|
"img",
|
|
3353
3325
|
{
|
|
3354
3326
|
src: logoUrl,
|
|
@@ -3388,7 +3360,10 @@ function BookingOtpEmail({
|
|
|
3388
3360
|
color: emailTokens.foreground,
|
|
3389
3361
|
maxWidth: "600px",
|
|
3390
3362
|
margin: "0 auto",
|
|
3391
|
-
padding: "
|
|
3363
|
+
padding: "32px",
|
|
3364
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3365
|
+
borderRadius: "12px",
|
|
3366
|
+
backgroundColor: emailTokens.white
|
|
3392
3367
|
},
|
|
3393
3368
|
className,
|
|
3394
3369
|
children: [
|
|
@@ -3447,7 +3422,10 @@ function TravellerFormInviteEmail({
|
|
|
3447
3422
|
color: emailTokens.foreground,
|
|
3448
3423
|
maxWidth: "600px",
|
|
3449
3424
|
margin: "0 auto",
|
|
3450
|
-
padding: "
|
|
3425
|
+
padding: "32px",
|
|
3426
|
+
border: `1px solid ${emailTokens.border}`,
|
|
3427
|
+
borderRadius: "12px",
|
|
3428
|
+
backgroundColor: emailTokens.white
|
|
3451
3429
|
},
|
|
3452
3430
|
className,
|
|
3453
3431
|
children: [
|
|
@@ -8204,6 +8182,6 @@ function LeadCapturePopup({
|
|
|
8204
8182
|
);
|
|
8205
8183
|
}
|
|
8206
8184
|
|
|
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 };
|
|
8185
|
+
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
8186
|
//# sourceMappingURL=index.js.map
|
|
8209
8187
|
//# sourceMappingURL=index.js.map
|