qt-ui-kit 1.0.92 → 1.0.94
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 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -164,7 +164,7 @@ type Props$2 = {
|
|
|
164
164
|
};
|
|
165
165
|
declare function SearchBar({ loading, results, onUpdate }: Props$2): react_jsx_runtime.JSX.Element;
|
|
166
166
|
|
|
167
|
-
type FilterButtonKey = "fires" | "unread" | "
|
|
167
|
+
type FilterButtonKey = "fires" | "unread" | "done" | "more" | IntegrationService;
|
|
168
168
|
type NavButtonConfig = {
|
|
169
169
|
active?: boolean;
|
|
170
170
|
onClick?: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ type Props$2 = {
|
|
|
164
164
|
};
|
|
165
165
|
declare function SearchBar({ loading, results, onUpdate }: Props$2): react_jsx_runtime.JSX.Element;
|
|
166
166
|
|
|
167
|
-
type FilterButtonKey = "fires" | "unread" | "
|
|
167
|
+
type FilterButtonKey = "fires" | "unread" | "done" | "more" | IntegrationService;
|
|
168
168
|
type NavButtonConfig = {
|
|
169
169
|
active?: boolean;
|
|
170
170
|
onClick?: () => void;
|
package/dist/index.js
CHANGED
|
@@ -16351,17 +16351,16 @@ function EmojiPill({ emoji, count }) {
|
|
|
16351
16351
|
// src/util/utilcomponents.tsx
|
|
16352
16352
|
var import_clsx8 = __toESM(require("clsx"));
|
|
16353
16353
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
16354
|
-
var import_remark_gfm = __toESM(require("remark-gfm"));
|
|
16355
16354
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
16356
16355
|
function MarkdownRenderer({ content, truncated }) {
|
|
16357
16356
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
16358
16357
|
"div",
|
|
16359
16358
|
{
|
|
16360
16359
|
className: (0, import_clsx8.default)(
|
|
16361
|
-
"flex flex-col markdown break-
|
|
16360
|
+
"flex flex-col markdown break-words",
|
|
16362
16361
|
truncated && "line-clamp-3"
|
|
16363
16362
|
),
|
|
16364
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_markdown.default, {
|
|
16363
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_markdown.default, { children: content })
|
|
16365
16364
|
}
|
|
16366
16365
|
);
|
|
16367
16366
|
}
|
|
@@ -17139,11 +17138,11 @@ function FilterBar({ buttons }) {
|
|
|
17139
17138
|
CheckBox,
|
|
17140
17139
|
{
|
|
17141
17140
|
size: 36,
|
|
17142
|
-
fillColor: buttons?.
|
|
17141
|
+
fillColor: buttons?.done?.active ? "#E8FE99" : void 0
|
|
17143
17142
|
}
|
|
17144
17143
|
),
|
|
17145
17144
|
label: "Done",
|
|
17146
|
-
onClick: buttons?.
|
|
17145
|
+
onClick: buttons?.done?.onClick
|
|
17147
17146
|
}
|
|
17148
17147
|
),
|
|
17149
17148
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
|