@legendapp/list 1.0.0-beta.41 → 1.0.0-beta.42
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/keyboard-controller.js +2 -1
- package/keyboard-controller.mjs +2 -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, "maintainVisibleContentPosition" | "stickyHeaderIndices" | "contentInset" | "contentOffset"> & {
|
|
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, "maintainVisibleContentPosition" | "stickyHeaderIndices" | "contentInset" | "contentOffset"> & {
|
|
7
7
|
alignItemsAtEnd?: boolean;
|
|
8
8
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
9
9
|
data: readonly T[];
|
package/index.d.mts
CHANGED
|
@@ -453,7 +453,7 @@ type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqua
|
|
|
453
453
|
};
|
|
454
454
|
declare const typedMemo: TypedMemo;
|
|
455
455
|
|
|
456
|
-
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "
|
|
456
|
+
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "maintainVisibleContentPosition" | "stickyHeaderIndices" | "contentInset" | "contentOffset"> & {
|
|
457
457
|
alignItemsAtEnd?: boolean;
|
|
458
458
|
columnWrapperStyle?: ColumnWrapperStyle;
|
|
459
459
|
data: readonly T[];
|
package/index.d.ts
CHANGED
|
@@ -453,7 +453,7 @@ type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqua
|
|
|
453
453
|
};
|
|
454
454
|
declare const typedMemo: TypedMemo;
|
|
455
455
|
|
|
456
|
-
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "
|
|
456
|
+
declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "maintainVisibleContentPosition" | "stickyHeaderIndices" | "contentInset" | "contentOffset"> & {
|
|
457
457
|
alignItemsAtEnd?: boolean;
|
|
458
458
|
columnWrapperStyle?: ColumnWrapperStyle;
|
|
459
459
|
data: readonly T[];
|
package/keyboard-controller.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var list = require('@legendapp/list');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var reactNativeKeyboardController = require('react-native-keyboard-controller');
|
|
5
6
|
var reactNativeReanimated = require('react-native-reanimated');
|
|
@@ -38,7 +39,7 @@ var LegendList = typedForwardRef(function LegendList2(props, forwardedRef) {
|
|
|
38
39
|
reactNativeReanimated.runOnJS(updatePadding)(e.height);
|
|
39
40
|
}
|
|
40
41
|
});
|
|
41
|
-
const LegendListComponent = LegendListProp != null ? LegendListProp :
|
|
42
|
+
const LegendListComponent = LegendListProp != null ? LegendListProp : list.LegendList;
|
|
42
43
|
return /* @__PURE__ */ React__namespace.createElement(LegendListComponent, { style: { paddingTop: padding }, ...rest, ref: forwardedRef });
|
|
43
44
|
});
|
|
44
45
|
|
package/keyboard-controller.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LegendList as LegendList$1 } from '@legendapp/list';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { useState, forwardRef } from 'react';
|
|
3
4
|
import { useKeyboardHandler } from 'react-native-keyboard-controller';
|
|
@@ -17,7 +18,7 @@ var LegendList = typedForwardRef(function LegendList2(props, forwardedRef) {
|
|
|
17
18
|
runOnJS(updatePadding)(e.height);
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
|
-
const LegendListComponent = LegendListProp != null ? LegendListProp :
|
|
21
|
+
const LegendListComponent = LegendListProp != null ? LegendListProp : LegendList$1;
|
|
21
22
|
return /* @__PURE__ */ React.createElement(LegendListComponent, { style: { paddingTop: padding }, ...rest, ref: forwardedRef });
|
|
22
23
|
});
|
|
23
24
|
|
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.42",
|
|
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,
|