Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: migration to mui 6 and datapicker 7

Ilian Sapundshieva9532137c8b3
diff --git a/package-lock.json b/package-lock.json
index 5214a2553..6d4a3d2b2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,10 +15,10 @@
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@gorillastack/jmespath": "^1.3.0",
- "@mui/icons-material": "^5.15.19",
- "@mui/lab": "5.0.0-alpha.173",
- "@mui/material": "^5.15.19",
- "@mui/x-date-pickers": "^5.0.20",
+ "@mui/icons-material": "^6.1.6",
+ "@mui/lab": "6.0.0-beta.14",
+ "@mui/material": "^6.1.6",
+ "@mui/x-date-pickers": "^7.22.1",
"@tagspaces/tagspaces-common": "4.5.34",
"@tagspaces/tagspaces-common-aws3": "4.5.34",
"@tagspaces/tagspaces-common-cordova": "4.5.34",
@@ -11320,9 +11320,10 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.25.7",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz",
- "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==",
+ "version": "7.26.0",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz",
+ "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==",
+ "license": "MIT",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
@@ -11533,54 +11534,6 @@
}
}
},
- "node_modules/@date-io/dayjs": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/@date-io/dayjs/-/dayjs-2.17.0.tgz",
- "integrity": "sha512-Iq1wjY5XzBh0lheFA0it6Dsyv94e8mTiNR8vuTai+KopxDkreL3YjwTmZHxkgB7/vd0RMIACStzVgWvPATnDCA==",
- "dependencies": {
- "@date-io/core": "^2.17.0"
- },
- "peerDependencies": {
- "dayjs": "^1.8.17"
- },
- "peerDependenciesMeta": {
- "dayjs": {
- "optional": true
- }
- }
- },
- "node_modules/@date-io/luxon": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/@date-io/luxon/-/luxon-2.17.0.tgz",
- "integrity": "sha512-l712Vdm/uTddD2XWt9TlQloZUiTiRQtY5TCOG45MQ/8u0tu8M17BD6QYHar/3OrnkGybALAMPzCy1r5D7+0HBg==",
- "dependencies": {
- "@date-io/core": "^2.17.0"
- },
- "peerDependencies": {
- "luxon": "^1.21.3 || ^2.x || ^3.x"
- },
- "peerDependenciesMeta": {
- "luxon": {
- "optional": true
- }
- }
- },
- "node_modules/@date-io/moment": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/@date-io/moment/-/moment-2.17.0.tgz",
- "integrity": "sha512-e4nb4CDZU4k0WRVhz1Wvl7d+hFsedObSauDHKtZwU9kt7gdYEAzKgnrSCTHsEaXrDumdrkCYTeZ0Tmyk7uV4tw==",
- "dependencies": {
- "@date-io/core": "^2.17.0"
- },
- "peerDependencies": {
- "moment": "^2.24.0"
- },
- "peerDependenciesMeta": {
- "moment": {
- "optional": true
- }
- }
- },
"node_modules/@develar/schema-utils": {
"version": "2.6.5",
"resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz",
@@ -12154,14 +12107,16 @@
"version": "1.6.8",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz",
"integrity": "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==",
+ "license": "MIT",
"dependencies": {
"@floating-ui/utils": "^0.2.8"
}
},
"node_modules/@floating-ui/dom": {
- "version": "1.6.11",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz",
- "integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==",
+ "version": "1.6.12",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.12.tgz",
+ "integrity": "sha512-NP83c0HjokcGVEMeoStg317VD9W7eDlGK7457dMBANbKA6GJZdc7rjujdgqzTaz93jkGgc5P/jeWbaCHnMNc+w==",
+ "license": "MIT",
"dependencies": {
"@floating-ui/core": "^1.6.0",
"@floating-ui/utils": "^0.2.8"
@@ -12171,6 +12126,7 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz",
"integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==",
+ "license": "MIT",
"dependencies": {
"@floating-ui/dom": "^1.0.0"
},
@@ -12182,7 +12138,8 @@
"node_modules/@floating-ui/utils": {
"version": "0.2.8",
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz",
- "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig=="
+ "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==",
+ "license": "MIT"
},
"node_modules/@gar/promisify": {
"version": "1.1.3",
@@ -13557,20 +13514,21 @@
}
},
"node_modules/@mui/base": {
- "version": "5.0.0-beta.40",
- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.40.tgz",
- "integrity": "sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==",
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@floating-ui/react-dom": "^2.0.8",
- "@mui/types": "^7.2.14",
- "@mui/utils": "^5.15.14",
+ "version": "5.0.0-beta.61",
+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.61.tgz",
+ "integrity": "sha512-YaMOTXS3ecDNGsPKa6UdlJ8loFLvcL9+VbpCK3hfk71OaNauZRp4Yf7KeXDYr7Ms3M/XBD3SaiR6JMr6vYtfDg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.26.0",
+ "@floating-ui/react-dom": "^2.1.1",
+ "@mui/types": "^7.2.19",
+ "@mui/utils": "^6.1.6",
"@popperjs/core": "^2.11.8",
- "clsx": "^2.1.0",
+ "clsx": "^2.1.1",
"prop-types": "^15.8.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
@@ -13588,32 +13546,34 @@
}
},
"node_modules/@mui/core-downloads-tracker": {
- "version": "5.16.7",
- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.7.tgz",
- "integrity": "sha512-RtsCt4Geed2/v74sbihWzzRs+HsIQCfclHeORh5Ynu2fS4icIKozcSubwuG7vtzq2uW3fOR1zITSP84TNt2GoQ==",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.1.6.tgz",
+ "integrity": "sha512-nz1SlR9TdBYYPz4qKoNasMPRiGb4PaIHFkzLzhju0YVYS5QSuFF2+n7CsiHMIDcHv3piPu/xDWI53ruhOqvZwQ==",
+ "license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
}
},
"node_modules/@mui/icons-material": {
- "version": "5.16.7",
- "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.7.tgz",
- "integrity": "sha512-UrGwDJCXEszbDI7yV047BYU5A28eGJ79keTCP4cc74WyncuVrnurlmIRxaHL8YK+LI1Kzq+/JM52IAkNnv4u+Q==",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.1.6.tgz",
+ "integrity": "sha512-5r9urIL2lxXb/sPN3LFfFYEibsXJUb986HhhIeu1gOcte460pwdSiEhBSxkAuyT8Dj7jvu9MjqSBmSumQELo8A==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.9"
+ "@babel/runtime": "^7.26.0"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@mui/material": "^5.0.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "@mui/material": "^6.1.6",
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -13622,21 +13582,21 @@
}
},
"node_modules/@mui/lab": {
- "version": "5.0.0-alpha.173",
- "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.173.tgz",
- "integrity": "sha512-Gt5zopIWwxDgGy/MXcp6GueD84xFFugFai4hYiXY0zowJpTVnIrTQCQXV004Q7rejJ7aaCntX9hpPJqCrioshA==",
+ "version": "6.0.0-beta.14",
+ "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-6.0.0-beta.14.tgz",
+ "integrity": "sha512-l+g8z6QGcr7HdfCXhVaYcEp9TijH/G4h0lNaDaBL+qDFQ087ipNHC+XozE7mXOmBwtEAWmTJB4E5GwDboi9oxA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/base": "5.0.0-beta.40",
- "@mui/system": "^5.16.5",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.5",
- "clsx": "^2.1.0",
+ "@babel/runtime": "^7.26.0",
+ "@mui/base": "5.0.0-beta.61",
+ "@mui/system": "^6.1.6",
+ "@mui/types": "^7.2.19",
+ "@mui/utils": "^6.1.6",
+ "clsx": "^2.1.1",
"prop-types": "^15.8.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
@@ -13645,10 +13605,11 @@
"peerDependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
- "@mui/material": ">=5.15.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0"
+ "@mui/material": "^6.1.6",
+ "@mui/material-pigment-css": "^6.1.6",
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
@@ -13657,31 +13618,35 @@
"@emotion/styled": {
"optional": true
},
+ "@mui/material-pigment-css": {
+ "optional": true
+ },
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/material": {
- "version": "5.16.7",
- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.7.tgz",
- "integrity": "sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==",
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/core-downloads-tracker": "^5.16.7",
- "@mui/system": "^5.16.7",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.6",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.1.6.tgz",
+ "integrity": "sha512-1yvejiQ/601l5AK3uIdUlAVElyCxoqKnl7QA+2oFB/2qYPWfRwDgavW/MoywS5Y2gZEslcJKhe0s2F3IthgFgw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.26.0",
+ "@mui/core-downloads-tracker": "^6.1.6",
+ "@mui/system": "^6.1.6",
+ "@mui/types": "^7.2.19",
+ "@mui/utils": "^6.1.6",
"@popperjs/core": "^2.11.8",
- "@types/react-transition-group": "^4.4.10",
- "clsx": "^2.1.0",
+ "@types/react-transition-group": "^4.4.11",
+ "clsx": "^2.1.1",
"csstype": "^3.1.3",
"prop-types": "^15.8.1",
"react-is": "^18.3.1",
"react-transition-group": "^4.4.5"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
@@ -13690,9 +13655,10 @@
"peerDependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0"
+ "@mui/material-pigment-css": "^6.1.6",
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
@@ -13701,30 +13667,34 @@
"@emotion/styled": {
"optional": true
},
+ "@mui/material-pigment-css": {
+ "optional": true
+ },
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/private-theming": {
- "version": "5.16.6",
- "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.6.tgz",
- "integrity": "sha512-rAk+Rh8Clg7Cd7shZhyt2HGTTE5wYKNSJ5sspf28Fqm/PZ69Er9o6KX25g03/FG2dfpg5GCwZh/xOojiTfm3hw==",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.1.6.tgz",
+ "integrity": "sha512-ioAiFckaD/fJSnTrUMWgjl9HYBWt7ixCh7zZw7gDZ+Tae7NuprNV6QJK95EidDT7K0GetR2rU3kAeIR61Myttw==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/utils": "^5.16.6",
+ "@babel/runtime": "^7.26.0",
+ "@mui/utils": "^6.1.6",
"prop-types": "^15.8.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -13733,17 +13703,20 @@
}
},
"node_modules/@mui/styled-engine": {
- "version": "5.16.6",
- "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.6.tgz",
- "integrity": "sha512-zaThmS67ZmtHSWToTiHslbI8jwrmITcN93LQaR2lKArbvS7Z3iLkwRoiikNWutx9MBs8Q6okKvbZq1RQYB3v7g==",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.1.6.tgz",
+ "integrity": "sha512-I+yS1cSuSvHnZDBO7e7VHxTWpj+R7XlSZvTC4lS/OIbUNJOMMSd3UDP6V2sfwzAdmdDNBi7NGCRv2SZ6O9hGDA==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@emotion/cache": "^11.11.0",
+ "@babel/runtime": "^7.26.0",
+ "@emotion/cache": "^11.13.1",
+ "@emotion/serialize": "^1.3.2",
+ "@emotion/sheet": "^1.4.0",
"csstype": "^3.1.3",
"prop-types": "^15.8.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
@@ -13752,7 +13725,7 @@
"peerDependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
- "react": "^17.0.0 || ^18.0.0"
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
@@ -13764,21 +13737,22 @@
}
},
"node_modules/@mui/system": {
- "version": "5.16.7",
- "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.7.tgz",
- "integrity": "sha512-Jncvs/r/d/itkxh7O7opOunTqbbSSzMTHzZkNLM+FjAOg+cYAZHrPDlYe1ZGKUYORwwb2XexlWnpZp0kZ4AHuA==",
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/private-theming": "^5.16.6",
- "@mui/styled-engine": "^5.16.6",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.6",
- "clsx": "^2.1.0",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.1.6.tgz",
+ "integrity": "sha512-qOf1VUE9wK8syiB0BBCp82oNBAVPYdj4Trh+G1s+L+ImYiKlubWhhqlnvWt3xqMevR+D2h1CXzA1vhX2FvA+VQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.26.0",
+ "@mui/private-theming": "^6.1.6",
+ "@mui/styled-engine": "^6.1.6",
+ "@mui/types": "^7.2.19",
+ "@mui/utils": "^6.1.6",
+ "clsx": "^2.1.1",
"csstype": "^3.1.3",
"prop-types": "^15.8.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
@@ -13787,8 +13761,8 @@
"peerDependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
@@ -13803,9 +13777,10 @@
}
},
"node_modules/@mui/types": {
- "version": "7.2.18",
- "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.18.tgz",
- "integrity": "sha512-uvK9dWeyCJl/3ocVnTOS6nlji/Knj8/tVqVX03UVTpdmTJYu/s4jtDd9Kvv0nRGE0CUSNW1UYAci7PYypjealg==",
+ "version": "7.2.19",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.19.tgz",
+ "integrity": "sha512-6XpZEM/Q3epK9RN8ENoXuygnqUQxE+siN/6rGRi2iwJPgBUR25mphYQ9ZI87plGh58YoZ5pp40bFvKYOCDJ3tA==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
@@ -13816,27 +13791,28 @@
}
},
"node_modules/@mui/utils": {
- "version": "5.16.6",
- "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.16.6.tgz",
- "integrity": "sha512-tWiQqlhxAt3KENNiSRL+DIn9H5xNVK6Jjf70x3PnfQPz1MPBdh7yyIcAyVBT9xiw7hP3SomRhPR7hzBMBCjqEA==",
+ "version": "6.1.6",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.1.6.tgz",
+ "integrity": "sha512-sBS6D9mJECtELASLM+18WUcXF6RH3zNxBRFeyCRg8wad6NbyNrdxLuwK+Ikvc38sTZwBzAz691HmSofLqHd9sQ==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/types": "^7.2.15",
- "@types/prop-types": "^15.7.12",
+ "@babel/runtime": "^7.26.0",
+ "@mui/types": "^7.2.19",
+ "@types/prop-types": "^15.7.13",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -13845,41 +13821,40 @@
}
},
"node_modules/@mui/x-date-pickers": {
- "version": "5.0.20",
- "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-5.0.20.tgz",
- "integrity": "sha512-ERukSeHIoNLbI1C2XRhF9wRhqfsr+Q4B1SAw2ZlU7CWgcG8UBOxgqRKDEOVAIoSWL+DWT6GRuQjOKvj6UXZceA==",
- "dependencies": {
- "@babel/runtime": "^7.18.9",
- "@date-io/core": "^2.15.0",
- "@date-io/date-fns": "^2.15.0",
- "@date-io/dayjs": "^2.15.0",
- "@date-io/luxon": "^2.15.0",
- "@date-io/moment": "^2.15.0",
- "@mui/utils": "^5.10.3",
- "@types/react-transition-group": "^4.4.5",
- "clsx": "^1.2.1",
- "prop-types": "^15.7.2",
- "react-transition-group": "^4.4.5",
- "rifm": "^0.12.1"
+ "version": "7.22.1",
+ "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-7.22.1.tgz",
+ "integrity": "sha512-VBgicE+7PvJrdHSL6HyieHT6a/0dENH8RaMIM2VwUFrGoZzvik50WNwY5U+Hip1BwZLIEvlqtNRQIIj6kgBR6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.25.7",
+ "@mui/utils": "^5.16.6 || ^6.0.0",
+ "@mui/x-internals": "7.21.0",
+ "@types/react-transition-group": "^4.4.11",
+ "clsx": "^2.1.1",
+ "prop-types": "^15.8.1",
+ "react-transition-group": "^4.4.5"
},
"engines": {
- "node": ">=12.0.0"
+ "node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
- "url": "https://opencollective.com/mui"
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
- "@mui/material": "^5.4.1",
- "@mui/system": "^5.4.1",
- "date-fns": "^2.25.0",
+ "@mui/material": "^5.15.14 || ^6.0.0",
+ "@mui/system": "^5.15.14 || ^6.0.0",
+ "date-fns": "^2.25.0 || ^3.2.0 || ^4.0.0",
+ "date-fns-jalali": "^2.13.0-0 || ^3.2.0-0",
"dayjs": "^1.10.7",
- "luxon": "^1.28.0 || ^2.0.0 || ^3.0.0",
- "moment": "^2.29.1",
- "react": "^17.0.2 || ^18.0.0",
- "react-dom": "^17.0.2 || ^18.0.0"
+ "luxon": "^3.0.2",
+ "moment": "^2.29.4",
+ "moment-hijri": "^2.1.2",
+ "moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0 || ^0.10.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
@@ -13891,6 +13866,9 @@
"date-fns": {
"optional": true
},
+ "date-fns-jalali": {
+ "optional": true
+ },
"dayjs": {
"optional": true
},
@@ -13899,15 +13877,33 @@
},
"moment": {
"optional": true
+ },
+ "moment-hijri": {
+ "optional": true
+ },
+ "moment-jalaali": {
+ "optional": true
}
}
},
- "node_modules/@mui/x-date-pickers/node_modules/clsx": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
- "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
+ "node_modules/@mui/x-internals": {
+ "version": "7.21.0",
+ "resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-7.21.0.tgz",
+ "integrity": "sha512-94YNyZ0BhK5Z+Tkr90RKf47IVCW8R/1MvdUhh6MCQg6sZa74jsX+x+gEZ4kzuCqOsuyTyxikeQ8vVuCIQiP7UQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.25.7",
+ "@mui/utils": "^5.16.6 || ^6.0.0"
+ },
"engines": {
- "node": ">=6"
+ "node": ">=14.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "react": "^17.0.0 || ^18.0.0"
}
},
"node_modules/@nicolo-ribaudo/eslint-scope-5-internals": {
@@ -48458,14 +48454,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/rifm": {
- "version": "0.12.1",
- "resolved": "https://registry.npmjs.org/rifm/-/rifm-0.12.1.tgz",
- "integrity": "sha512-OGA1Bitg/dSJtI/c4dh90svzaUPt228kzFsUkJbtA2c964IqEAwWXeL9ZJi86xWv3j5SMqRvGULl7bA6cK0Bvg==",
- "peerDependencies": {
- "react": ">=16.8"
- }
- },
"node_modules/rimraf": {
"version": "5.0.10",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz",
diff --git a/package.json b/package.json
index 4770f60ef..1c09ce951 100644
--- a/package.json
+++ b/package.json
@@ -162,10 +162,10 @@
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@gorillastack/jmespath": "^1.3.0",
- "@mui/icons-material": "^5.15.19",
- "@mui/lab": "5.0.0-alpha.173",
- "@mui/material": "^5.15.19",
- "@mui/x-date-pickers": "^5.0.20",
+ "@mui/icons-material": "^6.1.6",
+ "@mui/lab": "6.0.0-beta.14",
+ "@mui/material": "^6.1.6",
+ "@mui/x-date-pickers": "^7.22.1",
"@tagspaces/tagspaces-common": "4.5.34",
"@tagspaces/tagspaces-common-aws3": "4.5.34",
"@tagspaces/tagspaces-common-cordova": "4.5.34",
@@ -234,7 +234,7 @@
"uuid": "^9.0.0"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.81"
+ "@tagspacespro/tagspacespro": "5.0.82"
},
"devDependencies": {
"@electron/notarize": "^2.3.2",
diff --git a/src/renderer/components/SearchPopover.tsx b/src/renderer/components/SearchPopover.tsx
index 77c6b189b..f13b0442e 100644
--- a/src/renderer/components/SearchPopover.tsx
+++ b/src/renderer/components/SearchPopover.tsx
@@ -997,19 +997,15 @@ function SearchPopover(props: Props) {
</FormControl>
<FormControl className={classes.formControl}>
<ProTooltip tooltip={t('enterTimePeriodTooltip')}>
- <LocalizationProvider
- dateAdapter={AdapterDateFns}
- /*utils={DateFnsUtils}*/
- >
+ <LocalizationProvider dateAdapter={AdapterDateFns}>
<Box position="relative" display="inline-flex">
<div>
<FormHelperText style={{ marginLeft: 0, marginTop: 0 }}>
{t('core:enterTagTimePeriodFrom')}
</FormHelperText>
<DatePicker
- // label={t('enterTagTimePeriodFrom')}
disabled={isIndexing !== undefined || !Pro}
- inputFormat="yyyy-MM-dd"
+ format="yyyy-MM-dd"
value={tagTimePeriodFrom && new Date(tagTimePeriodFrom)}
onChange={(fromDataTime: Date) => {
if (fromDataTime) {
@@ -1020,7 +1016,7 @@ function SearchPopover(props: Props) {
});
}
}}
- renderInput={(params) => <TsTextField {...params} />}
+ // renderInput={(params) => <TsTextField {...params} />}
/>
</div>
<div style={{ marginLeft: 5 }}>
@@ -1030,7 +1026,7 @@ function SearchPopover(props: Props) {
<DatePicker
// label={t('enterTagTimePeriodTo')}
disabled={isIndexing !== undefined || !Pro}
- inputFormat="yyyy-MM-dd"
+ format="yyyy-MM-dd"
value={tagTimePeriodTo && new Date(tagTimePeriodTo)}
onChange={(toDataTime: Date) => {
if (toDataTime) {
@@ -1041,7 +1037,7 @@ function SearchPopover(props: Props) {
});
}
}}
- renderInput={(params) => <TsTextField {...params} />}
+ // renderInput={(params) => <TsTextField {...params} />}
/>
</div>
</Box>
diff --git a/src/renderer/components/TsButton.tsx b/src/renderer/components/TsButton.tsx
index e270daffc..f8aae7619 100644
--- a/src/renderer/components/TsButton.tsx
+++ b/src/renderer/components/TsButton.tsx
@@ -23,7 +23,7 @@ import { isDesktopMode } from '-/reducers/settings';
export type TSButtonProps = ButtonProps & {};
-export function TsButton(props: TSButtonProps) {
+function TsButton(props: TSButtonProps) {
const { children, style } = props;
const desktopMode = useSelector(isDesktopMode);
@@ -38,3 +38,5 @@ export function TsButton(props: TSButtonProps) {
</Button>
);
}
+
+export default TsButton;