react-crud-mobile 1.3.326 → 1.3.328
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 +10 -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 +10 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIInput.tsx +13 -1
@@ -827,7 +827,16 @@ 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 size = element.size;
|
832
|
+
var css = {};
|
833
|
+
if (size === 'small') {
|
834
|
+
css.height = 33;
|
835
|
+
css.fontSize = 12;
|
836
|
+
}
|
837
|
+
css = _extends({}, style(type), css, style('input'));
|
838
|
+
return css;
|
839
|
+
});
|
831
840
|
if (defs.autoHeight) {
|
832
841
|
defs.onContentSizeChange = function (event) {
|
833
842
|
setHeight(event.nativeEvent.contentSize.height);
|