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
@@ -818,7 +818,16 @@ 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 size = element.size;
|
823
|
+
var css = {};
|
824
|
+
if (size === 'small') {
|
825
|
+
css.height = 33;
|
826
|
+
css.fontSize = 12;
|
827
|
+
}
|
828
|
+
css = _extends({}, style(type), css, style('input'));
|
829
|
+
return css;
|
830
|
+
});
|
822
831
|
if (defs.autoHeight) {
|
823
832
|
defs.onContentSizeChange = function (event) {
|
824
833
|
setHeight(event.nativeEvent.contentSize.height);
|