@blocklet/discuss-kit-ux 2.0.69 → 2.0.70

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-BIRWpTAH.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-DR4mMFMg.mjs";
8
8
  const BlockletEditor = lazy(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -4802,7 +4802,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, ...rest }) {
4802
4802
  }
4803
4803
  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" }) });
4804
4804
  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" }) });
4805
- const Editor = lazy(() => import("./editor-CRBQlnLe.mjs"));
4805
+ const Editor = lazy(() => import("./editor-D5fQYtn3.mjs"));
4806
4806
  function LazyEditor(props) {
4807
4807
  const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
4808
4808
  /* @__PURE__ */ jsx(Skeleton, {}),
@@ -5939,11 +5939,11 @@ const useDefaultApiErrorHandler = (options) => {
5939
5939
  break;
5940
5940
  }
5941
5941
  default: {
5942
- showError(t("apiError.error"));
5942
+ console.error("Unhandled error", error);
5943
5943
  }
5944
5944
  }
5945
5945
  } else {
5946
- showError(t("apiError.error"));
5946
+ console.error("Unhandled error", error);
5947
5947
  }
5948
5948
  }
5949
5949
  };
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, ap, w, v, R, S, aa, ar, q, a3, a5, aj, am, al, an, as, O, at, l, h, p, r, k, t, j, ab, W, c, a1, E, a8, ac, e, u, ao, d, au, a4, ak, f } from "./index-BIRWpTAH.mjs";
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, ap, w, v, R, S, aa, ar, q, a3, a5, aj, am, al, an, as, O, at, l, h, p, r, k, t, j, ab, W, c, a1, E, a8, ac, e, u, ao, d, au, a4, ak, f } from "./index-DR4mMFMg.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -5865,11 +5865,11 @@ var __publicField = (obj, key, value) => {
5865
5865
  break;
5866
5866
  }
5867
5867
  default: {
5868
- showError(t("apiError.error"));
5868
+ console.error("Unhandled error", error);
5869
5869
  }
5870
5870
  }
5871
5871
  } else {
5872
- showError(t("apiError.error"));
5872
+ console.error("Unhandled error", error);
5873
5873
  }
5874
5874
  }
5875
5875
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "2.0.69",
3
+ "version": "2.0.70",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -31,8 +31,8 @@
31
31
  "@arcblock/bridge": "^2.10.6",
32
32
  "@arcblock/react-hooks": "^2.10.6",
33
33
  "@arcblock/ws": "^1.18.126",
34
- "@blocklet/editor": "2.0.69",
35
- "@blocklet/labels": "2.0.69",
34
+ "@blocklet/editor": "2.0.70",
35
+ "@blocklet/labels": "2.0.70",
36
36
  "@blocklet/uploader": "^0.1.19",
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": "faa50ff5762bbc8491c56c7abfa167abcbf59315"
103
+ "gitHead": "33b4b65368af257ac54c965ae8658093bb801531"
104
104
  }