@underverse-ui/underverse 1.0.210 → 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 +156 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +136 -96
- 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
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MNZVW2QX.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_TABLE_ROW_HEIGHT,
|
|
7
7
|
DEFAULT_UEDITOR_IMAGE_MAX_FILE_SIZE,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
sanitizeUEditorUrl,
|
|
22
22
|
useDropdownMenuClose,
|
|
23
23
|
useSharedEditorUiRenderState
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LTIU5FQY.js";
|
|
25
25
|
import {
|
|
26
26
|
cn,
|
|
27
27
|
useSmartTranslations
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PLHJWXCW.js";
|
|
29
29
|
import "./chunk-NSBPE2FW.js";
|
|
30
30
|
|
|
31
31
|
// src/components/UEditor/menu-bar.tsx
|
|
@@ -944,4 +944,4 @@ var MenuBar = ({
|
|
|
944
944
|
export {
|
|
945
945
|
MenuBar
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=menu-bar-
|
|
947
|
+
//# sourceMappingURL=menu-bar-SPAAI5X6.js.map
|
package/dist/ueditor.cjs
CHANGED
|
@@ -3033,7 +3033,7 @@ var init_Tooltip = __esm({
|
|
|
3033
3033
|
onBlur: chainEventHandlers(
|
|
3034
3034
|
triggerPassthroughProps.onBlur,
|
|
3035
3035
|
childProps.onBlur,
|
|
3036
|
-
(
|
|
3036
|
+
() => {
|
|
3037
3037
|
handleBlur();
|
|
3038
3038
|
}
|
|
3039
3039
|
)
|
|
@@ -7829,7 +7829,7 @@ var init_editor_styles = __esm({
|
|
|
7829
7829
|
"[&_td]:px-2",
|
|
7830
7830
|
"[&_td]:py-0",
|
|
7831
7831
|
"[&_td]:whitespace-normal",
|
|
7832
|
-
"[&_td]:
|
|
7832
|
+
"[&_td]:wrap-anywhere",
|
|
7833
7833
|
"[&_td]:[word-break:normal]",
|
|
7834
7834
|
"[&_td[data-text-wrap='nowrap']]:whitespace-nowrap",
|
|
7835
7835
|
"[&_td[data-text-wrap='nowrap']]:[overflow-wrap:normal]",
|
|
@@ -7841,7 +7841,7 @@ var init_editor_styles = __esm({
|
|
|
7841
7841
|
"[&_th]:px-2",
|
|
7842
7842
|
"[&_th]:py-0",
|
|
7843
7843
|
"[&_th]:whitespace-normal",
|
|
7844
|
-
"[&_th]:
|
|
7844
|
+
"[&_th]:wrap-anywhere",
|
|
7845
7845
|
"[&_th]:[word-break:normal]",
|
|
7846
7846
|
"[&_th[data-text-wrap='nowrap']]:whitespace-nowrap",
|
|
7847
7847
|
"[&_th[data-text-wrap='nowrap']]:[overflow-wrap:normal]",
|
|
@@ -21166,7 +21166,7 @@ function TableResizeHandles({
|
|
|
21166
21166
|
"data-resizing": active ? "true" : "false",
|
|
21167
21167
|
className: cn(
|
|
21168
21168
|
"pointer-events-none absolute z-[38] box-border border border-primary/55",
|
|
21169
|
-
active && "border-primary bg-primary/
|
|
21169
|
+
active && "border-primary bg-primary/3"
|
|
21170
21170
|
),
|
|
21171
21171
|
style: {
|
|
21172
21172
|
left: layout.tableLeft,
|
|
@@ -23229,11 +23229,17 @@ function useUEditorOutput({
|
|
|
23229
23229
|
onJsonChange,
|
|
23230
23230
|
outputDebounceMs
|
|
23231
23231
|
}) {
|
|
23232
|
-
const callbacksRef = React28.useRef({
|
|
23232
|
+
const callbacksRef = React28.useRef({
|
|
23233
|
+
onChange,
|
|
23234
|
+
onHtmlChange,
|
|
23235
|
+
onJsonChange
|
|
23236
|
+
});
|
|
23233
23237
|
const pendingEditorRef = React28.useRef(null);
|
|
23234
23238
|
const timeoutRef = React28.useRef(null);
|
|
23235
23239
|
const debounceMs = normalizeDebounceMs(outputDebounceMs);
|
|
23236
|
-
|
|
23240
|
+
React28.useLayoutEffect(() => {
|
|
23241
|
+
callbacksRef.current = { onChange, onHtmlChange, onJsonChange };
|
|
23242
|
+
}, [onChange, onHtmlChange, onJsonChange]);
|
|
23237
23243
|
const flushOutputUpdates = React28.useCallback(() => {
|
|
23238
23244
|
if (timeoutRef.current !== null) {
|
|
23239
23245
|
clearTimeout(timeoutRef.current);
|