react-crud-mobile 1.3.351 → 1.3.353
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 +5 -4
- 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 +5 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +11 -9
@@ -2079,6 +2079,7 @@ function UIElement(props) {
|
|
2079
2079
|
return false;
|
2080
2080
|
};
|
2081
2081
|
var isShowInner = function isShowInner() {
|
2082
|
+
if (scope.isType('icon')) return false;
|
2082
2083
|
if (hasChildren()) {
|
2083
2084
|
return false;
|
2084
2085
|
}
|
@@ -2120,10 +2121,6 @@ function UIElement(props) {
|
|
2120
2121
|
style: scope.getPart('label', 'button'),
|
2121
2122
|
children: scope.getLabel()
|
2122
2123
|
})]
|
2123
|
-
})), scope.is('type', 'icon') && /*#__PURE__*/jsx(UIIcon, _extends({}, defaultsUI, {
|
2124
|
-
onClick: onClick,
|
2125
|
-
variant: scope.attr('variant', 'outlined'),
|
2126
|
-
children: scope.getDisplayValue()
|
2127
2124
|
})), scope.is('type', 'link') && /*#__PURE__*/jsxs(UILink, _extends({}, defaultsUI, {
|
2128
2125
|
onClick: onClick,
|
2129
2126
|
variant: scope.attr('variant', 'outlined'),
|
@@ -2238,6 +2235,10 @@ function UIElement(props) {
|
|
2238
2235
|
})), scope.isType('view') && /*#__PURE__*/jsx(UIView, _extends({}, props, {
|
2239
2236
|
scope: scope,
|
2240
2237
|
crud: crud
|
2238
|
+
})), scope.is('type', 'icon') && /*#__PURE__*/jsx(UIIcon, _extends({}, defaultsUI, {
|
2239
|
+
onClick: onClick,
|
2240
|
+
variant: scope.attr('variant', 'outlined'),
|
2241
|
+
children: scope.getDisplayValue()
|
2241
2242
|
})), isShowChild() && /*#__PURE__*/jsx(UIChildren, _extends({}, props, {
|
2242
2243
|
scope: scope,
|
2243
2244
|
crud: crud,
|