@boneframework/native-components 1.0.11 → 1.0.13
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.
|
@@ -35,7 +35,7 @@ function ActivityIndicator({ visible = false , type="default"}) {
|
|
|
35
35
|
return (
|
|
36
36
|
<View style={style}>
|
|
37
37
|
<Animation
|
|
38
|
-
source={require
|
|
38
|
+
source={require('../../../../assets/animations/loader.json')}
|
|
39
39
|
autoPlay={true}
|
|
40
40
|
loop={true}
|
|
41
41
|
style={{height: 100, width: 100, opacity: 1}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boneframework/native-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Expo Components for Bone Framework",
|
|
5
5
|
"main": "src/Bone.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@react-native-community/datetimepicker": "^8.2.0",
|
|
34
34
|
"apisauce": "^3.0.1",
|
|
35
35
|
"expo-auth-session": "^5.5.2",
|
|
36
|
+
"expo-camera": "^15.0.13",
|
|
36
37
|
"expo-image-picker": "^15.0.7",
|
|
37
38
|
"expo-secure-store": "^13.0.2",
|
|
38
39
|
"formik": "^2.4.6",
|
|
@@ -39,12 +39,12 @@ function RegisterScreen({postRegisterUrl}) {
|
|
|
39
39
|
return (
|
|
40
40
|
<>
|
|
41
41
|
<ActivityIndicator visible={registerApi.loading} type={'overlay'}/>
|
|
42
|
-
<ImageBackground blurRadius={10} style={styles.background} source={require
|
|
42
|
+
<ImageBackground blurRadius={10} style={styles.background} source={require('../../../../assets/background.png')} >
|
|
43
43
|
<View style={styles.container}>
|
|
44
44
|
<TouchableOpacity style={styles.cancelButton} onPress={onClose}>
|
|
45
45
|
<Icon size={75} name={'close'} />
|
|
46
46
|
</TouchableOpacity>
|
|
47
|
-
<Image style={styles.logo} source={require
|
|
47
|
+
<Image style={styles.logo} source={require('../../../../assets/logo.png')} />
|
|
48
48
|
|
|
49
49
|
<Form
|
|
50
50
|
initialValues={{ email: ''}}
|
|
@@ -7,9 +7,9 @@ import colors from '../../../../config/colors'
|
|
|
7
7
|
|
|
8
8
|
function WelcomeScreen({loginOnPress = () => {}, registerOnPress = () => {}, title = 'BONE FRAMEWORK'}) {
|
|
9
9
|
return (
|
|
10
|
-
<ImageBackground blurRadius={10} style={styles.background} source={require
|
|
10
|
+
<ImageBackground blurRadius={10} style={styles.background} source={require('../../../../assets/background.png')} >
|
|
11
11
|
<View style={styles.logoContainer}>
|
|
12
|
-
<Image style={styles.logo} source={require
|
|
12
|
+
<Image style={styles.logo} source={require('../../../../assets/logo.png')} />
|
|
13
13
|
<Text style={styles.tagline}>{ title }</Text>
|
|
14
14
|
</View>
|
|
15
15
|
<View style={styles.buttonContainer}>
|