@legendapp/list 1.0.0-beta.27 → 1.0.0-beta.28
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/animated.d.mts +1 -1
- package/animated.d.ts +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +7 -1
- package/index.mjs +7 -1
- package/package.json +1 -1
package/animated.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as _legendapp_list from '@legendapp/list';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { Animated } from 'react-native';
|
|
5
5
|
|
|
6
|
-
declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "
|
|
6
|
+
declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "contentOffset" | "contentInset" | "maintainVisibleContentPosition" | "stickyHeaderIndices"> & {
|
|
7
7
|
alignItemsAtEnd?: boolean;
|
|
8
8
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
9
9
|
data: readonly T[];
|
package/animated.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as _legendapp_list from '@legendapp/list';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { Animated } from 'react-native';
|
|
5
5
|
|
|
6
|
-
declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "
|
|
6
|
+
declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "contentOffset" | "contentInset" | "maintainVisibleContentPosition" | "stickyHeaderIndices"> & {
|
|
7
7
|
alignItemsAtEnd?: boolean;
|
|
8
8
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
9
9
|
data: readonly T[];
|
package/index.d.mts
CHANGED
|
@@ -420,7 +420,7 @@ type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqua
|
|
|
420
420
|
};
|
|
421
421
|
declare const typedMemo: TypedMemo;
|
|
422
422
|
|
|
423
|
-
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "
|
|
423
|
+
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "contentOffset" | "contentInset" | "maintainVisibleContentPosition" | "stickyHeaderIndices"> & {
|
|
424
424
|
alignItemsAtEnd?: boolean;
|
|
425
425
|
columnWrapperStyle?: ColumnWrapperStyle;
|
|
426
426
|
data: readonly T[];
|
package/index.d.ts
CHANGED
|
@@ -420,7 +420,7 @@ type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqua
|
|
|
420
420
|
};
|
|
421
421
|
declare const typedMemo: TypedMemo;
|
|
422
422
|
|
|
423
|
-
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "
|
|
423
|
+
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "contentOffset" | "contentInset" | "maintainVisibleContentPosition" | "stickyHeaderIndices"> & {
|
|
424
424
|
alignItemsAtEnd?: boolean;
|
|
425
425
|
columnWrapperStyle?: ColumnWrapperStyle;
|
|
426
426
|
data: readonly T[];
|
package/index.js
CHANGED
|
@@ -1882,7 +1882,13 @@ var LegendListInner = typedForwardRef(function LegendListInner2(props, forwarded
|
|
|
1882
1882
|
refState.current.scrollAdjustHandler.setDisableAdjust(true);
|
|
1883
1883
|
}
|
|
1884
1884
|
React6.useEffect(() => {
|
|
1885
|
-
|
|
1885
|
+
setTimeout(
|
|
1886
|
+
() => {
|
|
1887
|
+
var _a2;
|
|
1888
|
+
return (_a2 = refState.current) == null ? void 0 : _a2.scrollAdjustHandler.setDisableAdjust(false);
|
|
1889
|
+
},
|
|
1890
|
+
initialContentOffset ? 1e3 : 0
|
|
1891
|
+
);
|
|
1886
1892
|
if (initialContentOffset) {
|
|
1887
1893
|
const doScrollTo = () => {
|
|
1888
1894
|
var _a2;
|
package/index.mjs
CHANGED
|
@@ -1861,7 +1861,13 @@ var LegendListInner = typedForwardRef(function LegendListInner2(props, forwarded
|
|
|
1861
1861
|
refState.current.scrollAdjustHandler.setDisableAdjust(true);
|
|
1862
1862
|
}
|
|
1863
1863
|
useEffect(() => {
|
|
1864
|
-
|
|
1864
|
+
setTimeout(
|
|
1865
|
+
() => {
|
|
1866
|
+
var _a2;
|
|
1867
|
+
return (_a2 = refState.current) == null ? void 0 : _a2.scrollAdjustHandler.setDisableAdjust(false);
|
|
1868
|
+
},
|
|
1869
|
+
initialContentOffset ? 1e3 : 0
|
|
1870
|
+
);
|
|
1865
1871
|
if (initialContentOffset) {
|
|
1866
1872
|
const doScrollTo = () => {
|
|
1867
1873
|
var _a2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/list",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.28",
|
|
4
4
|
"description": "Legend List aims to be a drop-in replacement for FlatList with much better performance and supporting dynamically sized items.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|