@trackunit/react-table 1.7.46 → 1.7.47
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 -1
- package/index.esm.js +1 -1
- package/package.json +10 -10
- package/src/hooks/useColumnDragDrop.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -569,7 +569,7 @@ const useCellsOffset = (headerGroups, draggingColumnId) => {
|
|
|
569
569
|
* Hook for handling column drag and drop functionality in a table
|
|
570
570
|
*
|
|
571
571
|
* @param options - Options including the ReactTable instance and optional callbacks
|
|
572
|
-
* @returns Object containing drag state and handler functions
|
|
572
|
+
* @returns { object } Object containing drag state and handler functions
|
|
573
573
|
*/
|
|
574
574
|
const useColumnDragDrop = ({ table, }) => {
|
|
575
575
|
const [draggingColumnId, setDraggingColumnId] = react.useState(null);
|
package/index.esm.js
CHANGED
|
@@ -568,7 +568,7 @@ const useCellsOffset = (headerGroups, draggingColumnId) => {
|
|
|
568
568
|
* Hook for handling column drag and drop functionality in a table
|
|
569
569
|
*
|
|
570
570
|
* @param options - Options including the ReactTable instance and optional callbacks
|
|
571
|
-
* @returns Object containing drag state and handler functions
|
|
571
|
+
* @returns { object } Object containing drag state and handler functions
|
|
572
572
|
*/
|
|
573
573
|
const useColumnDragDrop = ({ table, }) => {
|
|
574
574
|
const [draggingColumnId, setDraggingColumnId] = useState(null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.47",
|
|
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.44",
|
|
19
|
+
"@trackunit/shared-utils": "1.9.30",
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.7.30",
|
|
21
|
+
"@trackunit/ui-icons": "1.7.32",
|
|
22
|
+
"@trackunit/react-table-base-components": "1.7.46",
|
|
23
|
+
"@trackunit/react-form-components": "1.8.46",
|
|
24
|
+
"@trackunit/i18n-library-translation": "1.7.36",
|
|
25
|
+
"@trackunit/react-core-contexts-api": "1.8.32",
|
|
26
|
+
"@trackunit/react-test-setup": "1.4.30"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|
|
@@ -9,7 +9,7 @@ type ColumnStyles = {
|
|
|
9
9
|
* Hook for handling column drag and drop functionality in a table
|
|
10
10
|
*
|
|
11
11
|
* @param options - Options including the ReactTable instance and optional callbacks
|
|
12
|
-
* @returns Object containing drag state and handler functions
|
|
12
|
+
* @returns { object } Object containing drag state and handler functions
|
|
13
13
|
*/
|
|
14
14
|
export declare const useColumnDragDrop: <TData extends object>({ table, }: ColumnDragDropOptions<TData>) => {
|
|
15
15
|
draggingColumnId: string | null;
|