@blocklet/discuss-kit-ux 2.3.5 → 2.3.7
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-BvbPx1Nn.mjs";
|
|
8
8
|
const BlockletEditor = lazyRetry(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -179,7 +179,7 @@ const themeOverrides = {
|
|
|
179
179
|
},
|
|
180
180
|
outlinedPrimary: ({ theme }) => ({
|
|
181
181
|
border: `1px solid ${theme.palette.divider}`,
|
|
182
|
-
backgroundColor:
|
|
182
|
+
backgroundColor: theme.palette.background.default,
|
|
183
183
|
"&:hover": {
|
|
184
184
|
border: `1px solid ${theme.palette.divider}`
|
|
185
185
|
}
|
|
@@ -197,9 +197,9 @@ const themeOverrides = {
|
|
|
197
197
|
root: {
|
|
198
198
|
textTransform: "none"
|
|
199
199
|
},
|
|
200
|
-
colorPrimary: {
|
|
201
|
-
backgroundColor:
|
|
202
|
-
}
|
|
200
|
+
colorPrimary: ({ theme }) => ({
|
|
201
|
+
backgroundColor: theme.palette.background.default
|
|
202
|
+
})
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
MuiToggleButton: {
|
|
@@ -832,7 +832,7 @@ const Root$3 = styled(AvatarGroup)`
|
|
|
832
832
|
width: 16px;
|
|
833
833
|
transition: width 0.1s ease-in-out;
|
|
834
834
|
& .image {
|
|
835
|
-
box-shadow: 0 0 0 2px
|
|
835
|
+
box-shadow: 0 0 0 2px ${({ theme }) => theme.palette.background.default} !important;
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
|
|
@@ -850,7 +850,7 @@ const Root$3 = styled(AvatarGroup)`
|
|
|
850
850
|
background-color: ${grey[400]};
|
|
851
851
|
font-weight: 500;
|
|
852
852
|
border: none;
|
|
853
|
-
box-shadow: 0 0 0 2px
|
|
853
|
+
box-shadow: 0 0 0 2px ${({ theme }) => theme.palette.background.default} !important;
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
/* &:hover {
|
|
@@ -1230,12 +1230,13 @@ function ProfileCard({ user, click, ...rest }) {
|
|
|
1230
1230
|
boxSizing: "border-box",
|
|
1231
1231
|
width: 340,
|
|
1232
1232
|
p: 2,
|
|
1233
|
-
border: "1px solid
|
|
1233
|
+
border: "1px solid",
|
|
1234
|
+
borderColor: "divider",
|
|
1234
1235
|
borderRadius: 1,
|
|
1235
1236
|
fontSize: 14,
|
|
1236
1237
|
color: "grey.700",
|
|
1237
1238
|
boxShadow: "0 8px 24px rgba(140,149,159,0.2);",
|
|
1238
|
-
bgcolor: "
|
|
1239
|
+
bgcolor: "background.paper"
|
|
1239
1240
|
},
|
|
1240
1241
|
...rest,
|
|
1241
1242
|
children: [
|
|
@@ -4414,7 +4415,7 @@ function Message({ message, prevMessage, showTime = true, ...rest }) {
|
|
|
4414
4415
|
fontSize: 14,
|
|
4415
4416
|
borderRadius: 1,
|
|
4416
4417
|
"&:hover": {
|
|
4417
|
-
bgcolor: "
|
|
4418
|
+
bgcolor: "action.hover",
|
|
4418
4419
|
".message-menu": {
|
|
4419
4420
|
display: "flex !important"
|
|
4420
4421
|
}
|
|
@@ -4491,7 +4492,7 @@ function NotificationMessage({ chat, message, prevMessage }) {
|
|
|
4491
4492
|
variant: "h6",
|
|
4492
4493
|
href: message.link,
|
|
4493
4494
|
target: "_blank",
|
|
4494
|
-
style: { fontSize: 14, color: "
|
|
4495
|
+
style: { fontSize: 14, color: "info.main", textDecoration: "none" },
|
|
4495
4496
|
children: title || t("common.link")
|
|
4496
4497
|
}
|
|
4497
4498
|
),
|
|
@@ -4805,15 +4806,15 @@ const MessageList = forwardRef(({ chat, ...rest }, ref) => {
|
|
|
4805
4806
|
!isAtBottom && /* @__PURE__ */ jsx(Box$1, { sx: { position: "absolute", bottom: 16, right: 24 }, onClick: scrollToBottom, children: /* @__PURE__ */ jsx(Fab, { color: "inherit", sx: { width: { xs: 36, sm: 44 }, height: { xs: 36, sm: 44 } }, children: /* @__PURE__ */ jsx(ArrowDownward, {}) }) })
|
|
4806
4807
|
] });
|
|
4807
4808
|
});
|
|
4808
|
-
const HtmlTooltip = styled$2(({ className, ...props }) => /* @__PURE__ */ jsx(Tooltip$1, { ...props, classes: { popper: className } }))(() => ({
|
|
4809
|
+
const HtmlTooltip = styled$2(({ className, ...props }) => /* @__PURE__ */ jsx(Tooltip$1, { ...props, classes: { popper: className } }))(({ theme }) => ({
|
|
4809
4810
|
[`& .${tooltipClasses$1.tooltip}`]: {
|
|
4810
4811
|
color: "inherit",
|
|
4811
|
-
backgroundColor:
|
|
4812
|
+
backgroundColor: theme.palette.background.paper,
|
|
4812
4813
|
maxWidth: "initial",
|
|
4813
4814
|
maxHeight: 300,
|
|
4814
4815
|
marginLeft: -20,
|
|
4815
4816
|
overflowY: "auto",
|
|
4816
|
-
border:
|
|
4817
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
4817
4818
|
boxShadow: "0 8px 24px rgba(140,149,159,0.2)"
|
|
4818
4819
|
}
|
|
4819
4820
|
}));
|
|
@@ -4933,7 +4934,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, icon, ...rest }) {
|
|
|
4933
4934
|
}
|
|
4934
4935
|
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" }) });
|
|
4935
4936
|
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" }) });
|
|
4936
|
-
const Editor = lazyRetry(() => import("./editor-
|
|
4937
|
+
const Editor = lazyRetry(() => import("./editor-DOQzNHRz.mjs"));
|
|
4937
4938
|
function LazyEditor(props) {
|
|
4938
4939
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4939
4940
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
|
@@ -5366,7 +5367,8 @@ function ChatRoom({ chat, inWallet, ...rest }) {
|
|
|
5366
5367
|
flex: "0 0 auto",
|
|
5367
5368
|
height: 52,
|
|
5368
5369
|
px: 2.5,
|
|
5369
|
-
borderBottom: "1px solid
|
|
5370
|
+
borderBottom: "1px solid",
|
|
5371
|
+
borderColor: "divider"
|
|
5370
5372
|
},
|
|
5371
5373
|
children: [
|
|
5372
5374
|
downSm && /* @__PURE__ */ jsx(Back, { iconOnly: true, url: "/chat" }),
|
|
@@ -5383,7 +5385,8 @@ function ChatRoom({ chat, inWallet, ...rest }) {
|
|
|
5383
5385
|
flex: "0 0 auto",
|
|
5384
5386
|
height: 52,
|
|
5385
5387
|
px: 2.5,
|
|
5386
|
-
borderBottom: "1px solid
|
|
5388
|
+
borderBottom: "1px solid",
|
|
5389
|
+
borderColor: "divider"
|
|
5387
5390
|
},
|
|
5388
5391
|
children: [
|
|
5389
5392
|
downSm && /* @__PURE__ */ jsx(Back, { iconOnly: true, url: "/chat-in-wallet" }),
|
|
@@ -5547,7 +5550,7 @@ function UserSearch({ sx, inputSx, ...rest }) {
|
|
|
5547
5550
|
fontSize: 12,
|
|
5548
5551
|
".MuiInputBase-root": { pr: "8px!important" },
|
|
5549
5552
|
".MuiInputBase-input": { py: "0!important" },
|
|
5550
|
-
fieldset: { borderColor: "
|
|
5553
|
+
fieldset: { borderColor: "divider!important" }
|
|
5551
5554
|
}
|
|
5552
5555
|
}
|
|
5553
5556
|
),
|
|
@@ -5637,7 +5640,10 @@ function Chat({ sx, ChannelEditComponent, ...rest }) {
|
|
|
5637
5640
|
}
|
|
5638
5641
|
);
|
|
5639
5642
|
}
|
|
5640
|
-
const mergedSx = [
|
|
5643
|
+
const mergedSx = [
|
|
5644
|
+
{ display: "flex", height: "100%", bgcolor: "background.default" },
|
|
5645
|
+
...Array.isArray(sx) ? sx : [sx]
|
|
5646
|
+
];
|
|
5641
5647
|
const handleChannelEdit = async (payload) => {
|
|
5642
5648
|
if (payload.id) {
|
|
5643
5649
|
await client2.updateChannel(payload);
|
|
@@ -5660,7 +5666,7 @@ function Chat({ sx, ChannelEditComponent, ...rest }) {
|
|
|
5660
5666
|
display: "flex",
|
|
5661
5667
|
flexDirection: "column",
|
|
5662
5668
|
width: { sm: 320, xs: "100%" },
|
|
5663
|
-
borderRight: {
|
|
5669
|
+
borderRight: ({ palette }) => `1px solid ${palette.divider}`
|
|
5664
5670
|
},
|
|
5665
5671
|
children: [
|
|
5666
5672
|
/* @__PURE__ */ jsxs(
|
|
@@ -5673,7 +5679,8 @@ function Chat({ sx, ChannelEditComponent, ...rest }) {
|
|
|
5673
5679
|
gap: 1,
|
|
5674
5680
|
height: 52,
|
|
5675
5681
|
px: 3,
|
|
5676
|
-
borderBottom: "1px solid
|
|
5682
|
+
borderBottom: "1px solid",
|
|
5683
|
+
borderColor: "divider"
|
|
5677
5684
|
},
|
|
5678
5685
|
children: [
|
|
5679
5686
|
/* @__PURE__ */ jsx(UserSearch, { sx: { fontSize: 16, flex: 1 } }),
|
|
@@ -5682,7 +5689,7 @@ function Chat({ sx, ChannelEditComponent, ...rest }) {
|
|
|
5682
5689
|
{
|
|
5683
5690
|
onClick: () => setEditingChannel({ name: "", description: "" }),
|
|
5684
5691
|
sx: { p: 1, borderRadius: 1, border: 1, borderColor: "grey.200", height: 32, width: 32 },
|
|
5685
|
-
children: /* @__PURE__ */ jsx(Add, { sx: { color: "
|
|
5692
|
+
children: /* @__PURE__ */ jsx(Add, { sx: { color: "text.primary" } })
|
|
5686
5693
|
}
|
|
5687
5694
|
) })
|
|
5688
5695
|
]
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { X, o, Z, A, n, ag, B, J, O, N, Q, as, $, _, a2, a0, a1, a4, x, G, H, C, y, z, F, a8, a9, ak, ab, U, W, af, D, aj, ai, L, K, b, m, ah, M, P, aD, ar, w, v, aF, aG, R, S, ac, at, aE, q, a5, a7, al, ao, an, aB, au, T, ap, av, ay, az, l, aA, h, p, r, k, ax, t, j, ad, aC, Y, c, a3, E, aa, ae, e, u, aq, d, aw, a6, am, f } from "./index-
|
|
2
|
+
import { X, o, Z, A, n, ag, B, J, O, N, Q, as, $, _, a2, a0, a1, a4, x, G, H, C, y, z, F, a8, a9, ak, ab, U, W, af, D, aj, ai, L, K, b, m, ah, M, P, aD, ar, w, v, aF, aG, R, S, ac, at, aE, q, a5, a7, al, ao, an, aB, au, T, ap, av, ay, az, l, aA, h, p, r, k, ax, t, j, ad, aC, Y, c, a3, E, aa, ae, e, u, aq, d, aw, a6, am, f } from "./index-BvbPx1Nn.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -101,7 +101,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
101
101
|
},
|
|
102
102
|
outlinedPrimary: ({ theme }) => ({
|
|
103
103
|
border: `1px solid ${theme.palette.divider}`,
|
|
104
|
-
backgroundColor:
|
|
104
|
+
backgroundColor: theme.palette.background.default,
|
|
105
105
|
"&:hover": {
|
|
106
106
|
border: `1px solid ${theme.palette.divider}`
|
|
107
107
|
}
|
|
@@ -119,9 +119,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
119
119
|
root: {
|
|
120
120
|
textTransform: "none"
|
|
121
121
|
},
|
|
122
|
-
colorPrimary: {
|
|
123
|
-
backgroundColor:
|
|
124
|
-
}
|
|
122
|
+
colorPrimary: ({ theme }) => ({
|
|
123
|
+
backgroundColor: theme.palette.background.default
|
|
124
|
+
})
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
MuiToggleButton: {
|
|
@@ -754,7 +754,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
754
754
|
width: 16px;
|
|
755
755
|
transition: width 0.1s ease-in-out;
|
|
756
756
|
& .image {
|
|
757
|
-
box-shadow: 0 0 0 2px
|
|
757
|
+
box-shadow: 0 0 0 2px ${({ theme }) => theme.palette.background.default} !important;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
|
|
@@ -772,7 +772,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
772
772
|
background-color: ${colors.grey[400]};
|
|
773
773
|
font-weight: 500;
|
|
774
774
|
border: none;
|
|
775
|
-
box-shadow: 0 0 0 2px
|
|
775
|
+
box-shadow: 0 0 0 2px ${({ theme }) => theme.palette.background.default} !important;
|
|
776
776
|
}
|
|
777
777
|
|
|
778
778
|
/* &:hover {
|
|
@@ -1152,12 +1152,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1152
1152
|
boxSizing: "border-box",
|
|
1153
1153
|
width: 340,
|
|
1154
1154
|
p: 2,
|
|
1155
|
-
border: "1px solid
|
|
1155
|
+
border: "1px solid",
|
|
1156
|
+
borderColor: "divider",
|
|
1156
1157
|
borderRadius: 1,
|
|
1157
1158
|
fontSize: 14,
|
|
1158
1159
|
color: "grey.700",
|
|
1159
1160
|
boxShadow: "0 8px 24px rgba(140,149,159,0.2);",
|
|
1160
|
-
bgcolor: "
|
|
1161
|
+
bgcolor: "background.paper"
|
|
1161
1162
|
},
|
|
1162
1163
|
...rest,
|
|
1163
1164
|
children: [
|
|
@@ -4336,7 +4337,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4336
4337
|
fontSize: 14,
|
|
4337
4338
|
borderRadius: 1,
|
|
4338
4339
|
"&:hover": {
|
|
4339
|
-
bgcolor: "
|
|
4340
|
+
bgcolor: "action.hover",
|
|
4340
4341
|
".message-menu": {
|
|
4341
4342
|
display: "flex !important"
|
|
4342
4343
|
}
|
|
@@ -4413,7 +4414,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4413
4414
|
variant: "h6",
|
|
4414
4415
|
href: message.link,
|
|
4415
4416
|
target: "_blank",
|
|
4416
|
-
style: { fontSize: 14, color: "
|
|
4417
|
+
style: { fontSize: 14, color: "info.main", textDecoration: "none" },
|
|
4417
4418
|
children: title || t("common.link")
|
|
4418
4419
|
}
|
|
4419
4420
|
),
|
|
@@ -4727,15 +4728,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4727
4728
|
!isAtBottom && /* @__PURE__ */ jsxRuntime.jsx(Box, { sx: { position: "absolute", bottom: 16, right: 24 }, onClick: scrollToBottom, children: /* @__PURE__ */ jsxRuntime.jsx(Fab, { color: "inherit", sx: { width: { xs: 36, sm: 44 }, height: { xs: 36, sm: 44 } }, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ArrowDownward, {}) }) })
|
|
4728
4729
|
] });
|
|
4729
4730
|
});
|
|
4730
|
-
const HtmlTooltip = styles.styled(({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { ...props, classes: { popper: className } }))(() => ({
|
|
4731
|
+
const HtmlTooltip = styles.styled(({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { ...props, classes: { popper: className } }))(({ theme }) => ({
|
|
4731
4732
|
[`& .${material.tooltipClasses.tooltip}`]: {
|
|
4732
4733
|
color: "inherit",
|
|
4733
|
-
backgroundColor:
|
|
4734
|
+
backgroundColor: theme.palette.background.paper,
|
|
4734
4735
|
maxWidth: "initial",
|
|
4735
4736
|
maxHeight: 300,
|
|
4736
4737
|
marginLeft: -20,
|
|
4737
4738
|
overflowY: "auto",
|
|
4738
|
-
border:
|
|
4739
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
4739
4740
|
boxShadow: "0 8px 24px rgba(140,149,159,0.2)"
|
|
4740
4741
|
}
|
|
4741
4742
|
}));
|
|
@@ -5288,7 +5289,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5288
5289
|
flex: "0 0 auto",
|
|
5289
5290
|
height: 52,
|
|
5290
5291
|
px: 2.5,
|
|
5291
|
-
borderBottom: "1px solid
|
|
5292
|
+
borderBottom: "1px solid",
|
|
5293
|
+
borderColor: "divider"
|
|
5292
5294
|
},
|
|
5293
5295
|
children: [
|
|
5294
5296
|
downSm && /* @__PURE__ */ jsxRuntime.jsx(Back, { iconOnly: true, url: "/chat" }),
|
|
@@ -5305,7 +5307,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5305
5307
|
flex: "0 0 auto",
|
|
5306
5308
|
height: 52,
|
|
5307
5309
|
px: 2.5,
|
|
5308
|
-
borderBottom: "1px solid
|
|
5310
|
+
borderBottom: "1px solid",
|
|
5311
|
+
borderColor: "divider"
|
|
5309
5312
|
},
|
|
5310
5313
|
children: [
|
|
5311
5314
|
downSm && /* @__PURE__ */ jsxRuntime.jsx(Back, { iconOnly: true, url: "/chat-in-wallet" }),
|
|
@@ -5469,7 +5472,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5469
5472
|
fontSize: 12,
|
|
5470
5473
|
".MuiInputBase-root": { pr: "8px!important" },
|
|
5471
5474
|
".MuiInputBase-input": { py: "0!important" },
|
|
5472
|
-
fieldset: { borderColor: "
|
|
5475
|
+
fieldset: { borderColor: "divider!important" }
|
|
5473
5476
|
}
|
|
5474
5477
|
}
|
|
5475
5478
|
),
|
|
@@ -5559,7 +5562,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5559
5562
|
}
|
|
5560
5563
|
);
|
|
5561
5564
|
}
|
|
5562
|
-
const mergedSx = [
|
|
5565
|
+
const mergedSx = [
|
|
5566
|
+
{ display: "flex", height: "100%", bgcolor: "background.default" },
|
|
5567
|
+
...Array.isArray(sx) ? sx : [sx]
|
|
5568
|
+
];
|
|
5563
5569
|
const handleChannelEdit = async (payload) => {
|
|
5564
5570
|
if (payload.id) {
|
|
5565
5571
|
await client2.updateChannel(payload);
|
|
@@ -5582,7 +5588,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5582
5588
|
display: "flex",
|
|
5583
5589
|
flexDirection: "column",
|
|
5584
5590
|
width: { sm: 320, xs: "100%" },
|
|
5585
|
-
borderRight: {
|
|
5591
|
+
borderRight: ({ palette }) => `1px solid ${palette.divider}`
|
|
5586
5592
|
},
|
|
5587
5593
|
children: [
|
|
5588
5594
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -5595,7 +5601,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5595
5601
|
gap: 1,
|
|
5596
5602
|
height: 52,
|
|
5597
5603
|
px: 3,
|
|
5598
|
-
borderBottom: "1px solid
|
|
5604
|
+
borderBottom: "1px solid",
|
|
5605
|
+
borderColor: "divider"
|
|
5599
5606
|
},
|
|
5600
5607
|
children: [
|
|
5601
5608
|
/* @__PURE__ */ jsxRuntime.jsx(UserSearch, { sx: { fontSize: 16, flex: 1 } }),
|
|
@@ -5604,7 +5611,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5604
5611
|
{
|
|
5605
5612
|
onClick: () => setEditingChannel({ name: "", description: "" }),
|
|
5606
5613
|
sx: { p: 1, borderRadius: 1, border: 1, borderColor: "grey.200", height: 32, width: 32 },
|
|
5607
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Add, { sx: { color: "
|
|
5614
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Add, { sx: { color: "text.primary" } })
|
|
5608
5615
|
}
|
|
5609
5616
|
) })
|
|
5610
5617
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.7",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/bridge": "^2.13.
|
|
22
|
-
"@arcblock/react-hooks": "^2.13.
|
|
21
|
+
"@arcblock/bridge": "^2.13.16",
|
|
22
|
+
"@arcblock/react-hooks": "^2.13.16",
|
|
23
23
|
"@arcblock/ws": "^1.20.2",
|
|
24
|
-
"@blocklet/uploader": "^0.1.
|
|
24
|
+
"@blocklet/uploader": "^0.1.84",
|
|
25
25
|
"@emotion/css": "^11.13.0",
|
|
26
26
|
"@emotion/react": "^11.13.3",
|
|
27
27
|
"@emotion/styled": "^11.13.0",
|
|
@@ -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.3.
|
|
49
|
-
"@blocklet/labels": "^2.3.
|
|
48
|
+
"@blocklet/editor": "^2.3.7",
|
|
49
|
+
"@blocklet/labels": "^2.3.7"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@arcblock/did-connect": "^2.10.36",
|