@underverse-ui/underverse 2.0.34 → 2.0.35

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.
@@ -94,7 +94,7 @@ import {
94
94
  sanitizeUEditorUrl,
95
95
  useEditorColors,
96
96
  useSharedEditorUiRenderState
97
- } from "./chunk-OTPC2OTQ.js";
97
+ } from "./chunk-F2P3DJSC.js";
98
98
  import {
99
99
  Tooltip,
100
100
  UEditorPortalProvider,
@@ -14888,7 +14888,7 @@ function useUEditorOutput({
14888
14888
  // src/components/UEditor/UEditor.tsx
14889
14889
  import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
14890
14890
  var LazyMenuBar = React16.lazy(async () => {
14891
- const { MenuBar } = await import("./menu-bar-HZBBRX42.js");
14891
+ const { MenuBar } = await import("./menu-bar-MUISXLMR.js");
14892
14892
  return { default: MenuBar };
14893
14893
  });
14894
14894
  var UEditor = React16.forwardRef(({
@@ -14922,6 +14922,7 @@ var UEditor = React16.forwardRef(({
14922
14922
  maxCharacters,
14923
14923
  minHeight = "200px",
14924
14924
  maxHeight = "auto",
14925
+ tableCellHorizontalPadding = 8,
14925
14926
  expandWideTables = true,
14926
14927
  variant = "default",
14927
14928
  rounded = true,
@@ -14943,6 +14944,7 @@ var UEditor = React16.forwardRef(({
14943
14944
  }, ref) => {
14944
14945
  const t = useSmartTranslations("UEditor");
14945
14946
  const effectivePlaceholder = placeholder ?? t("placeholder");
14947
+ const resolvedTableCellHorizontalPadding = Number.isFinite(tableCellHorizontalPadding) ? Math.max(0, tableCellHorizontalPadding) : 8;
14946
14948
  const inFlightPrepareRef = useRef10(null);
14947
14949
  const lastAppliedContentRef = useRef10(content ?? "");
14948
14950
  const scheduledFormulaRecalculateRef = useRef10(false);
@@ -15292,7 +15294,8 @@ var UEditor = React16.forwardRef(({
15292
15294
  style: {
15293
15295
  fontFamily: defaultFontFamily,
15294
15296
  minHeight: editable ? minHeight : void 0,
15295
- maxHeight
15297
+ maxHeight,
15298
+ "--ueditor-table-cell-padding-x": `${resolvedTableCellHorizontalPadding}px`
15296
15299
  },
15297
15300
  children: [
15298
15301
  /* @__PURE__ */ jsx20(
@@ -15379,4 +15382,4 @@ export {
15379
15382
  prepareUEditorContentForSave,
15380
15383
  UEditor_default
15381
15384
  };
15382
- //# sourceMappingURL=chunk-JYAEYUGM.js.map
15385
+ //# sourceMappingURL=chunk-H4AVZA4K.js.map