react-crud-mobile 1.0.907 → 1.0.909
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 -11
- 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 -11
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +3 -7
- package/src/elements/core/UIView.tsx +3 -3
|
@@ -1490,7 +1490,7 @@ function UIView(_ref) {
|
|
|
1490
1490
|
var scrollRef = React.useRef(null);
|
|
1491
1491
|
React.useEffect(function () {
|
|
1492
1492
|
reactNative.StatusBar.setBarStyle('light-content');
|
|
1493
|
-
reactNative.StatusBar.setBackgroundColor == null || reactNative.StatusBar.setBackgroundColor(theme.colors.
|
|
1493
|
+
reactNative.StatusBar.setBackgroundColor == null || reactNative.StatusBar.setBackgroundColor(theme.colors.theme);
|
|
1494
1494
|
}, []);
|
|
1495
1495
|
var onScroll = function onScroll() {
|
|
1496
1496
|
var crud = reactCrudUtils.ViewUtils.getCrud();
|
|
@@ -1545,10 +1545,10 @@ var styles$9 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
1545
1545
|
paddingVertical: 20
|
|
1546
1546
|
},
|
|
1547
1547
|
container: {
|
|
1548
|
-
backgroundColor: '
|
|
1548
|
+
backgroundColor: 'theme'
|
|
1549
1549
|
},
|
|
1550
1550
|
view: {
|
|
1551
|
-
backgroundColor: '
|
|
1551
|
+
backgroundColor: 'theme'
|
|
1552
1552
|
}
|
|
1553
1553
|
});
|
|
1554
1554
|
|
|
@@ -1780,13 +1780,6 @@ function UIElement(props) {
|
|
|
1780
1780
|
custom.underlayColor = 'transparent';
|
|
1781
1781
|
custom.onPress = onClick;
|
|
1782
1782
|
}
|
|
1783
|
-
var Value = function Value() {
|
|
1784
|
-
var value = scope.getDisplayValue();
|
|
1785
|
-
return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1786
|
-
style: getStyle('value'),
|
|
1787
|
-
children: value
|
|
1788
|
-
});
|
|
1789
|
-
};
|
|
1790
1783
|
var Inner = function Inner() {
|
|
1791
1784
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1792
1785
|
children: [scope.getPart('render', null, /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})), scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
|
|
@@ -1845,7 +1838,10 @@ function UIElement(props) {
|
|
|
1845
1838
|
}), !scope.is('format', 'icon', 'img') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1846
1839
|
children: scope.getDisplayValue()
|
|
1847
1840
|
})]
|
|
1848
|
-
}), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(
|
|
1841
|
+
}), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1842
|
+
style: getStyle('value'),
|
|
1843
|
+
children: scope.getDisplayValue()
|
|
1844
|
+
})]
|
|
1849
1845
|
});
|
|
1850
1846
|
};
|
|
1851
1847
|
var Include = function Include(_ref) {
|