react-crud-mobile 1.3.341 → 1.3.343

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.
@@ -796,7 +796,7 @@ function UIInput(props) {
796
796
  setValue(v);
797
797
  };
798
798
  var style = function style(part, extra) {
799
- return _extends({}, scope.getStyle(part, styles$6[part]), extra);
799
+ return _extends({}, scope.getStyle(part, _extends({}, styles$6[part], extra)));
800
800
  };
801
801
  var CustomIcon = function CustomIcon() {
802
802
  var icon = el.icon;
@@ -841,7 +841,7 @@ function UIInput(props) {
841
841
  css.fontSize = 12;
842
842
  }
843
843
  css.fontSize = Utils.nvl(element.fontSize, css.fontSize);
844
- css = _extends({}, style(type), css, style('input'));
844
+ css = _extends({}, style(type), style('input', css));
845
845
  css.lineHeight = parseInt(css.fontSize) + 2;
846
846
  //v1
847
847
  return css;
@@ -2390,6 +2390,10 @@ function UIElement(props) {
2390
2390
  nextScope.update();
2391
2391
  }
2392
2392
  };
2393
+ if (original.hideEmpty && !scope.isType('list', 'select', 'complete')) {
2394
+ var value = scope.getValue();
2395
+ if (Utils.isEmpty(value)) return /*#__PURE__*/jsx(Fragment, {});
2396
+ }
2393
2397
  return /*#__PURE__*/jsx(CrudContext.Provider, {
2394
2398
  value: {
2395
2399
  crud: crud,