@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.js CHANGED
@@ -25748,13 +25748,6 @@ const Dialog = React.forwardRef(function Dialog2(props, ref) {
25748
25748
  }),
25749
25749
  [closeOnEscape, drawerOpen, draggable, drawer, extra, open, otherProps, showCloseButton]
25750
25750
  );
25751
- React.useEffect(() => {
25752
- const onFocusOut = (event) => {
25753
- event.stopImmediatePropagation();
25754
- };
25755
- document.addEventListener("focusout", onFocusOut);
25756
- return () => document.removeEventListener("focusout", onFocusOut);
25757
- }, []);
25758
25751
  return /* @__PURE__ */ React.createElement(DialogContext.Provider, { value: context }, /* @__PURE__ */ React.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { defaultOpen, open, onOpenChange: onChange }, trigger && /* @__PURE__ */ React.createElement(Trigger$4, null, trigger), children));
25759
25752
  });
25760
25753
  Dialog.Trigger = Trigger$4;