@blocklet/discuss-kit-ux 2.3.28 → 2.3.29

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-OmY69aLb.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-B3SYykDM.mjs";
8
8
  const BlockletEditor = lazyRetry(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -4951,7 +4951,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, icon, ...rest }) {
4951
4951
  }
4952
4952
  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" }) });
4953
4953
  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" }) });
4954
- const Editor = lazyRetry(() => import("./editor-LcIsRLJi.mjs"));
4954
+ const Editor = lazyRetry(() => import("./editor-0vgdtLUw.mjs"));
4955
4955
  function LazyEditor(props) {
4956
4956
  const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
4957
4957
  /* @__PURE__ */ jsx(Skeleton, {}),
@@ -6235,13 +6235,7 @@ function Pagination({
6235
6235
  const downMd = useMediaQuery$1(theme.breakpoints.down("md"));
6236
6236
  const [searchParams, setSearchParams] = useSearchParams();
6237
6237
  const pageCount = Math.ceil(total / size);
6238
- const mergedSx = [
6239
- {
6240
- ".MuiPaginationItem-root": { border: 0 },
6241
- ".MuiPaginationItem-root.Mui-selected": { bgcolor: "transparent", border: 1, borderColor: "divider" }
6242
- },
6243
- ...Array.isArray(sx) ? sx : [sx]
6244
- ];
6238
+ const mergedSx = [{}, ...Array.isArray(sx) ? sx : [sx]];
6245
6239
  const handleOnChange = (e, page2) => {
6246
6240
  if (routerMode) {
6247
6241
  searchParams.set("page", `${page2}`);
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "@blocklet/labels";
2
- import { X, o, Z, A, n, ag, B, J, O, N, Q, as, $, _, a2, a0, a1, a4, x, G, H, C, y, z, F, a8, a9, ak, ab, U, W, af, D, aj, ai, L, K, b, m, ah, M, P, aD, ar, w, v, aF, aG, R, S, ac, at, aE, q, a5, a7, al, ao, an, aB, au, T, ap, av, ay, az, l, aA, h, p, r, k, ax, t, j, ad, aC, Y, c, a3, E, aa, ae, e, u, aq, d, aw, a6, am, f } from "./index-OmY69aLb.mjs";
2
+ import { X, o, Z, A, n, ag, B, J, O, N, Q, as, $, _, a2, a0, a1, a4, x, G, H, C, y, z, F, a8, a9, ak, ab, U, W, af, D, aj, ai, L, K, b, m, ah, M, P, aD, ar, w, v, aF, aG, R, S, ac, at, aE, q, a5, a7, al, ao, an, aB, au, T, ap, av, ay, az, l, aA, h, p, r, k, ax, t, j, ad, aC, Y, c, a3, E, aa, ae, e, u, aq, d, aw, a6, am, f } from "./index-B3SYykDM.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -6157,13 +6157,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6157
6157
  const downMd = useMediaQuery(theme.breakpoints.down("md"));
6158
6158
  const [searchParams, setSearchParams] = reactRouterDom.useSearchParams();
6159
6159
  const pageCount = Math.ceil(total / size);
6160
- const mergedSx = [
6161
- {
6162
- ".MuiPaginationItem-root": { border: 0 },
6163
- ".MuiPaginationItem-root.Mui-selected": { bgcolor: "transparent", border: 1, borderColor: "divider" }
6164
- },
6165
- ...Array.isArray(sx) ? sx : [sx]
6166
- ];
6160
+ const mergedSx = [{}, ...Array.isArray(sx) ? sx : [sx]];
6167
6161
  const handleOnChange = (e, page2) => {
6168
6162
  if (routerMode) {
6169
6163
  searchParams.set("page", `${page2}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "2.3.28",
3
+ "version": "2.3.29",
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/editor": "^2.3.28",
49
- "@blocklet/labels": "^2.3.28"
48
+ "@blocklet/labels": "^2.3.29",
49
+ "@blocklet/editor": "^2.3.29"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@arcblock/did-connect": "^2.10.36",