@umituz/react-native-subscription 2.3.1 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-subscription",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
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",
@@ -22,10 +22,6 @@ export const SubscriptionModalHeader: React.FC<SubscriptionModalHeaderProps> = (
22
22
  }) => {
23
23
  const tokens = useAppDesignTokens();
24
24
 
25
- if (__DEV__) {
26
- console.log("[SubscriptionModalHeader] Rendering", { title, variant, hasSubtitle: !!subtitle });
27
- }
28
-
29
25
  return (
30
26
  <View style={styles.header}>
31
27
  <TouchableOpacity
@@ -10,7 +10,6 @@ import {
10
10
  StyleSheet,
11
11
  TouchableOpacity,
12
12
  Dimensions,
13
- Platform,
14
13
  ViewStyle,
15
14
  } from "react-native";
16
15
  import { useAppDesignTokens } from "@umituz/react-native-design-system";
@@ -63,20 +62,9 @@ export const SubscriptionModalOverlay: React.FC<SubscriptionModalOverlayProps> =
63
62
  maxHeight: SCREEN_HEIGHT * (config.maxHeightPercent ?? 0.88),
64
63
  borderRadius: config.borderRadius ?? 32,
65
64
  overflow: "hidden",
66
- borderWidth: 1,
67
- borderColor: "rgba(255, 255, 255, 0.08)",
68
- backgroundColor: tokens.colors.surface,
69
- ...Platform.select({
70
- ios: {
71
- shadowColor: "#000",
72
- shadowOffset: { width: 0, height: 16 },
73
- shadowOpacity: 0.5,
74
- shadowRadius: 32,
75
- },
76
- android: {
77
- elevation: 16,
78
- },
79
- }),
65
+ borderWidth: 2,
66
+ borderColor: "rgba(255, 255, 255, 0.15)",
67
+ backgroundColor: tokens.colors.backgroundPrimary,
80
68
  });
81
69
 
82
70
  if (isFullScreen) {
@@ -166,16 +154,5 @@ const styles = StyleSheet.create({
166
154
  overflow: "hidden",
167
155
  borderWidth: 1,
168
156
  borderColor: "rgba(255, 255, 255, 0.1)",
169
- ...Platform.select({
170
- ios: {
171
- shadowColor: "#000",
172
- shadowOffset: { width: 0, height: 12 },
173
- shadowOpacity: 0.4,
174
- shadowRadius: 24,
175
- },
176
- android: {
177
- elevation: 12,
178
- },
179
- }),
180
157
  },
181
158
  });