@planetaexo/design-system 0.79.0 → 0.88.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 +312 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -3
- package/dist/index.d.ts +83 -3
- package/dist/index.js +311 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15142,7 +15142,7 @@ var VARIANT2 = {
|
|
|
15142
15142
|
heading: "text-foreground",
|
|
15143
15143
|
body: "text-foreground/75",
|
|
15144
15144
|
muted: "text-foreground/60",
|
|
15145
|
-
link: "
|
|
15145
|
+
link: "rounded-full px-3 py-1.5 -ml-3 transition-colors text-foreground/85 hover:bg-primary hover:text-white",
|
|
15146
15146
|
badgeStroke: "text-foreground/80",
|
|
15147
15147
|
/** Inverts white logos so they read on the light background. */
|
|
15148
15148
|
badgeFilter: "[filter:invert(1)_brightness(0.2)]",
|
|
@@ -15159,7 +15159,7 @@ var VARIANT2 = {
|
|
|
15159
15159
|
heading: "text-white",
|
|
15160
15160
|
body: "text-white/75",
|
|
15161
15161
|
muted: "text-white/55",
|
|
15162
|
-
link: "
|
|
15162
|
+
link: "rounded-full px-3 py-1.5 -ml-3 transition-colors text-white/85 hover:bg-primary hover:text-white",
|
|
15163
15163
|
badgeStroke: "text-white",
|
|
15164
15164
|
badgeFilter: "",
|
|
15165
15165
|
socialBtn: "bg-white/10 text-white hover:bg-primary-400 hover:text-primary-900",
|
|
@@ -15369,8 +15369,8 @@ function SiteFooter({
|
|
|
15369
15369
|
title: "Basecamp S\xE3o Paulo",
|
|
15370
15370
|
lines: ["Av. Paulista, 1234", "01310-100 S\xE3o Paulo \xB7 Brasil"]
|
|
15371
15371
|
},
|
|
15372
|
-
phone
|
|
15373
|
-
email
|
|
15372
|
+
phone,
|
|
15373
|
+
email,
|
|
15374
15374
|
socials = DEFAULT_FOOTER_SOCIALS,
|
|
15375
15375
|
themesTitle = "Temas",
|
|
15376
15376
|
themes = DEFAULT_FOOTER_THEMES,
|
|
@@ -15379,11 +15379,7 @@ function SiteFooter({
|
|
|
15379
15379
|
destinationsMore = { label: "Ver todos os destinos", href: "#" },
|
|
15380
15380
|
pagesTitle = "P\xE1ginas",
|
|
15381
15381
|
pages = DEFAULT_FOOTER_PAGES,
|
|
15382
|
-
cta
|
|
15383
|
-
title: "Colaborar?",
|
|
15384
|
-
label: "parceiros@planetaexo.com",
|
|
15385
|
-
href: "mailto:parceiros@planetaexo.com"
|
|
15386
|
-
},
|
|
15382
|
+
cta,
|
|
15387
15383
|
copyright,
|
|
15388
15384
|
legalLinks = DEFAULT_FOOTER_LEGAL,
|
|
15389
15385
|
className
|
|
@@ -15483,22 +15479,22 @@ function SiteFooter({
|
|
|
15483
15479
|
] }),
|
|
15484
15480
|
themes.length > 0 && /* @__PURE__ */ jsxs("div", { className: "lg:col-span-3", children: [
|
|
15485
15481
|
/* @__PURE__ */ jsx(ColumnHeading, { className: t.heading, children: themesTitle }),
|
|
15486
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-
|
|
15482
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: themes.map((c) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
15487
15483
|
"a",
|
|
15488
15484
|
{
|
|
15489
15485
|
href: c.href,
|
|
15490
|
-
className: cn("text-sm font-ui font-bold", t.link),
|
|
15486
|
+
className: cn("inline-block text-sm font-ui font-bold", t.link),
|
|
15491
15487
|
children: c.label
|
|
15492
15488
|
}
|
|
15493
15489
|
) }, c.label)) })
|
|
15494
15490
|
] }),
|
|
15495
15491
|
destinations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "lg:col-span-3", children: [
|
|
15496
15492
|
/* @__PURE__ */ jsx(ColumnHeading, { className: t.heading, children: destinationsTitle }),
|
|
15497
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-
|
|
15493
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: destinations.map((c) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
15498
15494
|
"a",
|
|
15499
15495
|
{
|
|
15500
15496
|
href: c.href,
|
|
15501
|
-
className: cn("text-sm font-ui font-bold", t.link),
|
|
15497
|
+
className: cn("inline-block text-sm font-ui font-bold", t.link),
|
|
15502
15498
|
children: c.label
|
|
15503
15499
|
}
|
|
15504
15500
|
) }, c.label)) }),
|
|
@@ -15520,11 +15516,11 @@ function SiteFooter({
|
|
|
15520
15516
|
/* @__PURE__ */ jsxs("div", { className: "lg:col-span-2 space-y-8", children: [
|
|
15521
15517
|
pages.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
15522
15518
|
/* @__PURE__ */ jsx(ColumnHeading, { className: t.heading, children: pagesTitle }),
|
|
15523
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-
|
|
15519
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: pages.map((p) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
15524
15520
|
"a",
|
|
15525
15521
|
{
|
|
15526
15522
|
href: p.href,
|
|
15527
|
-
className: cn("text-sm font-ui font-bold", t.link),
|
|
15523
|
+
className: cn("inline-block text-sm font-ui font-bold", t.link),
|
|
15528
15524
|
children: p.label
|
|
15529
15525
|
}
|
|
15530
15526
|
) }, p.label)) })
|
|
@@ -15663,6 +15659,7 @@ function TripPage({
|
|
|
15663
15659
|
perPersonLabel,
|
|
15664
15660
|
siteHeader,
|
|
15665
15661
|
footerBadges,
|
|
15662
|
+
footer,
|
|
15666
15663
|
uiVariant = "v1",
|
|
15667
15664
|
features,
|
|
15668
15665
|
className
|
|
@@ -16297,7 +16294,7 @@ function TripPage({
|
|
|
16297
16294
|
}
|
|
16298
16295
|
) }),
|
|
16299
16296
|
/* @__PURE__ */ jsx("div", { className: "h-20 lg:hidden" }),
|
|
16300
|
-
/* @__PURE__ */ jsx(SiteFooter, { badges: footerBadges })
|
|
16297
|
+
/* @__PURE__ */ jsx(SiteFooter, __spreadValues({ badges: footerBadges }, footer))
|
|
16301
16298
|
]
|
|
16302
16299
|
}
|
|
16303
16300
|
)
|
|
@@ -16361,6 +16358,7 @@ function CategoryPage2({
|
|
|
16361
16358
|
cardLabels,
|
|
16362
16359
|
filterLabels,
|
|
16363
16360
|
footerBadges,
|
|
16361
|
+
footer,
|
|
16364
16362
|
className
|
|
16365
16363
|
}) {
|
|
16366
16364
|
var _a;
|
|
@@ -16693,7 +16691,7 @@ function CategoryPage2({
|
|
|
16693
16691
|
) })
|
|
16694
16692
|
] });
|
|
16695
16693
|
})(),
|
|
16696
|
-
/* @__PURE__ */ jsx(SiteFooter, { badges: footerBadges })
|
|
16694
|
+
/* @__PURE__ */ jsx(SiteFooter, __spreadValues({ badges: footerBadges }, footer))
|
|
16697
16695
|
] });
|
|
16698
16696
|
}
|
|
16699
16697
|
var sizeConfig3 = {
|
|
@@ -19395,6 +19393,159 @@ function USPBand({
|
|
|
19395
19393
|
}
|
|
19396
19394
|
);
|
|
19397
19395
|
}
|
|
19396
|
+
var TONES = {
|
|
19397
|
+
light: {
|
|
19398
|
+
bg: "#faf7f1",
|
|
19399
|
+
vars: {
|
|
19400
|
+
"--ps-eyebrow": "#1a5f56",
|
|
19401
|
+
"--ps-head": "#2e2d2c",
|
|
19402
|
+
"--ps-sub": "#74726e",
|
|
19403
|
+
"--ps-chip-bd": "#ccd2d0",
|
|
19404
|
+
"--ps-chip-fg": "#2e2d2c",
|
|
19405
|
+
"--ps-chip-hover-bg": "#1a5f56",
|
|
19406
|
+
"--ps-chip-hover-fg": "#ffffff",
|
|
19407
|
+
"--ps-feat-bg": "#1a5f56",
|
|
19408
|
+
"--ps-feat-fg": "#ffffff",
|
|
19409
|
+
"--ps-feat-hover-bg": "#0d3832"
|
|
19410
|
+
}
|
|
19411
|
+
},
|
|
19412
|
+
dark: {
|
|
19413
|
+
bg: "#14352e",
|
|
19414
|
+
vars: {
|
|
19415
|
+
"--ps-eyebrow": "#a7e8c4",
|
|
19416
|
+
"--ps-head": "#f4f1e9",
|
|
19417
|
+
"--ps-sub": "rgba(244,241,233,.7)",
|
|
19418
|
+
"--ps-chip-bd": "rgba(244,241,233,.22)",
|
|
19419
|
+
"--ps-chip-fg": "#f4f1e9",
|
|
19420
|
+
"--ps-chip-hover-bg": "#f4f1e9",
|
|
19421
|
+
"--ps-chip-hover-fg": "#14352e",
|
|
19422
|
+
"--ps-feat-bg": "#bff0d6",
|
|
19423
|
+
"--ps-feat-fg": "#08231e",
|
|
19424
|
+
"--ps-feat-hover-bg": "#a7e8c4"
|
|
19425
|
+
}
|
|
19426
|
+
}
|
|
19427
|
+
};
|
|
19428
|
+
var SIZES = {
|
|
19429
|
+
md: {
|
|
19430
|
+
pad: "py-20 sm:py-28",
|
|
19431
|
+
heading: "text-2xl sm:text-3xl lg:text-4xl",
|
|
19432
|
+
chip: "px-3 py-1 text-xs sm:px-5 sm:py-2.5 sm:text-sm",
|
|
19433
|
+
gap: "gap-1.5 sm:gap-2.5",
|
|
19434
|
+
chipsMt: "mt-6 sm:mt-9"
|
|
19435
|
+
},
|
|
19436
|
+
sm: {
|
|
19437
|
+
pad: "py-16 sm:py-24",
|
|
19438
|
+
heading: "text-xl sm:text-2xl lg:text-3xl",
|
|
19439
|
+
chip: "px-2.5 py-1 text-[11px] sm:px-3.5 sm:py-1.5 sm:text-[13px]",
|
|
19440
|
+
gap: "gap-1.5 sm:gap-2",
|
|
19441
|
+
chipsMt: "mt-5 sm:mt-7"
|
|
19442
|
+
}
|
|
19443
|
+
};
|
|
19444
|
+
var SCOPED_CSS = `
|
|
19445
|
+
.ps-chip{border:1px solid var(--ps-chip-bd);background:transparent;color:var(--ps-chip-fg);text-decoration:none;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
|
|
19446
|
+
.ps-chip:hover{background:var(--ps-chip-hover-bg);border-color:var(--ps-chip-hover-bg);color:var(--ps-chip-hover-fg)}
|
|
19447
|
+
.ps-chip[data-featured="true"]{background:var(--ps-feat-bg);border-color:var(--ps-feat-bg);color:var(--ps-feat-fg)}
|
|
19448
|
+
.ps-chip[data-featured="true"]:hover{background:var(--ps-feat-hover-bg);border-color:var(--ps-feat-hover-bg)}
|
|
19449
|
+
`;
|
|
19450
|
+
function PopularSearches({
|
|
19451
|
+
eyebrow,
|
|
19452
|
+
title,
|
|
19453
|
+
subtitle,
|
|
19454
|
+
chips,
|
|
19455
|
+
tone = "light",
|
|
19456
|
+
size = "md",
|
|
19457
|
+
align = "center",
|
|
19458
|
+
className
|
|
19459
|
+
}) {
|
|
19460
|
+
const t = TONES[tone];
|
|
19461
|
+
const s = SIZES[size];
|
|
19462
|
+
const centered = align === "center";
|
|
19463
|
+
return /* @__PURE__ */ jsxs(
|
|
19464
|
+
"section",
|
|
19465
|
+
{
|
|
19466
|
+
className: cn("ps-root w-full", className),
|
|
19467
|
+
style: __spreadValues({ backgroundColor: t.bg }, t.vars),
|
|
19468
|
+
children: [
|
|
19469
|
+
/* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: SCOPED_CSS } }),
|
|
19470
|
+
/* @__PURE__ */ jsxs(
|
|
19471
|
+
"div",
|
|
19472
|
+
{
|
|
19473
|
+
className: cn(
|
|
19474
|
+
"mx-auto w-full max-w-6xl px-6 sm:px-8",
|
|
19475
|
+
s.pad,
|
|
19476
|
+
centered && "text-center"
|
|
19477
|
+
),
|
|
19478
|
+
children: [
|
|
19479
|
+
/* @__PURE__ */ jsxs("div", { className: cn("max-w-2xl", centered && "mx-auto"), children: [
|
|
19480
|
+
eyebrow && /* @__PURE__ */ jsx(
|
|
19481
|
+
"p",
|
|
19482
|
+
{
|
|
19483
|
+
className: "mb-3 font-ui text-xs font-bold uppercase tracking-[0.24em]",
|
|
19484
|
+
style: { color: "var(--ps-eyebrow)" },
|
|
19485
|
+
children: eyebrow
|
|
19486
|
+
}
|
|
19487
|
+
),
|
|
19488
|
+
/* @__PURE__ */ jsx(
|
|
19489
|
+
"h2",
|
|
19490
|
+
{
|
|
19491
|
+
className: cn(
|
|
19492
|
+
"font-heading font-black uppercase leading-[1.05]",
|
|
19493
|
+
s.heading
|
|
19494
|
+
),
|
|
19495
|
+
style: { color: "var(--ps-head)" },
|
|
19496
|
+
children: title
|
|
19497
|
+
}
|
|
19498
|
+
),
|
|
19499
|
+
subtitle && /* @__PURE__ */ jsx(
|
|
19500
|
+
"p",
|
|
19501
|
+
{
|
|
19502
|
+
className: cn("mt-3 max-w-[46ch] text-base", centered && "mx-auto"),
|
|
19503
|
+
style: { color: "var(--ps-sub)" },
|
|
19504
|
+
children: subtitle
|
|
19505
|
+
}
|
|
19506
|
+
)
|
|
19507
|
+
] }),
|
|
19508
|
+
/* @__PURE__ */ jsx(
|
|
19509
|
+
"div",
|
|
19510
|
+
{
|
|
19511
|
+
className: cn(
|
|
19512
|
+
"flex max-w-4xl flex-wrap items-center",
|
|
19513
|
+
s.gap,
|
|
19514
|
+
s.chipsMt,
|
|
19515
|
+
centered ? "mx-auto justify-center" : "justify-start"
|
|
19516
|
+
),
|
|
19517
|
+
children: chips.map((chip, i) => {
|
|
19518
|
+
const className2 = "ps-chip inline-flex items-center rounded-full font-ui font-bold " + s.chip;
|
|
19519
|
+
const inner = chip.label;
|
|
19520
|
+
return chip.href ? /* @__PURE__ */ jsx(
|
|
19521
|
+
"a",
|
|
19522
|
+
{
|
|
19523
|
+
href: chip.href,
|
|
19524
|
+
onClick: chip.onClick,
|
|
19525
|
+
"data-featured": chip.featured ? "true" : void 0,
|
|
19526
|
+
className: className2,
|
|
19527
|
+
children: inner
|
|
19528
|
+
},
|
|
19529
|
+
i
|
|
19530
|
+
) : /* @__PURE__ */ jsx(
|
|
19531
|
+
"span",
|
|
19532
|
+
{
|
|
19533
|
+
"data-featured": chip.featured ? "true" : void 0,
|
|
19534
|
+
className: className2,
|
|
19535
|
+
children: inner
|
|
19536
|
+
},
|
|
19537
|
+
i
|
|
19538
|
+
);
|
|
19539
|
+
})
|
|
19540
|
+
}
|
|
19541
|
+
)
|
|
19542
|
+
]
|
|
19543
|
+
}
|
|
19544
|
+
)
|
|
19545
|
+
]
|
|
19546
|
+
}
|
|
19547
|
+
);
|
|
19548
|
+
}
|
|
19398
19549
|
function RotatingSubtitle({
|
|
19399
19550
|
phrases,
|
|
19400
19551
|
interval,
|
|
@@ -19898,6 +20049,148 @@ function NewHome({
|
|
|
19898
20049
|
footer && /* @__PURE__ */ jsx(SiteFooter, __spreadValues({}, footer))
|
|
19899
20050
|
] });
|
|
19900
20051
|
}
|
|
20052
|
+
var SURFACE_PRIMARY_9002 = "bg-[oklch(0.27_0.040_179)]";
|
|
20053
|
+
function TrustpilotStar({
|
|
20054
|
+
filled,
|
|
20055
|
+
className
|
|
20056
|
+
}) {
|
|
20057
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className, "aria-hidden": true, children: [
|
|
20058
|
+
/* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: filled ? "#00b67a" : "#dcdce6" }),
|
|
20059
|
+
/* @__PURE__ */ jsx(
|
|
20060
|
+
"path",
|
|
20061
|
+
{
|
|
20062
|
+
fill: "#ffffff",
|
|
20063
|
+
d: "m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14l-5-4.87 6.91-1.01L12 2z"
|
|
20064
|
+
}
|
|
20065
|
+
)
|
|
20066
|
+
] });
|
|
20067
|
+
}
|
|
20068
|
+
function TrustpilotStars({
|
|
20069
|
+
stars = 5,
|
|
20070
|
+
className = "h-7 w-7"
|
|
20071
|
+
}) {
|
|
20072
|
+
return /* @__PURE__ */ jsx(
|
|
20073
|
+
"div",
|
|
20074
|
+
{
|
|
20075
|
+
className: "flex items-center gap-1",
|
|
20076
|
+
"aria-label": `${stars} out of 5 stars`,
|
|
20077
|
+
children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
20078
|
+
TrustpilotStar,
|
|
20079
|
+
{
|
|
20080
|
+
filled: i + 1 <= Math.round(stars),
|
|
20081
|
+
className
|
|
20082
|
+
},
|
|
20083
|
+
i
|
|
20084
|
+
))
|
|
20085
|
+
}
|
|
20086
|
+
);
|
|
20087
|
+
}
|
|
20088
|
+
function ReviewsSpotlight({
|
|
20089
|
+
eyebrow,
|
|
20090
|
+
title,
|
|
20091
|
+
link,
|
|
20092
|
+
items,
|
|
20093
|
+
intervalMs = 7e3,
|
|
20094
|
+
className
|
|
20095
|
+
}) {
|
|
20096
|
+
const [index, setIndex] = React20.useState(0);
|
|
20097
|
+
const [visible, setVisible] = React20.useState(true);
|
|
20098
|
+
const reduced = React20.useRef(false);
|
|
20099
|
+
const swapRef = React20.useRef(null);
|
|
20100
|
+
React20.useEffect(() => {
|
|
20101
|
+
var _a;
|
|
20102
|
+
const mq = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
20103
|
+
reduced.current = mq.matches;
|
|
20104
|
+
const onChange = () => {
|
|
20105
|
+
reduced.current = mq.matches;
|
|
20106
|
+
};
|
|
20107
|
+
(_a = mq.addEventListener) == null ? void 0 : _a.call(mq, "change", onChange);
|
|
20108
|
+
return () => {
|
|
20109
|
+
var _a2;
|
|
20110
|
+
return (_a2 = mq.removeEventListener) == null ? void 0 : _a2.call(mq, "change", onChange);
|
|
20111
|
+
};
|
|
20112
|
+
}, []);
|
|
20113
|
+
const goTo = React20.useCallback((resolve) => {
|
|
20114
|
+
if (reduced.current) {
|
|
20115
|
+
setIndex((i) => resolve(i));
|
|
20116
|
+
return;
|
|
20117
|
+
}
|
|
20118
|
+
setVisible(false);
|
|
20119
|
+
swapRef.current = setTimeout(() => {
|
|
20120
|
+
setIndex((i) => resolve(i));
|
|
20121
|
+
setVisible(true);
|
|
20122
|
+
}, 260);
|
|
20123
|
+
}, []);
|
|
20124
|
+
React20.useEffect(() => {
|
|
20125
|
+
if (items.length <= 1 || intervalMs <= 0) return;
|
|
20126
|
+
const id = setInterval(() => {
|
|
20127
|
+
if (!reduced.current) goTo((i) => (i + 1) % items.length);
|
|
20128
|
+
}, intervalMs);
|
|
20129
|
+
return () => {
|
|
20130
|
+
clearInterval(id);
|
|
20131
|
+
if (swapRef.current) clearTimeout(swapRef.current);
|
|
20132
|
+
};
|
|
20133
|
+
}, [items.length, intervalMs, goTo]);
|
|
20134
|
+
if (!items.length) return null;
|
|
20135
|
+
const safe = Math.min(index, items.length - 1);
|
|
20136
|
+
const review = items[safe];
|
|
20137
|
+
return /* @__PURE__ */ jsx(
|
|
20138
|
+
"section",
|
|
20139
|
+
{
|
|
20140
|
+
className: cn(SURFACE_PRIMARY_9002, "py-24 text-white sm:py-32", className),
|
|
20141
|
+
children: /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full max-w-3xl px-6 text-center sm:px-8", children: [
|
|
20142
|
+
eyebrow && /* @__PURE__ */ jsx("p", { className: "font-ui text-xs font-bold uppercase tracking-[0.22em] text-primary", children: eyebrow }),
|
|
20143
|
+
/* @__PURE__ */ jsx("h2", { className: "sr-only", children: title }),
|
|
20144
|
+
/* @__PURE__ */ jsxs(
|
|
20145
|
+
"div",
|
|
20146
|
+
{
|
|
20147
|
+
className: cn(
|
|
20148
|
+
"transition-opacity duration-300",
|
|
20149
|
+
visible ? "opacity-100" : "opacity-0"
|
|
20150
|
+
),
|
|
20151
|
+
children: [
|
|
20152
|
+
/* @__PURE__ */ jsx("div", { className: "mt-8 flex justify-center", children: /* @__PURE__ */ jsx(TrustpilotStars, { stars: review.stars, className: "h-7 w-7" }) }),
|
|
20153
|
+
/* @__PURE__ */ jsxs("blockquote", { className: "mx-auto mt-8 max-w-[20ch] font-sans text-3xl font-normal italic leading-[1.3] text-white sm:text-4xl", children: [
|
|
20154
|
+
"\u201C",
|
|
20155
|
+
review.quote,
|
|
20156
|
+
"\u201D"
|
|
20157
|
+
] }),
|
|
20158
|
+
(review.author || review.location) && /* @__PURE__ */ jsxs("div", { className: "mt-6", children: [
|
|
20159
|
+
review.author && /* @__PURE__ */ jsx("p", { className: "font-ui text-base font-bold tracking-wide text-white", children: review.author }),
|
|
20160
|
+
review.location && /* @__PURE__ */ jsx("p", { className: "mt-1 font-sans text-sm text-white/55", children: review.location })
|
|
20161
|
+
] })
|
|
20162
|
+
]
|
|
20163
|
+
}
|
|
20164
|
+
),
|
|
20165
|
+
items.length > 1 && /* @__PURE__ */ jsx("div", { className: "mt-10 flex justify-center gap-2.5", children: items.map((_, i) => /* @__PURE__ */ jsx(
|
|
20166
|
+
"button",
|
|
20167
|
+
{
|
|
20168
|
+
type: "button",
|
|
20169
|
+
"aria-label": `Show review ${i + 1} of ${items.length}`,
|
|
20170
|
+
"aria-current": i === safe,
|
|
20171
|
+
onClick: () => goTo(() => i),
|
|
20172
|
+
className: cn(
|
|
20173
|
+
"h-2 w-2 rounded-full transition-colors",
|
|
20174
|
+
i === safe ? "bg-primary" : "bg-white/25 hover:bg-white/45"
|
|
20175
|
+
)
|
|
20176
|
+
},
|
|
20177
|
+
i
|
|
20178
|
+
)) }),
|
|
20179
|
+
link && /* @__PURE__ */ jsxs(
|
|
20180
|
+
"a",
|
|
20181
|
+
{
|
|
20182
|
+
href: link.href,
|
|
20183
|
+
className: "group mt-10 inline-flex items-center gap-1.5 font-ui text-sm font-bold text-primary transition-colors hover:text-primary-800",
|
|
20184
|
+
children: [
|
|
20185
|
+
link.label,
|
|
20186
|
+
/* @__PURE__ */ jsx(ArrowRightIcon, { className: "h-4 w-4 transition-transform group-hover:translate-x-1" })
|
|
20187
|
+
]
|
|
20188
|
+
}
|
|
20189
|
+
)
|
|
20190
|
+
] })
|
|
20191
|
+
}
|
|
20192
|
+
);
|
|
20193
|
+
}
|
|
19901
20194
|
var ACTIVE_PILL = "bg-primary text-white shadow-sm";
|
|
19902
20195
|
var VARIANT3 = {
|
|
19903
20196
|
black: {
|
|
@@ -20012,6 +20305,6 @@ function SegmentedControl({
|
|
|
20012
20305
|
);
|
|
20013
20306
|
}
|
|
20014
20307
|
|
|
20015
|
-
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPartialCancellationEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CancellationRequestReceivedEmail, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PhotoTourProvider, Picture, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, USPBand, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
20308
|
+
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPartialCancellationEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CancellationRequestReceivedEmail, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PhotoTourProvider, Picture, PopularSearches, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, ReviewsSpotlight, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, USPBand, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
20016
20309
|
//# sourceMappingURL=index.js.map
|
|
20017
20310
|
//# sourceMappingURL=index.js.map
|