react-crud-mobile 1.0.785 → 1.0.786
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 +11 -6
- 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 +11 -6
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +6 -2
|
@@ -1246,13 +1246,14 @@ function UIModal(props) {
|
|
|
1246
1246
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
1247
1247
|
}
|
|
1248
1248
|
var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');
|
|
1249
|
-
return /*#__PURE__*/jsxRuntime.
|
|
1249
|
+
return /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
|
|
1250
1250
|
animationType: "slide",
|
|
1251
1251
|
transparent: true,
|
|
1252
1252
|
visible: modalVisible,
|
|
1253
|
-
backdropColor: "#fff",
|
|
1254
1253
|
onRequestClose: onClose,
|
|
1255
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
1254
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.SafeAreaView, {
|
|
1255
|
+
style: style('modalTop')
|
|
1256
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(reactNative.SafeAreaView, {
|
|
1256
1257
|
style: style('modalSafe'),
|
|
1257
1258
|
children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
|
|
1258
1259
|
style: scope.getStyle('header', headerStyle),
|
|
@@ -1290,15 +1291,19 @@ function UIModal(props) {
|
|
|
1290
1291
|
})
|
|
1291
1292
|
})
|
|
1292
1293
|
})]
|
|
1293
|
-
})
|
|
1294
|
+
})]
|
|
1294
1295
|
});
|
|
1295
1296
|
}
|
|
1296
1297
|
var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
1297
|
-
|
|
1298
|
-
flex: 1,
|
|
1298
|
+
modalTop: {
|
|
1299
1299
|
backgroundColor: 'primary',
|
|
1300
1300
|
width: '100%'
|
|
1301
1301
|
},
|
|
1302
|
+
modalSafe: {
|
|
1303
|
+
flex: 1,
|
|
1304
|
+
width: '100%',
|
|
1305
|
+
backgroundColor: '#f5f5f5'
|
|
1306
|
+
},
|
|
1302
1307
|
modalCloseButton: {
|
|
1303
1308
|
padding: 10
|
|
1304
1309
|
},
|