@aria-ui/presence
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -16,8 +16,10 @@ // src/use-presence.ts | ||
}; | ||
const initialPresent = present.peek(); | ||
if (initialPresent) { | ||
show(); | ||
} else { | ||
hide(); | ||
} | ||
useEffect(element, () => { | ||
const initialPresent = present.peek(); | ||
if (initialPresent) { | ||
show(); | ||
} else { | ||
hide(); | ||
} | ||
}); | ||
const handlePresentChange = (presentValue) => { | ||
@@ -24,0 +26,0 @@ const style = getComputedStyle(element); |
{ | ||
"name": "@aria-ui/presence", | ||
"type": "module", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"private": false, | ||
@@ -12,3 +12,3 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@aria-ui/core": "^0.0.8" | ||
"@aria-ui/core": "^0.0.9" | ||
}, | ||
@@ -15,0 +15,0 @@ "devDependencies": { |
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
3208
62
+ Added@aria-ui/core@0.0.9(transitive)
- Removed@aria-ui/core@0.0.8(transitive)
Updated@aria-ui/core@^0.0.9