@planetaexo/design-system 0.46.0 → 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 +20 -2
- 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 +20 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3808,7 +3808,7 @@ function BookingDetails({
|
|
|
3808
3808
|
(_a2 = contact.postalCode) == null ? void 0 : _a2.trim()
|
|
3809
3809
|
].filter((p) => p && p.length > 0);
|
|
3810
3810
|
if (parts.length === 0) return null;
|
|
3811
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
3811
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3812
3812
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-bold text-muted-foreground/60 font-heading uppercase tracking-widest mb-0.5", children: (_c2 = (_b2 = labels == null ? void 0 : labels.contactDetailsFields) == null ? void 0 : _b2.address) != null ? _c2 : "Address" }),
|
|
3813
3813
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-foreground font-sans whitespace-pre-line", children: parts.join("\n") })
|
|
3814
3814
|
] });
|
|
@@ -12505,6 +12505,7 @@ function TripPage({
|
|
|
12505
12505
|
weather,
|
|
12506
12506
|
optionalExtras,
|
|
12507
12507
|
accommodation,
|
|
12508
|
+
whenItOperates,
|
|
12508
12509
|
food,
|
|
12509
12510
|
termsAndConditions,
|
|
12510
12511
|
meetingPoints,
|
|
@@ -12535,6 +12536,7 @@ function TripPage({
|
|
|
12535
12536
|
const [faqsExpanded, setFaqsExpanded] = React28__namespace.useState(false);
|
|
12536
12537
|
const accordionSectionIds = React28__namespace.useMemo(
|
|
12537
12538
|
() => /* @__PURE__ */ new Set([
|
|
12539
|
+
"when-it-operates",
|
|
12538
12540
|
"how-to-get-there",
|
|
12539
12541
|
"what-to-bring",
|
|
12540
12542
|
"weather",
|
|
@@ -12567,6 +12569,7 @@ function TripPage({
|
|
|
12567
12569
|
},
|
|
12568
12570
|
{ id: "included", label: "What is Included", show: !!(included == null ? void 0 : included.length) },
|
|
12569
12571
|
{ id: "what-to-bring", label: "What to Bring", show: !!(whatToBring == null ? void 0 : whatToBring.length) },
|
|
12572
|
+
{ id: "when-it-operates", label: "When this tour operates", show: !!whenItOperates },
|
|
12570
12573
|
{ id: "accommodation", label: "Accommodation", show: !!accommodation },
|
|
12571
12574
|
{ id: "terms", label: "Terms", show: !!termsAndConditions },
|
|
12572
12575
|
{ id: "faq", label: "FAQ", show: !!(faqs == null ? void 0 : faqs.length) },
|
|
@@ -12777,7 +12780,7 @@ function TripPage({
|
|
|
12777
12780
|
}
|
|
12778
12781
|
)
|
|
12779
12782
|
] }),
|
|
12780
|
-
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12783
|
+
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12781
12784
|
Accordion,
|
|
12782
12785
|
{
|
|
12783
12786
|
multiple: false,
|
|
@@ -12785,6 +12788,21 @@ function TripPage({
|
|
|
12785
12788
|
onValueChange: setAccordionValue,
|
|
12786
12789
|
className: "border-t border-border",
|
|
12787
12790
|
children: [
|
|
12791
|
+
whenItOperates && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12792
|
+
AccordionItem,
|
|
12793
|
+
{
|
|
12794
|
+
value: "when-it-operates",
|
|
12795
|
+
id: "trip-section-when-it-operates",
|
|
12796
|
+
className: "scroll-mt-20 border-b border-border",
|
|
12797
|
+
children: [
|
|
12798
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "py-5 text-xl font-bold text-foreground font-heading hover:no-underline", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-2", children: [
|
|
12799
|
+
(sectionIcons == null ? void 0 : sectionIcons.whenItOperates) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.whenItOperates }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarIcon, { className: "h-5 w-5 text-primary" }),
|
|
12800
|
+
"When this tour operates"
|
|
12801
|
+
] }) }),
|
|
12802
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-bold [&_a]:text-primary [&_a]:underline", children: whenItOperates }) })
|
|
12803
|
+
]
|
|
12804
|
+
}
|
|
12805
|
+
),
|
|
12788
12806
|
accommodation && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12789
12807
|
AccordionItem,
|
|
12790
12808
|
{
|