@trackunit/react-table 1.7.46 → 1.7.49

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 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.46",
3
+ "version": "1.7.49",
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.43",
19
- "@trackunit/shared-utils": "1.9.29",
20
- "@trackunit/css-class-variance-utilities": "1.7.29",
21
- "@trackunit/ui-icons": "1.7.31",
22
- "@trackunit/react-table-base-components": "1.7.45",
23
- "@trackunit/react-form-components": "1.8.45",
24
- "@trackunit/i18n-library-translation": "1.7.35",
25
- "@trackunit/react-core-contexts-api": "1.8.31",
26
- "@trackunit/react-test-setup": "1.4.29"
18
+ "@trackunit/react-components": "1.9.46",
19
+ "@trackunit/shared-utils": "1.9.31",
20
+ "@trackunit/css-class-variance-utilities": "1.7.31",
21
+ "@trackunit/ui-icons": "1.7.33",
22
+ "@trackunit/react-table-base-components": "1.7.48",
23
+ "@trackunit/react-form-components": "1.8.48",
24
+ "@trackunit/i18n-library-translation": "1.7.38",
25
+ "@trackunit/react-core-contexts-api": "1.8.34",
26
+ "@trackunit/react-test-setup": "1.4.31"
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;