@fto-consult/expo-ui 5.11.6 → 5.11.7

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": "5.11.6",
3
+ "version": "5.11.7",
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
@@ -213,7 +213,7 @@ export default function LoginComponent(props){
213
213
  return <Wrapper testID = {testID+"_Wrapper" }{...wrapperProps}>
214
214
  <DialogProvider ref={dialogProviderRef}/>
215
215
  {sH}
216
- <Surface style={[styles.container,{backgroundColor}]} {...containerProps} testID={testID}>
216
+ <Surface {...containerProps} {...defaultObj(loginProps?.containerProps)} style={[styles.container,{backgroundColor},containerProps.style,loginProps?.containerProps?.style]} testID={testID}>
217
217
  <Surface elevation = {0} {...contentProps} mediaQueryUpdateNativeProps = {mQueryUpdateProps} {...contentProps} testID={testID+"_Content"} style={[styles.content,updateMediaQueryStyle(),{backgroundColor},contentProps.style]}>
218
218
  <FormData
219
219
  formName = {formName}
@@ -347,3 +347,10 @@ LoginComponent.propTypes = {
347
347
  PropTypes.element,
348
348
  ]),
349
349
  }
350
+
351
+ /*** les loginProps sont les porps à passer au composant FormData
352
+ */
353
+ const loginPropTypes = {
354
+ containerProps : PropTypes.object, //les props à passer au container
355
+ ...FormData.propTypes, //les props type du composant form data
356
+ }