@planetaexo/design-system 0.40.0 → 0.41.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 +55 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5853,6 +5853,7 @@ function hasText3(s) {
|
|
|
5853
5853
|
}
|
|
5854
5854
|
function PartnerConfirmationEmail({
|
|
5855
5855
|
scenario,
|
|
5856
|
+
topNotice,
|
|
5856
5857
|
partnerName,
|
|
5857
5858
|
bookingNumber,
|
|
5858
5859
|
adventureName,
|
|
@@ -5904,6 +5905,21 @@ function PartnerConfirmationEmail({
|
|
|
5904
5905
|
className,
|
|
5905
5906
|
children: [
|
|
5906
5907
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
5908
|
+
hasText3(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5909
|
+
"div",
|
|
5910
|
+
{
|
|
5911
|
+
style: {
|
|
5912
|
+
padding: "12px 16px",
|
|
5913
|
+
borderRadius: 8,
|
|
5914
|
+
backgroundColor: "#fef3c7",
|
|
5915
|
+
color: "#78350f",
|
|
5916
|
+
fontWeight: 600,
|
|
5917
|
+
fontSize: "14px",
|
|
5918
|
+
marginBottom: "20px"
|
|
5919
|
+
},
|
|
5920
|
+
children: topNotice
|
|
5921
|
+
}
|
|
5922
|
+
),
|
|
5907
5923
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(partnerName) }),
|
|
5908
5924
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
5909
5925
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "24px", fontWeight: 600 }, children: l.travellersCountLine(travellersCount) }),
|
|
@@ -6009,6 +6025,8 @@ var DEFAULT_LABELS8 = {
|
|
|
6009
6025
|
bookerNameLabel: "Name",
|
|
6010
6026
|
bookerEmailLabel: "Email",
|
|
6011
6027
|
bookerPhoneLabel: "Phone",
|
|
6028
|
+
registrationPendingNotice: "The travellers' registration details will be sent to you as soon as all travellers have completed their forms.",
|
|
6029
|
+
mustReplyToConfirm: "Please reply to this email to confirm the booking.",
|
|
6012
6030
|
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6013
6031
|
"If you have any questions, your contact ",
|
|
6014
6032
|
agentName,
|
|
@@ -6023,6 +6041,7 @@ var DEFAULT_LABELS8 = {
|
|
|
6023
6041
|
teamSignature: "The PlanetaEXO Team"
|
|
6024
6042
|
};
|
|
6025
6043
|
function PartnerBookingCreatedEmail({
|
|
6044
|
+
topNotice,
|
|
6026
6045
|
partnerName,
|
|
6027
6046
|
bookingNumber,
|
|
6028
6047
|
adventureName,
|
|
@@ -6081,6 +6100,21 @@ function PartnerBookingCreatedEmail({
|
|
|
6081
6100
|
className,
|
|
6082
6101
|
children: [
|
|
6083
6102
|
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6103
|
+
hasText4(topNotice) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6104
|
+
"div",
|
|
6105
|
+
{
|
|
6106
|
+
style: {
|
|
6107
|
+
padding: "12px 16px",
|
|
6108
|
+
borderRadius: 8,
|
|
6109
|
+
backgroundColor: "#fef3c7",
|
|
6110
|
+
color: "#78350f",
|
|
6111
|
+
fontWeight: 600,
|
|
6112
|
+
fontSize: "14px",
|
|
6113
|
+
marginBottom: "20px"
|
|
6114
|
+
},
|
|
6115
|
+
children: topNotice
|
|
6116
|
+
}
|
|
6117
|
+
),
|
|
6084
6118
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(partnerName) }),
|
|
6085
6119
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "24px" }, children: l.intro(adventureName) }),
|
|
6086
6120
|
sectionDivider,
|
|
@@ -6157,6 +6191,27 @@ function PartnerBookingCreatedEmail({
|
|
|
6157
6191
|
}
|
|
6158
6192
|
),
|
|
6159
6193
|
sectionDivider,
|
|
6194
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6195
|
+
"div",
|
|
6196
|
+
{
|
|
6197
|
+
style: {
|
|
6198
|
+
padding: "16px 20px",
|
|
6199
|
+
borderRadius: 8,
|
|
6200
|
+
border: "2px solid #f59e0b",
|
|
6201
|
+
backgroundColor: "#fef3c7",
|
|
6202
|
+
color: "#78350f",
|
|
6203
|
+
fontSize: "14px",
|
|
6204
|
+
marginBottom: "16px"
|
|
6205
|
+
},
|
|
6206
|
+
children: [
|
|
6207
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0, marginBottom: "10px", lineHeight: 1.5 }, children: l.registrationPendingNotice }),
|
|
6208
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { style: { margin: 0, fontWeight: 700, fontSize: "15px", lineHeight: 1.5 }, children: [
|
|
6209
|
+
"\u26A0\uFE0F ",
|
|
6210
|
+
l.mustReplyToConfirm
|
|
6211
|
+
] })
|
|
6212
|
+
]
|
|
6213
|
+
}
|
|
6214
|
+
),
|
|
6160
6215
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
6161
6216
|
whatsappUrl: agent.whatsappUrl,
|
|
6162
6217
|
email: agent.email
|