-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hailey/email-verif
- Loading branch information
Showing
55 changed files
with
915 additions
and
4,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1 @@ | ||
import React from 'react' | ||
|
||
import {BottomSheetViewProps} from './BottomSheet.types' | ||
import {BottomSheetNativeComponent} from './BottomSheetNativeComponent' | ||
import {useBottomSheetPortal_INTERNAL} from './BottomSheetPortal' | ||
|
||
export const BottomSheet = React.forwardRef< | ||
BottomSheetNativeComponent, | ||
BottomSheetViewProps | ||
>(function BottomSheet(props, ref) { | ||
const Portal = useBottomSheetPortal_INTERNAL() | ||
|
||
if (__DEV__ && !Portal) { | ||
throw new Error( | ||
'BottomSheet: You need to wrap your component tree with a <BottomSheetPortalProvider> to use the bottom sheet.', | ||
) | ||
} | ||
|
||
return ( | ||
<Portal> | ||
<BottomSheetNativeComponent {...props} ref={ref} /> | ||
</Portal> | ||
) | ||
}) | ||
export {BottomSheetNativeComponent as BottomSheet} from './BottomSheetNativeComponent' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "1.94.0", | ||
"private": true, | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20" | ||
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
|
@@ -103,7 +103,7 @@ | |
"@tiptap/suggestion": "^2.6.6", | ||
"@types/invariant": "^2.2.37", | ||
"@types/lodash.throttle": "^4.1.9", | ||
"@types/node": "^18.16.2", | ||
"@types/node": "^20.14.3", | ||
"@zxing/text-encoding": "^0.9.0", | ||
"array.prototype.findlast": "^1.2.3", | ||
"await-lock": "^2.2.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.