react-crud-mobile 1.3.352 → 1.3.354
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 +7 -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 +7 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +1 -0
- package/src/elements/core/UIIcon.tsx +6 -1
@@ -350,6 +350,7 @@ var styles$2 = {
|
|
350
350
|
};
|
351
351
|
|
352
352
|
function UIIcon(_ref) {
|
353
|
+
var _scope$original;
|
353
354
|
var scope = _ref.scope;
|
354
355
|
var name = scope.getValue();
|
355
356
|
var libs = {
|
@@ -361,9 +362,13 @@ function UIIcon(_ref) {
|
|
361
362
|
};
|
362
363
|
var library = Utils.nvl(scope.original.library, 'ion');
|
363
364
|
var Aux = libs[library];
|
365
|
+
var css = scope.getStyle('icon');
|
366
|
+
if ((_scope$original = scope.original) != null && _scope$original["transient"]) {
|
367
|
+
css = _extends({}, css, scope.getStyle());
|
368
|
+
}
|
364
369
|
return /*#__PURE__*/jsx(Aux, {
|
365
370
|
name: name,
|
366
|
-
style:
|
371
|
+
style: css
|
367
372
|
});
|
368
373
|
}
|
369
374
|
|
@@ -2079,6 +2084,7 @@ function UIElement(props) {
|
|
2079
2084
|
return false;
|
2080
2085
|
};
|
2081
2086
|
var isShowInner = function isShowInner() {
|
2087
|
+
if (scope.isType('icon')) return false;
|
2082
2088
|
if (hasChildren()) {
|
2083
2089
|
return false;
|
2084
2090
|
}
|