@underverse-ui/underverse 1.0.132 → 1.0.134
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/api-reference.json +1 -1
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5508,7 +5508,7 @@ var Modal = ({
|
|
|
5508
5508
|
if (!element) return false;
|
|
5509
5509
|
let current = element;
|
|
5510
5510
|
while (current) {
|
|
5511
|
-
if (current.hasAttribute?.("data-datepicker") || current.hasAttribute?.("data-popover") || current.hasAttribute?.("data-dropdown") || current.hasAttribute?.("data-dropdown-menu") || current.hasAttribute?.("data-radix-popper-content-wrapper") || current.hasAttribute?.("data-radix-portal") || current.getAttribute?.("role") === "listbox" || current.getAttribute?.("role") === "dialog" || current.classList?.contains("datepicker-portal") || current.classList?.contains("popover-portal")) {
|
|
5511
|
+
if (current.hasAttribute?.("data-datepicker") || current.hasAttribute?.("data-popover") || current.hasAttribute?.("data-dropdown") || current.hasAttribute?.("data-dropdown-menu") || current.hasAttribute?.("data-radix-popper-content-wrapper") || current.hasAttribute?.("data-radix-portal") || current.hasAttribute?.("data-tippy-root") || current.getAttribute?.("role") === "listbox" || current.getAttribute?.("role") === "dialog" || current.classList?.contains("datepicker-portal") || current.classList?.contains("popover-portal") || current.classList?.contains("tippy-box") || current.classList?.contains("tippy-content")) {
|
|
5512
5512
|
return true;
|
|
5513
5513
|
}
|
|
5514
5514
|
current = current.parentElement;
|
|
@@ -24123,12 +24123,12 @@ function ThemeToggleHeadless({
|
|
|
24123
24123
|
}
|
|
24124
24124
|
),
|
|
24125
24125
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
|
|
24126
|
-
typeof window !== "undefined" && (0, import_react_dom6.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "fixed inset-0 z-
|
|
24126
|
+
typeof window !== "undefined" && (0, import_react_dom6.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "fixed inset-0 z-[99998]", onClick: () => setIsOpen(false) }), document.body),
|
|
24127
24127
|
typeof window !== "undefined" && dropdownPosition && (0, import_react_dom6.createPortal)(
|
|
24128
24128
|
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
24129
24129
|
"div",
|
|
24130
24130
|
{
|
|
24131
|
-
className: "z-
|
|
24131
|
+
className: "z-[99999] bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
24132
24132
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
24133
24133
|
onMouseDown: (e) => e.stopPropagation(),
|
|
24134
24134
|
role: "menu",
|
|
@@ -24220,12 +24220,12 @@ function LanguageSwitcherHeadless({
|
|
|
24220
24220
|
}
|
|
24221
24221
|
),
|
|
24222
24222
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
|
|
24223
|
-
typeof window !== "undefined" && (0, import_react_dom7.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "fixed inset-0 z-
|
|
24223
|
+
typeof window !== "undefined" && (0, import_react_dom7.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "fixed inset-0 z-[99998]", onClick: () => setIsOpen(false) }), document.body),
|
|
24224
24224
|
typeof window !== "undefined" && dropdownPosition && (0, import_react_dom7.createPortal)(
|
|
24225
24225
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
24226
24226
|
"div",
|
|
24227
24227
|
{
|
|
24228
|
-
className: "z-
|
|
24228
|
+
className: "z-[99999] bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
24229
24229
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
24230
24230
|
onMouseDown: (e) => e.stopPropagation(),
|
|
24231
24231
|
role: "menu",
|
|
@@ -27671,6 +27671,7 @@ var CustomBubbleMenu = ({
|
|
|
27671
27671
|
"div",
|
|
27672
27672
|
{
|
|
27673
27673
|
ref: menuRef,
|
|
27674
|
+
"data-popover": true,
|
|
27674
27675
|
className: "fixed z-99999 flex rounded-xl border border-border/40 bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 zoom-in-95",
|
|
27675
27676
|
style: {
|
|
27676
27677
|
top: `${position.top}px`,
|
|
@@ -27718,6 +27719,7 @@ var CustomFloatingMenu = ({ editor }) => {
|
|
|
27718
27719
|
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
27719
27720
|
"div",
|
|
27720
27721
|
{
|
|
27722
|
+
"data-popover": true,
|
|
27721
27723
|
className: "fixed z-99999 rounded-2xl border border-border/50 bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 slide-in-from-bottom-2",
|
|
27722
27724
|
style: {
|
|
27723
27725
|
top: `${position.top}px`,
|