@chakra-ui/react-utils
Advanced tools
Comparing version 1.2.3 to 2.0.0-next.0
@@ -1,3 +0,3 @@ | ||
/// <reference types="react" /> | ||
declare type ReactRef<T> = React.Ref<T> | React.RefObject<T> | React.MutableRefObject<T>; | ||
import * as React from "react"; | ||
export declare type ReactRef<T> = React.Ref<T> | React.RefObject<T> | React.MutableRefObject<T>; | ||
/** | ||
@@ -18,3 +18,2 @@ * Assigns a value to a ref function or object | ||
export declare function mergeRefs<T>(...refs: (ReactRef<T> | undefined)[]): (node: T | null) => void; | ||
export {}; | ||
//# sourceMappingURL=refs.d.ts.map |
{ | ||
"name": "@chakra-ui/react-utils", | ||
"version": "1.2.3", | ||
"version": "2.0.0-next.0", | ||
"description": "React utilities and helpers for Chakra UI", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/utils": "^1.10.4" | ||
"@chakra-ui/utils": "^2.0.0-next.0" | ||
}, | ||
@@ -41,4 +41,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"react": "^17.0.1" | ||
"react": "^18.0.0" | ||
} | ||
} |
@@ -0,4 +1,8 @@ | ||
import * as React from "react" | ||
import { isFunction } from "@chakra-ui/utils" | ||
type ReactRef<T> = React.Ref<T> | React.RefObject<T> | React.MutableRefObject<T> | ||
export type ReactRef<T> = | ||
| React.Ref<T> | ||
| React.RefObject<T> | ||
| React.MutableRefObject<T> | ||
@@ -5,0 +9,0 @@ /** |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
19126
468
1
+ Added@chakra-ui/utils@2.0.15(transitive)
+ Added@types/lodash.mergewith@4.6.7(transitive)
+ Addedframesync@6.1.2(transitive)
+ Addedtslib@2.4.0(transitive)
- Removed@chakra-ui/utils@1.10.4(transitive)
- Removed@types/lodash.mergewith@4.6.6(transitive)
- Removedframesync@5.3.0(transitive)
- Removedtslib@2.7.0(transitive)