react-crud-mobile 1.3.4 → 1.3.6

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,5 +1,5 @@
1
1
  {
2
- "version": "1.3.4",
2
+ "version": "1.3.6",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "@react-native-vector-icons/ionicons": "^7.4.0",
46
46
  "@react-native-vector-icons/material-icons": "^0.0.1",
47
47
  "react": "19.0.0",
48
- "react-crud-utils": "^0.1.352",
48
+ "react-crud-utils": "^0.1.353",
49
49
  "react-dom": "19.0.0",
50
50
  "react-native": "0.79.2",
51
51
  "react-native-gesture-handler": "~2.24.0",
@@ -554,11 +554,14 @@ export default function UIElement(props: ElementType) {
554
554
  );
555
555
  }
556
556
 
557
- return (
558
- <View style={getStyle('container', { padding: 5, width: '100%' })}>
559
- {props.children}
560
- </View>
561
- );
557
+ if (scope.isInput()) {
558
+ return (
559
+ <View style={getStyle('container', { padding: 5, width: '100%' })}>
560
+ {props.children}
561
+ </View>
562
+ );
563
+ }
564
+ return <>{props.children}</>;
562
565
  };
563
566
 
564
567
  return (