@fto-consult/expo-ui 7.4.13 → 7.4.15

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,6 +1,7 @@
1
1
  const fs = require("fs");
2
2
  const writeFile = require("../electron/utils/writeFile");
3
3
  const path = require("path");
4
+ const packageJSON = require("../package.json");
4
5
 
5
6
  module.exports = (electronProjectRoot)=>{
6
7
  if(!electronProjectRoot || typeof electronProjectRoot !='string' || !fs.existsSync(electronProjectRoot)){
@@ -8,5 +8,5 @@ const path = require("path");
8
8
  module.exports = (projectRoot)=>{
9
9
  projectRoot = projectRoot && fs.existsSync(projectRoot) && projectRoot || process.cwd();
10
10
  const mainPackage = require("../../package.json");
11
- return path.resolve(projectRoot,"node_modules",`${mainPackage.name.toLowerCase().replace(/\s/g, '')}.paths.alias.json`);
11
+ return path.resolve(projectRoot,"node_modules",`expo-ui.paths.alias.json`);
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "7.4.13",
3
+ "version": "7.4.15",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -568,7 +568,7 @@ const TextFieldComponent = React.forwardRef((componentProps,inputRef)=>{
568
568
  </View>
569
569
  {<View testID={testID+"_AffixContainer"} style={styles.affixContainer}>
570
570
  {multiline && !error && !helperText ? affixContent:null}
571
- <HelperText style={[isDesktop && styles.helperTextAbsolute]} testID={testID+"_HelperText"} error={error} disabled={!isEditable}>{helperText}</HelperText>
571
+ <HelperText style={[false && isDesktop && styles.helperTextAbsolute]} testID={testID+"_HelperText"} error={error} disabled={!isEditable}>{helperText}</HelperText>
572
572
  </View>}
573
573
  </>
574
574
  </View>