@planetaexo/design-system 0.96.1 → 0.97.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 CHANGED
@@ -7424,6 +7424,7 @@ var DEFAULT_LABELS11 = {
7424
7424
  },
7425
7425
  registrationPendingNotice: "The travellers' registration details will be sent to you as soon as all travellers have completed their forms.",
7426
7426
  mustReplyToConfirm: "Please reply to this email to confirm the booking.",
7427
+ partnerNotesHeading: "Notes from the team",
7427
7428
  closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7428
7429
  "If you have any questions, your contact ",
7429
7430
  agentName,
@@ -7447,6 +7448,7 @@ function PartnerBookingCreatedEmail({
7447
7448
  optionals,
7448
7449
  rooms,
7449
7450
  booker,
7451
+ partnerNotes,
7450
7452
  agent,
7451
7453
  logoUrl,
7452
7454
  labels,
@@ -7520,6 +7522,52 @@ function PartnerBookingCreatedEmail({
7520
7522
  bedArrangementLabels: l.bedArrangementLabels
7521
7523
  }
7522
7524
  ),
7525
+ Array.isArray(partnerNotes) && partnerNotes.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7526
+ sectionDivider,
7527
+ /* @__PURE__ */ jsxRuntime.jsx(
7528
+ "p",
7529
+ {
7530
+ style: {
7531
+ marginTop: 0,
7532
+ marginBottom: "16px",
7533
+ paddingBottom: "8px",
7534
+ borderBottom: `2px solid ${emailTokens.primary}`,
7535
+ fontWeight: 700,
7536
+ fontSize: "18px",
7537
+ color: emailTokens.foreground,
7538
+ fontFamily: emailTokens.fontFamily
7539
+ },
7540
+ children: l.partnerNotesHeading
7541
+ }
7542
+ ),
7543
+ /* @__PURE__ */ jsxRuntime.jsx(
7544
+ "table",
7545
+ {
7546
+ role: "presentation",
7547
+ style: {
7548
+ width: "100%",
7549
+ borderCollapse: "collapse",
7550
+ fontSize: "14px",
7551
+ marginBottom: "24px"
7552
+ },
7553
+ 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: [
7554
+ hasText7(note.meta) && /* @__PURE__ */ jsxRuntime.jsx(
7555
+ "div",
7556
+ {
7557
+ style: {
7558
+ fontSize: "12px",
7559
+ fontWeight: 600,
7560
+ color: emailTokens.foreground,
7561
+ marginBottom: "4px"
7562
+ },
7563
+ children: note.meta
7564
+ }
7565
+ ),
7566
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { whiteSpace: "pre-wrap" }, children: note.body })
7567
+ ] }) }, i)) })
7568
+ }
7569
+ )
7570
+ ] }),
7523
7571
  sectionDivider,
7524
7572
  /* @__PURE__ */ jsxRuntime.jsxs(
7525
7573
  "div",