@underverse-ui/underverse 1.0.133 → 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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- 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;
|
|
@@ -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`,
|