@blocklet/discuss-kit-ux 1.6.179 → 1.6.181
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-QDqykalr.mjs";
|
|
8
8
|
import "@blocklet/labels";
|
|
9
9
|
import "@mui/material/styles";
|
|
10
10
|
import "@mui/material/Box";
|
|
@@ -4309,27 +4309,10 @@ function NewChannelDialog({ open, onSubmit, onClose, ...rest }) {
|
|
|
4309
4309
|
showCloseButton: true,
|
|
4310
4310
|
maxWidth: "lg",
|
|
4311
4311
|
title: t("chat.newChannel"),
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
}
|
|
4317
|
-
},
|
|
4318
|
-
actions: /* @__PURE__ */ jsxs(
|
|
4319
|
-
Button,
|
|
4320
|
-
{
|
|
4321
|
-
color: "primary",
|
|
4322
|
-
sx: { mt: 1 },
|
|
4323
|
-
variant: "contained",
|
|
4324
|
-
size: "small",
|
|
4325
|
-
onClick: handleSubmit,
|
|
4326
|
-
disabled: !canSubmit,
|
|
4327
|
-
children: [
|
|
4328
|
-
/* @__PURE__ */ jsx(AddIcon, { sx: { mr: 0.375 } }),
|
|
4329
|
-
t("chat.create")
|
|
4330
|
-
]
|
|
4331
|
-
}
|
|
4332
|
-
),
|
|
4312
|
+
actions: /* @__PURE__ */ jsxs(Button, { color: "primary", variant: "contained", size: "small", onClick: handleSubmit, disabled: !canSubmit, children: [
|
|
4313
|
+
/* @__PURE__ */ jsx(AddIcon, { sx: { mr: 0.375 } }),
|
|
4314
|
+
t("chat.create")
|
|
4315
|
+
] }),
|
|
4333
4316
|
onClose,
|
|
4334
4317
|
...rest,
|
|
4335
4318
|
children: /* @__PURE__ */ jsxs(Box, { width: { xs: "100%", md: 560 }, minHeight: 140, children: [
|
|
@@ -4827,7 +4810,7 @@ function Pagination({
|
|
|
4827
4810
|
}
|
|
4828
4811
|
);
|
|
4829
4812
|
}
|
|
4830
|
-
const Editor = lazy(() => import("./editor-
|
|
4813
|
+
const Editor = lazy(() => import("./editor-fQ1zjzhm.mjs"));
|
|
4831
4814
|
function LazyEditor(props) {
|
|
4832
4815
|
const fallback = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4833
4816
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { O, j, T, A, h, a9, B, z, H, F, J, al, m, W, U, X, Z, q, C, v, w, y, a1, a2, ad, a4, L, N, D, ac, ab, E, G, b, f, aa, M, P, ak, o, n, a8, R, S, a5, am, k, _, a0, ae, ah, ag, ai, an, K, ao, l, p, r, e, t, a6, Q, c, Y, x, a3, a7, u, aj, ap, $, af, d } from "./index-
|
|
2
|
+
import { O, j, T, A, h, a9, B, z, H, F, J, al, m, W, U, X, Z, q, C, v, w, y, a1, a2, ad, a4, L, N, D, ac, ab, E, G, b, f, aa, M, P, ak, o, n, a8, R, S, a5, am, k, _, a0, ae, ah, ag, ai, an, K, ao, l, p, r, e, t, a6, Q, c, Y, x, a3, a7, u, aj, ap, $, af, d } from "./index-QDqykalr.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -4242,27 +4242,10 @@ var __publicField = (obj, key, value) => {
|
|
|
4242
4242
|
showCloseButton: true,
|
|
4243
4243
|
maxWidth: "lg",
|
|
4244
4244
|
title: t("chat.newChannel"),
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
}
|
|
4250
|
-
},
|
|
4251
|
-
actions: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4252
|
-
Button,
|
|
4253
|
-
{
|
|
4254
|
-
color: "primary",
|
|
4255
|
-
sx: { mt: 1 },
|
|
4256
|
-
variant: "contained",
|
|
4257
|
-
size: "small",
|
|
4258
|
-
onClick: handleSubmit,
|
|
4259
|
-
disabled: !canSubmit,
|
|
4260
|
-
children: [
|
|
4261
|
-
/* @__PURE__ */ jsxRuntime.jsx(AddIcon, { sx: { mr: 0.375 } }),
|
|
4262
|
-
t("chat.create")
|
|
4263
|
-
]
|
|
4264
|
-
}
|
|
4265
|
-
),
|
|
4245
|
+
actions: /* @__PURE__ */ jsxRuntime.jsxs(Button, { color: "primary", variant: "contained", size: "small", onClick: handleSubmit, disabled: !canSubmit, children: [
|
|
4246
|
+
/* @__PURE__ */ jsxRuntime.jsx(AddIcon, { sx: { mr: 0.375 } }),
|
|
4247
|
+
t("chat.create")
|
|
4248
|
+
] }),
|
|
4266
4249
|
onClose,
|
|
4267
4250
|
...rest,
|
|
4268
4251
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { width: { xs: "100%", md: 560 }, minHeight: 140, children: [
|
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.181",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@arcblock/ws": "^1.18.113",
|
|
32
|
-
"@blocklet/editor": "1.6.
|
|
33
|
-
"@blocklet/labels": "1.6.
|
|
32
|
+
"@blocklet/editor": "1.6.181",
|
|
33
|
+
"@blocklet/labels": "1.6.181",
|
|
34
34
|
"@blocklet/uploader": "^0.0.75",
|
|
35
35
|
"@emotion/css": "^11.10.5",
|
|
36
36
|
"@emotion/react": "^11.10.5",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"resolutions": {
|
|
95
95
|
"react": "^18.2.0"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "d81a7e1f738aba558bf8da68e7db94b062499c87"
|
|
98
98
|
}
|