@planetaexo/design-system 0.48.2 → 0.50.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
@@ -50,6 +50,12 @@ interface OfferOptionalItem {
50
50
  decreaseQuantityLabel?: string;
51
51
  /** aria-label para o botão de incrementar quantidade. Default: "Increase quantity". */
52
52
  increaseQuantityLabel?: string;
53
+ /**
54
+ * Descrição multilinha do opcional. Quando truthy, exibe ícone "info" ao lado
55
+ * do label que abre um Dialog com o texto integral. Texto plano — preservar
56
+ * `\n` via `whitespace-pre-wrap` no render.
57
+ */
58
+ description?: string;
53
59
  }
54
60
  interface OfferAdventureItem {
55
61
  id: string;
@@ -150,6 +156,15 @@ interface OfferLabels {
150
156
  scheduleCallLabel?: string;
151
157
  atCompanyLabel?: string;
152
158
  };
159
+ /** Labels do modal de descrição do opcional. */
160
+ optionalInfo?: {
161
+ /** aria-label do botão-ícone gatilho. Default EN: "More info". */
162
+ triggerAriaLabel?: string;
163
+ /** Label do botão de fechar do Dialog. Default EN: "Close". */
164
+ closeLabel?: string;
165
+ /** Label da seção "Descrição" dentro do modal. Default EN: "Description". */
166
+ descriptionLabel?: string;
167
+ };
153
168
  /**
154
169
  * Strings do BookingWizard interno (renderizado quando `checkoutSlot` é
155
170
  * undefined — em produção do bookings esse caminho é ofuscado, mas
@@ -1115,6 +1130,90 @@ interface BookingCreatedEmailProps {
1115
1130
  }
1116
1131
  declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1117
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
+
1118
1217
  interface BookingSummaryRow {
1119
1218
  /** Label da linha (coluna esquerda, mutedForeground). */
1120
1219
  label: string;
@@ -3354,4 +3453,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3354
3453
  config: LeadCapturePopupConfig;
3355
3454
  }): react_jsx_runtime.JSX.Element | null;
3356
3455
 
3357
- 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 };
3456
+ 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
@@ -50,6 +50,12 @@ interface OfferOptionalItem {
50
50
  decreaseQuantityLabel?: string;
51
51
  /** aria-label para o botão de incrementar quantidade. Default: "Increase quantity". */
52
52
  increaseQuantityLabel?: string;
53
+ /**
54
+ * Descrição multilinha do opcional. Quando truthy, exibe ícone "info" ao lado
55
+ * do label que abre um Dialog com o texto integral. Texto plano — preservar
56
+ * `\n` via `whitespace-pre-wrap` no render.
57
+ */
58
+ description?: string;
53
59
  }
54
60
  interface OfferAdventureItem {
55
61
  id: string;
@@ -150,6 +156,15 @@ interface OfferLabels {
150
156
  scheduleCallLabel?: string;
151
157
  atCompanyLabel?: string;
152
158
  };
159
+ /** Labels do modal de descrição do opcional. */
160
+ optionalInfo?: {
161
+ /** aria-label do botão-ícone gatilho. Default EN: "More info". */
162
+ triggerAriaLabel?: string;
163
+ /** Label do botão de fechar do Dialog. Default EN: "Close". */
164
+ closeLabel?: string;
165
+ /** Label da seção "Descrição" dentro do modal. Default EN: "Description". */
166
+ descriptionLabel?: string;
167
+ };
153
168
  /**
154
169
  * Strings do BookingWizard interno (renderizado quando `checkoutSlot` é
155
170
  * undefined — em produção do bookings esse caminho é ofuscado, mas
@@ -1115,6 +1130,90 @@ interface BookingCreatedEmailProps {
1115
1130
  }
1116
1131
  declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1117
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
+
1118
1217
  interface BookingSummaryRow {
1119
1218
  /** Label da linha (coluna esquerda, mutedForeground). */
1120
1219
  label: string;
@@ -3354,4 +3453,4 @@ declare function LeadCapturePopup({ config: _config, }: {
3354
3453
  config: LeadCapturePopupConfig;
3355
3454
  }): react_jsx_runtime.JSX.Element | null;
3356
3455
 
3357
- 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 };
3456
+ 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 };