@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.
- package/build/index.esm.js +16 -20
- package/build/index.esm.js.map +1 -1
- package/build/index.js +16 -20
- package/build/index.js.map +1 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -1
- package/build/types/inputs/_Popover.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/inputs/_BottomSheet.tsx +18 -20
- package/src/inputs/_Popover.tsx +1 -3
package/build/index.esm.js
CHANGED
|
@@ -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(
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
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,
|