@underverse-ui/underverse 2.0.31 → 2.0.32

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.
@@ -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,9 +5,9 @@ import {
5
5
  extractImageSrcsFromHtml,
6
6
  normalizeImageUrl,
7
7
  prepareUEditorContentForSave
8
- } from "./chunk-57BKIC6J.js";
8
+ } from "./chunk-C4KZOMP3.js";
9
9
  import "./chunk-5W63IHIN.js";
10
- import "./chunk-37MHVJMV.js";
10
+ import "./chunk-4TXHZS3S.js";
11
11
  import "./chunk-ZP7F4ZD7.js";
12
12
  import "./chunk-NSBPE2FW.js";
13
13
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underverse-ui/underverse",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "description": "Private internal React/Next.js UI component library",
5
5
  "type": "module",
6
6
  "author": "Tran Van Bach",