@zag-js/popover
Advanced tools
Comparing version 0.0.0-dev-20220501082053 to 0.0.0-dev-20220504084708
@@ -922,3 +922,3 @@ var __defProp = Object.defineProperty; | ||
focusContent(ctx2) { | ||
nextTick(() => { | ||
raf(() => { | ||
var _a; | ||
@@ -929,3 +929,3 @@ (_a = dom.getContentEl(ctx2)) == null ? void 0 : _a.focus(); | ||
setInitialFocus(ctx2) { | ||
nextTick(() => { | ||
raf(() => { | ||
var _a; | ||
@@ -936,3 +936,3 @@ (_a = dom.getInitialFocusEl(ctx2)) == null ? void 0 : _a.focus(); | ||
focusTrigger(ctx2) { | ||
nextTick(() => { | ||
raf(() => { | ||
var _a; | ||
@@ -972,3 +972,3 @@ (_a = dom.getTriggerEl(ctx2)) == null ? void 0 : _a.focus(); | ||
evt.preventDefault(); | ||
nextTick(() => elementAfterTrigger == null ? void 0 : elementAfterTrigger.focus()); | ||
raf(() => elementAfterTrigger == null ? void 0 : elementAfterTrigger.focus()); | ||
} | ||
@@ -975,0 +975,0 @@ } |
{ | ||
"name": "@zag-js/popover", | ||
"version": "0.0.0-dev-20220501082053", | ||
"version": "0.0.0-dev-20220504084708", | ||
"description": "Core logic for the popover widget implemented as a state machine", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/core": "0.0.0-dev-20220501082053", | ||
"@zag-js/core": "0.0.0-dev-20220504084708", | ||
"@zag-js/dom-utils": "0.1.0", | ||
@@ -35,0 +35,0 @@ "@zag-js/types": "0.1.0", |
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
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
314313
+ Added@zag-js/core@0.0.0-dev-20220504084708(transitive)
- Removed@zag-js/core@0.0.0-dev-20220501082053(transitive)