@react-spectrum/overlays 5.5.3 → 5.5.4

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/import.mjs CHANGED
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import "./main.css";
4
2
  import {Provider as $fQOb3$Provider} from "@react-spectrum/provider";
5
3
  import $fQOb3$react, {useState as $fQOb3$useState, useCallback as $fQOb3$useCallback, useRef as $fQOb3$useRef, forwardRef as $fQOb3$forwardRef} from "react";
@@ -354,17 +352,12 @@ const $17b503f7de08fecc$var$PopoverWrapper = /*#__PURE__*/ (0, $fQOb3$forwardRef
354
352
  arrowBoundaryOffset: borderRadius
355
353
  }, state);
356
354
  let { focusWithinProps: focusWithinProps } = (0, $fQOb3$useFocusWithin)(props);
357
- let onPointerDown = ()=>{
358
- state.close();
359
- };
360
355
  // Attach Transition's nodeRef to outermost wrapper for node.reflow: https://github.com/reactjs/react-transition-group/blob/c89f807067b32eea6f68fd6c622190d88ced82e2/src/Transition.js#L231
361
356
  return /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
362
357
  ref: wrapperRef
363
358
  }, !isNonModal && /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $76a452f4e3df11be$export$f360afc887607b02), {
364
359
  isTransparent: true,
365
- ...(0, $fQOb3$mergeProps)(underlayProps, {
366
- onPointerDown: onPointerDown
367
- }),
360
+ ...(0, $fQOb3$mergeProps)(underlayProps),
368
361
  isOpen: isOpen
369
362
  }), /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
370
363
  ...styleProps,