@fto-consult/expo-ui 8.4.4 → 8.4.5
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.
@@ -22,4 +22,7 @@ export default {
|
|
22
22
|
},
|
23
23
|
//retourne le pseudo de l'utilisateur, s'il y en a
|
24
24
|
getUserPseudo: (user) => user.pseudo,
|
25
|
+
getUserFirstName : (user)=>user.firstName,
|
26
|
+
getUserLastName : (user)=>user.lastName,
|
27
|
+
getUserFullName : (user)=> user.fullName || `${user.firstName && user.firstName ||''}${user.lastName && ` ${user.lastName}` ||''}`
|
25
28
|
}
|
package/bin/create-app.js
CHANGED
@@ -108,10 +108,10 @@ const createAPPJSONFile = (projectRoot,{name,version})=>{
|
|
108
108
|
} catch{};
|
109
109
|
}
|
110
110
|
const imagePluginOptions = {
|
111
|
-
"photosPermission": `Autoriser $(PRODUCT_NAME)
|
112
|
-
"cameraPermission" : `Autoriser $(PRODUCT_NAME)
|
111
|
+
"photosPermission": `Autoriser $(PRODUCT_NAME) à accéder à vos photos.`,
|
112
|
+
"cameraPermission" : `Autoriser $(PRODUCT_NAME) à accéder à votre camera`
|
113
113
|
}, cameraPluginsOptions = {
|
114
|
-
"cameraPermission" : `Autoriser $(PRODUCT_NAME)
|
114
|
+
"cameraPermission" : `Autoriser $(PRODUCT_NAME) à accéder à votre camera`
|
115
115
|
};
|
116
116
|
const plugins = [
|
117
117
|
["expo-image-picker",imagePluginOptions],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.4.
|
3
|
+
"version": "8.4.5",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -72,10 +72,9 @@
|
|
72
72
|
"@expo/html-elements": "^0.5.1",
|
73
73
|
"@expo/vector-icons": "^14.0.0",
|
74
74
|
"@faker-js/faker": "^8.0.2",
|
75
|
-
"@fto-consult/common": "^4.
|
75
|
+
"@fto-consult/common": "^4.11.0",
|
76
76
|
"@fto-consult/node-utils": "^1.4.7",
|
77
77
|
"@pchmn/expo-material3-theme": "^1.3.2",
|
78
|
-
"@react-native-async-storage/async-storage": "1.21.0",
|
79
78
|
"@react-native-community/datetimepicker": "7.6.1",
|
80
79
|
"@react-native-community/netinfo": "11.1.0",
|
81
80
|
"@react-native/assets-registry": "^0.72.0",
|