@blocklet/discuss-kit-ux 1.6.251 → 1.6.252
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-CNu5t46j.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -4813,7 +4813,7 @@ const useChatInWallet = () => {
|
|
|
4813
4813
|
const { walletVersion, mobile } = lib.useBrowser();
|
|
4814
4814
|
const isChatInWalletV2 = useMemo(() => {
|
|
4815
4815
|
try {
|
|
4816
|
-
const targetVersion = mobile.apple.device ? "5.3.
|
|
4816
|
+
const targetVersion = mobile.apple.device ? "5.3.5" : "5.3.1";
|
|
4817
4817
|
return !!walletVersion && cmp(walletVersion, targetVersion) === 1;
|
|
4818
4818
|
} catch (e) {
|
|
4819
4819
|
console.error(e);
|
|
@@ -6486,7 +6486,7 @@ function Pagination({
|
|
|
6486
6486
|
}
|
|
6487
6487
|
);
|
|
6488
6488
|
}
|
|
6489
|
-
const Editor = lazy(() => import("./editor
|
|
6489
|
+
const Editor = lazy(() => import("./editor-CxgvO4o6.mjs"));
|
|
6490
6490
|
function LazyEditor(props) {
|
|
6491
6491
|
const fallback = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
6492
6492
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
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-CNu5t46j.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -4743,7 +4743,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4743
4743
|
const { walletVersion, mobile } = lib.useBrowser();
|
|
4744
4744
|
const isChatInWalletV2 = require$$0.useMemo(() => {
|
|
4745
4745
|
try {
|
|
4746
|
-
const targetVersion = mobile.apple.device ? "5.3.
|
|
4746
|
+
const targetVersion = mobile.apple.device ? "5.3.5" : "5.3.1";
|
|
4747
4747
|
return !!walletVersion && cmp(walletVersion, targetVersion) === 1;
|
|
4748
4748
|
} catch (e) {
|
|
4749
4749
|
console.error(e);
|
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.252",
|
|
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.252",
|
|
34
|
+
"@blocklet/labels": "1.6.252",
|
|
35
35
|
"@blocklet/uploader": "^0.1.2",
|
|
36
36
|
"@emotion/css": "^11.10.5",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"resolutions": {
|
|
99
99
|
"react": "^18.2.0"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "c4cde055780793eaee6da03c5e932f06e086bdaa"
|
|
102
102
|
}
|