@planetaexo/design-system 0.55.0 → 0.57.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 +302 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +272 -185
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2763,6 +2763,12 @@ interface TripCardProps {
|
|
|
2763
2763
|
* (ex.: "Family Adventure", "Private Trip", "Luxury").
|
|
2764
2764
|
*/
|
|
2765
2765
|
tag?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
* When set, the tag chip becomes a link to its taxonomy/category page.
|
|
2768
|
+
* Rendered above the card's own stretched link so it's independently
|
|
2769
|
+
* clickable (no nested anchors).
|
|
2770
|
+
*/
|
|
2771
|
+
tagHref?: string;
|
|
2766
2772
|
}
|
|
2767
2773
|
declare function TripCard(props: TripCardProps): react_jsx_runtime.JSX.Element;
|
|
2768
2774
|
|
|
@@ -3105,6 +3111,13 @@ interface CategoryPage2Props {
|
|
|
3105
3111
|
title: string;
|
|
3106
3112
|
intro?: React.ReactNode;
|
|
3107
3113
|
heroImage?: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Optional hero background video. Plays muted/looping over the hero with
|
|
3116
|
+
* `heroImage` as the instant poster (crossfades out once the video is ready).
|
|
3117
|
+
* `.m3u8` URLs stream adaptively via hls.js; plain MP4 plays natively. Falls
|
|
3118
|
+
* back to the static `heroImage` when unset or the video can't play.
|
|
3119
|
+
*/
|
|
3120
|
+
videoUrl?: string;
|
|
3108
3121
|
/**
|
|
3109
3122
|
* Trustpilot Mini widget rendered above the title in the hero —
|
|
3110
3123
|
* same configuration shape used in the TripPage pricing sidebar.
|
|
@@ -3157,7 +3170,7 @@ interface CategoryPage2Props {
|
|
|
3157
3170
|
galleryTitle?: string;
|
|
3158
3171
|
className?: string;
|
|
3159
3172
|
}
|
|
3160
|
-
declare function CategoryPage2({ title, intro, heroImage, trustpilotMini, breadcrumb, siteHeader, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
3173
|
+
declare function CategoryPage2({ title, intro, heroImage, videoUrl, trustpilotMini, breadcrumb, siteHeader, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
3161
3174
|
|
|
3162
3175
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
3163
3176
|
interface ActivityCardProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -2763,6 +2763,12 @@ interface TripCardProps {
|
|
|
2763
2763
|
* (ex.: "Family Adventure", "Private Trip", "Luxury").
|
|
2764
2764
|
*/
|
|
2765
2765
|
tag?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
* When set, the tag chip becomes a link to its taxonomy/category page.
|
|
2768
|
+
* Rendered above the card's own stretched link so it's independently
|
|
2769
|
+
* clickable (no nested anchors).
|
|
2770
|
+
*/
|
|
2771
|
+
tagHref?: string;
|
|
2766
2772
|
}
|
|
2767
2773
|
declare function TripCard(props: TripCardProps): react_jsx_runtime.JSX.Element;
|
|
2768
2774
|
|
|
@@ -3105,6 +3111,13 @@ interface CategoryPage2Props {
|
|
|
3105
3111
|
title: string;
|
|
3106
3112
|
intro?: React.ReactNode;
|
|
3107
3113
|
heroImage?: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Optional hero background video. Plays muted/looping over the hero with
|
|
3116
|
+
* `heroImage` as the instant poster (crossfades out once the video is ready).
|
|
3117
|
+
* `.m3u8` URLs stream adaptively via hls.js; plain MP4 plays natively. Falls
|
|
3118
|
+
* back to the static `heroImage` when unset or the video can't play.
|
|
3119
|
+
*/
|
|
3120
|
+
videoUrl?: string;
|
|
3108
3121
|
/**
|
|
3109
3122
|
* Trustpilot Mini widget rendered above the title in the hero —
|
|
3110
3123
|
* same configuration shape used in the TripPage pricing sidebar.
|
|
@@ -3157,7 +3170,7 @@ interface CategoryPage2Props {
|
|
|
3157
3170
|
galleryTitle?: string;
|
|
3158
3171
|
className?: string;
|
|
3159
3172
|
}
|
|
3160
|
-
declare function CategoryPage2({ title, intro, heroImage, trustpilotMini, breadcrumb, siteHeader, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
3173
|
+
declare function CategoryPage2({ title, intro, heroImage, videoUrl, trustpilotMini, breadcrumb, siteHeader, popularTours, popularToursTitle, popularToursEyebrow, trips, tripsTitle, tripsEyebrow, filterGroups, sortOptions, defaultSort, tripsInitialCount, trustpilot, reviewsTitle, reviewsSubtitle, blogPosts, aboutTitle, aboutContent, blogIntro, travelGuideHref, travelGuideLabel, blogPostsTitle, blogPostsViewAllHref, faqs, faqsTitle, faqInitialCount, gallery, galleryTitle, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
3161
3174
|
|
|
3162
3175
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
3163
3176
|
interface ActivityCardProps {
|