@planetaexo/design-system 0.4.12 → 0.4.13
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 +28 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +28 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3424,8 +3424,12 @@ function TravellerFormInviteEmail({
|
|
|
3424
3424
|
teamSignature,
|
|
3425
3425
|
logoUrl,
|
|
3426
3426
|
buttonLabel = "Preencher formul\xE1rio",
|
|
3427
|
-
className
|
|
3427
|
+
className,
|
|
3428
|
+
tripDetails,
|
|
3429
|
+
tripDetailsLabels,
|
|
3430
|
+
bodyFooter
|
|
3428
3431
|
}) {
|
|
3432
|
+
var _a, _b, _c, _d, _e;
|
|
3429
3433
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3430
3434
|
"div",
|
|
3431
3435
|
{
|
|
@@ -3476,6 +3480,29 @@ function TravellerFormInviteEmail({
|
|
|
3476
3480
|
}
|
|
3477
3481
|
)
|
|
3478
3482
|
] }, i)) }),
|
|
3483
|
+
tripDetails && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
|
|
3484
|
+
backgroundColor: "#f8fafc",
|
|
3485
|
+
border: "1px solid #e2e8f0",
|
|
3486
|
+
borderRadius: "8px",
|
|
3487
|
+
padding: "16px 20px",
|
|
3488
|
+
margin: "24px 0"
|
|
3489
|
+
}, children: [
|
|
3490
|
+
/* @__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:" }),
|
|
3491
|
+
[
|
|
3492
|
+
[(_b = tripDetailsLabels == null ? void 0 : tripDetailsLabels.bookingNumber) != null ? _b : "Booking Number", tripDetails.bookingNumber],
|
|
3493
|
+
[(_c = tripDetailsLabels == null ? void 0 : tripDetailsLabels.adventure) != null ? _c : "Adventure", tripDetails.adventure],
|
|
3494
|
+
[(_d = tripDetailsLabels == null ? void 0 : tripDetailsLabels.startingDate) != null ? _d : "Starting Date", tripDetails.startingDate],
|
|
3495
|
+
...tripDetails.partner ? [[(_e = tripDetailsLabels == null ? void 0 : tripDetailsLabels.partner) != null ? _e : "Partner", tripDetails.partner]] : []
|
|
3496
|
+
].map(([label, value], i) => /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { margin: "4px 0", fontSize: "13px" }, children: [
|
|
3497
|
+
/* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
|
|
3498
|
+
label,
|
|
3499
|
+
":"
|
|
3500
|
+
] }),
|
|
3501
|
+
" ",
|
|
3502
|
+
value
|
|
3503
|
+
] }, i))
|
|
3504
|
+
] }),
|
|
3505
|
+
bodyFooter && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "14px", lineHeight: "1.6", margin: "0 0 16px" }, children: bodyFooter }),
|
|
3479
3506
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3480
3507
|
"p",
|
|
3481
3508
|
{
|