@blocklet/discuss-kit-ux 1.6.50 → 1.6.51
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-fda8b4e9.mjs";
|
|
8
8
|
import "@blocklet/labels";
|
|
9
9
|
import "@mui/material/styles";
|
|
10
10
|
import "@mui/material/Box";
|
|
@@ -2744,16 +2744,7 @@ function BlogItem({
|
|
|
2744
2744
|
/* @__PURE__ */ jsxs(Box, { sx: { flex: 1, pr: { xs: 2, md: 4 } }, children: [
|
|
2745
2745
|
typeof prepend === "function" ? prepend(item) : prepend,
|
|
2746
2746
|
hideAuthor === "1" || /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(AuthorInfo, { user: item.author, createdAt: downMd ? void 0 : item.publishTime, size: "sm", responsive: true }) }),
|
|
2747
|
-
/* @__PURE__ */ jsx(
|
|
2748
|
-
Typography,
|
|
2749
|
-
{
|
|
2750
|
-
variant: "h6",
|
|
2751
|
-
component: "h3",
|
|
2752
|
-
sx: { ...lineClamp2, fontSize: { xs: 14, md: 18, lg: 20 }, my: 0.5 },
|
|
2753
|
-
className: "item-title",
|
|
2754
|
-
children: item.title
|
|
2755
|
-
}
|
|
2756
|
-
),
|
|
2747
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h4", component: "h3", sx: { ...lineClamp2, my: 0.5 }, className: "item-title", children: item.title }),
|
|
2757
2748
|
item.excerpt && /* @__PURE__ */ jsxs(
|
|
2758
2749
|
Typography,
|
|
2759
2750
|
{
|
|
@@ -2939,7 +2930,7 @@ const BlogCard = forwardRef(
|
|
|
2939
2930
|
children: [
|
|
2940
2931
|
/* @__PURE__ */ jsx(Box, { sx: { flex: "0 0 auto" }, children: /* @__PURE__ */ jsx(CoverImage, { url: post.cover, sx: { borderRadius: 0 }, loading: "lazy", width: 640 }) }),
|
|
2941
2932
|
/* @__PURE__ */ jsxs(Box, { sx: { display: "flex", flexDirection: "column", flex: 1, mt: 1, p: 2, pt: 0 }, children: [
|
|
2942
|
-
/* @__PURE__ */ jsx(Typography, { variant: "
|
|
2933
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { ...lineClamp2, my: 0.5 }, children: post.title }),
|
|
2943
2934
|
post.excerpt && /* @__PURE__ */ jsxs(Typography, { variant: "body1", sx: { ...lineClamp2, fontSize: { xs: 13, md: 14 }, color: "grey.600" }, children: [
|
|
2944
2935
|
post.excerpt,
|
|
2945
2936
|
"..."
|
|
@@ -4439,7 +4430,7 @@ function Pagination({ page, size = 20, total, onChange, routerMode = true, ...re
|
|
|
4439
4430
|
}
|
|
4440
4431
|
);
|
|
4441
4432
|
}
|
|
4442
|
-
const Editor = lazy(() => import("./editor-
|
|
4433
|
+
const Editor = lazy(() => import("./editor-13a9cb7c.mjs"));
|
|
4443
4434
|
function LazyEditor(props) {
|
|
4444
4435
|
const fallback = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4445
4436
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { K, j, N, A, h, a6, B, z, y, E, Q, O, T, W, o, C, q, v, x, _, $, aa, a1, H, J, D, a9, a8, G, c, b, a7, M, P, ah, n, m, a5, R, S, a2, k, X, Z, ab, ae, ad, af, ai, F, aj, l, p, r, t, d, a3, L, e, U, w, a0, a4, u, ag, ak, Y, ac, f } from "./index-
|
|
2
|
+
import { K, j, N, A, h, a6, B, z, y, E, Q, O, T, W, o, C, q, v, x, _, $, aa, a1, H, J, D, a9, a8, G, c, b, a7, M, P, ah, n, m, a5, R, S, a2, k, X, Z, ab, ae, ad, af, ai, F, aj, l, p, r, t, d, a3, L, e, U, w, a0, a4, u, ag, ak, Y, ac, f } from "./index-fda8b4e9.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -2684,16 +2684,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2684
2684
|
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { flex: 1, pr: { xs: 2, md: 4 } }, children: [
|
|
2685
2685
|
typeof prepend === "function" ? prepend(item) : prepend,
|
|
2686
2686
|
hideAuthor === "1" || /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(AuthorInfo, { user: item.author, createdAt: downMd ? void 0 : item.publishTime, size: "sm", responsive: true }) }),
|
|
2687
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2688
|
-
Typography,
|
|
2689
|
-
{
|
|
2690
|
-
variant: "h6",
|
|
2691
|
-
component: "h3",
|
|
2692
|
-
sx: { ...lineClamp2, fontSize: { xs: 14, md: 18, lg: 20 }, my: 0.5 },
|
|
2693
|
-
className: "item-title",
|
|
2694
|
-
children: item.title
|
|
2695
|
-
}
|
|
2696
|
-
),
|
|
2687
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", component: "h3", sx: { ...lineClamp2, my: 0.5 }, className: "item-title", children: item.title }),
|
|
2697
2688
|
item.excerpt && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2698
2689
|
Typography,
|
|
2699
2690
|
{
|
|
@@ -2879,7 +2870,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2879
2870
|
children: [
|
|
2880
2871
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { sx: { flex: "0 0 auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { url: post.cover, sx: { borderRadius: 0 }, loading: "lazy", width: 640 }) }),
|
|
2881
2872
|
/* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: { display: "flex", flexDirection: "column", flex: 1, mt: 1, p: 2, pt: 0 }, children: [
|
|
2882
|
-
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "
|
|
2873
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", sx: { ...lineClamp2, my: 0.5 }, children: post.title }),
|
|
2883
2874
|
post.excerpt && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "body1", sx: { ...lineClamp2, fontSize: { xs: 13, md: 14 }, color: "grey.600" }, children: [
|
|
2884
2875
|
post.excerpt,
|
|
2885
2876
|
"..."
|
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.51",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@arcblock/ws": "^1.18.107",
|
|
32
|
-
"@blocklet/editor": "1.6.
|
|
33
|
-
"@blocklet/labels": "1.6.
|
|
32
|
+
"@blocklet/editor": "1.6.51",
|
|
33
|
+
"@blocklet/labels": "1.6.51",
|
|
34
34
|
"@blocklet/uploader": "^0.0.55",
|
|
35
35
|
"@emotion/css": "^11.10.5",
|
|
36
36
|
"@emotion/react": "^11.10.5",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"resolutions": {
|
|
94
94
|
"react": "^18.2.0"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "fe0f8b560a37d2a874ca04d02f7ff02557758aa2"
|
|
97
97
|
}
|