qt-ui-kit 1.0.62 → 1.0.64
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 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -30
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +3 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15227,12 +15227,12 @@ function SenderSourceRow({
|
|
|
15227
15227
|
shrunk,
|
|
15228
15228
|
date
|
|
15229
15229
|
}) {
|
|
15230
|
-
return /* @__PURE__ */ jsxs9("div", { className: "flex w-full place-content-between text-neutral-1 text-[14px] leading-[130%]
|
|
15230
|
+
return /* @__PURE__ */ jsxs9("div", { className: "flex w-full place-content-between text-neutral-1 text-[14px] leading-[130%] ", children: [
|
|
15231
15231
|
/* @__PURE__ */ jsxs9("div", { className: "flex gap-[4px] place-items-center", children: [
|
|
15232
15232
|
/* @__PURE__ */ jsx12("div", { className: "body-small-bold line-clamp-1", children: leftText }),
|
|
15233
15233
|
/* @__PURE__ */ jsx12("div", { className: "body-smal text-center", children: seperator }),
|
|
15234
15234
|
/* @__PURE__ */ jsx12("div", { className: "body-small-bold text-center line-clamp-1", children: rightText }),
|
|
15235
|
-
/* @__PURE__ */ jsx12("div", { className: "label-3 flex
|
|
15235
|
+
/* @__PURE__ */ jsx12("div", { className: "label-3 flex", children: date && formatCustomRelative(date) })
|
|
15236
15236
|
] }),
|
|
15237
15237
|
/* @__PURE__ */ jsx12("div", { onClick, children: /* @__PURE__ */ jsx12(ExternalLink, { size: shrunk ? 16 : 24 }) })
|
|
15238
15238
|
] });
|
|
@@ -15696,7 +15696,7 @@ function PreviewCard({
|
|
|
15696
15696
|
"div",
|
|
15697
15697
|
{
|
|
15698
15698
|
className: clsx4(
|
|
15699
|
-
"flex gap-4 h-min w-[409px] bg-neutral-6 rounded-3xl p-4 border-[2px] preview-card-shadow",
|
|
15699
|
+
" flex gap-4 h-min w-[409px] bg-neutral-6 rounded-3xl p-4 border-[2px] preview-card-shadow",
|
|
15700
15700
|
selected ? "bg-qtpurple-200 border-qtpurple-200" : "",
|
|
15701
15701
|
!read ? "border-qtpurple-500" : "border-neutral-6"
|
|
15702
15702
|
),
|
|
@@ -15726,32 +15726,26 @@ function PreviewCard({
|
|
|
15726
15726
|
}
|
|
15727
15727
|
)
|
|
15728
15728
|
] }),
|
|
15729
|
-
/* @__PURE__ */ jsxs14(
|
|
15730
|
-
"div",
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
/* @__PURE__ */ jsx21("p", { className: "line-clamp-4", children: body }),
|
|
15750
|
-
/* @__PURE__ */ jsx21(ThumbGroup, {})
|
|
15751
|
-
] })
|
|
15752
|
-
]
|
|
15753
|
-
}
|
|
15754
|
-
)
|
|
15729
|
+
/* @__PURE__ */ jsxs14("div", { className: "flex flex-col gap-2 grow ", children: [
|
|
15730
|
+
/* @__PURE__ */ jsxs14("div", { className: "flex flex-col grow gap-1 ", children: [
|
|
15731
|
+
/* @__PURE__ */ jsx21(
|
|
15732
|
+
SenderSourceRow,
|
|
15733
|
+
{
|
|
15734
|
+
leftText: sender,
|
|
15735
|
+
seperator: "via",
|
|
15736
|
+
rightText: source,
|
|
15737
|
+
date,
|
|
15738
|
+
onClick: onClickGoToSource
|
|
15739
|
+
}
|
|
15740
|
+
),
|
|
15741
|
+
subjectLine && /* @__PURE__ */ jsx21(SubjectLineRow, { text: subjectLine }),
|
|
15742
|
+
/* @__PURE__ */ jsx21(MetadataRow, { metadata })
|
|
15743
|
+
] }),
|
|
15744
|
+
body && /* @__PURE__ */ jsxs14("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: [
|
|
15745
|
+
/* @__PURE__ */ jsx21("p", { className: "line-clamp-4", children: body }),
|
|
15746
|
+
/* @__PURE__ */ jsx21(ThumbGroup, {})
|
|
15747
|
+
] })
|
|
15748
|
+
] })
|
|
15755
15749
|
]
|
|
15756
15750
|
}
|
|
15757
15751
|
);
|
|
@@ -16488,7 +16482,6 @@ function EmailBody({
|
|
|
16488
16482
|
attachments,
|
|
16489
16483
|
body
|
|
16490
16484
|
}) {
|
|
16491
|
-
body = "Hi Greg,\n\nJust checking in on the milestone for Project Alpha this week. We\u2019re hoping to see visible progress by Friday, per the plan. Can you confirm we\u2019re still on track?\n\nThanks so much,\nDana\n\nDirector Major Projects\nAmtryx Co.";
|
|
16492
16485
|
return /* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl", children: [
|
|
16493
16486
|
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-0.5", children: [
|
|
16494
16487
|
/* @__PURE__ */ jsx33(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
|