@ai-matrx/records-ui 0.116.119 → 0.116.120

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,9 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.116.120
4
+
5
+ UNVERIFIED: this release has no Unreleased entry and the package-input comparison could not be made (git diff eefe59b233..2a305be7c5 failed (commit not in this checkout)). Whether package inputs changed is unknown; consumer action is unknown.
6
+ Check: `git diff eefe59b233 2a305be7c5 -- apps/shared/records-ui`
7
+
3
8
  ## 0.116.119
4
9
 
5
- UNVERIFIED: this release has no Unreleased entry and the package-input comparison could not be made (the caller supplied no source comparison). Whether package inputs changed is unknown; consumer action is unknown.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui`.
10
+ - New light entry `@ai-matrx/records-ui/decision-gate`: `DecisionGate` and the pure decision-spec helpers (read a `decision` spec off a run's question, say what still blocks it, build the resume body), moved here from matrx-frontend so the main app and workflow-studio draw the same human gate. Suggested answers show in full and "Confirm all" confirms every untouched suggestion in one click. The `check-light-entries` guard and `tsup.config.ts` now include the new entry; no existing export changed. Consumer action: none required; import from `@ai-matrx/records-ui/decision-gate` to replace any local copy of the decision gate.
7
11
 
8
12
  ## 0.116.118
9
13
 
package/dist/index.cjs CHANGED
@@ -23624,9 +23624,9 @@ function TableDetails({
23624
23624
  (0, import_react108.tableShapeChanged)(tableId);
23625
23625
  onSaved?.();
23626
23626
  };
23627
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex flex-col gap-2", "data-table-details": "", children: [
23627
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex flex-col gap-2", "data-table-details": "", "data-surface-value": "table_details_draft", children: [
23628
23628
  /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "font-medium", children: "About this table" }),
23629
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex flex-col gap-1", children: [
23629
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex flex-col gap-1", "data-surface-value": "table_description", children: [
23630
23630
  /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("label", { className: "text-muted-foreground", htmlFor: `table-description-${tableId}`, children: "Description" }),
23631
23631
  /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
23632
23632
  import_design_system66.Textarea,
@@ -29001,7 +29001,7 @@ function ActionForm({
29001
29001
  const first = settable2.find((f) => doc[f.key] !== null && doc[f.key] !== void 0 && doc[f.key] !== "");
29002
29002
  return first ? shown2(doc[first.key]) : row.id;
29003
29003
  };
29004
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: (0, import_design_system81.cn)("flex flex-col gap-3 text-xs", className), "data-records-action-form": "", children: [
29004
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: (0, import_design_system81.cn)("flex flex-col gap-3 text-xs", className), "data-records-action-form": "", "data-surface-value": "editing_row_action", children: [
29005
29005
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "font-medium", children: original ? `Row action \xB7 ${original.name}` : "New row action" }),
29006
29006
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("label", { className: "flex flex-col gap-1", children: [
29007
29007
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_design_system81.Label, { className: "text-xs", children: "Name" }),
@@ -29086,7 +29086,7 @@ function ActionForm({
29086
29086
  ] }) : null
29087
29087
  ] }),
29088
29088
  draft.steps.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "text-muted-foreground", children: "Nothing yet. Add a change, or start from a record and remove the columns it should leave alone." }) : null,
29089
- draft.steps.map((step2, index) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-wrap items-center gap-1", "data-records-action-step": index, children: [
29089
+ draft.steps.map((step2, index) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-wrap items-center gap-1", "data-records-action-step": index, "data-surface-value": "row_action_step_formula", children: [
29090
29090
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_design_system81.Select, { value: step2.field, onValueChange: (v) => setStep(index, { field: v }), children: [
29091
29091
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_design_system81.SelectTrigger, { size: "sm", "aria-label": `Column for change ${index + 1}`, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_design_system81.SelectValue, { placeholder: "Column" }) }),
29092
29092
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_design_system81.SelectContent, { children: settable2.map((f) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_design_system81.SelectItem, { value: f.id, children: fieldName(f) }, f.id)) })
@@ -37140,6 +37140,7 @@ function GridBody({
37140
37140
  "div",
37141
37141
  {
37142
37142
  className: (0, import_design_system103.cn)("relative flex min-h-0 flex-col gap-2", fills && "flex-1", className),
37143
+ "data-surface-value": "current_cell_value",
37143
37144
  "data-records-grid-footer": footer ?? "natural",
37144
37145
  ...merged ? {
37145
37146
  // THE SUMMARY MEASURES ARE ASKED WHEN A PERSON REACHES FOR THE GRID — a header menu, a