@underverse-ui/underverse 1.0.131 → 1.0.132

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,6 +1,6 @@
1
1
  {
2
2
  "package": "@underverse-ui/underverse",
3
- "version": "1.0.131",
3
+ "version": "1.0.132",
4
4
  "sourceEntry": "src/index.ts",
5
5
  "totalExports": 232,
6
6
  "exports": [
package/dist/index.cjs CHANGED
@@ -6229,12 +6229,12 @@ var Popover = ({
6229
6229
  top: 0,
6230
6230
  left: 0,
6231
6231
  transform: "translate3d(0, 0, 0)",
6232
- zIndex: 9999,
6232
+ zIndex: 99999,
6233
6233
  visibility: "hidden",
6234
6234
  pointerEvents: "none",
6235
6235
  willChange: "transform"
6236
6236
  },
6237
- className: "z-9999",
6237
+ className: "z-[99999]",
6238
6238
  children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6239
6239
  "div",
6240
6240
  {
@@ -24659,7 +24659,8 @@ var SlashCommand = import_core.Extension.create({
24659
24659
  showOnCreate: true,
24660
24660
  interactive: true,
24661
24661
  trigger: "manual",
24662
- placement: "bottom-start"
24662
+ placement: "bottom-start",
24663
+ zIndex: 99999
24663
24664
  });
24664
24665
  },
24665
24666
  onUpdate(props) {
@@ -24954,7 +24955,8 @@ var EmojiSuggestion = import_core3.Extension.create({
24954
24955
  showOnCreate: true,
24955
24956
  interactive: true,
24956
24957
  trigger: "manual",
24957
- placement: "bottom-start"
24958
+ placement: "bottom-start",
24959
+ zIndex: 99999
24958
24960
  });
24959
24961
  },
24960
24962
  onUpdate(props) {
@@ -27382,7 +27384,15 @@ var BubbleMenuContent = ({
27382
27384
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => applyImageWidthPreset(editor, "lg"), active: imageWidthPreset === "lg", title: t("toolbar.imageWidthLg"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "text-[10px] font-semibold", children: "L" }) }),
27383
27385
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "w-px h-6 bg-border/50 mx-1" }),
27384
27386
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => resetImageSize(editor), title: t("toolbar.imageResetSize"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react45.RotateCcw, { className: "w-4 h-4" }) }),
27385
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => deleteSelectedImage(editor), title: t("toolbar.imageDelete"), className: "text-destructive hover:text-destructive", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react45.Trash2, { className: "w-4 h-4" }) })
27387
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
27388
+ ToolbarButton,
27389
+ {
27390
+ onClick: () => deleteSelectedImage(editor),
27391
+ title: t("toolbar.imageDelete"),
27392
+ className: "text-destructive hover:text-destructive",
27393
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react45.Trash2, { className: "w-4 h-4" })
27394
+ }
27395
+ )
27386
27396
  ] });
27387
27397
  }
27388
27398
  if (showTypographyPanel) {
@@ -27572,7 +27582,15 @@ var BubbleMenuContent = ({
27572
27582
  ),
27573
27583
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => setActiveColorPalette("text"), title: t("colors.textColor"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TextColorIcon, { color: currentTextColor }) }),
27574
27584
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => setActiveColorPalette("highlight"), active: editor.isActive("highlight"), title: t("colors.highlight"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(HighlightColorIcon, { color: currentHighlightColor }) }),
27575
- isInTable2 && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToolbarButton, { onClick: () => setActiveColorPalette("cell-bg"), active: Boolean(currentCellBgColor), title: t("tableMenu.cellBackground") || "Cell background", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(CellBgColorIcon, { color: currentCellBgColor }) }),
27585
+ isInTable2 && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
27586
+ ToolbarButton,
27587
+ {
27588
+ onClick: () => setActiveColorPalette("cell-bg"),
27589
+ active: Boolean(currentCellBgColor),
27590
+ title: t("tableMenu.cellBackground") || "Cell background",
27591
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(CellBgColorIcon, { color: currentCellBgColor })
27592
+ }
27593
+ ),
27576
27594
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
27577
27595
  ToolbarButton,
27578
27596
  {
@@ -27653,22 +27671,14 @@ var CustomBubbleMenu = ({
27653
27671
  "div",
27654
27672
  {
27655
27673
  ref: menuRef,
27656
- 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",
27674
+ 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",
27657
27675
  style: {
27658
27676
  top: `${position.top}px`,
27659
27677
  left: `${position.left}px`,
27660
27678
  transform: "translate(-50%, -100%)"
27661
27679
  },
27662
27680
  onMouseDown: (e) => e.preventDefault(),
27663
- children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
27664
- BubbleMenuContent,
27665
- {
27666
- editor,
27667
- onKeepOpenChange: setKeepOpen,
27668
- fontSizes,
27669
- lineHeights
27670
- }
27671
- )
27681
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BubbleMenuContent, { editor, onKeepOpenChange: setKeepOpen, fontSizes, lineHeights })
27672
27682
  }
27673
27683
  ),
27674
27684
  document.body
@@ -27708,7 +27718,7 @@ var CustomFloatingMenu = ({ editor }) => {
27708
27718
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
27709
27719
  "div",
27710
27720
  {
27711
- 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",
27721
+ 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",
27712
27722
  style: {
27713
27723
  top: `${position.top}px`,
27714
27724
  left: `${position.left}px`,