@planetaexo/design-system 0.50.0 → 0.50.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 CHANGED
@@ -12878,8 +12878,10 @@ function TripPage({
12878
12878
  weather,
12879
12879
  optionalExtras,
12880
12880
  accommodation,
12881
+ accommodationGallery,
12881
12882
  whenItOperates,
12882
12883
  food,
12884
+ foodGallery,
12883
12885
  termsAndConditions,
12884
12886
  meetingPoints,
12885
12887
  meetingPoint,
@@ -12947,7 +12949,7 @@ function TripPage({
12947
12949
  { id: "included", label: (_c2 = labels == null ? void 0 : labels.whatIsIncluded) != null ? _c2 : "What is Included", show: !!(included == null ? void 0 : included.length) },
12948
12950
  { id: "what-to-bring", label: (_d2 = labels == null ? void 0 : labels.whatToBring) != null ? _d2 : "What to Bring", show: !!(whatToBring == null ? void 0 : whatToBring.length) },
12949
12951
  { id: "when-it-operates", label: (_e2 = labels == null ? void 0 : labels.whenItOperates) != null ? _e2 : "When this tour operates", show: !!whenItOperates },
12950
- { id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!accommodation },
12952
+ { id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!(accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length)) },
12951
12953
  { id: "terms", label: (_g2 = labels == null ? void 0 : labels.terms) != null ? _g2 : "Terms", show: !!termsAndConditions },
12952
12954
  { id: "faq", label: (_h2 = labels == null ? void 0 : labels.faq) != null ? _h2 : "FAQ", show: !!(faqs == null ? void 0 : faqs.length) },
12953
12955
  { id: "reviews", label: (_i2 = labels == null ? void 0 : labels.reviews) != null ? _i2 : "Reviews", show: !!(trustpilot || (reviews == null ? void 0 : reviews.length)) }
@@ -13158,7 +13160,7 @@ function TripPage({
13158
13160
  }
13159
13161
  )
13160
13162
  ] }),
13161
- (howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxRuntime.jsxs(
13163
+ (howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length) || food || (foodGallery == null ? void 0 : foodGallery.length) || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxRuntime.jsxs(
13162
13164
  Accordion,
13163
13165
  {
13164
13166
  multiple: false,
@@ -13181,7 +13183,7 @@ function TripPage({
13181
13183
  ]
13182
13184
  }
13183
13185
  ),
13184
- accommodation && /* @__PURE__ */ jsxRuntime.jsxs(
13186
+ (accommodation || accommodationGallery && accommodationGallery.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs(
13185
13187
  AccordionItem,
13186
13188
  {
13187
13189
  value: "accommodation",
@@ -13192,11 +13194,21 @@ function TripPage({
13192
13194
  (sectionIcons == null ? void 0 : sectionIcons.accommodation) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.accommodation }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BedDoubleIcon, { className: "h-5 w-5 text-primary" }),
13193
13195
  (_g = labels == null ? void 0 : labels.accommodation) != null ? _g : "Accommodation"
13194
13196
  ] }) }),
13195
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: accommodation }) })
13197
+ /* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "pb-6", children: [
13198
+ accommodation && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: accommodation }),
13199
+ accommodationGallery && accommodationGallery.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(accommodation && "mt-6"), children: /* @__PURE__ */ jsxRuntime.jsx(
13200
+ PhotoGallery,
13201
+ {
13202
+ photos: accommodationGallery,
13203
+ variant: "gridCompact",
13204
+ initialVisible: 6
13205
+ }
13206
+ ) })
13207
+ ] })
13196
13208
  ]
13197
13209
  }
13198
13210
  ),
13199
- food && /* @__PURE__ */ jsxRuntime.jsxs(
13211
+ (food || foodGallery && foodGallery.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs(
13200
13212
  AccordionItem,
13201
13213
  {
13202
13214
  value: "food",
@@ -13207,7 +13219,17 @@ function TripPage({
13207
13219
  (sectionIcons == null ? void 0 : sectionIcons.food) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.food }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UtensilsIcon, { className: "h-5 w-5 text-primary" }),
13208
13220
  (_h = labels == null ? void 0 : labels.food) != null ? _h : "Food"
13209
13221
  ] }) }),
13210
- /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "pb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: food }) })
13222
+ /* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "pb-6", children: [
13223
+ food && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: food }),
13224
+ foodGallery && foodGallery.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(food && "mt-6"), children: /* @__PURE__ */ jsxRuntime.jsx(
13225
+ PhotoGallery,
13226
+ {
13227
+ photos: foodGallery,
13228
+ variant: "gridCompact",
13229
+ initialVisible: 6
13230
+ }
13231
+ ) })
13232
+ ] })
13211
13233
  ]
13212
13234
  }
13213
13235
  ),