@chakra-ui/hooks
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -7,3 +7,3 @@ type InitialState = boolean | (() => boolean); | ||
* | ||
* @see Docs https://chakra-ui.com/docs/hooks/use-boolean | ||
* @see Docs https://v2.chakra-ui.com/docs/hooks/use-boolean | ||
*/ | ||
@@ -10,0 +10,0 @@ export declare function useBoolean(initialState?: InitialState): readonly [boolean, { |
@@ -20,3 +20,3 @@ export interface UseClipboardOptions { | ||
* | ||
* @see Docs https://chakra-ui.com/docs/hooks/use-clipboard | ||
* @see Docs https://v2.chakra-ui.com/docs/hooks/use-clipboard | ||
*/ | ||
@@ -23,0 +23,0 @@ export declare function useClipboard(value: string, optionsOrTimeout?: number | UseClipboardOptions): { |
/** | ||
* Given a prop value and state value, the useControllableProp hook is used to determine whether a component is controlled or uncontrolled, and also returns the computed value. | ||
* | ||
* @see Docs https://chakra-ui.com/docs/hooks/use-controllable#usecontrollableprop | ||
* @see Docs https://v2.chakra-ui.com/docs/hooks/use-controllable#usecontrollableprop | ||
*/ | ||
@@ -16,4 +16,4 @@ export declare function useControllableProp<T>(prop: T | undefined, state: T): [boolean, T]; | ||
* | ||
* @see Docs https://chakra-ui.com/docs/hooks/use-controllable#usecontrollablestate | ||
* @see Docs https://v2.chakra-ui.com/docs/hooks/use-controllable#usecontrollablestate | ||
*/ | ||
export declare function useControllableState<T>(props: UseControllableStateProps<T>): [T, import("react").Dispatch<import("react").SetStateAction<T>>]; |
@@ -14,3 +14,3 @@ import React from "react"; | ||
* | ||
* @see Docs https://chakra-ui.com/docs/hooks/use-disclosure | ||
* @see Docs https://v2.chakra-ui.com/docs/hooks/use-disclosure | ||
*/ | ||
@@ -17,0 +17,0 @@ export declare function useDisclosure(props?: UseDisclosureProps): { |
{ | ||
"name": "@chakra-ui/hooks", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "React hooks for Chakra components", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"framesync": "6.1.2", | ||
"@chakra-ui/utils": "2.2.2" | ||
"@chakra-ui/utils": "2.2.3" | ||
}, | ||
@@ -39,0 +39,0 @@ "peerDependencies": { |
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
79005
3
+ Added@chakra-ui/utils@2.2.3(transitive)
- Removed@chakra-ui/utils@2.2.2(transitive)
Updated@chakra-ui/utils@2.2.3