@trackunit/react-table 1.11.20 → 1.11.22
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.22",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"react-dnd-html5-backend": "16.0.1",
|
|
15
15
|
"@tanstack/react-router": "1.114.29",
|
|
16
16
|
"tailwind-merge": "^2.0.0",
|
|
17
|
-
"@trackunit/react-components": "1.15.
|
|
18
|
-
"@trackunit/shared-utils": "1.13.
|
|
19
|
-
"@trackunit/css-class-variance-utilities": "1.11.
|
|
20
|
-
"@trackunit/ui-icons": "1.11.
|
|
21
|
-
"@trackunit/react-table-base-components": "1.11.
|
|
22
|
-
"@trackunit/react-form-components": "1.12.
|
|
23
|
-
"@trackunit/i18n-library-translation": "1.11.
|
|
24
|
-
"@trackunit/iris-app-runtime-core-api": "1.11.
|
|
17
|
+
"@trackunit/react-components": "1.15.20",
|
|
18
|
+
"@trackunit/shared-utils": "1.13.16",
|
|
19
|
+
"@trackunit/css-class-variance-utilities": "1.11.16",
|
|
20
|
+
"@trackunit/ui-icons": "1.11.15",
|
|
21
|
+
"@trackunit/react-table-base-components": "1.11.22",
|
|
22
|
+
"@trackunit/react-form-components": "1.12.21",
|
|
23
|
+
"@trackunit/i18n-library-translation": "1.11.16",
|
|
24
|
+
"@trackunit/iris-app-runtime-core-api": "1.11.16",
|
|
25
25
|
"graphql": "^16.10.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "./index.esm.js",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ColumnDef, RowSelectionState } from "@tanstack/react-table";
|
|
2
2
|
import { Dispatch, SetStateAction } from "react";
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type SelectableTableData = object;
|
|
5
4
|
export interface TableSelectionProps<TData extends SelectableTableData> {
|
|
6
5
|
/**
|
|
7
6
|
* The data that is displayed in the table.
|
|
@@ -3,8 +3,7 @@ interface RowItem {
|
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
7
|
-
}
|
|
6
|
+
export type UseTableSelectionDemoComponentProps = TableSelectionProps<RowItem>;
|
|
8
7
|
/**
|
|
9
8
|
* The `useTableSelection` Hook provides functionality for row selection in a table.
|
|
10
9
|
*
|