react-crud-mobile 1.3.14 → 1.3.16

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.14",
2
+ "version": "1.3.16",
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.355",
48
+ "react-crud-utils": "^0.1.356",
49
49
  "react-dom": "19.0.0",
50
50
  "react-native": "0.79.2",
51
51
  "react-native-gesture-handler": "~2.24.0",
@@ -1,4 +1,4 @@
1
- import { useState } from 'react';
1
+ import { useRef, useState } from 'react';
2
2
  import {
3
3
  ChildType,
4
4
  MethodType,
@@ -14,6 +14,7 @@ import {
14
14
  View,
15
15
  StatusBar,
16
16
  SafeAreaView,
17
+ ScrollView,
17
18
  } from 'react-native';
18
19
  import { Ionicons } from '@expo/vector-icons';
19
20
  import UI from '../UI';
@@ -25,9 +26,8 @@ export default function UISelect(props: ChildType) {
25
26
  const items = Utils.nvl(scope.getOptions(), []);
26
27
  const placeholder = scope.attr('placeholder', 'Selecione...');
27
28
  const value = scope.getDisplayValue();
28
- const theme = useTheme();
29
29
  const main = ViewUtils.getCrud('view');
30
-
30
+ const theme = scope.getTheme();
31
31
  const handlePress = () => {
32
32
  const _modalVisible = !modalVisible;
33
33
 
@@ -63,7 +63,12 @@ export default function UISelect(props: ChildType) {
63
63
  <Text style={style('selectLabel')}>
64
64
  {Utils.nvl(value, placeholder)}
65
65
  </Text>
66
- <Ionicons name="arrow-down" size={20} color="#888" />
66
+ <Ionicons
67
+ name="chevron-back-outline"
68
+ size={24}
69
+ color={scope.getPart('iconColor', null, 'white')}
70
+ style={style('modalCloseText', {})}
71
+ />
67
72
  </TouchableOpacity>
68
73
  <Modal
69
74
  animationType="slide"