@planetaexo/design-system 0.4.12 → 0.4.14

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
@@ -3192,7 +3192,13 @@ function BookingConfirmation({
3192
3192
  adventure.description && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "4px" }, children: [
3193
3193
  /* @__PURE__ */ jsxRuntime.jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
3194
3194
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: emailTokens.mutedForeground, textTransform: "uppercase", letterSpacing: "0.1em", margin: "0 0 8px 0" }, children: l.itineraryLabel }),
3195
- /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 }, children: adventure.description })
3195
+ /* @__PURE__ */ jsxRuntime.jsx(
3196
+ "div",
3197
+ {
3198
+ style: { fontSize: "14px", color: emailTokens.bodyText, lineHeight: "1.6", margin: 0 },
3199
+ dangerouslySetInnerHTML: { __html: adventure.description }
3200
+ }
3201
+ )
3196
3202
  ] }),
3197
3203
  adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "10px" }, children: [
3198
3204
  /* @__PURE__ */ jsxRuntime.jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.includedLabel }),
@@ -3424,8 +3430,12 @@ function TravellerFormInviteEmail({
3424
3430
  teamSignature,
3425
3431
  logoUrl,
3426
3432
  buttonLabel = "Preencher formul\xE1rio",
3427
- className
3433
+ className,
3434
+ tripDetails,
3435
+ tripDetailsLabels,
3436
+ bodyFooter
3428
3437
  }) {
3438
+ var _a, _b, _c, _d, _e;
3429
3439
  return /* @__PURE__ */ jsxRuntime.jsxs(
3430
3440
  "div",
3431
3441
  {
@@ -3476,6 +3486,29 @@ function TravellerFormInviteEmail({
3476
3486
  }
3477
3487
  )
3478
3488
  ] }, i)) }),
3489
+ tripDetails && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
3490
+ backgroundColor: "#f8fafc",
3491
+ border: "1px solid #e2e8f0",
3492
+ borderRadius: "8px",
3493
+ padding: "16px 20px",
3494
+ margin: "24px 0"
3495
+ }, children: [
3496
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontWeight: "600", margin: "0 0 12px 0", fontSize: "14px" }, children: (_a = tripDetailsLabels == null ? void 0 : tripDetailsLabels.title) != null ? _a : "\u{1F4DD} Trip details:" }),
3497
+ [
3498
+ [(_b = tripDetailsLabels == null ? void 0 : tripDetailsLabels.bookingNumber) != null ? _b : "Booking Number", tripDetails.bookingNumber],
3499
+ [(_c = tripDetailsLabels == null ? void 0 : tripDetailsLabels.adventure) != null ? _c : "Adventure", tripDetails.adventure],
3500
+ [(_d = tripDetailsLabels == null ? void 0 : tripDetailsLabels.startingDate) != null ? _d : "Starting Date", tripDetails.startingDate],
3501
+ ...tripDetails.partner ? [[(_e = tripDetailsLabels == null ? void 0 : tripDetailsLabels.partner) != null ? _e : "Partner", tripDetails.partner]] : []
3502
+ ].map(([label, value], i) => /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { margin: "4px 0", fontSize: "13px" }, children: [
3503
+ /* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
3504
+ label,
3505
+ ":"
3506
+ ] }),
3507
+ " ",
3508
+ value
3509
+ ] }, i))
3510
+ ] }),
3511
+ bodyFooter && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "14px", lineHeight: "1.6", margin: "0 0 16px" }, children: bodyFooter }),
3479
3512
  /* @__PURE__ */ jsxRuntime.jsx(
3480
3513
  "p",
3481
3514
  {