@react-aria/utils
Advanced tools
Comparing version 3.0.0-nightly.693 to 3.0.0-nightly.697
@@ -620,3 +620,9 @@ var _clsx = $parcel$interopDefault(require("clsx")); | ||
$a39a8553a97349a69bcc0255658c67ab$var$setupGlobalEvents(); | ||
if (typeof document !== 'undefined') { | ||
if (document.readyState !== 'loading') { | ||
$a39a8553a97349a69bcc0255658c67ab$var$setupGlobalEvents(); | ||
} else { | ||
document.addEventListener('DOMContentLoaded', $a39a8553a97349a69bcc0255658c67ab$var$setupGlobalEvents); | ||
} | ||
} | ||
@@ -623,0 +629,0 @@ function runAfterTransition(fn) { |
@@ -572,3 +572,10 @@ import _clsx from "clsx"; | ||
$b3e8d5c5f32fa26afa6df1b81f09b6b8$var$setupGlobalEvents(); | ||
if (typeof document !== 'undefined') { | ||
if (document.readyState !== 'loading') { | ||
$b3e8d5c5f32fa26afa6df1b81f09b6b8$var$setupGlobalEvents(); | ||
} else { | ||
document.addEventListener('DOMContentLoaded', $b3e8d5c5f32fa26afa6df1b81f09b6b8$var$setupGlobalEvents); | ||
} | ||
} | ||
export function runAfterTransition(fn) { | ||
@@ -575,0 +582,0 @@ // Wait one frame to see if an animation starts, e.g. a transition on mount. |
{ | ||
"name": "@react-aria/utils", | ||
"version": "3.0.0-nightly.693+9d3b925e", | ||
"version": "3.0.0-nightly.697+b8e7a96e", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,4 +21,4 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/ssr": "3.0.1-nightly.2371+9d3b925e", | ||
"@react-types/shared": "3.0.0-nightly.693+9d3b925e", | ||
"@react-aria/ssr": "3.0.1-nightly.2375+b8e7a96e", | ||
"@react-types/shared": "3.0.0-nightly.697+b8e7a96e", | ||
"clsx": "^1.1.1" | ||
@@ -32,3 +32,3 @@ }, | ||
}, | ||
"gitHead": "9d3b925ee5bbea9d63db95a53a32d03e9a1a686e" | ||
"gitHead": "b8e7a96e0b55f9875146f58484f97a1d9c1b04d8" | ||
} |
@@ -74,3 +74,9 @@ /* | ||
setupGlobalEvents(); | ||
if (typeof document !== 'undefined') { | ||
if (document.readyState !== 'loading') { | ||
setupGlobalEvents(); | ||
} else { | ||
document.addEventListener('DOMContentLoaded', setupGlobalEvents); | ||
} | ||
} | ||
@@ -77,0 +83,0 @@ export function runAfterTransition(fn: () => void) { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
167740
1766