@umituz/react-native-subscription 2.2.25 → 2.2.26

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.2.25",
3
+ "version": "2.2.26",
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",
@@ -135,18 +135,22 @@ SubscriptionModal.displayName = "SubscriptionModal";
135
135
  const styles = StyleSheet.create({
136
136
  container: {
137
137
  flex: 1,
138
+ width: "100%",
138
139
  },
139
140
  scrollView: {
140
141
  flex: 1,
142
+ width: "100%",
141
143
  },
142
144
  scrollContent: {
143
145
  paddingHorizontal: 24,
144
- paddingBottom: 24,
146
+ paddingBottom: 32,
145
147
  flexGrow: 1,
146
148
  },
147
149
  featuresSection: {
148
- borderRadius: 20,
149
- padding: 20,
150
- marginTop: 8,
150
+ borderRadius: 24,
151
+ padding: 24,
152
+ marginTop: 12,
153
+ borderWidth: 1,
154
+ borderColor: "rgba(255, 255, 255, 0.05)",
151
155
  },
152
156
  });
@@ -105,21 +105,21 @@ const styles = StyleSheet.create({
105
105
  },
106
106
  dialog: {
107
107
  alignSelf: "center",
108
- marginBottom: "auto",
109
- marginTop: "auto",
110
- width: Math.min(SCREEN_WIDTH * 0.9, 450),
111
- maxHeight: SCREEN_HEIGHT * 0.8,
112
- borderRadius: 24,
108
+ width: Math.min(SCREEN_WIDTH * 0.94, 500),
109
+ maxHeight: SCREEN_HEIGHT * 0.85,
110
+ borderRadius: 32,
113
111
  overflow: "hidden",
112
+ borderWidth: 1,
113
+ borderColor: "rgba(255, 255, 255, 0.1)", // Subtle premium border
114
114
  ...Platform.select({
115
115
  ios: {
116
116
  shadowColor: "#000",
117
- shadowOffset: { width: 0, height: 10 },
118
- shadowOpacity: 0.3,
119
- shadowRadius: 20,
117
+ shadowOffset: { width: 0, height: 12 },
118
+ shadowOpacity: 0.4,
119
+ shadowRadius: 24,
120
120
  },
121
121
  android: {
122
- elevation: 10,
122
+ elevation: 12,
123
123
  },
124
124
  }),
125
125
  },