qt-ui-kit 1.0.110 → 1.0.112
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 +33 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15589,20 +15589,39 @@ function PreviewCard({
|
|
|
15589
15589
|
] }),
|
|
15590
15590
|
body && /* @__PURE__ */ jsx20("div", { className: "flex flex-col max-w-full w-full wrap-anywhere", children: /* @__PURE__ */ jsx20("p", { className: "line-clamp-2 body-small", children: body }) }),
|
|
15591
15591
|
/* @__PURE__ */ jsx20("div", { className: "flex", children: /* @__PURE__ */ jsxs15("div", { className: "w-full relative flex place-content-between place-items-center", children: [
|
|
15592
|
-
/* @__PURE__ */
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
/* @__PURE__ */ jsx20(
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15592
|
+
/* @__PURE__ */ jsxs15("div", { className: "flex flex-row gap-2", children: [
|
|
15593
|
+
/* @__PURE__ */ jsx20(
|
|
15594
|
+
"div",
|
|
15595
|
+
{
|
|
15596
|
+
onClick: (e) => {
|
|
15597
|
+
e.stopPropagation();
|
|
15598
|
+
setoverrideMenuOpen(!overrideMenuOpen);
|
|
15599
|
+
},
|
|
15600
|
+
children: /* @__PURE__ */ jsx20(
|
|
15601
|
+
CategoryBadge,
|
|
15602
|
+
{
|
|
15603
|
+
active: eventBadges?.some((b) => b.type === "fire") && eventCategory === "fire"
|
|
15604
|
+
}
|
|
15605
|
+
)
|
|
15606
|
+
}
|
|
15607
|
+
),
|
|
15608
|
+
eventBadges?.map((badge, index) => {
|
|
15609
|
+
if (badge.type === "insight") {
|
|
15610
|
+
return /* @__PURE__ */ jsxs15(
|
|
15611
|
+
"div",
|
|
15612
|
+
{
|
|
15613
|
+
className: "flex flex-row gap-1 items-center bg-qtpurple-200 border-qtpurple-500 pl-1 pr-2 py-0.5 border-2 border-solid rounded-lg",
|
|
15614
|
+
children: [
|
|
15615
|
+
/* @__PURE__ */ jsx20(InsightsIcon2, { size: 16, color: "#4F3ED0" }),
|
|
15616
|
+
/* @__PURE__ */ jsx20("div", { className: "font-bold text-xs", children: badge.label || "Test" })
|
|
15617
|
+
]
|
|
15618
|
+
},
|
|
15619
|
+
index
|
|
15620
|
+
);
|
|
15621
|
+
}
|
|
15622
|
+
return null;
|
|
15623
|
+
})
|
|
15624
|
+
] }),
|
|
15606
15625
|
overrideMenuOpen && /* @__PURE__ */ jsx20("div", { className: "absolute right-[56%] top-[140%]", children: /* @__PURE__ */ jsx20(
|
|
15607
15626
|
DropDown,
|
|
15608
15627
|
{
|