@moontra/moonui-pro 2.26.37 → 2.26.38
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/dist/index.global.js +32 -32
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +4 -7
- package/package.json +1 -2
package/dist/index.mjs
CHANGED
|
@@ -74026,16 +74026,13 @@ function DataTable({
|
|
|
74026
74026
|
) });
|
|
74027
74027
|
},
|
|
74028
74028
|
cell: ({ row }) => {
|
|
74029
|
-
const rowId = row.id;
|
|
74030
|
-
const isSelected = !!rowSelection[rowId];
|
|
74031
74029
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
74032
74030
|
"input",
|
|
74033
74031
|
{
|
|
74034
74032
|
type: "checkbox",
|
|
74035
|
-
checked:
|
|
74036
|
-
|
|
74037
|
-
|
|
74038
|
-
},
|
|
74033
|
+
checked: row.getIsSelected(),
|
|
74034
|
+
disabled: !row.getCanSelect(),
|
|
74035
|
+
onChange: row.getToggleSelectedHandler(),
|
|
74039
74036
|
onClick: (e) => {
|
|
74040
74037
|
e.stopPropagation();
|
|
74041
74038
|
},
|
|
@@ -74053,7 +74050,7 @@ function DataTable({
|
|
|
74053
74050
|
cols = [checkboxColumn, ...cols];
|
|
74054
74051
|
}
|
|
74055
74052
|
return cols;
|
|
74056
|
-
}, [columns, selectable, enableRowSelection
|
|
74053
|
+
}, [columns, selectable, enableRowSelection]);
|
|
74057
74054
|
const table = useReactTable({
|
|
74058
74055
|
data: stableData,
|
|
74059
74056
|
columns: processedColumns,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.38",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -81,7 +81,6 @@
|
|
|
81
81
|
"react-dom": ">=18.0.0 || ^19.0.0"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@moontra/moonui-pro": "^2.26.36",
|
|
85
84
|
"@radix-ui/react-accordion": "^1.2.11",
|
|
86
85
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
87
86
|
"@radix-ui/react-checkbox": "^1.3.2",
|