@trackunit/react-table 1.0.43 → 1.0.48
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/index.cjs.js +1 -3
- package/index.esm.js +1 -3
- package/package.json +10 -10
package/index.cjs.js
CHANGED
|
@@ -734,9 +734,7 @@ const useTableSelection = ({ data, defaultSelectedIds, enableRowSelection = true
|
|
|
734
734
|
columnFilterLabel: t("table.selection.label"),
|
|
735
735
|
},
|
|
736
736
|
}), [columnHelper, data.length, t]);
|
|
737
|
-
const selectionTableState = react.useMemo(() => ({
|
|
738
|
-
rowSelection,
|
|
739
|
-
}), [rowSelection]);
|
|
737
|
+
const selectionTableState = react.useMemo(() => ({ rowSelection }), [rowSelection]);
|
|
740
738
|
const selectionTableProps = react.useMemo(() => ({
|
|
741
739
|
onRowSelectionChange: setRowSelection,
|
|
742
740
|
getRowId: row => row.id,
|
package/index.esm.js
CHANGED
|
@@ -733,9 +733,7 @@ const useTableSelection = ({ data, defaultSelectedIds, enableRowSelection = true
|
|
|
733
733
|
columnFilterLabel: t("table.selection.label"),
|
|
734
734
|
},
|
|
735
735
|
}), [columnHelper, data.length, t]);
|
|
736
|
-
const selectionTableState = useMemo(() => ({
|
|
737
|
-
rowSelection,
|
|
738
|
-
}), [rowSelection]);
|
|
736
|
+
const selectionTableState = useMemo(() => ({ rowSelection }), [rowSelection]);
|
|
739
737
|
const selectionTableProps = useMemo(() => ({
|
|
740
738
|
onRowSelectionChange: setRowSelection,
|
|
741
739
|
getRowId: row => row.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
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.47.1",
|
|
17
17
|
"tailwind-merge": "^2.0.0",
|
|
18
|
-
"@trackunit/react-components": "1.1.
|
|
19
|
-
"@trackunit/shared-utils": "1.2.
|
|
20
|
-
"@trackunit/css-class-variance-utilities": "1.0.
|
|
21
|
-
"@trackunit/ui-icons": "1.0.
|
|
22
|
-
"@trackunit/react-table-base-components": "1.0.
|
|
23
|
-
"@trackunit/react-table-pagination": "1.0.
|
|
24
|
-
"@trackunit/react-form-components": "1.0.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.0.
|
|
26
|
-
"@trackunit/react-core-contexts-api": "1.0.
|
|
18
|
+
"@trackunit/react-components": "1.1.25",
|
|
19
|
+
"@trackunit/shared-utils": "1.2.17",
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.0.20",
|
|
21
|
+
"@trackunit/ui-icons": "1.0.23",
|
|
22
|
+
"@trackunit/react-table-base-components": "1.0.44",
|
|
23
|
+
"@trackunit/react-table-pagination": "1.0.21",
|
|
24
|
+
"@trackunit/react-form-components": "1.0.44",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.0.29",
|
|
26
|
+
"@trackunit/react-core-contexts-api": "1.0.25"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|