react-crud-mobile 1.3.382 → 1.3.384

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.
@@ -11,10 +11,10 @@ var reactNative = require('react-native');
11
11
  var jsxRuntime = require('react/jsx-runtime');
12
12
  var Ionicons = _interopDefault(require('@expo/vector-icons/Ionicons'));
13
13
  var vectorIcons = require('@expo/vector-icons');
14
+ var reactNativeSafeAreaContext = require('react-native-safe-area-context');
14
15
  var Slider = _interopDefault(require('@react-native-community/slider'));
15
16
  var Toast = require('react-native-toast-message');
16
17
  var Toast__default = _interopDefault(Toast);
17
- var reactNativeSafeAreaContext = require('react-native-safe-area-context');
18
18
 
19
19
  function _extends() {
20
20
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
@@ -581,9 +581,9 @@ function UISelect(props) {
581
581
  onRequestClose: function onRequestClose() {
582
582
  return setModalVisible(false);
583
583
  },
584
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.SafeAreaView, {
584
+ children: [/*#__PURE__*/jsxRuntime.jsx(reactNativeSafeAreaContext.SafeAreaView, {
585
585
  style: style('modalTop')
586
- }), /*#__PURE__*/jsxRuntime.jsxs(reactNative.SafeAreaView, {
586
+ }), /*#__PURE__*/jsxRuntime.jsxs(reactNativeSafeAreaContext.SafeAreaView, {
587
587
  style: style('modalSafe'),
588
588
  children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
589
589
  style: scope.getStyle('header', headerStyle),
@@ -1543,35 +1543,31 @@ function UIModal(props) {
1543
1543
  children: content
1544
1544
  });
1545
1545
  }
1546
- return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1547
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.SafeAreaView, {
1548
- style: style('modalTop')
1549
- }), /*#__PURE__*/jsxRuntime.jsxs(reactNative.SafeAreaView, {
1550
- style: style('modalSafe'),
1551
- children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
1552
- style: scope.getStyle('header', headerStyle),
1553
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
1554
- onPress: onClose,
1555
- style: style('modalCloseButton'),
1556
- children: /*#__PURE__*/jsxRuntime.jsx(Ionicons, {
1557
- name: "chevron-back-outline",
1558
- size: 24,
1559
- color: color,
1560
- style: style('modalCloseText', defaults)
1561
- })
1562
- }), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1563
- style: style('modalTitle', defaults),
1564
- children: label
1565
- }), !reactCrudUtils.Utils.isEmpty(headerRight) && /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
1566
- scope: scope,
1567
- crud: curr,
1568
- "transient": true,
1569
- children: headerRight
1570
- })]
1571
- }), /*#__PURE__*/jsxRuntime.jsx(ModalContent, {
1572
- children: content
1573
- }), bottom]
1574
- }), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
1546
+ return /*#__PURE__*/jsxRuntime.jsxs(reactNativeSafeAreaContext.SafeAreaView, {
1547
+ style: style('modalSafe'),
1548
+ children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
1549
+ style: scope.getStyle('header', headerStyle),
1550
+ children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
1551
+ onPress: onClose,
1552
+ style: style('modalCloseButton'),
1553
+ children: /*#__PURE__*/jsxRuntime.jsx(Ionicons, {
1554
+ name: "chevron-back-outline",
1555
+ size: 24,
1556
+ color: color,
1557
+ style: style('modalCloseText', defaults)
1558
+ })
1559
+ }), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1560
+ style: style('modalTitle', defaults),
1561
+ children: label
1562
+ }), !reactCrudUtils.Utils.isEmpty(headerRight) && /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
1563
+ scope: scope,
1564
+ crud: curr,
1565
+ "transient": true,
1566
+ children: headerRight
1567
+ })]
1568
+ }), /*#__PURE__*/jsxRuntime.jsx(ModalContent, {
1569
+ children: content
1570
+ }), bottom, /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
1575
1571
  });
1576
1572
  };
1577
1573
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.Modal, {
@@ -1584,7 +1580,7 @@ function UIModal(props) {
1584
1580
  }
1585
1581
  var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
1586
1582
  modalTop: {
1587
- backgroundColor: 'primary',
1583
+ backgroundColor: 'background',
1588
1584
  width: '100%'
1589
1585
  },
1590
1586
  modalSafe: {