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.mjs CHANGED
@@ -16426,7 +16426,8 @@ function EventCard({
16426
16426
  subjectLine: d.subjectLine,
16427
16427
  onExternal: () => window.open(d.link, "_blank"),
16428
16428
  summary: d.summary
16429
- }
16429
+ },
16430
+ d.subjectLine
16430
16431
  )) : /* @__PURE__ */ jsx32(Fragment12, { children: " " }) });
16431
16432
  case "ticket" /* TICKET */:
16432
16433
  return /* @__PURE__ */ jsx32(Fragment12, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ jsx32(
@@ -16471,7 +16472,6 @@ function EventCard({
16471
16472
  }
16472
16473
 
16473
16474
  // src/components/organisms/message_body/email_body.tsx
16474
- import DOMPurify from "dompurify";
16475
16475
  import ReactMarkdown from "react-markdown";
16476
16476
  import rehypeRaw from "rehype-raw";
16477
16477
  import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
@@ -16485,7 +16485,7 @@ function EmailBody({
16485
16485
  attachments,
16486
16486
  body
16487
16487
  }) {
16488
- const clean = DOMPurify.sanitize(body ?? "");
16488
+ 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";
16489
16489
  return /* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl overflow-auto", children: [
16490
16490
  /* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-0.5", children: [
16491
16491
  /* @__PURE__ */ jsx33(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
@@ -16497,7 +16497,7 @@ function EmailBody({
16497
16497
  /* @__PURE__ */ jsx33(MetadataRow, { metadata: [`Attachments: ${attachments}`] })
16498
16498
  ] }),
16499
16499
  /* @__PURE__ */ jsx33("hr", { className: "text-qtneutral-500" }),
16500
- /* @__PURE__ */ jsx33("div", { className: "body-medium prose break-all", children: body && /* @__PURE__ */ jsx33(
16500
+ /* @__PURE__ */ jsx33("div", { className: "body-medium prose break-all whitespace-pre-line", children: body && /* @__PURE__ */ jsx33(
16501
16501
  ReactMarkdown,
16502
16502
  {
16503
16503
  children: body,