@trackunit/react-table 1.3.241 → 1.3.246

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
@@ -1016,8 +1016,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
1016
1016
  else {
1017
1017
  return (jsxRuntime.jsx(reactTableBaseComponents.Tr, { className: tailwindMerge.twMerge("group", reactComponents.cvaInteractableItem({
1018
1018
  cursor: (!!props.onRowClick || row.getCanSelect()) &&
1019
- props.isRowClickable &&
1020
- props.isRowClickable(row.original)
1019
+ (props.isRowClickable ? props.isRowClickable(row.original) : true)
1021
1020
  ? "pointer"
1022
1021
  : "default",
1023
1022
  selected: "auto",
package/index.esm.js CHANGED
@@ -1015,8 +1015,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
1015
1015
  else {
1016
1016
  return (jsx(Tr, { className: twMerge("group", cvaInteractableItem({
1017
1017
  cursor: (!!props.onRowClick || row.getCanSelect()) &&
1018
- props.isRowClickable &&
1019
- props.isRowClickable(row.original)
1018
+ (props.isRowClickable ? props.isRowClickable(row.original) : true)
1020
1019
  ? "pointer"
1021
1020
  : "default",
1022
1021
  selected: "auto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table",
3
- "version": "1.3.241",
3
+ "version": "1.3.246",
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.4.189",
19
- "@trackunit/shared-utils": "1.5.154",
20
- "@trackunit/css-class-variance-utilities": "1.3.154",
21
- "@trackunit/ui-icons": "1.3.154",
22
- "@trackunit/react-table-base-components": "1.3.212",
23
- "@trackunit/react-table-pagination": "1.3.154",
24
- "@trackunit/react-form-components": "1.3.214",
25
- "@trackunit/i18n-library-translation": "1.3.176",
26
- "@trackunit/react-core-contexts-api": "1.4.162",
27
- "@trackunit/react-test-setup": "1.0.44"
18
+ "@trackunit/react-components": "1.4.192",
19
+ "@trackunit/shared-utils": "1.5.157",
20
+ "@trackunit/css-class-variance-utilities": "1.3.157",
21
+ "@trackunit/ui-icons": "1.3.157",
22
+ "@trackunit/react-table-base-components": "1.3.216",
23
+ "@trackunit/react-table-pagination": "1.3.157",
24
+ "@trackunit/react-form-components": "1.3.218",
25
+ "@trackunit/i18n-library-translation": "1.3.180",
26
+ "@trackunit/react-core-contexts-api": "1.4.165",
27
+ "@trackunit/react-test-setup": "1.0.47"
28
28
  },
29
29
  "module": "./index.esm.js",
30
30
  "main": "./index.cjs.js",