@planetaexo/design-system 0.69.1 → 0.72.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.cjs +1133 -707
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +162 -92
- package/dist/index.d.ts +162 -92
- package/dist/index.js +1108 -683
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3164,11 +3164,40 @@ interface PhotoGalleryProps {
|
|
|
3164
3164
|
initialVisible?: number;
|
|
3165
3165
|
/** Called when a photo is clicked (in addition to opening the lightbox) */
|
|
3166
3166
|
onPhotoClick?: (src: string, index: number) => void;
|
|
3167
|
+
/**
|
|
3168
|
+
* Which lightbox opens when a photo is tapped.
|
|
3169
|
+
* - `"classic"` — paged single-photo view with prev/next arrows + dots (default).
|
|
3170
|
+
* - `"feed"` — Airbnb "photo tour" style: all photos in one vertical
|
|
3171
|
+
* scrollable column, opened scrolled to the tapped photo.
|
|
3172
|
+
* @default "classic"
|
|
3173
|
+
*/
|
|
3174
|
+
lightbox?: "classic" | "feed";
|
|
3175
|
+
/**
|
|
3176
|
+
* Section label for the unified photo tour. When set AND this gallery is
|
|
3177
|
+
* rendered inside a {@link PhotoTourProvider} (enabled), tapping a photo
|
|
3178
|
+
* opens the shared cross-gallery feed (scrolled to that photo) instead of
|
|
3179
|
+
* this gallery's own lightbox, with the photos grouped under this label.
|
|
3180
|
+
* No-op outside a provider, so it's safe to set unconditionally.
|
|
3181
|
+
*/
|
|
3182
|
+
tourSection?: string;
|
|
3167
3183
|
/** i18n overrides for the "See more (N)" / "Show less" toggle. */
|
|
3168
3184
|
labels?: PhotoGalleryLabels;
|
|
3169
3185
|
className?: string;
|
|
3170
3186
|
}
|
|
3171
|
-
|
|
3187
|
+
interface PhotoTourProviderProps {
|
|
3188
|
+
/** When false, registered galleries fall back to their own lightbox. @default true */
|
|
3189
|
+
enabled?: boolean;
|
|
3190
|
+
/** i18n a11y labels for the shared feed (close button). */
|
|
3191
|
+
labels?: PhotoGalleryLabels;
|
|
3192
|
+
children: React.ReactNode;
|
|
3193
|
+
}
|
|
3194
|
+
/**
|
|
3195
|
+
* Wrap a page (e.g. a trip page) so that every descendant
|
|
3196
|
+
* `<PhotoGallery tourSection="…">` joins one shared, continuously
|
|
3197
|
+
* scrollable "photo tour" feed instead of opening its own lightbox.
|
|
3198
|
+
*/
|
|
3199
|
+
declare function PhotoTourProvider({ enabled, labels, children, }: PhotoTourProviderProps): react_jsx_runtime.JSX.Element;
|
|
3200
|
+
declare function PhotoGallery({ photos, variant, initialVisible, onPhotoClick, labels, lightbox: lightboxMode, tourSection, className, }: PhotoGalleryProps): react_jsx_runtime.JSX.Element | null;
|
|
3172
3201
|
|
|
3173
3202
|
type PricingTripVariant = "card" | "bar" | "compact";
|
|
3174
3203
|
/**
|
|
@@ -3264,6 +3293,11 @@ interface SiteHeaderProps {
|
|
|
3264
3293
|
/** Backwards-compatible single-logo override — applied to both variants when set. */
|
|
3265
3294
|
logoSrc?: string;
|
|
3266
3295
|
logoAlt?: string;
|
|
3296
|
+
/**
|
|
3297
|
+
* Where the logo links. Defaults to `"#"`. Consumers pass their home URL
|
|
3298
|
+
* (locale-aware in multilingual sites, e.g. `/`, `/pt`, `/de`).
|
|
3299
|
+
*/
|
|
3300
|
+
logoHref?: string;
|
|
3267
3301
|
languages?: SiteHeaderLanguage[];
|
|
3268
3302
|
currentLanguage?: string;
|
|
3269
3303
|
onLanguageChange?: (code: string) => void;
|
|
@@ -3290,7 +3324,7 @@ interface SiteHeaderLabels {
|
|
|
3290
3324
|
}
|
|
3291
3325
|
declare const DEFAULT_HEADER_LINKS: SiteHeaderLink[];
|
|
3292
3326
|
declare const DEFAULT_LANGUAGES: SiteHeaderLanguage[];
|
|
3293
|
-
declare function SiteHeader({ variant, links, logoSrcLight, logoSrcDark, logoSrc, logoAlt, languages, currentLanguage, onLanguageChange, onSearch, onAccount, position, labels, className, }: SiteHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3327
|
+
declare function SiteHeader({ variant, links, logoSrcLight, logoSrcDark, logoSrc, logoAlt, logoHref, languages, currentLanguage, onLanguageChange, onSearch, onAccount, position, labels, className, }: SiteHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3294
3328
|
|
|
3295
3329
|
declare function ThemeToggle({ className }: {
|
|
3296
3330
|
className?: string;
|
|
@@ -3325,6 +3359,10 @@ interface TripCardLabels {
|
|
|
3325
3359
|
addToFavorites?: string;
|
|
3326
3360
|
/** Favorite button aria-label when favorited. @default "Remove from favorites" */
|
|
3327
3361
|
removeFromFavorites?: string;
|
|
3362
|
+
/** Word after a single review ("4.9 · 1 review"). @default "review" */
|
|
3363
|
+
review?: string;
|
|
3364
|
+
/** Word after the review count ("4.9 · 34 reviews"). @default "reviews" */
|
|
3365
|
+
reviews?: string;
|
|
3328
3366
|
}
|
|
3329
3367
|
interface TripCardProps {
|
|
3330
3368
|
/** URL da imagem de capa */
|
|
@@ -3367,6 +3405,15 @@ interface TripCardProps {
|
|
|
3367
3405
|
locationHref?: string;
|
|
3368
3406
|
/** Nível de dificuldade — renderizado com um dot colorido. */
|
|
3369
3407
|
difficulty?: TripCardDifficulty;
|
|
3408
|
+
/**
|
|
3409
|
+
* Average star rating for this trip (e.g. 4.9). When > 0, the editorial card
|
|
3410
|
+
* renders a star + value (+ `reviewCount`) in the white body. Sourced from the
|
|
3411
|
+
* trip's own reviews so the listing's visible rating matches the per-trip
|
|
3412
|
+
* AggregateRating structured data (Google requires marked-up ratings be visible).
|
|
3413
|
+
*/
|
|
3414
|
+
rating?: number;
|
|
3415
|
+
/** Number of reviews behind `rating` — shown as "· 34 reviews". */
|
|
3416
|
+
reviewCount?: number;
|
|
3370
3417
|
/**
|
|
3371
3418
|
* Tour-type tag rendered as a chip at the top-left of the image
|
|
3372
3419
|
* (ex.: "Family Adventure", "Private Trip", "Luxury").
|
|
@@ -3620,6 +3667,93 @@ interface TripHeaderProps {
|
|
|
3620
3667
|
}
|
|
3621
3668
|
declare function TripHeader({ images, videoUrl, title, breadcrumb, destination, duration, groupSize, labels, tagline, chips, belowMeta, siteHeader, uiVariant, className, }: TripHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3622
3669
|
|
|
3670
|
+
interface SiteFooterChip {
|
|
3671
|
+
label: string;
|
|
3672
|
+
href: string;
|
|
3673
|
+
}
|
|
3674
|
+
interface SiteFooterLink {
|
|
3675
|
+
label: string;
|
|
3676
|
+
href: string;
|
|
3677
|
+
}
|
|
3678
|
+
interface SiteFooterLanguage {
|
|
3679
|
+
/** Locale code shown as the trigger label — e.g. "EN", "NL". */
|
|
3680
|
+
code: string;
|
|
3681
|
+
/** Human-friendly name shown next to the code in the dropdown. */
|
|
3682
|
+
label: string;
|
|
3683
|
+
}
|
|
3684
|
+
interface SiteFooterBadge {
|
|
3685
|
+
/** Image src. Optional when `node` is provided. */
|
|
3686
|
+
src?: string;
|
|
3687
|
+
alt: string;
|
|
3688
|
+
href?: string;
|
|
3689
|
+
/** Image height in px. Defaults to 56. Ignored when `node` is provided. */
|
|
3690
|
+
height?: number;
|
|
3691
|
+
/** Override with a custom React node (e.g. inline SVG). */
|
|
3692
|
+
node?: React.ReactNode;
|
|
3693
|
+
}
|
|
3694
|
+
interface SiteFooterSocial {
|
|
3695
|
+
network: "facebook" | "instagram" | "linkedin" | "youtube" | "twitter";
|
|
3696
|
+
href: string;
|
|
3697
|
+
label?: string;
|
|
3698
|
+
}
|
|
3699
|
+
interface SiteFooterAddress {
|
|
3700
|
+
title: string;
|
|
3701
|
+
lines: string[];
|
|
3702
|
+
}
|
|
3703
|
+
type SiteFooterVariant = "light" | "dark";
|
|
3704
|
+
interface SiteFooterProps {
|
|
3705
|
+
variant?: SiteFooterVariant;
|
|
3706
|
+
/** Brand name shown when no logo is rendered, used in copyright fallback. */
|
|
3707
|
+
brandTitle?: string;
|
|
3708
|
+
/** Logo used on the dark variant. Defaults to the white PlanetaEXO mark. */
|
|
3709
|
+
logoSrcLight?: string;
|
|
3710
|
+
/** Logo used on the light variant. Defaults to the green PlanetaEXO mark. */
|
|
3711
|
+
logoSrcDark?: string;
|
|
3712
|
+
/** Single-logo override — applies to both variants when set. */
|
|
3713
|
+
logoSrc?: string;
|
|
3714
|
+
logoAlt?: string;
|
|
3715
|
+
/** Optional href wrapping the logo. */
|
|
3716
|
+
logoHref?: string;
|
|
3717
|
+
/** Longer disclaimer / legal copy under the logo. */
|
|
3718
|
+
brandDescription?: React.ReactNode;
|
|
3719
|
+
/** Member / association badges rendered under the description. */
|
|
3720
|
+
badges?: SiteFooterBadge[];
|
|
3721
|
+
languages?: SiteFooterLanguage[];
|
|
3722
|
+
currentLanguage?: string;
|
|
3723
|
+
onLanguageChange?: (code: string) => void;
|
|
3724
|
+
address?: SiteFooterAddress;
|
|
3725
|
+
phone?: string;
|
|
3726
|
+
email?: string;
|
|
3727
|
+
socials?: SiteFooterSocial[];
|
|
3728
|
+
themesTitle?: string;
|
|
3729
|
+
themes?: SiteFooterChip[];
|
|
3730
|
+
destinationsTitle?: string;
|
|
3731
|
+
destinations?: SiteFooterChip[];
|
|
3732
|
+
destinationsMore?: {
|
|
3733
|
+
label: string;
|
|
3734
|
+
href: string;
|
|
3735
|
+
};
|
|
3736
|
+
pagesTitle?: string;
|
|
3737
|
+
pages?: SiteFooterLink[];
|
|
3738
|
+
/** Highlighted CTA under the Pages column — e.g. partnerships email. */
|
|
3739
|
+
cta?: {
|
|
3740
|
+
title: string;
|
|
3741
|
+
label: string;
|
|
3742
|
+
href: string;
|
|
3743
|
+
};
|
|
3744
|
+
copyright?: string;
|
|
3745
|
+
legalLinks?: SiteFooterLink[];
|
|
3746
|
+
className?: string;
|
|
3747
|
+
}
|
|
3748
|
+
declare const DEFAULT_FOOTER_THEMES: SiteFooterChip[];
|
|
3749
|
+
declare const DEFAULT_FOOTER_DESTINATIONS: SiteFooterChip[];
|
|
3750
|
+
declare const DEFAULT_FOOTER_PAGES: SiteFooterLink[];
|
|
3751
|
+
declare const DEFAULT_FOOTER_LEGAL: SiteFooterLink[];
|
|
3752
|
+
declare const DEFAULT_FOOTER_LANGUAGES: SiteFooterLanguage[];
|
|
3753
|
+
declare const DEFAULT_FOOTER_SOCIALS: SiteFooterSocial[];
|
|
3754
|
+
declare const DEFAULT_FOOTER_BADGES: SiteFooterBadge[];
|
|
3755
|
+
declare function SiteFooter({ variant, brandTitle, logoSrcLight, logoSrcDark, logoSrc, logoAlt, logoHref, brandDescription, badges, languages, currentLanguage, onLanguageChange, address, phone, email, socials, themesTitle, themes, destinationsTitle, destinations, destinationsMore, pagesTitle, pages, cta, copyright, legalLinks, className, }: SiteFooterProps): react_jsx_runtime.JSX.Element;
|
|
3756
|
+
|
|
3623
3757
|
interface TripHighlight {
|
|
3624
3758
|
label: string;
|
|
3625
3759
|
icon?: React.ReactNode;
|
|
@@ -3730,6 +3864,8 @@ interface TripPageLabels {
|
|
|
3730
3864
|
faq?: string;
|
|
3731
3865
|
/** Section nav + section heading: "What our guests think" */
|
|
3732
3866
|
reviews?: string;
|
|
3867
|
+
/** Section heading: "Gallery" — also the photo-tour section label for the main gallery. */
|
|
3868
|
+
gallery?: string;
|
|
3733
3869
|
/** Expand control on the FAQ list + photo galleries: "See more" (count appended). */
|
|
3734
3870
|
seeMore?: string;
|
|
3735
3871
|
/** Collapse control on the FAQ list + photo galleries: "Show less". */
|
|
@@ -3797,6 +3933,14 @@ interface TripPageProps {
|
|
|
3797
3933
|
*/
|
|
3798
3934
|
itineraryDays?: TripItineraryDay[];
|
|
3799
3935
|
gallery?: (string | PhotoGalleryPhoto)[];
|
|
3936
|
+
/**
|
|
3937
|
+
* Lightbox mode for the main photo gallery when a photo is tapped.
|
|
3938
|
+
* - `"classic"` — paged single-photo view with prev/next arrows (default).
|
|
3939
|
+
* - `"feed"` — Airbnb "photo tour": one vertical scrollable column of every
|
|
3940
|
+
* photo, opened scrolled to the tapped one.
|
|
3941
|
+
* @default "classic"
|
|
3942
|
+
*/
|
|
3943
|
+
galleryLightbox?: "classic" | "feed";
|
|
3800
3944
|
included?: string[];
|
|
3801
3945
|
notIncluded?: string[];
|
|
3802
3946
|
whatToBring?: string[];
|
|
@@ -3909,13 +4053,20 @@ interface TripPageProps {
|
|
|
3909
4053
|
* override variant / logo from a consuming page.
|
|
3910
4054
|
*/
|
|
3911
4055
|
siteHeader?: boolean | SiteHeaderLink[] | TripSiteHeaderConfig;
|
|
4056
|
+
/**
|
|
4057
|
+
* Override the footer membership badges. Passed straight to the internal
|
|
4058
|
+
* `<SiteFooter badges>`; when omitted the DS defaults render. Lets a
|
|
4059
|
+
* consuming page swap in optimized/lazy badge nodes instead of the heavy
|
|
4060
|
+
* default PNGs (the defaults are large source images loaded eagerly).
|
|
4061
|
+
*/
|
|
4062
|
+
footerBadges?: SiteFooterBadge[];
|
|
3912
4063
|
/** Preset de layout (ilha WP / styleguide). @default v1 */
|
|
3913
4064
|
uiVariant?: "v1" | "v2";
|
|
3914
4065
|
/** Feature flags para ramos de UI sem duplicar componentes. */
|
|
3915
4066
|
features?: Record<string, boolean>;
|
|
3916
4067
|
className?: string;
|
|
3917
4068
|
}
|
|
3918
|
-
declare function TripPage({ title, tagline, destination, duration, groupSize, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, accommodationGalleryVariant, whenItOperates, food, foodGallery, foodGalleryVariant, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, onBookingSubmit, bookingLoading, bookingDefaults, bookingLabels, bookLabel, fromLabel, perPersonLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
4069
|
+
declare function TripPage({ title, tagline, destination, duration, groupSize, images, videoUrl, breadcrumb, chips, highlights, howToGetThere, recommendedFor, overview, overviewHighlights, itinerary, itineraryDays, gallery, galleryLightbox, included, notIncluded, whatToBring, weather, optionalExtras, accommodation, accommodationGallery, accommodationGalleryVariant, whenItOperates, food, foodGallery, foodGalleryVariant, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, labels, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, onBookingSubmit, bookingLoading, bookingDefaults, bookingLabels, bookLabel, fromLabel, perPersonLabel, siteHeader, footerBadges, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
3919
4070
|
|
|
3920
4071
|
interface Category2Trip extends TripCardProps {
|
|
3921
4072
|
/** Marca a trip como featured — sobe para o topo do grid principal. */
|
|
@@ -3975,6 +4126,12 @@ interface CategoryPage2Props {
|
|
|
3975
4126
|
* {@link TripSiteHeaderConfig} to wire languages + onLanguageChange.
|
|
3976
4127
|
*/
|
|
3977
4128
|
siteHeader?: boolean | SiteHeaderLink[] | TripSiteHeaderConfig;
|
|
4129
|
+
/**
|
|
4130
|
+
* Override the footer membership badges (passed to the internal
|
|
4131
|
+
* `<SiteFooter badges>`). Defaults to the DS badges when omitted; lets a
|
|
4132
|
+
* page swap in optimized/lazy badge nodes instead of the heavy default PNGs.
|
|
4133
|
+
*/
|
|
4134
|
+
footerBadges?: SiteFooterBadge[];
|
|
3978
4135
|
/**
|
|
3979
4136
|
* Optional node pinned to the top-right of the hero content (below the
|
|
3980
4137
|
* overlay header, aligned with the breadcrumb/title). Used e.g. for a
|
|
@@ -4037,7 +4194,7 @@ interface CategoryPage2Props {
|
|
|
4037
4194
|
filterLabels?: FilterPanelLabels;
|
|
4038
4195
|
className?: string;
|
|
4039
4196
|
}
|
|
4040
|
-
declare function CategoryPage2({ title, intro, heroImage, videoUrl, trustpilotMini, breadcrumb, siteHeader, heroRightSlot, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, tripListingSlot, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4197
|
+
declare function CategoryPage2({ title, intro, heroImage, videoUrl, trustpilotMini, breadcrumb, siteHeader, heroRightSlot, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, tripListingSlot, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, footerBadges, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4041
4198
|
|
|
4042
4199
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
4043
4200
|
interface ActivityCardProps {
|
|
@@ -4940,93 +5097,6 @@ interface USPProps {
|
|
|
4940
5097
|
}
|
|
4941
5098
|
declare function USP({ items, heading, subheading, columns, variant, theme, className, }: USPProps): react_jsx_runtime.JSX.Element;
|
|
4942
5099
|
|
|
4943
|
-
interface SiteFooterChip {
|
|
4944
|
-
label: string;
|
|
4945
|
-
href: string;
|
|
4946
|
-
}
|
|
4947
|
-
interface SiteFooterLink {
|
|
4948
|
-
label: string;
|
|
4949
|
-
href: string;
|
|
4950
|
-
}
|
|
4951
|
-
interface SiteFooterLanguage {
|
|
4952
|
-
/** Locale code shown as the trigger label — e.g. "EN", "NL". */
|
|
4953
|
-
code: string;
|
|
4954
|
-
/** Human-friendly name shown next to the code in the dropdown. */
|
|
4955
|
-
label: string;
|
|
4956
|
-
}
|
|
4957
|
-
interface SiteFooterBadge {
|
|
4958
|
-
/** Image src. Optional when `node` is provided. */
|
|
4959
|
-
src?: string;
|
|
4960
|
-
alt: string;
|
|
4961
|
-
href?: string;
|
|
4962
|
-
/** Image height in px. Defaults to 56. Ignored when `node` is provided. */
|
|
4963
|
-
height?: number;
|
|
4964
|
-
/** Override with a custom React node (e.g. inline SVG). */
|
|
4965
|
-
node?: React.ReactNode;
|
|
4966
|
-
}
|
|
4967
|
-
interface SiteFooterSocial {
|
|
4968
|
-
network: "facebook" | "instagram" | "linkedin" | "youtube" | "twitter";
|
|
4969
|
-
href: string;
|
|
4970
|
-
label?: string;
|
|
4971
|
-
}
|
|
4972
|
-
interface SiteFooterAddress {
|
|
4973
|
-
title: string;
|
|
4974
|
-
lines: string[];
|
|
4975
|
-
}
|
|
4976
|
-
type SiteFooterVariant = "light" | "dark";
|
|
4977
|
-
interface SiteFooterProps {
|
|
4978
|
-
variant?: SiteFooterVariant;
|
|
4979
|
-
/** Brand name shown when no logo is rendered, used in copyright fallback. */
|
|
4980
|
-
brandTitle?: string;
|
|
4981
|
-
/** Logo used on the dark variant. Defaults to the white PlanetaEXO mark. */
|
|
4982
|
-
logoSrcLight?: string;
|
|
4983
|
-
/** Logo used on the light variant. Defaults to the green PlanetaEXO mark. */
|
|
4984
|
-
logoSrcDark?: string;
|
|
4985
|
-
/** Single-logo override — applies to both variants when set. */
|
|
4986
|
-
logoSrc?: string;
|
|
4987
|
-
logoAlt?: string;
|
|
4988
|
-
/** Optional href wrapping the logo. */
|
|
4989
|
-
logoHref?: string;
|
|
4990
|
-
/** Longer disclaimer / legal copy under the logo. */
|
|
4991
|
-
brandDescription?: React.ReactNode;
|
|
4992
|
-
/** Member / association badges rendered under the description. */
|
|
4993
|
-
badges?: SiteFooterBadge[];
|
|
4994
|
-
languages?: SiteFooterLanguage[];
|
|
4995
|
-
currentLanguage?: string;
|
|
4996
|
-
onLanguageChange?: (code: string) => void;
|
|
4997
|
-
address?: SiteFooterAddress;
|
|
4998
|
-
phone?: string;
|
|
4999
|
-
email?: string;
|
|
5000
|
-
socials?: SiteFooterSocial[];
|
|
5001
|
-
themesTitle?: string;
|
|
5002
|
-
themes?: SiteFooterChip[];
|
|
5003
|
-
destinationsTitle?: string;
|
|
5004
|
-
destinations?: SiteFooterChip[];
|
|
5005
|
-
destinationsMore?: {
|
|
5006
|
-
label: string;
|
|
5007
|
-
href: string;
|
|
5008
|
-
};
|
|
5009
|
-
pagesTitle?: string;
|
|
5010
|
-
pages?: SiteFooterLink[];
|
|
5011
|
-
/** Highlighted CTA under the Pages column — e.g. partnerships email. */
|
|
5012
|
-
cta?: {
|
|
5013
|
-
title: string;
|
|
5014
|
-
label: string;
|
|
5015
|
-
href: string;
|
|
5016
|
-
};
|
|
5017
|
-
copyright?: string;
|
|
5018
|
-
legalLinks?: SiteFooterLink[];
|
|
5019
|
-
className?: string;
|
|
5020
|
-
}
|
|
5021
|
-
declare const DEFAULT_FOOTER_THEMES: SiteFooterChip[];
|
|
5022
|
-
declare const DEFAULT_FOOTER_DESTINATIONS: SiteFooterChip[];
|
|
5023
|
-
declare const DEFAULT_FOOTER_PAGES: SiteFooterLink[];
|
|
5024
|
-
declare const DEFAULT_FOOTER_LEGAL: SiteFooterLink[];
|
|
5025
|
-
declare const DEFAULT_FOOTER_LANGUAGES: SiteFooterLanguage[];
|
|
5026
|
-
declare const DEFAULT_FOOTER_SOCIALS: SiteFooterSocial[];
|
|
5027
|
-
declare const DEFAULT_FOOTER_BADGES: SiteFooterBadge[];
|
|
5028
|
-
declare function SiteFooter({ variant, brandTitle, logoSrcLight, logoSrcDark, logoSrc, logoAlt, logoHref, brandDescription, badges, languages, currentLanguage, onLanguageChange, address, phone, email, socials, themesTitle, themes, destinationsTitle, destinations, destinationsMore, pagesTitle, pages, cta, copyright, legalLinks, className, }: SiteFooterProps): react_jsx_runtime.JSX.Element;
|
|
5029
|
-
|
|
5030
5100
|
interface CtaBannerCta {
|
|
5031
5101
|
label: string;
|
|
5032
5102
|
href?: string;
|
|
@@ -5233,4 +5303,4 @@ interface SegmentedControlProps {
|
|
|
5233
5303
|
}
|
|
5234
5304
|
declare function SegmentedControl({ items, value, defaultValue, onValueChange, variant, size, fullWidth, collapse, "aria-label": ariaLabel, className, }: SegmentedControlProps): react_jsx_runtime.JSX.Element;
|
|
5235
5305
|
|
|
5236
|
-
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AdventureExplorer, type AdventureExplorerProps, 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, BlogJournal, type BlogJournalFeature, type BlogJournalPost, type BlogJournalProps, 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, BookingPartialCancellationEmail, type BookingPartialCancellationEmailLabels, type BookingPartialCancellationEmailProps, 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, CancellationForm, type CancellationFormAdventure, type CancellationFormLabels, type CancellationFormOption, type CancellationFormParticipant, type CancellationFormProps, type CancellationFormValues, type CancellationRequestReceivedAdventure, type CancellationRequestReceivedAgentContactLinks, CancellationRequestReceivedEmail, type CancellationRequestReceivedEmailLabels, type CancellationRequestReceivedEmailProps, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, Chip, type ChipProps, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, type CurrencyEstimate, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, 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 ExploreCard, type ExploreTab, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, HomeHeader, type HomeHeaderCta, type HomeHeaderPressLogo, type HomeHeaderProps, type HomeHeaderRating, type HomeSiteHeaderConfig, 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, NewHome, type NewHomeExpeditions, type NewHomePopular, type NewHomePopularChip, type NewHomeProps, type NewHomeReview, type NewHomeReviews, type NewHomeSectionHead, type NewHomeSectionLink, type NewHomeStat, type NewHomeStats, 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 PartialCancellationAgentContactLinks, type PartialCancellationRemovedItem, 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, type SegmentItem, SegmentedControl, type SegmentedControlProps, ShareWidget, type ShareWidgetProps, SiteFooter, type SiteFooterAddress, type SiteFooterBadge, type SiteFooterChip, type SiteFooterLanguage, type SiteFooterLink, type SiteFooterProps, type SiteFooterSocial, type SiteFooterVariant, 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, USP, type USPItem, type USPProps, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
5306
|
+
export { type AccommodationRoomItem, ActivityCard, type ActivityCardProps, type ActivityCardSize, AdventureExplorer, type AdventureExplorerProps, 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, BlogJournal, type BlogJournalFeature, type BlogJournalPost, type BlogJournalProps, 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, BookingPartialCancellationEmail, type BookingPartialCancellationEmailLabels, type BookingPartialCancellationEmailProps, 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, CancellationForm, type CancellationFormAdventure, type CancellationFormLabels, type CancellationFormOption, type CancellationFormParticipant, type CancellationFormProps, type CancellationFormValues, type CancellationRequestReceivedAdventure, type CancellationRequestReceivedAgentContactLinks, CancellationRequestReceivedEmail, type CancellationRequestReceivedEmailLabels, type CancellationRequestReceivedEmailProps, type Category2BlogPost, type Category2Faq, type Category2SortOption, type Category2Trip, CategoryPage2, type CategoryPage2Props, Chip, type ChipProps, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, type CurrencyEstimate, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, 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 ExploreCard, type ExploreTab, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, GroupProgressBar, type GroupProgressBarProps, GroupStatusBanner, type GroupStatusBannerProps, HomeHeader, type HomeHeaderCta, type HomeHeaderPressLogo, type HomeHeaderProps, type HomeHeaderRating, type HomeSiteHeaderConfig, 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, NewHome, type NewHomeExpeditions, type NewHomePopular, type NewHomePopularChip, type NewHomeProps, type NewHomeReview, type NewHomeReviews, type NewHomeSectionHead, type NewHomeSectionLink, type NewHomeStat, type NewHomeStats, 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 PartialCancellationAgentContactLinks, type PartialCancellationRemovedItem, 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, PhotoTourProvider, type PhotoTourProviderProps, 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, type SegmentItem, SegmentedControl, type SegmentedControlProps, ShareWidget, type ShareWidgetProps, SiteFooter, type SiteFooterAddress, type SiteFooterBadge, type SiteFooterChip, type SiteFooterLanguage, type SiteFooterLink, type SiteFooterProps, type SiteFooterSocial, type SiteFooterVariant, 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, USP, type USPItem, type USPProps, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|