react-crud-mobile 1.3.346 → 1.3.348
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 +4 -10
- 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 +4 -10
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIInput.tsx +4 -15
@@ -840,12 +840,13 @@ function UIInput(props) {
|
|
840
840
|
}
|
841
841
|
}
|
842
842
|
};
|
843
|
-
var size = element.size;
|
844
843
|
//v5
|
845
844
|
var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), element.inputProps);
|
846
845
|
var inputStyle = reactCrudUtils.Utils.call(function () {
|
846
|
+
var size = element.size;
|
847
847
|
var css = {};
|
848
848
|
if (size === 'small') {
|
849
|
+
css.height = 35;
|
849
850
|
css.fontSize = 12;
|
850
851
|
}
|
851
852
|
css.fontSize = reactCrudUtils.Utils.nvl(element.fontSize, css.fontSize);
|
@@ -860,17 +861,9 @@ function UIInput(props) {
|
|
860
861
|
};
|
861
862
|
inputStyle = _extends({}, inputStyle, defs.style);
|
862
863
|
}
|
863
|
-
var baseStyle = reactCrudUtils.Utils.call(function () {
|
864
|
-
var css = _extends({}, style('base', defs == null ? void 0 : defs.baseStyle));
|
865
|
-
css.height = 40;
|
866
|
-
if (size === 'small') {
|
867
|
-
css.height = 30;
|
868
|
-
}
|
869
|
-
return css;
|
870
|
-
});
|
871
864
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
872
865
|
children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
|
873
|
-
style:
|
866
|
+
style: style('base', defs == null ? void 0 : defs.baseStyle),
|
874
867
|
children: [scope.getPart('left'), /*#__PURE__*/jsxRuntime.jsx(reactNative.TextInput, _extends({
|
875
868
|
onChangeText: onChange,
|
876
869
|
value: value,
|
@@ -903,6 +896,7 @@ var styles$6 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
903
896
|
input: {
|
904
897
|
marginHorizontal: 0,
|
905
898
|
marginVertical: 0,
|
899
|
+
height: 40,
|
906
900
|
width: '100%',
|
907
901
|
flex: 1
|
908
902
|
},
|