@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
|
import {
|
|
2
2
|
getPanelBorderRadiusClass,
|
|
3
3
|
useUnderverseUIConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F2P3DJSC.js";
|
|
5
5
|
import {
|
|
6
6
|
cn,
|
|
7
7
|
useGlobalI18n
|
|
@@ -253,4 +253,4 @@ var Modal_default = Modal;
|
|
|
253
253
|
export {
|
|
254
254
|
Modal_default
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-WFQV7XFC.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -9730,7 +9730,7 @@ var init_editor_styles = __esm({
|
|
|
9730
9730
|
"[&_td]:align-top",
|
|
9731
9731
|
"[&_td]:box-border",
|
|
9732
9732
|
"[&_td]:select-text",
|
|
9733
|
-
"[&_td]:px-
|
|
9733
|
+
"[&_td]:px-[var(--ueditor-table-cell-padding-x,0.5rem)]",
|
|
9734
9734
|
"[&_td]:py-0",
|
|
9735
9735
|
"[&_td]:whitespace-normal",
|
|
9736
9736
|
"[&_td]:wrap-anywhere",
|
|
@@ -9742,7 +9742,7 @@ var init_editor_styles = __esm({
|
|
|
9742
9742
|
"[&_th]:align-top",
|
|
9743
9743
|
"[&_th]:box-border",
|
|
9744
9744
|
"[&_th]:select-text",
|
|
9745
|
-
"[&_th]:px-
|
|
9745
|
+
"[&_th]:px-[var(--ueditor-table-cell-padding-x,0.5rem)]",
|
|
9746
9746
|
"[&_th]:py-0",
|
|
9747
9747
|
"[&_th]:whitespace-normal",
|
|
9748
9748
|
"[&_th]:wrap-anywhere",
|
|
@@ -33190,7 +33190,6 @@ function DataTableHeader({
|
|
|
33190
33190
|
"button",
|
|
33191
33191
|
{
|
|
33192
33192
|
type: "button",
|
|
33193
|
-
title: sortLabel,
|
|
33194
33193
|
className: cn(
|
|
33195
33194
|
"p-1 rounded-lg transition-all duration-200 hover:bg-foreground/10",
|
|
33196
33195
|
useEndIcon && isCenterAlign && "col-start-3 justify-self-end",
|
|
@@ -50139,6 +50138,7 @@ var UEditor = import_react85.default.forwardRef(({
|
|
|
50139
50138
|
maxCharacters,
|
|
50140
50139
|
minHeight = "200px",
|
|
50141
50140
|
maxHeight = "auto",
|
|
50141
|
+
tableCellHorizontalPadding = 8,
|
|
50142
50142
|
expandWideTables = true,
|
|
50143
50143
|
variant = "default",
|
|
50144
50144
|
rounded = true,
|
|
@@ -50160,6 +50160,7 @@ var UEditor = import_react85.default.forwardRef(({
|
|
|
50160
50160
|
}, ref) => {
|
|
50161
50161
|
const t = useSmartTranslations("UEditor");
|
|
50162
50162
|
const effectivePlaceholder = placeholder ?? t("placeholder");
|
|
50163
|
+
const resolvedTableCellHorizontalPadding = Number.isFinite(tableCellHorizontalPadding) ? Math.max(0, tableCellHorizontalPadding) : 8;
|
|
50163
50164
|
const inFlightPrepareRef = (0, import_react85.useRef)(null);
|
|
50164
50165
|
const lastAppliedContentRef = (0, import_react85.useRef)(content ?? "");
|
|
50165
50166
|
const scheduledFormulaRecalculateRef = (0, import_react85.useRef)(false);
|
|
@@ -50509,7 +50510,8 @@ var UEditor = import_react85.default.forwardRef(({
|
|
|
50509
50510
|
style: {
|
|
50510
50511
|
fontFamily: defaultFontFamily,
|
|
50511
50512
|
minHeight: editable ? minHeight : void 0,
|
|
50512
|
-
maxHeight
|
|
50513
|
+
maxHeight,
|
|
50514
|
+
"--ueditor-table-cell-padding-x": `${resolvedTableCellHorizontalPadding}px`
|
|
50513
50515
|
},
|
|
50514
50516
|
children: [
|
|
50515
50517
|
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|