dhre-ui-kit 0.0.250 → 0.0.251
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/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +6 -6
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4448,10 +4448,7 @@ const CustomSlideButton = React__default["default"].forwardRef(
|
|
|
4448
4448
|
}
|
|
4449
4449
|
};
|
|
4450
4450
|
const resetAll = () => {
|
|
4451
|
-
|
|
4452
|
-
toValue: 0,
|
|
4453
|
-
useNativeDriver: false
|
|
4454
|
-
}).start();
|
|
4451
|
+
onReset?.();
|
|
4455
4452
|
reactNative.Animated.timing(sliderBackgroundColorRef, {
|
|
4456
4453
|
toValue: 0,
|
|
4457
4454
|
duration: 0,
|
|
@@ -4461,12 +4458,15 @@ const CustomSlideButton = React__default["default"].forwardRef(
|
|
|
4461
4458
|
}).start();
|
|
4462
4459
|
reactNative.Animated.timing(color, {
|
|
4463
4460
|
toValue: 0,
|
|
4464
|
-
delay:
|
|
4461
|
+
delay: 0,
|
|
4465
4462
|
// no transition time, immediate change
|
|
4466
4463
|
useNativeDriver: false
|
|
4467
4464
|
// because we're animating the color, not layout
|
|
4468
4465
|
}).start();
|
|
4469
|
-
|
|
4466
|
+
reactNative.Animated.timing(translateX, {
|
|
4467
|
+
toValue: 0,
|
|
4468
|
+
useNativeDriver: false
|
|
4469
|
+
}).start();
|
|
4470
4470
|
};
|
|
4471
4471
|
const panResponder = reactNative.PanResponder.create({
|
|
4472
4472
|
onMoveShouldSetPanResponder: (e, gestureState) => {
|