react-crud-mobile 1.3.298 → 1.3.300

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": "react-crud-mobile",
3
- "version": "1.3.298",
3
+ "version": "1.3.300",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@ export default function UIInput(props: ChildType) {
19
19
  let el = scope.original;
20
20
 
21
21
  const element = scope.original;
22
- const [height, setHeight] = useState(40);
22
+ const [height, setHeight] = useState(80);
23
23
  const [value, setValue] = useState(initial);
24
24
 
25
25
  let onChange = v => {
@@ -61,11 +61,11 @@ export default function UIInput(props: ChildType) {
61
61
  autoHeight: element.autoHeight !== false,
62
62
  textAlignVertical: 'top',
63
63
  numberOfLines: 5,
64
- style: { height: Math.max(40, height) },
64
+ style: { height: Math.max(80, height) },
65
65
  },
66
66
  };
67
67
 
68
- //v1
68
+ //v4
69
69
  let defs = { ...Utils.nvl(decode[type], {}), ...element.inputProps };
70
70
  let inputStyle = { ...style('input'), ...style(type) };
71
71
 
@@ -126,6 +126,7 @@ const styles = StyleSheet.create({
126
126
  marginVertical: 0,
127
127
  width: '100%',
128
128
  height: 'auto',
129
+ alignSelf: 'stretch',
129
130
  flex: 1, // Para o input ocupar o espaço restante
130
131
  },
131
132
  });