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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +97 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +97 -96
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +26 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -168,6 +168,7 @@ type FilterButtonKey = "fires" | "unread" | "done" | "more" | IntegrationService
|
|
|
168
168
|
type NavButtonConfig = {
|
|
169
169
|
active?: boolean;
|
|
170
170
|
onClick?: () => void;
|
|
171
|
+
disabled?: boolean;
|
|
171
172
|
};
|
|
172
173
|
type Props$1 = {
|
|
173
174
|
buttons?: Partial<Record<FilterButtonKey, NavButtonConfig>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ type FilterButtonKey = "fires" | "unread" | "done" | "more" | IntegrationService
|
|
|
168
168
|
type NavButtonConfig = {
|
|
169
169
|
active?: boolean;
|
|
170
170
|
onClick?: () => void;
|
|
171
|
+
disabled?: boolean;
|
|
171
172
|
};
|
|
172
173
|
type Props$1 = {
|
|
173
174
|
buttons?: Partial<Record<FilterButtonKey, NavButtonConfig>>;
|
package/dist/index.js
CHANGED
|
@@ -16147,7 +16147,7 @@ function SingleEvent({
|
|
|
16147
16147
|
}
|
|
16148
16148
|
},
|
|
16149
16149
|
children: [
|
|
16150
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex gap-2 place-items-center", children: [
|
|
16150
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex gap-2 place-items-center w-min", children: [
|
|
16151
16151
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
16152
16152
|
CategoryIcon,
|
|
16153
16153
|
{
|
|
@@ -16469,8 +16469,8 @@ function ChatBubble({
|
|
|
16469
16469
|
"div",
|
|
16470
16470
|
{
|
|
16471
16471
|
className: (0, import_clsx9.default)(
|
|
16472
|
-
"h-[24px] w-[24px] rounded-t-md
|
|
16473
|
-
outbound ? "rounded-bl-md" : "rounded-br-md"
|
|
16472
|
+
"h-[24px] w-[24px] rounded-t-md flex place-items-center place-content-center label-1-bold",
|
|
16473
|
+
outbound ? "rounded-bl-md bg-qtgreen-200 text-qtneutral-900" : "rounded-br-md bg-qtpurple-300 text-qtneutral-200"
|
|
16474
16474
|
),
|
|
16475
16475
|
children: name ? name[0].toUpperCase() : ""
|
|
16476
16476
|
}
|
|
@@ -17121,8 +17121,8 @@ function FilterNavButton({ icon, label, active, onClick }) {
|
|
|
17121
17121
|
// src/components/organisms/filter_bar/filter_bar.tsx
|
|
17122
17122
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
17123
17123
|
function FilterBar({ buttons }) {
|
|
17124
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex flex-col w-[54px]
|
|
17125
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex h-full min-h-0 flex-col w-[54px] items-center gap-4", children: [
|
|
17125
|
+
!buttons?.fires?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17126
17126
|
FilterNavButton,
|
|
17127
17127
|
{
|
|
17128
17128
|
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
@@ -17135,7 +17135,7 @@ function FilterBar({ buttons }) {
|
|
|
17135
17135
|
onClick: buttons?.fires?.onClick
|
|
17136
17136
|
}
|
|
17137
17137
|
),
|
|
17138
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17138
|
+
!buttons?.unread?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17139
17139
|
FilterNavButton,
|
|
17140
17140
|
{
|
|
17141
17141
|
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
@@ -17149,7 +17149,7 @@ function FilterBar({ buttons }) {
|
|
|
17149
17149
|
onClick: buttons?.unread?.onClick
|
|
17150
17150
|
}
|
|
17151
17151
|
),
|
|
17152
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17152
|
+
!buttons?.done?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17153
17153
|
FilterNavButton,
|
|
17154
17154
|
{
|
|
17155
17155
|
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
@@ -17165,95 +17165,96 @@ function FilterBar({ buttons }) {
|
|
|
17165
17165
|
}
|
|
17166
17166
|
),
|
|
17167
17167
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
|
|
17168
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17174
|
-
|
|
17175
|
-
|
|
17176
|
-
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
|
|
17180
|
-
|
|
17181
|
-
|
|
17182
|
-
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
|
|
17186
|
-
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
17192
|
-
|
|
17193
|
-
|
|
17194
|
-
|
|
17195
|
-
|
|
17196
|
-
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
|
-
|
|
17200
|
-
|
|
17201
|
-
|
|
17202
|
-
|
|
17203
|
-
|
|
17204
|
-
|
|
17205
|
-
|
|
17206
|
-
|
|
17207
|
-
|
|
17208
|
-
|
|
17209
|
-
|
|
17210
|
-
|
|
17211
|
-
|
|
17212
|
-
|
|
17213
|
-
|
|
17214
|
-
|
|
17215
|
-
|
|
17216
|
-
|
|
17217
|
-
|
|
17218
|
-
|
|
17219
|
-
|
|
17220
|
-
|
|
17221
|
-
|
|
17222
|
-
|
|
17223
|
-
|
|
17224
|
-
|
|
17225
|
-
|
|
17226
|
-
|
|
17227
|
-
|
|
17228
|
-
|
|
17229
|
-
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
|
|
17233
|
-
|
|
17234
|
-
|
|
17235
|
-
|
|
17236
|
-
|
|
17237
|
-
|
|
17238
|
-
|
|
17239
|
-
|
|
17240
|
-
|
|
17241
|
-
|
|
17242
|
-
|
|
17243
|
-
|
|
17244
|
-
|
|
17245
|
-
"
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
}
|
|
17253
|
-
|
|
17254
|
-
|
|
17255
|
-
|
|
17256
|
-
|
|
17168
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("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: [
|
|
17169
|
+
!buttons?.slack?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17170
|
+
FilterNavButton,
|
|
17171
|
+
{
|
|
17172
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: buttons?.slack?.active ? "" : "grayscale", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SlackIcon, {}) }),
|
|
17173
|
+
label: "slack",
|
|
17174
|
+
onClick: buttons?.slack?.onClick
|
|
17175
|
+
}
|
|
17176
|
+
),
|
|
17177
|
+
!buttons?.google_mail?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17178
|
+
FilterNavButton,
|
|
17179
|
+
{
|
|
17180
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: buttons?.google_mail?.active ? "" : "grayscale", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(GoogleMailIcon, {}) }),
|
|
17181
|
+
label: "Gmail",
|
|
17182
|
+
onClick: buttons?.google_mail?.onClick
|
|
17183
|
+
}
|
|
17184
|
+
),
|
|
17185
|
+
!buttons?.google_calendar?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17186
|
+
FilterNavButton,
|
|
17187
|
+
{
|
|
17188
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17189
|
+
"div",
|
|
17190
|
+
{
|
|
17191
|
+
className: buttons?.google_calendar?.active ? "" : "grayscale",
|
|
17192
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(GoogleCalendarIcon, {})
|
|
17193
|
+
}
|
|
17194
|
+
),
|
|
17195
|
+
label: "Gcal",
|
|
17196
|
+
onClick: buttons?.google_calendar?.onClick
|
|
17197
|
+
}
|
|
17198
|
+
),
|
|
17199
|
+
!buttons?.atlassian_jira?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17200
|
+
FilterNavButton,
|
|
17201
|
+
{
|
|
17202
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17203
|
+
"div",
|
|
17204
|
+
{
|
|
17205
|
+
className: buttons?.atlassian_jira?.active ? "" : "grayscale",
|
|
17206
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AtlassianIcon, {})
|
|
17207
|
+
}
|
|
17208
|
+
),
|
|
17209
|
+
label: "Jira",
|
|
17210
|
+
onClick: buttons?.atlassian_jira?.onClick
|
|
17211
|
+
}
|
|
17212
|
+
),
|
|
17213
|
+
!buttons?.microsoft_teams?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17214
|
+
FilterNavButton,
|
|
17215
|
+
{
|
|
17216
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17217
|
+
"div",
|
|
17218
|
+
{
|
|
17219
|
+
className: buttons?.microsoft_teams?.active ? "" : "grayscale",
|
|
17220
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(MicrosoftTeamsIcon, {})
|
|
17221
|
+
}
|
|
17222
|
+
),
|
|
17223
|
+
label: "Teams",
|
|
17224
|
+
onClick: buttons?.microsoft_teams?.onClick
|
|
17225
|
+
}
|
|
17226
|
+
),
|
|
17227
|
+
!(buttons?.microsoft_mail?.disabled || buttons?.microsoft_calendar?.disabled) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17228
|
+
FilterNavButton,
|
|
17229
|
+
{
|
|
17230
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17231
|
+
"div",
|
|
17232
|
+
{
|
|
17233
|
+
className: buttons?.microsoft_calendar?.active || buttons?.microsoft_mail?.active ? "" : "grayscale",
|
|
17234
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(MicrosoftOutlookMailIcon, {})
|
|
17235
|
+
}
|
|
17236
|
+
),
|
|
17237
|
+
label: "Outlook",
|
|
17238
|
+
onClick: buttons?.microsoft_mail?.onClick || buttons?.microsoft_calendar?.onClick
|
|
17239
|
+
}
|
|
17240
|
+
),
|
|
17241
|
+
!buttons?.clickup?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17242
|
+
FilterNavButton,
|
|
17243
|
+
{
|
|
17244
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: buttons?.clickup?.active ? "" : "grayscale", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ClickupIcon, {}) }),
|
|
17245
|
+
label: "ClickUp",
|
|
17246
|
+
onClick: buttons?.clickup?.onClick
|
|
17247
|
+
}
|
|
17248
|
+
),
|
|
17249
|
+
!buttons?.asana?.disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
17250
|
+
FilterNavButton,
|
|
17251
|
+
{
|
|
17252
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: buttons?.asana?.active ? "" : "grayscale", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AsanaIcon, {}) }),
|
|
17253
|
+
label: "Asana",
|
|
17254
|
+
onClick: buttons?.asana?.onClick
|
|
17255
|
+
}
|
|
17256
|
+
)
|
|
17257
|
+
] }),
|
|
17257
17258
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
|
|
17258
17259
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { onClick: buttons?.more?.onClick, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(FilterNavButton, { icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PlusLarge, { size: 36 }) }) })
|
|
17259
17260
|
] });
|