@etsoo/react 1.6.64 → 1.6.66

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.
@@ -81,7 +81,7 @@ export type GridCellRendererProps<T, P = any> = GridCellFormatterProps<T> & {
81
81
  * Set items for rerenderer
82
82
  * @param callback Callback
83
83
  */
84
- setItems: (callback: ((items: T[]) => T[] | undefined | void) | ((items: T[], ref: ScrollerGridForwardRef<T>) => T[] | undefined | void)) => void;
84
+ setItems: (callback: (items: T[], ref?: ScrollerGridForwardRef<T>) => T[] | undefined | void) => void;
85
85
  };
86
86
  /**
87
87
  * Grid header cell renderer props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.6.64",
3
+ "version": "1.6.66",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,10 +50,10 @@
50
50
  "@emotion/css": "^11.10.6",
51
51
  "@emotion/react": "^11.10.6",
52
52
  "@emotion/styled": "^11.10.6",
53
- "@etsoo/appscript": "^1.3.89",
53
+ "@etsoo/appscript": "^1.3.90",
54
54
  "@etsoo/notificationbase": "^1.1.24",
55
- "@etsoo/shared": "^1.1.99",
56
- "@types/react": "^18.0.33",
55
+ "@etsoo/shared": "^1.2.0",
56
+ "@types/react": "^18.0.35",
57
57
  "@types/react-dom": "^18.0.11",
58
58
  "@types/react-window": "^1.8.5",
59
59
  "react": "^18.2.0",
@@ -121,12 +121,10 @@ export type GridCellRendererProps<T, P = any> = GridCellFormatterProps<T> & {
121
121
  * @param callback Callback
122
122
  */
123
123
  setItems: (
124
- callback:
125
- | ((items: T[]) => T[] | undefined | void)
126
- | ((
127
- items: T[],
128
- ref: ScrollerGridForwardRef<T>
129
- ) => T[] | undefined | void)
124
+ callback: (
125
+ items: T[],
126
+ ref?: ScrollerGridForwardRef<T>
127
+ ) => T[] | undefined | void
130
128
  ) => void;
131
129
  };
132
130