@etsoo/react 1.6.82 → 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
- interface ScrollerListRef {
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,6 +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, VariableSizeGrid } from 'react-window';
14
15
  export * from './notifier/Notifier';
15
16
  export * from '@etsoo/notificationbase';
16
17
  export * from './states/CultureState';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.6.82",
3
+ "version": "1.6.84",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -69,7 +69,10 @@ export interface ScrollerListProps<
69
69
  itemSize: ((index: number) => number) | number;
70
70
  }
71
71
 
72
- interface ScrollerListRef {
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,6 +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 {
18
+ ListOnScrollProps,
19
+ GridOnScrollProps,
20
+ VariableSizeGrid
21
+ } from 'react-window';
17
22
 
18
23
  // notifier
19
24
  export * from './notifier/Notifier';