@zag-js/popover 1.26.5 → 1.27.1

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 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.26.5",
3
+ "version": "1.27.1",
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/anatomy": "1.26.5",
30
- "@zag-js/aria-hidden": "1.26.5",
31
- "@zag-js/core": "1.26.5",
32
- "@zag-js/dom-query": "1.26.5",
33
- "@zag-js/utils": "1.26.5",
34
- "@zag-js/dismissable": "1.26.5",
35
- "@zag-js/popper": "1.26.5",
36
- "@zag-js/remove-scroll": "1.26.5",
37
- "@zag-js/types": "1.26.5",
38
- "@zag-js/focus-trap": "1.26.5"
29
+ "@zag-js/anatomy": "1.27.1",
30
+ "@zag-js/aria-hidden": "1.27.1",
31
+ "@zag-js/core": "1.27.1",
32
+ "@zag-js/dom-query": "1.27.1",
33
+ "@zag-js/utils": "1.27.1",
34
+ "@zag-js/dismissable": "1.27.1",
35
+ "@zag-js/popper": "1.27.1",
36
+ "@zag-js/remove-scroll": "1.27.1",
37
+ "@zag-js/types": "1.27.1",
38
+ "@zag-js/focus-trap": "1.27.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "clean-package": "2.2.0"