@umituz/react-native-subscription 2.11.18 → 2.11.19
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-subscription",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.19",
|
|
4
4
|
"description": "Complete subscription management with RevenueCat, paywall UI, and credits system for React Native apps",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
"react-native-safe-area-context": ">=5.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
+
"@tanstack/react-query": "^5.0.0",
|
|
49
|
+
"@types/react": "~19.1.10",
|
|
48
50
|
"@umituz/react-native-design-system": "^2.1.3",
|
|
49
51
|
"@umituz/react-native-firebase": "*",
|
|
50
52
|
"@umituz/react-native-legal": "*",
|
|
51
53
|
"@umituz/react-native-localization": "*",
|
|
52
54
|
"@umituz/react-native-sentry": "*",
|
|
53
|
-
"@tanstack/react-query": "^5.0.0",
|
|
54
55
|
"expo-constants": "~16.0.0",
|
|
55
56
|
"expo-linear-gradient": "~15.0.0",
|
|
56
57
|
"firebase": "^10.0.0",
|
|
57
|
-
"react-native-purchases": "^7.0.0",
|
|
58
|
-
"@types/react": "~19.1.10",
|
|
59
58
|
"react": "19.1.0",
|
|
60
59
|
"react-native": "0.81.5",
|
|
60
|
+
"react-native-purchases": "^7.0.0",
|
|
61
61
|
"react-native-safe-area-context": "^5.0.0",
|
|
62
62
|
"typescript": "~5.9.2"
|
|
63
63
|
},
|
|
@@ -68,5 +68,8 @@
|
|
|
68
68
|
"src",
|
|
69
69
|
"README.md",
|
|
70
70
|
"LICENSE"
|
|
71
|
-
]
|
|
71
|
+
],
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@umituz/react-native-subscription": "^2.11.18"
|
|
74
|
+
}
|
|
72
75
|
}
|
|
@@ -55,14 +55,10 @@ export const SubscriptionFooter: React.FC<SubscriptionFooterProps> = React.memo(
|
|
|
55
55
|
activeOpacity={0.8}
|
|
56
56
|
>
|
|
57
57
|
<LinearGradient
|
|
58
|
-
colors={
|
|
59
|
-
isDisabled
|
|
60
|
-
? [tokens.colors.border, tokens.colors.borderLight]
|
|
61
|
-
: [tokens.colors.primary, tokens.colors.secondary]
|
|
62
|
-
}
|
|
58
|
+
colors={[tokens.colors.primary, tokens.colors.secondary]}
|
|
63
59
|
start={{ x: 0, y: 0 }}
|
|
64
60
|
end={{ x: 1, y: 0 }}
|
|
65
|
-
style={[styles.gradientButton, isDisabled && { opacity: 0.
|
|
61
|
+
style={[styles.gradientButton, isDisabled && { opacity: 0.5 }]}
|
|
66
62
|
>
|
|
67
63
|
<AtomicText
|
|
68
64
|
type="titleSmall"
|
|
@@ -7,7 +7,6 @@ import React from "react";
|
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
8
|
import {
|
|
9
9
|
AtomicText,
|
|
10
|
-
AtomicIcon,
|
|
11
10
|
useAppDesignTokens,
|
|
12
11
|
withAlpha,
|
|
13
12
|
} from "@umituz/react-native-design-system";
|
|
@@ -99,13 +98,6 @@ export const PlanCardHeader: React.FC<PlanCardHeaderProps> = ({
|
|
|
99
98
|
>
|
|
100
99
|
{price}
|
|
101
100
|
</AtomicText>
|
|
102
|
-
<View style={styles.expandIconContainer}>
|
|
103
|
-
<AtomicIcon
|
|
104
|
-
name={isExpanded ? "caret-up" : "caret-down"}
|
|
105
|
-
size={18}
|
|
106
|
-
color={tokens.colors.textSecondary as any}
|
|
107
|
-
/>
|
|
108
|
-
</View>
|
|
109
101
|
</View>
|
|
110
102
|
</View>
|
|
111
103
|
</TouchableOpacity>
|
|
@@ -158,10 +150,4 @@ const styles = StyleSheet.create({
|
|
|
158
150
|
alignItems: "center",
|
|
159
151
|
gap: 12,
|
|
160
152
|
},
|
|
161
|
-
expandIconContainer: {
|
|
162
|
-
width: 24,
|
|
163
|
-
height: 24,
|
|
164
|
-
alignItems: "center",
|
|
165
|
-
justifyContent: "center",
|
|
166
|
-
},
|
|
167
153
|
});
|