@nivaro/react 0.1.134 → 0.1.135

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46319,7 +46319,7 @@ function pS({ templateId: t, states: n, bindings: a }) {
46319
46319
  {
46320
46320
  stateId: ut.id,
46321
46321
  rowValue: Re.value,
46322
- existingUserIds: Ae.map((Ie) => Ie.user),
46322
+ existingUserIds: Ae.map((Ie) => String(Ie.user ?? Ie.id)),
46323
46323
  teams: (re ?? []).filter(
46324
46324
  (Ie) => !((ct == null ? void 0 : ct.teams) ?? []).some((Rt) => Rt.id === Ie.id)
46325
46325
  ),
@@ -46524,7 +46524,9 @@ function fS({
46524
46524
  return (N = y.current) == null ? void 0 : N.focus();
46525
46525
  }, 50) : (p(""), f(!1), v(""));
46526
46526
  }, [u]);
46527
- const x = Yg(), { people: b } = Xg(u ? m : ""), $ = m.trim().toLowerCase(), C = (N) => [N.first_name, N.last_name].filter(Boolean).join(" ") || N.email, q = new Set(a.map((N) => N.toUpperCase())), k = ($ ? s.filter((N) => N.name.toLowerCase().includes($)) : s).slice().sort((N, _) => N.name.localeCompare(_.name, void 0, { sensitivity: "base" })), w = b.filter((N) => !q.has(String(N.id).toUpperCase()));
46527
+ const x = Yg(), { people: b } = Xg(u ? m : ""), $ = m.trim().toLowerCase(), C = (N) => [N.first_name, N.last_name].filter(Boolean).join(" ") || N.email, q = new Set(
46528
+ a.filter(Boolean).map((N) => String(N).toUpperCase())
46529
+ ), k = ($ ? s.filter((N) => N.name.toLowerCase().includes($)) : s).slice().sort((N, _) => N.name.localeCompare(_.name, void 0, { sensitivity: "base" })), w = b.filter((N) => !q.has(String(N.id).toUpperCase()));
46528
46530
  return h ? /* @__PURE__ */ r("div", { className: "flex items-center gap-1.5", children: [
46529
46531
  /* @__PURE__ */ e(
46530
46532
  "input",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",