react-crud-mobile 1.3.349 → 1.3.351
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 +4 -3
- 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 +4 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UI.tsx +1 -1
- package/src/elements/core/UIButton.tsx +3 -2
@@ -478,10 +478,10 @@ function UIButton(props) {
|
|
478
478
|
style: buttonStyle,
|
479
479
|
children: /*#__PURE__*/jsxs(Fragment, {
|
480
480
|
children: [icon && /*#__PURE__*/jsx(Fragment, {
|
481
|
-
children: /*#__PURE__*/jsx(
|
481
|
+
children: /*#__PURE__*/jsx(UI.Icon, {
|
482
482
|
size: Utils.nvl(element.iconSize, 30),
|
483
483
|
style: iconStyle,
|
484
|
-
|
484
|
+
value: icon
|
485
485
|
})
|
486
486
|
}), label && /*#__PURE__*/jsx(Text, {
|
487
487
|
style: buttonLabel,
|
@@ -2683,7 +2683,8 @@ var UI = {
|
|
2683
2683
|
},
|
2684
2684
|
Icon: function Icon(props) {
|
2685
2685
|
return /*#__PURE__*/jsx(UIElement, _extends({}, props, {
|
2686
|
-
type: "icon"
|
2686
|
+
type: "icon",
|
2687
|
+
"transient": true
|
2687
2688
|
}));
|
2688
2689
|
},
|
2689
2690
|
Output: function Output(props) {
|