@underverse-ui/underverse 2.0.14 → 2.0.16

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.
@@ -52,6 +52,8 @@ type UEditorLetterSpacingOption = {
52
52
  };
53
53
  /** Public props for the `UEditor` component. */
54
54
  interface UEditorProps {
55
+ /** Returns the per-editor container used by menus and other portalled overlays. */
56
+ getPortalContainer?: () => HTMLElement | null;
55
57
  /** Initial or controlled HTML content for the editor. */
56
58
  content?: string;
57
59
  /** Called with the current HTML after editor updates. Kept for backward compatibility with `onHtmlChange`. */
package/dist/ueditor.d.ts CHANGED
@@ -52,6 +52,8 @@ type UEditorLetterSpacingOption = {
52
52
  };
53
53
  /** Public props for the `UEditor` component. */
54
54
  interface UEditorProps {
55
+ /** Returns the per-editor container used by menus and other portalled overlays. */
56
+ getPortalContainer?: () => HTMLElement | null;
55
57
  /** Initial or controlled HTML content for the editor. */
56
58
  content?: string;
57
59
  /** Called with the current HTML after editor updates. Kept for backward compatibility with `onHtmlChange`. */
package/dist/ueditor.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  extractImageSrcsFromHtml,
6
6
  normalizeImageUrl,
7
7
  prepareUEditorContentForSave
8
- } from "./chunk-PDYEK7HL.js";
9
- import "./chunk-DXLSCUYA.js";
10
- import "./chunk-3Q5EE2ZA.js";
11
- import "./chunk-PV2G2XME.js";
8
+ } from "./chunk-YM56RXIZ.js";
9
+ import "./chunk-SKCO2GFM.js";
10
+ import "./chunk-23VKHYEB.js";
11
+ import "./chunk-EPBYGZHZ.js";
12
12
  import "./chunk-NSBPE2FW.js";
13
13
  export {
14
14
  UEditorPrepareContentForSaveError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underverse-ui/underverse",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "private": false,
5
5
  "description": "Underverse UI – reusable React/Next.js UI components",
6
6
  "type": "module",