@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 CHANGED
@@ -1504,7 +1504,7 @@ function AdventureCard({
1504
1504
  adventure.rooms && adventure.rooms.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-5 mt-1", children: adventure.rooms.map((room, i) => {
1505
1505
  var _a2, _b2;
1506
1506
  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";
1507
- const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.roomName) : `Accommodation: ${room.roomName}`;
1507
+ const heading = adventure.accommodationRoomHeading ? adventure.accommodationRoomHeading(room.accommodationName) : `Accommodation: ${room.accommodationName}`;
1508
1508
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
1509
1509
  /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-lg font-semibold text-foreground font-heading", children: heading }),
1510
1510
  room.imageUrl && // eslint-disable-next-line @next/next/no-img-element
@@ -1516,9 +1516,8 @@ function AdventureCard({
1516
1516
  className: "w-full h-auto max-w-full rounded"
1517
1517
  }
1518
1518
  ),
1519
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base font-semibold text-foreground", children: `${room.qty}\xD7 ${room.roomName}` }),
1520
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-sm text-foreground/70 flex items-center gap-2 flex-wrap", children: [
1521
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: room.accommodationName }),
1519
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-base font-semibold text-foreground flex items-center gap-2 flex-wrap", children: [
1520
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: `${room.qty}\xD7 ${room.roomName}` }),
1522
1521
  /* @__PURE__ */ jsxRuntime.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 })
1523
1522
  ] }),
1524
1523
  room.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-foreground/70 leading-snug", children: room.description })
@@ -4577,7 +4576,7 @@ function BookingAdventureCard({
4577
4576
  lineHeight: "1.3",
4578
4577
  margin: "0 0 8px 0"
4579
4578
  },
4580
- children: l.accommodationRoomHeading(room.roomName)
4579
+ children: l.accommodationRoomHeading(room.accommodationName)
4581
4580
  }
4582
4581
  ),
4583
4582
  room.imageUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4606,27 +4605,23 @@ function BookingAdventureCard({
4606
4605
  children: `${room.qty}\xD7 ${room.roomName}`
4607
4606
  }
4608
4607
  ),
4609
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { fontSize: "12px", color: emailTokens.mutedForeground }, children: [
4610
- room.accommodationName,
4611
- /* @__PURE__ */ jsxRuntime.jsx(
4612
- "span",
4613
- {
4614
- style: {
4615
- display: "inline-block",
4616
- marginLeft: "8px",
4617
- padding: "1px 6px",
4618
- fontSize: "10px",
4619
- fontWeight: 600,
4620
- color: emailTokens.primary,
4621
- backgroundColor: emailTokens.primaryLight,
4622
- borderRadius: "4px",
4623
- textTransform: "uppercase",
4624
- letterSpacing: "0.05em"
4625
- },
4626
- children: l.bedArrangementLabels[room.bedArrangement]
4627
- }
4628
- )
4629
- ] }),
4608
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "12px", color: emailTokens.mutedForeground }, children: /* @__PURE__ */ jsxRuntime.jsx(
4609
+ "span",
4610
+ {
4611
+ style: {
4612
+ display: "inline-block",
4613
+ padding: "1px 6px",
4614
+ fontSize: "10px",
4615
+ fontWeight: 600,
4616
+ color: emailTokens.primary,
4617
+ backgroundColor: emailTokens.primaryLight,
4618
+ borderRadius: "4px",
4619
+ textTransform: "uppercase",
4620
+ letterSpacing: "0.05em"
4621
+ },
4622
+ children: l.bedArrangementLabels[room.bedArrangement]
4623
+ }
4624
+ ) }),
4630
4625
  room.description && /* @__PURE__ */ jsxRuntime.jsx(
4631
4626
  "div",
4632
4627
  {