@factorialco/f0-react 1.417.1 → 1.418.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.
@@ -76389,7 +76389,7 @@ function But({ metadata: e }) {
76389
76389
  ] });
76390
76390
  const a = r;
76391
76391
  return /* @__PURE__ */ P("div", { className: "flex h-8 items-center gap-1.5", children: [
76392
- "icon" in e && /* @__PURE__ */ u("div", { className: "pointer-events-auto flex items-center", children: /* @__PURE__ */ u(k9, { label: e.tooltip, children: /* @__PURE__ */ u(Pt, { icon: e.icon, color: "default", size: "md" }) }) }),
76392
+ "icon" in e && /* @__PURE__ */ u("div", { className: "pointer-events-auto flex items-center", children: /* @__PURE__ */ u(k9, { label: e.property.label, children: /* @__PURE__ */ u(Pt, { icon: e.icon, color: "default", size: "md" }) }) }),
76393
76393
  a(n, { visualization: "card" })
76394
76394
  ] });
76395
76395
  }
@@ -197597,13 +197597,17 @@ const eI2 = I2(
197597
197597
  if (x === void 0)
197598
197598
  return null;
197599
197599
  const M = v(x);
197600
- return M ? M.type === "file" ? {
197601
- property: M
197600
+ if (!M) return null;
197601
+ const k = {
197602
+ ...M,
197603
+ label: b.label
197604
+ };
197605
+ return k.type === "file" ? {
197606
+ property: k
197602
197607
  } : {
197603
197608
  icon: b.icon ?? Sae,
197604
- tooltip: b.tooltip,
197605
- property: M
197606
- } : null;
197609
+ property: k
197610
+ };
197607
197611
  }).filter((b) => b !== null);
197608
197612
  }
197609
197613
  function v(y) {
@@ -201697,7 +201701,7 @@ const OO2 = ({
201697
201701
  ...V,
201698
201702
  items: h[V.id]?.data?.records || []
201699
201703
  })), [v]), y = (V) => V.map(
201700
- ({ icon: H, tooltip: O, property: R }) => R.type === "file" ? { property: R } : { icon: H, tooltip: O, property: R }
201704
+ ({ icon: H, property: O }) => O.type === "file" ? { property: O } : { icon: H, property: O }
201701
201705
  ), w = (V) => !!(V && V.type === "infinite-scroll"), b = {
201702
201706
  lanes: m.map((V) => {
201703
201707
  const H = h[V.id], O = H?.paginationInfo?.total, R = w(H?.paginationInfo) && H?.paginationInfo?.hasMore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.417.1",
3
+ "version": "1.418.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",