qt-ui-kit 1.0.68 → 1.0.69

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.js CHANGED
@@ -16453,7 +16453,8 @@ function EventCard({
16453
16453
  subjectLine: d.subjectLine,
16454
16454
  onExternal: () => window.open(d.link, "_blank"),
16455
16455
  summary: d.summary
16456
- }
16456
+ },
16457
+ d.subjectLine
16457
16458
  )) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: " " }) });
16458
16459
  case "ticket" /* TICKET */:
16459
16460
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
@@ -16498,7 +16499,6 @@ function EventCard({
16498
16499
  }
16499
16500
 
16500
16501
  // src/components/organisms/message_body/email_body.tsx
16501
- var import_dompurify = __toESM(require("dompurify"));
16502
16502
  var import_react_markdown = __toESM(require("react-markdown"));
16503
16503
  var import_rehype_raw = __toESM(require("rehype-raw"));
16504
16504
  var import_jsx_runtime33 = require("react/jsx-runtime");
@@ -16512,7 +16512,7 @@ function EmailBody({
16512
16512
  attachments,
16513
16513
  body
16514
16514
  }) {
16515
- const clean = import_dompurify.default.sanitize(body ?? "");
16515
+ body = "Alex \u2014 this is getting flagged higher up. Please send me a status update on Project Alpha ASAP so I can respond accordingly.\n\n\u2014 Greg";
16516
16516
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl overflow-auto", children: [
16517
16517
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
16518
16518
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
@@ -16524,7 +16524,7 @@ function EmailBody({
16524
16524
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MetadataRow, { metadata: [`Attachments: ${attachments}`] })
16525
16525
  ] }),
16526
16526
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("hr", { className: "text-qtneutral-500" }),
16527
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "body-medium prose break-all", children: body && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
16527
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "body-medium prose break-all whitespace-pre-line", children: body && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
16528
16528
  import_react_markdown.default,
16529
16529
  {
16530
16530
  children: body,