@umituz/react-native-subscription 2.39.2 → 2.39.4

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.39.2",
3
+ "version": "2.39.4",
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",
@@ -3,7 +3,7 @@ import { View } from "react-native";
3
3
  import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
4
4
  import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
5
5
  import type { SubscriptionFeature } from "../entities/types";
6
- import { paywallModalStyles as styles } from "./PaywallModal.styles";
6
+ import { paywallScreenStyles as styles } from "./PaywallScreen.styles";
7
7
 
8
8
  export const PaywallFeatures: React.FC<{ features: SubscriptionFeature[] }> = ({ features }) => {
9
9
  const tokens = useAppDesignTokens();
@@ -3,7 +3,7 @@ import { View, TouchableOpacity } from "react-native";
3
3
  import { AtomicText } from "@umituz/react-native-design-system/atoms";
4
4
  import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
5
5
  import type { PaywallTranslations, PaywallLegalUrls } from "../entities/types";
6
- import { paywallModalStyles as styles } from "./PaywallModal.styles";
6
+ import { paywallScreenStyles as styles } from "./PaywallScreen.styles";
7
7
 
8
8
  interface PaywallFooterProps {
9
9
  translations: PaywallTranslations;
@@ -54,4 +54,43 @@ export const paywallScreenStyles = StyleSheet.create({
54
54
  ctaText: {
55
55
  fontWeight: "600",
56
56
  },
57
+ features: {
58
+ padding: 16,
59
+ },
60
+ featureRow: {
61
+ flexDirection: "row",
62
+ alignItems: "center",
63
+ marginBottom: 12,
64
+ },
65
+ featureIcon: {
66
+ width: 32,
67
+ height: 32,
68
+ borderRadius: 16,
69
+ alignItems: "center",
70
+ justifyContent: "center",
71
+ marginRight: 12,
72
+ },
73
+ featureText: {
74
+ flex: 1,
75
+ },
76
+ footer: {
77
+ paddingHorizontal: 16,
78
+ paddingBottom: 16,
79
+ },
80
+ restoreButton: {
81
+ paddingVertical: 8,
82
+ },
83
+ restoreButtonDisabled: {
84
+ opacity: 0.5,
85
+ },
86
+ footerLink: {
87
+ fontSize: 12,
88
+ },
89
+ legalRow: {
90
+ flexDirection: "row",
91
+ justifyContent: "center",
92
+ alignItems: "center",
93
+ marginTop: 8,
94
+ gap: 16,
95
+ },
57
96
  });
@@ -191,6 +191,6 @@ const createScreenStyles = (tokens: any, insets: any) => ({
191
191
  alignItems: 'center' as const,
192
192
  },
193
193
  submitText: {
194
- fontWeight: "600",
194
+ fontWeight: "600" as const,
195
195
  },
196
196
  });