@planetaexo/design-system 0.30.0 → 0.31.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
@@ -720,7 +720,7 @@ interface AgentContactCardProps {
720
720
  }
721
721
  declare function AgentContactCard(props: AgentContactCardProps): react_jsx_runtime.JSX.Element;
722
722
 
723
- interface BookingConfirmationLabels {
723
+ interface BookingPaymentConfirmationEmailLabels {
724
724
  ctaButton?: string;
725
725
  logoAlt?: string;
726
726
  greeting?: (recipientName: string) => string;
@@ -811,7 +811,7 @@ interface ConfirmationDepositInfo {
811
811
  balanceDueDate: string;
812
812
  isPaidInFull?: boolean;
813
813
  }
814
- interface BookingConfirmationProps {
814
+ interface BookingPaymentConfirmationEmailProps {
815
815
  /** Nome do destinatario (ex: "Maria") */
816
816
  recipientName: string;
817
817
  /** URL da logo. Default: data URI embutido no pacote. */
@@ -830,7 +830,7 @@ interface BookingConfirmationProps {
830
830
  /** URL para ver os detalhes completos do booking */
831
831
  viewBookingUrl?: string;
832
832
  /** Optional label overrides for i18n */
833
- labels?: Partial<BookingConfirmationLabels>;
833
+ labels?: Partial<BookingPaymentConfirmationEmailLabels>;
834
834
  /** className adicional no container */
835
835
  className?: string;
836
836
  /**
@@ -842,7 +842,7 @@ interface BookingConfirmationProps {
842
842
  */
843
843
  flow?: "auto" | "manual";
844
844
  }
845
- declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
845
+ declare function BookingPaymentConfirmationEmail({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingPaymentConfirmationEmailProps): react_jsx_runtime.JSX.Element;
846
846
 
847
847
  interface BookingAdventureCardLineItem {
848
848
  /** Valor unitário formatado, ex.: "R$ 1.500,00". Opcional quando o caller usa `label` livre. */
@@ -992,7 +992,7 @@ interface PaymentDetailsBlockProps {
992
992
  }
993
993
  declare function PaymentDetailsBlock({ rows, footerBanner, labels, className, }: PaymentDetailsBlockProps): react_jsx_runtime.JSX.Element;
994
994
 
995
- interface BookingConfirmationEmailLabels {
995
+ interface BookingCreatedEmailLabels {
996
996
  ctaButton?: string;
997
997
  logoAlt?: string;
998
998
  greeting?: (recipientName: string) => string;
@@ -1010,7 +1010,7 @@ interface BookingConfirmationEmailLabels {
1010
1010
  /** Cabeçalho da seção opcional de próximos passos (ex.: "What you need to do:"). */
1011
1011
  nextStepsHeading?: string;
1012
1012
  }
1013
- interface BookingConfirmationEmailProps {
1013
+ interface BookingCreatedEmailProps {
1014
1014
  /** Nome do destinatário (ex: "Maria") */
1015
1015
  recipientName: string;
1016
1016
  /** URL do link para adicionar viajantes. Se omitido, o botão é renderizado sem link. */
@@ -1030,7 +1030,7 @@ interface BookingConfirmationEmailProps {
1030
1030
  /** Nome do host/anfitrião */
1031
1031
  host: string;
1032
1032
  /** Optional label overrides for i18n */
1033
- labels?: Partial<BookingConfirmationEmailLabels>;
1033
+ labels?: Partial<BookingCreatedEmailLabels>;
1034
1034
  /** className adicional no container */
1035
1035
  className?: string;
1036
1036
  /**
@@ -1053,23 +1053,55 @@ interface BookingConfirmationEmailProps {
1053
1053
  */
1054
1054
  directBookingLinkLabel?: string;
1055
1055
  }
1056
- declare function BookingConfirmationEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingConfirmationEmailProps): react_jsx_runtime.JSX.Element;
1056
+ declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1057
1057
 
1058
1058
  interface BookingSummaryRow {
1059
1059
  /** Label da linha (coluna esquerda, mutedForeground). */
1060
1060
  label: string;
1061
1061
  /** Valor da linha (coluna direita, foreground + fontWeight 500). */
1062
1062
  value: string | number;
1063
+ /**
1064
+ * Cor opcional do valor (sobrescreve `t.foreground`). Útil pra destacar
1065
+ * o "Booking Number" em `t.primary` (verde), por exemplo.
1066
+ */
1067
+ valueColor?: string;
1063
1068
  }
1064
1069
  interface BookingSummaryProps {
1065
1070
  /** Heading do bloco (ex.: "Booking summary" ou "📝 Here's a quick summary of your booking:"). */
1066
1071
  heading: string;
1067
1072
  /** Linhas do resumo. Cada par renderiza como (label | value) na tabela. */
1068
1073
  rows: BookingSummaryRow[];
1074
+ /**
1075
+ * Conteúdo opcional renderizado como última row do card, ocupando as duas
1076
+ * colunas com `colSpan={2}`. Útil para banners de estado (ex.: "Paid in full"
1077
+ * no `PaymentReceiptEmail`). Quando ausente, o card termina na última row de
1078
+ * `rows`. Recebe um objeto descritivo em vez de JSX para manter compatibilidade
1079
+ * com `React.createElement` no backend (tsc puro sem `--jsx`).
1080
+ */
1081
+ footer?: {
1082
+ text: string;
1083
+ backgroundColor?: string;
1084
+ color?: string;
1085
+ fontWeight?: number;
1086
+ };
1069
1087
  /** className adicional no wrapper externo. */
1070
1088
  className?: string;
1071
1089
  }
1072
- declare function BookingSummary({ heading, rows, className }: BookingSummaryProps): react_jsx_runtime.JSX.Element;
1090
+ /**
1091
+ * Bloco "Booking summary" reusável entre os e-mails transacionais.
1092
+ *
1093
+ * Visual: card encaixotado (borderRadius 12px + border 1px) com padding 10px
1094
+ * nas células, separadores entre rows, value alinhado à direita com
1095
+ * `whiteSpace: nowrap`. Heading em 16px / fontWeight 700, externo ao card.
1096
+ *
1097
+ * Histórico: bloco originalmente inline em `BookingCreatedEmail.tsx`
1098
+ * (extraído na v0.29.0 — então chamado `BookingConfirmationEmail`) e duplicado
1099
+ * também inline em `PaymentReceiptEmail.tsx` com visual ligeiramente diferente.
1100
+ * Consolidado num único componente na v0.30.x — todos os e-mails
1101
+ * (`BookingCreatedEmail`, `PaymentReceiptEmail`, `RegistrationReminderEmail`)
1102
+ * usam exatamente o mesmo markup.
1103
+ */
1104
+ declare function BookingSummary({ heading, rows, footer, className }: BookingSummaryProps): react_jsx_runtime.JSX.Element;
1073
1105
 
1074
1106
  type RegistrationProgressTone = "complete" | "partial" | "empty";
1075
1107
  interface RegistrationProgressBarProps {
@@ -2825,4 +2857,4 @@ declare function LeadCapturePopup({ config: _config, }: {
2825
2857
  config: LeadCapturePopupConfig;
2826
2858
  }): react_jsx_runtime.JSX.Element | null;
2827
2859
 
2828
- 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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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, 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 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 };
2860
+ 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, 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 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
@@ -720,7 +720,7 @@ interface AgentContactCardProps {
720
720
  }
721
721
  declare function AgentContactCard(props: AgentContactCardProps): react_jsx_runtime.JSX.Element;
722
722
 
723
- interface BookingConfirmationLabels {
723
+ interface BookingPaymentConfirmationEmailLabels {
724
724
  ctaButton?: string;
725
725
  logoAlt?: string;
726
726
  greeting?: (recipientName: string) => string;
@@ -811,7 +811,7 @@ interface ConfirmationDepositInfo {
811
811
  balanceDueDate: string;
812
812
  isPaidInFull?: boolean;
813
813
  }
814
- interface BookingConfirmationProps {
814
+ interface BookingPaymentConfirmationEmailProps {
815
815
  /** Nome do destinatario (ex: "Maria") */
816
816
  recipientName: string;
817
817
  /** URL da logo. Default: data URI embutido no pacote. */
@@ -830,7 +830,7 @@ interface BookingConfirmationProps {
830
830
  /** URL para ver os detalhes completos do booking */
831
831
  viewBookingUrl?: string;
832
832
  /** Optional label overrides for i18n */
833
- labels?: Partial<BookingConfirmationLabels>;
833
+ labels?: Partial<BookingPaymentConfirmationEmailLabels>;
834
834
  /** className adicional no container */
835
835
  className?: string;
836
836
  /**
@@ -842,7 +842,7 @@ interface BookingConfirmationProps {
842
842
  */
843
843
  flow?: "auto" | "manual";
844
844
  }
845
- declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
845
+ declare function BookingPaymentConfirmationEmail({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingPaymentConfirmationEmailProps): react_jsx_runtime.JSX.Element;
846
846
 
847
847
  interface BookingAdventureCardLineItem {
848
848
  /** Valor unitário formatado, ex.: "R$ 1.500,00". Opcional quando o caller usa `label` livre. */
@@ -992,7 +992,7 @@ interface PaymentDetailsBlockProps {
992
992
  }
993
993
  declare function PaymentDetailsBlock({ rows, footerBanner, labels, className, }: PaymentDetailsBlockProps): react_jsx_runtime.JSX.Element;
994
994
 
995
- interface BookingConfirmationEmailLabels {
995
+ interface BookingCreatedEmailLabels {
996
996
  ctaButton?: string;
997
997
  logoAlt?: string;
998
998
  greeting?: (recipientName: string) => string;
@@ -1010,7 +1010,7 @@ interface BookingConfirmationEmailLabels {
1010
1010
  /** Cabeçalho da seção opcional de próximos passos (ex.: "What you need to do:"). */
1011
1011
  nextStepsHeading?: string;
1012
1012
  }
1013
- interface BookingConfirmationEmailProps {
1013
+ interface BookingCreatedEmailProps {
1014
1014
  /** Nome do destinatário (ex: "Maria") */
1015
1015
  recipientName: string;
1016
1016
  /** URL do link para adicionar viajantes. Se omitido, o botão é renderizado sem link. */
@@ -1030,7 +1030,7 @@ interface BookingConfirmationEmailProps {
1030
1030
  /** Nome do host/anfitrião */
1031
1031
  host: string;
1032
1032
  /** Optional label overrides for i18n */
1033
- labels?: Partial<BookingConfirmationEmailLabels>;
1033
+ labels?: Partial<BookingCreatedEmailLabels>;
1034
1034
  /** className adicional no container */
1035
1035
  className?: string;
1036
1036
  /**
@@ -1053,23 +1053,55 @@ interface BookingConfirmationEmailProps {
1053
1053
  */
1054
1054
  directBookingLinkLabel?: string;
1055
1055
  }
1056
- declare function BookingConfirmationEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingConfirmationEmailProps): react_jsx_runtime.JSX.Element;
1056
+ declare function BookingCreatedEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
1057
1057
 
1058
1058
  interface BookingSummaryRow {
1059
1059
  /** Label da linha (coluna esquerda, mutedForeground). */
1060
1060
  label: string;
1061
1061
  /** Valor da linha (coluna direita, foreground + fontWeight 500). */
1062
1062
  value: string | number;
1063
+ /**
1064
+ * Cor opcional do valor (sobrescreve `t.foreground`). Útil pra destacar
1065
+ * o "Booking Number" em `t.primary` (verde), por exemplo.
1066
+ */
1067
+ valueColor?: string;
1063
1068
  }
1064
1069
  interface BookingSummaryProps {
1065
1070
  /** Heading do bloco (ex.: "Booking summary" ou "📝 Here's a quick summary of your booking:"). */
1066
1071
  heading: string;
1067
1072
  /** Linhas do resumo. Cada par renderiza como (label | value) na tabela. */
1068
1073
  rows: BookingSummaryRow[];
1074
+ /**
1075
+ * Conteúdo opcional renderizado como última row do card, ocupando as duas
1076
+ * colunas com `colSpan={2}`. Útil para banners de estado (ex.: "Paid in full"
1077
+ * no `PaymentReceiptEmail`). Quando ausente, o card termina na última row de
1078
+ * `rows`. Recebe um objeto descritivo em vez de JSX para manter compatibilidade
1079
+ * com `React.createElement` no backend (tsc puro sem `--jsx`).
1080
+ */
1081
+ footer?: {
1082
+ text: string;
1083
+ backgroundColor?: string;
1084
+ color?: string;
1085
+ fontWeight?: number;
1086
+ };
1069
1087
  /** className adicional no wrapper externo. */
1070
1088
  className?: string;
1071
1089
  }
1072
- declare function BookingSummary({ heading, rows, className }: BookingSummaryProps): react_jsx_runtime.JSX.Element;
1090
+ /**
1091
+ * Bloco "Booking summary" reusável entre os e-mails transacionais.
1092
+ *
1093
+ * Visual: card encaixotado (borderRadius 12px + border 1px) com padding 10px
1094
+ * nas células, separadores entre rows, value alinhado à direita com
1095
+ * `whiteSpace: nowrap`. Heading em 16px / fontWeight 700, externo ao card.
1096
+ *
1097
+ * Histórico: bloco originalmente inline em `BookingCreatedEmail.tsx`
1098
+ * (extraído na v0.29.0 — então chamado `BookingConfirmationEmail`) e duplicado
1099
+ * também inline em `PaymentReceiptEmail.tsx` com visual ligeiramente diferente.
1100
+ * Consolidado num único componente na v0.30.x — todos os e-mails
1101
+ * (`BookingCreatedEmail`, `PaymentReceiptEmail`, `RegistrationReminderEmail`)
1102
+ * usam exatamente o mesmo markup.
1103
+ */
1104
+ declare function BookingSummary({ heading, rows, footer, className }: BookingSummaryProps): react_jsx_runtime.JSX.Element;
1073
1105
 
1074
1106
  type RegistrationProgressTone = "complete" | "partial" | "empty";
1075
1107
  interface RegistrationProgressBarProps {
@@ -2825,4 +2857,4 @@ declare function LeadCapturePopup({ config: _config, }: {
2825
2857
  config: LeadCapturePopupConfig;
2826
2858
  }): react_jsx_runtime.JSX.Element | null;
2827
2859
 
2828
- 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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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, 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 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 };
2860
+ 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, 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 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 };