@trackunit/react-components 1.4.109 → 1.4.110

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/index.cjs.js CHANGED
@@ -1539,7 +1539,7 @@ const useWindowActivity = ({ onFocus, onBlur } = { onBlur: undefined, onFocus: u
1539
1539
  window.removeEventListener("blur", onBlurInternal);
1540
1540
  };
1541
1541
  }, [onBlurInternal, onFocusInternal]);
1542
- return { focused };
1542
+ return react.useMemo(() => ({ focused }), [focused]);
1543
1543
  };
1544
1544
 
1545
1545
  const cvaBreadcrumb = cssClassVarianceUtilities.cvaMerge(["my-4", "flex", "place-items-center"]);
package/index.esm.js CHANGED
@@ -1537,7 +1537,7 @@ const useWindowActivity = ({ onFocus, onBlur } = { onBlur: undefined, onFocus: u
1537
1537
  window.removeEventListener("blur", onBlurInternal);
1538
1538
  };
1539
1539
  }, [onBlurInternal, onFocusInternal]);
1540
- return { focused };
1540
+ return useMemo(() => ({ focused }), [focused]);
1541
1541
  };
1542
1542
 
1543
1543
  const cvaBreadcrumb = cvaMerge(["my-4", "flex", "place-items-center"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "1.4.109",
3
+ "version": "1.4.110",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {