@transferwise/components 45.19.5 → 45.19.6

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.
@@ -6379,9 +6379,7 @@ function BottomSheet({
6379
6379
  }
6380
6380
  }
6381
6381
  });
6382
- const dismiss = useDismiss(context, {
6383
- outsidePressEvent: 'mousedown'
6384
- });
6382
+ const dismiss = useDismiss(context);
6385
6383
  const role = useRole(context);
6386
6384
  const {
6387
6385
  getReferenceProps,
@@ -6415,20 +6413,20 @@ function BottomSheet({
6415
6413
  children: /*#__PURE__*/jsx("div", {
6416
6414
  className: "np-bottom-sheet-v2-backdrop"
6417
6415
  })
6418
- }), /*#__PURE__*/jsx(FocusBoundary, {
6419
- children: /*#__PURE__*/jsx(FloatingFocusManager, {
6420
- context: context,
6421
- initialFocus: initialFocusRef,
6422
- guards: false,
6423
- modal: false,
6424
- children: /*#__PURE__*/jsx("div", {
6425
- className: "np-bottom-sheet-v2",
6426
- children: /*#__PURE__*/jsx(Transition.Child, {
6427
- className: "np-bottom-sheet-v2-content",
6428
- enter: "np-bottom-sheet-v2-content--enter",
6429
- enterFrom: "np-bottom-sheet-v2-content--enter-from",
6430
- leave: "np-bottom-sheet-v2-content--leave",
6431
- leaveTo: "np-bottom-sheet-v2-content--leave-to",
6416
+ }), /*#__PURE__*/jsx("div", {
6417
+ className: "np-bottom-sheet-v2",
6418
+ children: /*#__PURE__*/jsx(Transition.Child, {
6419
+ className: "np-bottom-sheet-v2-content",
6420
+ enter: "np-bottom-sheet-v2-content--enter",
6421
+ enterFrom: "np-bottom-sheet-v2-content--enter-from",
6422
+ leave: "np-bottom-sheet-v2-content--leave",
6423
+ leaveTo: "np-bottom-sheet-v2-content--leave-to",
6424
+ children: /*#__PURE__*/jsx(FocusBoundary, {
6425
+ children: /*#__PURE__*/jsx(FloatingFocusManager, {
6426
+ context: context,
6427
+ initialFocus: initialFocusRef,
6428
+ guards: false,
6429
+ modal: false,
6432
6430
  children: /*#__PURE__*/jsxs("div", {
6433
6431
  // Force inner state invalidation on open
6434
6432
  ref: refs.setFloating,
@@ -6526,9 +6524,7 @@ function Popover({
6526
6524
  }
6527
6525
  }
6528
6526
  });
6529
- const dismiss = useDismiss(context, {
6530
- outsidePressEvent: 'mousedown'
6531
- });
6527
+ const dismiss = useDismiss(context);
6532
6528
  const role = useRole(context);
6533
6529
  const {
6534
6530
  getReferenceProps,