@ai-matrx/records-ui 0.116.58 → 0.116.59

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.cjs CHANGED
@@ -14721,7 +14721,11 @@ function EntityReferencePicker({
14721
14721
  onSearch: setSearch,
14722
14722
  items,
14723
14723
  notice: notice2,
14724
- empty: found.loading ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "px-2 py-1 text-[11px] text-muted-foreground", children: search.trim() ? `No ${kindWords} you can open is called \u201C${search.trim()}\u201D.` : `There is no ${kindWords} you can open yet.` }),
14724
+ empty: (
14725
+ // LINK-PICKER: a refused search is never an empty list. The refusal line above says why; "there is
14726
+ // none you can open" under it would be a second, untrue answer (the 2026-10-20 dead picker).
14727
+ found.loading || found.error ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "px-2 py-1 text-[11px] text-muted-foreground", children: search.trim() ? `No ${kindWords} you can open is called \u201C${search.trim()}\u201D.` : `There is no ${kindWords} you can open yet.` })
14728
+ ),
14725
14729
  onPick: (key) => {
14726
14730
  const r = (found.data ?? []).find((x) => `${x.token}:${x.id}` === key);
14727
14731
  if (!r) return;