@trackunit/react-table 1.7.16 → 1.7.19

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
@@ -668,7 +668,7 @@ const useColumnDragDrop = ({ table, }) => {
668
668
  }, [draggingColumnId, dropTargetColumnId, handleDrop, setDropTarget, table]);
669
669
  // Generate drag handle props
670
670
  const getDragHandleProps = react.useCallback((headerId, isPlaceholder, pinned) => ({
671
- className: "invisible mr-1 cursor-grab text-gray-400 group-hover:visible",
671
+ className: "invisible mr-1 cursor-grab text-neutral-400 group-hover:visible",
672
672
  draggable: !pinned && !isPlaceholder,
673
673
  onDragEnd: (e) => {
674
674
  endDragging();
@@ -686,7 +686,7 @@ const useColumnDragDrop = ({ table, }) => {
686
686
  // Create custom drag ghost element
687
687
  const dragGhost = document.createElement("div");
688
688
  dragGhost.className =
689
- "bg-white shadow-md rounded p-3 flex items-center opacity-50 gap-1 border border-gray-300";
689
+ "bg-white shadow-md rounded p-3 flex items-center opacity-50 gap-1 border border-neutral-300";
690
690
  dragGhost.style.position = "absolute";
691
691
  dragGhost.style.top = "-1000px"; // Position off-screen initially
692
692
  dragGhost.style.zIndex = "9999";
@@ -703,7 +703,7 @@ const useColumnDragDrop = ({ table, }) => {
703
703
  </svg>
704
704
 
705
705
  `;
706
- iconElement.className = "text-gray-500 flex-shrink-0 pl-4 pt-1";
706
+ iconElement.className = "text-neutral-500 flex-shrink-0 pl-4 pt-1";
707
707
  iconElement.style.marginRight = "6px";
708
708
  // Add column title
709
709
  const titleElement = document.createElement("span");
package/index.esm.js CHANGED
@@ -667,7 +667,7 @@ const useColumnDragDrop = ({ table, }) => {
667
667
  }, [draggingColumnId, dropTargetColumnId, handleDrop, setDropTarget, table]);
668
668
  // Generate drag handle props
669
669
  const getDragHandleProps = useCallback((headerId, isPlaceholder, pinned) => ({
670
- className: "invisible mr-1 cursor-grab text-gray-400 group-hover:visible",
670
+ className: "invisible mr-1 cursor-grab text-neutral-400 group-hover:visible",
671
671
  draggable: !pinned && !isPlaceholder,
672
672
  onDragEnd: (e) => {
673
673
  endDragging();
@@ -685,7 +685,7 @@ const useColumnDragDrop = ({ table, }) => {
685
685
  // Create custom drag ghost element
686
686
  const dragGhost = document.createElement("div");
687
687
  dragGhost.className =
688
- "bg-white shadow-md rounded p-3 flex items-center opacity-50 gap-1 border border-gray-300";
688
+ "bg-white shadow-md rounded p-3 flex items-center opacity-50 gap-1 border border-neutral-300";
689
689
  dragGhost.style.position = "absolute";
690
690
  dragGhost.style.top = "-1000px"; // Position off-screen initially
691
691
  dragGhost.style.zIndex = "9999";
@@ -702,7 +702,7 @@ const useColumnDragDrop = ({ table, }) => {
702
702
  </svg>
703
703
 
704
704
  `;
705
- iconElement.className = "text-gray-500 flex-shrink-0 pl-4 pt-1";
705
+ iconElement.className = "text-neutral-500 flex-shrink-0 pl-4 pt-1";
706
706
  iconElement.style.marginRight = "6px";
707
707
  // Add column title
708
708
  const titleElement = document.createElement("span");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table",
3
- "version": "1.7.16",
3
+ "version": "1.7.19",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -15,16 +15,16 @@
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.15",
19
- "@trackunit/shared-utils": "1.9.8",
20
- "@trackunit/css-class-variance-utilities": "1.7.8",
21
- "@trackunit/ui-icons": "1.7.10",
22
- "@trackunit/react-table-base-components": "1.7.15",
23
- "@trackunit/react-table-pagination": "1.7.8",
24
- "@trackunit/react-form-components": "1.8.15",
25
- "@trackunit/i18n-library-translation": "1.7.12",
26
- "@trackunit/react-core-contexts-api": "1.8.10",
27
- "@trackunit/react-test-setup": "1.4.8"
18
+ "@trackunit/react-components": "1.9.18",
19
+ "@trackunit/shared-utils": "1.9.10",
20
+ "@trackunit/css-class-variance-utilities": "1.7.10",
21
+ "@trackunit/ui-icons": "1.7.12",
22
+ "@trackunit/react-table-base-components": "1.7.18",
23
+ "@trackunit/react-table-pagination": "1.7.10",
24
+ "@trackunit/react-form-components": "1.8.18",
25
+ "@trackunit/i18n-library-translation": "1.7.14",
26
+ "@trackunit/react-core-contexts-api": "1.8.12",
27
+ "@trackunit/react-test-setup": "1.4.10"
28
28
  },
29
29
  "module": "./index.esm.js",
30
30
  "main": "./index.cjs.js",