@planetaexo/design-system 0.92.3 → 0.92.5
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 +47 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -7107,6 +7107,7 @@ var DEFAULT_LABELS10 = {
|
|
|
7107
7107
|
expectationsHeading: "Travellers Expectations",
|
|
7108
7108
|
expectationsEmptyNote: "No expectations were collected for this adventure.",
|
|
7109
7109
|
expectationsEmptyAnswer: "\u2014",
|
|
7110
|
+
partnerNotesHeading: "Notes from the team",
|
|
7110
7111
|
pdfNote: "The consolidated registration PDF is attached. Please review it carefully, as it contains important traveller information, including dietary restrictions, medical conditions, preferences, and other details that may help improve the guest experience and ensure proper preparation.",
|
|
7111
7112
|
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7112
7113
|
"If you have any questions, your contact ",
|
|
@@ -7135,6 +7136,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
7135
7136
|
bookingPersonPassport,
|
|
7136
7137
|
travellersCount,
|
|
7137
7138
|
expectations,
|
|
7139
|
+
partnerNotes,
|
|
7138
7140
|
pdfAttached,
|
|
7139
7141
|
agent,
|
|
7140
7142
|
logoUrl,
|
|
@@ -7259,6 +7261,51 @@ function PartnerRegistrationCompleteEmail({
|
|
|
7259
7261
|
}) })
|
|
7260
7262
|
}
|
|
7261
7263
|
) : /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
|
|
7264
|
+
Array.isArray(partnerNotes) && partnerNotes.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7265
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7266
|
+
"p",
|
|
7267
|
+
{
|
|
7268
|
+
style: {
|
|
7269
|
+
marginTop: 0,
|
|
7270
|
+
marginBottom: "16px",
|
|
7271
|
+
paddingBottom: "8px",
|
|
7272
|
+
borderBottom: `2px solid ${emailTokens.primary}`,
|
|
7273
|
+
fontWeight: 700,
|
|
7274
|
+
fontSize: "18px",
|
|
7275
|
+
color: emailTokens.foreground,
|
|
7276
|
+
fontFamily: emailTokens.fontFamily
|
|
7277
|
+
},
|
|
7278
|
+
children: l.partnerNotesHeading
|
|
7279
|
+
}
|
|
7280
|
+
),
|
|
7281
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7282
|
+
"table",
|
|
7283
|
+
{
|
|
7284
|
+
role: "presentation",
|
|
7285
|
+
style: {
|
|
7286
|
+
width: "100%",
|
|
7287
|
+
borderCollapse: "collapse",
|
|
7288
|
+
fontSize: "14px",
|
|
7289
|
+
marginBottom: "24px"
|
|
7290
|
+
},
|
|
7291
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: partnerNotes.map((note, i) => /* @__PURE__ */ jsxRuntime.jsx("tr", { style: { borderBottom: `1px solid ${emailTokens.border}` }, children: /* @__PURE__ */ jsxRuntime.jsxs("td", { style: { padding: "10px 0", color: emailTokens.bodyText, verticalAlign: "top" }, children: [
|
|
7292
|
+
hasText6(note.meta) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7293
|
+
"div",
|
|
7294
|
+
{
|
|
7295
|
+
style: {
|
|
7296
|
+
fontSize: "12px",
|
|
7297
|
+
fontWeight: 600,
|
|
7298
|
+
color: emailTokens.foreground,
|
|
7299
|
+
marginBottom: "4px"
|
|
7300
|
+
},
|
|
7301
|
+
children: note.meta
|
|
7302
|
+
}
|
|
7303
|
+
),
|
|
7304
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { whiteSpace: "pre-wrap" }, children: note.body })
|
|
7305
|
+
] }) }, i)) })
|
|
7306
|
+
}
|
|
7307
|
+
)
|
|
7308
|
+
] }),
|
|
7262
7309
|
pdfAttached && hasText6(l.pdfNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7263
7310
|
"div",
|
|
7264
7311
|
{
|