qt-ui-kit 1.0.98 → 1.0.99

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
  }
@@ -17093,8 +17093,8 @@ function FilterNavButton({ icon, label, active, onClick }) {
17093
17093
  // src/components/organisms/filter_bar/filter_bar.tsx
17094
17094
  import { jsx as jsx44, jsxs as jsxs31 } from "react/jsx-runtime";
17095
17095
  function FilterBar({ buttons }) {
17096
- return /* @__PURE__ */ jsxs31("div", { className: "flex flex-col w-[54px] place-items-center gap-4", children: [
17097
- /* @__PURE__ */ jsx44(
17096
+ return /* @__PURE__ */ jsxs31("div", { className: "flex h-full min-h-0 flex-col w-[54px] items-center gap-4", children: [
17097
+ !buttons?.fires?.disabled && /* @__PURE__ */ jsx44(
17098
17098
  FilterNavButton,
17099
17099
  {
17100
17100
  icon: /* @__PURE__ */ jsx44(
@@ -17107,7 +17107,7 @@ function FilterBar({ buttons }) {
17107
17107
  onClick: buttons?.fires?.onClick
17108
17108
  }
17109
17109
  ),
17110
- /* @__PURE__ */ jsx44(
17110
+ !buttons?.unread?.disabled && /* @__PURE__ */ jsx44(
17111
17111
  FilterNavButton,
17112
17112
  {
17113
17113
  icon: /* @__PURE__ */ jsx44(
@@ -17121,7 +17121,7 @@ function FilterBar({ buttons }) {
17121
17121
  onClick: buttons?.unread?.onClick
17122
17122
  }
17123
17123
  ),
17124
- /* @__PURE__ */ jsx44(
17124
+ !buttons?.done?.disabled && /* @__PURE__ */ jsx44(
17125
17125
  FilterNavButton,
17126
17126
  {
17127
17127
  icon: /* @__PURE__ */ jsx44(
@@ -17137,95 +17137,96 @@ function FilterBar({ buttons }) {
17137
17137
  }
17138
17138
  ),
17139
17139
  /* @__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
- ),
17140
+ /* @__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: [
17141
+ !buttons?.slack?.disabled && /* @__PURE__ */ jsx44(
17142
+ FilterNavButton,
17143
+ {
17144
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.slack?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(SlackIcon, {}) }),
17145
+ label: "slack",
17146
+ onClick: buttons?.slack?.onClick
17147
+ }
17148
+ ),
17149
+ !buttons?.google_mail?.disabled && /* @__PURE__ */ jsx44(
17150
+ FilterNavButton,
17151
+ {
17152
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_mail?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleMailIcon, {}) }),
17153
+ label: "Gmail",
17154
+ onClick: buttons?.google_mail?.onClick
17155
+ }
17156
+ ),
17157
+ !buttons?.google_calendar?.disabled && /* @__PURE__ */ jsx44(
17158
+ FilterNavButton,
17159
+ {
17160
+ icon: /* @__PURE__ */ jsx44(
17161
+ "div",
17162
+ {
17163
+ className: buttons?.google_calendar?.active ? "" : "grayscale",
17164
+ children: /* @__PURE__ */ jsx44(GoogleCalendarIcon, {})
17165
+ }
17166
+ ),
17167
+ label: "Gcal",
17168
+ onClick: buttons?.google_calendar?.onClick
17169
+ }
17170
+ ),
17171
+ !buttons?.atlassian_jira?.disabled && /* @__PURE__ */ jsx44(
17172
+ FilterNavButton,
17173
+ {
17174
+ icon: /* @__PURE__ */ jsx44(
17175
+ "div",
17176
+ {
17177
+ className: buttons?.atlassian_jira?.active ? "" : "grayscale",
17178
+ children: /* @__PURE__ */ jsx44(AtlassianIcon, {})
17179
+ }
17180
+ ),
17181
+ label: "Jira",
17182
+ onClick: buttons?.atlassian_jira?.onClick
17183
+ }
17184
+ ),
17185
+ !buttons?.microsoft_teams?.disabled && /* @__PURE__ */ jsx44(
17186
+ FilterNavButton,
17187
+ {
17188
+ icon: /* @__PURE__ */ jsx44(
17189
+ "div",
17190
+ {
17191
+ className: buttons?.microsoft_teams?.active ? "" : "grayscale",
17192
+ children: /* @__PURE__ */ jsx44(MicrosoftTeamsIcon, {})
17193
+ }
17194
+ ),
17195
+ label: "Teams",
17196
+ onClick: buttons?.microsoft_teams?.onClick
17197
+ }
17198
+ ),
17199
+ !(buttons?.microsoft_mail?.disabled || buttons?.microsoft_calendar?.disabled) && /* @__PURE__ */ jsx44(
17200
+ FilterNavButton,
17201
+ {
17202
+ icon: /* @__PURE__ */ jsx44(
17203
+ "div",
17204
+ {
17205
+ className: buttons?.microsoft_calendar?.active || buttons?.microsoft_mail?.active ? "" : "grayscale",
17206
+ children: /* @__PURE__ */ jsx44(MicrosoftOutlookMailIcon, {})
17207
+ }
17208
+ ),
17209
+ label: "Outlook",
17210
+ onClick: buttons?.microsoft_mail?.onClick || buttons?.microsoft_calendar?.onClick
17211
+ }
17212
+ ),
17213
+ !buttons?.clickup?.disabled && /* @__PURE__ */ jsx44(
17214
+ FilterNavButton,
17215
+ {
17216
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.clickup?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(ClickupIcon, {}) }),
17217
+ label: "ClickUp",
17218
+ onClick: buttons?.clickup?.onClick
17219
+ }
17220
+ ),
17221
+ !buttons?.asana?.disabled && /* @__PURE__ */ jsx44(
17222
+ FilterNavButton,
17223
+ {
17224
+ icon: /* @__PURE__ */ jsx44("div", { className: buttons?.asana?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(AsanaIcon, {}) }),
17225
+ label: "Asana",
17226
+ onClick: buttons?.asana?.onClick
17227
+ }
17228
+ )
17229
+ ] }),
17229
17230
  /* @__PURE__ */ jsx44("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
17230
17231
  /* @__PURE__ */ jsx44("div", { onClick: buttons?.more?.onClick, children: /* @__PURE__ */ jsx44(FilterNavButton, { icon: /* @__PURE__ */ jsx44(PlusLarge, { size: 36 }) }) })
17231
17232
  ] });