Bump react-native to 0.73.1, expo to 50 (#2214)
* Bump to react-native@0.73, bump expo@next Includes bumps for all expo deps and dev dependencies. Updates react-native patch and others, and removes the babel-preset-expo patch. * Remove duplicate Splash ref * Bump more deps * Properly install expo-notifications * Bump webview dep * Bump packages according to expo fix; remove pager-view patch as it is no longer needed * Don't access expo-camera from Web * Fix crypto dep on web * Fix some type issues * Build esnext modules to support dynamic imports --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
parent
7d6b7d2fa6
commit
93f5bb3b1f
20 changed files with 1783 additions and 1225 deletions
|
@ -96,6 +96,7 @@ const styles = StyleSheet.create({
|
|||
},
|
||||
trigger: {
|
||||
backgroundColor: 'transparent',
|
||||
// @ts-ignore web only -prf
|
||||
border: 'none',
|
||||
paddingTop: 4,
|
||||
paddingLeft: 12,
|
||||
|
|
|
@ -221,6 +221,7 @@ const styles = StyleSheet.create({
|
|||
paddingBottom: 5,
|
||||
paddingLeft: 10,
|
||||
borderTopWidth: 1,
|
||||
// @ts-ignore web only -prf
|
||||
cursor: 'pointer',
|
||||
},
|
||||
layout: {
|
||||
|
|
|
@ -364,6 +364,7 @@ const styles = StyleSheet.create({
|
|||
borderTopWidth: 1,
|
||||
paddingLeft: 10,
|
||||
paddingRight: 15,
|
||||
// @ts-ignore web only -prf
|
||||
cursor: 'pointer',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
|
|
|
@ -30,6 +30,7 @@ export function H1({children}: React.PropsWithChildren<{}>) {
|
|||
const styles = useStyles()
|
||||
const pal = usePalette('default')
|
||||
const typography = useTheme().typography['title-xl']
|
||||
// @ts-ignore Expo's TextStyle definition seems to have gotten away from RN's -prf
|
||||
return <ExpoH1 style={[typography, pal.text, styles.h1]}>{children}</ExpoH1>
|
||||
}
|
||||
|
||||
|
@ -37,6 +38,7 @@ export function H2({children}: React.PropsWithChildren<{}>) {
|
|||
const styles = useStyles()
|
||||
const pal = usePalette('default')
|
||||
const typography = useTheme().typography['title-lg']
|
||||
// @ts-ignore Expo's TextStyle definition seems to have gotten away from RN's -prf
|
||||
return <ExpoH2 style={[typography, pal.text, styles.h2]}>{children}</ExpoH2>
|
||||
}
|
||||
|
||||
|
@ -44,6 +46,7 @@ export function H3({children}: React.PropsWithChildren<{}>) {
|
|||
const styles = useStyles()
|
||||
const pal = usePalette('default')
|
||||
const typography = useTheme().typography.title
|
||||
// @ts-ignore Expo's TextStyle definition seems to have gotten away from RN's -prf
|
||||
return <ExpoH3 style={[typography, pal.text, styles.h3]}>{children}</ExpoH3>
|
||||
}
|
||||
|
||||
|
@ -51,6 +54,7 @@ export function H4({children}: React.PropsWithChildren<{}>) {
|
|||
const styles = useStyles()
|
||||
const pal = usePalette('default')
|
||||
const typography = useTheme().typography['title-sm']
|
||||
// @ts-ignore Expo's TextStyle definition seems to have gotten away from RN's -prf
|
||||
return <ExpoH4 style={[typography, pal.text, styles.h4]}>{children}</ExpoH4>
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue