@trackunit/react-table 1.7.57 → 1.7.58
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 +10 -10
- package/src/useTableSelection.demo.d.ts +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.58",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
"jest-fetch-mock": "^3.0.3",
|
|
16
16
|
"@tanstack/react-router": "1.114.29",
|
|
17
17
|
"tailwind-merge": "^2.0.0",
|
|
18
|
-
"@trackunit/react-components": "1.9.
|
|
19
|
-
"@trackunit/shared-utils": "1.9.
|
|
20
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
21
|
-
"@trackunit/ui-icons": "1.7.
|
|
22
|
-
"@trackunit/react-table-base-components": "1.7.
|
|
23
|
-
"@trackunit/react-form-components": "1.8.
|
|
24
|
-
"@trackunit/i18n-library-translation": "1.7.
|
|
25
|
-
"@trackunit/react-core-contexts-api": "1.8.
|
|
26
|
-
"@trackunit/react-test-setup": "1.4.
|
|
18
|
+
"@trackunit/react-components": "1.9.54",
|
|
19
|
+
"@trackunit/shared-utils": "1.9.38",
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.7.38",
|
|
21
|
+
"@trackunit/ui-icons": "1.7.39",
|
|
22
|
+
"@trackunit/react-table-base-components": "1.7.57",
|
|
23
|
+
"@trackunit/react-form-components": "1.8.56",
|
|
24
|
+
"@trackunit/i18n-library-translation": "1.7.45",
|
|
25
|
+
"@trackunit/react-core-contexts-api": "1.8.41",
|
|
26
|
+
"@trackunit/react-test-setup": "1.4.38"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { TableSelectionProps } from "./useTableSelection";
|
|
2
|
+
interface RowItem {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface UseTableSelectionDemoComponentProps extends TableSelectionProps<RowItem> {
|
|
3
7
|
}
|
|
4
8
|
/**
|
|
5
9
|
* The `useTableSelection` Hook provides functionality for row selection in a table.
|
|
@@ -8,4 +12,5 @@ export interface UseTableSelectionDemoComponentProps<TData extends SelectableTab
|
|
|
8
12
|
*
|
|
9
13
|
* It Also returns a `selectionColumn` object that can be used as a column definition in a table.
|
|
10
14
|
*/
|
|
11
|
-
export declare const UseTableSelectionDemoComponent:
|
|
15
|
+
export declare const UseTableSelectionDemoComponent: (props: UseTableSelectionDemoComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|