react-crud-mobile 1.0.875 → 1.0.876
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 -8
- 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 -8
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +2 -4
- package/src/elements/core/UISlider.tsx +0 -1
|
@@ -650,8 +650,8 @@ function UISlider(props) {
|
|
|
650
650
|
var step = scope.getPart('step', 1);
|
|
651
651
|
var min = scope.getPart('min', 0);
|
|
652
652
|
var max = scope.getPart('min', 100);
|
|
653
|
-
return /*#__PURE__*/jsxRuntime.
|
|
654
|
-
children:
|
|
653
|
+
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
654
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Slider, {
|
|
655
655
|
minimumValue: min,
|
|
656
656
|
maximumValue: max,
|
|
657
657
|
step: step,
|
|
@@ -661,7 +661,7 @@ function UISlider(props) {
|
|
|
661
661
|
value: value,
|
|
662
662
|
style: scope.getStyle('element'),
|
|
663
663
|
onValueChange: onChange // Alterna o estado
|
|
664
|
-
})
|
|
664
|
+
})
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
|
|
@@ -1770,11 +1770,9 @@ function UIElement(props) {
|
|
|
1770
1770
|
checked: isChecked()
|
|
1771
1771
|
}, defaultsInput, {
|
|
1772
1772
|
onChange: onCheck
|
|
1773
|
-
})), scope.
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
}))
|
|
1777
|
-
}), scope.is('type', 'select') && /*#__PURE__*/jsxRuntime.jsx(UISelect, _extends({}, defaultsInput, defaultsUI, {
|
|
1773
|
+
})), scope.isType('slider') && /*#__PURE__*/jsxRuntime.jsx(UISlider, _extends({}, defaultsInput, {
|
|
1774
|
+
onChange: onCheck
|
|
1775
|
+
})), scope.is('type', 'select') && /*#__PURE__*/jsxRuntime.jsx(UISelect, _extends({}, defaultsInput, defaultsUI, {
|
|
1778
1776
|
value: scope.getSelectedValue()
|
|
1779
1777
|
})), scope.is('type', 'toggle') && /*#__PURE__*/jsxRuntime.jsx(UIToggle, _extends({}, defaultsInput, defaultsUI, {
|
|
1780
1778
|
value: scope.getSelectedValue()
|