@planetaexo/design-system 0.76.0 → 0.77.0
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 +22 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -3
- package/dist/index.d.ts +31 -3
- package/dist/index.js +22 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12036,7 +12036,7 @@ function Lightbox({
|
|
|
12036
12036
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12037
12037
|
"div",
|
|
12038
12038
|
{
|
|
12039
|
-
className: "fixed inset-0 z-
|
|
12039
|
+
className: "fixed inset-0 z-[1000] bg-black/92 flex flex-col items-center justify-center",
|
|
12040
12040
|
onClick: onClose,
|
|
12041
12041
|
children: [
|
|
12042
12042
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12224,7 +12224,7 @@ function FeedLightbox({
|
|
|
12224
12224
|
if (frame) cancelAnimationFrame(frame);
|
|
12225
12225
|
};
|
|
12226
12226
|
}, []);
|
|
12227
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "fixed inset-0 z-
|
|
12227
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "fixed inset-0 z-[1000] bg-zinc-950 text-white", children: [
|
|
12228
12228
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12229
12229
|
"div",
|
|
12230
12230
|
{
|
|
@@ -14872,6 +14872,8 @@ function useHlsVideo(videoRef, src) {
|
|
|
14872
14872
|
}
|
|
14873
14873
|
function TripHeader({
|
|
14874
14874
|
images,
|
|
14875
|
+
heroImageSrcSet,
|
|
14876
|
+
heroImageSizes,
|
|
14875
14877
|
videoUrl,
|
|
14876
14878
|
title,
|
|
14877
14879
|
breadcrumb,
|
|
@@ -14951,6 +14953,8 @@ function TripHeader({
|
|
|
14951
14953
|
Picture,
|
|
14952
14954
|
{
|
|
14953
14955
|
src: validImages[0],
|
|
14956
|
+
srcSet: heroImageSrcSet,
|
|
14957
|
+
sizes: heroImageSizes,
|
|
14954
14958
|
alt: "",
|
|
14955
14959
|
"aria-hidden": true,
|
|
14956
14960
|
fetchPriority: "high",
|
|
@@ -14989,6 +14993,8 @@ function TripHeader({
|
|
|
14989
14993
|
Picture,
|
|
14990
14994
|
{
|
|
14991
14995
|
src: currentSrc,
|
|
14996
|
+
srcSet: safeIndex === 0 ? heroImageSrcSet : void 0,
|
|
14997
|
+
sizes: safeIndex === 0 ? heroImageSizes : void 0,
|
|
14992
14998
|
alt: title,
|
|
14993
14999
|
fetchPriority: safeIndex === 0 ? "high" : "auto",
|
|
14994
15000
|
eager: safeIndex === 0,
|
|
@@ -15561,6 +15567,8 @@ function TripPage({
|
|
|
15561
15567
|
duration,
|
|
15562
15568
|
groupSize,
|
|
15563
15569
|
images,
|
|
15570
|
+
heroImageSrcSet,
|
|
15571
|
+
heroImageSizes,
|
|
15564
15572
|
videoUrl,
|
|
15565
15573
|
breadcrumb,
|
|
15566
15574
|
chips,
|
|
@@ -15792,6 +15800,8 @@ function TripPage({
|
|
|
15792
15800
|
TripHeader,
|
|
15793
15801
|
{
|
|
15794
15802
|
images,
|
|
15803
|
+
heroImageSrcSet,
|
|
15804
|
+
heroImageSizes,
|
|
15795
15805
|
videoUrl,
|
|
15796
15806
|
title,
|
|
15797
15807
|
breadcrumb,
|
|
@@ -16301,6 +16311,7 @@ function CategoryPage2({
|
|
|
16301
16311
|
faqInitialCount = 5,
|
|
16302
16312
|
gallery,
|
|
16303
16313
|
galleryTitle,
|
|
16314
|
+
galleryLightbox = "classic",
|
|
16304
16315
|
loadMoreLabel,
|
|
16305
16316
|
showLessLabel,
|
|
16306
16317
|
seeMoreLabel,
|
|
@@ -16563,7 +16574,15 @@ function CategoryPage2({
|
|
|
16563
16574
|
] }),
|
|
16564
16575
|
gallery && gallery.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "pt-4", children: [
|
|
16565
16576
|
galleryTitle && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "mx-auto w-full max-w-6xl px-6 sm:px-8 mb-6 text-2xl sm:text-3xl font-bold text-foreground font-heading", children: galleryTitle }),
|
|
16566
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16577
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16578
|
+
PhotoGallery,
|
|
16579
|
+
{
|
|
16580
|
+
photos: gallery,
|
|
16581
|
+
variant: "gridCompact",
|
|
16582
|
+
initialVisible: 8,
|
|
16583
|
+
lightbox: galleryLightbox
|
|
16584
|
+
}
|
|
16585
|
+
)
|
|
16567
16586
|
] }),
|
|
16568
16587
|
(aboutTitle || aboutContent || blogPostsTitle || blogPosts && blogPosts.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("section", { className: "w-full bg-gray-100", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto w-full max-w-6xl px-6 sm:px-8 py-14", children: [
|
|
16569
16588
|
(aboutTitle || blogPostsTitle) && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl sm:text-3xl font-bold text-foreground font-heading mb-5", children: aboutTitle != null ? aboutTitle : blogPostsTitle }),
|