@trackunit/react-table 1.7.55 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table",
3
- "version": "1.7.55",
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.51",
19
- "@trackunit/shared-utils": "1.9.35",
20
- "@trackunit/css-class-variance-utilities": "1.7.35",
21
- "@trackunit/ui-icons": "1.7.37",
22
- "@trackunit/react-table-base-components": "1.7.54",
23
- "@trackunit/react-form-components": "1.8.53",
24
- "@trackunit/i18n-library-translation": "1.7.42",
25
- "@trackunit/react-core-contexts-api": "1.8.38",
26
- "@trackunit/react-test-setup": "1.4.35"
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 { SelectableTableData, TableSelectionProps } from "./useTableSelection";
2
- export interface UseTableSelectionDemoComponentProps<TData extends SelectableTableData> extends TableSelectionProps<TData> {
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: <TData extends SelectableTableData>(props: UseTableSelectionDemoComponentProps<TData>) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const UseTableSelectionDemoComponent: (props: UseTableSelectionDemoComponentProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};