@blocklet/discuss-kit-ux 1.6.258 → 1.6.259

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-B65hdBdO.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-CqCFTP8C.mjs";
8
8
  const BlockletEditor = lazy(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -666,6 +666,10 @@ const StyledInput = styled(Input)`
666
666
  .be-shell {
667
667
  padding-bottom: 44px;
668
668
  }
669
+ // 评论输入框空间较小, 底部多预留一些空间, 当选中图片时, 避免图片下方的工具栏被遮挡
670
+ .be-editable {
671
+ padding-bottom: 64px !important;
672
+ }
669
673
  > .MuiAlert-root {
670
674
  position: absolute;
671
675
  left: 0;
@@ -5603,7 +5607,7 @@ function Pagination({
5603
5607
  }
5604
5608
  );
5605
5609
  }
5606
- const Editor = lazy(() => import("./editor-BgoCcMOC.mjs"));
5610
+ const Editor = lazy(() => import("./editor-BSx9ID0t.mjs"));
5607
5611
  function LazyEditor(props) {
5608
5612
  const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
5609
5613
  /* @__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-B65hdBdO.mjs";
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-CqCFTP8C.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -595,6 +595,10 @@ var __publicField = (obj, key, value) => {
595
595
  .be-shell {
596
596
  padding-bottom: 44px;
597
597
  }
598
+ // 评论输入框空间较小, 底部多预留一些空间, 当选中图片时, 避免图片下方的工具栏被遮挡
599
+ .be-editable {
600
+ padding-bottom: 64px !important;
601
+ }
598
602
  > .MuiAlert-root {
599
603
  position: absolute;
600
604
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "1.6.258",
3
+ "version": "1.6.259",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -31,8 +31,8 @@
31
31
  "@arcblock/bridge": "^2.9.77",
32
32
  "@arcblock/react-hooks": "^2.9.80",
33
33
  "@arcblock/ws": "^1.18.116",
34
- "@blocklet/editor": "1.6.258",
35
- "@blocklet/labels": "1.6.258",
34
+ "@blocklet/editor": "1.6.259",
35
+ "@blocklet/labels": "1.6.259",
36
36
  "@blocklet/uploader": "^0.1.2",
37
37
  "@emotion/css": "^11.10.5",
38
38
  "@emotion/react": "^11.10.5",
@@ -99,5 +99,5 @@
99
99
  "resolutions": {
100
100
  "react": "^18.2.0"
101
101
  },
102
- "gitHead": "6b5469534e4b90a352a6e9af359e5bf57daac880"
102
+ "gitHead": "78358e835f3095766fe93804a6ae1b30833b2a9f"
103
103
  }