mui-table-2026 1.0.0 → 1.0.1
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/README.md +6 -6
- package/package.json +4 -16
- package/src/MUIDataTable.js +213 -217
- package/src/components/TableBody.js +41 -38
- package/src/components/TableFilter.js +98 -90
- package/src/components/TableToolbar.js +134 -126
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mui-table-
|
|
1
|
+
# mui-table-2025
|
|
2
2
|
|
|
3
3
|
Enhanced MUI DataTables with modern styling and improved UX - Security Patched
|
|
4
4
|
|
|
@@ -7,14 +7,14 @@ A responsive datatables component built on [Material-UI](https://mui.com) with e
|
|
|
7
7
|
## 🚀 What's New in This Version
|
|
8
8
|
|
|
9
9
|
- ✅ **React 19 Compatibility**: Updated to work with React 19
|
|
10
|
-
- ✅ **Security Patch**: Updated `jspdf` to version
|
|
10
|
+
- ✅ **Security Patch**: Updated `jspdf` to version 3.0.2 to fix security vulnerabilities
|
|
11
11
|
- ✅ **Enhanced Print Styling**: Improved print functionality with better CSS
|
|
12
12
|
- ✅ **Modern Styling**: Updated design with better spacing and colors
|
|
13
13
|
|
|
14
14
|
## 📦 Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install mui-table-
|
|
17
|
+
npm install mui-table-2025 --save
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## 🔧 Dependencies
|
|
@@ -28,7 +28,7 @@ npm install @mui/material @emotion/react @emotion/styled @mui/icons-material
|
|
|
28
28
|
## 📖 Basic Usage
|
|
29
29
|
|
|
30
30
|
```jsx
|
|
31
|
-
import MUIDataTable from "mui-table-
|
|
31
|
+
import MUIDataTable from "mui-table-2025";
|
|
32
32
|
|
|
33
33
|
const columns = ["Name", "Company", "City", "State"];
|
|
34
34
|
|
|
@@ -58,7 +58,7 @@ function App() {
|
|
|
58
58
|
|
|
59
59
|
This version includes security updates:
|
|
60
60
|
|
|
61
|
-
- Updated `jspdf` from
|
|
61
|
+
- Updated `jspdf` from 2.5.1 to 3.0.2 to fix known vulnerabilities
|
|
62
62
|
- All other dependencies updated to latest stable versions
|
|
63
63
|
|
|
64
64
|
## 📋 Compatibility
|
|
@@ -70,7 +70,7 @@ This version includes security updates:
|
|
|
70
70
|
## 🔗 Repository & Links
|
|
71
71
|
|
|
72
72
|
- **GitHub Repository**: [https://github.com/adbenescigci/datatable](https://github.com/adbenescigci/datatable)
|
|
73
|
-
- **NPM Package**: [mui-table-
|
|
73
|
+
- **NPM Package**: [mui-table-2025](https://www.npmjs.com/package/mui-table-2025)
|
|
74
74
|
- **Original Package**: [mui-datatables](https://github.com/gregnb/mui-datatables)
|
|
75
75
|
|
|
76
76
|
## 📄 License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mui-table-2026",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Enhanced MUI DataTables with modern styling and improved UX - Security fixes and build improvements",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -41,8 +41,7 @@
|
|
|
41
41
|
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --require @babel/register test/*.js && nyc report --reporter=html | cat coverage/lcov.info | coveralls",
|
|
42
42
|
"coverage:html": "cross-env NODE_ENV=test nyc check-coverage --lines 55 --reporter=html --reporter=text mocha --require @babel/register test/*.js && nyc report --reporter=html",
|
|
43
43
|
"prettier": "find src/ docs/ test/ -type f -name \"*.js\" ! -path \"*/.next/*\" | xargs prettier --write",
|
|
44
|
-
"lint": "eslint src"
|
|
45
|
-
"build": "rollup -c"
|
|
44
|
+
"lint": "eslint src"
|
|
46
45
|
},
|
|
47
46
|
"repository": {
|
|
48
47
|
"type": "git",
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
"modern",
|
|
59
58
|
"styling"
|
|
60
59
|
],
|
|
61
|
-
"author": "
|
|
60
|
+
"author": "ExamTree",
|
|
62
61
|
"license": "MIT",
|
|
63
62
|
"bugs": {
|
|
64
63
|
"url": "https://github.com/adbenescigci/datatable/issues"
|
|
@@ -78,21 +77,10 @@
|
|
|
78
77
|
"clsx": "^2.1.1",
|
|
79
78
|
"html2canvas": "^1.4.1",
|
|
80
79
|
"jspdf": "^4.0.0",
|
|
81
|
-
"lodash
|
|
82
|
-
"lodash.clonedeep": "^4.5.0",
|
|
83
|
-
"lodash.debounce": "^4.0.8",
|
|
84
|
-
"lodash.find": "^4.6.0",
|
|
85
|
-
"lodash.get": "^4.4.2",
|
|
86
|
-
"lodash.isequal": "^4.5.0",
|
|
87
|
-
"lodash.isundefined": "^3.0.1",
|
|
88
|
-
"lodash.memoize": "^4.1.2",
|
|
89
|
-
"lodash.merge": "^4.6.2",
|
|
80
|
+
"lodash-es": "^4.17.21",
|
|
90
81
|
"prop-types": "^15.8.0",
|
|
91
82
|
"react-dnd": "^16.0.1",
|
|
92
83
|
"react-dnd-html5-backend": "^16.0.1",
|
|
93
|
-
"react-sortable-tree-patch-react-17": "^2.9.0",
|
|
94
|
-
"rollup-plugin-css-only": "^4.5.2",
|
|
95
|
-
"run": "^1.5.0",
|
|
96
84
|
"tss-react": "^4.9.15"
|
|
97
85
|
},
|
|
98
86
|
"side-effects": false,
|