@fto-consult/expo-ui 6.71.4 → 6.71.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.71.4",
3
+ "version": "6.71.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -1,9 +1,8 @@
1
1
  import React from '$react';
2
2
  import { ScrollView} from 'react-native';
3
- import PropTypes from "prop-types";
4
3
 
5
- const ScrollViewComponent = React.forwardRef(({withAutoSizer,autoSizerProps,testID,...rest},ref) => {
6
- return <ScrollView testID={testID} {...rest} ref={ref}/>
4
+ const ScrollViewComponent = React.forwardRef(({testID,...rest},ref) => {
5
+ return <ScrollView testID={testID || "RN_ScrollViewComponent"} {...rest} ref={ref}/>
7
6
  });
8
7
 
9
8
  ScrollViewComponent.displayName = "ScrollViewComponent";
@@ -11,7 +10,4 @@ export default ScrollViewComponent;
11
10
 
12
11
  ScrollViewComponent.propTypes = {
13
12
  ...defaultObj(ScrollView.propTypes),
14
- withAutoSizer : PropTypes.bool,//si le contenu du scrollView sera wrap par le composant AutoSizer
15
- maxHeight : PropTypes.number,
16
- minHeight : PropTypes.number,
17
13
  }
@@ -442,7 +442,7 @@ export default class TableDataScreenComponent extends FormDataScreen{
442
442
  mainContent = ct;
443
443
  } else {
444
444
  mainContent = <View {...contentProps} testID={testID+"_ContentContainer"} style={[styles.container,styles.noPadding,contentProps.style]}>
445
- <ScrollView withAutoSizer testID={testID+"_MainContentScrollView"} contentProps={{style:theme.styles.p1}}>
445
+ <ScrollView testID={testID+"_MainContentScrollView"} contentProps={{style:theme.styles.p1}}>
446
446
  <View testID={testID+"_ContentHeader"} style={[styles.screenContent,theme.styles.p1,header?styles.screenContentWithHeader:null]}>
447
447
  {header}
448
448
  {content}