@driveflux/ui 1.1.3 → 1.1.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetProvider.d.ts","sourceRoot":"","sources":["../../src/bottom-sheet/BottomSheetProvider.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"BottomSheetProvider.d.ts","sourceRoot":"","sources":["../../src/bottom-sheet/BottomSheetProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,EAAE,EACP,KAAK,iBAAiB,EAKtB,MAAM,OAAO,CAAA;AAed,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CA4H9C,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -56,6 +56,7 @@ var BottomSheetProvider = function(param) {
|
|
|
56
56
|
var _useDisclosure = useDisclosure(), isOpen = _useDisclosure.isOpen, onClose = _useDisclosure.onClose, onOpen = _useDisclosure.onOpen;
|
|
57
57
|
var _useState = _sliced_to_array(useState(null), 2), options = _useState[0], setOptions = _useState[1];
|
|
58
58
|
var anchorY = useRef(0);
|
|
59
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: <explanation>
|
|
59
60
|
var open = useCallback(function(options) {
|
|
60
61
|
if (!isMobile(navigator) && !options.showOnDesktop) {
|
|
61
62
|
console.log('isMobile(navigator)', isMobile(navigator));
|
|
@@ -108,7 +109,8 @@ var BottomSheetProvider = function(param) {
|
|
|
108
109
|
direction: 'bottom',
|
|
109
110
|
in: isOpen,
|
|
110
111
|
style: {
|
|
111
|
-
zIndex: 1500
|
|
112
|
+
zIndex: 1500,
|
|
113
|
+
position: 'fixed'
|
|
112
114
|
},
|
|
113
115
|
children: /*#__PURE__*/ _jsxs(Box, {
|
|
114
116
|
background: colors.white,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
"@chakra-ui/react": "^2.8.2",
|
|
40
40
|
"@driveflux/icons": "1.1.2",
|
|
41
41
|
"@driveflux/singleton": "1.1.2",
|
|
42
|
+
"framer-motion": "^11.3.17",
|
|
43
|
+
"@emotion/react": "^11.13.0",
|
|
44
|
+
"@emotion/styled": "^11.13.0",
|
|
42
45
|
"lodash": "^4.17.21"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
@@ -48,13 +51,13 @@
|
|
|
48
51
|
"@driveflux/tsconfig": "1.1.2",
|
|
49
52
|
"@lingui/macro": "^4.11.2",
|
|
50
53
|
"@swc/cli": "^0.4.0",
|
|
51
|
-
"@swc/core": "1.7.
|
|
54
|
+
"@swc/core": "1.7.2",
|
|
52
55
|
"@types/lodash": "^4.17.7",
|
|
53
|
-
"@types/node": "^20.14.
|
|
56
|
+
"@types/node": "^20.14.12",
|
|
54
57
|
"@types/react": "^18.3.3",
|
|
55
58
|
"del-cli": "^5.1.0",
|
|
56
|
-
"type-fest": "^4.
|
|
57
|
-
"typescript": "^5.5.
|
|
59
|
+
"type-fest": "^4.23.0",
|
|
60
|
+
"typescript": "^5.5.4"
|
|
58
61
|
},
|
|
59
62
|
"peerDependencies": {
|
|
60
63
|
"next": "^14.2.5",
|