@nivaro/react 0.1.109 → 0.1.111

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 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24264,8 +24264,8 @@ function d_({
24264
24264
  onClick: () => s((o) => !o),
24265
24265
  "data-tip": "Record insights — audience, integrations, owner history",
24266
24266
  "aria-label": "Record insights",
24267
- className: "flex h-8 w-8 items-center justify-center rounded-lg text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900 dark:text-slate-400 dark:hover:bg-white/[0.06] dark:hover:text-slate-100",
24268
- children: /* @__PURE__ */ e(_o, { className: "h-4 w-4" })
24267
+ className: "inline-flex h-9 items-center gap-1.5 rounded-md border border-input bg-background px-3 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground",
24268
+ children: /* @__PURE__ */ e(_o, { className: "h-3.5 w-3.5" })
24269
24269
  }
24270
24270
  ),
24271
24271
  a && /* @__PURE__ */ r("div", { className: "absolute right-0 top-full z-[60] mt-1 w-[380px] rounded-lg border border-slate-200 bg-white p-3 shadow-xl dark:border-border dark:bg-card", children: [
@@ -47037,7 +47037,7 @@ function z4({ profileUrl: t = "/profile" }) {
47037
47037
  staleTime: 6e4
47038
47038
  }), { data: o } = de({
47039
47039
  queryKey: ["first-login-scopes"],
47040
- queryFn: () => n.request(se("/users/me/scopes")).then((f) => f.data).catch(() => []),
47040
+ queryFn: () => n.request(se("/users/me/scopes")).then((f) => f.data).catch(() => null),
47041
47041
  enabled: !!d,
47042
47042
  staleTime: 6e4
47043
47043
  }), u = et({
@@ -47067,7 +47067,7 @@ function z4({ profileUrl: t = "/profile" }) {
47067
47067
  },
47068
47068
  {
47069
47069
  label: "Pick your default filters",
47070
- done: (o ?? []).some((f) => f.mode === "default" && (f.values ?? []).length > 0),
47070
+ done: Object.values((o == null ? void 0 : o.defaults) ?? {}).some((f) => Array.isArray(f) && f.length > 0),
47071
47071
  hint: "Pre-filter lists to your zone or region"
47072
47072
  }
47073
47073
  ], p = m.filter((f) => !f.done).length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.109",
3
+ "version": "0.1.111",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",