@fto-consult/expo-ui 6.20.15 → 6.20.17

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.
@@ -1,8 +1,4 @@
1
1
 
2
2
  export default {
3
- dashboard : {
4
- label : "Dashboard",
5
- routeName : "Home",
6
- icon : "home",
7
- }
3
+
8
4
  }
@@ -2,8 +2,8 @@ import Screen from "$eScreen";
2
2
  import Label from "$ecomponents/Label";
3
3
  import { StyleSheet } from "react-native-web";
4
4
  export default function HomeScreen(props){
5
- return <Screen style={[styles.container]}>
6
- <Label style={[styles.label]}>Hello world</Label>
5
+ return <Screen {...props} style={[styles.container,props.style]}>
6
+ <Label style={[styles.label]}>Hello world!</Label>
7
7
  </Screen>
8
8
  }
9
9
 
package/bin/init.js CHANGED
@@ -9,11 +9,7 @@ const electronDir = path.resolve(__dirname,"..","electron");
9
9
  const createIndexFile = require("../electron/create-index-file");
10
10
  const appSuffix = " Desktop";
11
11
 
12
- module.exports = ({
13
- projectRoot,
14
- electronProjectRoot,
15
- paths,
16
- })=>{
12
+ module.exports = ({projectRoot,electronProjectRoot,paths,})=>{
17
13
  return new Promise((resolve,reject)=>{
18
14
  //make shure electron project root exists
19
15
  if(!createDir(electronProjectRoot)){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.20.15",
3
+ "version": "6.20.17",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -62,7 +62,7 @@ export default function HelpScreen(props){
62
62
  const gridStyles = [{width:40,padding:gridPadding},{width:'60%',padding:gridPadding},{width:60,padding:gridPadding},{width:60,padding:gridPadding}];
63
63
  const borderStyle = {borderColor:theme.colors.divider,borderWidth:1,justifyContent:'space-between'};
64
64
  const testID = defaultStr(props.testID,"RN_HelpAboutScreenComponent")
65
- return <Screen withScrollView title={title} {...props} testID={testID+"_Screen"}>
65
+ return <Screen withScrollView title={title} {...props} testID={testID+"_Screen"} contentContainerStyle={[{flex:1},theme.styles.alignItemsCenter,theme.styles.justifyContentCenter]}>
66
66
  <View testID={testID+"_Container"} style={[theme.styles.alignItemsCenter,theme.styles.justifyContentCenter,theme.styles.flex1,theme.styles.w100,theme.styles.p1]}>
67
67
  <Logo testID={testID+"_Logo"} style={{marginRight:10}}/>
68
68
  {getReleaseText()}