@radix-ui/react-use-escape-keydown
Advanced tools
Comparing version 1.0.1 to 1.0.2-rc.1
@@ -13,3 +13,3 @@ var $b0gz3$react = require("react"); | ||
* Listens for when the escape key is down | ||
*/ function $24c84e9f83c4454f$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = document) { | ||
*/ function $24c84e9f83c4454f$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) { | ||
const onEscapeKeyDown = $b0gz3$radixuireactusecallbackref.useCallbackRef(onEscapeKeyDownProp); | ||
@@ -16,0 +16,0 @@ $b0gz3$react.useEffect(()=>{ |
@@ -8,3 +8,3 @@ import {useEffect as $hPSQ5$useEffect} from "react"; | ||
* Listens for when the escape key is down | ||
*/ function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = document) { | ||
*/ function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) { | ||
const onEscapeKeyDown = $hPSQ5$useCallbackRef(onEscapeKeyDownProp); | ||
@@ -11,0 +11,0 @@ $hPSQ5$useEffect(()=>{ |
{ | ||
"name": "@radix-ui/react-use-escape-keydown", | ||
"version": "1.0.1", | ||
"version": "1.0.2-rc.1", | ||
"license": "MIT", | ||
@@ -32,3 +32,4 @@ "source": "src/index.ts", | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
} | ||
}, | ||
"stableVersion": "1.0.1" | ||
} |
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
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
7251
1