@economic/taco 2.65.0-alt-tab-popover-focus.0 → 2.65.0-test-arrow-navigation.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/taco.cjs CHANGED
@@ -25766,13 +25766,6 @@ const Dialog = React__namespace.forwardRef(function Dialog2(props, ref) {
25766
25766
  }),
25767
25767
  [closeOnEscape, drawerOpen, draggable, drawer, extra, open, otherProps, showCloseButton]
25768
25768
  );
25769
- React__namespace.useEffect(() => {
25770
- const onFocusOut = (event) => {
25771
- event.stopImmediatePropagation();
25772
- };
25773
- document.addEventListener("focusout", onFocusOut);
25774
- return () => document.removeEventListener("focusout", onFocusOut);
25775
- }, []);
25776
25769
  return /* @__PURE__ */ React__namespace.createElement(DialogContext.Provider, { value: context }, /* @__PURE__ */ React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { defaultOpen, open, onOpenChange: onChange }, trigger && /* @__PURE__ */ React__namespace.createElement(Trigger$4, null, trigger), children));
25777
25770
  });
25778
25771
  Dialog.Trigger = Trigger$4;