react-native-tab-view 5.0.0-alpha.16 → 5.0.0-alpha.17

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.
@@ -2,10 +2,10 @@ import * as React from 'react';
2
2
  import { type ViewProps } from 'react-native';
3
3
  import type { AdapterProps } from './types.js';
4
4
  export type ScrollViewAdapterProps = AdapterProps & Omit<ViewProps, 'children'> & {
5
- decelerationRate?: 'fast' | 'normal';
6
- keyboardShouldPersistTaps?: 'always' | 'never' | 'handled';
7
- bounces?: boolean;
8
- overScrollMode?: 'always' | 'never' | 'auto';
5
+ decelerationRate?: 'fast' | 'normal' | undefined;
6
+ keyboardShouldPersistTaps?: 'always' | 'never' | 'handled' | undefined;
7
+ bounces?: boolean | undefined;
8
+ overScrollMode?: 'always' | 'never' | 'auto' | undefined;
9
9
  };
10
10
  export declare function ScrollViewAdapter({ keyboardDismissMode, swipeEnabled, navigationState, onIndexChange, onTabSelect, onSwipeStart, onSwipeEnd, children, style, animationEnabled, layoutDirection, decelerationRate, bounces, overScrollMode, keyboardShouldPersistTaps, ...rest }: ScrollViewAdapterProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
11
11
  //# sourceMappingURL=ScrollViewAdapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollViewAdapter.d.ts","sourceRoot":"","sources":["../../../src/ScrollViewAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,YAAY,EAAY,MAAM,YAAS,CAAC;AAGtD,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAC/C,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG;IAC5B,gBAAgB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACrC,yBAAyB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG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,EACR,EAAE,sBAAsB,0EAqRxB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-tab-view",
3
3
  "description": "Tab view component for React Native",
4
- "version": "5.0.0-alpha.16",
4
+ "version": "5.0.0-alpha.17",
5
5
  "keywords": [
6
6
  "react-native-component",
7
7
  "react-component",
@@ -85,5 +85,5 @@
85
85
  ]
86
86
  ]
87
87
  },
88
- "gitHead": "e83cb9a88ab92d24caad272442c338de046cfac2"
88
+ "gitHead": "110f8e897f476977b7227e5f0326996106a742f0"
89
89
  }
@@ -15,10 +15,10 @@ import { useMeasureLayout } from './useMeasureLayout';
15
15
 
16
16
  export type ScrollViewAdapterProps = AdapterProps &
17
17
  Omit<ViewProps, 'children'> & {
18
- decelerationRate?: 'fast' | 'normal';
19
- keyboardShouldPersistTaps?: 'always' | 'never' | 'handled';
20
- bounces?: boolean;
21
- overScrollMode?: 'always' | 'never' | 'auto';
18
+ decelerationRate?: 'fast' | 'normal' | undefined;
19
+ keyboardShouldPersistTaps?: 'always' | 'never' | 'handled' | undefined;
20
+ bounces?: boolean | undefined;
21
+ overScrollMode?: 'always' | 'never' | 'auto' | undefined;
22
22
  };
23
23
 
24
24
  type ScrollEvent = Parameters<