@guiexpert/react-table 18.1.83 → 18.1.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.
@@ -1,4 +1,5 @@
1
1
  import { AreaIdent, AreaModelIf, CellRendererIf, DomServiceIf, RendererCleanupFnType } from '../../../table/src';
2
+
2
3
  export declare class ComponentRendererWrapper implements CellRendererIf {
3
4
  private readonly Component;
4
5
  constructor(Component: any);
@@ -1,13 +1,16 @@
1
- import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../../table/src';
1
+ import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, GeScrollEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../../table/src';
2
+
2
3
  export type GeMouseEventFn = (evt: GeMouseEvent) => {};
3
4
  export type GeCheckboxEventFn = (evt: any[]) => {};
4
5
  export type GeTableReadyEventFn = (evt: TableApi) => {};
5
6
  export type GeModelChangeEventFn = (evt: GeModelChangeEvent) => {};
6
7
  export type GeSelectionChangeEventFn = (evt: SelectionModelIf) => {};
7
8
  export type GeFocusChangeEventFn = (evt: FocusModelIf) => {};
9
+ export type GeScrollEventFn = (evt: GeScrollEvent) => {};
8
10
  export interface GuiexpertTableProps {
9
11
  tableModel: TableModelIf;
10
12
  tableOptions?: TableOptions;
13
+ scroll?: GeScrollEventFn;
11
14
  mouseMoved?: GeMouseEventFn;
12
15
  contextmenu?: GeMouseEventFn;
13
16
  mouseClicked?: GeMouseEventFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guiexpert/react-table",
3
- "version": "18.1.83",
3
+ "version": "18.1.84",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -20,14 +20,18 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "tslib": "^2.3.0",
23
- "react": "18.2.0",
24
- "react-dom": "18.2.0",
25
- "@guiexpert/table": "^1.1.83"
23
+ "@guiexpert/table": "^1.1.84"
24
+ },
25
+ "peerDependencies": {
26
+ "react": "^18.0.0 || ^19.0.0",
27
+ "react-dom": "^18.0.0 || ^19.0.0"
26
28
  },
27
29
  "devDependencies": {
30
+ "react": "^18.2.0",
31
+ "react-dom": "^18.2.0",
28
32
  "@vitejs/plugin-react": "^4.1.1",
29
- "@types/react": "^18.2.37",
30
- "@types/react-dom": "^18.2.15",
33
+ "@types/react": "^18.2.37 || ^19.0.0",
34
+ "@types/react-dom": "^18.2.15 || ^19.0.0",
31
35
  "@testing-library/react": "^14.1.0",
32
36
  "@types/node": "^20.11.17",
33
37
  "vite": "6.3.4",