@ai-matrx/records-ui 0.102.20 → 0.102.21
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6600,7 +6600,7 @@ function RecordValue({
|
|
|
6600
6600
|
}
|
|
6601
6601
|
if (inCell && ui.grid === "merged" && ui.renderText && typeof value === "string" && value.trim() !== "" && editorKindFor(field2) === "long_text" && !shownAsOf(field2) && !wholeValueOf(document2, field2.key) && !envelopeFor(document2, field2.key)?.absent && // A long-text cell holding a kind is drawn by the kind system below, not as markdown.
|
|
6602
6602
|
!kindValueOf(value)) {
|
|
6603
|
-
return /* @__PURE__ */ jsx27("span", { className: "block
|
|
6603
|
+
return /* @__PURE__ */ jsx27("span", { className: "block h-[1.5em] min-w-0 overflow-hidden whitespace-normal", "data-records-cell-text": "", children: ui.renderText(value, "cell") });
|
|
6604
6604
|
}
|
|
6605
6605
|
if (isSignatureField(field2) && value !== null && value !== void 0 && value !== "") {
|
|
6606
6606
|
return /* @__PURE__ */ jsx27(SignatureValue, { value, inCell, recordId, fieldKey: field2.key, document: document2 });
|
|
@@ -20169,7 +20169,6 @@ function UndoRedoLive({ source }) {
|
|
|
20169
20169
|
}
|
|
20170
20170
|
function UndoRedoPair({ face, onUndo, onRedo }) {
|
|
20171
20171
|
const undo = { depth: { back: face.back, forward: face.forward }, busy: face.busy };
|
|
20172
|
-
if (undo.depth.back === 0 && undo.depth.forward === 0) return null;
|
|
20173
20172
|
return /* @__PURE__ */ jsxs60(Fragment22, { children: [
|
|
20174
20173
|
/* @__PURE__ */ jsxs60(
|
|
20175
20174
|
Button38,
|
|
@@ -23256,7 +23255,7 @@ function GridBody({
|
|
|
23256
23255
|
{
|
|
23257
23256
|
...fills ? { className: "min-h-0 flex-1" } : {},
|
|
23258
23257
|
frameHeight: fills ? "fill" : "content",
|
|
23259
|
-
loadingRows: rememberedRowCount(rowMemoryKey, pageSize, fills ? "fill" : 5),
|
|
23258
|
+
loadingRows: rememberedRowCount(rowMemoryKey, pageSize, embedded ? fills ? "fill" : 5 : rememberedRowCount(`${tableId}:page:last`, pageSize, fills ? "fill" : 5)),
|
|
23260
23259
|
...!look.rowHeight ? { loadingRowHeight: RECORDS_GRID_ROW_PX } : {},
|
|
23261
23260
|
data: rows,
|
|
23262
23261
|
columns: tableColumns,
|