@trackunit/react-table 0.0.347 → 0.0.348

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
@@ -219,7 +219,7 @@ const actionDataToMenuItem = (action, dataTestId) => {
219
219
  };
220
220
  const item = (jsxRuntime.jsx(reactComponents.MenuItem, { props, className: "flex justify-center", dataTestId: `${dataTestId}-action-label`, label: action.label, onClick: "method" in action ? action.method : undefined, prefix: jsxRuntime.jsx(reactComponents.Icon, { "data-testid": "action-icon", forwardedRef: action.forwardedRef, name: action.icon, size: action.size, style: action.style }), stopPropagation: false }, action.label));
221
221
  if ("url" in action) {
222
- return (jsxRuntime.jsx(reactRouter.Link, { id: action.id, params: prev => prev, to: action.url, children: item }, action.label));
222
+ return (jsxRuntime.jsx(reactRouter.Link, { id: action.id, to: action.url, children: item }, action.label));
223
223
  }
224
224
  return item;
225
225
  };
package/index.esm.js CHANGED
@@ -194,7 +194,7 @@ const actionDataToMenuItem = (action, dataTestId) => {
194
194
  };
195
195
  const item = (jsx(MenuItem, { props, className: "flex justify-center", dataTestId: `${dataTestId}-action-label`, label: action.label, onClick: "method" in action ? action.method : undefined, prefix: jsx(Icon, { "data-testid": "action-icon", forwardedRef: action.forwardedRef, name: action.icon, size: action.size, style: action.style }), stopPropagation: false }, action.label));
196
196
  if ("url" in action) {
197
- return (jsx(Link, { id: action.id, params: prev => prev, to: action.url, children: item }, action.label));
197
+ return (jsx(Link, { id: action.id, to: action.url, children: item }, action.label));
198
198
  }
199
199
  return item;
200
200
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table",
3
- "version": "0.0.347",
3
+ "version": "0.0.348",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -21,7 +21,7 @@
21
21
  "@trackunit/css-class-variance-utilities": "*",
22
22
  "@trackunit/ui-icons": "*",
23
23
  "@trackunit/i18n-library-translation": "*",
24
- "@tanstack/react-router": "1.19.1",
24
+ "@tanstack/react-router": "1.31.6",
25
25
  "@trackunit/shared-utils": "*"
26
26
  },
27
27
  "module": "./index.esm.js",