@fto-consult/expo-ui 2.26.5 → 2.26.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": "2.26.5",
3
+ "version": "2.26.7",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2712,7 +2712,7 @@ export default class CommonDatagridComponent extends AppComponent {
2712
2712
  return false;
2713
2713
  }
2714
2714
  UNSAFE_componentWillReceiveProps(nextProps){
2715
- if(!isObjOrArray(nextProps.data) || nextProps.data == this.props.data || stableHash(nextProps.data) == stableHash(this.props.data)) {
2715
+ if(Object.size(nextProps.data) === Object.size(this.props.data) && (nextProps.data == this.props.data || stableHash(nextProps.data) === stableHash(this.props.data))) {
2716
2716
  if( typeof this.props.isLoading=='boolean' && nextProps.isLoading !== this.props.isLoading && typeof nextProps.isLoading =='boolean'){
2717
2717
  this.setIsLoading(nextProps.isLoading)
2718
2718
  }
@@ -356,7 +356,7 @@ const TextFieldComponent = React.forwardRef((componentProps,inputRef)=>{
356
356
  inputStyle2,
357
357
  isNormalMode && styles.inputNormalMode,
358
358
  isShadowMode && styles.inputShadowMode,
359
- multiline && {paddingTop : 7},
359
+ multiline && {paddingTop : isFlatMode? 12 : 7},
360
360
  ],
361
361
  pointerEvents,
362
362
  secureTextEntry,