@planetaexo/design-system 0.56.0 → 0.57.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2756,6 +2756,12 @@ interface TripCardProps {
2756
2756
  onFavoriteToggle?: (next: boolean) => void;
2757
2757
  /** Localização/região exibida no rodapé branco (ex.: "Pantanal, Brazil"). */
2758
2758
  location?: string;
2759
+ /**
2760
+ * When set, the location becomes a link to its destination/taxonomy page.
2761
+ * Rendered above the card's own stretched link so it's independently
2762
+ * clickable (no nested anchors).
2763
+ */
2764
+ locationHref?: string;
2759
2765
  /** Nível de dificuldade — renderizado com um dot colorido. */
2760
2766
  difficulty?: TripCardDifficulty;
2761
2767
  /**
@@ -2763,6 +2769,12 @@ interface TripCardProps {
2763
2769
  * (ex.: "Family Adventure", "Private Trip", "Luxury").
2764
2770
  */
2765
2771
  tag?: string;
2772
+ /**
2773
+ * When set, the tag chip becomes a link to its taxonomy/category page.
2774
+ * Rendered above the card's own stretched link so it's independently
2775
+ * clickable (no nested anchors).
2776
+ */
2777
+ tagHref?: string;
2766
2778
  }
2767
2779
  declare function TripCard(props: TripCardProps): react_jsx_runtime.JSX.Element;
2768
2780
 
@@ -3105,6 +3117,13 @@ interface CategoryPage2Props {
3105
3117
  title: string;
3106
3118
  intro?: React.ReactNode;
3107
3119
  heroImage?: string;
3120
+ /**
3121
+ * Optional hero background video. Plays muted/looping over the hero with
3122
+ * `heroImage` as the instant poster (crossfades out once the video is ready).
3123
+ * `.m3u8` URLs stream adaptively via hls.js; plain MP4 plays natively. Falls
3124
+ * back to the static `heroImage` when unset or the video can't play.
3125
+ */
3126
+ videoUrl?: string;
3108
3127
  /**
3109
3128
  * Trustpilot Mini widget rendered above the title in the hero —
3110
3129
  * same configuration shape used in the TripPage pricing sidebar.
@@ -3157,7 +3176,7 @@ interface CategoryPage2Props {
3157
3176
  galleryTitle?: string;
3158
3177
  className?: string;
3159
3178
  }
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;
3179
+ 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
3180
 
3162
3181
  type ActivityCardSize = "sm" | "md" | "lg";
3163
3182
  interface ActivityCardProps {
package/dist/index.d.ts CHANGED
@@ -2756,6 +2756,12 @@ interface TripCardProps {
2756
2756
  onFavoriteToggle?: (next: boolean) => void;
2757
2757
  /** Localização/região exibida no rodapé branco (ex.: "Pantanal, Brazil"). */
2758
2758
  location?: string;
2759
+ /**
2760
+ * When set, the location becomes a link to its destination/taxonomy page.
2761
+ * Rendered above the card's own stretched link so it's independently
2762
+ * clickable (no nested anchors).
2763
+ */
2764
+ locationHref?: string;
2759
2765
  /** Nível de dificuldade — renderizado com um dot colorido. */
2760
2766
  difficulty?: TripCardDifficulty;
2761
2767
  /**
@@ -2763,6 +2769,12 @@ interface TripCardProps {
2763
2769
  * (ex.: "Family Adventure", "Private Trip", "Luxury").
2764
2770
  */
2765
2771
  tag?: string;
2772
+ /**
2773
+ * When set, the tag chip becomes a link to its taxonomy/category page.
2774
+ * Rendered above the card's own stretched link so it's independently
2775
+ * clickable (no nested anchors).
2776
+ */
2777
+ tagHref?: string;
2766
2778
  }
2767
2779
  declare function TripCard(props: TripCardProps): react_jsx_runtime.JSX.Element;
2768
2780
 
@@ -3105,6 +3117,13 @@ interface CategoryPage2Props {
3105
3117
  title: string;
3106
3118
  intro?: React.ReactNode;
3107
3119
  heroImage?: string;
3120
+ /**
3121
+ * Optional hero background video. Plays muted/looping over the hero with
3122
+ * `heroImage` as the instant poster (crossfades out once the video is ready).
3123
+ * `.m3u8` URLs stream adaptively via hls.js; plain MP4 plays natively. Falls
3124
+ * back to the static `heroImage` when unset or the video can't play.
3125
+ */
3126
+ videoUrl?: string;
3108
3127
  /**
3109
3128
  * Trustpilot Mini widget rendered above the title in the hero —
3110
3129
  * same configuration shape used in the TripPage pricing sidebar.
@@ -3157,7 +3176,7 @@ interface CategoryPage2Props {
3157
3176
  galleryTitle?: string;
3158
3177
  className?: string;
3159
3178
  }
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;
3179
+ 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
3180
 
3162
3181
  type ActivityCardSize = "sm" | "md" | "lg";
3163
3182
  interface ActivityCardProps {