react-crud-mobile 1.0.912 → 1.0.913
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 +7 -4
- 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 +7 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UIModal.tsx +6 -4
|
@@ -1397,6 +1397,10 @@ function UIModal(props) {
|
|
|
1397
1397
|
var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');
|
|
1398
1398
|
scope.put('scrollRef', scrollRef);
|
|
1399
1399
|
reactCrudUtils.ComponentUtils.setViewScope(scope);
|
|
1400
|
+
var color = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
|
|
1401
|
+
var defaults = {
|
|
1402
|
+
color: color
|
|
1403
|
+
};
|
|
1400
1404
|
return /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
|
|
1401
1405
|
animationType: "slide",
|
|
1402
1406
|
transparent: true,
|
|
@@ -1414,11 +1418,11 @@ function UIModal(props) {
|
|
|
1414
1418
|
children: /*#__PURE__*/jsxRuntime.jsx(Ionicons, {
|
|
1415
1419
|
name: "chevron-back-outline",
|
|
1416
1420
|
size: 24,
|
|
1417
|
-
color:
|
|
1418
|
-
style: style('modalCloseText')
|
|
1421
|
+
color: color,
|
|
1422
|
+
style: style('modalCloseText', defaults)
|
|
1419
1423
|
})
|
|
1420
1424
|
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1421
|
-
style: style('modalTitle'),
|
|
1425
|
+
style: style('modalTitle', defaults),
|
|
1422
1426
|
children: label
|
|
1423
1427
|
}), !reactCrudUtils.Utils.isEmpty(headerRight) && /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
1424
1428
|
scope: scope,
|
|
@@ -1467,7 +1471,6 @@ var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
1467
1471
|
},
|
|
1468
1472
|
modalTitle: {
|
|
1469
1473
|
fontSize: 18,
|
|
1470
|
-
color: 'white',
|
|
1471
1474
|
fontWeight: 'bold',
|
|
1472
1475
|
marginLeft: 10
|
|
1473
1476
|
},
|