dhre-ui-kit 0.0.249 → 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 +10 -11
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -11
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -19,7 +19,6 @@ var reactNativeElementDropdown = require('react-native-element-dropdown');
|
|
|
19
19
|
var DocumentPicker = require('react-native-document-picker');
|
|
20
20
|
var RNFS = require('react-native-fs');
|
|
21
21
|
var OTPVerify = require('react-native-otp-verify');
|
|
22
|
-
var stylehelper = require('src/utils/stylehelper');
|
|
23
22
|
var Clipboard = require('@react-native-clipboard/clipboard');
|
|
24
23
|
|
|
25
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -4379,8 +4378,8 @@ const styles$3 = reactNative.StyleSheet.create({
|
|
|
4379
4378
|
alignItems: "center"
|
|
4380
4379
|
},
|
|
4381
4380
|
sliderContainer: {
|
|
4382
|
-
height:
|
|
4383
|
-
borderRadius:
|
|
4381
|
+
height: verticalScale(48),
|
|
4382
|
+
borderRadius: moderateScale(25),
|
|
4384
4383
|
overflow: "hidden",
|
|
4385
4384
|
justifyContent: "center"
|
|
4386
4385
|
},
|
|
@@ -4391,10 +4390,10 @@ const styles$3 = reactNative.StyleSheet.create({
|
|
|
4391
4390
|
justifyContent: "center"
|
|
4392
4391
|
},
|
|
4393
4392
|
button: {
|
|
4394
|
-
height:
|
|
4393
|
+
height: verticalScale(40),
|
|
4395
4394
|
justifyContent: "center",
|
|
4396
4395
|
alignItems: "center",
|
|
4397
|
-
borderRadius:
|
|
4396
|
+
borderRadius: moderateScale(20),
|
|
4398
4397
|
margin: 4
|
|
4399
4398
|
},
|
|
4400
4399
|
buttonTextContainer: {
|
|
@@ -4449,10 +4448,7 @@ const CustomSlideButton = React__default["default"].forwardRef(
|
|
|
4449
4448
|
}
|
|
4450
4449
|
};
|
|
4451
4450
|
const resetAll = () => {
|
|
4452
|
-
|
|
4453
|
-
toValue: 0,
|
|
4454
|
-
useNativeDriver: false
|
|
4455
|
-
}).start();
|
|
4451
|
+
onReset?.();
|
|
4456
4452
|
reactNative.Animated.timing(sliderBackgroundColorRef, {
|
|
4457
4453
|
toValue: 0,
|
|
4458
4454
|
duration: 0,
|
|
@@ -4462,12 +4458,15 @@ const CustomSlideButton = React__default["default"].forwardRef(
|
|
|
4462
4458
|
}).start();
|
|
4463
4459
|
reactNative.Animated.timing(color, {
|
|
4464
4460
|
toValue: 0,
|
|
4465
|
-
delay:
|
|
4461
|
+
delay: 0,
|
|
4466
4462
|
// no transition time, immediate change
|
|
4467
4463
|
useNativeDriver: false
|
|
4468
4464
|
// because we're animating the color, not layout
|
|
4469
4465
|
}).start();
|
|
4470
|
-
|
|
4466
|
+
reactNative.Animated.timing(translateX, {
|
|
4467
|
+
toValue: 0,
|
|
4468
|
+
useNativeDriver: false
|
|
4469
|
+
}).start();
|
|
4471
4470
|
};
|
|
4472
4471
|
const panResponder = reactNative.PanResponder.create({
|
|
4473
4472
|
onMoveShouldSetPanResponder: (e, gestureState) => {
|