@planetaexo/design-system 0.67.0 → 0.68.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 +21 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1483,7 +1483,7 @@ function AdventureCard({
|
|
|
1483
1483
|
adventure.rooms && adventure.rooms.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-5 mt-1", children: adventure.rooms.map((room, i) => {
|
|
1484
1484
|
var _a2, _b2;
|
|
1485
1485
|
const bedLabel = (_b2 = (_a2 = adventure.bedArrangementLabels) == null ? void 0 : _a2[room.bedArrangement]) != null ? _b2 : room.bedArrangement === "DOUBLE" ? "Double" : room.bedArrangement === "TWIN" ? "Twin" : room.bedArrangement === "SINGLE" ? "Single" : "Triple";
|
|
1486
|
-
const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.
|
|
1486
|
+
const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.accommodationName) : `Accommodation: ${room.accommodationName}`;
|
|
1487
1487
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
1488
1488
|
/* @__PURE__ */ jsx("h4", { className: "text-lg font-semibold text-foreground font-heading", children: heading }),
|
|
1489
1489
|
room.imageUrl && // eslint-disable-next-line @next/next/no-img-element
|
|
@@ -1495,9 +1495,8 @@ function AdventureCard({
|
|
|
1495
1495
|
className: "w-full h-auto max-w-full rounded"
|
|
1496
1496
|
}
|
|
1497
1497
|
),
|
|
1498
|
-
/* @__PURE__ */
|
|
1499
|
-
|
|
1500
|
-
/* @__PURE__ */ jsx("span", { children: room.accommodationName }),
|
|
1498
|
+
/* @__PURE__ */ jsxs("div", { className: "text-base font-semibold text-foreground flex items-center gap-2 flex-wrap", children: [
|
|
1499
|
+
/* @__PURE__ */ jsx("span", { children: `${room.qty}\xD7 ${room.roomName}` }),
|
|
1501
1500
|
/* @__PURE__ */ jsx("span", { className: "inline-block px-2 py-0.5 text-xs font-semibold bg-primary/10 text-primary rounded uppercase tracking-wide", children: bedLabel })
|
|
1502
1501
|
] }),
|
|
1503
1502
|
room.description && /* @__PURE__ */ jsx("p", { className: "text-sm text-foreground/70 leading-snug", children: room.description })
|
|
@@ -4556,7 +4555,7 @@ function BookingAdventureCard({
|
|
|
4556
4555
|
lineHeight: "1.3",
|
|
4557
4556
|
margin: "0 0 8px 0"
|
|
4558
4557
|
},
|
|
4559
|
-
children: l.accommodationRoomHeading(room.
|
|
4558
|
+
children: l.accommodationRoomHeading(room.accommodationName)
|
|
4560
4559
|
}
|
|
4561
4560
|
),
|
|
4562
4561
|
room.imageUrl && /* @__PURE__ */ jsx("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ jsx(
|
|
@@ -4585,27 +4584,23 @@ function BookingAdventureCard({
|
|
|
4585
4584
|
children: `${room.qty}\xD7 ${room.roomName}`
|
|
4586
4585
|
}
|
|
4587
4586
|
),
|
|
4588
|
-
/* @__PURE__ */
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
children: l.bedArrangementLabels[room.bedArrangement]
|
|
4606
|
-
}
|
|
4607
|
-
)
|
|
4608
|
-
] }),
|
|
4587
|
+
/* @__PURE__ */ jsx("div", { style: { fontSize: "12px", color: emailTokens.mutedForeground }, children: /* @__PURE__ */ jsx(
|
|
4588
|
+
"span",
|
|
4589
|
+
{
|
|
4590
|
+
style: {
|
|
4591
|
+
display: "inline-block",
|
|
4592
|
+
padding: "1px 6px",
|
|
4593
|
+
fontSize: "10px",
|
|
4594
|
+
fontWeight: 600,
|
|
4595
|
+
color: emailTokens.primary,
|
|
4596
|
+
backgroundColor: emailTokens.primaryLight,
|
|
4597
|
+
borderRadius: "4px",
|
|
4598
|
+
textTransform: "uppercase",
|
|
4599
|
+
letterSpacing: "0.05em"
|
|
4600
|
+
},
|
|
4601
|
+
children: l.bedArrangementLabels[room.bedArrangement]
|
|
4602
|
+
}
|
|
4603
|
+
) }),
|
|
4609
4604
|
room.description && /* @__PURE__ */ jsx(
|
|
4610
4605
|
"div",
|
|
4611
4606
|
{
|