@underverse-ui/underverse 2.0.31 → 2.0.33
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 +10 -0
- package/api-reference.json +9 -2
- package/dist/{EmojiPicker-ISJ6RXYG.js → EmojiPicker-6H52Q4YE.js} +4 -4
- package/dist/{chunk-ZP7F4ZD7.js → chunk-6FAHXNDQ.js} +5 -1
- package/dist/chunk-6FAHXNDQ.js.map +1 -0
- package/dist/{chunk-57BKIC6J.js → chunk-FQVWYDKP.js} +40 -21
- package/dist/chunk-FQVWYDKP.js.map +1 -0
- package/dist/{chunk-S4UHFRL3.js → chunk-L73HBI6E.js} +3 -3
- package/dist/{chunk-37MHVJMV.js → chunk-OTPC2OTQ.js} +20 -10
- package/dist/chunk-OTPC2OTQ.js.map +1 -0
- package/dist/{chunk-2P7TSXEE.js → chunk-UHUKUI5S.js} +3 -3
- package/dist/{chunk-5W63IHIN.js → chunk-W3QTP2DM.js} +2 -2
- package/dist/index.cjs +53 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-DPCNNUX5.js → menu-bar-HZBBRX42.js} +4 -4
- package/dist/ueditor.cjs +53 -23
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +4 -1
- package/dist/ueditor.d.ts +4 -1
- package/dist/ueditor.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-37MHVJMV.js.map +0 -1
- package/dist/chunk-57BKIC6J.js.map +0 -1
- package/dist/chunk-ZP7F4ZD7.js.map +0 -1
- /package/dist/{EmojiPicker-ISJ6RXYG.js.map → EmojiPicker-6H52Q4YE.js.map} +0 -0
- /package/dist/{chunk-S4UHFRL3.js.map → chunk-L73HBI6E.js.map} +0 -0
- /package/dist/{chunk-2P7TSXEE.js.map → chunk-UHUKUI5S.js.map} +0 -0
- /package/dist/{chunk-5W63IHIN.js.map → chunk-W3QTP2DM.js.map} +0 -0
- /package/dist/{menu-bar-DPCNNUX5.js.map → menu-bar-HZBBRX42.js.map} +0 -0
package/dist/ueditor.d.cts
CHANGED
|
@@ -50,6 +50,7 @@ type UEditorLetterSpacingOption = {
|
|
|
50
50
|
label: string;
|
|
51
51
|
value: string;
|
|
52
52
|
};
|
|
53
|
+
type UEditorBubbleMenuPlacement = "auto" | "top" | "bottom";
|
|
53
54
|
/** Public props for the `UEditor` component. */
|
|
54
55
|
interface UEditorProps {
|
|
55
56
|
/** Returns the per-editor container used by menus and other portalled overlays. */
|
|
@@ -93,6 +94,8 @@ interface UEditorProps {
|
|
|
93
94
|
autofocus?: boolean;
|
|
94
95
|
showToolbar?: boolean;
|
|
95
96
|
showBubbleMenu?: boolean;
|
|
97
|
+
/** Preferred side for the selection bubble menu. Defaults to `"auto"`. */
|
|
98
|
+
bubbleMenuPlacement?: UEditorBubbleMenuPlacement;
|
|
96
99
|
showFloatingMenu?: boolean;
|
|
97
100
|
showCharacterCount?: boolean;
|
|
98
101
|
/** Whether to show the editor footer. Defaults to `true`. */
|
|
@@ -156,4 +159,4 @@ declare function prepareUEditorContentForSave({ html, uploadImageForSave, upload
|
|
|
156
159
|
uploadConcurrency?: number;
|
|
157
160
|
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
158
161
|
|
|
159
|
-
export { type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
|
162
|
+
export { type UEditorBubbleMenuPlacement, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
package/dist/ueditor.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ type UEditorLetterSpacingOption = {
|
|
|
50
50
|
label: string;
|
|
51
51
|
value: string;
|
|
52
52
|
};
|
|
53
|
+
type UEditorBubbleMenuPlacement = "auto" | "top" | "bottom";
|
|
53
54
|
/** Public props for the `UEditor` component. */
|
|
54
55
|
interface UEditorProps {
|
|
55
56
|
/** Returns the per-editor container used by menus and other portalled overlays. */
|
|
@@ -93,6 +94,8 @@ interface UEditorProps {
|
|
|
93
94
|
autofocus?: boolean;
|
|
94
95
|
showToolbar?: boolean;
|
|
95
96
|
showBubbleMenu?: boolean;
|
|
97
|
+
/** Preferred side for the selection bubble menu. Defaults to `"auto"`. */
|
|
98
|
+
bubbleMenuPlacement?: UEditorBubbleMenuPlacement;
|
|
96
99
|
showFloatingMenu?: boolean;
|
|
97
100
|
showCharacterCount?: boolean;
|
|
98
101
|
/** Whether to show the editor footer. Defaults to `true`. */
|
|
@@ -156,4 +159,4 @@ declare function prepareUEditorContentForSave({ html, uploadImageForSave, upload
|
|
|
156
159
|
uploadConcurrency?: number;
|
|
157
160
|
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
158
161
|
|
|
159
|
-
export { type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
|
162
|
+
export { type UEditorBubbleMenuPlacement, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
package/dist/ueditor.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
extractImageSrcsFromHtml,
|
|
6
6
|
normalizeImageUrl,
|
|
7
7
|
prepareUEditorContentForSave
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-FQVWYDKP.js";
|
|
9
|
+
import "./chunk-W3QTP2DM.js";
|
|
10
|
+
import "./chunk-OTPC2OTQ.js";
|
|
11
|
+
import "./chunk-6FAHXNDQ.js";
|
|
12
12
|
import "./chunk-NSBPE2FW.js";
|
|
13
13
|
export {
|
|
14
14
|
UEditorPrepareContentForSaveError,
|