@underverse-ui/underverse 1.0.211 → 2.0.0
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/CHANGELOG.md +9 -0
- package/LICENSE +21 -0
- package/README.md +243 -706
- package/api-reference.json +1 -1
- package/dist/{EmojiPicker-FEJJDAWZ.js → EmojiPicker-34YATB7Z.js} +4 -4
- package/dist/{chunk-F6A7HJE4.js → chunk-A7XL4RDV.js} +3 -3
- package/dist/{chunk-CYCBSKWI.js → chunk-KGNYK5YF.js} +2 -2
- package/dist/{chunk-AMAILXHP.js → chunk-LTIU5FQY.js} +4 -4
- package/dist/chunk-LTIU5FQY.js.map +1 -0
- package/dist/{chunk-GKY5DHGR.js → chunk-MNZVW2QX.js} +3 -3
- package/dist/{chunk-BRDGIALS.js → chunk-PLHJWXCW.js} +24 -30
- package/dist/{chunk-BRDGIALS.js.map → chunk-PLHJWXCW.js.map} +1 -1
- package/dist/{chunk-4E43DRP2.js → chunk-QIMAN4VF.js} +15 -9
- package/dist/{chunk-4E43DRP2.js.map → chunk-QIMAN4VF.js.map} +1 -1
- package/dist/index.cjs +154 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +134 -94
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-6GS5LLTD.js → menu-bar-SPAAI5X6.js} +4 -4
- package/dist/ueditor.cjs +12 -6
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.js +4 -4
- package/package.json +3 -1
- package/dist/chunk-AMAILXHP.js.map +0 -1
- /package/dist/{EmojiPicker-FEJJDAWZ.js.map → EmojiPicker-34YATB7Z.js.map} +0 -0
- /package/dist/{chunk-F6A7HJE4.js.map → chunk-A7XL4RDV.js.map} +0 -0
- /package/dist/{chunk-CYCBSKWI.js.map → chunk-KGNYK5YF.js.map} +0 -0
- /package/dist/{chunk-GKY5DHGR.js.map → chunk-MNZVW2QX.js.map} +0 -0
- /package/dist/{menu-bar-6GS5LLTD.js.map → menu-bar-SPAAI5X6.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EmojiGridButton,
|
|
3
3
|
formatEmojiCountLabel
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KGNYK5YF.js";
|
|
5
5
|
import {
|
|
6
6
|
COLUMN_RESIZE_LINE_THICKNESS,
|
|
7
7
|
CellBgColorIcon,
|
|
@@ -53,12 +53,12 @@ import {
|
|
|
53
53
|
sanitizeUEditorUrl,
|
|
54
54
|
useEditorColors,
|
|
55
55
|
useSharedEditorUiRenderState
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-LTIU5FQY.js";
|
|
57
57
|
import {
|
|
58
58
|
Tooltip,
|
|
59
59
|
cn,
|
|
60
60
|
useSmartTranslations
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PLHJWXCW.js";
|
|
62
62
|
|
|
63
63
|
// src/components/UEditor/prepare-content-for-save.ts
|
|
64
64
|
var MIME_EXTENSION_MAP = {
|
|
@@ -508,7 +508,7 @@ import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
|
|
|
508
508
|
import React from "react";
|
|
509
509
|
import { jsx } from "react/jsx-runtime";
|
|
510
510
|
var LazyBaseEmojiPicker = React.lazy(async () => {
|
|
511
|
-
const { EmojiPicker: EmojiPicker2 } = await import("./EmojiPicker-
|
|
511
|
+
const { EmojiPicker: EmojiPicker2 } = await import("./EmojiPicker-34YATB7Z.js");
|
|
512
512
|
return { default: EmojiPicker2 };
|
|
513
513
|
});
|
|
514
514
|
var EmojiPicker = ({ onSelect }) => {
|
|
@@ -12131,7 +12131,7 @@ function TableResizeHandles({
|
|
|
12131
12131
|
"data-resizing": active ? "true" : "false",
|
|
12132
12132
|
className: cn(
|
|
12133
12133
|
"pointer-events-none absolute z-[38] box-border border border-primary/55",
|
|
12134
|
-
active && "border-primary bg-primary/
|
|
12134
|
+
active && "border-primary bg-primary/3"
|
|
12135
12135
|
),
|
|
12136
12136
|
style: {
|
|
12137
12137
|
left: layout.tableLeft,
|
|
@@ -14180,11 +14180,17 @@ function useUEditorOutput({
|
|
|
14180
14180
|
onJsonChange,
|
|
14181
14181
|
outputDebounceMs
|
|
14182
14182
|
}) {
|
|
14183
|
-
const callbacksRef = React14.useRef({
|
|
14183
|
+
const callbacksRef = React14.useRef({
|
|
14184
|
+
onChange,
|
|
14185
|
+
onHtmlChange,
|
|
14186
|
+
onJsonChange
|
|
14187
|
+
});
|
|
14184
14188
|
const pendingEditorRef = React14.useRef(null);
|
|
14185
14189
|
const timeoutRef = React14.useRef(null);
|
|
14186
14190
|
const debounceMs = normalizeDebounceMs(outputDebounceMs);
|
|
14187
|
-
|
|
14191
|
+
React14.useLayoutEffect(() => {
|
|
14192
|
+
callbacksRef.current = { onChange, onHtmlChange, onJsonChange };
|
|
14193
|
+
}, [onChange, onHtmlChange, onJsonChange]);
|
|
14188
14194
|
const flushOutputUpdates = React14.useCallback(() => {
|
|
14189
14195
|
if (timeoutRef.current !== null) {
|
|
14190
14196
|
clearTimeout(timeoutRef.current);
|
|
@@ -14239,7 +14245,7 @@ function useUEditorOutput({
|
|
|
14239
14245
|
// src/components/UEditor/UEditor.tsx
|
|
14240
14246
|
import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
14241
14247
|
var LazyMenuBar = React15.lazy(async () => {
|
|
14242
|
-
const { MenuBar } = await import("./menu-bar-
|
|
14248
|
+
const { MenuBar } = await import("./menu-bar-SPAAI5X6.js");
|
|
14243
14249
|
return { default: MenuBar };
|
|
14244
14250
|
});
|
|
14245
14251
|
var UEditor = React15.forwardRef(({
|
|
@@ -14689,4 +14695,4 @@ export {
|
|
|
14689
14695
|
prepareUEditorContentForSave,
|
|
14690
14696
|
UEditor_default
|
|
14691
14697
|
};
|
|
14692
|
-
//# sourceMappingURL=chunk-
|
|
14698
|
+
//# sourceMappingURL=chunk-QIMAN4VF.js.map
|