@momo-kits/foundation 0.80.8-beta.15 → 0.80.8-beta.16

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.
@@ -209,7 +209,7 @@ const HeaderBackground: React.FC<HeaderBackgroundProps> = ({
209
209
  headerImage = undefined;
210
210
  }
211
211
  const opacity = animatedValue?.interpolate({
212
- inputRange: [0, 200],
212
+ inputRange: [0, 114],
213
213
  outputRange: [0, 1],
214
214
  extrapolate: 'clamp',
215
215
  });
@@ -423,7 +423,7 @@ const HeaderAnimated: React.FC<HeaderAnimatedProps> = ({
423
423
  }) => {
424
424
  const scale = animatedValue.interpolate({
425
425
  inputRange: [-300, 0, 300],
426
- outputRange: [2, 1, 1],
426
+ outputRange: [4, 1, 1],
427
427
  extrapolate: 'clamp',
428
428
  });
429
429
  const opacity = animatedValue.interpolate({
@@ -433,7 +433,7 @@ const HeaderAnimated: React.FC<HeaderAnimatedProps> = ({
433
433
  });
434
434
  const translateY = animatedValue.interpolate({
435
435
  inputRange: [-300, 0],
436
- outputRange: [-160, -2],
436
+ outputRange: [-80, -2],
437
437
  extrapolate: 'clamp',
438
438
  });
439
439
 
package/Layout/Screen.tsx CHANGED
@@ -253,7 +253,7 @@ const Screen = forwardRef(
253
253
  onScroll={handleScroll}
254
254
  style={Styles.flex}>
255
255
  <View
256
- style={[styles.screenBanner, {maxHeight: 215 + layoutOffset}]}>
256
+ style={[styles.screenBanner, {maxHeight: 210 + layoutOffset}]}>
257
257
  {renderHeader()}
258
258
  </View>
259
259
  {renderContent()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.80.8-beta.15",
3
+ "version": "0.80.8-beta.16",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {