@ai-matrx/records-ui 0.116.91 → 0.116.93

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/dist/index.js CHANGED
@@ -9742,7 +9742,7 @@ function RecordActionMenu({ tableId, row, name, onOpenRecord, onChanged, childre
9742
9742
  import { useMemo as useMemo19 } from "react";
9743
9743
  import { Peek, PeekHoverCard } from "@ai-matrx/design-system";
9744
9744
  import { jsx as jsx31 } from "react/jsx-runtime";
9745
- var ROW_PEEK_FACTS = 6;
9745
+ var ROW_PEEK_FACTS = 4;
9746
9746
  function peekRecordOfRow(row, ctx) {
9747
9747
  const document2 = row.document ?? {};
9748
9748
  const title = recordNameIn(ctx.table, document2);
@@ -25920,7 +25920,7 @@ function SwipeLayout({ view, fields, rows, titleKey, onChange, canWrite, remembe
25920
25920
  }
25921
25921
  return /* @__PURE__ */ jsxs85("div", { className: "flex min-h-0 flex-col gap-2", "data-records-swipe-layout": "", "data-records-swipe-state": "ready", "data-records-swipe-cards": items.length, children: [
25922
25922
  toolbar,
25923
- logicOpen && condition ? /* @__PURE__ */ jsxs85("div", { className: "flex h-[36rem] max-h-[80vh] flex-col gap-2 overflow-hidden rounded-md border border-border p-2", "data-records-swipe-logic": "", children: [
25923
+ logicOpen && condition ? /* @__PURE__ */ jsxs85("div", { className: "flex flex-col gap-2 rounded-md border border-border p-2", "data-records-swipe-logic": "", children: [
25924
25924
  logicError ? /* @__PURE__ */ jsx94(RefusalLine, { error: logicError }) : null,
25925
25925
  Editor ? /* @__PURE__ */ jsx94(Editor, { items, ...key ? { answers: key.answers, more: key.more } : {}, onChange: (next) => void saveLogic(next) }) : /* @__PURE__ */ jsx94("p", { className: "p-2 text-xs text-muted-foreground", children: `The logic graph isn't installed here. Edit ${fieldName(condition)} in the grid.` })
25926
25926
  ] }) : null,