react-crud-mobile 1.0.872 → 1.0.874

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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ListType, UserType, InputType, ChartType, ContainerType, ListInputType, TabsType, DefineType, ButtonType, IconType, LinkType } from 'react-crud-utils';
2
+ import { ListType, UserType, InputType, ChartType, ContainerType, ListInputType, TabsType, DefineType, ButtonType, IconType, LinkType, SliderType } from 'react-crud-utils';
3
3
  import SafeView from './core/SafeView';
4
4
  declare const UI: {
5
5
  List: (props: ListType) => import("react").JSX.Element;
@@ -41,7 +41,7 @@ declare const UI: {
41
41
  Entity: (props: ListInputType) => import("react").JSX.Element;
42
42
  Element: (props: ListInputType) => import("react").JSX.Element;
43
43
  Quantity: (props: ListInputType) => import("react").JSX.Element;
44
- Slider: (props: InputType) => import("react").JSX.Element;
44
+ Slider: (props: SliderType) => import("react").JSX.Element;
45
45
  SafeView: typeof SafeView;
46
46
  };
47
47
  export default UI;
@@ -650,16 +650,18 @@ 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.jsx(Slider, {
654
- minimumValue: min,
655
- maximumValue: max,
656
- step: step,
657
- minimumTrackTintColor: "#1EB1FC",
658
- maximumTrackTintColor: "#d3d3d3",
659
- thumbTintColor: "#1EB1FC",
660
- value: value,
661
- style: scope.getStyle('element'),
662
- onValueChange: onChange // Alterna o estado
653
+ return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
654
+ children: [/*#__PURE__*/jsxRuntime.jsx(Slider, {
655
+ minimumValue: min,
656
+ maximumValue: max,
657
+ step: step,
658
+ minimumTrackTintColor: "#1EB1FC",
659
+ maximumTrackTintColor: "#d3d3d3",
660
+ thumbTintColor: "#1EB1FC",
661
+ value: value,
662
+ style: scope.getStyle('element'),
663
+ onValueChange: onChange // Alterna o estado
664
+ }), "xxx"]
663
665
  });
664
666
  }
665
667