react-crud-mobile 1.3.98 → 1.3.100
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 +8 -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 +8 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +3 -2
- package/src/elements/core/SafeView.tsx +2 -3
- package/src/elements/core/UIModal.tsx +2 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect, useContext, useLayoutEffect, createContext } from 'react';
|
|
2
2
|
import { Utils, ScopeUtils, CrudUtils, ComponentUtils, ViewUtils, HtmlUtils, ThemeUtils, useTheme } from 'react-crud-utils';
|
|
3
|
-
import { View, StyleSheet, TouchableOpacity, Text, Linking, TouchableHighlight, Modal, SafeAreaView, ScrollView, Switch, TextInput, Platform, Dimensions, Alert, Image,
|
|
3
|
+
import { View, StyleSheet, TouchableOpacity, Text, Linking, TouchableHighlight, Modal, SafeAreaView, ScrollView, Switch, TextInput, Platform, Dimensions, Alert, Image, KeyboardAvoidingView, TouchableWithoutFeedback, Keyboard } from 'react-native';
|
|
4
4
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import Ionicons from '@expo/vector-icons/Ionicons';
|
|
6
6
|
import { Ionicons as Ionicons$1, AntDesign, Entypo, EvilIcons, MaterialCommunityIcons } from '@expo/vector-icons';
|
|
7
7
|
import Slider from '@react-native-community/slider';
|
|
8
8
|
import Toast, { BaseToast, ErrorToast } from 'react-native-toast-message';
|
|
9
|
+
import { StatusBar } from 'expo-status-bar';
|
|
9
10
|
import DraggableFlatList, { ScaleDecorator } from 'react-native-draggable-flatlist';
|
|
10
11
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
11
12
|
import { SafeAreaProvider, SafeAreaView as SafeAreaView$1 } from 'react-native-safe-area-context';
|
|
@@ -1398,7 +1399,10 @@ function UIModal(_ref) {
|
|
|
1398
1399
|
transparent: true,
|
|
1399
1400
|
visible: modalVisible,
|
|
1400
1401
|
onRequestClose: onClose,
|
|
1401
|
-
children: [/*#__PURE__*/jsx(
|
|
1402
|
+
children: [/*#__PURE__*/jsx(StatusBar, {
|
|
1403
|
+
style: "dark",
|
|
1404
|
+
backgroundColor: "#FFFFFF"
|
|
1405
|
+
}), /*#__PURE__*/jsx(SafeAreaView, {
|
|
1402
1406
|
style: style('modalTop')
|
|
1403
1407
|
}), /*#__PURE__*/jsxs(SafeAreaView, {
|
|
1404
1408
|
style: style('modalSafe'),
|
|
@@ -2297,7 +2301,8 @@ function SafeView(props) {
|
|
|
2297
2301
|
};
|
|
2298
2302
|
return /*#__PURE__*/jsxs(SafeAreaProvider, {
|
|
2299
2303
|
children: [/*#__PURE__*/jsx(StatusBar, {
|
|
2300
|
-
|
|
2304
|
+
style: "dark",
|
|
2305
|
+
backgroundColor: "#FFFFFF"
|
|
2301
2306
|
}), /*#__PURE__*/jsx(SafeAreaView$1, {
|
|
2302
2307
|
style: _extends({
|
|
2303
2308
|
backgroundColor: (_theme$colors = theme.colors) == null ? void 0 : _theme$colors.theme
|