qt-ui-kit 1.0.99 → 1.0.101

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
@@ -16147,27 +16147,36 @@ function SingleEvent({
16147
16147
  }
16148
16148
  },
16149
16149
  children: [
16150
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex gap-2 place-items-center w-min", children: [
16151
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
16152
- CategoryIcon,
16153
- {
16154
- size: 30,
16155
- icon: "fire" /* FIRE */,
16156
- variant: urgency == "high" ? void 0 : urgency == "medium" ? "#FFD481" /* YELLOW */ : urgency == void 0 ? "none" /* OUTLINED */ : void 0
16157
- }
16158
- ),
16159
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-col w-full h-min", children: [
16160
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
16161
- SenderSourceRow,
16162
- {
16163
- leftText: sender,
16164
- seperator: source ? "via" : "",
16165
- rightText: source
16166
- }
16167
- ),
16168
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SubjectLineRow, { text: subjectLine })
16169
- ] })
16170
- ] }),
16150
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
16151
+ "div",
16152
+ {
16153
+ className: "flex gap-2 place-items-center w-full",
16154
+ onClick: (e) => {
16155
+ setExpanded(!expanded);
16156
+ },
16157
+ children: [
16158
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
16159
+ CategoryIcon,
16160
+ {
16161
+ size: 30,
16162
+ icon: "fire" /* FIRE */,
16163
+ variant: urgency == "high" ? void 0 : urgency == "medium" ? "#FFD481" /* YELLOW */ : urgency == void 0 ? "none" /* OUTLINED */ : void 0
16164
+ }
16165
+ ),
16166
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-col w-full h-min den", children: [
16167
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
16168
+ SenderSourceRow,
16169
+ {
16170
+ leftText: sender,
16171
+ seperator: source ? "via" : "",
16172
+ rightText: source
16173
+ }
16174
+ ),
16175
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SubjectLineRow, { text: subjectLine })
16176
+ ] })
16177
+ ]
16178
+ }
16179
+ ),
16171
16180
  expanded && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
16172
16181
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { children: [
16173
16182
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
@@ -16538,8 +16547,7 @@ function TicketBody({
16538
16547
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Reporter: " }),
16539
16548
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Team: " }),
16540
16549
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Location: " }),
16541
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Related: " }),
16542
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Description: " })
16550
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: "Related: " })
16543
16551
  ] }),
16544
16552
  /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "", children: [
16545
16553
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: dueDate || "None" }),
@@ -16548,8 +16556,11 @@ function TicketBody({
16548
16556
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: reporter || "None" }),
16549
16557
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: team || "None" }),
16550
16558
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: location || "None" }),
16551
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: related || "None" }),
16552
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: description || "None" })
16559
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: related || "None" })
16560
+ ] }),
16561
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { children: [
16562
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: `body-bold`, children: `Description` }),
16563
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "body-small", children: description || "None" })
16553
16564
  ] }),
16554
16565
  comments && Array.from(comments).map((c, i) => {
16555
16566
  return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex col-span-2 flex-col gap-2 w-full", children: [