@blocklet/discuss-kit-ux 2.1.195 → 2.1.196
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 { lazyRetry } from "@arcblock/ux/lib/Util";
|
|
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-Br4OmSor.mjs";
|
|
8
8
|
const BlockletEditor = lazyRetry(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -1664,7 +1664,7 @@ function PostContent({
|
|
|
1664
1664
|
}
|
|
1665
1665
|
) }) });
|
|
1666
1666
|
}
|
|
1667
|
-
const tablerArrowForwardUp = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
1667
|
+
const tablerArrowForwardUp = (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: [
|
|
1668
1668
|
/* @__PURE__ */ jsx("path", { d: "m15 14l4-4l-4-4" }),
|
|
1669
1669
|
/* @__PURE__ */ jsx("path", { d: "M19 10H8a4 4 0 1 0 0 8h1" })
|
|
1670
1670
|
] }) });
|
|
@@ -1884,8 +1884,8 @@ function PostComponent({
|
|
|
1884
1884
|
renderExtraContent && renderExtraContent(postContext)
|
|
1885
1885
|
] });
|
|
1886
1886
|
}
|
|
1887
|
-
const
|
|
1888
|
-
const tablerPinned = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
1887
|
+
const tablerBubble = (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: "M12.4 3a5.34 5.34 0 0 1 4.906 3.239a5.333 5.333 0 0 1-1.195 10.6a4.26 4.26 0 0 1-5.28 1.863L7 21v-3.134a2.668 2.668 0 0 1-1.795-3.773A4.8 4.8 0 0 1 8.113 5.16A5.33 5.33 0 0 1 12.4 3" }) });
|
|
1888
|
+
const tablerPinned = (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: "M9 4v6l-2 4v2h10v-2l-2-4V4m-3 12v5M8 4h8" }) });
|
|
1889
1889
|
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: [
|
|
1890
1890
|
/* @__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.576a2 2 0 0 1 1.929 2.526l-1.91 7A2 2 0 0 1 16.473 20Z" }),
|
|
1891
1891
|
/* @__PURE__ */ jsx("path", { strokeLinejoin: "round", d: "M7 20V9" })
|
|
@@ -2118,7 +2118,7 @@ const IconButtonRoot = styled("div")`
|
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
2120
|
`;
|
|
2121
|
-
const tablerMoodPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
2121
|
+
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: [
|
|
2122
2122
|
/* @__PURE__ */ jsx("path", { d: "M20.985 12.528a9 9 0 1 0-8.45 8.456M16 19h6m-3-3v6M9 10h.01M15 10h.01" }),
|
|
2123
2123
|
/* @__PURE__ */ jsx("path", { d: "M9.5 15c.658.64 1.56 1 2.5 1s1.842-.36 2.5-1" })
|
|
2124
2124
|
] }) });
|
|
@@ -2513,10 +2513,9 @@ function Comment({
|
|
|
2513
2513
|
(!!(session == null ? void 0 : session.user) || preferences.displayReplyButtonForAnonymousUsers) && interactive && /* @__PURE__ */ jsx(
|
|
2514
2514
|
Box$1,
|
|
2515
2515
|
{
|
|
2516
|
-
component:
|
|
2516
|
+
component: tablerBubble,
|
|
2517
2517
|
className: "github-reaction-icon",
|
|
2518
|
-
onClick: () => protectLogin(session, () => setInputVisible(!inputVisible))
|
|
2519
|
-
sx: { lineHeight: 1 }
|
|
2518
|
+
onClick: () => protectLogin(session, () => setInputVisible(!inputVisible))
|
|
2520
2519
|
}
|
|
2521
2520
|
),
|
|
2522
2521
|
renderDonation && renderDonation(post)
|
|
@@ -4199,7 +4198,7 @@ function ChatProvider({
|
|
|
4199
4198
|
}, [state, client2, currentUser == null ? void 0 : currentUser.did]);
|
|
4200
4199
|
return /* @__PURE__ */ jsx(ChatContext.Provider, { value, children });
|
|
4201
4200
|
}
|
|
4202
|
-
const tablerUsersGroup = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
4201
|
+
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" }) });
|
|
4203
4202
|
function ChannelGroup({ size = "normal", chat, children, ...rest }) {
|
|
4204
4203
|
const sm = size === "sm";
|
|
4205
4204
|
const iconSize = sm ? 40 : 48;
|
|
@@ -4328,7 +4327,7 @@ function ChatList({ inWallet, ...rest }) {
|
|
|
4328
4327
|
) }, chat.id);
|
|
4329
4328
|
}) }) });
|
|
4330
4329
|
}
|
|
4331
|
-
const tablerUsersPlus = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
4330
|
+
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" }) });
|
|
4332
4331
|
const Time = ({ createdAt }) => {
|
|
4333
4332
|
if (!createdAt) {
|
|
4334
4333
|
return null;
|
|
@@ -4906,9 +4905,9 @@ function Back({ url, fallbackUrl, iconOnly, sx, icon, ...rest }) {
|
|
|
4906
4905
|
}
|
|
4907
4906
|
return /* @__PURE__ */ jsx(Button$1, { onClick: handleClick, variant: "outlined", color: "primary", startIcon: icon, sx: mergedSx, ...rest, children: "Back" });
|
|
4908
4907
|
}
|
|
4909
|
-
const tablerSend = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
4910
|
-
const tablerLetterCase = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
4911
|
-
const Editor = lazyRetry(() => import("./editor-
|
|
4908
|
+
const tablerSend = (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 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z" }) });
|
|
4909
|
+
const tablerLetterCase = (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: "M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3 19V8.5a3.5 3.5 0 0 1 7 0V19m-7-6h7m11-1v7" }) });
|
|
4910
|
+
const Editor = lazyRetry(() => import("./editor-DPk8nP1N.mjs"));
|
|
4912
4911
|
function LazyEditor(props) {
|
|
4913
4912
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4914
4913
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
|
@@ -5403,7 +5402,7 @@ function ChatRoom({ chat, inWallet, ...rest }) {
|
|
|
5403
5402
|
] })
|
|
5404
5403
|
] });
|
|
5405
5404
|
}
|
|
5406
|
-
const tablerSearch = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24",
|
|
5405
|
+
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" }) });
|
|
5407
5406
|
function UserSearch({ sx, inputSx, ...rest }) {
|
|
5408
5407
|
var _a2;
|
|
5409
5408
|
const { session } = useSessionContext();
|
|
@@ -5878,6 +5877,7 @@ function ChatListInWallet({ sx, ...rest }) {
|
|
|
5878
5877
|
}
|
|
5879
5878
|
) });
|
|
5880
5879
|
}
|
|
5880
|
+
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.501S11.659 20.922 7.7 19z" }) });
|
|
5881
5881
|
function ChatHeaderAddon({ ...rest }) {
|
|
5882
5882
|
const { unread } = useUnreadNotification();
|
|
5883
5883
|
if (!preferences.enableNotificationBadge || !preferences.chatEnabled) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, ay, ar, N, am, as, av, aw, l, ax, f, p, r, j, au, t, h, aa, az, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-
|
|
2
|
+
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, ay, ar, N, am, as, av, aw, l, ax, f, p, r, j, au, t, h, aa, az, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-Br4OmSor.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -1588,7 +1588,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1588
1588
|
}
|
|
1589
1589
|
) }) });
|
|
1590
1590
|
}
|
|
1591
|
-
const tablerArrowForwardUp = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
1591
|
+
const tablerArrowForwardUp = (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: [
|
|
1592
1592
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 14l4-4l-4-4" }),
|
|
1593
1593
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 10H8a4 4 0 1 0 0 8h1" })
|
|
1594
1594
|
] }) });
|
|
@@ -1808,8 +1808,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1808
1808
|
renderExtraContent && renderExtraContent(postContext)
|
|
1809
1809
|
] });
|
|
1810
1810
|
}
|
|
1811
|
-
const
|
|
1812
|
-
const tablerPinned = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
1811
|
+
const tablerBubble = (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: "M12.4 3a5.34 5.34 0 0 1 4.906 3.239a5.333 5.333 0 0 1-1.195 10.6a4.26 4.26 0 0 1-5.28 1.863L7 21v-3.134a2.668 2.668 0 0 1-1.795-3.773A4.8 4.8 0 0 1 8.113 5.16A5.33 5.33 0 0 1 12.4 3" }) });
|
|
1812
|
+
const tablerPinned = (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: "M9 4v6l-2 4v2h10v-2l-2-4V4m-3 12v5M8 4h8" }) });
|
|
1813
1813
|
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: [
|
|
1814
1814
|
/* @__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.576a2 2 0 0 1 1.929 2.526l-1.91 7A2 2 0 0 1 16.473 20Z" }),
|
|
1815
1815
|
/* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinejoin: "round", d: "M7 20V9" })
|
|
@@ -2042,7 +2042,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
2044
|
`;
|
|
2045
|
-
const tablerMoodPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
2045
|
+
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: [
|
|
2046
2046
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.985 12.528a9 9 0 1 0-8.45 8.456M16 19h6m-3-3v6M9 10h.01M15 10h.01" }),
|
|
2047
2047
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.5 15c.658.64 1.56 1 2.5 1s1.842-.36 2.5-1" })
|
|
2048
2048
|
] }) });
|
|
@@ -2437,10 +2437,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2437
2437
|
(!!(session == null ? void 0 : session.user) || preferences.displayReplyButtonForAnonymousUsers) && interactive && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2438
2438
|
Box,
|
|
2439
2439
|
{
|
|
2440
|
-
component:
|
|
2440
|
+
component: tablerBubble,
|
|
2441
2441
|
className: "github-reaction-icon",
|
|
2442
|
-
onClick: () => protectLogin(session, () => setInputVisible(!inputVisible))
|
|
2443
|
-
sx: { lineHeight: 1 }
|
|
2442
|
+
onClick: () => protectLogin(session, () => setInputVisible(!inputVisible))
|
|
2444
2443
|
}
|
|
2445
2444
|
),
|
|
2446
2445
|
renderDonation && renderDonation(post)
|
|
@@ -4123,7 +4122,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4123
4122
|
}, [state, client2, currentUser == null ? void 0 : currentUser.did]);
|
|
4124
4123
|
return /* @__PURE__ */ jsxRuntime.jsx(ChatContext.Provider, { value, children });
|
|
4125
4124
|
}
|
|
4126
|
-
const tablerUsersGroup = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
4125
|
+
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" }) });
|
|
4127
4126
|
function ChannelGroup({ size = "normal", chat, children, ...rest }) {
|
|
4128
4127
|
const sm = size === "sm";
|
|
4129
4128
|
const iconSize = sm ? 40 : 48;
|
|
@@ -4252,7 +4251,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4252
4251
|
) }, chat.id);
|
|
4253
4252
|
}) }) });
|
|
4254
4253
|
}
|
|
4255
|
-
const tablerUsersPlus = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
4254
|
+
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" }) });
|
|
4256
4255
|
const Time = ({ createdAt }) => {
|
|
4257
4256
|
if (!createdAt) {
|
|
4258
4257
|
return null;
|
|
@@ -4830,8 +4829,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4830
4829
|
}
|
|
4831
4830
|
return /* @__PURE__ */ jsxRuntime.jsx(material.Button, { onClick: handleClick, variant: "outlined", color: "primary", startIcon: icon, sx: mergedSx, ...rest, children: "Back" });
|
|
4832
4831
|
}
|
|
4833
|
-
const tablerSend = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
4834
|
-
const tablerLetterCase = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
4832
|
+
const tablerSend = (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 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z" }) });
|
|
4833
|
+
const tablerLetterCase = (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: "M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3 19V8.5a3.5 3.5 0 0 1 7 0V19m-7-6h7m11-1v7" }) });
|
|
4835
4834
|
const Editor$1 = Util.lazyRetry(() => Promise.resolve().then(() => editor));
|
|
4836
4835
|
function LazyEditor(props) {
|
|
4837
4836
|
const fallback2 = /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { px: 3 }, children: [
|
|
@@ -5327,7 +5326,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5327
5326
|
] })
|
|
5328
5327
|
] });
|
|
5329
5328
|
}
|
|
5330
|
-
const tablerSearch = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24",
|
|
5329
|
+
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" }) });
|
|
5331
5330
|
function UserSearch({ sx, inputSx, ...rest }) {
|
|
5332
5331
|
var _a2;
|
|
5333
5332
|
const { session } = useSessionContext();
|
|
@@ -5802,6 +5801,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5802
5801
|
}
|
|
5803
5802
|
) });
|
|
5804
5803
|
}
|
|
5804
|
+
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.501S11.659 20.922 7.7 19z" }) });
|
|
5805
5805
|
function ChatHeaderAddon({ ...rest }) {
|
|
5806
5806
|
const { unread } = useUnreadNotification();
|
|
5807
5807
|
if (!preferences.enableNotificationBadge || !preferences.chatEnabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.196",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"ufo": "^1.5.4",
|
|
46
46
|
"unstated-next": "^1.1.0",
|
|
47
47
|
"url-join": "^4.0.1",
|
|
48
|
-
"@blocklet/editor": "^2.1.
|
|
49
|
-
"@blocklet/labels": "^2.1.
|
|
48
|
+
"@blocklet/editor": "^2.1.196",
|
|
49
|
+
"@blocklet/labels": "^2.1.196"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@arcblock/did-connect": "^2.10.36",
|