@zag-js/popover 1.26.5 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -331,6 +331,7 @@ var machine = core.createMachine({
|
|
|
331
331
|
return domQuery.proxyTabFocus(getContentEl2, {
|
|
332
332
|
triggerElement: getTriggerEl(scope),
|
|
333
333
|
defer: true,
|
|
334
|
+
getShadowRoot: true,
|
|
334
335
|
onFocus(el) {
|
|
335
336
|
el.focus({ preventScroll: true });
|
|
336
337
|
}
|
|
@@ -353,7 +354,8 @@ var machine = core.createMachine({
|
|
|
353
354
|
root: getContentEl(scope),
|
|
354
355
|
getInitialEl: prop("initialFocusEl"),
|
|
355
356
|
enabled: prop("autoFocus")
|
|
356
|
-
})
|
|
357
|
+
}),
|
|
358
|
+
getShadowRoot: true
|
|
357
359
|
});
|
|
358
360
|
}
|
|
359
361
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -329,6 +329,7 @@ var machine = createMachine({
|
|
|
329
329
|
return proxyTabFocus(getContentEl2, {
|
|
330
330
|
triggerElement: getTriggerEl(scope),
|
|
331
331
|
defer: true,
|
|
332
|
+
getShadowRoot: true,
|
|
332
333
|
onFocus(el) {
|
|
333
334
|
el.focus({ preventScroll: true });
|
|
334
335
|
}
|
|
@@ -351,7 +352,8 @@ var machine = createMachine({
|
|
|
351
352
|
root: getContentEl(scope),
|
|
352
353
|
getInitialEl: prop("initialFocusEl"),
|
|
353
354
|
enabled: prop("autoFocus")
|
|
354
|
-
})
|
|
355
|
+
}),
|
|
356
|
+
getShadowRoot: true
|
|
355
357
|
});
|
|
356
358
|
}
|
|
357
359
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/popover",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "Core logic for the popover widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@zag-js/
|
|
30
|
-
"@zag-js/
|
|
31
|
-
"@zag-js/
|
|
32
|
-
"@zag-js/
|
|
33
|
-
"@zag-js/
|
|
34
|
-
"@zag-js/
|
|
35
|
-
"@zag-js/
|
|
36
|
-
"@zag-js/
|
|
37
|
-
"@zag-js/
|
|
38
|
-
"@zag-js/
|
|
29
|
+
"@zag-js/core": "1.27.0",
|
|
30
|
+
"@zag-js/dom-query": "1.27.0",
|
|
31
|
+
"@zag-js/utils": "1.27.0",
|
|
32
|
+
"@zag-js/dismissable": "1.27.0",
|
|
33
|
+
"@zag-js/popper": "1.27.0",
|
|
34
|
+
"@zag-js/remove-scroll": "1.27.0",
|
|
35
|
+
"@zag-js/types": "1.27.0",
|
|
36
|
+
"@zag-js/focus-trap": "1.27.0",
|
|
37
|
+
"@zag-js/aria-hidden": "1.27.0",
|
|
38
|
+
"@zag-js/anatomy": "1.27.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"clean-package": "2.2.0"
|