@mantine/hooks
Advanced tools
Comparing version 7.3.2 to 7.4.0
@@ -59,7 +59,8 @@ export * from './utils'; | ||
export { useEyeDropper } from './use-eye-dropper/use-eye-dropper'; | ||
export { useInViewport } from './use-in-viewport/use-in-viewport'; | ||
export type { UseMovePosition } from './use-move/use-move'; | ||
export type { OS } from './use-os/use-os'; | ||
export type { HotkeyItem } from './use-hotkeys/use-hotkeys'; | ||
export type { HotkeyItem, HotkeyItemOptions } from './use-hotkeys/use-hotkeys'; | ||
export type { UseListStateHandlers } from './use-list-state/use-list-state'; | ||
export type { EyeDropperOpenReturnType } from './use-eye-dropper/use-eye-dropper'; | ||
export type { UseMediaQueryOptions } from './use-media-query/use-media-query'; |
@@ -5,3 +5,3 @@ export interface UseMovePosition { | ||
} | ||
export declare const clampUseMovePosition: (position: UseMovePosition) => { | ||
export declare function clampUseMovePosition(position: UseMovePosition): { | ||
x: number; | ||
@@ -8,0 +8,0 @@ y: number; |
@@ -9,5 +9,5 @@ interface UseUncontrolledInput<T> { | ||
/** Controlled state onChange handler */ | ||
onChange?: (value: T) => void; | ||
onChange?: (value: T, ...payload: any[]) => void; | ||
} | ||
export declare function useUncontrolled<T>({ value, defaultValue, finalValue, onChange, }: UseUncontrolledInput<T>): [T, (value: T) => void, boolean]; | ||
export declare function useUncontrolled<T>({ value, defaultValue, finalValue, onChange, }: UseUncontrolledInput<T>): [T, (value: T, ...payload: any[]) => void, boolean]; | ||
export {}; |
{ | ||
"name": "@mantine/hooks", | ||
"version": "7.3.2", | ||
"version": "7.4.0", | ||
"description": "A collection of 50+ hooks for state and UI management", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mantine.dev", |
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
880462
379
5091