@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.102.21
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records-ui/v0.102.20..npm/records-ui/v0.102.21 -- apps/shared/records-ui`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.102.20
4
10
 
5
11
  - `readTableShapes` reads markdown tables through THE GFM rule (`tableStartsAt` / `findTableEnd` / `rowCells` from `@ai-matrx/content-ir/source`) instead of a private pipe splitter and delimiter regex: edge pipes optional, `\|` stays in its cell, and the table ends where chat and the editor end it (AP-2).
package/dist/index.cjs CHANGED
@@ -7138,7 +7138,7 @@ function RecordValue({
7138
7138
  }
7139
7139
  if (inCell && ui.grid === "merged" && ui.renderText && typeof value === "string" && value.trim() !== "" && editorKindFor(field2) === "long_text" && !shownAsOf(field2) && !(0, import_core4.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.
7140
7140
  !kindValueOf(value)) {
7141
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "block max-h-[4.5em] min-w-0 overflow-hidden whitespace-normal", "data-records-cell-text": "", children: ui.renderText(value, "cell") });
7141
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "block h-[1.5em] min-w-0 overflow-hidden whitespace-normal", "data-records-cell-text": "", children: ui.renderText(value, "cell") });
7142
7142
  }
7143
7143
  if (isSignatureField(field2) && value !== null && value !== void 0 && value !== "") {
7144
7144
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SignatureValue, { value, inCell, recordId, fieldKey: field2.key, document: document2 });
@@ -20492,7 +20492,6 @@ function UndoRedoLive({ source }) {
20492
20492
  }
20493
20493
  function UndoRedoPair({ face, onUndo, onRedo }) {
20494
20494
  const undo = { depth: { back: face.back, forward: face.forward }, busy: face.busy };
20495
- if (undo.depth.back === 0 && undo.depth.forward === 0) return null;
20496
20495
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
20497
20496
  /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
20498
20497
  import_design_system57.Button,
@@ -23569,7 +23568,7 @@ function GridBody({
23569
23568
  {
23570
23569
  ...fills ? { className: "min-h-0 flex-1" } : {},
23571
23570
  frameHeight: fills ? "fill" : "content",
23572
- loadingRows: rememberedRowCount(rowMemoryKey, pageSize, fills ? "fill" : 5),
23571
+ loadingRows: rememberedRowCount(rowMemoryKey, pageSize, embedded ? fills ? "fill" : 5 : rememberedRowCount(`${tableId}:page:last`, pageSize, fills ? "fill" : 5)),
23573
23572
  ...!look.rowHeight ? { loadingRowHeight: RECORDS_GRID_ROW_PX } : {},
23574
23573
  data: rows,
23575
23574
  columns: tableColumns,