@umituz/react-native-onboarding 2.6.1 → 2.6.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-onboarding",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Advanced onboarding flow for React Native apps with personalization questions, theme-aware colors, animations, and customizable slides. SOLID, DRY, KISS principles applied.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -138,10 +138,8 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>, useGradient: b
138
138
  alignItems: "center",
139
139
  maxWidth: 500,
140
140
  width: "100%",
141
- // Gradient kullanıldığında yarı şeffaf, değilse solid
142
- backgroundColor: useGradient
143
- ? "rgba(255, 255, 255, 0.15)"
144
- : tokens.colors.surface,
141
+ // Gradient kullanıldığında tamamen şeffaf, değilse solid
142
+ backgroundColor: useGradient ? "transparent" : tokens.colors.surface,
145
143
  padding: 30,
146
144
  borderRadius: 24,
147
145
  borderWidth: useGradient ? 0 : 1,
@@ -151,13 +149,9 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>, useGradient: b
151
149
  width: 0,
152
150
  height: 4,
153
151
  },
154
- shadowOpacity: useGradient ? 0.3 : 0.1,
152
+ shadowOpacity: useGradient ? 0 : 0.1,
155
153
  shadowRadius: 8,
156
- elevation: 4,
157
- // Gradient için backdrop blur efekti
158
- ...(useGradient && {
159
- backdropFilter: "blur(10px)",
160
- }),
154
+ elevation: useGradient ? 0 : 4,
161
155
  },
162
156
  iconContainer: {
163
157
  width: 96,