@planetaexo/design-system 0.52.1 → 0.52.3
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 +39 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -2
- package/dist/index.d.ts +55 -2
- package/dist/index.js +38 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2415,6 +2415,54 @@ declare function TrustpilotEmbed({ config }: {
|
|
|
2415
2415
|
config: TrustpilotWidgetConfig;
|
|
2416
2416
|
}): react_jsx_runtime.JSX.Element;
|
|
2417
2417
|
|
|
2418
|
+
interface PictureProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
2419
|
+
/**
|
|
2420
|
+
* Image URL. When it ends in `.jpg` / `.jpeg` / `.png` a sibling
|
|
2421
|
+
* `${src}.webp` is rendered as a `<source>` ahead of the `<img>`,
|
|
2422
|
+
* letting the browser pick the WebP when present and fall back
|
|
2423
|
+
* silently when it isn't (DS dev, styleguide, non-EWWW hosts).
|
|
2424
|
+
*/
|
|
2425
|
+
src: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* Extra `<source>` rows to append after the WebP one — useful for
|
|
2428
|
+
* AVIF, art-direction, etc. Render order = priority.
|
|
2429
|
+
*/
|
|
2430
|
+
extraSources?: React.ReactNode;
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* `<img>` with a transparent WebP `<source>` wrapper.
|
|
2434
|
+
*
|
|
2435
|
+
* Drop-in replacement for `<img>`. For sources that aren't WebP-eligible
|
|
2436
|
+
* (SVG, GIF, base64), the `<picture>` wrapper is skipped and we render
|
|
2437
|
+
* the plain `<img>` — saves a useless `<picture>` element in the markup.
|
|
2438
|
+
*
|
|
2439
|
+
* Intentionally lightweight: no probing, no fetch, no preload. The
|
|
2440
|
+
* browser's native `<picture>` resolver does the right thing for free.
|
|
2441
|
+
*/
|
|
2442
|
+
declare function Picture({ src, extraSources, ...imgProps }: PictureProps): react_jsx_runtime.JSX.Element;
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* WebP-fallback helpers for components that render content-image URLs.
|
|
2446
|
+
*
|
|
2447
|
+
* The DS itself doesn't run any image optimizer — the convention is set
|
|
2448
|
+
* by consumers (typically a WP install with EWWW IO writing a sibling
|
|
2449
|
+
* `image.jpg.webp` for every JPEG/PNG). All this module does is produce
|
|
2450
|
+
* the sibling URL and let the browser pick via `<picture>` / `<source>`.
|
|
2451
|
+
*
|
|
2452
|
+
* When no `.webp` sibling exists (DS dev, styleguide, any non-EWWW host),
|
|
2453
|
+
* the `<source>` 404s and the browser silently falls back to the inner
|
|
2454
|
+
* `<img>` — no broken icon, no console error past the request itself.
|
|
2455
|
+
* That's the spec-blessed behaviour of `<picture>`.
|
|
2456
|
+
*/
|
|
2457
|
+
/**
|
|
2458
|
+
* `image.jpg` → `image.jpg.webp`. Returns null when the source isn't a
|
|
2459
|
+
* JPEG/PNG (SVG, GIF, base64 data URI, already-webp) so callers can
|
|
2460
|
+
* short-circuit and just render a plain `<img>`. Query strings are
|
|
2461
|
+
* preserved after the appended `.webp` so signed-URL workflows still
|
|
2462
|
+
* match: `image.jpg?v=2` → `image.jpg.webp?v=2`.
|
|
2463
|
+
*/
|
|
2464
|
+
declare function webpVariantUrl(src: string): string | null;
|
|
2465
|
+
|
|
2418
2466
|
interface ItineraryRoute {
|
|
2419
2467
|
distance: string;
|
|
2420
2468
|
duration: string;
|
|
@@ -2906,6 +2954,11 @@ interface TripPageProps {
|
|
|
2906
2954
|
* the photos.
|
|
2907
2955
|
*/
|
|
2908
2956
|
accommodationGallery?: PhotoGalleryPhoto[];
|
|
2957
|
+
/**
|
|
2958
|
+
* Visual layout for the accommodation gallery. Lets the consumer make the
|
|
2959
|
+
* gallery editor-driven (e.g. an ACF Select on the section). @default "gridCompact"
|
|
2960
|
+
*/
|
|
2961
|
+
accommodationGalleryVariant?: PhotoGalleryVariant;
|
|
2909
2962
|
whenItOperates?: React.ReactNode;
|
|
2910
2963
|
food?: React.ReactNode;
|
|
2911
2964
|
/**
|
|
@@ -2982,7 +3035,7 @@ interface TripPageProps {
|
|
|
2982
3035
|
features?: Record<string, boolean>;
|
|
2983
3036
|
className?: string;
|
|
2984
3037
|
}
|
|
2985
|
-
declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
3038
|
+
declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, accommodationGalleryVariant, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2986
3039
|
|
|
2987
3040
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
2988
3041
|
interface ActivityCardProps {
|
|
@@ -3539,4 +3592,4 @@ interface AskExoProps {
|
|
|
3539
3592
|
}
|
|
3540
3593
|
declare function AskExo({ baseUrl, variant, eyebrow, title, subtitle, suggestions, inputPlaceholder, submitLabel, logoSrc, className, teaser, teaserDelayMs, teaserDurationMs, }: AskExoProps): react_jsx_runtime.JSX.Element;
|
|
3541
3594
|
|
|
3542
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, 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, ExoOrb, type ExoOrbProps, 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 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, 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 };
|
|
3595
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, 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, ExoOrb, type ExoOrbProps, 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 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, 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, webpVariantUrl, wrapEmailHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -2415,6 +2415,54 @@ declare function TrustpilotEmbed({ config }: {
|
|
|
2415
2415
|
config: TrustpilotWidgetConfig;
|
|
2416
2416
|
}): react_jsx_runtime.JSX.Element;
|
|
2417
2417
|
|
|
2418
|
+
interface PictureProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
2419
|
+
/**
|
|
2420
|
+
* Image URL. When it ends in `.jpg` / `.jpeg` / `.png` a sibling
|
|
2421
|
+
* `${src}.webp` is rendered as a `<source>` ahead of the `<img>`,
|
|
2422
|
+
* letting the browser pick the WebP when present and fall back
|
|
2423
|
+
* silently when it isn't (DS dev, styleguide, non-EWWW hosts).
|
|
2424
|
+
*/
|
|
2425
|
+
src: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* Extra `<source>` rows to append after the WebP one — useful for
|
|
2428
|
+
* AVIF, art-direction, etc. Render order = priority.
|
|
2429
|
+
*/
|
|
2430
|
+
extraSources?: React.ReactNode;
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* `<img>` with a transparent WebP `<source>` wrapper.
|
|
2434
|
+
*
|
|
2435
|
+
* Drop-in replacement for `<img>`. For sources that aren't WebP-eligible
|
|
2436
|
+
* (SVG, GIF, base64), the `<picture>` wrapper is skipped and we render
|
|
2437
|
+
* the plain `<img>` — saves a useless `<picture>` element in the markup.
|
|
2438
|
+
*
|
|
2439
|
+
* Intentionally lightweight: no probing, no fetch, no preload. The
|
|
2440
|
+
* browser's native `<picture>` resolver does the right thing for free.
|
|
2441
|
+
*/
|
|
2442
|
+
declare function Picture({ src, extraSources, ...imgProps }: PictureProps): react_jsx_runtime.JSX.Element;
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* WebP-fallback helpers for components that render content-image URLs.
|
|
2446
|
+
*
|
|
2447
|
+
* The DS itself doesn't run any image optimizer — the convention is set
|
|
2448
|
+
* by consumers (typically a WP install with EWWW IO writing a sibling
|
|
2449
|
+
* `image.jpg.webp` for every JPEG/PNG). All this module does is produce
|
|
2450
|
+
* the sibling URL and let the browser pick via `<picture>` / `<source>`.
|
|
2451
|
+
*
|
|
2452
|
+
* When no `.webp` sibling exists (DS dev, styleguide, any non-EWWW host),
|
|
2453
|
+
* the `<source>` 404s and the browser silently falls back to the inner
|
|
2454
|
+
* `<img>` — no broken icon, no console error past the request itself.
|
|
2455
|
+
* That's the spec-blessed behaviour of `<picture>`.
|
|
2456
|
+
*/
|
|
2457
|
+
/**
|
|
2458
|
+
* `image.jpg` → `image.jpg.webp`. Returns null when the source isn't a
|
|
2459
|
+
* JPEG/PNG (SVG, GIF, base64 data URI, already-webp) so callers can
|
|
2460
|
+
* short-circuit and just render a plain `<img>`. Query strings are
|
|
2461
|
+
* preserved after the appended `.webp` so signed-URL workflows still
|
|
2462
|
+
* match: `image.jpg?v=2` → `image.jpg.webp?v=2`.
|
|
2463
|
+
*/
|
|
2464
|
+
declare function webpVariantUrl(src: string): string | null;
|
|
2465
|
+
|
|
2418
2466
|
interface ItineraryRoute {
|
|
2419
2467
|
distance: string;
|
|
2420
2468
|
duration: string;
|
|
@@ -2906,6 +2954,11 @@ interface TripPageProps {
|
|
|
2906
2954
|
* the photos.
|
|
2907
2955
|
*/
|
|
2908
2956
|
accommodationGallery?: PhotoGalleryPhoto[];
|
|
2957
|
+
/**
|
|
2958
|
+
* Visual layout for the accommodation gallery. Lets the consumer make the
|
|
2959
|
+
* gallery editor-driven (e.g. an ACF Select on the section). @default "gridCompact"
|
|
2960
|
+
*/
|
|
2961
|
+
accommodationGalleryVariant?: PhotoGalleryVariant;
|
|
2909
2962
|
whenItOperates?: React.ReactNode;
|
|
2910
2963
|
food?: React.ReactNode;
|
|
2911
2964
|
/**
|
|
@@ -2982,7 +3035,7 @@ interface TripPageProps {
|
|
|
2982
3035
|
features?: Record<string, boolean>;
|
|
2983
3036
|
className?: string;
|
|
2984
3037
|
}
|
|
2985
|
-
declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
3038
|
+
declare function TripPage({ title, tagline, destination, duration, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, accommodationGalleryVariant, whenItOperates, food, foodGallery, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2986
3039
|
|
|
2987
3040
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
2988
3041
|
interface ActivityCardProps {
|
|
@@ -3539,4 +3592,4 @@ interface AskExoProps {
|
|
|
3539
3592
|
}
|
|
3540
3593
|
declare function AskExo({ baseUrl, variant, eyebrow, title, subtitle, suggestions, inputPlaceholder, submitLabel, logoSrc, className, teaser, teaserDelayMs, teaserDurationMs, }: AskExoProps): react_jsx_runtime.JSX.Element;
|
|
3541
3594
|
|
|
3542
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, 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, ExoOrb, type ExoOrbProps, 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 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, 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 };
|
|
3595
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, AskExo, type AskExoProps, type AskExoSuggestion, 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, ExoOrb, type ExoOrbProps, 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 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, 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, webpVariantUrl, wrapEmailHtml };
|
package/dist/index.js
CHANGED
|
@@ -9947,6 +9947,30 @@ function TrustpilotFallback({ config }) {
|
|
|
9947
9947
|
}
|
|
9948
9948
|
);
|
|
9949
9949
|
}
|
|
9950
|
+
|
|
9951
|
+
// src/lib/image-webp.ts
|
|
9952
|
+
var WEBP_ELIGIBLE_EXTENSION = /\.(jpe?g|png)(\?[^"'\s>]*)?$/i;
|
|
9953
|
+
function webpVariantUrl(src) {
|
|
9954
|
+
var _a;
|
|
9955
|
+
if (!src) return null;
|
|
9956
|
+
const m = src.match(WEBP_ELIGIBLE_EXTENSION);
|
|
9957
|
+
if (!m) return null;
|
|
9958
|
+
const query = (_a = m[2]) != null ? _a : "";
|
|
9959
|
+
const withoutQuery = query ? src.slice(0, -query.length) : src;
|
|
9960
|
+
return `${withoutQuery}.webp${query}`;
|
|
9961
|
+
}
|
|
9962
|
+
function Picture(_a) {
|
|
9963
|
+
var _b = _a, { src, extraSources } = _b, imgProps = __objRest(_b, ["src", "extraSources"]);
|
|
9964
|
+
const webp = webpVariantUrl(src);
|
|
9965
|
+
if (!webp) {
|
|
9966
|
+
return /* @__PURE__ */ jsx("img", __spreadValues({ src }, imgProps));
|
|
9967
|
+
}
|
|
9968
|
+
return /* @__PURE__ */ jsxs("picture", { style: { display: "contents" }, children: [
|
|
9969
|
+
/* @__PURE__ */ jsx("source", { srcSet: webp, type: "image/webp" }),
|
|
9970
|
+
extraSources,
|
|
9971
|
+
/* @__PURE__ */ jsx("img", __spreadValues({ src }, imgProps))
|
|
9972
|
+
] });
|
|
9973
|
+
}
|
|
9950
9974
|
function ItineraryDayCard({
|
|
9951
9975
|
stop,
|
|
9952
9976
|
onOpen
|
|
@@ -10300,7 +10324,7 @@ function Lightbox({
|
|
|
10300
10324
|
}
|
|
10301
10325
|
),
|
|
10302
10326
|
/* @__PURE__ */ jsx(
|
|
10303
|
-
|
|
10327
|
+
Picture,
|
|
10304
10328
|
{
|
|
10305
10329
|
src: photo.src,
|
|
10306
10330
|
alt: (_a = photo.alt) != null ? _a : `Photo ${index + 1}`,
|
|
@@ -10368,7 +10392,7 @@ function PhotoTile({
|
|
|
10368
10392
|
"aria-label": (_a = photo.alt) != null ? _a : `Photo ${index + 1}`,
|
|
10369
10393
|
children: [
|
|
10370
10394
|
/* @__PURE__ */ jsx(
|
|
10371
|
-
|
|
10395
|
+
Picture,
|
|
10372
10396
|
{
|
|
10373
10397
|
src: photo.src,
|
|
10374
10398
|
alt: (_b = photo.alt) != null ? _b : `Photo ${index + 1}`,
|
|
@@ -10488,7 +10512,7 @@ function MasonryGallery({
|
|
|
10488
10512
|
"aria-label": (_a = p.alt) != null ? _a : `Photo ${i + 1}`,
|
|
10489
10513
|
children: [
|
|
10490
10514
|
/* @__PURE__ */ jsx(
|
|
10491
|
-
|
|
10515
|
+
Picture,
|
|
10492
10516
|
{
|
|
10493
10517
|
src: p.src,
|
|
10494
10518
|
alt: (_b = p.alt) != null ? _b : `Photo ${i + 1}`,
|
|
@@ -10527,7 +10551,7 @@ function FilmstripGallery({
|
|
|
10527
10551
|
"aria-label": (_a = p.alt) != null ? _a : `Photo ${i + 1}`,
|
|
10528
10552
|
children: [
|
|
10529
10553
|
/* @__PURE__ */ jsx(
|
|
10530
|
-
|
|
10554
|
+
Picture,
|
|
10531
10555
|
{
|
|
10532
10556
|
src: p.src,
|
|
10533
10557
|
alt: (_b = p.alt) != null ? _b : `Photo ${i + 1}`,
|
|
@@ -10592,7 +10616,7 @@ function FeaturedGallery({
|
|
|
10592
10616
|
"aria-label": (_a = p.alt) != null ? _a : `Photo ${i + 4}`,
|
|
10593
10617
|
children: [
|
|
10594
10618
|
/* @__PURE__ */ jsx(
|
|
10595
|
-
|
|
10619
|
+
Picture,
|
|
10596
10620
|
{
|
|
10597
10621
|
src: p.src,
|
|
10598
10622
|
alt: (_b = p.alt) != null ? _b : `Photo ${i + 4}`,
|
|
@@ -10644,7 +10668,7 @@ function CarouselGallery({
|
|
|
10644
10668
|
"aria-label": `Open photo ${index + 1} fullscreen`,
|
|
10645
10669
|
className: "absolute inset-0 w-full h-full cursor-zoom-in focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
10646
10670
|
children: /* @__PURE__ */ jsx(
|
|
10647
|
-
|
|
10671
|
+
Picture,
|
|
10648
10672
|
{
|
|
10649
10673
|
src: photo.src,
|
|
10650
10674
|
alt: (_a = photo.alt) != null ? _a : `Photo ${index + 1}`,
|
|
@@ -12016,7 +12040,7 @@ function TripCardEditorial(props) {
|
|
|
12016
12040
|
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12017
12041
|
/* @__PURE__ */ jsxs("div", { className: "relative aspect-[4/3] overflow-hidden bg-muted", children: [
|
|
12018
12042
|
/* @__PURE__ */ jsx(
|
|
12019
|
-
|
|
12043
|
+
Picture,
|
|
12020
12044
|
{
|
|
12021
12045
|
src: image,
|
|
12022
12046
|
alt: imageAlt,
|
|
@@ -12107,7 +12131,7 @@ function TripCard(props) {
|
|
|
12107
12131
|
),
|
|
12108
12132
|
children: [
|
|
12109
12133
|
/* @__PURE__ */ jsx(
|
|
12110
|
-
|
|
12134
|
+
Picture,
|
|
12111
12135
|
{
|
|
12112
12136
|
src: image,
|
|
12113
12137
|
alt: imageAlt,
|
|
@@ -12254,7 +12278,7 @@ function TripHeader({
|
|
|
12254
12278
|
),
|
|
12255
12279
|
videoUrl ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12256
12280
|
hasHeroImage ? /* @__PURE__ */ jsx(
|
|
12257
|
-
|
|
12281
|
+
Picture,
|
|
12258
12282
|
{
|
|
12259
12283
|
src: validImages[0],
|
|
12260
12284
|
alt: "",
|
|
@@ -12291,7 +12315,7 @@ function TripHeader({
|
|
|
12291
12315
|
}
|
|
12292
12316
|
)
|
|
12293
12317
|
] }) : hasHeroImage ? /* @__PURE__ */ jsx(
|
|
12294
|
-
|
|
12318
|
+
Picture,
|
|
12295
12319
|
{
|
|
12296
12320
|
src: currentSrc,
|
|
12297
12321
|
alt: title,
|
|
@@ -12868,6 +12892,7 @@ function TripPage({
|
|
|
12868
12892
|
optionalExtras,
|
|
12869
12893
|
accommodation,
|
|
12870
12894
|
accommodationGallery,
|
|
12895
|
+
accommodationGalleryVariant = "gridCompact",
|
|
12871
12896
|
whenItOperates,
|
|
12872
12897
|
food,
|
|
12873
12898
|
foodGallery,
|
|
@@ -13189,7 +13214,7 @@ function TripPage({
|
|
|
13189
13214
|
PhotoGallery,
|
|
13190
13215
|
{
|
|
13191
13216
|
photos: accommodationGallery,
|
|
13192
|
-
variant:
|
|
13217
|
+
variant: accommodationGalleryVariant,
|
|
13193
13218
|
initialVisible: 6
|
|
13194
13219
|
}
|
|
13195
13220
|
) })
|
|
@@ -13270,7 +13295,7 @@ function TripPage({
|
|
|
13270
13295
|
(sectionIcons == null ? void 0 : sectionIcons.weather) ? /* @__PURE__ */ jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.weather }) : /* @__PURE__ */ jsx(SunIcon, { className: "h-5 w-5 text-primary" }),
|
|
13271
13296
|
(_k = labels == null ? void 0 : labels.weather) != null ? _k : "Weather"
|
|
13272
13297
|
] }) }),
|
|
13273
|
-
/* @__PURE__ */ jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsx("div", { className: "
|
|
13298
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: weather }) })
|
|
13274
13299
|
]
|
|
13275
13300
|
}
|
|
13276
13301
|
),
|
|
@@ -14717,6 +14742,6 @@ function AskExo({
|
|
|
14717
14742
|
] });
|
|
14718
14743
|
}
|
|
14719
14744
|
|
|
14720
|
-
export { ActivityCard, AgentContactCard, Alert, AskExo, BirthDateField, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, wrapEmailHtml };
|
|
14745
|
+
export { ActivityCard, AgentContactCard, Alert, AskExo, BirthDateField, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, Picture, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
14721
14746
|
//# sourceMappingURL=index.js.map
|
|
14722
14747
|
//# sourceMappingURL=index.js.map
|