qt-ui-kit 1.0.98 → 1.0.100

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.mjs CHANGED
@@ -16119,7 +16119,7 @@ function SingleEvent({
16119
16119
  }
16120
16120
  },
16121
16121
  children: [
16122
- /* @__PURE__ */ jsxs21("div", { className: "flex gap-2 place-items-center", children: [
16122
+ /* @__PURE__ */ jsxs21("div", { className: "flex gap-2 place-items-center w-min", children: [
16123
16123
  /* @__PURE__ */ jsx28(
16124
16124
  CategoryIcon,
16125
16125
  {
@@ -16441,8 +16441,8 @@ function ChatBubble({
16441
16441
  "div",
16442
16442
  {
16443
16443
  className: clsx9(
16444
- "h-[24px] w-[24px] rounded-t-md bg-qtneutral-500 text-qtneutral-200 flex place-items-center place-content-center font-bold text-xs",
16445
- outbound ? "rounded-bl-md" : "rounded-br-md"
16444
+ "h-[24px] w-[24px] rounded-t-md flex place-items-center place-content-center label-1-bold",
16445
+ outbound ? "rounded-bl-md bg-qtgreen-200 text-qtneutral-900" : "rounded-br-md bg-qtpurple-300 text-qtneutral-200"
16446
16446
  ),
16447
16447
  children: name ? name[0].toUpperCase() : ""
16448
16448
  }
@@ -16510,8 +16510,7 @@ function TicketBody({
16510
16510
  /* @__PURE__ */ jsx36("div", { children: "Reporter: " }),
16511
16511
  /* @__PURE__ */ jsx36("div", { children: "Team: " }),
16512
16512
  /* @__PURE__ */ jsx36("div", { children: "Location: " }),
16513
- /* @__PURE__ */ jsx36("div", { children: "Related: " }),
16514
- /* @__PURE__ */ jsx36("div", { children: "Description: " })
16513
+ /* @__PURE__ */ jsx36("div", { children: "Related: " })
16515
16514
  ] }),
16516
16515
  /* @__PURE__ */ jsxs27("div", { className: "", children: [
16517
16516
  /* @__PURE__ */ jsx36("div", { children: dueDate || "None" }),
@@ -16520,8 +16519,11 @@ function TicketBody({
16520
16519
  /* @__PURE__ */ jsx36("div", { children: reporter || "None" }),
16521
16520
  /* @__PURE__ */ jsx36("div", { children: team || "None" }),
16522
16521
  /* @__PURE__ */ jsx36("div", { children: location || "None" }),
16523
- /* @__PURE__ */ jsx36("div", { children: related || "None" }),
16524
- /* @__PURE__ */ jsx36("div", { children: description || "None" })
16522
+ /* @__PURE__ */ jsx36("div", { children: related || "None" })
16523
+ ] }),
16524
+ /* @__PURE__ */ jsxs27("div", { children: [
16525
+ /* @__PURE__ */ jsx36("div", { className: `body-bold`, children: `Description` }),
16526
+ /* @__PURE__ */ jsx36("div", { className: "body-small", children: description || "None" })
16525
16527
  ] }),
16526
16528
  comments && Array.from(comments).map((c, i) => {
16527
16529
  return /* @__PURE__ */ jsxs27("div", { className: "flex col-span-2 flex-col gap-2 w-full", children: [
@@ -17093,8 +17095,8 @@ function FilterNavButton({ icon, label, active, onClick }) {
17093
17095
  // src/components/organisms/filter_bar/filter_bar.tsx
17094
17096
  import { jsx as jsx44, jsxs as jsxs31 } from "react/jsx-runtime";
17095
17097
  function FilterBar({ buttons }) {
17096
- return /* @__PURE__ */ jsxs31("div", { className: "flex flex-col w-[54px] place-items-center gap-4", children: [
17097
- /* @__PURE__ */ jsx44(
17098
+ return /* @__PURE__ */ jsxs31("div", { className: "flex h-full min-h-0 flex-col w-[54px] items-center gap-4", children: [
17099
+ !buttons?.fires?.disabled && /* @__PURE__ */ jsx44(
17098
17100
  FilterNavButton,
17099
17101
  {
17100
17102
  icon: /* @__PURE__ */ jsx44(
@@ -17107,7 +17109,7 @@ function FilterBar({ buttons }) {
17107
17109
  onClick: buttons?.fires?.onClick
17108
17110
  }
17109
17111
  ),
17110
- /* @__PURE__ */ jsx44(
17112
+ !buttons?.unread?.disabled && /* @__PURE__ */ jsx44(
17111
17113
  FilterNavButton,
17112
17114
  {
17113
17115
  icon: /* @__PURE__ */ jsx44(
@@ -17121,7 +17123,7 @@ function FilterBar({ buttons }) {
17121
17123
  onClick: buttons?.unread?.onClick
17122
17124
  }
17123
17125
  ),
17124
- /* @__PURE__ */ jsx44(
17126
+ !buttons?.done?.disabled && /* @__PURE__ */ jsx44(
17125
17127
  FilterNavButton,
17126
17128
  {
17127
17129
  icon: /* @__PURE__ */ jsx44(
@@ -17137,95 +17139,96 @@ function FilterBar({ buttons }) {
17137
17139
  }
17138
17140
  ),
17139
17141
  /* @__PURE__ */ jsx44("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
17140
- /* @__PURE__ */ jsx44(
17141
- FilterNavButton,
17142
- {
17143
- icon: /* @__PURE__ */ jsx44("div", { className: buttons?.slack?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(SlackIcon, {}) }),
17144
- onClick: buttons?.slack?.onClick
17145
- }
17146
- ),
17147
- /* @__PURE__ */ jsx44(
17148
- FilterNavButton,
17149
- {
17150
- icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_mail?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleMailIcon, {}) }),
17151
- onClick: buttons?.google_mail?.onClick
17152
- }
17153
- ),
17154
- /* @__PURE__ */ jsx44(
17155
- FilterNavButton,
17156
- {
17157
- icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_calendar?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleCalendarIcon, {}) }),
17158
- onClick: buttons?.google_calendar?.onClick
17159
- }
17160
- ),
17161
- /* @__PURE__ */ jsx44(
17162
- FilterNavButton,
17163
- {
17164
- icon: /* @__PURE__ */ jsxs31("div", { className: buttons?.atlassian_jira?.active ? "" : "grayscale", children: [
17165
- /* @__PURE__ */ jsx44(AtlassianIcon, {}),
17166
- " "
17167
- ] }),
17168
- onClick: buttons?.atlassian_jira?.onClick
17169
- }
17170
- ),
17171
- /* @__PURE__ */ jsx44(
17172
- FilterNavButton,
17173
- {
17174
- icon: /* @__PURE__ */ jsxs31("div", { className: buttons?.microsoft_teams?.active ? "" : "grayscale", children: [
17175
- /* @__PURE__ */ jsx44(MicrosoftTeamsIcon, {}),
17176
- " "
17177
- ] }),
17178
- onClick: buttons?.microsoft_teams?.onClick
17179
- }
17180
- ),
17181
- /* @__PURE__ */ jsx44(
17182
- FilterNavButton,
17183
- {
17184
- icon: /* @__PURE__ */ jsxs31(
17185
- "div",
17186
- {
17187
- className: buttons?.microsoft_calendar?.active || buttons?.microsoft_mail?.active ? "" : "grayscale",
17188
- children: [
17189
- /* @__PURE__ */ jsx44(MicrosoftOutlookMailIcon, {}),
17190
- " "
17191
- ]
17192
- }
17193
- ),
17194
- onClick: buttons?.microsoft_mail?.onClick || buttons?.microsoft_calendar?.onClick
17195
- }
17196
- ),
17197
- /* @__PURE__ */ jsx44(
17198
- FilterNavButton,
17199
- {
17200
- icon: /* @__PURE__ */ jsxs31(
17201
- "div",
17202
- {
17203
- className: buttons?.clickup?.active || buttons?.clickup?.active ? "" : "grayscale",
17204
- children: [
17205
- /* @__PURE__ */ jsx44(ClickupIcon, {}),
17206
- " "
17207
- ]
17208
- }
17209
- ),
17210
- onClick: buttons?.clickup?.onClick
17211
- }
17212
- ),
17213
- /* @__PURE__ */ jsx44(
17214
- FilterNavButton,
17215
- {
17216
- icon: /* @__PURE__ */ jsxs31(
17217
- "div",
17218
- {
17219
- className: buttons?.asana?.active || buttons?.asana?.active ? "" : "grayscale",
17220
- children: [
17221
- /* @__PURE__ */ jsx44(AsanaIcon, {}),
17222
- " "
17223
- ]
17224
- }
17225
- ),
17226
- onClick: buttons?.asana?.onClick
17227
- }
17228
- ),
17142
+ /* @__PURE__ */ jsxs31("div", { className: "flex-1 min-h-0 w-full overflow-y-auto flex flex-col gap-4 overscroll-contain [scrollbar-gutter:stable] pl-1", children: [
17143
+ !buttons?.slack?.disabled && /* @__PURE__ */ jsx44(
17144
+ FilterNavButton,
17145
+ {
17146
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.slack?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(SlackIcon, {}) }),
17147
+ label: "slack",
17148
+ onClick: buttons?.slack?.onClick
17149
+ }
17150
+ ),
17151
+ !buttons?.google_mail?.disabled && /* @__PURE__ */ jsx44(
17152
+ FilterNavButton,
17153
+ {
17154
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_mail?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleMailIcon, {}) }),
17155
+ label: "Gmail",
17156
+ onClick: buttons?.google_mail?.onClick
17157
+ }
17158
+ ),
17159
+ !buttons?.google_calendar?.disabled && /* @__PURE__ */ jsx44(
17160
+ FilterNavButton,
17161
+ {
17162
+ icon: /* @__PURE__ */ jsx44(
17163
+ "div",
17164
+ {
17165
+ className: buttons?.google_calendar?.active ? "" : "grayscale",
17166
+ children: /* @__PURE__ */ jsx44(GoogleCalendarIcon, {})
17167
+ }
17168
+ ),
17169
+ label: "Gcal",
17170
+ onClick: buttons?.google_calendar?.onClick
17171
+ }
17172
+ ),
17173
+ !buttons?.atlassian_jira?.disabled && /* @__PURE__ */ jsx44(
17174
+ FilterNavButton,
17175
+ {
17176
+ icon: /* @__PURE__ */ jsx44(
17177
+ "div",
17178
+ {
17179
+ className: buttons?.atlassian_jira?.active ? "" : "grayscale",
17180
+ children: /* @__PURE__ */ jsx44(AtlassianIcon, {})
17181
+ }
17182
+ ),
17183
+ label: "Jira",
17184
+ onClick: buttons?.atlassian_jira?.onClick
17185
+ }
17186
+ ),
17187
+ !buttons?.microsoft_teams?.disabled && /* @__PURE__ */ jsx44(
17188
+ FilterNavButton,
17189
+ {
17190
+ icon: /* @__PURE__ */ jsx44(
17191
+ "div",
17192
+ {
17193
+ className: buttons?.microsoft_teams?.active ? "" : "grayscale",
17194
+ children: /* @__PURE__ */ jsx44(MicrosoftTeamsIcon, {})
17195
+ }
17196
+ ),
17197
+ label: "Teams",
17198
+ onClick: buttons?.microsoft_teams?.onClick
17199
+ }
17200
+ ),
17201
+ !(buttons?.microsoft_mail?.disabled || buttons?.microsoft_calendar?.disabled) && /* @__PURE__ */ jsx44(
17202
+ FilterNavButton,
17203
+ {
17204
+ icon: /* @__PURE__ */ jsx44(
17205
+ "div",
17206
+ {
17207
+ className: buttons?.microsoft_calendar?.active || buttons?.microsoft_mail?.active ? "" : "grayscale",
17208
+ children: /* @__PURE__ */ jsx44(MicrosoftOutlookMailIcon, {})
17209
+ }
17210
+ ),
17211
+ label: "Outlook",
17212
+ onClick: buttons?.microsoft_mail?.onClick || buttons?.microsoft_calendar?.onClick
17213
+ }
17214
+ ),
17215
+ !buttons?.clickup?.disabled && /* @__PURE__ */ jsx44(
17216
+ FilterNavButton,
17217
+ {
17218
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.clickup?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(ClickupIcon, {}) }),
17219
+ label: "ClickUp",
17220
+ onClick: buttons?.clickup?.onClick
17221
+ }
17222
+ ),
17223
+ !buttons?.asana?.disabled && /* @__PURE__ */ jsx44(
17224
+ FilterNavButton,
17225
+ {
17226
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.asana?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(AsanaIcon, {}) }),
17227
+ label: "Asana",
17228
+ onClick: buttons?.asana?.onClick
17229
+ }
17230
+ )
17231
+ ] }),
17229
17232
  /* @__PURE__ */ jsx44("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
17230
17233
  /* @__PURE__ */ jsx44("div", { onClick: buttons?.more?.onClick, children: /* @__PURE__ */ jsx44(FilterNavButton, { icon: /* @__PURE__ */ jsx44(PlusLarge, { size: 36 }) }) })
17231
17234
  ] });