@chakra-ui/hooks
Advanced tools
Comparing version 0.0.0-v2-latest-20241001130949 to 0.0.0-v2-latest-20241002170600
@@ -14,9 +14,13 @@ export { useAnimationState } from "./use-animation-state"; | ||
export { useEventListener } from "./use-event-listener"; | ||
export * from "./use-focus-effect"; | ||
export * from "./use-focus-on-pointer-down"; | ||
export { useInterval } from "./use-interval"; | ||
export { useLatestRef } from "./use-latest-ref"; | ||
export { useMergeRefs } from "./use-merge-refs"; | ||
export { mergeRefs, useMergeRefs } from "./use-merge-refs"; | ||
export * from "./use-outside-click"; | ||
export * from "./use-pan-event"; | ||
export { usePrevious } from "./use-previous"; | ||
export { useSize } from "./use-size"; | ||
export * from "./use-safe-layout-effect"; | ||
export { useSize, useSizes } from "./use-size"; | ||
export { useTimeout } from "./use-timeout"; | ||
export { useUpdateEffect } from "./use-update-effect"; |
@@ -1,2 +0,2 @@ | ||
import { FocusableElement } from "@chakra-ui/utils/types"; | ||
import { FocusableElement } from "@chakra-ui/utils"; | ||
import type { RefObject } from "react"; | ||
@@ -3,0 +3,0 @@ export interface UseFocusOnHideOptions { |
210
package.json
{ | ||
"name": "@chakra-ui/hooks", | ||
"version": "0.0.0-v2-latest-20241001130949", | ||
"version": "0.0.0-v2-latest-20241002170600", | ||
"description": "React hooks for Chakra components", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"framesync": "6.1.2", | ||
"@chakra-ui/utils": "0.0.0-v2-latest-20241001130949" | ||
"@chakra-ui/utils": "0.0.0-v2-latest-20241002170600" | ||
}, | ||
@@ -48,3 +48,3 @@ "peerDependencies": { | ||
"import": { | ||
"types": "./dist/types/index.d.mts", | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/esm/index.mjs" | ||
@@ -57,203 +57,13 @@ }, | ||
}, | ||
"./use-animation-state": { | ||
"./package.json": "./package.json", | ||
"./*": { | ||
"import": { | ||
"types": "./dist/types/use-animation-state.d.mts", | ||
"default": "./dist/esm/use-animation-state.mjs" | ||
"types": "./dist/types/*.d.ts", | ||
"default": "./dist/esm/*.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-animation-state.d.ts", | ||
"default": "./dist/cjs/use-animation-state.cjs" | ||
"types": "./dist/types/*.d.ts", | ||
"default": "./dist/cjs/*.cjs" | ||
} | ||
}, | ||
"./use-boolean": { | ||
"import": { | ||
"types": "./dist/types/use-boolean.d.mts", | ||
"default": "./dist/esm/use-boolean.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-boolean.d.ts", | ||
"default": "./dist/cjs/use-boolean.cjs" | ||
} | ||
}, | ||
"./use-callback-ref": { | ||
"import": { | ||
"types": "./dist/types/use-callback-ref.d.mts", | ||
"default": "./dist/esm/use-callback-ref.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-callback-ref.d.ts", | ||
"default": "./dist/cjs/use-callback-ref.cjs" | ||
} | ||
}, | ||
"./use-clipboard": { | ||
"import": { | ||
"types": "./dist/types/use-clipboard.d.mts", | ||
"default": "./dist/esm/use-clipboard.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-clipboard.d.ts", | ||
"default": "./dist/cjs/use-clipboard.cjs" | ||
} | ||
}, | ||
"./use-controllable-state": { | ||
"import": { | ||
"types": "./dist/types/use-controllable-state.d.mts", | ||
"default": "./dist/esm/use-controllable-state.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-controllable-state.d.ts", | ||
"default": "./dist/cjs/use-controllable-state.cjs" | ||
} | ||
}, | ||
"./use-counter": { | ||
"import": { | ||
"types": "./dist/types/use-counter.d.mts", | ||
"default": "./dist/esm/use-counter.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-counter.d.ts", | ||
"default": "./dist/cjs/use-counter.cjs" | ||
} | ||
}, | ||
"./use-disclosure": { | ||
"import": { | ||
"types": "./dist/types/use-disclosure.d.mts", | ||
"default": "./dist/esm/use-disclosure.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-disclosure.d.ts", | ||
"default": "./dist/cjs/use-disclosure.cjs" | ||
} | ||
}, | ||
"./use-event-listener": { | ||
"import": { | ||
"types": "./dist/types/use-event-listener.d.mts", | ||
"default": "./dist/esm/use-event-listener.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-event-listener.d.ts", | ||
"default": "./dist/cjs/use-event-listener.cjs" | ||
} | ||
}, | ||
"./use-focus-effect": { | ||
"import": { | ||
"types": "./dist/types/use-focus-effect.d.mts", | ||
"default": "./dist/esm/use-focus-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-focus-effect.d.ts", | ||
"default": "./dist/cjs/use-focus-effect.cjs" | ||
} | ||
}, | ||
"./use-focus-on-pointer-down": { | ||
"import": { | ||
"types": "./dist/types/use-focus-on-pointer-down.d.mts", | ||
"default": "./dist/esm/use-focus-on-pointer-down.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-focus-on-pointer-down.d.ts", | ||
"default": "./dist/cjs/use-focus-on-pointer-down.cjs" | ||
} | ||
}, | ||
"./use-interval": { | ||
"import": { | ||
"types": "./dist/types/use-interval.d.mts", | ||
"default": "./dist/esm/use-interval.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-interval.d.ts", | ||
"default": "./dist/cjs/use-interval.cjs" | ||
} | ||
}, | ||
"./use-latest-ref": { | ||
"import": { | ||
"types": "./dist/types/use-latest-ref.d.mts", | ||
"default": "./dist/esm/use-latest-ref.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-latest-ref.d.ts", | ||
"default": "./dist/cjs/use-latest-ref.cjs" | ||
} | ||
}, | ||
"./use-merge-refs": { | ||
"import": { | ||
"types": "./dist/types/use-merge-refs.d.mts", | ||
"default": "./dist/esm/use-merge-refs.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-merge-refs.d.ts", | ||
"default": "./dist/cjs/use-merge-refs.cjs" | ||
} | ||
}, | ||
"./use-outside-click": { | ||
"import": { | ||
"types": "./dist/types/use-outside-click.d.mts", | ||
"default": "./dist/esm/use-outside-click.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-outside-click.d.ts", | ||
"default": "./dist/cjs/use-outside-click.cjs" | ||
} | ||
}, | ||
"./use-pan-event": { | ||
"import": { | ||
"types": "./dist/types/use-pan-event/index.d.mts", | ||
"default": "./dist/esm/use-pan-event/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-pan-event/index.d.ts", | ||
"default": "./dist/cjs/use-pan-event/index.cjs" | ||
} | ||
}, | ||
"./use-previous": { | ||
"import": { | ||
"types": "./dist/types/use-previous.d.mts", | ||
"default": "./dist/esm/use-previous.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-previous.d.ts", | ||
"default": "./dist/cjs/use-previous.cjs" | ||
} | ||
}, | ||
"./use-safe-layout-effect": { | ||
"import": { | ||
"types": "./dist/types/use-safe-layout-effect.d.mts", | ||
"default": "./dist/esm/use-safe-layout-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-safe-layout-effect.d.ts", | ||
"default": "./dist/cjs/use-safe-layout-effect.cjs" | ||
} | ||
}, | ||
"./use-size": { | ||
"import": { | ||
"types": "./dist/types/use-size.d.mts", | ||
"default": "./dist/esm/use-size.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-size.d.ts", | ||
"default": "./dist/cjs/use-size.cjs" | ||
} | ||
}, | ||
"./use-timeout": { | ||
"import": { | ||
"types": "./dist/types/use-timeout.d.mts", | ||
"default": "./dist/esm/use-timeout.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-timeout.d.ts", | ||
"default": "./dist/cjs/use-timeout.cjs" | ||
} | ||
}, | ||
"./use-update-effect": { | ||
"import": { | ||
"types": "./dist/types/use-update-effect.d.mts", | ||
"default": "./dist/esm/use-update-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-update-effect.d.ts", | ||
"default": "./dist/cjs/use-update-effect.cjs" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
} | ||
}, | ||
@@ -260,0 +70,0 @@ "scripts": { |
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
2276
74914
75
+ Added@chakra-ui/utils@0.0.0-v2-latest-20241002170600(transitive)
- Removed@chakra-ui/utils@0.0.0-v2-latest-20241001130949(transitive)