qt-ui-kit 1.0.100 → 1.0.102

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)(
@@ -17226,7 +17235,7 @@ function FilterBar({ buttons }) {
17226
17235
  onClick: buttons?.microsoft_teams?.onClick
17227
17236
  }
17228
17237
  ),
17229
- !(buttons?.microsoft_mail?.disabled || buttons?.microsoft_calendar?.disabled) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
17238
+ !(buttons?.microsoft_mail?.disabled && buttons?.microsoft_calendar?.disabled) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
17230
17239
  FilterNavButton,
17231
17240
  {
17232
17241
  icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(