Skip to content

Commit

Permalink
update package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Sep 30, 2024
1 parent 63bc2d8 commit cc3b2d9
Show file tree
Hide file tree
Showing 3 changed files with 540 additions and 545 deletions.
55 changes: 27 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,34 +114,33 @@
"emoji-mart": "^5.5.2",
"emoji-regex": "^10.4.0",
"eventemitter3": "^5.0.1",
"expo": "^52.0.0-canary-20240927-ab8a962",
"expo-modules-core": "2.0.0-canary-20240927-ab8a962",
"expo-application": "^6.0.0-canary-20240927-ab8a962",
"expo-blur": "^14.0.0-canary-20240927-ab8a962",
"expo-build-properties": "^1.0.0-canary-20240927-ab8a962",
"expo-camera": "~16.0.0-canary-20240927-ab8a962",
"expo-clipboard": "^7.0.0-canary-20240927-ab8a962",
"expo-dev-client": "^5.0.0-canary-20240927-ab8a962",
"expo-device": "~7.0.0-canary-20240927-ab8a962",
"expo-file-system": "^18.0.0-canary-20240927-ab8a962",
"expo-font": "13.0.0-canary-20240927-ab8a962",
"expo-haptics": "14.0.0-canary-20240927-ab8a962",
"expo-image": "~2.0.0-canary-20240927-ab8a962",
"expo-image-manipulator": "^13.0.0-canary-20240927-ab8a962",
"expo-image-picker": "~16.0.0-canary-20240927-ab8a962",
"expo-linear-gradient": "^14.0.0-canary-20240927-ab8a962",
"expo-linking": "^7.0.0-canary-20240927-ab8a962",
"expo-localization": "~16.0.0-canary-20240927-ab8a962",
"expo-media-library": "~17.0.0-canary-20240927-ab8a962",
"expo-navigation-bar": "~3.0.8-canary-20240927-ab8a962",
"expo-notifications": "1.0.0-canary-20240927-ab8a962",
"expo-sharing": "^13.0.0-canary-20240927-ab8a962",
"expo-splash-screen": "~1.0.0-canary-20240927-ab8a962",
"expo-status-bar": "~1.12.2-canary-20240927-ab8a962",
"expo-system-ui": "~4.0.0-canary-20240927-ab8a962",
"expo-task-manager": "~12.0.0-canary-20240927-ab8a962",
"expo-updates": "1.0.0-canary-20240927-ab8a962",
"expo-web-browser": "14.0.0-canary-20240927-ab8a962",
"expo": "^51.0.34",
"expo-application": "^5.9.1",
"expo-blur": "^13.0.2",
"expo-build-properties": "^0.12.5",
"expo-camera": "~15.0.16",
"expo-clipboard": "^6.0.3",
"expo-dev-client": "^4.0.27",
"expo-device": "~6.0.2",
"expo-file-system": "^17.0.1",
"expo-font": "~12.0.10",
"expo-haptics": "^13.0.1",
"expo-image": "~1.13.0",
"expo-image-manipulator": "^12.0.5",
"expo-image-picker": "~15.0.7",
"expo-linear-gradient": "^13.0.2",
"expo-linking": "^6.3.1",
"expo-localization": "~15.0.3",
"expo-media-library": "~16.0.5",
"expo-navigation-bar": "~3.0.7",
"expo-notifications": "~0.28.17",
"expo-sharing": "^12.0.1",
"expo-splash-screen": "~0.27.6",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"expo-task-manager": "~11.8.2",
"expo-updates": "~0.25.25",
"expo-web-browser": "~13.0.3",
"fast-text-encoding": "^1.0.6",
"history": "^5.3.0",
"hls.js": "^1.5.11",
Expand Down
56 changes: 28 additions & 28 deletions src/components/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import BottomSheet, {
BottomSheetBackdropProps,
BottomSheetFlatList,
BottomSheetFlatListMethods,
BottomSheetScrollView,
BottomSheetScrollViewMethods,
BottomSheetTextInput,
BottomSheetView,
useBottomSheet,
Expand Down Expand Up @@ -240,32 +238,34 @@ export function Inner({children, style}: DialogInnerProps) {
)
}

export const ScrollableInner = React.forwardRef<
BottomSheetScrollViewMethods,
DialogInnerProps
>(function ScrollableInner({children, style}, ref) {
const insets = useSafeAreaInsets()
return (
<BottomSheetScrollView
keyboardShouldPersistTaps="handled"
style={[
a.flex_1, // main diff is this
a.p_xl,
a.h_full,
{
paddingTop: 40,
borderTopLeftRadius: 40,
borderTopRightRadius: 40,
},
style,
]}
contentContainerStyle={a.pb_4xl}
ref={ref}>
{children}
<View style={{height: insets.bottom + a.pt_5xl.paddingTop}} />
</BottomSheetScrollView>
)
})
export const ScrollableInner = Inner

// export const ScrollableInner = React.forwardRef<
// BottomSheetScrollViewMethods,
// DialogInnerProps
// >(function ScrollableInner({children, style}, ref) {
// const insets = useSafeAreaInsets()
// return (
// <BottomSheetScrollView
// keyboardShouldPersistTaps="handled"
// style={[
// a.flex_1, // main diff is this
// a.p_xl,
// a.h_full,
// {
// paddingTop: 40,
// borderTopLeftRadius: 40,
// borderTopRightRadius: 40,
// },
// style,
// ]}
// contentContainerStyle={a.pb_4xl}
// ref={ref}>
// {children}
// <View style={{height: insets.bottom + a.pt_5xl.paddingTop}} />
// </BottomSheetScrollView>
// )
// })

export const InnerFlatList = React.forwardRef<
BottomSheetFlatListMethods,
Expand Down
Loading

0 comments on commit cc3b2d9

Please sign in to comment.