@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/dist/index.js
CHANGED
|
@@ -5322,7 +5322,7 @@ var Modal = ({
|
|
|
5322
5322
|
if (!element) return false;
|
|
5323
5323
|
let current = element;
|
|
5324
5324
|
while (current) {
|
|
5325
|
-
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")) {
|
|
5325
|
+
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")) {
|
|
5326
5326
|
return true;
|
|
5327
5327
|
}
|
|
5328
5328
|
current = current.parentElement;
|
|
@@ -23953,12 +23953,12 @@ function ThemeToggleHeadless({
|
|
|
23953
23953
|
}
|
|
23954
23954
|
),
|
|
23955
23955
|
isOpen && /* @__PURE__ */ jsxs60(Fragment25, { children: [
|
|
23956
|
-
typeof window !== "undefined" && createPortal6(/* @__PURE__ */ jsx72("div", { className: "fixed inset-0 z-
|
|
23956
|
+
typeof window !== "undefined" && createPortal6(/* @__PURE__ */ jsx72("div", { className: "fixed inset-0 z-[99998]", onClick: () => setIsOpen(false) }), document.body),
|
|
23957
23957
|
typeof window !== "undefined" && dropdownPosition && createPortal6(
|
|
23958
23958
|
/* @__PURE__ */ jsx72(
|
|
23959
23959
|
"div",
|
|
23960
23960
|
{
|
|
23961
|
-
className: "z-
|
|
23961
|
+
className: "z-[99999] bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
23962
23962
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
23963
23963
|
onMouseDown: (e) => e.stopPropagation(),
|
|
23964
23964
|
role: "menu",
|
|
@@ -24050,12 +24050,12 @@ function LanguageSwitcherHeadless({
|
|
|
24050
24050
|
}
|
|
24051
24051
|
),
|
|
24052
24052
|
isOpen && /* @__PURE__ */ jsxs61(Fragment26, { children: [
|
|
24053
|
-
typeof window !== "undefined" && createPortal7(/* @__PURE__ */ jsx73("div", { className: "fixed inset-0 z-
|
|
24053
|
+
typeof window !== "undefined" && createPortal7(/* @__PURE__ */ jsx73("div", { className: "fixed inset-0 z-[99998]", onClick: () => setIsOpen(false) }), document.body),
|
|
24054
24054
|
typeof window !== "undefined" && dropdownPosition && createPortal7(
|
|
24055
24055
|
/* @__PURE__ */ jsx73(
|
|
24056
24056
|
"div",
|
|
24057
24057
|
{
|
|
24058
|
-
className: "z-
|
|
24058
|
+
className: "z-[99999] bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
24059
24059
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
24060
24060
|
onMouseDown: (e) => e.stopPropagation(),
|
|
24061
24061
|
role: "menu",
|
|
@@ -27567,6 +27567,7 @@ var CustomBubbleMenu = ({
|
|
|
27567
27567
|
"div",
|
|
27568
27568
|
{
|
|
27569
27569
|
ref: menuRef,
|
|
27570
|
+
"data-popover": true,
|
|
27570
27571
|
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",
|
|
27571
27572
|
style: {
|
|
27572
27573
|
top: `${position.top}px`,
|
|
@@ -27614,6 +27615,7 @@ var CustomFloatingMenu = ({ editor }) => {
|
|
|
27614
27615
|
/* @__PURE__ */ jsx82(
|
|
27615
27616
|
"div",
|
|
27616
27617
|
{
|
|
27618
|
+
"data-popover": true,
|
|
27617
27619
|
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",
|
|
27618
27620
|
style: {
|
|
27619
27621
|
top: `${position.top}px`,
|