@geneui/components 3.0.0-next-ed7bf62-05032025 → 3.0.0-next-253ae89-07032025

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/hooks/index.d.ts CHANGED
@@ -2,4 +2,5 @@ export { default as useDebounce } from "./useDebounceCallback";
2
2
  export { default as useEllipsisDetection } from "./useEllipsisDetection";
3
3
  export { default as useScrollLock } from "./useScrollLock";
4
4
  export { default as useWindowSize } from "./useWindowSize";
5
+ export { default as useClickOutside } from "./useClickOutside";
5
6
  export { default as useDeviceInfo } from "./useDeviceInfo";
@@ -0,0 +1 @@
1
+ export { default } from "./useClickOutside";
@@ -0,0 +1,4 @@
1
+ import { RefObject } from "react";
2
+ type IClickOutside = (node: HTMLElement | null) => void;
3
+ declare const useClickOutside: (callback: (e: MouseEvent) => void, relativeElements?: RefObject<HTMLElement>[]) => IClickOutside;
4
+ export default useClickOutside;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@geneui/components",
3
3
  "description": "The Gene UI components library designed for BI tools",
4
- "version": "3.0.0-next-ed7bf62-05032025",
4
+ "version": "3.0.0-next-253ae89-07032025",
5
5
  "author": "SoftConstruct",
6
6
  "homepage": "https://github.com/softconstruct/gene-ui-components#readme",
7
7
  "repository": {