qt-ui-kit 1.0.55 → 1.0.56

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
@@ -16354,7 +16354,8 @@ function SingleEvent({
16354
16354
  startExpanded,
16355
16355
  sender,
16356
16356
  source,
16357
- subjectLine
16357
+ subjectLine,
16358
+ onExternal
16358
16359
  }) {
16359
16360
  const [selected, setSelected] = (0, import_react3.useState)(false);
16360
16361
  const [expanded, setExpanded] = (0, import_react3.useState)(false);
@@ -16396,7 +16397,8 @@ function SingleEvent({
16396
16397
  leftText: sender,
16397
16398
  seperator: "via",
16398
16399
  rightText: source,
16399
- shrunk: true
16400
+ shrunk: true,
16401
+ onClick: onExternal
16400
16402
  }
16401
16403
  ),
16402
16404
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SubjectLineRow, { text: subjectLine })
@@ -16560,7 +16562,8 @@ function ChatBubble({
16560
16562
  name,
16561
16563
  image,
16562
16564
  timestamp,
16563
- emojis
16565
+ emojis,
16566
+ onExternal
16564
16567
  }) {
16565
16568
  const [expanded, setExpanded] = (0, import_react4.useState)(false);
16566
16569
  const [truncatedText, setTruncatedText] = (0, import_react4.useState)(false);
@@ -16595,7 +16598,7 @@ function ChatBubble({
16595
16598
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "body-small-bold", children: name }),
16596
16599
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "text-qtneutral-700 label-3", children: timestamp })
16597
16600
  ] }),
16598
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ExternalLink, { size: 16 })
16601
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { onClick: onExternal, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ExternalLink, { size: 16 }) })
16599
16602
  ] }),
16600
16603
  /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: (0, import_clsx9.default)("flex flex-col gap-2", !expanded && " "), children: [
16601
16604
  summary && truncatedText && /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { children: [