react-crud-mobile 1.3.350 → 1.3.352
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 +6 -5
- 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 +6 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UI.tsx +1 -1
- package/src/elements/UIElement.tsx +10 -9
@@ -2129,10 +2129,6 @@ function UIElement(props) {
|
|
2129
2129
|
style: scope.getPart('label', 'button'),
|
2130
2130
|
children: scope.getLabel()
|
2131
2131
|
})]
|
2132
|
-
})), scope.is('type', 'icon') && /*#__PURE__*/jsxRuntime.jsx(UIIcon, _extends({}, defaultsUI, {
|
2133
|
-
onClick: onClick,
|
2134
|
-
variant: scope.attr('variant', 'outlined'),
|
2135
|
-
children: scope.getDisplayValue()
|
2136
2132
|
})), scope.is('type', 'link') && /*#__PURE__*/jsxRuntime.jsxs(UILink, _extends({}, defaultsUI, {
|
2137
2133
|
onClick: onClick,
|
2138
2134
|
variant: scope.attr('variant', 'outlined'),
|
@@ -2247,6 +2243,10 @@ function UIElement(props) {
|
|
2247
2243
|
})), scope.isType('view') && /*#__PURE__*/jsxRuntime.jsx(UIView, _extends({}, props, {
|
2248
2244
|
scope: scope,
|
2249
2245
|
crud: crud
|
2246
|
+
})), scope.is('type', 'icon') && /*#__PURE__*/jsxRuntime.jsx(UIIcon, _extends({}, defaultsUI, {
|
2247
|
+
onClick: onClick,
|
2248
|
+
variant: scope.attr('variant', 'outlined'),
|
2249
|
+
children: scope.getDisplayValue()
|
2250
2250
|
})), isShowChild() && /*#__PURE__*/jsxRuntime.jsx(UIChildren, _extends({}, props, {
|
2251
2251
|
scope: scope,
|
2252
2252
|
crud: crud,
|
@@ -2692,7 +2692,8 @@ var UI = {
|
|
2692
2692
|
},
|
2693
2693
|
Icon: function Icon(props) {
|
2694
2694
|
return /*#__PURE__*/jsxRuntime.jsx(UIElement, _extends({}, props, {
|
2695
|
-
type: "icon"
|
2695
|
+
type: "icon",
|
2696
|
+
"transient": true
|
2696
2697
|
}));
|
2697
2698
|
},
|
2698
2699
|
Output: function Output(props) {
|