react-crud-mobile 1.3.348 → 1.3.350
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/dist/react-crud-mobile.cjs.development.js +4 -3
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UIButton.tsx +3 -2
- package/src/elements/core/UIInput.tsx +2 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-crud-mobile",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.350",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Uma biblioteca de componentes para React Native v1",
|
6
6
|
"main": "dist/index.js",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"@react-native-vector-icons/material-icons": "^0.0.1",
|
47
47
|
"expo-status-bar": "~3.0.8",
|
48
48
|
"react": "19.1.0",
|
49
|
-
"react-crud-utils": "^0.1.
|
49
|
+
"react-crud-utils": "^0.1.457",
|
50
50
|
"react-dom": "19.1.0",
|
51
51
|
"react-native": "0.81.4",
|
52
52
|
"react-native-draggable-flatlist": "^4.0.3",
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Ionicons } from '@expo/vector-icons';
|
2
2
|
import { ChildType, Utils } from 'react-crud-utils';
|
3
3
|
import { Text, TouchableHighlight, View } from 'react-native';
|
4
|
+
import UI from '../UI';
|
4
5
|
|
5
6
|
const BUTTONS_SIZE: any = { small: { minWidth: 30, height: 30 } };
|
6
7
|
|
@@ -129,10 +130,10 @@ export default function UIButton(props: ChildType) {
|
|
129
130
|
<>
|
130
131
|
{icon && (
|
131
132
|
<>
|
132
|
-
<
|
133
|
+
<UI.Icon
|
133
134
|
size={Utils.nvl(element.iconSize, 30)}
|
134
135
|
style={iconStyle}
|
135
|
-
|
136
|
+
value={icon}
|
136
137
|
/>
|
137
138
|
</>
|
138
139
|
)}
|
@@ -73,7 +73,7 @@ export default function UIInput(props: ChildType) {
|
|
73
73
|
let css: any = {};
|
74
74
|
|
75
75
|
if (size === 'small') {
|
76
|
-
css.height =
|
76
|
+
css.height = 30;
|
77
77
|
css.fontSize = 12;
|
78
78
|
}
|
79
79
|
|
@@ -132,6 +132,7 @@ const styles = StyleSheet.create({
|
|
132
132
|
input: {
|
133
133
|
marginHorizontal: 0,
|
134
134
|
marginVertical: 0,
|
135
|
+
paddingVertical: 0,
|
135
136
|
height: 40,
|
136
137
|
width: '100%',
|
137
138
|
flex: 1, // Para o input ocupar o espaço restante
|