Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/hooks

Package Overview
Dependencies
Maintainers
2
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/hooks - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

2

dist/types/use-boolean.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc