react-crud-mobile 1.0.874 → 1.0.875
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 -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 +6 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +4 -1
|
@@ -1738,7 +1738,7 @@ function UIElement(props) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
var Inner = function Inner() {
|
|
1740
1740
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1741
|
-
children: [scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
|
|
1741
|
+
children: [scope.getPart('render', null, /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})), scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
|
|
1742
1742
|
onClick: onClick,
|
|
1743
1743
|
variant: scope.attr('variant', 'outlined'),
|
|
1744
1744
|
children: [original.icon && /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {}), original.label && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
@@ -1770,9 +1770,11 @@ function UIElement(props) {
|
|
|
1770
1770
|
checked: isChecked()
|
|
1771
1771
|
}, defaultsInput, {
|
|
1772
1772
|
onChange: onCheck
|
|
1773
|
-
})), scope.is('slider') && /*#__PURE__*/jsxRuntime.jsx(
|
|
1774
|
-
|
|
1775
|
-
|
|
1773
|
+
})), scope.is('slider') && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1774
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UISlider, _extends({}, defaultsInput, {
|
|
1775
|
+
onChange: onCheck
|
|
1776
|
+
}))
|
|
1777
|
+
}), scope.is('type', 'select') && /*#__PURE__*/jsxRuntime.jsx(UISelect, _extends({}, defaultsInput, defaultsUI, {
|
|
1776
1778
|
value: scope.getSelectedValue()
|
|
1777
1779
|
})), scope.is('type', 'toggle') && /*#__PURE__*/jsxRuntime.jsx(UIToggle, _extends({}, defaultsInput, defaultsUI, {
|
|
1778
1780
|
value: scope.getSelectedValue()
|