@jamsr-ui/hooks
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -7,3 +7,3 @@ import * as react from 'react'; | ||
declare const useIsDisabled: <T extends HTMLElement>(props?: UseIsDisableProps) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
isDisabled: boolean; | ||
@@ -10,0 +10,0 @@ }; |
@@ -9,3 +9,3 @@ import * as react from 'react'; | ||
declare const useFocusVisible: <T extends HTMLElement>(options?: UseFocusVisibleOptions) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
isFocusVisible: boolean; | ||
@@ -12,0 +12,0 @@ }; |
@@ -9,3 +9,3 @@ import * as react from 'react'; | ||
declare const useFocus: <T extends HTMLElement>(options?: UseFocusOptions) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
isFocused: boolean; | ||
@@ -12,0 +12,0 @@ }; |
@@ -9,3 +9,3 @@ import * as react from 'react'; | ||
declare const useHover: <T extends HTMLElement>(options?: UseHoverOptions) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
isHovered: boolean; | ||
@@ -12,0 +12,0 @@ }; |
@@ -7,5 +7,5 @@ import * as react from 'react'; | ||
}) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
}; | ||
export { useKeyPress }; |
@@ -10,3 +10,3 @@ import * as react from 'react'; | ||
declare const usePress: <T extends HTMLElement>(options?: UsePressOptions) => { | ||
ref: react.RefObject<T>; | ||
ref: react.RefObject<T | null>; | ||
isPressed: boolean; | ||
@@ -13,0 +13,0 @@ }; |
{ | ||
"name": "@jamsr-ui/hooks", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "A modern and beautiful Next.js UI components library.", | ||
@@ -30,4 +30,4 @@ "sideEffects": false, | ||
"peerDependencies": { | ||
"react": "19.0.0-rc-603e6108-20241029", | ||
"react-dom": "19.0.0-rc-603e6108-20241029" | ||
"react": "19.0.0", | ||
"react-dom": "19.0.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34859