@aria-ui/popover
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -9,3 +9,4 @@ // src/popover-content.element.gen.ts | ||
useAttribute, | ||
useEffect | ||
useEffect, | ||
useAnimationFrame | ||
} from "@aria-ui/core"; | ||
@@ -110,3 +111,3 @@ import { useOverlayPositioner } from "@aria-ui/overlay"; | ||
let previousOpenValue = open.peek(); | ||
useEffect(element, () => { | ||
useAnimationFrame(element, () => { | ||
const openValue = open.value; | ||
@@ -117,3 +118,3 @@ const shouldFocus = openValue && !previousOpenValue; | ||
return; | ||
const id = requestAnimationFrame(() => { | ||
return () => { | ||
var _a; | ||
@@ -123,4 +124,3 @@ if (open.peek()) { | ||
} | ||
}); | ||
return () => cancelAnimationFrame(id); | ||
}; | ||
}); | ||
@@ -127,0 +127,0 @@ } |
{ | ||
"name": "@aria-ui/popover", | ||
"type": "module", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"private": false, | ||
@@ -12,11 +12,11 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@aria-ui/core": "^0.0.9", | ||
"@aria-ui/overlay": "^0.0.9", | ||
"@aria-ui/presence": "^0.0.4", | ||
"@zag-js/dismissable": "^0.41.0", | ||
"@zag-js/tabbable": "^0.41.0" | ||
"@aria-ui/core": "^0.0.10", | ||
"@aria-ui/overlay": "^0.0.10", | ||
"@aria-ui/presence": "^0.0.5", | ||
"@zag-js/dismissable": "^0.45.0", | ||
"@zag-js/tabbable": "^0.45.0" | ||
}, | ||
"devDependencies": { | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.3" | ||
"typescript": "^5.4.4" | ||
}, | ||
@@ -23,0 +23,0 @@ "publishConfig": { |
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
27303
+ Added@aria-ui/core@0.0.10(transitive)
+ Added@aria-ui/overlay@0.0.10(transitive)
+ Added@aria-ui/presence@0.0.5(transitive)
+ Added@zag-js/dismissable@0.45.0(transitive)
+ Added@zag-js/dom-event@0.45.0(transitive)
+ Added@zag-js/dom-query@0.45.0(transitive)
+ Added@zag-js/interact-outside@0.45.0(transitive)
+ Added@zag-js/tabbable@0.45.0(transitive)
+ Added@zag-js/text-selection@0.45.0(transitive)
+ Added@zag-js/types@0.45.0(transitive)
+ Added@zag-js/utils@0.45.0(transitive)
- Removed@aria-ui/core@0.0.9(transitive)
- Removed@aria-ui/overlay@0.0.9(transitive)
- Removed@aria-ui/presence@0.0.4(transitive)
- Removed@zag-js/dismissable@0.41.0(transitive)
- Removed@zag-js/dom-event@0.41.0(transitive)
- Removed@zag-js/dom-query@0.41.0(transitive)
- Removed@zag-js/interact-outside@0.41.0(transitive)
- Removed@zag-js/tabbable@0.41.0(transitive)
- Removed@zag-js/text-selection@0.41.0(transitive)
- Removed@zag-js/types@0.41.0(transitive)
- Removed@zag-js/utils@0.41.0(transitive)
Updated@aria-ui/core@^0.0.10
Updated@aria-ui/overlay@^0.0.10
Updated@aria-ui/presence@^0.0.5
Updated@zag-js/dismissable@^0.45.0
Updated@zag-js/tabbable@^0.45.0