@trackunit/react-table 1.3.11 → 1.3.15
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/index.cjs.js
CHANGED
|
@@ -715,7 +715,7 @@ const useTableSelection = ({ data, defaultSelectedIds, enableRowSelection = true
|
|
|
715
715
|
.map(([id]) => id), [rowSelection]);
|
|
716
716
|
const columnHelper = react.useMemo(() => reactTable.createColumnHelper(), []);
|
|
717
717
|
const selectionColumn = react.useMemo(() => columnHelper.accessor(row => row.id, {
|
|
718
|
-
cell: ({ row }) => (jsxRuntime.jsx(reactFormComponents.Checkbox, { className: "ml-1 p-1", // Aligns the checkbox with the one in the header.
|
|
718
|
+
cell: ({ row }) => (jsxRuntime.jsx(reactFormComponents.Checkbox, { className: "ml-1 p-1 flex", // Aligns the checkbox with the one in the header.
|
|
719
719
|
checked: row.getIsSelected(),
|
|
720
720
|
disabled: !row.getCanSelect(),
|
|
721
721
|
indeterminate: row.getIsSomeSelected(),
|
package/index.esm.js
CHANGED
|
@@ -714,7 +714,7 @@ const useTableSelection = ({ data, defaultSelectedIds, enableRowSelection = true
|
|
|
714
714
|
.map(([id]) => id), [rowSelection]);
|
|
715
715
|
const columnHelper = useMemo(() => createColumnHelper(), []);
|
|
716
716
|
const selectionColumn = useMemo(() => columnHelper.accessor(row => row.id, {
|
|
717
|
-
cell: ({ row }) => (jsx(Checkbox, { className: "ml-1 p-1", // Aligns the checkbox with the one in the header.
|
|
717
|
+
cell: ({ row }) => (jsx(Checkbox, { className: "ml-1 p-1 flex", // Aligns the checkbox with the one in the header.
|
|
718
718
|
checked: row.getIsSelected(),
|
|
719
719
|
disabled: !row.getCanSelect(),
|
|
720
720
|
indeterminate: row.getIsSomeSelected(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
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.47.1",
|
|
17
17
|
"tailwind-merge": "^2.0.0",
|
|
18
|
-
"@trackunit/react-components": "1.4.
|
|
19
|
-
"@trackunit/shared-utils": "1.5.
|
|
20
|
-
"@trackunit/css-class-variance-utilities": "1.3.
|
|
21
|
-
"@trackunit/ui-icons": "1.3.
|
|
22
|
-
"@trackunit/react-table-base-components": "1.3.
|
|
23
|
-
"@trackunit/react-table-pagination": "1.3.
|
|
24
|
-
"@trackunit/react-form-components": "1.3.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.3.
|
|
26
|
-
"@trackunit/react-core-contexts-api": "1.4.
|
|
18
|
+
"@trackunit/react-components": "1.4.13",
|
|
19
|
+
"@trackunit/shared-utils": "1.5.13",
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.3.13",
|
|
21
|
+
"@trackunit/ui-icons": "1.3.13",
|
|
22
|
+
"@trackunit/react-table-base-components": "1.3.14",
|
|
23
|
+
"@trackunit/react-table-pagination": "1.3.13",
|
|
24
|
+
"@trackunit/react-form-components": "1.3.14",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.3.14",
|
|
26
|
+
"@trackunit/react-core-contexts-api": "1.4.14"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|