@blocklet/discuss-kit-ux 2.1.246 → 2.1.248
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-BQ16TVBp.mjs";
|
|
8
8
|
const BlockletEditor = lazyRetry(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -1854,7 +1854,7 @@ function PostComponent({
|
|
|
1854
1854
|
),
|
|
1855
1855
|
/* @__PURE__ */ jsx(Menu, { items: menuItems, style: { position: "absolute", right: 0, top: 0 } })
|
|
1856
1856
|
] }),
|
|
1857
|
-
/* @__PURE__ */ jsxs(Box$1, { sx: { ml: 5.5 }, children: [
|
|
1857
|
+
/* @__PURE__ */ jsxs(Box$1, { sx: { ml: { xs: 0, md: 5.5 } }, children: [
|
|
1858
1858
|
post.replyTo && /* @__PURE__ */ jsx(Box$1, { sx: { pt: 1 }, children: /* @__PURE__ */ jsx(ProfileCardTooltip, { user: post.replyTo, children: /* @__PURE__ */ jsxs(
|
|
1859
1859
|
Stack$1,
|
|
1860
1860
|
{
|
|
@@ -2523,7 +2523,7 @@ function Comment({
|
|
|
2523
2523
|
]
|
|
2524
2524
|
}
|
|
2525
2525
|
) }),
|
|
2526
|
-
/* @__PURE__ */ jsxs(Box$1, { sx: { display: "flex", alignItems: "end", gap:
|
|
2526
|
+
/* @__PURE__ */ jsxs(Box$1, { sx: { display: "flex", alignItems: "end", gap: 1, mt: 1 }, children: [
|
|
2527
2527
|
/* @__PURE__ */ jsx(
|
|
2528
2528
|
GithubReaction,
|
|
2529
2529
|
{
|
|
@@ -2560,7 +2560,7 @@ function Comment({
|
|
|
2560
2560
|
const renderExtraContent = ({ post }) => {
|
|
2561
2561
|
var _a2;
|
|
2562
2562
|
if ((_a2 = post.replies) == null ? void 0 : _a2.length) {
|
|
2563
|
-
return /* @__PURE__ */ jsxs(Box$1, { sx: { mt: 1, ml: 5.5 }, children: [
|
|
2563
|
+
return /* @__PURE__ */ jsxs(Box$1, { sx: { mt: 1, ml: { xs: 0, md: 5.5 } }, children: [
|
|
2564
2564
|
post.replies.map((item) => {
|
|
2565
2565
|
return /* @__PURE__ */ jsx(
|
|
2566
2566
|
Comment,
|
|
@@ -4929,7 +4929,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, icon, ...rest }) {
|
|
|
4929
4929
|
}
|
|
4930
4930
|
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" }) });
|
|
4931
4931
|
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" }) });
|
|
4932
|
-
const Editor = lazyRetry(() => import("./editor-
|
|
4932
|
+
const Editor = lazyRetry(() => import("./editor-HWKHijzJ.mjs"));
|
|
4933
4933
|
function LazyEditor(props) {
|
|
4934
4934
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4935
4935
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { U, o, X, A, n, ae, B, G, L, K, N, aq, Z, Y, a0, _, $, a2, x, C, y, z, F, a6, a7, ai, a9, Q, T, ad, D, ah, ag, J, H, b, m, af, M, P, aB, ap, w, v, R, S, aa, ar, aC, q, a3, a5, aj, am, al, az, as, O, an, at, aw, ax, l, ay, h, p, r, k, av, t, j, ab, aA, W, c, a1, E, a8, ac, e, u, ao, d, au, a4, ak, f } from "./index-
|
|
2
|
+
import { U, o, X, A, n, ae, B, G, L, K, N, aq, Z, Y, a0, _, $, a2, x, C, y, z, F, a6, a7, ai, a9, Q, T, ad, D, ah, ag, J, H, b, m, af, M, P, aB, ap, w, v, R, S, aa, ar, aC, q, a3, a5, aj, am, al, az, as, O, an, at, aw, ax, l, ay, h, p, r, k, av, t, j, ab, aA, W, c, a1, E, a8, ac, e, u, ao, d, au, a4, ak, f } from "./index-BQ16TVBp.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -1778,7 +1778,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1778
1778
|
),
|
|
1779
1779
|
/* @__PURE__ */ jsxRuntime.jsx(Menu, { items: menuItems, style: { position: "absolute", right: 0, top: 0 } })
|
|
1780
1780
|
] }),
|
|
1781
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { ml: 5.5 }, children: [
|
|
1781
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { ml: { xs: 0, md: 5.5 } }, children: [
|
|
1782
1782
|
post.replyTo && /* @__PURE__ */ jsxRuntime.jsx(Box, { sx: { pt: 1 }, children: /* @__PURE__ */ jsxRuntime.jsx(ProfileCardTooltip, { user: post.replyTo, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1783
1783
|
material.Stack,
|
|
1784
1784
|
{
|
|
@@ -2447,7 +2447,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2447
2447
|
]
|
|
2448
2448
|
}
|
|
2449
2449
|
) }),
|
|
2450
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { display: "flex", alignItems: "end", gap:
|
|
2450
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { display: "flex", alignItems: "end", gap: 1, mt: 1 }, children: [
|
|
2451
2451
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2452
2452
|
GithubReaction,
|
|
2453
2453
|
{
|
|
@@ -2484,7 +2484,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2484
2484
|
const renderExtraContent = ({ post }) => {
|
|
2485
2485
|
var _a2;
|
|
2486
2486
|
if ((_a2 = post.replies) == null ? void 0 : _a2.length) {
|
|
2487
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { mt: 1, ml: 5.5 }, children: [
|
|
2487
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { mt: 1, ml: { xs: 0, md: 5.5 } }, children: [
|
|
2488
2488
|
post.replies.map((item) => {
|
|
2489
2489
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2490
2490
|
Comment,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.248",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -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/labels": "^2.1.
|
|
49
|
-
"@blocklet/editor": "^2.1.
|
|
48
|
+
"@blocklet/labels": "^2.1.248",
|
|
49
|
+
"@blocklet/editor": "^2.1.248"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@arcblock/did-connect": "^2.10.36",
|