react-native-slot-text 3.2.0 → 3.2.2

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/ContinuousSlot.js CHANGED
@@ -4,7 +4,7 @@ import { Text, StyleSheet, Animated, useAnimatedValue, Easing } from 'react-nati
4
4
  import MaskedView from "@react-native-masked-view/masked-view";
5
5
  import { easeGradient } from "react-native-easing-gradient";
6
6
  import ReAnimated, { LinearTransition, FadeOutDown, FadeInUp, useSharedValue, withTiming, Easing as ReEasing, ReduceMotion, withSpring } from 'react-native-reanimated';
7
- import { LinearGradient } from "expo-linear-gradient";
7
+ import { LinearGradient } from 'expo-linear-gradient';
8
8
  import styles from './styles';
9
9
  import { bezier_points } from './constants';
10
10
  const GAP = 12;
@@ -110,8 +110,8 @@ const ContinuousSlot = (props) => {
110
110
  const { colors, locations } = easeGradient({
111
111
  colorStops: {
112
112
  0: { color: 'transparent' },
113
- 0.1: { color: 'black' },
114
- .9: { color: 'black' },
113
+ 0.25: { color: 'black' },
114
+ .75: { color: 'black' },
115
115
  1: { color: 'transparent' }
116
116
  },
117
117
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-slot-text",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "author": "sc-mitton <scm.mitton@gmail.com> (https://github.com/sc-mitton)",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
@@ -39,7 +39,7 @@
39
39
  "type": "module",
40
40
  "types": "src/types.d.ts",
41
41
  "dependencies": {
42
- "@react-native-masked-view/masked-view": "^0.3.2",
42
+ "@react-native-masked-view/masked-view": "^0.3.1",
43
43
  "expo-linear-gradient": "^14.0.1",
44
44
  "react-native-easing-gradient": "^1.1.1"
45
45
  }