@planetaexo/design-system 0.49.0 → 0.50.1

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
@@ -1130,6 +1130,90 @@ interface BookingCreatedEmailProps {
1130
1130
  }
1131
1131
  declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1132
1132
 
1133
+ interface BookingCancellationAgentContactLinks {
1134
+ /** URL completo do WhatsApp (ex.: "https://wa.me/5511987654321"). */
1135
+ whatsappUrl?: string;
1136
+ /** Email do agente (ex.: "gabriel@planetaexo.com"). */
1137
+ email?: string;
1138
+ }
1139
+ interface BookingCancellationAdventure {
1140
+ /** Nome da aventura, ex.: "Vale do Pati Trek". */
1141
+ name: string;
1142
+ /** Data de início JÁ FORMATADA pelo backend (ex.: "12 de maio de 2026"). */
1143
+ startDate: string;
1144
+ /** Data de fim JÁ FORMATADA pelo backend (ex.: "18 de maio de 2026"). */
1145
+ endDate: string;
1146
+ }
1147
+ interface BookingCancellationEmailLabels {
1148
+ logoAlt?: string;
1149
+ greeting?: (recipientName: string) => string;
1150
+ /** Título principal — ex.: "Sua reserva foi cancelada" / "Your booking has been cancelled". */
1151
+ title?: string;
1152
+ /**
1153
+ * Frase de intro abaixo do título — recebe o bookingRef já prefixado
1154
+ * (ex.: "#EXO-R-001-95465") e devolve o texto contextual.
1155
+ * Default EN: "We're writing to let you know that your booking {ref} has been cancelled."
1156
+ */
1157
+ intro?: (bookingRef: string) => string;
1158
+ /** Heading do bloco BookingSummary (ex.: "Booking details"). */
1159
+ summaryHeading?: string;
1160
+ bookingNumberLabel?: string;
1161
+ adventuresLabel?: string;
1162
+ datesLabel?: string;
1163
+ travellersLabel?: string;
1164
+ /** Heading do bloco de refund — só renderiza quando `refundAmount` presente. */
1165
+ refundHeading?: string;
1166
+ /** Label da linha de valor do refund. */
1167
+ refundAmountLabel?: string;
1168
+ /** Nota explicativa abaixo do valor (ex.: "Conforme política de cancelamento."). */
1169
+ refundNote?: string;
1170
+ /**
1171
+ * Closing principal quando há agente atribuído. Recebe nome + URLs de
1172
+ * contato e devolve JSX com hyperlinks inline (WhatsApp/email). Quando
1173
+ * URLs ausentes, helpers caem para plain text.
1174
+ */
1175
+ closingAgent?: (agentName: string, contact: BookingCancellationAgentContactLinks) => React.ReactNode;
1176
+ /** Closing alternativo quando booking não tem agente. Plain text (sem links). */
1177
+ closingNoAgent?: string;
1178
+ /** Assinatura final (ex.: "The PlanetaEXO Team"). */
1179
+ teamSignature?: string;
1180
+ }
1181
+ interface BookingCancellationEmailProps {
1182
+ /** Primeiro nome do destinatário (booking person). */
1183
+ recipientName: string;
1184
+ /**
1185
+ * Referência pública da reserva (já no formato canônico do projeto,
1186
+ * ex.: "EXO-R-001-95465" ou "12345"). Renderizada prefixada com "#"
1187
+ * dentro do BookingSummary.
1188
+ */
1189
+ bookingRef: string;
1190
+ /** Lista de aventuras da reserva (1+ itens). */
1191
+ adventures: BookingCancellationAdventure[];
1192
+ /** Quantidade total de viajantes da reserva. */
1193
+ travellersCount: number;
1194
+ /**
1195
+ * Valor do refund JÁ FORMATADO e LOCALIZADO pelo backend
1196
+ * (ex.: "R$ 4.797,75"). Quando `null`/`undefined`/vazio, o bloco de
1197
+ * refund inteiro é omitido (cliente que nunca pagou nada / auto-cancel
1198
+ * típico). Quando presente, renderiza card informativo.
1199
+ */
1200
+ refundAmount?: string | null;
1201
+ /** Nome do agente. Quando ausente/vazio, usa `closingNoAgent`. */
1202
+ agentName?: string;
1203
+ /**
1204
+ * URLs/dados de contato do agente para renderizar WhatsApp e email
1205
+ * como hyperlinks no closing. Ausência de uma URL = plain text.
1206
+ */
1207
+ agentContactLinks?: BookingCancellationAgentContactLinks;
1208
+ /** URL da logo. Default: data URI via EmailLogo. */
1209
+ logoUrl?: string;
1210
+ /** Labels para i18n / customização. */
1211
+ labels?: BookingCancellationEmailLabels;
1212
+ /** className adicional no container. */
1213
+ className?: string;
1214
+ }
1215
+ declare function BookingCancellationEmail({ recipientName, bookingRef, adventures, travellersCount, refundAmount, agentName, agentContactLinks, logoUrl, labels, className, }: BookingCancellationEmailProps): react_jsx_runtime.JSX.Element;
1216
+
1133
1217
  interface BookingSummaryRow {
1134
1218
  /** Label da linha (coluna esquerda, mutedForeground). */
1135
1219
  label: string;
@@ -2801,8 +2885,21 @@ interface TripPageProps {
2801
2885
  weather?: React.ReactNode;
2802
2886
  optionalExtras?: React.ReactNode;
2803
2887
  accommodation?: React.ReactNode;
2888
+ /**
2889
+ * Photos rendered inside the Accommodation accordion below the WYSIWYG
2890
+ * body. Same shape as the main full-width `gallery` prop. When provided
2891
+ * with `accommodation` omitted, the accordion still opens to show just
2892
+ * the photos.
2893
+ */
2894
+ accommodationGallery?: PhotoGalleryPhoto[];
2804
2895
  whenItOperates?: React.ReactNode;
2805
2896
  food?: React.ReactNode;
2897
+ /**
2898
+ * Photos rendered inside the Food accordion below the WYSIWYG body.
2899
+ * Same shape as the main full-width `gallery` prop. When provided with
2900
+ * `food` omitted, the accordion still opens to show just the photos.
2901
+ */
2902
+ foodGallery?: PhotoGalleryPhoto[];
2806
2903
  termsAndConditions?: React.ReactNode;
2807
2904
  meetingPoints?: TripMeetingPoint[];
2808
2905
  /**
@@ -2871,7 +2968,7 @@ interface TripPageProps {
2871
2968
  features?: Record<string, boolean>;
2872
2969
  className?: string;
2873
2970
  }
2874
- declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, whenItOperates, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
2971
+ declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
2875
2972
 
2876
2973
  type ActivityCardSize = "sm" | "md" | "lg";
2877
2974
  interface ActivityCardProps {
@@ -3369,4 +3466,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3369
3466
  config: LeadCapturePopupConfig;
3370
3467
  }): react_jsx_runtime.JSX.Element | null;
3371
3468
 
3372
- 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, type PaymentReceiptAdventure, type PaymentReceiptAdventureLineItem, 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 TripPageLabels, type TripPageProps, type TripReview, type TripSectionIcons, type TripSiteHeaderConfig, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
3469
+ 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, type BookingCancellationAdventure, type BookingCancellationAgentContactLinks, BookingCancellationEmail, type BookingCancellationEmailLabels, type BookingCancellationEmailProps, 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, type PaymentReceiptAdventure, type PaymentReceiptAdventureLineItem, 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 TripPageLabels, type TripPageProps, type TripReview, type TripSectionIcons, type TripSiteHeaderConfig, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
package/dist/index.d.ts CHANGED
@@ -1130,6 +1130,90 @@ interface BookingCreatedEmailProps {
1130
1130
  }
1131
1131
  declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1132
1132
 
1133
+ interface BookingCancellationAgentContactLinks {
1134
+ /** URL completo do WhatsApp (ex.: "https://wa.me/5511987654321"). */
1135
+ whatsappUrl?: string;
1136
+ /** Email do agente (ex.: "gabriel@planetaexo.com"). */
1137
+ email?: string;
1138
+ }
1139
+ interface BookingCancellationAdventure {
1140
+ /** Nome da aventura, ex.: "Vale do Pati Trek". */
1141
+ name: string;
1142
+ /** Data de início JÁ FORMATADA pelo backend (ex.: "12 de maio de 2026"). */
1143
+ startDate: string;
1144
+ /** Data de fim JÁ FORMATADA pelo backend (ex.: "18 de maio de 2026"). */
1145
+ endDate: string;
1146
+ }
1147
+ interface BookingCancellationEmailLabels {
1148
+ logoAlt?: string;
1149
+ greeting?: (recipientName: string) => string;
1150
+ /** Título principal — ex.: "Sua reserva foi cancelada" / "Your booking has been cancelled". */
1151
+ title?: string;
1152
+ /**
1153
+ * Frase de intro abaixo do título — recebe o bookingRef já prefixado
1154
+ * (ex.: "#EXO-R-001-95465") e devolve o texto contextual.
1155
+ * Default EN: "We're writing to let you know that your booking {ref} has been cancelled."
1156
+ */
1157
+ intro?: (bookingRef: string) => string;
1158
+ /** Heading do bloco BookingSummary (ex.: "Booking details"). */
1159
+ summaryHeading?: string;
1160
+ bookingNumberLabel?: string;
1161
+ adventuresLabel?: string;
1162
+ datesLabel?: string;
1163
+ travellersLabel?: string;
1164
+ /** Heading do bloco de refund — só renderiza quando `refundAmount` presente. */
1165
+ refundHeading?: string;
1166
+ /** Label da linha de valor do refund. */
1167
+ refundAmountLabel?: string;
1168
+ /** Nota explicativa abaixo do valor (ex.: "Conforme política de cancelamento."). */
1169
+ refundNote?: string;
1170
+ /**
1171
+ * Closing principal quando há agente atribuído. Recebe nome + URLs de
1172
+ * contato e devolve JSX com hyperlinks inline (WhatsApp/email). Quando
1173
+ * URLs ausentes, helpers caem para plain text.
1174
+ */
1175
+ closingAgent?: (agentName: string, contact: BookingCancellationAgentContactLinks) => React.ReactNode;
1176
+ /** Closing alternativo quando booking não tem agente. Plain text (sem links). */
1177
+ closingNoAgent?: string;
1178
+ /** Assinatura final (ex.: "The PlanetaEXO Team"). */
1179
+ teamSignature?: string;
1180
+ }
1181
+ interface BookingCancellationEmailProps {
1182
+ /** Primeiro nome do destinatário (booking person). */
1183
+ recipientName: string;
1184
+ /**
1185
+ * Referência pública da reserva (já no formato canônico do projeto,
1186
+ * ex.: "EXO-R-001-95465" ou "12345"). Renderizada prefixada com "#"
1187
+ * dentro do BookingSummary.
1188
+ */
1189
+ bookingRef: string;
1190
+ /** Lista de aventuras da reserva (1+ itens). */
1191
+ adventures: BookingCancellationAdventure[];
1192
+ /** Quantidade total de viajantes da reserva. */
1193
+ travellersCount: number;
1194
+ /**
1195
+ * Valor do refund JÁ FORMATADO e LOCALIZADO pelo backend
1196
+ * (ex.: "R$ 4.797,75"). Quando `null`/`undefined`/vazio, o bloco de
1197
+ * refund inteiro é omitido (cliente que nunca pagou nada / auto-cancel
1198
+ * típico). Quando presente, renderiza card informativo.
1199
+ */
1200
+ refundAmount?: string | null;
1201
+ /** Nome do agente. Quando ausente/vazio, usa `closingNoAgent`. */
1202
+ agentName?: string;
1203
+ /**
1204
+ * URLs/dados de contato do agente para renderizar WhatsApp e email
1205
+ * como hyperlinks no closing. Ausência de uma URL = plain text.
1206
+ */
1207
+ agentContactLinks?: BookingCancellationAgentContactLinks;
1208
+ /** URL da logo. Default: data URI via EmailLogo. */
1209
+ logoUrl?: string;
1210
+ /** Labels para i18n / customização. */
1211
+ labels?: BookingCancellationEmailLabels;
1212
+ /** className adicional no container. */
1213
+ className?: string;
1214
+ }
1215
+ declare function BookingCancellationEmail({ recipientName, bookingRef, adventures, travellersCount, refundAmount, agentName, agentContactLinks, logoUrl, labels, className, }: BookingCancellationEmailProps): react_jsx_runtime.JSX.Element;
1216
+
1133
1217
  interface BookingSummaryRow {
1134
1218
  /** Label da linha (coluna esquerda, mutedForeground). */
1135
1219
  label: string;
@@ -2801,8 +2885,21 @@ interface TripPageProps {
2801
2885
  weather?: React.ReactNode;
2802
2886
  optionalExtras?: React.ReactNode;
2803
2887
  accommodation?: React.ReactNode;
2888
+ /**
2889
+ * Photos rendered inside the Accommodation accordion below the WYSIWYG
2890
+ * body. Same shape as the main full-width `gallery` prop. When provided
2891
+ * with `accommodation` omitted, the accordion still opens to show just
2892
+ * the photos.
2893
+ */
2894
+ accommodationGallery?: PhotoGalleryPhoto[];
2804
2895
  whenItOperates?: React.ReactNode;
2805
2896
  food?: React.ReactNode;
2897
+ /**
2898
+ * Photos rendered inside the Food accordion below the WYSIWYG body.
2899
+ * Same shape as the main full-width `gallery` prop. When provided with
2900
+ * `food` omitted, the accordion still opens to show just the photos.
2901
+ */
2902
+ foodGallery?: PhotoGalleryPhoto[];
2806
2903
  termsAndConditions?: React.ReactNode;
2807
2904
  meetingPoints?: TripMeetingPoint[];
2808
2905
  /**
@@ -2871,7 +2968,7 @@ interface TripPageProps {
2871
2968
  features?: Record<string, boolean>;
2872
2969
  className?: string;
2873
2970
  }
2874
- declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, whenItOperates, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
2971
+ declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
2875
2972
 
2876
2973
  type ActivityCardSize = "sm" | "md" | "lg";
2877
2974
  interface ActivityCardProps {
@@ -3369,4 +3466,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3369
3466
  config: LeadCapturePopupConfig;
3370
3467
  }): react_jsx_runtime.JSX.Element | null;
3371
3468
 
3372
- 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, type PaymentReceiptAdventure, type PaymentReceiptAdventureLineItem, 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 TripPageLabels, type TripPageProps, type TripReview, type TripSectionIcons, type TripSiteHeaderConfig, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
3469
+ 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, type BookingCancellationAdventure, type BookingCancellationAgentContactLinks, BookingCancellationEmail, type BookingCancellationEmailLabels, type BookingCancellationEmailProps, 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, type PaymentReceiptAdventure, type PaymentReceiptAdventureLineItem, 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 TripPageLabels, type TripPageProps, type TripReview, type TripSectionIcons, type TripSiteHeaderConfig, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };