qt-ui-kit 1.0.61 → 1.0.63
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 +23 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -29
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15254,12 +15254,12 @@ function SenderSourceRow({
|
|
|
15254
15254
|
shrunk,
|
|
15255
15255
|
date
|
|
15256
15256
|
}) {
|
|
15257
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex w-full place-content-between text-neutral-1 text-[14px] leading-[130%]
|
|
15257
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex w-full place-content-between text-neutral-1 text-[14px] leading-[130%] ", children: [
|
|
15258
15258
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex gap-[4px] place-items-center", children: [
|
|
15259
15259
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "body-small-bold line-clamp-1", children: leftText }),
|
|
15260
15260
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "body-smal text-center", children: seperator }),
|
|
15261
15261
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "body-small-bold text-center line-clamp-1", children: rightText }),
|
|
15262
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "label-3 flex
|
|
15262
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "label-3 flex", children: date && formatCustomRelative(date) })
|
|
15263
15263
|
] }),
|
|
15264
15264
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { onClick, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ExternalLink, { size: shrunk ? 16 : 24 }) })
|
|
15265
15265
|
] });
|
|
@@ -15723,7 +15723,7 @@ function PreviewCard({
|
|
|
15723
15723
|
"div",
|
|
15724
15724
|
{
|
|
15725
15725
|
className: (0, import_clsx4.default)(
|
|
15726
|
-
"flex gap-4 h-min w-[
|
|
15726
|
+
" flex gap-4 h-min w-[409px] bg-neutral-6 rounded-3xl p-4 border-[2px] preview-card-shadow",
|
|
15727
15727
|
selected ? "bg-qtpurple-200 border-qtpurple-200" : "",
|
|
15728
15728
|
!read ? "border-qtpurple-500" : "border-neutral-6"
|
|
15729
15729
|
),
|
|
@@ -15753,32 +15753,26 @@ function PreviewCard({
|
|
|
15753
15753
|
}
|
|
15754
15754
|
)
|
|
15755
15755
|
] }),
|
|
15756
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
15757
|
-
"div",
|
|
15758
|
-
|
|
15759
|
-
|
|
15760
|
-
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "line-clamp-4", children: body }),
|
|
15777
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ThumbGroup, {})
|
|
15778
|
-
] })
|
|
15779
|
-
]
|
|
15780
|
-
}
|
|
15781
|
-
)
|
|
15756
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex flex-col gap-2 grow ", children: [
|
|
15757
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex flex-col grow gap-1 ", children: [
|
|
15758
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
15759
|
+
SenderSourceRow,
|
|
15760
|
+
{
|
|
15761
|
+
leftText: sender,
|
|
15762
|
+
seperator: "via",
|
|
15763
|
+
rightText: source,
|
|
15764
|
+
date,
|
|
15765
|
+
onClick: onClickGoToSource
|
|
15766
|
+
}
|
|
15767
|
+
),
|
|
15768
|
+
subjectLine && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SubjectLineRow, { text: subjectLine }),
|
|
15769
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(MetadataRow, { metadata })
|
|
15770
|
+
] }),
|
|
15771
|
+
body && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "bg-white flex flex-col max-w-full w-full gap-2 wrap-anywhere rounded-2xl text-sm p-4 leading-[120%] font-normal", children: [
|
|
15772
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "line-clamp-4", children: body }),
|
|
15773
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ThumbGroup, {})
|
|
15774
|
+
] })
|
|
15775
|
+
] })
|
|
15782
15776
|
]
|
|
15783
15777
|
}
|
|
15784
15778
|
);
|