@legendapp/list 2.0.0-next.6 → 2.0.0-next.8
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/.DS_Store +0 -0
- package/index.d.mts +10 -1
- package/index.d.ts +10 -1
- package/index.js +280 -278
- package/index.mjs +280 -278
- package/package.json +1 -1
package/.DS_Store
ADDED
|
Binary file
|
package/index.d.mts
CHANGED
|
@@ -316,6 +316,15 @@ interface InternalState {
|
|
|
316
316
|
loadStartTime: number;
|
|
317
317
|
initialScroll: ScrollIndexWithOffsetPosition | undefined;
|
|
318
318
|
lastLayout: LayoutRectangle | undefined;
|
|
319
|
+
queuedItemSizeUpdates: {
|
|
320
|
+
itemKey: string;
|
|
321
|
+
sizeObj: {
|
|
322
|
+
width: number;
|
|
323
|
+
height: number;
|
|
324
|
+
};
|
|
325
|
+
}[];
|
|
326
|
+
queuedItemSizeUpdatesWaiting?: boolean;
|
|
327
|
+
timeoutSetPaddingTop?: any;
|
|
319
328
|
props: {
|
|
320
329
|
alignItemsAtEnd: boolean;
|
|
321
330
|
data: readonly any[];
|
|
@@ -543,7 +552,7 @@ interface LegendListRecyclingState<T> {
|
|
|
543
552
|
}
|
|
544
553
|
type TypedForwardRef = <T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.ReactNode) => (props: P & React.RefAttributes<T>) => React.ReactNode;
|
|
545
554
|
declare const typedForwardRef: TypedForwardRef;
|
|
546
|
-
type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqual?: (prevProps: Readonly<
|
|
555
|
+
type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqual?: (prevProps: Readonly<React.JSXElementConstructor<T>>, nextProps: Readonly<React.JSXElementConstructor<T>>) => boolean) => T & {
|
|
547
556
|
displayName?: string;
|
|
548
557
|
};
|
|
549
558
|
declare const typedMemo: TypedMemo;
|
package/index.d.ts
CHANGED
|
@@ -316,6 +316,15 @@ interface InternalState {
|
|
|
316
316
|
loadStartTime: number;
|
|
317
317
|
initialScroll: ScrollIndexWithOffsetPosition | undefined;
|
|
318
318
|
lastLayout: LayoutRectangle | undefined;
|
|
319
|
+
queuedItemSizeUpdates: {
|
|
320
|
+
itemKey: string;
|
|
321
|
+
sizeObj: {
|
|
322
|
+
width: number;
|
|
323
|
+
height: number;
|
|
324
|
+
};
|
|
325
|
+
}[];
|
|
326
|
+
queuedItemSizeUpdatesWaiting?: boolean;
|
|
327
|
+
timeoutSetPaddingTop?: any;
|
|
319
328
|
props: {
|
|
320
329
|
alignItemsAtEnd: boolean;
|
|
321
330
|
data: readonly any[];
|
|
@@ -543,7 +552,7 @@ interface LegendListRecyclingState<T> {
|
|
|
543
552
|
}
|
|
544
553
|
type TypedForwardRef = <T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.ReactNode) => (props: P & React.RefAttributes<T>) => React.ReactNode;
|
|
545
554
|
declare const typedForwardRef: TypedForwardRef;
|
|
546
|
-
type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqual?: (prevProps: Readonly<
|
|
555
|
+
type TypedMemo = <T extends React.ComponentType<any>>(Component: T, propsAreEqual?: (prevProps: Readonly<React.JSXElementConstructor<T>>, nextProps: Readonly<React.JSXElementConstructor<T>>) => boolean) => T & {
|
|
547
556
|
displayName?: string;
|
|
548
557
|
};
|
|
549
558
|
declare const typedMemo: TypedMemo;
|