@planetaexo/design-system 0.61.0 → 0.62.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.cjs +163 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +54 -2
- package/dist/index.d.ts +54 -2
- package/dist/index.js +163 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1984,6 +1984,48 @@ interface NotificationEmailDetailItem {
|
|
|
1984
1984
|
/** Realça o value em teal (ex.: número da reserva). */
|
|
1985
1985
|
emphasizeValue?: boolean;
|
|
1986
1986
|
}
|
|
1987
|
+
/** Uma linha do bloco `summary` (reusa o design da tabela do booking). */
|
|
1988
|
+
interface NotificationEmailSummaryRow {
|
|
1989
|
+
label: string;
|
|
1990
|
+
value: string;
|
|
1991
|
+
/** Realça o value em teal (ex.: saldo a pagar / valor a devolver). */
|
|
1992
|
+
emphasizeValue?: boolean;
|
|
1993
|
+
}
|
|
1994
|
+
/**
|
|
1995
|
+
* Bloco de resumo opcional, renderizado com o MESMO markup do `BookingSummary`
|
|
1996
|
+
* dos e-mails de reserva (heading + tabela 2 colunas label/value). Usado p/
|
|
1997
|
+
* totais de saldo, matriz de tiers de preço, valores de devolução etc.
|
|
1998
|
+
*/
|
|
1999
|
+
interface NotificationEmailSummary {
|
|
2000
|
+
/** Cabeçalho opcional acima da tabela. */
|
|
2001
|
+
heading?: string;
|
|
2002
|
+
rows: NotificationEmailSummaryRow[];
|
|
2003
|
+
}
|
|
2004
|
+
/** Uma pessoa do bloco `roster` (espelha a lista de participantes do g/token). */
|
|
2005
|
+
interface NotificationEmailRosterPerson {
|
|
2006
|
+
name: string;
|
|
2007
|
+
/** Emoji de bandeira (ex.: "🇧🇷"). Opcional. */
|
|
2008
|
+
flag?: string;
|
|
2009
|
+
/** Marca a pill "Leader" (texto vem de `roster.leaderLabel`). */
|
|
2010
|
+
isLeader?: boolean;
|
|
2011
|
+
/** Linha muted sob o nome (ex.: "+2 pessoas já cadastradas"). */
|
|
2012
|
+
note?: string;
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* Bloco de participantes opcional, renderizado como tabela email-safe
|
|
2016
|
+
* (`<table role="presentation">`, sem flexbox) que mimetiza a lista de
|
|
2017
|
+
* viajantes da página pública g/{token}: card arredondado com 1 linha por
|
|
2018
|
+
* pessoa (avatar teal + nome + bandeira + pill "Leader") + rodapé muted.
|
|
2019
|
+
*/
|
|
2020
|
+
interface NotificationEmailRoster {
|
|
2021
|
+
/** Cabeçalho opcional acima do card. */
|
|
2022
|
+
heading?: string;
|
|
2023
|
+
/** Texto localizado da pill exibida quando `isLeader` (ex.: "Leader"). */
|
|
2024
|
+
leaderLabel?: string;
|
|
2025
|
+
people: NotificationEmailRosterPerson[];
|
|
2026
|
+
/** Linha muted final do card (ex.: "2 viajantes pendentes"). */
|
|
2027
|
+
footnote?: string;
|
|
2028
|
+
}
|
|
1987
2029
|
interface NotificationEmailProps {
|
|
1988
2030
|
/** Saudação/título no topo (ex.: "Olá Maria," ou "Seu grupo está no ar!"). */
|
|
1989
2031
|
greeting: string;
|
|
@@ -2000,6 +2042,16 @@ interface NotificationEmailProps {
|
|
|
2000
2042
|
* p/ Outlook). Renderiza cada linha em <p>. Usado p/ matriz de preço / totais de saldo.
|
|
2001
2043
|
*/
|
|
2002
2044
|
highlight?: string[];
|
|
2045
|
+
/**
|
|
2046
|
+
* Bloco de resumo opcional renderizado via `BookingSummary` (design byte-idêntico
|
|
2047
|
+
* aos e-mails de reserva). Renderizado após `highlight` e antes de `roster`.
|
|
2048
|
+
*/
|
|
2049
|
+
summary?: NotificationEmailSummary;
|
|
2050
|
+
/**
|
|
2051
|
+
* Bloco de participantes opcional (lista da página pública g/{token}).
|
|
2052
|
+
* Renderizado após `summary` e antes de `details`.
|
|
2053
|
+
*/
|
|
2054
|
+
roster?: NotificationEmailRoster;
|
|
2003
2055
|
/** Assinatura final (ex.: "Equipe PlanetaEXO"). */
|
|
2004
2056
|
signature: string;
|
|
2005
2057
|
/** URL da logo. Default: LOGO_PLANETAEXO_DATA_URI (via EmailLogo). */
|
|
@@ -2007,7 +2059,7 @@ interface NotificationEmailProps {
|
|
|
2007
2059
|
/** className extra (uso no styleguide). */
|
|
2008
2060
|
className?: string;
|
|
2009
2061
|
}
|
|
2010
|
-
declare function NotificationEmail({ greeting, paragraphs, cta, details, detailsHeading, highlight, signature, logoUrl, className, }: NotificationEmailProps): react_jsx_runtime.JSX.Element;
|
|
2062
|
+
declare function NotificationEmail({ greeting, paragraphs, cta, details, detailsHeading, highlight, summary, roster, signature, logoUrl, className, }: NotificationEmailProps): react_jsx_runtime.JSX.Element;
|
|
2011
2063
|
|
|
2012
2064
|
interface TravellerFormInviteLink {
|
|
2013
2065
|
adventureName?: string;
|
|
@@ -4169,4 +4221,4 @@ interface StickyBookingCardProps {
|
|
|
4169
4221
|
}
|
|
4170
4222
|
declare function StickyBookingCard({ currentPrice, deposit, spotsRemaining, mode, onPrimary, note, className, }: StickyBookingCardProps): react_jsx_runtime.JSX.Element;
|
|
4171
4223
|
|
|
4172
|
-
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, BirthDateField, type BirthDateFieldProps, type BlogAuthor, type BlogBlock, type BlogCalloutBlock, BlogCard, type BlogCardCta, type BlogCardProps, type BlogCardSize, type BlogCollageBlock, type BlogHeadingBlock, type BlogImageBlock, type BlogListBlock, type BlogParagraphBlock, BlogPost, type BlogPostProps, type BlogQuoteBlock, type BlogTableBlock, type BlogTableColumn, 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 BookingSummaryRoomItem, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, type DatePickerFieldProps, type DepartureStatus, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, ExoOrb, type ExoOrbProps, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, 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, NotificationEmail, type NotificationEmailCta, type NotificationEmailDetailItem, type NotificationEmailProps, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type Participant, ParticipantCounter, type ParticipantCounterProps, ParticipantList, type ParticipantListProps, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerRegistrationCompleteAgentContactLinks, PartnerRegistrationCompleteEmail, type PartnerRegistrationCompleteEmailExpectationRow, type PartnerRegistrationCompleteEmailLabels, type PartnerRegistrationCompleteEmailProps, 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, Picture, type PictureProps, PriceProgress, type PriceProgressProps, PricingMatrixCard, type PricingMatrixCardProps, type PricingTier, 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, ShareWidget, type ShareWidgetProps, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, StatusBadge, type StatusBadgeProps, StickyBookingCard, type StickyBookingCardProps, 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, webpVariantUrl, wrapEmailHtml };
|
|
4224
|
+
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, BirthDateField, type BirthDateFieldProps, type BlogAuthor, type BlogBlock, type BlogCalloutBlock, BlogCard, type BlogCardCta, type BlogCardProps, type BlogCardSize, type BlogCollageBlock, type BlogHeadingBlock, type BlogImageBlock, type BlogListBlock, type BlogParagraphBlock, BlogPost, type BlogPostProps, type BlogQuoteBlock, type BlogTableBlock, type BlogTableColumn, 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 BookingSummaryRoomItem, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, type DatePickerFieldProps, type DepartureStatus, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, ExoOrb, type ExoOrbProps, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, 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, NotificationEmail, type NotificationEmailCta, type NotificationEmailDetailItem, type NotificationEmailProps, type NotificationEmailRoster, type NotificationEmailRosterPerson, type NotificationEmailSummary, type NotificationEmailSummaryRow, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type Participant, ParticipantCounter, type ParticipantCounterProps, ParticipantList, type ParticipantListProps, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerRegistrationCompleteAgentContactLinks, PartnerRegistrationCompleteEmail, type PartnerRegistrationCompleteEmailExpectationRow, type PartnerRegistrationCompleteEmailLabels, type PartnerRegistrationCompleteEmailProps, 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, Picture, type PictureProps, PriceProgress, type PriceProgressProps, PricingMatrixCard, type PricingMatrixCardProps, type PricingTier, 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, ShareWidget, type ShareWidgetProps, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, StatusBadge, type StatusBadgeProps, StickyBookingCard, type StickyBookingCardProps, 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, webpVariantUrl, wrapEmailHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -1984,6 +1984,48 @@ interface NotificationEmailDetailItem {
|
|
|
1984
1984
|
/** Realça o value em teal (ex.: número da reserva). */
|
|
1985
1985
|
emphasizeValue?: boolean;
|
|
1986
1986
|
}
|
|
1987
|
+
/** Uma linha do bloco `summary` (reusa o design da tabela do booking). */
|
|
1988
|
+
interface NotificationEmailSummaryRow {
|
|
1989
|
+
label: string;
|
|
1990
|
+
value: string;
|
|
1991
|
+
/** Realça o value em teal (ex.: saldo a pagar / valor a devolver). */
|
|
1992
|
+
emphasizeValue?: boolean;
|
|
1993
|
+
}
|
|
1994
|
+
/**
|
|
1995
|
+
* Bloco de resumo opcional, renderizado com o MESMO markup do `BookingSummary`
|
|
1996
|
+
* dos e-mails de reserva (heading + tabela 2 colunas label/value). Usado p/
|
|
1997
|
+
* totais de saldo, matriz de tiers de preço, valores de devolução etc.
|
|
1998
|
+
*/
|
|
1999
|
+
interface NotificationEmailSummary {
|
|
2000
|
+
/** Cabeçalho opcional acima da tabela. */
|
|
2001
|
+
heading?: string;
|
|
2002
|
+
rows: NotificationEmailSummaryRow[];
|
|
2003
|
+
}
|
|
2004
|
+
/** Uma pessoa do bloco `roster` (espelha a lista de participantes do g/token). */
|
|
2005
|
+
interface NotificationEmailRosterPerson {
|
|
2006
|
+
name: string;
|
|
2007
|
+
/** Emoji de bandeira (ex.: "🇧🇷"). Opcional. */
|
|
2008
|
+
flag?: string;
|
|
2009
|
+
/** Marca a pill "Leader" (texto vem de `roster.leaderLabel`). */
|
|
2010
|
+
isLeader?: boolean;
|
|
2011
|
+
/** Linha muted sob o nome (ex.: "+2 pessoas já cadastradas"). */
|
|
2012
|
+
note?: string;
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* Bloco de participantes opcional, renderizado como tabela email-safe
|
|
2016
|
+
* (`<table role="presentation">`, sem flexbox) que mimetiza a lista de
|
|
2017
|
+
* viajantes da página pública g/{token}: card arredondado com 1 linha por
|
|
2018
|
+
* pessoa (avatar teal + nome + bandeira + pill "Leader") + rodapé muted.
|
|
2019
|
+
*/
|
|
2020
|
+
interface NotificationEmailRoster {
|
|
2021
|
+
/** Cabeçalho opcional acima do card. */
|
|
2022
|
+
heading?: string;
|
|
2023
|
+
/** Texto localizado da pill exibida quando `isLeader` (ex.: "Leader"). */
|
|
2024
|
+
leaderLabel?: string;
|
|
2025
|
+
people: NotificationEmailRosterPerson[];
|
|
2026
|
+
/** Linha muted final do card (ex.: "2 viajantes pendentes"). */
|
|
2027
|
+
footnote?: string;
|
|
2028
|
+
}
|
|
1987
2029
|
interface NotificationEmailProps {
|
|
1988
2030
|
/** Saudação/título no topo (ex.: "Olá Maria," ou "Seu grupo está no ar!"). */
|
|
1989
2031
|
greeting: string;
|
|
@@ -2000,6 +2042,16 @@ interface NotificationEmailProps {
|
|
|
2000
2042
|
* p/ Outlook). Renderiza cada linha em <p>. Usado p/ matriz de preço / totais de saldo.
|
|
2001
2043
|
*/
|
|
2002
2044
|
highlight?: string[];
|
|
2045
|
+
/**
|
|
2046
|
+
* Bloco de resumo opcional renderizado via `BookingSummary` (design byte-idêntico
|
|
2047
|
+
* aos e-mails de reserva). Renderizado após `highlight` e antes de `roster`.
|
|
2048
|
+
*/
|
|
2049
|
+
summary?: NotificationEmailSummary;
|
|
2050
|
+
/**
|
|
2051
|
+
* Bloco de participantes opcional (lista da página pública g/{token}).
|
|
2052
|
+
* Renderizado após `summary` e antes de `details`.
|
|
2053
|
+
*/
|
|
2054
|
+
roster?: NotificationEmailRoster;
|
|
2003
2055
|
/** Assinatura final (ex.: "Equipe PlanetaEXO"). */
|
|
2004
2056
|
signature: string;
|
|
2005
2057
|
/** URL da logo. Default: LOGO_PLANETAEXO_DATA_URI (via EmailLogo). */
|
|
@@ -2007,7 +2059,7 @@ interface NotificationEmailProps {
|
|
|
2007
2059
|
/** className extra (uso no styleguide). */
|
|
2008
2060
|
className?: string;
|
|
2009
2061
|
}
|
|
2010
|
-
declare function NotificationEmail({ greeting, paragraphs, cta, details, detailsHeading, highlight, signature, logoUrl, className, }: NotificationEmailProps): react_jsx_runtime.JSX.Element;
|
|
2062
|
+
declare function NotificationEmail({ greeting, paragraphs, cta, details, detailsHeading, highlight, summary, roster, signature, logoUrl, className, }: NotificationEmailProps): react_jsx_runtime.JSX.Element;
|
|
2011
2063
|
|
|
2012
2064
|
interface TravellerFormInviteLink {
|
|
2013
2065
|
adventureName?: string;
|
|
@@ -4169,4 +4221,4 @@ interface StickyBookingCardProps {
|
|
|
4169
4221
|
}
|
|
4170
4222
|
declare function StickyBookingCard({ currentPrice, deposit, spotsRemaining, mode, onPrimary, note, className, }: StickyBookingCardProps): react_jsx_runtime.JSX.Element;
|
|
4171
4223
|
|
|
4172
|
-
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, BirthDateField, type BirthDateFieldProps, type BlogAuthor, type BlogBlock, type BlogCalloutBlock, BlogCard, type BlogCardCta, type BlogCardProps, type BlogCardSize, type BlogCollageBlock, type BlogHeadingBlock, type BlogImageBlock, type BlogListBlock, type BlogParagraphBlock, BlogPost, type BlogPostProps, type BlogQuoteBlock, type BlogTableBlock, type BlogTableColumn, 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 BookingSummaryRoomItem, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, type DatePickerFieldProps, type DepartureStatus, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, ExoOrb, type ExoOrbProps, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, 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, NotificationEmail, type NotificationEmailCta, type NotificationEmailDetailItem, type NotificationEmailProps, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type Participant, ParticipantCounter, type ParticipantCounterProps, ParticipantList, type ParticipantListProps, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerRegistrationCompleteAgentContactLinks, PartnerRegistrationCompleteEmail, type PartnerRegistrationCompleteEmailExpectationRow, type PartnerRegistrationCompleteEmailLabels, type PartnerRegistrationCompleteEmailProps, 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, Picture, type PictureProps, PriceProgress, type PriceProgressProps, PricingMatrixCard, type PricingMatrixCardProps, type PricingTier, 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, ShareWidget, type ShareWidgetProps, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, StatusBadge, type StatusBadgeProps, StickyBookingCard, type StickyBookingCardProps, 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, webpVariantUrl, wrapEmailHtml };
|
|
4224
|
+
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, BirthDateField, type BirthDateFieldProps, type BlogAuthor, type BlogBlock, type BlogCalloutBlock, BlogCard, type BlogCardCta, type BlogCardProps, type BlogCardSize, type BlogCollageBlock, type BlogHeadingBlock, type BlogImageBlock, type BlogListBlock, type BlogParagraphBlock, BlogPost, type BlogPostProps, type BlogQuoteBlock, type BlogTableBlock, type BlogTableColumn, 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 BookingSummaryRoomItem, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, type DatePickerFieldProps, type DepartureStatus, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, ExoOrb, type ExoOrbProps, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, 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, NotificationEmail, type NotificationEmailCta, type NotificationEmailDetailItem, type NotificationEmailProps, type NotificationEmailRoster, type NotificationEmailRosterPerson, type NotificationEmailSummary, type NotificationEmailSummaryRow, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, type Participant, ParticipantCounter, type ParticipantCounterProps, ParticipantList, type ParticipantListProps, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerRegistrationCompleteAgentContactLinks, PartnerRegistrationCompleteEmail, type PartnerRegistrationCompleteEmailExpectationRow, type PartnerRegistrationCompleteEmailLabels, type PartnerRegistrationCompleteEmailProps, 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, Picture, type PictureProps, PriceProgress, type PriceProgressProps, PricingMatrixCard, type PricingMatrixCardProps, type PricingTier, 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, ShareWidget, type ShareWidgetProps, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, StatusBadge, type StatusBadgeProps, StickyBookingCard, type StickyBookingCardProps, 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, webpVariantUrl, wrapEmailHtml };
|
package/dist/index.js
CHANGED
|
@@ -7332,6 +7332,8 @@ function NotificationEmail({
|
|
|
7332
7332
|
details,
|
|
7333
7333
|
detailsHeading,
|
|
7334
7334
|
highlight,
|
|
7335
|
+
summary,
|
|
7336
|
+
roster,
|
|
7335
7337
|
signature,
|
|
7336
7338
|
logoUrl,
|
|
7337
7339
|
className
|
|
@@ -7349,6 +7351,8 @@ function NotificationEmail({
|
|
|
7349
7351
|
};
|
|
7350
7352
|
const hasHighlight = Array.isArray(highlight) && highlight.length > 0;
|
|
7351
7353
|
const hasDetails = Array.isArray(details) && details.length > 0;
|
|
7354
|
+
const hasSummary = !!summary && Array.isArray(summary.rows) && summary.rows.length > 0;
|
|
7355
|
+
const hasRoster = !!roster && Array.isArray(roster.people) && roster.people.length > 0;
|
|
7352
7356
|
return /* @__PURE__ */ jsxs(
|
|
7353
7357
|
"div",
|
|
7354
7358
|
{
|
|
@@ -7408,6 +7412,165 @@ function NotificationEmail({
|
|
|
7408
7412
|
) }) })
|
|
7409
7413
|
}
|
|
7410
7414
|
),
|
|
7415
|
+
hasSummary && /* @__PURE__ */ jsx(
|
|
7416
|
+
BookingSummary,
|
|
7417
|
+
{
|
|
7418
|
+
heading: summary.heading,
|
|
7419
|
+
rows: summary.rows.map((row) => ({
|
|
7420
|
+
label: row.label,
|
|
7421
|
+
value: row.value,
|
|
7422
|
+
valueColor: row.emphasizeValue ? emailTokens.primary : void 0
|
|
7423
|
+
}))
|
|
7424
|
+
}
|
|
7425
|
+
),
|
|
7426
|
+
hasRoster && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7427
|
+
roster.heading && /* @__PURE__ */ jsx(
|
|
7428
|
+
"p",
|
|
7429
|
+
{
|
|
7430
|
+
style: {
|
|
7431
|
+
fontSize: "15px",
|
|
7432
|
+
lineHeight: "1.5",
|
|
7433
|
+
fontWeight: 700,
|
|
7434
|
+
margin: "0 0 12px"
|
|
7435
|
+
},
|
|
7436
|
+
children: roster.heading
|
|
7437
|
+
}
|
|
7438
|
+
),
|
|
7439
|
+
/* @__PURE__ */ jsx(
|
|
7440
|
+
"table",
|
|
7441
|
+
{
|
|
7442
|
+
role: "presentation",
|
|
7443
|
+
cellPadding: 0,
|
|
7444
|
+
cellSpacing: 0,
|
|
7445
|
+
border: 0,
|
|
7446
|
+
style: {
|
|
7447
|
+
width: "100%",
|
|
7448
|
+
borderCollapse: "collapse",
|
|
7449
|
+
borderRadius: "12px",
|
|
7450
|
+
border: `1px solid ${emailTokens.border}`,
|
|
7451
|
+
margin: "0 0 24px"
|
|
7452
|
+
},
|
|
7453
|
+
children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
7454
|
+
roster.people.map((person, i) => {
|
|
7455
|
+
var _a;
|
|
7456
|
+
const isLast = i === roster.people.length - 1 && !roster.footnote;
|
|
7457
|
+
return /* @__PURE__ */ jsxs(
|
|
7458
|
+
"tr",
|
|
7459
|
+
{
|
|
7460
|
+
style: !isLast ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
|
|
7461
|
+
children: [
|
|
7462
|
+
/* @__PURE__ */ jsx(
|
|
7463
|
+
"td",
|
|
7464
|
+
{
|
|
7465
|
+
style: {
|
|
7466
|
+
width: "32px",
|
|
7467
|
+
padding: "12px 0 12px 16px",
|
|
7468
|
+
verticalAlign: "top"
|
|
7469
|
+
},
|
|
7470
|
+
children: /* @__PURE__ */ jsx(
|
|
7471
|
+
"table",
|
|
7472
|
+
{
|
|
7473
|
+
role: "presentation",
|
|
7474
|
+
cellPadding: 0,
|
|
7475
|
+
cellSpacing: 0,
|
|
7476
|
+
border: 0,
|
|
7477
|
+
style: { borderCollapse: "collapse" },
|
|
7478
|
+
children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
|
|
7479
|
+
"td",
|
|
7480
|
+
{
|
|
7481
|
+
style: {
|
|
7482
|
+
width: "32px",
|
|
7483
|
+
height: "32px",
|
|
7484
|
+
borderRadius: "16px",
|
|
7485
|
+
backgroundColor: emailTokens.primaryLight,
|
|
7486
|
+
color: emailTokens.primary,
|
|
7487
|
+
fontSize: "13px",
|
|
7488
|
+
fontWeight: 700,
|
|
7489
|
+
textAlign: "center",
|
|
7490
|
+
verticalAlign: "middle",
|
|
7491
|
+
lineHeight: "32px"
|
|
7492
|
+
},
|
|
7493
|
+
children: ((_a = person.name.trim()[0]) != null ? _a : "\u2022").toUpperCase()
|
|
7494
|
+
}
|
|
7495
|
+
) }) })
|
|
7496
|
+
}
|
|
7497
|
+
)
|
|
7498
|
+
}
|
|
7499
|
+
),
|
|
7500
|
+
/* @__PURE__ */ jsxs(
|
|
7501
|
+
"td",
|
|
7502
|
+
{
|
|
7503
|
+
style: {
|
|
7504
|
+
padding: "12px 16px 12px 12px",
|
|
7505
|
+
verticalAlign: "top"
|
|
7506
|
+
},
|
|
7507
|
+
children: [
|
|
7508
|
+
/* @__PURE__ */ jsx(
|
|
7509
|
+
"span",
|
|
7510
|
+
{
|
|
7511
|
+
style: {
|
|
7512
|
+
fontSize: "14px",
|
|
7513
|
+
fontWeight: 500,
|
|
7514
|
+
color: emailTokens.foreground
|
|
7515
|
+
},
|
|
7516
|
+
children: person.name
|
|
7517
|
+
}
|
|
7518
|
+
),
|
|
7519
|
+
person.flag && /* @__PURE__ */ jsx("span", { style: { fontSize: "14px", paddingLeft: "6px" }, children: person.flag }),
|
|
7520
|
+
person.isLeader && roster.leaderLabel && /* @__PURE__ */ jsx(
|
|
7521
|
+
"span",
|
|
7522
|
+
{
|
|
7523
|
+
style: {
|
|
7524
|
+
display: "inline-block",
|
|
7525
|
+
marginLeft: "8px",
|
|
7526
|
+
padding: "1px 8px",
|
|
7527
|
+
borderRadius: "9999px",
|
|
7528
|
+
backgroundColor: emailTokens.primaryLight,
|
|
7529
|
+
color: emailTokens.primary,
|
|
7530
|
+
fontSize: "11px",
|
|
7531
|
+
fontWeight: 500,
|
|
7532
|
+
verticalAlign: "middle"
|
|
7533
|
+
},
|
|
7534
|
+
children: roster.leaderLabel
|
|
7535
|
+
}
|
|
7536
|
+
),
|
|
7537
|
+
person.note && /* @__PURE__ */ jsx(
|
|
7538
|
+
"span",
|
|
7539
|
+
{
|
|
7540
|
+
style: {
|
|
7541
|
+
display: "block",
|
|
7542
|
+
marginTop: "2px",
|
|
7543
|
+
fontSize: "12px",
|
|
7544
|
+
color: emailTokens.mutedForeground
|
|
7545
|
+
},
|
|
7546
|
+
children: person.note
|
|
7547
|
+
}
|
|
7548
|
+
)
|
|
7549
|
+
]
|
|
7550
|
+
}
|
|
7551
|
+
)
|
|
7552
|
+
]
|
|
7553
|
+
},
|
|
7554
|
+
i
|
|
7555
|
+
);
|
|
7556
|
+
}),
|
|
7557
|
+
roster.footnote && /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(
|
|
7558
|
+
"td",
|
|
7559
|
+
{
|
|
7560
|
+
colSpan: 2,
|
|
7561
|
+
style: {
|
|
7562
|
+
padding: "12px 16px",
|
|
7563
|
+
fontSize: "12px",
|
|
7564
|
+
color: emailTokens.mutedForeground,
|
|
7565
|
+
backgroundColor: emailTokens.muted
|
|
7566
|
+
},
|
|
7567
|
+
children: roster.footnote
|
|
7568
|
+
}
|
|
7569
|
+
) })
|
|
7570
|
+
] })
|
|
7571
|
+
}
|
|
7572
|
+
)
|
|
7573
|
+
] }),
|
|
7411
7574
|
hasDetails && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7412
7575
|
detailsHeading && /* @__PURE__ */ jsx(
|
|
7413
7576
|
"p",
|