@react-native/virtualized-lists 0.80.0-rc.0 → 0.80.0-rc.1
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": "@react-native/virtualized-lists",
|
|
3
|
-
"version": "0.80.0-rc.
|
|
3
|
+
"version": "0.80.0-rc.1",
|
|
4
4
|
"description": "Virtualized lists for React Native.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"
|
|
24
|
+
"react-native-strict-api": "./types_generated/index.d.ts",
|
|
25
|
+
"types": "./index.d.ts",
|
|
25
26
|
"default": "./index.js"
|
|
26
27
|
},
|
|
27
28
|
"./*": {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<1cf40929e77728146e42c30aaa23b9b6>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
10
|
* Original file: packages/virtualized-lists/Lists/VirtualizedSectionList.js
|
|
@@ -95,7 +95,7 @@ export type ScrollToLocationParamsType = {
|
|
|
95
95
|
viewOffset?: number;
|
|
96
96
|
viewPosition?: number;
|
|
97
97
|
};
|
|
98
|
-
declare const
|
|
98
|
+
declare const $$VirtualizedSectionList: <ItemT, SectionT extends SectionBase<ItemT, DefaultSectionT> = DefaultSectionT>(props: Omit<VirtualizedSectionListProps<ItemT, SectionT>, keyof {
|
|
99
99
|
ref: React.Ref<{
|
|
100
100
|
getListRef(): VirtualizedList | undefined;
|
|
101
101
|
scrollToLocation(params: ScrollToLocationParamsType): void;
|
|
@@ -106,5 +106,5 @@ declare const VirtualizedSectionList_DEFAULT: <ItemT, SectionT extends SectionBa
|
|
|
106
106
|
scrollToLocation(params: ScrollToLocationParamsType): void;
|
|
107
107
|
}>;
|
|
108
108
|
}) => React.ReactNode;
|
|
109
|
-
declare type
|
|
110
|
-
export default
|
|
109
|
+
declare type $$VirtualizedSectionList = typeof $$VirtualizedSectionList;
|
|
110
|
+
export default $$VirtualizedSectionList;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<9d4786c4892b620061e5b10a2f4a8e85>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
10
|
* Original file: packages/virtualized-lists/index.js
|
|
@@ -25,7 +25,7 @@ export type { ViewToken, ViewabilityConfig, ViewabilityConfigCallbackPair, Viewa
|
|
|
25
25
|
export type { CellRendererProps, ListRenderItemInfo, ListRenderItem, Separators, VirtualizedListProps } from "./Lists/VirtualizedListProps";
|
|
26
26
|
export type { VirtualizedSectionListProps, ScrollToLocationParamsType, SectionBase, SectionData } from "./Lists/VirtualizedSectionList";
|
|
27
27
|
export type { FillRateInfo } from "./Lists/FillRateHelper";
|
|
28
|
-
declare const
|
|
28
|
+
declare const $$index: {
|
|
29
29
|
keyExtractor: typeof keyExtractor;
|
|
30
30
|
get VirtualizedList(): VirtualizedList;
|
|
31
31
|
get VirtualizedSectionList(): VirtualizedSectionList<any, any>;
|
|
@@ -33,5 +33,5 @@ declare const index_DEFAULT: {
|
|
|
33
33
|
get ViewabilityHelper(): ViewabilityHelper;
|
|
34
34
|
get FillRateHelper(): FillRateHelper;
|
|
35
35
|
};
|
|
36
|
-
declare type
|
|
37
|
-
export default
|
|
36
|
+
declare type $$index = typeof $$index;
|
|
37
|
+
export default $$index;
|