@blocklet/discuss-kit-ux 2.0.51 → 2.0.53
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-CGs-Yy3L.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -4143,7 +4143,7 @@ function Message({ message, prevMessage, showTime = true, ...rest }) {
|
|
|
4143
4143
|
title: t("deleteMessage.title"),
|
|
4144
4144
|
description: t("deleteMessage.desc"),
|
|
4145
4145
|
okButtonProps: { color: "error" },
|
|
4146
|
-
dialogProps: { sx: { top: ((_a3 = window.chatInWallet) == null ? void 0 : _a3.safeAreaInsetTop) ?? 0 } }
|
|
4146
|
+
dialogProps: { sx: { top: `${((_a3 = window.chatInWallet) == null ? void 0 : _a3.safeAreaInsetTop) ?? 0}px` } }
|
|
4147
4147
|
});
|
|
4148
4148
|
if (proceed) {
|
|
4149
4149
|
deleteMessage(activeChatId, message.id);
|
|
@@ -4741,7 +4741,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, ...rest }) {
|
|
|
4741
4741
|
}
|
|
4742
4742
|
const tablerSend = (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 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z" }) });
|
|
4743
4743
|
const tablerLetterCase = (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: "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" }) });
|
|
4744
|
-
const Editor = lazy(() => import("./editor-
|
|
4744
|
+
const Editor = lazy(() => import("./editor-Bmjq1QtI.mjs"));
|
|
4745
4745
|
function LazyEditor(props) {
|
|
4746
4746
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4747
4747
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
|
@@ -5533,7 +5533,7 @@ function Chat({ sx, ...rest }) {
|
|
|
5533
5533
|
borderBottom: "1px solid #e5e5e5"
|
|
5534
5534
|
},
|
|
5535
5535
|
children: [
|
|
5536
|
-
/* @__PURE__ */ jsx(UserSearch, { sx: { flex: 1 } }),
|
|
5536
|
+
/* @__PURE__ */ jsx(UserSearch, { sx: { fontSize: 16, flex: 1 } }),
|
|
5537
5537
|
/* @__PURE__ */ jsx(AccessControl, { roles: ["owner", "admin"], children: /* @__PURE__ */ jsx(
|
|
5538
5538
|
IconButton$1,
|
|
5539
5539
|
{
|
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, am, ar, N, as, l, f, p, r, j, t, h, aa, 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, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-CGs-Yy3L.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -4069,7 +4069,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4069
4069
|
title: t("deleteMessage.title"),
|
|
4070
4070
|
description: t("deleteMessage.desc"),
|
|
4071
4071
|
okButtonProps: { color: "error" },
|
|
4072
|
-
dialogProps: { sx: { top: ((_a3 = window.chatInWallet) == null ? void 0 : _a3.safeAreaInsetTop) ?? 0 } }
|
|
4072
|
+
dialogProps: { sx: { top: `${((_a3 = window.chatInWallet) == null ? void 0 : _a3.safeAreaInsetTop) ?? 0}px` } }
|
|
4073
4073
|
});
|
|
4074
4074
|
if (proceed) {
|
|
4075
4075
|
deleteMessage(activeChatId, message.id);
|
|
@@ -5459,7 +5459,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5459
5459
|
borderBottom: "1px solid #e5e5e5"
|
|
5460
5460
|
},
|
|
5461
5461
|
children: [
|
|
5462
|
-
/* @__PURE__ */ jsxRuntime.jsx(UserSearch, { sx: { flex: 1 } }),
|
|
5462
|
+
/* @__PURE__ */ jsxRuntime.jsx(UserSearch, { sx: { fontSize: 16, flex: 1 } }),
|
|
5463
5463
|
/* @__PURE__ */ jsxRuntime.jsx(AccessControl, { roles: ["owner", "admin"], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5464
5464
|
IconButton$1,
|
|
5465
5465
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.53",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@arcblock/bridge": "^2.10.
|
|
32
|
-
"@arcblock/react-hooks": "^2.10.
|
|
33
|
-
"@arcblock/ws": "^1.18.
|
|
34
|
-
"@blocklet/editor": "2.0.
|
|
35
|
-
"@blocklet/labels": "2.0.
|
|
36
|
-
"@blocklet/uploader": "^0.1.
|
|
31
|
+
"@arcblock/bridge": "^2.10.5",
|
|
32
|
+
"@arcblock/react-hooks": "^2.10.5",
|
|
33
|
+
"@arcblock/ws": "^1.18.126",
|
|
34
|
+
"@blocklet/editor": "2.0.53",
|
|
35
|
+
"@blocklet/labels": "2.0.53",
|
|
36
|
+
"@blocklet/uploader": "^0.1.19",
|
|
37
37
|
"@emotion/css": "^11.10.5",
|
|
38
38
|
"@emotion/react": "^11.10.5",
|
|
39
39
|
"@emotion/styled": "^11.10.5",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"url-join": "^4.0.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@arcblock/did-connect": "^2.
|
|
61
|
-
"@arcblock/ux": "^2.
|
|
60
|
+
"@arcblock/did-connect": "^2.10.5",
|
|
61
|
+
"@arcblock/ux": "^2.10.5",
|
|
62
62
|
"@mui/icons-material": "^5.10.9",
|
|
63
63
|
"@mui/lab": "^5.0.0-alpha.109",
|
|
64
64
|
"@mui/material": "^5.10.13",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"react-router-dom": "^6.4.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@arcblock/eslint-config-ts": "^0.3.
|
|
72
|
+
"@arcblock/eslint-config-ts": "^0.3.2",
|
|
73
73
|
"@babel/core": "^7.20.2",
|
|
74
74
|
"@iconify-json/iconoir": "^1.1.14",
|
|
75
75
|
"@iconify-json/material-symbols": "^1.1.26",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"resolutions": {
|
|
101
101
|
"react": "^18.2.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "3b69eb3eff2c8d36d32eb61d4c4a98117bbc55c8"
|
|
104
104
|
}
|