@etsoo/react 1.6.83 → 1.6.84
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.
|
@@ -40,7 +40,10 @@ export interface ScrollerListProps<T extends object, D extends DataTypes.Keys<T>
|
|
|
40
40
|
*/
|
|
41
41
|
itemSize: ((index: number) => number) | number;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Scroller list ref
|
|
45
|
+
*/
|
|
46
|
+
export interface ScrollerListRef {
|
|
44
47
|
/**
|
|
45
48
|
* Scroll to the specified offset (scrollTop or scrollLeft, depending on the direction prop).
|
|
46
49
|
*/
|
|
@@ -65,4 +68,3 @@ export interface ScrollerListForwardRef<T> extends GridMethodRef<T>, ScrollerLis
|
|
|
65
68
|
* @returns Component
|
|
66
69
|
*/
|
|
67
70
|
export declare const ScrollerList: <T extends object, D extends DataTypes.Keys<T, string | number> = IdDefaultType<T>>(props: ScrollerListProps<T, D>) => React.JSX.Element;
|
|
68
|
-
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export * from './components/ListItemReact';
|
|
|
11
11
|
export * from './components/ScrollerGrid';
|
|
12
12
|
export * from './components/ScrollerList';
|
|
13
13
|
export * from './components/ScrollRestoration';
|
|
14
|
-
export type { ListOnScrollProps, GridOnScrollProps } from 'react-window';
|
|
14
|
+
export type { ListOnScrollProps, GridOnScrollProps, VariableSizeGrid } from 'react-window';
|
|
15
15
|
export * from './notifier/Notifier';
|
|
16
16
|
export * from '@etsoo/notificationbase';
|
|
17
17
|
export * from './states/CultureState';
|
package/package.json
CHANGED
|
@@ -69,7 +69,10 @@ export interface ScrollerListProps<
|
|
|
69
69
|
itemSize: ((index: number) => number) | number;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Scroller list ref
|
|
74
|
+
*/
|
|
75
|
+
export interface ScrollerListRef {
|
|
73
76
|
/**
|
|
74
77
|
* Scroll to the specified offset (scrollTop or scrollLeft, depending on the direction prop).
|
|
75
78
|
*/
|
package/src/index.ts
CHANGED
|
@@ -14,7 +14,11 @@ export * from './components/ListItemReact';
|
|
|
14
14
|
export * from './components/ScrollerGrid';
|
|
15
15
|
export * from './components/ScrollerList';
|
|
16
16
|
export * from './components/ScrollRestoration';
|
|
17
|
-
export type {
|
|
17
|
+
export type {
|
|
18
|
+
ListOnScrollProps,
|
|
19
|
+
GridOnScrollProps,
|
|
20
|
+
VariableSizeGrid
|
|
21
|
+
} from 'react-window';
|
|
18
22
|
|
|
19
23
|
// notifier
|
|
20
24
|
export * from './notifier/Notifier';
|