@ai-matrx/records-ui 0.116.28 → 0.116.29

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
@@ -24,11 +24,24 @@
24
24
  - Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
25
25
  - **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
26
26
 
27
- ## 0.116.28
27
+ ## 0.116.29
28
28
 
29
29
  UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
30
30
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
31
31
 
32
+ ## 0.116.27
33
+
34
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
35
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
36
+ Diff: `git diff 0eb2f8603b 39f51f853b -- apps/shared/records-ui/src`
37
+
38
+ Changed shipped source files (5):
39
+ - `apps/shared/records-ui/src/buttonCell.tsx`
40
+ - `apps/shared/records-ui/src/formattedValue.tsx`
41
+ - `apps/shared/records-ui/src/readableLink.ts`
42
+ - `apps/shared/records-ui/src/structuredValue.tsx`
43
+ - `apps/shared/records-ui/src/values.tsx`
44
+
32
45
  ## 0.116.26
33
46
 
34
47
  SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
package/dist/index.cjs CHANGED
@@ -45642,7 +45642,7 @@ var import_records58 = require("@ai-matrx/records");
45642
45642
  var PIVOT_OPS = ["count", "sum", "avg", "min", "max"];
45643
45643
  var isPivotOp = (v) => PIVOT_OPS.includes(v ?? "");
45644
45644
  var PIVOT_OP_LABEL = { count: "Count", sum: "Sum", avg: "Average", min: "Min", max: "Max" };
45645
- var PIVOT_CELL_LIMIT = 2e3;
45645
+ var PIVOT_CELL_LIMIT = 1e3;
45646
45646
  var NUMBER_TYPES2 = /* @__PURE__ */ new Set(["number", "integer", "decimal", "money", "currency", "percent", "percentage"]);
45647
45647
  var isNumberField = (f) => NUMBER_TYPES2.has(String(f.type));
45648
45648
  function pivotQuestion(view, fields) {
@@ -45868,9 +45868,9 @@ function PivotLayout({ view, fields, filter, onChange, remembered }) {
45868
45868
  ] }) }) : null
45869
45869
  ] }) }),
45870
45870
  table.cut ? /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("p", { className: "text-xs text-muted-foreground", "data-records-pivot-cut": "", children: [
45871
- "Showing the first ",
45871
+ "First ",
45872
45872
  PIVOT_CELL_LIMIT.toLocaleString(),
45873
- " cells; narrow the view's filter to see the rest."
45873
+ " cells only. Narrow the filter to see the rest."
45874
45874
  ] }) : null
45875
45875
  ] })
45876
45876
  ] });
@@ -46516,8 +46516,6 @@ function useViewRecords(view, pageSize = 200, filter, viewId) {
46516
46516
  cancelled = true;
46517
46517
  };
46518
46518
  }, [client, ruleId, pageSize]);
46519
- const asked4 = (0, import_records60.stableFilterKey)(filter ?? null);
46520
- const fromView = asked4 !== "{}" && (asked4 === (0, import_records60.stableFilterKey)(view.where ?? null) || asked4 === (0, import_records60.stableFilterKey)(view.filters ?? null));
46521
46519
  const tableRows = (0, import_react270.useMemo)(() => table.data?.rows ?? [], [table.data]);
46522
46520
  const manual = view.order === "manual" && Boolean(viewId) && !ruleId;
46523
46521
  const hand = useHandOrderRows({
@@ -46569,7 +46567,7 @@ function useViewRecords(view, pageSize = 200, filter, viewId) {
46569
46567
  // sat over every board and gallery. A view of the whole table says nothing about it; a narrowed
46570
46568
  // one says how, in words a person uses.
46571
46569
  membership: [
46572
- ruleId ? "Showing the records this view's rule picks." : fromView ? "Showing the records this view's filter matches." : asked4 !== "{}" ? "Showing only the records behind the number you clicked." : "",
46570
+ // A person sees the rows; the screen does not narrate why they are the rows.
46573
46571
  manual ? HAND_ORDER_NOTE : ""
46574
46572
  ].filter(Boolean).join(" ")
46575
46573
  };