@blocklet/discuss-kit-ux 2.0.148 → 2.0.149
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-B8WmpSvC.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -4401,10 +4401,16 @@ function NotificationMessage({ chat, message, prevMessage }) {
|
|
|
4401
4401
|
color: "primary.light"
|
|
4402
4402
|
},
|
|
4403
4403
|
children: [
|
|
4404
|
-
/* @__PURE__ */ jsxs(Box$1, {
|
|
4405
|
-
/* @__PURE__ */ jsx(
|
|
4406
|
-
|
|
4407
|
-
|
|
4404
|
+
/* @__PURE__ */ jsxs(Box$1, { children: [
|
|
4405
|
+
/* @__PURE__ */ jsx(
|
|
4406
|
+
Icon,
|
|
4407
|
+
{
|
|
4408
|
+
icon: "tabler:message-circle-2",
|
|
4409
|
+
style: { verticalAlign: "middle", height: 15, width: 15, marginRight: 4 }
|
|
4410
|
+
}
|
|
4411
|
+
),
|
|
4412
|
+
/* @__PURE__ */ jsx(Box$1, { component: "span", sx: { mr: 0.5, verticalAlign: "middle" }, children: message.sourceUser.fullName }),
|
|
4413
|
+
/* @__PURE__ */ jsx("span", { style: { verticalAlign: "middle" }, children: (message == null ? void 0 : message.cc) ? t("chat.commentedPost") : t("chat.commentedYourPost") })
|
|
4408
4414
|
] }),
|
|
4409
4415
|
/* @__PURE__ */ jsx(Time, { createdAt: message.createdAt })
|
|
4410
4416
|
]
|
|
@@ -4804,7 +4810,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, ...rest }) {
|
|
|
4804
4810
|
}
|
|
4805
4811
|
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" }) });
|
|
4806
4812
|
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" }) });
|
|
4807
|
-
const Editor = lazy(() => import("./editor-
|
|
4813
|
+
const Editor = lazy(() => import("./editor-fRdaMz5x.mjs"));
|
|
4808
4814
|
function LazyEditor(props) {
|
|
4809
4815
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4810
4816
|
/* @__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-B8WmpSvC.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -4326,10 +4326,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4326
4326
|
color: "primary.light"
|
|
4327
4327
|
},
|
|
4328
4328
|
children: [
|
|
4329
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Box, {
|
|
4330
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4331
|
-
|
|
4332
|
-
|
|
4329
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Box, { children: [
|
|
4330
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4331
|
+
react$1.Icon,
|
|
4332
|
+
{
|
|
4333
|
+
icon: "tabler:message-circle-2",
|
|
4334
|
+
style: { verticalAlign: "middle", height: 15, width: 15, marginRight: 4 }
|
|
4335
|
+
}
|
|
4336
|
+
),
|
|
4337
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box, { component: "span", sx: { mr: 0.5, verticalAlign: "middle" }, children: message.sourceUser.fullName }),
|
|
4338
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { verticalAlign: "middle" }, children: (message == null ? void 0 : message.cc) ? t("chat.commentedPost") : t("chat.commentedYourPost") })
|
|
4333
4339
|
] }),
|
|
4334
4340
|
/* @__PURE__ */ jsxRuntime.jsx(Time, { createdAt: message.createdAt })
|
|
4335
4341
|
]
|
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.149",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@arcblock/bridge": "^2.10.23",
|
|
32
32
|
"@arcblock/react-hooks": "^2.10.23",
|
|
33
33
|
"@arcblock/ws": "^1.18.132",
|
|
34
|
-
"@blocklet/editor": "2.0.
|
|
35
|
-
"@blocklet/labels": "2.0.
|
|
34
|
+
"@blocklet/editor": "2.0.149",
|
|
35
|
+
"@blocklet/labels": "2.0.149",
|
|
36
36
|
"@blocklet/uploader": "^0.1.25",
|
|
37
37
|
"@emotion/css": "^11.10.5",
|
|
38
38
|
"@emotion/react": "^11.10.5",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"resolutions": {
|
|
101
101
|
"react": "^18.2.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "38a400ee76e452f5a36891acab9fc65400d0f905"
|
|
104
104
|
}
|