@planetaexo/design-system 0.50.0 → 0.51.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 +34 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -11
- package/dist/index.d.ts +28 -11
- package/dist/index.js +34 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6208,7 +6208,7 @@ var DEFAULT_LABELS8 = {
|
|
|
6208
6208
|
function hasText4(s) {
|
|
6209
6209
|
return typeof s === "string" && s.trim().length > 0;
|
|
6210
6210
|
}
|
|
6211
|
-
function
|
|
6211
|
+
function PartnerRegistrationCompleteEmail({
|
|
6212
6212
|
scenario,
|
|
6213
6213
|
topNotice,
|
|
6214
6214
|
partnerName,
|
|
@@ -6394,6 +6394,7 @@ var DEFAULT_LABELS9 = {
|
|
|
6394
6394
|
adventureLabel: "Adventure",
|
|
6395
6395
|
datesLabel: "Dates",
|
|
6396
6396
|
numberOfPeopleLabel: "Number of Travellers",
|
|
6397
|
+
optionalsLabel: "Optionals",
|
|
6397
6398
|
registrationPendingNotice: "The travellers' registration details will be sent to you as soon as all travellers have completed their forms.",
|
|
6398
6399
|
mustReplyToConfirm: "Please reply to this email to confirm the booking.",
|
|
6399
6400
|
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -6416,6 +6417,7 @@ function PartnerBookingCreatedEmail({
|
|
|
6416
6417
|
adventureName,
|
|
6417
6418
|
dateRange,
|
|
6418
6419
|
travellersCount,
|
|
6420
|
+
optionals,
|
|
6419
6421
|
booker,
|
|
6420
6422
|
agent,
|
|
6421
6423
|
logoUrl,
|
|
@@ -6429,7 +6431,8 @@ function PartnerBookingCreatedEmail({
|
|
|
6429
6431
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6430
6432
|
{ label: l.adventureLabel, value: adventureName },
|
|
6431
6433
|
{ label: l.datesLabel, value: dateRange },
|
|
6432
|
-
{ label: l.numberOfPeopleLabel, value: travellersCount }
|
|
6434
|
+
{ label: l.numberOfPeopleLabel, value: travellersCount },
|
|
6435
|
+
...optionals && optionals.length ? [{ label: l.optionalsLabel, value: optionals.join("\n") }] : []
|
|
6433
6436
|
];
|
|
6434
6437
|
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6435
6438
|
"hr",
|
|
@@ -12878,8 +12881,10 @@ function TripPage({
|
|
|
12878
12881
|
weather,
|
|
12879
12882
|
optionalExtras,
|
|
12880
12883
|
accommodation,
|
|
12884
|
+
accommodationGallery,
|
|
12881
12885
|
whenItOperates,
|
|
12882
12886
|
food,
|
|
12887
|
+
foodGallery,
|
|
12883
12888
|
termsAndConditions,
|
|
12884
12889
|
meetingPoints,
|
|
12885
12890
|
meetingPoint,
|
|
@@ -12947,7 +12952,7 @@ function TripPage({
|
|
|
12947
12952
|
{ id: "included", label: (_c2 = labels == null ? void 0 : labels.whatIsIncluded) != null ? _c2 : "What is Included", show: !!(included == null ? void 0 : included.length) },
|
|
12948
12953
|
{ id: "what-to-bring", label: (_d2 = labels == null ? void 0 : labels.whatToBring) != null ? _d2 : "What to Bring", show: !!(whatToBring == null ? void 0 : whatToBring.length) },
|
|
12949
12954
|
{ id: "when-it-operates", label: (_e2 = labels == null ? void 0 : labels.whenItOperates) != null ? _e2 : "When this tour operates", show: !!whenItOperates },
|
|
12950
|
-
{ id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!accommodation },
|
|
12955
|
+
{ id: "accommodation", label: (_f2 = labels == null ? void 0 : labels.accommodation) != null ? _f2 : "Accommodation", show: !!(accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length)) },
|
|
12951
12956
|
{ id: "terms", label: (_g2 = labels == null ? void 0 : labels.terms) != null ? _g2 : "Terms", show: !!termsAndConditions },
|
|
12952
12957
|
{ id: "faq", label: (_h2 = labels == null ? void 0 : labels.faq) != null ? _h2 : "FAQ", show: !!(faqs == null ? void 0 : faqs.length) },
|
|
12953
12958
|
{ id: "reviews", label: (_i2 = labels == null ? void 0 : labels.reviews) != null ? _i2 : "Reviews", show: !!(trustpilot || (reviews == null ? void 0 : reviews.length)) }
|
|
@@ -13158,7 +13163,7 @@ function TripPage({
|
|
|
13158
13163
|
}
|
|
13159
13164
|
)
|
|
13160
13165
|
] }),
|
|
13161
|
-
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || food || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13166
|
+
(howToGetThere || (whatToBring == null ? void 0 : whatToBring.length) || weather || optionalExtras || accommodation || (accommodationGallery == null ? void 0 : accommodationGallery.length) || food || (foodGallery == null ? void 0 : foodGallery.length) || (meetingPoints == null ? void 0 : meetingPoints.length) || meetingPoint || termsAndConditions || whenItOperates) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13162
13167
|
Accordion,
|
|
13163
13168
|
{
|
|
13164
13169
|
multiple: false,
|
|
@@ -13181,7 +13186,7 @@ function TripPage({
|
|
|
13181
13186
|
]
|
|
13182
13187
|
}
|
|
13183
13188
|
),
|
|
13184
|
-
accommodation && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13189
|
+
(accommodation || accommodationGallery && accommodationGallery.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13185
13190
|
AccordionItem,
|
|
13186
13191
|
{
|
|
13187
13192
|
value: "accommodation",
|
|
@@ -13192,11 +13197,21 @@ function TripPage({
|
|
|
13192
13197
|
(sectionIcons == null ? void 0 : sectionIcons.accommodation) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.accommodation }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BedDoubleIcon, { className: "h-5 w-5 text-primary" }),
|
|
13193
13198
|
(_g = labels == null ? void 0 : labels.accommodation) != null ? _g : "Accommodation"
|
|
13194
13199
|
] }) }),
|
|
13195
|
-
/* @__PURE__ */ jsxRuntime.
|
|
13200
|
+
/* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "pb-6", children: [
|
|
13201
|
+
accommodation && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: accommodation }),
|
|
13202
|
+
accommodationGallery && accommodationGallery.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(accommodation && "mt-6"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13203
|
+
PhotoGallery,
|
|
13204
|
+
{
|
|
13205
|
+
photos: accommodationGallery,
|
|
13206
|
+
variant: "gridCompact",
|
|
13207
|
+
initialVisible: 6
|
|
13208
|
+
}
|
|
13209
|
+
) })
|
|
13210
|
+
] })
|
|
13196
13211
|
]
|
|
13197
13212
|
}
|
|
13198
13213
|
),
|
|
13199
|
-
food && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13214
|
+
(food || foodGallery && foodGallery.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13200
13215
|
AccordionItem,
|
|
13201
13216
|
{
|
|
13202
13217
|
value: "food",
|
|
@@ -13207,7 +13222,17 @@ function TripPage({
|
|
|
13207
13222
|
(sectionIcons == null ? void 0 : sectionIcons.food) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary [&>svg]:h-5 [&>svg]:w-5", children: sectionIcons.food }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UtensilsIcon, { className: "h-5 w-5 text-primary" }),
|
|
13208
13223
|
(_h = labels == null ? void 0 : labels.food) != null ? _h : "Food"
|
|
13209
13224
|
] }) }),
|
|
13210
|
-
/* @__PURE__ */ jsxRuntime.
|
|
13225
|
+
/* @__PURE__ */ jsxRuntime.jsxs(AccordionContent, { className: "pb-6", children: [
|
|
13226
|
+
food && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base text-foreground leading-relaxed space-y-3 [&_strong]:font-semibold [&_a]:text-primary [&_a]:underline", children: food }),
|
|
13227
|
+
foodGallery && foodGallery.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(food && "mt-6"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13228
|
+
PhotoGallery,
|
|
13229
|
+
{
|
|
13230
|
+
photos: foodGallery,
|
|
13231
|
+
variant: "gridCompact",
|
|
13232
|
+
initialVisible: 6
|
|
13233
|
+
}
|
|
13234
|
+
) })
|
|
13235
|
+
] })
|
|
13211
13236
|
]
|
|
13212
13237
|
}
|
|
13213
13238
|
),
|
|
@@ -14307,7 +14332,7 @@ exports.OTPCodeInput = OTPCodeInput;
|
|
|
14307
14332
|
exports.Offer = Offer;
|
|
14308
14333
|
exports.OfferAdventureCard = OfferAdventureCard;
|
|
14309
14334
|
exports.PartnerBookingCreatedEmail = PartnerBookingCreatedEmail;
|
|
14310
|
-
exports.
|
|
14335
|
+
exports.PartnerRegistrationCompleteEmail = PartnerRegistrationCompleteEmail;
|
|
14311
14336
|
exports.PaymentAmountSelector = PaymentAmountSelector;
|
|
14312
14337
|
exports.PaymentDetailsBlock = PaymentDetailsBlock;
|
|
14313
14338
|
exports.PaymentMethodSelector = PaymentMethodSelector;
|