@planetaexo/design-system 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1411,6 +1411,55 @@ interface PartnerConfirmationEmailLabels {
1411
1411
  }
1412
1412
  declare function PartnerConfirmationEmail({ scenario, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
1413
1413
 
1414
+ interface PartnerBookingCreatedAgentContactLinks {
1415
+ whatsappUrl?: string;
1416
+ email?: string;
1417
+ }
1418
+ interface PartnerBookingCreatedEmailProps {
1419
+ locale: "en" | "pt" | "fr" | "de";
1420
+ partnerName: string;
1421
+ bookingNumber: string;
1422
+ adventureName: string;
1423
+ /** Já formatado pelo backend (ex.: "12 May 2026 – 18 May 2026"). */
1424
+ dateRange: string;
1425
+ /** Viajantes DESTA aventura. */
1426
+ travellersCount: number;
1427
+ booker: {
1428
+ name: string;
1429
+ email?: string | null;
1430
+ phone?: string | null;
1431
+ };
1432
+ agent: {
1433
+ name: string;
1434
+ whatsappUrl?: string;
1435
+ email?: string;
1436
+ } | null;
1437
+ logoUrl?: string;
1438
+ labels?: PartnerBookingCreatedEmailLabels;
1439
+ className?: string;
1440
+ }
1441
+ interface PartnerBookingCreatedEmailLabels {
1442
+ logoAlt?: string;
1443
+ greeting?: (partnerName: string) => string;
1444
+ /** "You have a new booking for {adventure}." */
1445
+ intro?: (adventureName: string) => string;
1446
+ summaryHeading?: string;
1447
+ bookingNumberLabel?: string;
1448
+ adventureLabel?: string;
1449
+ datesLabel?: string;
1450
+ numberOfPeopleLabel?: string;
1451
+ bookerHeading?: string;
1452
+ bookerNameLabel?: string;
1453
+ bookerEmailLabel?: string;
1454
+ bookerPhoneLabel?: string;
1455
+ /** Closing principal quando há agente. Recebe nome + URLs e retorna JSX. */
1456
+ closingAgent?: (agentName: string, contact: PartnerBookingCreatedAgentContactLinks) => React.ReactNode;
1457
+ /** Closing alternativo sem agente. */
1458
+ closingNoAgent?: string;
1459
+ teamSignature?: string;
1460
+ }
1461
+ declare function PartnerBookingCreatedEmail({ partnerName, bookingNumber, adventureName, dateRange, travellersCount, booker, agent, logoUrl, labels, className, }: PartnerBookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1462
+
1414
1463
  interface PaymentReceiptEmailLabels {
1415
1464
  logoAlt?: string;
1416
1465
  greeting?: (name: string) => string;
@@ -1728,7 +1777,10 @@ interface BookingFormProps {
1728
1777
  }
1729
1778
  declare function BookingForm({ defaultValues, onSubmit, submitLabel, loading, showHeader, title, subtitle, className, }: BookingFormProps): react_jsx_runtime.JSX.Element;
1730
1779
 
1731
- type RegistrationFieldType = "text" | "textarea" | "number" | "date" | "birthDate" | "select" | "radio" | "checkbox" | "name" | "phone" | "nationality" | "emergencyContact";
1780
+ type RegistrationFieldType = "text" | "textarea" | "number" | "date" | "birthDate" | "select" | "radio" | "checkbox" | "name" | "phone" | "nationality" | "emergencyContact"
1781
+ /** Texto longo semântico: a resposta do viajante a "expectativas" da aventura.
1782
+ * Renderiza como `textarea`; identificado pelo tipo (não por id/label). */
1783
+ | "travellersExpectations";
1732
1784
  interface RegistrationFieldOption {
1733
1785
  value: string;
1734
1786
  label: string;
@@ -3118,4 +3170,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3118
3170
  config: LeadCapturePopupConfig;
3119
3171
  }): react_jsx_runtime.JSX.Element | null;
3120
3172
 
3121
- export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, 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, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
3173
+ export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, 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, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
package/dist/index.d.ts CHANGED
@@ -1411,6 +1411,55 @@ interface PartnerConfirmationEmailLabels {
1411
1411
  }
1412
1412
  declare function PartnerConfirmationEmail({ scenario, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
1413
1413
 
1414
+ interface PartnerBookingCreatedAgentContactLinks {
1415
+ whatsappUrl?: string;
1416
+ email?: string;
1417
+ }
1418
+ interface PartnerBookingCreatedEmailProps {
1419
+ locale: "en" | "pt" | "fr" | "de";
1420
+ partnerName: string;
1421
+ bookingNumber: string;
1422
+ adventureName: string;
1423
+ /** Já formatado pelo backend (ex.: "12 May 2026 – 18 May 2026"). */
1424
+ dateRange: string;
1425
+ /** Viajantes DESTA aventura. */
1426
+ travellersCount: number;
1427
+ booker: {
1428
+ name: string;
1429
+ email?: string | null;
1430
+ phone?: string | null;
1431
+ };
1432
+ agent: {
1433
+ name: string;
1434
+ whatsappUrl?: string;
1435
+ email?: string;
1436
+ } | null;
1437
+ logoUrl?: string;
1438
+ labels?: PartnerBookingCreatedEmailLabels;
1439
+ className?: string;
1440
+ }
1441
+ interface PartnerBookingCreatedEmailLabels {
1442
+ logoAlt?: string;
1443
+ greeting?: (partnerName: string) => string;
1444
+ /** "You have a new booking for {adventure}." */
1445
+ intro?: (adventureName: string) => string;
1446
+ summaryHeading?: string;
1447
+ bookingNumberLabel?: string;
1448
+ adventureLabel?: string;
1449
+ datesLabel?: string;
1450
+ numberOfPeopleLabel?: string;
1451
+ bookerHeading?: string;
1452
+ bookerNameLabel?: string;
1453
+ bookerEmailLabel?: string;
1454
+ bookerPhoneLabel?: string;
1455
+ /** Closing principal quando há agente. Recebe nome + URLs e retorna JSX. */
1456
+ closingAgent?: (agentName: string, contact: PartnerBookingCreatedAgentContactLinks) => React.ReactNode;
1457
+ /** Closing alternativo sem agente. */
1458
+ closingNoAgent?: string;
1459
+ teamSignature?: string;
1460
+ }
1461
+ declare function PartnerBookingCreatedEmail({ partnerName, bookingNumber, adventureName, dateRange, travellersCount, booker, agent, logoUrl, labels, className, }: PartnerBookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1462
+
1414
1463
  interface PaymentReceiptEmailLabels {
1415
1464
  logoAlt?: string;
1416
1465
  greeting?: (name: string) => string;
@@ -1728,7 +1777,10 @@ interface BookingFormProps {
1728
1777
  }
1729
1778
  declare function BookingForm({ defaultValues, onSubmit, submitLabel, loading, showHeader, title, subtitle, className, }: BookingFormProps): react_jsx_runtime.JSX.Element;
1730
1779
 
1731
- type RegistrationFieldType = "text" | "textarea" | "number" | "date" | "birthDate" | "select" | "radio" | "checkbox" | "name" | "phone" | "nationality" | "emergencyContact";
1780
+ type RegistrationFieldType = "text" | "textarea" | "number" | "date" | "birthDate" | "select" | "radio" | "checkbox" | "name" | "phone" | "nationality" | "emergencyContact"
1781
+ /** Texto longo semântico: a resposta do viajante a "expectativas" da aventura.
1782
+ * Renderiza como `textarea`; identificado pelo tipo (não por id/label). */
1783
+ | "travellersExpectations";
1732
1784
  interface RegistrationFieldOption {
1733
1785
  value: string;
1734
1786
  label: string;
@@ -3118,4 +3170,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3118
3170
  config: LeadCapturePopupConfig;
3119
3171
  }): react_jsx_runtime.JSX.Element | null;
3120
3172
 
3121
- export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, 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, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
3173
+ export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, 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, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
package/dist/index.js CHANGED
@@ -5956,7 +5956,196 @@ function PartnerConfirmationEmail({
5956
5956
  }
5957
5957
  );
5958
5958
  }
5959
+ var INLINE_LINK_STYLE4 = {
5960
+ color: emailTokens.primary,
5961
+ textDecoration: "underline"
5962
+ };
5963
+ function renderWhatsappLink4(contact, label) {
5964
+ if (contact.whatsappUrl) {
5965
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
5966
+ }
5967
+ return label;
5968
+ }
5969
+ function renderEmailLink4(contact, label) {
5970
+ if (contact.email) {
5971
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
5972
+ }
5973
+ return label;
5974
+ }
5975
+ function hasText4(s) {
5976
+ return typeof s === "string" && s.trim().length > 0;
5977
+ }
5959
5978
  var DEFAULT_LABELS8 = {
5979
+ logoAlt: "PlanetaEXO",
5980
+ greeting: (n) => `Hi ${n},`,
5981
+ intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
5982
+ summaryHeading: "\u{1F4DD} Booking Summary",
5983
+ bookingNumberLabel: "Booking Number",
5984
+ adventureLabel: "Adventure",
5985
+ datesLabel: "Dates",
5986
+ numberOfPeopleLabel: "Number of Travellers",
5987
+ bookerHeading: "Booking contact",
5988
+ bookerNameLabel: "Name",
5989
+ bookerEmailLabel: "Email",
5990
+ bookerPhoneLabel: "Phone",
5991
+ closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
5992
+ "If you have any questions, your contact ",
5993
+ agentName,
5994
+ " is available via",
5995
+ " ",
5996
+ renderWhatsappLink4(contact, "WhatsApp"),
5997
+ " or ",
5998
+ renderEmailLink4(contact, "email"),
5999
+ "."
6000
+ ] }),
6001
+ closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
6002
+ teamSignature: "The PlanetaEXO Team"
6003
+ };
6004
+ function PartnerBookingCreatedEmail({
6005
+ partnerName,
6006
+ bookingNumber,
6007
+ adventureName,
6008
+ dateRange,
6009
+ travellersCount,
6010
+ booker,
6011
+ agent,
6012
+ logoUrl,
6013
+ labels,
6014
+ className
6015
+ }) {
6016
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
6017
+ const summaryRows = [
6018
+ { label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
6019
+ { label: l.adventureLabel, value: adventureName },
6020
+ { label: l.datesLabel, value: dateRange },
6021
+ { label: l.numberOfPeopleLabel, value: travellersCount }
6022
+ ];
6023
+ const sectionDivider = /* @__PURE__ */ jsx(
6024
+ "hr",
6025
+ {
6026
+ style: {
6027
+ border: "none",
6028
+ borderTop: `1px solid ${emailTokens.border}`,
6029
+ marginTop: 0,
6030
+ marginBottom: "24px"
6031
+ }
6032
+ }
6033
+ );
6034
+ const bookerRows = [
6035
+ { label: l.bookerNameLabel, value: booker.name },
6036
+ ...hasText4(booker.email) ? [
6037
+ {
6038
+ label: l.bookerEmailLabel,
6039
+ value: /* @__PURE__ */ jsx("a", { href: `mailto:${booker.email}`, style: INLINE_LINK_STYLE4, children: booker.email })
6040
+ }
6041
+ ] : [],
6042
+ ...hasText4(booker.phone) ? [{ label: l.bookerPhoneLabel, value: booker.phone }] : []
6043
+ ];
6044
+ return /* @__PURE__ */ jsxs(
6045
+ "div",
6046
+ {
6047
+ style: {
6048
+ maxWidth: "576px",
6049
+ margin: "0 auto",
6050
+ backgroundColor: emailTokens.white,
6051
+ color: emailTokens.foreground,
6052
+ fontFamily: emailTokens.fontFamily,
6053
+ fontSize: "16px",
6054
+ lineHeight: "1.6",
6055
+ border: `1px solid ${emailTokens.border}`,
6056
+ borderRadius: "12px",
6057
+ overflow: "hidden",
6058
+ padding: "32px"
6059
+ },
6060
+ className,
6061
+ children: [
6062
+ /* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
6063
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(partnerName) }),
6064
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "24px" }, children: l.intro(adventureName) }),
6065
+ sectionDivider,
6066
+ /* @__PURE__ */ jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
6067
+ /* @__PURE__ */ jsx(
6068
+ "p",
6069
+ {
6070
+ style: {
6071
+ marginTop: 0,
6072
+ marginBottom: "20px",
6073
+ fontWeight: 700,
6074
+ color: emailTokens.foreground,
6075
+ fontSize: "18px",
6076
+ fontFamily: emailTokens.fontFamily
6077
+ },
6078
+ children: l.bookerHeading
6079
+ }
6080
+ ),
6081
+ /* @__PURE__ */ jsx(
6082
+ "div",
6083
+ {
6084
+ style: {
6085
+ borderRadius: "12px",
6086
+ border: `1px solid ${emailTokens.border}`,
6087
+ overflow: "hidden",
6088
+ marginBottom: "24px"
6089
+ },
6090
+ children: /* @__PURE__ */ jsx(
6091
+ "table",
6092
+ {
6093
+ style: {
6094
+ width: "100%",
6095
+ fontSize: "14px",
6096
+ borderCollapse: "collapse"
6097
+ },
6098
+ children: /* @__PURE__ */ jsx("tbody", { children: bookerRows.map((row, i) => {
6099
+ const isLastRow = i === bookerRows.length - 1;
6100
+ return /* @__PURE__ */ jsxs(
6101
+ "tr",
6102
+ {
6103
+ style: !isLastRow ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
6104
+ children: [
6105
+ /* @__PURE__ */ jsx(
6106
+ "td",
6107
+ {
6108
+ style: {
6109
+ padding: "12px 20px",
6110
+ color: emailTokens.mutedForeground,
6111
+ backgroundColor: emailTokens.muted,
6112
+ verticalAlign: "top"
6113
+ },
6114
+ children: row.label
6115
+ }
6116
+ ),
6117
+ /* @__PURE__ */ jsx(
6118
+ "td",
6119
+ {
6120
+ style: {
6121
+ padding: "12px 20px",
6122
+ fontWeight: 500,
6123
+ color: emailTokens.foreground,
6124
+ verticalAlign: "top"
6125
+ },
6126
+ children: row.value
6127
+ }
6128
+ )
6129
+ ]
6130
+ },
6131
+ i
6132
+ );
6133
+ }) })
6134
+ }
6135
+ )
6136
+ }
6137
+ ),
6138
+ sectionDivider,
6139
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
6140
+ whatsappUrl: agent.whatsappUrl,
6141
+ email: agent.email
6142
+ }) : l.closingNoAgent }),
6143
+ /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
6144
+ ]
6145
+ }
6146
+ );
6147
+ }
6148
+ var DEFAULT_LABELS9 = {
5960
6149
  logoAlt: "PlanetaEXO",
5961
6150
  greeting: (name) => `Hi ${name},`,
5962
6151
  receiptHeading: "Payment receipt",
@@ -5995,7 +6184,7 @@ function PaymentReceiptEmail({
5995
6184
  labels,
5996
6185
  className
5997
6186
  }) {
5998
- const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
6187
+ const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
5999
6188
  const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
6000
6189
  const interestRow = chargedAmount && chargedAmount !== amount;
6001
6190
  const receiptRows = [
@@ -6070,24 +6259,24 @@ function PaymentReceiptEmail({
6070
6259
  }
6071
6260
  );
6072
6261
  }
6073
- var INLINE_LINK_STYLE4 = {
6262
+ var INLINE_LINK_STYLE5 = {
6074
6263
  color: emailTokens.primary,
6075
6264
  textDecoration: "underline"
6076
6265
  };
6077
- function renderWhatsappLink4(contact, label) {
6266
+ function renderWhatsappLink5(contact, label) {
6078
6267
  if (contact.whatsappUrl) {
6079
- return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
6268
+ return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
6080
6269
  }
6081
6270
  return label;
6082
6271
  }
6083
- function renderEmailLink4(contact, label) {
6272
+ function renderEmailLink5(contact, label) {
6084
6273
  if (contact.email) {
6085
- return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
6274
+ return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
6086
6275
  }
6087
6276
  return label;
6088
6277
  }
6089
6278
  var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
6090
- var DEFAULT_LABELS9 = {
6279
+ var DEFAULT_LABELS10 = {
6091
6280
  logoAlt: "PlanetaEXO",
6092
6281
  greeting: (name) => `Hi ${name},`,
6093
6282
  intermediateHello: "Hope you're doing well.",
@@ -6102,9 +6291,9 @@ var DEFAULT_LABELS9 = {
6102
6291
  "If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
6103
6292
  agentName,
6104
6293
  " via ",
6105
- renderWhatsappLink4(contact, "WhatsApp"),
6294
+ renderWhatsappLink5(contact, "WhatsApp"),
6106
6295
  " or ",
6107
- renderEmailLink4(contact, "email"),
6296
+ renderEmailLink5(contact, "email"),
6108
6297
  "."
6109
6298
  ] }),
6110
6299
  closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
@@ -6148,9 +6337,9 @@ var DEFAULT_LABELS9 = {
6148
6337
  "If you are experiencing any issues with payment or need additional time, please contact your agent ",
6149
6338
  agentName,
6150
6339
  " via ",
6151
- renderWhatsappLink4(contact, "WhatsApp"),
6340
+ renderWhatsappLink5(contact, "WhatsApp"),
6152
6341
  " or ",
6153
- renderEmailLink4(contact, "email"),
6342
+ renderEmailLink5(contact, "email"),
6154
6343
  ". We'll be happy to assist."
6155
6344
  ] })
6156
6345
  }
@@ -6174,7 +6363,7 @@ function PaymentReminderEmail({
6174
6363
  }) {
6175
6364
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
6176
6365
  const lOverride = labels != null ? labels : {};
6177
- const variantDefaults = DEFAULT_LABELS9.variants[variant];
6366
+ const variantDefaults = DEFAULT_LABELS10.variants[variant];
6178
6367
  const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
6179
6368
  const variantLabels = {
6180
6369
  intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
@@ -6184,19 +6373,19 @@ function PaymentReminderEmail({
6184
6373
  closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
6185
6374
  };
6186
6375
  const l = {
6187
- logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS9.logoAlt,
6188
- greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS9.greeting,
6189
- intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS9.intermediateHello,
6190
- bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS9.bookingSummaryHeader,
6191
- amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS9.amountAlreadyPaidLabel,
6192
- remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS9.remainingBalanceDueLabel,
6193
- totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS9.totalBookingAmountLabel,
6194
- paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS9.paymentDetailsHeading,
6195
- ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS9.ctaLabel,
6196
- teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS9.teamSignature,
6197
- closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS9.closingAgent,
6198
- closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS9.closingNoAgent,
6199
- adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
6376
+ logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS10.logoAlt,
6377
+ greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS10.greeting,
6378
+ intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS10.intermediateHello,
6379
+ bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS10.bookingSummaryHeader,
6380
+ amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS10.amountAlreadyPaidLabel,
6381
+ remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS10.remainingBalanceDueLabel,
6382
+ totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS10.totalBookingAmountLabel,
6383
+ paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS10.paymentDetailsHeading,
6384
+ ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS10.ctaLabel,
6385
+ teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS10.teamSignature,
6386
+ closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS10.closingAgent,
6387
+ closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS10.closingNoAgent,
6388
+ adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS10.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
6200
6389
  };
6201
6390
  const ctaStyle = {
6202
6391
  display: "inline-block",
@@ -7023,7 +7212,7 @@ function BookingForm({
7023
7212
  }
7024
7213
  );
7025
7214
  }
7026
- var DEFAULT_LABELS10 = {
7215
+ var DEFAULT_LABELS11 = {
7027
7216
  formSubtitle: "To confirm your participation, please complete this short form. It's required for all travellers and helps us coordinate logistics with our local partners and tailor the experience to you.",
7028
7217
  detailsSectionTitle: "Your details",
7029
7218
  tripInfoSectionTitle: "Trip info",
@@ -7488,7 +7677,7 @@ function FieldRenderer({
7488
7677
  ] })
7489
7678
  ] });
7490
7679
  }
7491
- if (field.type === "textarea") {
7680
+ if (field.type === "textarea" || field.type === "travellersExpectations") {
7492
7681
  return /* @__PURE__ */ jsx(
7493
7682
  FloatingTextarea,
7494
7683
  {
@@ -7688,7 +7877,7 @@ function RegistrationForm({
7688
7877
  }) {
7689
7878
  var _a;
7690
7879
  const L = React28.useMemo(
7691
- () => __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels != null ? labels : {}),
7880
+ () => __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels != null ? labels : {}),
7692
7881
  [labels]
7693
7882
  );
7694
7883
  const sortedFields = React28.useMemo(
@@ -13512,6 +13701,6 @@ function LeadCapturePopup({
13512
13701
  );
13513
13702
  }
13514
13703
 
13515
- export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerConfirmationEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
13704
+ export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerBookingCreatedEmail, PartnerConfirmationEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
13516
13705
  //# sourceMappingURL=index.js.map
13517
13706
  //# sourceMappingURL=index.js.map