react-crud-mobile 1.0.904 → 1.0.906
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 +6 -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 +6 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +2 -2
- package/src/elements/core/UIListRow.tsx +1 -1
|
@@ -895,7 +895,7 @@ function UIListRow(props) {
|
|
|
895
895
|
var css = row.getStyle('row', _extends({}, styles.row, {
|
|
896
896
|
minHeight: 40
|
|
897
897
|
}));
|
|
898
|
-
if (cols > 0
|
|
898
|
+
if (cols > 0) {
|
|
899
899
|
css.width = rowWidth;
|
|
900
900
|
}
|
|
901
901
|
return css;
|
|
@@ -1783,12 +1783,14 @@ function UIElement(props) {
|
|
|
1783
1783
|
var Value = function Value() {
|
|
1784
1784
|
var value = scope.getDisplayValue();
|
|
1785
1785
|
if (typeof value === 'object' || typeof value === 'function') {
|
|
1786
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
1787
|
-
style: getStyle('value'),
|
|
1786
|
+
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1788
1787
|
children: value
|
|
1789
1788
|
});
|
|
1790
1789
|
}
|
|
1791
|
-
return
|
|
1790
|
+
return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1791
|
+
style: getStyle('value'),
|
|
1792
|
+
children: value
|
|
1793
|
+
});
|
|
1792
1794
|
};
|
|
1793
1795
|
var Inner = function Inner() {
|
|
1794
1796
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|