@planetaexo/design-system 0.93.0 → 0.93.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4174,6 +4174,14 @@ interface CategoryPage2Props {
|
|
|
4174
4174
|
title: string;
|
|
4175
4175
|
intro?: React.ReactNode;
|
|
4176
4176
|
heroImage?: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* Responsive variants of `heroImage` for the LCP `<img>` — same
|
|
4179
|
+
* `srcSet`/`sizes` contract as `TripHeader`, so phones fetch a viewport-
|
|
4180
|
+
* sized cover instead of the full-width desktop one. Optional; the `<img>`
|
|
4181
|
+
* falls back to the single `heroImage` src when they are absent.
|
|
4182
|
+
*/
|
|
4183
|
+
heroImageSrcSet?: string;
|
|
4184
|
+
heroImageSizes?: string;
|
|
4177
4185
|
/**
|
|
4178
4186
|
* Optional hero background video. Plays muted/looping over the hero with
|
|
4179
4187
|
* `heroImage` as the instant poster (crossfades out once the video is ready).
|
|
@@ -4280,7 +4288,7 @@ interface CategoryPage2Props {
|
|
|
4280
4288
|
filterLabels?: FilterPanelLabels;
|
|
4281
4289
|
className?: string;
|
|
4282
4290
|
}
|
|
4283
|
-
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, galleryLightbox, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, footerBadges, footer, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4291
|
+
declare function CategoryPage2({ title, intro, heroImage, heroImageSrcSet, heroImageSizes, 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, galleryLightbox, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, footerBadges, footer, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4284
4292
|
|
|
4285
4293
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
4286
4294
|
interface ActivityCardProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -4174,6 +4174,14 @@ interface CategoryPage2Props {
|
|
|
4174
4174
|
title: string;
|
|
4175
4175
|
intro?: React.ReactNode;
|
|
4176
4176
|
heroImage?: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* Responsive variants of `heroImage` for the LCP `<img>` — same
|
|
4179
|
+
* `srcSet`/`sizes` contract as `TripHeader`, so phones fetch a viewport-
|
|
4180
|
+
* sized cover instead of the full-width desktop one. Optional; the `<img>`
|
|
4181
|
+
* falls back to the single `heroImage` src when they are absent.
|
|
4182
|
+
*/
|
|
4183
|
+
heroImageSrcSet?: string;
|
|
4184
|
+
heroImageSizes?: string;
|
|
4177
4185
|
/**
|
|
4178
4186
|
* Optional hero background video. Plays muted/looping over the hero with
|
|
4179
4187
|
* `heroImage` as the instant poster (crossfades out once the video is ready).
|
|
@@ -4280,7 +4288,7 @@ interface CategoryPage2Props {
|
|
|
4280
4288
|
filterLabels?: FilterPanelLabels;
|
|
4281
4289
|
className?: string;
|
|
4282
4290
|
}
|
|
4283
|
-
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, galleryLightbox, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, footerBadges, footer, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4291
|
+
declare function CategoryPage2({ title, intro, heroImage, heroImageSrcSet, heroImageSizes, 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, galleryLightbox, loadMoreLabel, showLessLabel, seeMoreLabel, viewAllPostsLabel, cardLabels, filterLabels, footerBadges, footer, className, }: CategoryPage2Props): react_jsx_runtime.JSX.Element;
|
|
4284
4292
|
|
|
4285
4293
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
4286
4294
|
interface ActivityCardProps {
|
package/dist/index.js
CHANGED
|
@@ -16430,6 +16430,8 @@ function CategoryPage2({
|
|
|
16430
16430
|
title,
|
|
16431
16431
|
intro,
|
|
16432
16432
|
heroImage,
|
|
16433
|
+
heroImageSrcSet,
|
|
16434
|
+
heroImageSizes,
|
|
16433
16435
|
videoUrl,
|
|
16434
16436
|
trustpilotMini,
|
|
16435
16437
|
breadcrumb,
|
|
@@ -16565,6 +16567,8 @@ function CategoryPage2({
|
|
|
16565
16567
|
"img",
|
|
16566
16568
|
{
|
|
16567
16569
|
src: heroImage,
|
|
16570
|
+
srcSet: heroImageSrcSet,
|
|
16571
|
+
sizes: heroImageSizes,
|
|
16568
16572
|
alt: "",
|
|
16569
16573
|
"aria-hidden": true,
|
|
16570
16574
|
fetchPriority: "high",
|