@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.js
CHANGED
|
@@ -6413,9 +6413,7 @@ function BottomSheet({
|
|
|
6413
6413
|
}
|
|
6414
6414
|
}
|
|
6415
6415
|
});
|
|
6416
|
-
const dismiss = react.useDismiss(context
|
|
6417
|
-
outsidePressEvent: 'mousedown'
|
|
6418
|
-
});
|
|
6416
|
+
const dismiss = react.useDismiss(context);
|
|
6419
6417
|
const role = react.useRole(context);
|
|
6420
6418
|
const {
|
|
6421
6419
|
getReferenceProps,
|
|
@@ -6449,20 +6447,20 @@ function BottomSheet({
|
|
|
6449
6447
|
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6450
6448
|
className: "np-bottom-sheet-v2-backdrop"
|
|
6451
6449
|
})
|
|
6452
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6450
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6451
|
+
className: "np-bottom-sheet-v2",
|
|
6452
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
|
|
6453
|
+
className: "np-bottom-sheet-v2-content",
|
|
6454
|
+
enter: "np-bottom-sheet-v2-content--enter",
|
|
6455
|
+
enterFrom: "np-bottom-sheet-v2-content--enter-from",
|
|
6456
|
+
leave: "np-bottom-sheet-v2-content--leave",
|
|
6457
|
+
leaveTo: "np-bottom-sheet-v2-content--leave-to",
|
|
6458
|
+
children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary, {
|
|
6459
|
+
children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
|
|
6460
|
+
context: context,
|
|
6461
|
+
initialFocus: initialFocusRef,
|
|
6462
|
+
guards: false,
|
|
6463
|
+
modal: false,
|
|
6466
6464
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
6467
6465
|
// Force inner state invalidation on open
|
|
6468
6466
|
ref: refs.setFloating,
|
|
@@ -6560,9 +6558,7 @@ function Popover({
|
|
|
6560
6558
|
}
|
|
6561
6559
|
}
|
|
6562
6560
|
});
|
|
6563
|
-
const dismiss = react.useDismiss(context
|
|
6564
|
-
outsidePressEvent: 'mousedown'
|
|
6565
|
-
});
|
|
6561
|
+
const dismiss = react.useDismiss(context);
|
|
6566
6562
|
const role = react.useRole(context);
|
|
6567
6563
|
const {
|
|
6568
6564
|
getReferenceProps,
|