@planetaexo/design-system 0.46.1 → 0.46.2
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 +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2667,6 +2667,7 @@ interface TripSectionIcons {
|
|
|
2667
2667
|
itinerary?: React.ReactNode;
|
|
2668
2668
|
whatIsIncluded?: React.ReactNode;
|
|
2669
2669
|
/** Accordion sections */
|
|
2670
|
+
whenItOperates?: React.ReactNode;
|
|
2670
2671
|
howToGetThere?: React.ReactNode;
|
|
2671
2672
|
meetingPoint?: React.ReactNode;
|
|
2672
2673
|
optionalExtras?: React.ReactNode;
|
|
@@ -2718,6 +2719,7 @@ interface TripPageProps {
|
|
|
2718
2719
|
weather?: React.ReactNode;
|
|
2719
2720
|
optionalExtras?: React.ReactNode;
|
|
2720
2721
|
accommodation?: React.ReactNode;
|
|
2722
|
+
whenItOperates?: React.ReactNode;
|
|
2721
2723
|
food?: React.ReactNode;
|
|
2722
2724
|
termsAndConditions?: React.ReactNode;
|
|
2723
2725
|
meetingPoints?: TripMeetingPoint[];
|
|
@@ -2773,7 +2775,7 @@ interface TripPageProps {
|
|
|
2773
2775
|
features?: Record<string, boolean>;
|
|
2774
2776
|
className?: string;
|
|
2775
2777
|
}
|
|
2776
|
-
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, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2778
|
+
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, whenItOperates, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2777
2779
|
|
|
2778
2780
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
2779
2781
|
interface ActivityCardProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -2667,6 +2667,7 @@ interface TripSectionIcons {
|
|
|
2667
2667
|
itinerary?: React.ReactNode;
|
|
2668
2668
|
whatIsIncluded?: React.ReactNode;
|
|
2669
2669
|
/** Accordion sections */
|
|
2670
|
+
whenItOperates?: React.ReactNode;
|
|
2670
2671
|
howToGetThere?: React.ReactNode;
|
|
2671
2672
|
meetingPoint?: React.ReactNode;
|
|
2672
2673
|
optionalExtras?: React.ReactNode;
|
|
@@ -2718,6 +2719,7 @@ interface TripPageProps {
|
|
|
2718
2719
|
weather?: React.ReactNode;
|
|
2719
2720
|
optionalExtras?: React.ReactNode;
|
|
2720
2721
|
accommodation?: React.ReactNode;
|
|
2722
|
+
whenItOperates?: React.ReactNode;
|
|
2721
2723
|
food?: React.ReactNode;
|
|
2722
2724
|
termsAndConditions?: React.ReactNode;
|
|
2723
2725
|
meetingPoints?: TripMeetingPoint[];
|
|
@@ -2773,7 +2775,7 @@ interface TripPageProps {
|
|
|
2773
2775
|
features?: Record<string, boolean>;
|
|
2774
2776
|
className?: string;
|
|
2775
2777
|
}
|
|
2776
|
-
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, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2778
|
+
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, whenItOperates, food, termsAndConditions, meetingPoints, meetingPoint, faqs, faqInitialCount, sectionIcons, reviews, trustpilot, trustpilotMini, trustpilotHero, priceFrom, currency, season, departureTimes, benefits, currencyEstimates, priceInfo, onBook, bookLabel, siteHeader, uiVariant, features, className, }: TripPageProps): react_jsx_runtime.JSX.Element;
|
|
2777
2779
|
|
|
2778
2780
|
type ActivityCardSize = "sm" | "md" | "lg";
|
|
2779
2781
|
interface ActivityCardProps {
|
package/dist/index.js
CHANGED
|
@@ -12484,6 +12484,7 @@ function TripPage({
|
|
|
12484
12484
|
weather,
|
|
12485
12485
|
optionalExtras,
|
|
12486
12486
|
accommodation,
|
|
12487
|
+
whenItOperates,
|
|
12487
12488
|
food,
|
|
12488
12489
|
termsAndConditions,
|
|
12489
12490
|
meetingPoints,
|
|
@@ -12514,6 +12515,7 @@ function TripPage({
|
|
|
12514
12515
|
const [faqsExpanded, setFaqsExpanded] = React28.useState(false);
|
|
12515
12516
|
const accordionSectionIds = React28.useMemo(
|
|
12516
12517
|
() => /* @__PURE__ */ new Set([
|
|
12518
|
+
"when-it-operates",
|
|
12517
12519
|
"how-to-get-there",
|
|
12518
12520
|
"what-to-bring",
|
|
12519
12521
|
"weather",
|
|
@@ -12546,6 +12548,7 @@ function TripPage({
|
|
|
12546
12548
|
},
|
|
12547
12549
|
{ id: "included", label: "What is Included", show: !!(included == null ? void 0 : included.length) },
|
|
12548
12550
|
{ id: "what-to-bring", label: "What to Bring", show: !!(whatToBring == null ? void 0 : whatToBring.length) },
|
|
12551
|
+
{ id: "when-it-operates", label: "When this tour operates", show: !!whenItOperates },
|
|
12549
12552
|
{ id: "accommodation", label: "Accommodation", show: !!accommodation },
|
|
12550
12553
|
{ id: "terms", label: "Terms", show: !!termsAndConditions },
|
|
12551
12554
|
{ id: "faq", label: "FAQ", show: !!(faqs == null ? void 0 : faqs.length) },
|
|
@@ -12756,7 +12759,7 @@ function TripPage({
|
|
|
12756
12759
|
}
|
|
12757
12760
|
)
|
|
12758
12761
|
] }),
|
|
12759
|
-
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions) && /* @__PURE__ */ jsxs(
|
|
12762
|
+
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxs(
|
|
12760
12763
|
Accordion,
|
|
12761
12764
|
{
|
|
12762
12765
|
multiple: false,
|
|
@@ -12764,6 +12767,21 @@ function TripPage({
|
|
|
12764
12767
|
onValueChange: setAccordionValue,
|
|
12765
12768
|
className: "border-t border-border",
|
|
12766
12769
|
children: [
|
|
12770
|
+
whenItOperates && /* @__PURE__ */ jsxs(
|
|
12771
|
+
AccordionItem,
|
|
12772
|
+
{
|
|
12773
|
+
value: "when-it-operates",
|
|
12774
|
+
id: "trip-section-when-it-operates",
|
|
12775
|
+
className: "scroll-mt-20 border-b border-border",
|
|
12776
|
+
children: [
|
|
12777
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "py-5 text-xl font-bold text-foreground font-heading hover:no-underline", children: /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
|
|
12778
|
+
(sectionIcons == null ? void 0 : sectionIcons.whenItOperates) ? /* @__PURE__ */ jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.whenItOperates }) : /* @__PURE__ */ jsx(CalendarIcon, { className: "h-5 w-5 text-primary" }),
|
|
12779
|
+
"When this tour operates"
|
|
12780
|
+
] }) }),
|
|
12781
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-bold [&_a]:text-primary [&_a]:underline", children: whenItOperates }) })
|
|
12782
|
+
]
|
|
12783
|
+
}
|
|
12784
|
+
),
|
|
12767
12785
|
accommodation && /* @__PURE__ */ jsxs(
|
|
12768
12786
|
AccordionItem,
|
|
12769
12787
|
{
|