@ai-matrx/records-ui 0.116.57 → 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/pickers.cjs CHANGED
@@ -7989,7 +7989,11 @@ function EntityReferencePicker({
7989
7989
  onSearch: setSearch,
7990
7990
  items,
7991
7991
  notice,
7992
- empty: found.loading ? null : /* @__PURE__ */ (0, import_jsx_runtime24.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.` }),
7992
+ empty: (
7993
+ // LINK-PICKER: a refused search is never an empty list. The refusal line above says why; "there is
7994
+ // none you can open" under it would be a second, untrue answer (the 2026-10-20 dead picker).
7995
+ found.loading || found.error ? null : /* @__PURE__ */ (0, import_jsx_runtime24.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.` })
7996
+ ),
7993
7997
  onPick: (key) => {
7994
7998
  const r = (found.data ?? []).find((x) => `${x.token}:${x.id}` === key);
7995
7999
  if (!r) return;