@underverse-ui/underverse 2.0.24 → 2.0.25

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Modal_default
4
- } from "./chunk-ZQWVWDGS.js";
4
+ } from "./chunk-FFVBGTHU.js";
5
5
  import {
6
6
  DEFAULT_TABLE_ROW_HEIGHT,
7
7
  DEFAULT_UEDITOR_IMAGE_MAX_FILE_SIZE,
@@ -21,7 +21,7 @@ import {
21
21
  sanitizeUEditorUrl,
22
22
  useDropdownMenuClose,
23
23
  useSharedEditorUiRenderState
24
- } from "./chunk-O7AAN6W6.js";
24
+ } from "./chunk-OJF3XRN7.js";
25
25
  import {
26
26
  cn,
27
27
  useSmartTranslations
@@ -945,4 +945,4 @@ var MenuBar = ({
945
945
  export {
946
946
  MenuBar
947
947
  };
948
- //# sourceMappingURL=menu-bar-E7MNW6UC.js.map
948
+ //# sourceMappingURL=menu-bar-4FM4Y273.js.map
package/dist/ueditor.cjs CHANGED
@@ -5787,7 +5787,8 @@ var init_DropdownMenu = __esm({
5787
5787
  openOnHover = false,
5788
5788
  hoverCloseDelay = 120,
5789
5789
  items,
5790
- borderMode
5790
+ borderMode,
5791
+ getPortalContainer
5791
5792
  }) => {
5792
5793
  const [internalOpen, setInternalOpen] = (0, import_react29.useState)(false);
5793
5794
  const open = isOpen !== void 0 ? isOpen : internalOpen;
@@ -6020,6 +6021,7 @@ var init_DropdownMenu = __esm({
6020
6021
  placement,
6021
6022
  disabled,
6022
6023
  borderMode: resolvedBorderMode,
6024
+ getPortalContainer,
6023
6025
  contentClassName: cn("p-1", contentClassName),
6024
6026
  children: menuBody
6025
6027
  }
@@ -6080,7 +6082,7 @@ var init_DropdownMenu = __esm({
6080
6082
  );
6081
6083
  };
6082
6084
  DropdownMenuSeparator = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: cn("h-px bg-border my-1", className) });
6083
- DropdownMenuSub = ({ label, icon: Icon, disabled, borderMode, children }) => {
6085
+ DropdownMenuSub = ({ label, icon: Icon, disabled, borderMode, getPortalContainer, children }) => {
6084
6086
  const globalConfig = useUnderverseUIConfig();
6085
6087
  const resolvedBorderMode = borderMode ?? globalConfig.dropdownMenu?.borderMode ?? globalConfig.borderMode;
6086
6088
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
@@ -6108,6 +6110,7 @@ var init_DropdownMenu = __esm({
6108
6110
  ),
6109
6111
  placement: "right",
6110
6112
  openOnHover: true,
6113
+ getPortalContainer,
6111
6114
  children
6112
6115
  }
6113
6116
  );