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
@@ -818,7 +818,15 @@ function UIInput(props) {
|
|
818
818
|
};
|
819
819
|
//v4
|
820
820
|
var defs = _extends({}, Utils.nvl(decode[type], {}), element.inputProps);
|
821
|
-
var inputStyle =
|
821
|
+
var inputStyle = Utils.call(function () {
|
822
|
+
var css = _extends({}, style('input'), style(type));
|
823
|
+
var size = element.size;
|
824
|
+
if (size === 'small') {
|
825
|
+
css.height = 30;
|
826
|
+
css.fontSize = 12;
|
827
|
+
}
|
828
|
+
return css;
|
829
|
+
});
|
822
830
|
if (defs.autoHeight) {
|
823
831
|
defs.onContentSizeChange = function (event) {
|
824
832
|
setHeight(event.nativeEvent.contentSize.height);
|