@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.
- package/api-reference.json +1 -1
- package/dist/{chunk-OTPC2OTQ.js → chunk-F2P3DJSC.js} +3 -3
- package/dist/{chunk-OTPC2OTQ.js.map → chunk-F2P3DJSC.js.map} +1 -1
- package/dist/{chunk-JYAEYUGM.js → chunk-H4AVZA4K.js} +7 -4
- package/dist/chunk-H4AVZA4K.js.map +1 -0
- package/dist/{chunk-UHUKUI5S.js → chunk-WFQV7XFC.js} +2 -2
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-HZBBRX42.js → menu-bar-MUISXLMR.js} +3 -3
- package/dist/ueditor.cjs +6 -3
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +2 -0
- package/dist/ueditor.d.ts +2 -0
- package/dist/ueditor.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-JYAEYUGM.js.map +0 -1
- /package/dist/{chunk-UHUKUI5S.js.map → chunk-WFQV7XFC.js.map} +0 -0
- /package/dist/{menu-bar-HZBBRX42.js.map → menu-bar-MUISXLMR.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WFQV7XFC.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_TABLE_ROW_HEIGHT,
|
|
7
7
|
DEFAULT_UEDITOR_IMAGE_MAX_FILE_SIZE,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
trackEditorInsertionPosition,
|
|
30
30
|
useDropdownMenuClose,
|
|
31
31
|
useSharedEditorUiRenderState
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-F2P3DJSC.js";
|
|
33
33
|
import {
|
|
34
34
|
cn,
|
|
35
35
|
resolveUEditorPortalContainer,
|
|
@@ -1118,4 +1118,4 @@ var MenuBar = ({
|
|
|
1118
1118
|
export {
|
|
1119
1119
|
MenuBar
|
|
1120
1120
|
};
|
|
1121
|
-
//# sourceMappingURL=menu-bar-
|
|
1121
|
+
//# sourceMappingURL=menu-bar-MUISXLMR.js.map
|
package/dist/ueditor.cjs
CHANGED
|
@@ -9245,7 +9245,7 @@ var init_editor_styles = __esm({
|
|
|
9245
9245
|
"[&_td]:align-top",
|
|
9246
9246
|
"[&_td]:box-border",
|
|
9247
9247
|
"[&_td]:select-text",
|
|
9248
|
-
"[&_td]:px-
|
|
9248
|
+
"[&_td]:px-[var(--ueditor-table-cell-padding-x,0.5rem)]",
|
|
9249
9249
|
"[&_td]:py-0",
|
|
9250
9250
|
"[&_td]:whitespace-normal",
|
|
9251
9251
|
"[&_td]:wrap-anywhere",
|
|
@@ -9257,7 +9257,7 @@ var init_editor_styles = __esm({
|
|
|
9257
9257
|
"[&_th]:align-top",
|
|
9258
9258
|
"[&_th]:box-border",
|
|
9259
9259
|
"[&_th]:select-text",
|
|
9260
|
-
"[&_th]:px-
|
|
9260
|
+
"[&_th]:px-[var(--ueditor-table-cell-padding-x,0.5rem)]",
|
|
9261
9261
|
"[&_th]:py-0",
|
|
9262
9262
|
"[&_th]:whitespace-normal",
|
|
9263
9263
|
"[&_th]:wrap-anywhere",
|
|
@@ -25575,6 +25575,7 @@ var UEditor = import_react45.default.forwardRef(({
|
|
|
25575
25575
|
maxCharacters,
|
|
25576
25576
|
minHeight = "200px",
|
|
25577
25577
|
maxHeight = "auto",
|
|
25578
|
+
tableCellHorizontalPadding = 8,
|
|
25578
25579
|
expandWideTables = true,
|
|
25579
25580
|
variant = "default",
|
|
25580
25581
|
rounded = true,
|
|
@@ -25596,6 +25597,7 @@ var UEditor = import_react45.default.forwardRef(({
|
|
|
25596
25597
|
}, ref) => {
|
|
25597
25598
|
const t = useSmartTranslations("UEditor");
|
|
25598
25599
|
const effectivePlaceholder = placeholder ?? t("placeholder");
|
|
25600
|
+
const resolvedTableCellHorizontalPadding = Number.isFinite(tableCellHorizontalPadding) ? Math.max(0, tableCellHorizontalPadding) : 8;
|
|
25599
25601
|
const inFlightPrepareRef = (0, import_react45.useRef)(null);
|
|
25600
25602
|
const lastAppliedContentRef = (0, import_react45.useRef)(content ?? "");
|
|
25601
25603
|
const scheduledFormulaRecalculateRef = (0, import_react45.useRef)(false);
|
|
@@ -25945,7 +25947,8 @@ var UEditor = import_react45.default.forwardRef(({
|
|
|
25945
25947
|
style: {
|
|
25946
25948
|
fontFamily: defaultFontFamily,
|
|
25947
25949
|
minHeight: editable ? minHeight : void 0,
|
|
25948
|
-
maxHeight
|
|
25950
|
+
maxHeight,
|
|
25951
|
+
"--ueditor-table-cell-padding-x": `${resolvedTableCellHorizontalPadding}px`
|
|
25949
25952
|
},
|
|
25950
25953
|
children: [
|
|
25951
25954
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|