@underverse-ui/underverse 2.0.13 → 2.0.14
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.
- package/api-reference.json +1 -1
- package/dist/{EmojiPicker-FFNIUMI3.js → EmojiPicker-CGMUDB4I.js} +4 -4
- package/dist/{chunk-MMMCBJ2L.js → chunk-3Q5EE2ZA.js} +26 -4
- package/dist/chunk-3Q5EE2ZA.js.map +1 -0
- package/dist/{chunk-R7ZKNCWR.js → chunk-DCFQGH3K.js} +3 -3
- package/dist/{chunk-VNSCI3OK.js → chunk-DXLSCUYA.js} +2 -2
- package/dist/{chunk-HEYNAGQD.js → chunk-N2S6RI4Y.js} +3 -3
- package/dist/{chunk-WDY3QWOW.js → chunk-PDYEK7HL.js} +13 -7
- package/dist/chunk-PDYEK7HL.js.map +1 -0
- package/dist/{chunk-PYC5EY5W.js → chunk-PV2G2XME.js} +13 -5
- package/dist/chunk-PV2G2XME.js.map +1 -0
- package/dist/index.cjs +41 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +6 -6
- package/dist/{menu-bar-SVX36W4S.js → menu-bar-55SAOAX6.js} +4 -4
- package/dist/ueditor.cjs +41 -7
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-MMMCBJ2L.js.map +0 -1
- package/dist/chunk-PYC5EY5W.js.map +0 -1
- package/dist/chunk-WDY3QWOW.js.map +0 -1
- /package/dist/{EmojiPicker-FFNIUMI3.js.map → EmojiPicker-CGMUDB4I.js.map} +0 -0
- /package/dist/{chunk-R7ZKNCWR.js.map → chunk-DCFQGH3K.js.map} +0 -0
- /package/dist/{chunk-VNSCI3OK.js.map → chunk-DXLSCUYA.js.map} +0 -0
- /package/dist/{chunk-HEYNAGQD.js.map → chunk-N2S6RI4Y.js.map} +0 -0
- /package/dist/{menu-bar-SVX36W4S.js.map → menu-bar-55SAOAX6.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPanelBorderRadiusClass,
|
|
3
3
|
useUnderverseUIConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3Q5EE2ZA.js";
|
|
5
5
|
import {
|
|
6
6
|
cn,
|
|
7
7
|
useGlobalI18n
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PV2G2XME.js";
|
|
9
9
|
|
|
10
10
|
// src/components/Modal.tsx
|
|
11
11
|
import * as React from "react";
|
|
@@ -196,4 +196,4 @@ var Modal_default = Modal;
|
|
|
196
196
|
export {
|
|
197
197
|
Modal_default
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-DCFQGH3K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PV2G2XME.js";
|
|
4
4
|
|
|
5
5
|
// src/components/emoji-ui.tsx
|
|
6
6
|
import React from "react";
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
getEmojiImageUrl,
|
|
72
72
|
EmojiGridButton
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-DXLSCUYA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EmojiGridButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DXLSCUYA.js";
|
|
4
4
|
import {
|
|
5
5
|
EMOJI_LIST
|
|
6
6
|
} from "./chunk-4TYW5K4J.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
cn,
|
|
10
10
|
formControlOutlineClass,
|
|
11
11
|
useSmartTranslations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PV2G2XME.js";
|
|
13
13
|
|
|
14
14
|
// src/components/EmojiPicker.tsx
|
|
15
15
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
EmojiPicker,
|
|
206
206
|
EmojiPicker_default
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-N2S6RI4Y.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EmojiGridButton,
|
|
3
3
|
formatEmojiCountLabel
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DXLSCUYA.js";
|
|
5
5
|
import {
|
|
6
6
|
COLUMN_RESIZE_LINE_THICKNESS,
|
|
7
7
|
CellBgColorIcon,
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
sanitizeUEditorUrl,
|
|
56
56
|
useEditorColors,
|
|
57
57
|
useSharedEditorUiRenderState
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-3Q5EE2ZA.js";
|
|
59
59
|
import {
|
|
60
60
|
Tooltip,
|
|
61
61
|
cn,
|
|
62
62
|
formControlGroupOutlineClass,
|
|
63
63
|
formControlOutlineClass,
|
|
64
64
|
useSmartTranslations
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PV2G2XME.js";
|
|
66
66
|
|
|
67
67
|
// src/components/UEditor/prepare-content-for-save.ts
|
|
68
68
|
var MIME_EXTENSION_MAP = {
|
|
@@ -512,7 +512,7 @@ import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
|
|
|
512
512
|
import React from "react";
|
|
513
513
|
import { jsx } from "react/jsx-runtime";
|
|
514
514
|
var LazyBaseEmojiPicker = React.lazy(async () => {
|
|
515
|
-
const { EmojiPicker: EmojiPicker2 } = await import("./EmojiPicker-
|
|
515
|
+
const { EmojiPicker: EmojiPicker2 } = await import("./EmojiPicker-CGMUDB4I.js");
|
|
516
516
|
return { default: EmojiPicker2 };
|
|
517
517
|
});
|
|
518
518
|
var EmojiPicker = ({ onSelect }) => {
|
|
@@ -14445,7 +14445,7 @@ function useUEditorOutput({
|
|
|
14445
14445
|
// src/components/UEditor/UEditor.tsx
|
|
14446
14446
|
import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
14447
14447
|
var LazyMenuBar = React15.lazy(async () => {
|
|
14448
|
-
const { MenuBar } = await import("./menu-bar-
|
|
14448
|
+
const { MenuBar } = await import("./menu-bar-55SAOAX6.js");
|
|
14449
14449
|
return { default: MenuBar };
|
|
14450
14450
|
});
|
|
14451
14451
|
var UEditor = React15.forwardRef(({
|
|
@@ -14501,6 +14501,10 @@ var UEditor = React15.forwardRef(({
|
|
|
14501
14501
|
const formulaRangePickRef = useRef10(null);
|
|
14502
14502
|
const formulaRangeSurfaceRef = useRef10(null);
|
|
14503
14503
|
const [formulaRangeHighlight, setFormulaRangeHighlight] = React15.useState(null);
|
|
14504
|
+
const [isMenuBarVisible, setIsMenuBarVisible] = React15.useState(showMenuBar);
|
|
14505
|
+
useEffect10(() => {
|
|
14506
|
+
setIsMenuBarVisible(showMenuBar);
|
|
14507
|
+
}, [showMenuBar]);
|
|
14504
14508
|
const { flushOutputUpdates, scheduleOutputUpdate } = useUEditorOutput({
|
|
14505
14509
|
onChange,
|
|
14506
14510
|
onHtmlChange,
|
|
@@ -14759,7 +14763,7 @@ var UEditor = React15.forwardRef(({
|
|
|
14759
14763
|
),
|
|
14760
14764
|
children: [
|
|
14761
14765
|
editable && (showMenuBar || showToolbar || showBubbleMenu) ? /* @__PURE__ */ jsxs17(EditorUiRenderStateProvider, { editor, children: [
|
|
14762
|
-
|
|
14766
|
+
isMenuBarVisible && /* @__PURE__ */ jsx20(React15.Suspense, { fallback: null, children: /* @__PURE__ */ jsx20(
|
|
14763
14767
|
LazyMenuBar,
|
|
14764
14768
|
{
|
|
14765
14769
|
editor,
|
|
@@ -14780,6 +14784,8 @@ var UEditor = React15.forwardRef(({
|
|
|
14780
14784
|
{
|
|
14781
14785
|
editor,
|
|
14782
14786
|
variant,
|
|
14787
|
+
isMenuBarVisible,
|
|
14788
|
+
onToggleMenuBar: () => setIsMenuBarVisible((visible) => !visible),
|
|
14783
14789
|
uploadImage,
|
|
14784
14790
|
imageInsertMode,
|
|
14785
14791
|
maxImageFileSize,
|
|
@@ -14900,4 +14906,4 @@ export {
|
|
|
14900
14906
|
prepareUEditorContentForSave,
|
|
14901
14907
|
UEditor_default
|
|
14902
14908
|
};
|
|
14903
|
-
//# sourceMappingURL=chunk-
|
|
14909
|
+
//# sourceMappingURL=chunk-PDYEK7HL.js.map
|