@blocklet/discuss-kit-ux 1.6.236 → 1.6.237

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-jd2U4xWv.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-CrcR6k_q.mjs";
8
8
  const BlockletEditor = lazy(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -213,7 +213,8 @@ const themeOverrides = {
213
213
  };
214
214
  function InternalThemeProvider({ children }) {
215
215
  const theme = useTheme();
216
- const merged = create$1(theme, {
216
+ const merged = create$1({
217
+ ...theme,
217
218
  typography,
218
219
  ...themeOverrides
219
220
  });
@@ -5549,7 +5550,7 @@ function Pagination({
5549
5550
  }
5550
5551
  );
5551
5552
  }
5552
- const Editor = lazy(() => import("./editor-uebxw0_k.mjs"));
5553
+ const Editor = lazy(() => import("./editor-BBrjb_5e.mjs"));
5553
5554
  function LazyEditor(props) {
5554
5555
  const fallback = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
5555
5556
  /* @__PURE__ */ jsx(Skeleton, {}),
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "@blocklet/labels";
2
- import { Q, m, U, A, k, ad, B, E, J, H, K, ap, X, W, _, Y, Z, a0, v, C, w, x, z, a4, a5, ah, a7, N, O, ab, D, ag, af, F, G, b, j, ae, M, P, ao, q, o, ac, R, S, a8, aq, n, a1, a3, ai, al, ak, am, ar, L, as, l, p, r, h, t, f, a9, T, c, $, y, a6, aa, u, an, d, at, a2, aj, e } from "./index-jd2U4xWv.mjs";
2
+ import { Q, m, U, A, k, ad, B, E, J, H, K, ap, X, W, _, Y, Z, a0, v, C, w, x, z, a4, a5, ah, a7, N, O, ab, D, ag, af, F, G, b, j, ae, M, P, ao, q, o, ac, R, S, a8, aq, n, a1, a3, ai, al, ak, am, ar, L, as, l, p, r, h, t, f, a9, T, c, $, y, a6, aa, u, an, d, at, a2, aj, e } from "./index-CrcR6k_q.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -145,7 +145,8 @@ var __publicField = (obj, key, value) => {
145
145
  };
146
146
  function InternalThemeProvider({ children }) {
147
147
  const theme = styles.useTheme();
148
- const merged = Theme.create(theme, {
148
+ const merged = Theme.create({
149
+ ...theme,
149
150
  typography,
150
151
  ...themeOverrides
151
152
  });
@@ -33,7 +33,7 @@ declare const preferences: {
33
33
  blogTemplate: "standard" | "corp";
34
34
  primaryColor: string;
35
35
  secondaryColor: string;
36
- subscriptionPublicType: "slice" | "blur";
36
+ subscriptionPublicType: "blur" | "slice";
37
37
  enableAssignmentDiscussion: boolean;
38
38
  enableAssignmentBlog: boolean;
39
39
  enableAssignmentDoc: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "1.6.236",
3
+ "version": "1.6.237",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@arcblock/bridge": "^2.9.77",
32
32
  "@arcblock/ws": "^1.18.116",
33
- "@blocklet/editor": "1.6.236",
34
- "@blocklet/labels": "1.6.236",
33
+ "@blocklet/editor": "1.6.237",
34
+ "@blocklet/labels": "1.6.237",
35
35
  "@blocklet/uploader": "^0.1.2",
36
36
  "@emotion/css": "^11.10.5",
37
37
  "@emotion/react": "^11.10.5",
@@ -95,5 +95,5 @@
95
95
  "resolutions": {
96
96
  "react": "^18.2.0"
97
97
  },
98
- "gitHead": "f3efd9c52ddb748b932ce475cc17e444c03a8a57"
98
+ "gitHead": "252ca705b171a1406071a46b016a0583799b63ee"
99
99
  }