@blocklet/discuss-kit-ux 1.6.239 → 1.6.241
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.
|
@@ -4,7 +4,7 @@ import { OnContentChangePlugin } from "@blocklet/editor/lib/ext/OnContentChangeP
|
|
|
4
4
|
import { CtrlsShortcutPlugin } from "@blocklet/editor/lib/ext/ShortcutPlugin";
|
|
5
5
|
import { SafeAreaPlugin } from "@blocklet/editor/lib/ext/SafeAreaPlugin";
|
|
6
6
|
import { lazy } from "react";
|
|
7
|
-
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-
|
|
7
|
+
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-Cy-AzaWZ.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -703,7 +703,7 @@ function CommentInput({
|
|
|
703
703
|
justifyContent: inSmallView ? "end" : "space-between",
|
|
704
704
|
alignItems: "end",
|
|
705
705
|
children: [
|
|
706
|
-
/* @__PURE__ */
|
|
706
|
+
/* @__PURE__ */ jsx(
|
|
707
707
|
Box$1,
|
|
708
708
|
{
|
|
709
709
|
component: "a",
|
|
@@ -718,10 +718,15 @@ function CommentInput({
|
|
|
718
718
|
textDecoration: "none",
|
|
719
719
|
"&:hover": { color: "text.secondary" }
|
|
720
720
|
},
|
|
721
|
-
children:
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
721
|
+
children: /* @__PURE__ */ jsx(
|
|
722
|
+
Box$1,
|
|
723
|
+
{
|
|
724
|
+
component: "span",
|
|
725
|
+
sx: { display: "inline-flex", alignItems: "center", mr: 0.5, lineHeight: 1 },
|
|
726
|
+
title: "Styling with Markdown is supported",
|
|
727
|
+
children: /* @__PURE__ */ jsx(mdiLanguageMarkdown, { style: { fontSize: 16 } })
|
|
728
|
+
}
|
|
729
|
+
)
|
|
725
730
|
}
|
|
726
731
|
),
|
|
727
732
|
/* @__PURE__ */ jsx(Box$1, { display: "flex", gap: 1, alignItems: "center", children: /* @__PURE__ */ jsx(
|
|
@@ -1680,7 +1685,7 @@ function PostComponent({
|
|
|
1680
1685
|
renderExtraContent && renderExtraContent(postContext)
|
|
1681
1686
|
] });
|
|
1682
1687
|
}
|
|
1683
|
-
const tablerMessageCircle = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m3 20l1.3-3.9C1.976 12.663 2.874 8.228 6.4 5.726c3.526-2.501 8.59-2.296 11.845.48c3.255 2.777 3.695 7.266 1.029 10.501C16.608 19.942 11.659 20.922 7.7 19z" }) });
|
|
1688
|
+
const tablerMessageCircle = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m3 20l1.3-3.9C1.976 12.663 2.874 8.228 6.4 5.726c3.526-2.501 8.59-2.296 11.845.48c3.255 2.777 3.695 7.266 1.029 10.501C16.608 19.942 11.659 20.922 7.7 19z" }) });
|
|
1684
1689
|
const iconoirThumbsUp = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, children: [
|
|
1685
1690
|
/* @__PURE__ */ jsx("path", { d: "M16.472 20H4.1a.6.6 0 0 1-.6-.6V9.6a.6.6 0 0 1 .6-.6h2.768a2 2 0 0 0 1.715-.971l2.71-4.517a1.631 1.631 0 0 1 2.961 1.308l-1.022 3.408a.6.6 0 0 0 .574.772h4.575a2 2 0 0 1 1.93 2.526l-1.91 7A2 2 0 0 1 16.473 20Z" }),
|
|
1686
1691
|
/* @__PURE__ */ jsx("path", { strokeLinejoin: "round", d: "M7 20V9" })
|
|
@@ -1913,7 +1918,7 @@ const IconButtonRoot = styled$1("div")`
|
|
|
1913
1918
|
}
|
|
1914
1919
|
}
|
|
1915
1920
|
`;
|
|
1916
|
-
const tablerMoodPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, children: [
|
|
1921
|
+
const tablerMoodPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, children: [
|
|
1917
1922
|
/* @__PURE__ */ jsx("path", { d: "M20.985 12.528a9 9 0 1 0-8.45 8.456M16 19h6m-3-3v6M9 10h.01M15 10h.01" }),
|
|
1918
1923
|
/* @__PURE__ */ jsx("path", { d: "M9.5 15c.658.64 1.56 1 2.5 1s1.842-.36 2.5-1" })
|
|
1919
1924
|
] }) });
|
|
@@ -2051,7 +2056,6 @@ function GithubReaction({
|
|
|
2051
2056
|
gap: 0.75,
|
|
2052
2057
|
ml: -0.25,
|
|
2053
2058
|
cursor: "pointer",
|
|
2054
|
-
fontWeight: "medium",
|
|
2055
2059
|
".github-reaction-text": {
|
|
2056
2060
|
color: "text.secondary"
|
|
2057
2061
|
},
|
|
@@ -2061,7 +2065,14 @@ function GithubReaction({
|
|
|
2061
2065
|
},
|
|
2062
2066
|
onClick: handleOpen,
|
|
2063
2067
|
children: [
|
|
2064
|
-
/* @__PURE__ */ jsx(
|
|
2068
|
+
/* @__PURE__ */ jsx(
|
|
2069
|
+
Box,
|
|
2070
|
+
{
|
|
2071
|
+
className: "github-reaction-text",
|
|
2072
|
+
component: tablerMoodPlus,
|
|
2073
|
+
sx: { width: "1em", height: "1em", fontSize: 18 }
|
|
2074
|
+
}
|
|
2075
|
+
),
|
|
2065
2076
|
/* @__PURE__ */ jsx(Box, { className: "github-reaction-text", component: "span", sx: { fontSize: 13 }, children: "Sticker" }),
|
|
2066
2077
|
open && /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: () => setOpen(false), children: /* @__PURE__ */ jsx(
|
|
2067
2078
|
Box,
|
|
@@ -2267,7 +2278,13 @@ function Comment({
|
|
|
2267
2278
|
"&:hover": { cursor: "pointer" }
|
|
2268
2279
|
},
|
|
2269
2280
|
children: [
|
|
2270
|
-
/* @__PURE__ */ jsx(
|
|
2281
|
+
/* @__PURE__ */ jsx(
|
|
2282
|
+
Box$1,
|
|
2283
|
+
{
|
|
2284
|
+
component: tablerMessageCircle,
|
|
2285
|
+
sx: { width: "1em", height: "1em", fontSize: 18, color: "text.secondary" }
|
|
2286
|
+
}
|
|
2287
|
+
),
|
|
2271
2288
|
/* @__PURE__ */ jsx(Box$1, { component: "span", children: "Reply" })
|
|
2272
2289
|
]
|
|
2273
2290
|
}
|
|
@@ -3868,7 +3885,7 @@ function ChatProvider({ client: client2, activeChatId, children, isInWallet }) {
|
|
|
3868
3885
|
}, [state, client2, currentUser == null ? void 0 : currentUser.did]);
|
|
3869
3886
|
return /* @__PURE__ */ jsx(ChatContext.Provider, { value, children });
|
|
3870
3887
|
}
|
|
3871
|
-
const tablerUsersGroup = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 13a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1M15 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2 5h2a2 2 0 0 1 2 2v1M5 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h2" }) });
|
|
3888
|
+
const tablerUsersGroup = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 13a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1M15 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2 5h2a2 2 0 0 1 2 2v1M5 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h2" }) });
|
|
3872
3889
|
function ChannelGroup({ size = "normal", chat, children, ...rest }) {
|
|
3873
3890
|
const sm = size === "sm";
|
|
3874
3891
|
const iconSize = sm ? 40 : 48;
|
|
@@ -3995,7 +4012,7 @@ function ChatList({ inWallet, ...rest }) {
|
|
|
3995
4012
|
) }, chat.id);
|
|
3996
4013
|
}) }) });
|
|
3997
4014
|
}
|
|
3998
|
-
const tablerUsersPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4c.96 0 1.84.338 2.53.901M16 3.13a4 4 0 0 1 0 7.75M16 19h6m-3-3v6" }) });
|
|
4015
|
+
const tablerUsersPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4c.96 0 1.84.338 2.53.901M16 3.13a4 4 0 0 1 0 7.75M16 19h6m-3-3v6" }) });
|
|
3999
4016
|
const Time = ({ createdAt }) => {
|
|
4000
4017
|
if (!createdAt) {
|
|
4001
4018
|
return null;
|
|
@@ -4873,7 +4890,7 @@ function NewChannelDialog({ open, onSubmit, onClose, ...rest }) {
|
|
|
4873
4890
|
}
|
|
4874
4891
|
);
|
|
4875
4892
|
}
|
|
4876
|
-
const tablerSearch = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6" }) });
|
|
4893
|
+
const tablerSearch = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6" }) });
|
|
4877
4894
|
function UserSearch({ sx, ...rest }) {
|
|
4878
4895
|
var _a2;
|
|
4879
4896
|
const { session } = useSessionContext();
|
|
@@ -5529,7 +5546,7 @@ function Pagination({
|
|
|
5529
5546
|
}
|
|
5530
5547
|
);
|
|
5531
5548
|
}
|
|
5532
|
-
const Editor = lazy(() => import("./editor-
|
|
5549
|
+
const Editor = lazy(() => import("./editor-N32Ffdew.mjs"));
|
|
5533
5550
|
function LazyEditor(props) {
|
|
5534
5551
|
const fallback = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
5535
5552
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { Q, m, U, A, k, ac, B, E, J, H, K, ao, X, W, _, Y, Z, a0, v, C, w, x, z, a4, a5, ag, a7, N, O, ab, D, af, ae, F, G, b, j, ad, M, P, an, q, o, R, S, a8, ap, n, a1, a3, ah, ak, aj, al, aq, L, ar, l, p, r, h, t, f, a9, T, c, $, y, a6, aa, u, am, d, as, a2, ai, e } from "./index-
|
|
2
|
+
import { Q, m, U, A, k, ac, B, E, J, H, K, ao, X, W, _, Y, Z, a0, v, C, w, x, z, a4, a5, ag, a7, N, O, ab, D, af, ae, F, G, b, j, ad, M, P, an, q, o, R, S, a8, ap, n, a1, a3, ah, ak, aj, al, aq, L, ar, l, p, r, h, t, f, a9, T, c, $, y, a6, aa, u, am, d, as, a2, ai, e } from "./index-Cy-AzaWZ.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -635,7 +635,7 @@ var __publicField = (obj, key, value) => {
|
|
|
635
635
|
justifyContent: inSmallView ? "end" : "space-between",
|
|
636
636
|
alignItems: "end",
|
|
637
637
|
children: [
|
|
638
|
-
/* @__PURE__ */ jsxRuntime.
|
|
638
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
639
639
|
Box,
|
|
640
640
|
{
|
|
641
641
|
component: "a",
|
|
@@ -650,10 +650,15 @@ var __publicField = (obj, key, value) => {
|
|
|
650
650
|
textDecoration: "none",
|
|
651
651
|
"&:hover": { color: "text.secondary" }
|
|
652
652
|
},
|
|
653
|
-
children:
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
653
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
654
|
+
Box,
|
|
655
|
+
{
|
|
656
|
+
component: "span",
|
|
657
|
+
sx: { display: "inline-flex", alignItems: "center", mr: 0.5, lineHeight: 1 },
|
|
658
|
+
title: "Styling with Markdown is supported",
|
|
659
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(mdiLanguageMarkdown, { style: { fontSize: 16 } })
|
|
660
|
+
}
|
|
661
|
+
)
|
|
657
662
|
}
|
|
658
663
|
),
|
|
659
664
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { display: "flex", gap: 1, alignItems: "center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1612,7 +1617,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1612
1617
|
renderExtraContent && renderExtraContent(postContext)
|
|
1613
1618
|
] });
|
|
1614
1619
|
}
|
|
1615
|
-
const tablerMessageCircle = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m3 20l1.3-3.9C1.976 12.663 2.874 8.228 6.4 5.726c3.526-2.501 8.59-2.296 11.845.48c3.255 2.777 3.695 7.266 1.029 10.501C16.608 19.942 11.659 20.922 7.7 19z" }) });
|
|
1620
|
+
const tablerMessageCircle = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m3 20l1.3-3.9C1.976 12.663 2.874 8.228 6.4 5.726c3.526-2.501 8.59-2.296 11.845.48c3.255 2.777 3.695 7.266 1.029 10.501C16.608 19.942 11.659 20.922 7.7 19z" }) });
|
|
1616
1621
|
const iconoirThumbsUp = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, children: [
|
|
1617
1622
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16.472 20H4.1a.6.6 0 0 1-.6-.6V9.6a.6.6 0 0 1 .6-.6h2.768a2 2 0 0 0 1.715-.971l2.71-4.517a1.631 1.631 0 0 1 2.961 1.308l-1.022 3.408a.6.6 0 0 0 .574.772h4.575a2 2 0 0 1 1.93 2.526l-1.91 7A2 2 0 0 1 16.473 20Z" }),
|
|
1618
1623
|
/* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinejoin: "round", d: "M7 20V9" })
|
|
@@ -1845,7 +1850,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1845
1850
|
}
|
|
1846
1851
|
}
|
|
1847
1852
|
`;
|
|
1848
|
-
const tablerMoodPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, children: [
|
|
1853
|
+
const tablerMoodPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, children: [
|
|
1849
1854
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.985 12.528a9 9 0 1 0-8.45 8.456M16 19h6m-3-3v6M9 10h.01M15 10h.01" }),
|
|
1850
1855
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.5 15c.658.64 1.56 1 2.5 1s1.842-.36 2.5-1" })
|
|
1851
1856
|
] }) });
|
|
@@ -1983,7 +1988,6 @@ var __publicField = (obj, key, value) => {
|
|
|
1983
1988
|
gap: 0.75,
|
|
1984
1989
|
ml: -0.25,
|
|
1985
1990
|
cursor: "pointer",
|
|
1986
|
-
fontWeight: "medium",
|
|
1987
1991
|
".github-reaction-text": {
|
|
1988
1992
|
color: "text.secondary"
|
|
1989
1993
|
},
|
|
@@ -1993,7 +1997,14 @@ var __publicField = (obj, key, value) => {
|
|
|
1993
1997
|
},
|
|
1994
1998
|
onClick: handleOpen,
|
|
1995
1999
|
children: [
|
|
1996
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2000
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2001
|
+
material.Box,
|
|
2002
|
+
{
|
|
2003
|
+
className: "github-reaction-text",
|
|
2004
|
+
component: tablerMoodPlus,
|
|
2005
|
+
sx: { width: "1em", height: "1em", fontSize: 18 }
|
|
2006
|
+
}
|
|
2007
|
+
),
|
|
1997
2008
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { className: "github-reaction-text", component: "span", sx: { fontSize: 13 }, children: "Sticker" }),
|
|
1998
2009
|
open && /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => setOpen(false), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1999
2010
|
material.Box,
|
|
@@ -2199,7 +2210,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2199
2210
|
"&:hover": { cursor: "pointer" }
|
|
2200
2211
|
},
|
|
2201
2212
|
children: [
|
|
2202
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2213
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2214
|
+
Box,
|
|
2215
|
+
{
|
|
2216
|
+
component: tablerMessageCircle,
|
|
2217
|
+
sx: { width: "1em", height: "1em", fontSize: 18, color: "text.secondary" }
|
|
2218
|
+
}
|
|
2219
|
+
),
|
|
2203
2220
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { component: "span", children: "Reply" })
|
|
2204
2221
|
]
|
|
2205
2222
|
}
|
|
@@ -3800,7 +3817,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3800
3817
|
}, [state, client2, currentUser == null ? void 0 : currentUser.did]);
|
|
3801
3818
|
return /* @__PURE__ */ jsxRuntime.jsx(ChatContext.Provider, { value, children });
|
|
3802
3819
|
}
|
|
3803
|
-
const tablerUsersGroup = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 13a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1M15 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2 5h2a2 2 0 0 1 2 2v1M5 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h2" }) });
|
|
3820
|
+
const tablerUsersGroup = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 13a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1M15 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2 5h2a2 2 0 0 1 2 2v1M5 5a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-2 8v-1a2 2 0 0 1 2-2h2" }) });
|
|
3804
3821
|
function ChannelGroup({ size = "normal", chat, children, ...rest }) {
|
|
3805
3822
|
const sm = size === "sm";
|
|
3806
3823
|
const iconSize = sm ? 40 : 48;
|
|
@@ -3927,7 +3944,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3927
3944
|
) }, chat.id);
|
|
3928
3945
|
}) }) });
|
|
3929
3946
|
}
|
|
3930
|
-
const tablerUsersPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4c.96 0 1.84.338 2.53.901M16 3.13a4 4 0 0 1 0 7.75M16 19h6m-3-3v6" }) });
|
|
3947
|
+
const tablerUsersPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4c.96 0 1.84.338 2.53.901M16 3.13a4 4 0 0 1 0 7.75M16 19h6m-3-3v6" }) });
|
|
3931
3948
|
const Time = ({ createdAt }) => {
|
|
3932
3949
|
if (!createdAt) {
|
|
3933
3950
|
return null;
|
|
@@ -4805,7 +4822,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4805
4822
|
}
|
|
4806
4823
|
);
|
|
4807
4824
|
}
|
|
4808
|
-
const tablerSearch = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6" }) });
|
|
4825
|
+
const tablerSearch = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6" }) });
|
|
4809
4826
|
function UserSearch({ sx, ...rest }) {
|
|
4810
4827
|
var _a2;
|
|
4811
4828
|
const { session } = useSessionContext();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.241",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@arcblock/bridge": "^2.9.77",
|
|
32
32
|
"@arcblock/ws": "^1.18.116",
|
|
33
|
-
"@blocklet/editor": "1.6.
|
|
34
|
-
"@blocklet/labels": "1.6.
|
|
33
|
+
"@blocklet/editor": "1.6.241",
|
|
34
|
+
"@blocklet/labels": "1.6.241",
|
|
35
35
|
"@blocklet/uploader": "^0.1.2",
|
|
36
36
|
"@emotion/css": "^11.10.5",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"resolutions": {
|
|
96
96
|
"react": "^18.2.0"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "12f3e4ffaaa3856d2c71875efcb0268fad0d8a59"
|
|
99
99
|
}
|