@blocklet/discuss-kit-ux 2.1.48 → 2.1.49

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-DDQnH71T.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-CGJ8jDRs.mjs";
8
8
  const BlockletEditor = lazy(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -4471,7 +4471,7 @@ function NotificationMessage({ chat, message, prevMessage }) {
4471
4471
  const { points, post, comment, eventKey = "" } = message;
4472
4472
  const unit = points > 1 ? t("chat.points") : t("chat.point");
4473
4473
  const event = eventKey ? `for ${eventKey.toLowerCase().replaceAll("-", " ")}: ` : ": ";
4474
- const tip = t("chat.pointUp", { points: points + "", unit, event });
4474
+ const tip = t("chat.pointUp", { points: `${points}`, unit, event });
4475
4475
  return /* @__PURE__ */ jsxs(Box$1, { children: [
4476
4476
  /* @__PURE__ */ jsx(Box$1, { component: "span", sx: { color: "grey.600" }, children: tip }),
4477
4477
  comment && /* @__PURE__ */ jsx(Typography, { variant: "body1", children: comment.excerpt }),
@@ -4735,7 +4735,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, ...rest }) {
4735
4735
  }
4736
4736
  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" }) });
4737
4737
  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" }) });
4738
- const Editor = lazy(() => import("./editor-BhPOcPBU.mjs"));
4738
+ const Editor = lazy(() => import("./editor-qP7fvI12.mjs"));
4739
4739
  function LazyEditor(props) {
4740
4740
  const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
4741
4741
  /* @__PURE__ */ jsx(Skeleton, {}),
@@ -11862,7 +11862,7 @@ function PointUp({ points }) {
11862
11862
  fontWeight: "bold"
11863
11863
  },
11864
11864
  children: t("common.pointUp", {
11865
- points: points + ""
11865
+ points: `${points}`
11866
11866
  })
11867
11867
  }
11868
11868
  )
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, ar, N, am, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-DDQnH71T.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, ar, N, am, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-CGJ8jDRs.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -4395,7 +4395,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4395
4395
  const { points, post, comment, eventKey = "" } = message;
4396
4396
  const unit = points > 1 ? t("chat.points") : t("chat.point");
4397
4397
  const event = eventKey ? `for ${eventKey.toLowerCase().replaceAll("-", " ")}: ` : ": ";
4398
- const tip = t("chat.pointUp", { points: points + "", unit, event });
4398
+ const tip = t("chat.pointUp", { points: `${points}`, unit, event });
4399
4399
  return /* @__PURE__ */ jsxRuntime.jsxs(Box, { children: [
4400
4400
  /* @__PURE__ */ jsxRuntime.jsx(Box, { component: "span", sx: { color: "grey.600" }, children: tip }),
4401
4401
  comment && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body1", children: comment.excerpt }),
@@ -11786,7 +11786,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
11786
11786
  fontWeight: "bold"
11787
11787
  },
11788
11788
  children: t("common.pointUp", {
11789
- points: points + ""
11789
+ points: `${points}`
11790
11790
  })
11791
11791
  }
11792
11792
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "2.1.48",
3
+ "version": "2.1.49",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -21,7 +21,7 @@
21
21
  "@arcblock/bridge": "^2.10.70",
22
22
  "@arcblock/react-hooks": "^2.10.70",
23
23
  "@arcblock/ws": "^1.18.135",
24
- "@blocklet/uploader": "^0.1.51",
24
+ "@blocklet/uploader": "^0.1.53",
25
25
  "@emotion/css": "^11.13.0",
26
26
  "@emotion/react": "^11.13.3",
27
27
  "@emotion/styled": "^11.13.0",
@@ -44,8 +44,8 @@
44
44
  "ufo": "^1.5.4",
45
45
  "unstated-next": "^1.1.0",
46
46
  "url-join": "^4.0.1",
47
- "@blocklet/editor": "^2.1.48",
48
- "@blocklet/labels": "^2.1.48"
47
+ "@blocklet/editor": "^2.1.49",
48
+ "@blocklet/labels": "^2.1.49"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@arcblock/did-connect": "^2.10.36",