@factorialco/f0-react 16.18.0 → 16.19.0

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.
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  //#region \0virtual:f0-component-status-data
6
6
  var u = {
7
- generatedAt: "2026-11-26T15:14:17.090Z",
7
+ generatedAt: "2026-11-26T17:04:47.522Z",
8
8
  stats: {
9
9
  total: 318,
10
10
  byStatus: {
@@ -12551,6 +12551,12 @@ type AgenticHomeAvatar = {
12551
12551
  } | {
12552
12552
  type: "flag";
12553
12553
  flag: string;
12554
+ } | {
12555
+ type: "file";
12556
+ file: {
12557
+ name: string;
12558
+ type: string;
12559
+ };
12554
12560
  } | {
12555
12561
  type: "icon";
12556
12562
  icon: AgenticHomeIcon;
@@ -14742,10 +14742,10 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
14742
14742
  }), h = aA() === "scrolls-itself", g = Ko() === "classic", [_, v] = sr({ threshold: 1 }), [y, b] = sr({ threshold: 1 }), x = n !== void 0 && p.trim().length > 0, S = x ? void 0 : t, C = e.some((e) => e.items.length > 0), w = s && !C, T = e.map((e) => ({
14743
14743
  ...e,
14744
14744
  items: x ? e.items.filter((e) => Zk(p, e.searchText ?? "")) : e.items.filter((e) => !e.hiddenUnlessSearching)
14745
- })).filter((e) => e.items.length > 0 || !x && C && e.keepWhenEmpty === !0), E = x ? a.filter((e) => e.items.length > 0 || (e.status ?? "idle") !== "idle") : [], D = w || T.length > 0, O = x && (C || a.length > 0) && T.length === 0 && E.length === 0, k = /* @__PURE__ */ $(Z, { children: [
14745
+ })).filter((e) => e.items.length > 0 || !x && C && e.keepWhenEmpty === !0), E = x ? a.filter((e) => e.items.length > 0 || (e.status ?? "idle") !== "idle") : [], D = !w && !C && !(x && a.length > 0) && l != null && typeof l != "boolean" && l !== "", O = w || T.length > 0 || D, k = x && (C || a.length > 0) && T.length === 0 && E.length === 0, A = /* @__PURE__ */ $(Z, { children: [
14746
14746
  w ? c : null,
14747
- !w && !C && !(x && a.length > 0) ? l : null,
14748
- O ? /* @__PURE__ */ Q("p", {
14747
+ D ? l : null,
14748
+ k ? /* @__PURE__ */ Q("p", {
14749
14749
  className: "px-1.5 py-2 text-base text-f1-foreground-secondary",
14750
14750
  children: u
14751
14751
  }) : null,
@@ -14786,8 +14786,8 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
14786
14786
  className: "flex flex-col gap-4",
14787
14787
  children: [/* @__PURE__ */ Q(mA, {
14788
14788
  actions: S,
14789
- separated: D
14790
- }), k]
14789
+ separated: O
14790
+ }), A]
14791
14791
  }),
14792
14792
  /* @__PURE__ */ Q("div", {
14793
14793
  ref: y,
@@ -14813,8 +14813,8 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
14813
14813
  query: p,
14814
14814
  onQueryChange: m,
14815
14815
  actions: S,
14816
- separated: D,
14817
- children: k
14816
+ separated: O,
14817
+ children: A
14818
14818
  });
14819
14819
  }, xA = gn(function() {
14820
14820
  return process.env.NODE_ENV !== "test" && on() && "ontouchend" in document;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "16.18.0",
3
+ "version": "16.19.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",