react-crud-mobile 1.3.326 → 1.3.327
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 +9 -1
- 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 +9 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIInput.tsx +10 -1
@@ -827,7 +827,15 @@ function UIInput(props) {
|
|
827
827
|
};
|
828
828
|
//v4
|
829
829
|
var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), element.inputProps);
|
830
|
-
var inputStyle =
|
830
|
+
var inputStyle = reactCrudUtils.Utils.call(function () {
|
831
|
+
var css = _extends({}, style('input'), style(type));
|
832
|
+
var size = element.size;
|
833
|
+
if (size === 'small') {
|
834
|
+
css.height = 30;
|
835
|
+
css.fontSize = 12;
|
836
|
+
}
|
837
|
+
return css;
|
838
|
+
});
|
831
839
|
if (defs.autoHeight) {
|
832
840
|
defs.onContentSizeChange = function (event) {
|
833
841
|
setHeight(event.nativeEvent.contentSize.height);
|