@etsoo/react 1.7.45 → 1.7.46

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.
@@ -21,7 +21,7 @@ export type ScrollerGridItemRendererProps<T> = Omit<GridChildComponentProps<T>,
21
21
  /**
22
22
  * Scroller vertical grid props
23
23
  */
24
- export interface ScrollerGridProps<T extends object> extends GridLoader<T>, Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight' | 'ref'> {
24
+ export interface ScrollerGridProps<T extends object> extends GridLoader<T>, Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight'> {
25
25
  /**
26
26
  * Default order by asc
27
27
  * @default true
@@ -6,7 +6,7 @@ import { GridMethodRef } from './GridMethodRef';
6
6
  /**
7
7
  * Scroller vertical list props
8
8
  */
9
- export interface ScrollerListProps<T extends object> extends GridLoader<T>, Omit<ListProps<T>, 'ref' | 'outerRef' | 'height' | 'width' | 'children' | 'itemCount'> {
9
+ export interface ScrollerListProps<T extends object> extends GridLoader<T>, Omit<ListProps<T>, 'outerRef' | 'height' | 'width' | 'children' | 'itemCount'> {
10
10
  /**
11
11
  * Default order by asc/desc
12
12
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.7.45",
3
+ "version": "1.7.46",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -46,10 +46,7 @@ export type ScrollerGridItemRendererProps<T> = Omit<
46
46
  */
47
47
  export interface ScrollerGridProps<T extends object>
48
48
  extends GridLoader<T>,
49
- Omit<
50
- VariableSizeGridProps<T>,
51
- 'children' | 'rowCount' | 'rowHeight' | 'ref'
52
- > {
49
+ Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight'> {
53
50
  /**
54
51
  * Default order by asc
55
52
  * @default true
@@ -25,7 +25,7 @@ export interface ScrollerListProps<T extends object>
25
25
  extends GridLoader<T>,
26
26
  Omit<
27
27
  ListProps<T>,
28
- 'ref' | 'outerRef' | 'height' | 'width' | 'children' | 'itemCount'
28
+ 'outerRef' | 'height' | 'width' | 'children' | 'itemCount' // Exclude these props, shoud be exisited otherwise will be failed
29
29
  > {
30
30
  /**
31
31
  * Default order by asc/desc
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
4
  "target": "ES2020",
5
5
  "module": "ESNext",
6
- "moduleResolution": "Node10",
6
+ "moduleResolution": "bundler",
7
7
  "allowJs": false,
8
8
  "isolatedModules": true,
9
9
  "outDir": "./lib",