mui-table-2026 1.0.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 gregn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,82 @@
1
+ # mui-table-2026
2
+
3
+ Enhanced MUI DataTables with modern styling and improved UX - Security Patched
4
+
5
+ A responsive datatables component built on [Material-UI](https://mui.com) with enhanced styling, improved pagination, and better user experience. This is a fork of the original `mui-datatables` package with React 19 compatibility and security updates.
6
+
7
+ ## 🚀 What's New in This Version
8
+
9
+ - ✅ **React 19 Compatibility**: Updated to work with React 19
10
+ - ✅ **Security Patch**: Updated `jspdf` to version 4.0.0 to fix security vulnerabilities
11
+ - ✅ **Enhanced Print Styling**: Improved print functionality with better CSS
12
+ - ✅ **Modern Styling**: Updated design with better spacing and colors
13
+
14
+ ## 📦 Installation
15
+
16
+ ```bash
17
+ npm install mui-table-2026 --save
18
+ ```
19
+
20
+ ## 🔧 Dependencies
21
+
22
+ Make sure you have the required dependencies:
23
+
24
+ ```bash
25
+ npm install @mui/material @emotion/react @emotion/styled @mui/icons-material
26
+ ```
27
+
28
+ ## 📖 Basic Usage
29
+
30
+ ```jsx
31
+ import MUIDataTable from "mui-table-2026";
32
+
33
+ const columns = ["Name", "Company", "City", "State"];
34
+
35
+ const data = [
36
+ ["Joe James", "Test Corp", "Yonkers", "NY"],
37
+ ["John Walsh", "Test Corp", "Hartford", "CT"],
38
+ ["Bob Herm", "Test Corp", "Tampa", "FL"],
39
+ ["James Houston", "Test Corp", "Dallas", "TX"],
40
+ ];
41
+
42
+ function App() {
43
+ return <MUIDataTable title={"Employee List"} data={data} columns={columns} />;
44
+ }
45
+ ```
46
+
47
+ ## 🎨 Features
48
+
49
+ - 🎨 **Modern Styling**: Enhanced visual design with better spacing and colors
50
+ - 📱 **Responsive**: Works great on desktop, tablet, and mobile
51
+ - 🔍 **Advanced Filtering**: Multiple filter types and custom filters
52
+ - 📊 **Export Options**: CSV download and printing capabilities
53
+ - 🎯 **Customizable**: Extensive customization options for styling and behavior
54
+ - ⚡ **Performance**: Optimized for large datasets
55
+ - 🖨️ **Print Friendly**: Optimized print styling with hidden toolbar/footer
56
+
57
+ ## 🔒 Security
58
+
59
+ This version includes security updates:
60
+
61
+ - Updated `jspdf` from 3.0.2 to 4.0.0 to fix known vulnerabilities
62
+ - All other dependencies updated to latest stable versions
63
+
64
+ ## 📋 Compatibility
65
+
66
+ | Package Version | React | MUI | Status |
67
+ | --------------- | ----- | --- | ------------ |
68
+ | 1.0.0 | 19.x | 7.x | ✅ Supported |
69
+
70
+ ## 🔗 Repository & Links
71
+
72
+ - **GitHub Repository**: [https://github.com/adbenescigci/datatable](https://github.com/adbenescigci/datatable)
73
+ - **NPM Package**: [mui-table-2026](https://www.npmjs.com/package/mui-table-2026)
74
+ - **Original Package**: [mui-datatables](https://github.com/gregnb/mui-datatables)
75
+
76
+ ## 📄 License
77
+
78
+ MIT License - same as the original package.
79
+
80
+ ## 🤝 Contributing
81
+
82
+ Contributions are welcome! Please feel free to submit a Pull Request.
package/package.json ADDED
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "mui-table-2026",
3
+ "version": "1.0.0",
4
+ "description": "Enhanced MUI DataTables with modern styling and improved UX - Security fixes and build improvements",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "module": "src/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./src/index.js",
11
+ "require": "./src/index.js"
12
+ },
13
+ "./components/*": {
14
+ "import": "./src/components/*.js",
15
+ "require": "./src/components/*.js"
16
+ },
17
+ "./utils": {
18
+ "import": "./src/utils.js",
19
+ "require": "./src/utils.js"
20
+ },
21
+ "./hooks/*": {
22
+ "import": "./src/hooks/*.js",
23
+ "require": "./src/hooks/*.js"
24
+ },
25
+ "./plug-ins/*": {
26
+ "import": "./src/plug-ins/*.js",
27
+ "require": "./src/plug-ins/*.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "src"
32
+ ],
33
+ "scripts": {
34
+ "dev": "cross-env NODE_ENV=development webpack-dev-server -d --progress --colors",
35
+ "test": "cross-env NODE_ENV=test mocha --require @babel/register test/**/*.test.js",
36
+ "docs:dev": "next docs",
37
+ "docs:build": "cross-env NODE_ENV=production next build docs",
38
+ "docs:export": "next export docs -o docs/export",
39
+ "docs:deploy": "npm run docs:build && npm run docs:export && firebase deploy",
40
+ "docs:start": "next start docs",
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
+ "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
+ "prettier": "find src/ docs/ test/ -type f -name \"*.js\" ! -path \"*/.next/*\" | xargs prettier --write",
44
+ "lint": "eslint src",
45
+ "build": "rollup -c"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/adbenescigci/datatable.git"
50
+ },
51
+ "keywords": [
52
+ "mui",
53
+ "material-ui",
54
+ "datatables",
55
+ "react",
56
+ "table",
57
+ "enhanced",
58
+ "modern",
59
+ "styling"
60
+ ],
61
+ "author": "Your Name",
62
+ "license": "MIT",
63
+ "bugs": {
64
+ "url": "https://github.com/adbenescigci/datatable/issues"
65
+ },
66
+ "homepage": "https://github.com/adbenescigci/datatable#readme",
67
+ "peerDependencies": {
68
+ "@emotion/react": "^11.14.0",
69
+ "@emotion/styled": "^11.14.1",
70
+ "@mui/icons-material": "^7.3.1",
71
+ "@mui/material": "^7.3.1",
72
+ "react": "^19.1.1",
73
+ "react-dom": "^19.1.1"
74
+ },
75
+ "dependencies": {
76
+ "@babel/runtime-corejs3": "^7.26.0",
77
+ "@emotion/cache": "^11.13.5",
78
+ "clsx": "^2.1.1",
79
+ "html2canvas": "^1.4.1",
80
+ "jspdf": "^4.0.0",
81
+ "lodash.assignwith": "^4.2.0",
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",
90
+ "prop-types": "^15.8.0",
91
+ "react-dnd": "^16.0.1",
92
+ "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
+ "tss-react": "^4.9.15"
97
+ },
98
+ "side-effects": false,
99
+ "nyc": {
100
+ "lines": 50,
101
+ "statements": 50,
102
+ "functions": 50,
103
+ "branches": 50,
104
+ "check-coverage": true,
105
+ "all": true,
106
+ "include": [
107
+ "src/**/*.js"
108
+ ],
109
+ "exclude": [
110
+ "test/**/*.test.js"
111
+ ],
112
+ "sourceMap": false,
113
+ "instrument": false
114
+ }
115
+ }