@fto-consult/expo-ui 2.0.2 → 2.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/auth/Login.js CHANGED
@@ -178,7 +178,9 @@ export default function LoginComponent(props){
178
178
  else {
179
179
  loginFields[i] = Object.clone(field);
180
180
  hasLoginFields = true;
181
- loginFields[i].autoFocus = !!loginFields[i].autoFocusOnStep;
181
+ if("autoFocusOnStep" in loginFields[i]){
182
+ loginFields[i].autoFocus = !!loginFields[i].autoFocusOnStep;
183
+ }
182
184
  }
183
185
  }
184
186
  });
package/webpack.config.js CHANGED
@@ -13,7 +13,6 @@ module.exports = async function(env, argv,opts) {
13
13
  dangerouslyAddModulePathsToTranspile: [
14
14
  // Ensure that all packages starting with @fto-consult are transpiled.
15
15
  '@fto-consult',
16
- 'react-native-reanimated',
17
16
  ...transpileModules,
18
17
  ],
19
18
  },