@underverse-ui/underverse 1.0.131 → 1.0.133

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/dist/index.js CHANGED
@@ -6043,12 +6043,12 @@ var Popover = ({
6043
6043
  top: 0,
6044
6044
  left: 0,
6045
6045
  transform: "translate3d(0, 0, 0)",
6046
- zIndex: 9999,
6046
+ zIndex: 99999,
6047
6047
  visibility: "hidden",
6048
6048
  pointerEvents: "none",
6049
6049
  willChange: "transform"
6050
6050
  },
6051
- className: "z-9999",
6051
+ className: "z-[99999]",
6052
6052
  children: /* @__PURE__ */ jsx23(
6053
6053
  "div",
6054
6054
  {
@@ -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-9998", onClick: () => setIsOpen(false) }), document.body),
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-9999 bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
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-9998", onClick: () => setIsOpen(false) }), document.body),
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-9999 bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
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",
@@ -24501,7 +24501,8 @@ var SlashCommand = Extension.create({
24501
24501
  showOnCreate: true,
24502
24502
  interactive: true,
24503
24503
  trigger: "manual",
24504
- placement: "bottom-start"
24504
+ placement: "bottom-start",
24505
+ zIndex: 99999
24505
24506
  });
24506
24507
  },
24507
24508
  onUpdate(props) {
@@ -24796,7 +24797,8 @@ var EmojiSuggestion = Extension3.create({
24796
24797
  showOnCreate: true,
24797
24798
  interactive: true,
24798
24799
  trigger: "manual",
24799
- placement: "bottom-start"
24800
+ placement: "bottom-start",
24801
+ zIndex: 99999
24800
24802
  });
24801
24803
  },
24802
24804
  onUpdate(props) {
@@ -27278,7 +27280,15 @@ var BubbleMenuContent = ({
27278
27280
  /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => applyImageWidthPreset(editor, "lg"), active: imageWidthPreset === "lg", title: t("toolbar.imageWidthLg"), children: /* @__PURE__ */ jsx82("span", { className: "text-[10px] font-semibold", children: "L" }) }),
27279
27281
  /* @__PURE__ */ jsx82("div", { className: "w-px h-6 bg-border/50 mx-1" }),
27280
27282
  /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => resetImageSize(editor), title: t("toolbar.imageResetSize"), children: /* @__PURE__ */ jsx82(RotateCcw3, { className: "w-4 h-4" }) }),
27281
- /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => deleteSelectedImage(editor), title: t("toolbar.imageDelete"), className: "text-destructive hover:text-destructive", children: /* @__PURE__ */ jsx82(Trash23, { className: "w-4 h-4" }) })
27283
+ /* @__PURE__ */ jsx82(
27284
+ ToolbarButton,
27285
+ {
27286
+ onClick: () => deleteSelectedImage(editor),
27287
+ title: t("toolbar.imageDelete"),
27288
+ className: "text-destructive hover:text-destructive",
27289
+ children: /* @__PURE__ */ jsx82(Trash23, { className: "w-4 h-4" })
27290
+ }
27291
+ )
27282
27292
  ] });
27283
27293
  }
27284
27294
  if (showTypographyPanel) {
@@ -27468,7 +27478,15 @@ var BubbleMenuContent = ({
27468
27478
  ),
27469
27479
  /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => setActiveColorPalette("text"), title: t("colors.textColor"), children: /* @__PURE__ */ jsx82(TextColorIcon, { color: currentTextColor }) }),
27470
27480
  /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => setActiveColorPalette("highlight"), active: editor.isActive("highlight"), title: t("colors.highlight"), children: /* @__PURE__ */ jsx82(HighlightColorIcon, { color: currentHighlightColor }) }),
27471
- isInTable2 && /* @__PURE__ */ jsx82(ToolbarButton, { onClick: () => setActiveColorPalette("cell-bg"), active: Boolean(currentCellBgColor), title: t("tableMenu.cellBackground") || "Cell background", children: /* @__PURE__ */ jsx82(CellBgColorIcon, { color: currentCellBgColor }) }),
27481
+ isInTable2 && /* @__PURE__ */ jsx82(
27482
+ ToolbarButton,
27483
+ {
27484
+ onClick: () => setActiveColorPalette("cell-bg"),
27485
+ active: Boolean(currentCellBgColor),
27486
+ title: t("tableMenu.cellBackground") || "Cell background",
27487
+ children: /* @__PURE__ */ jsx82(CellBgColorIcon, { color: currentCellBgColor })
27488
+ }
27489
+ ),
27472
27490
  /* @__PURE__ */ jsx82(
27473
27491
  ToolbarButton,
27474
27492
  {
@@ -27549,22 +27567,14 @@ var CustomBubbleMenu = ({
27549
27567
  "div",
27550
27568
  {
27551
27569
  ref: menuRef,
27552
- className: "fixed z-50 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",
27570
+ 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",
27553
27571
  style: {
27554
27572
  top: `${position.top}px`,
27555
27573
  left: `${position.left}px`,
27556
27574
  transform: "translate(-50%, -100%)"
27557
27575
  },
27558
27576
  onMouseDown: (e) => e.preventDefault(),
27559
- children: /* @__PURE__ */ jsx82(
27560
- BubbleMenuContent,
27561
- {
27562
- editor,
27563
- onKeepOpenChange: setKeepOpen,
27564
- fontSizes,
27565
- lineHeights
27566
- }
27567
- )
27577
+ children: /* @__PURE__ */ jsx82(BubbleMenuContent, { editor, onKeepOpenChange: setKeepOpen, fontSizes, lineHeights })
27568
27578
  }
27569
27579
  ),
27570
27580
  document.body
@@ -27604,7 +27614,7 @@ var CustomFloatingMenu = ({ editor }) => {
27604
27614
  /* @__PURE__ */ jsx82(
27605
27615
  "div",
27606
27616
  {
27607
- className: "fixed z-50 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",
27617
+ 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",
27608
27618
  style: {
27609
27619
  top: `${position.top}px`,
27610
27620
  left: `${position.left}px`,