diff --git a/new-lamassu-admin/package-lock.json b/new-lamassu-admin/package-lock.json
index 0036e122..50900327 100644
--- a/new-lamassu-admin/package-lock.json
+++ b/new-lamassu-admin/package-lock.json
@@ -10,10 +10,12 @@
"license": "../LICENSE",
"dependencies": {
"@apollo/client": "^3.13.7",
+ "@emotion/react": "^11.14.0",
+ "@emotion/styled": "^11.14.0",
"@lamassu/coins": "v1.6.1",
- "@material-ui/core": "4.12.4",
- "@material-ui/icons": "4.11.2",
- "@material-ui/lab": "^4.0.0-alpha.61",
+ "@mui/icons-material": "^5.17.1",
+ "@mui/material": "^5.17.1",
+ "@mui/styles": "^5.17.1",
"@simplewebauthn/browser": "^3.0.0",
"apollo-upload-client": "^18.0.0",
"bignumber.js": "9.0.0",
@@ -36,7 +38,7 @@
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "17.0.2",
"react-dropzone": "^11.4.2",
- "react-material-ui-carousel": "^2.3.11",
+ "react-material-ui-carousel": "^3.4.2",
"react-number-format": "^4.4.1",
"react-otp-input": "3.1.1",
"react-router-dom": "5.1.2",
@@ -120,7 +122,6 @@
"version": "7.26.2",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
"integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-validator-identifier": "^7.25.9",
@@ -176,7 +177,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.0.tgz",
"integrity": "sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.27.0",
@@ -259,7 +259,6 @@
"version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
"integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/traverse": "^7.25.9",
@@ -346,7 +345,6 @@
"version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
"integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -356,7 +354,6 @@
"version": "7.25.9",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
"integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -390,7 +387,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz",
"integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.27.0"
@@ -436,7 +432,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.0.tgz",
"integrity": "sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.26.2",
@@ -451,7 +446,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.0.tgz",
"integrity": "sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.26.2",
@@ -470,7 +464,6 @@
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -480,7 +473,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz",
"integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.25.9",
@@ -490,10 +482,168 @@
"node": ">=6.9.0"
}
},
- "node_modules/@emotion/hash": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz",
- "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==",
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.13.5",
+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",
+ "integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.2",
+ "@emotion/memoize": "^0.9.0",
+ "@emotion/serialize": "^1.3.3",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/hash": {
+ "version": "0.9.2",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz",
+ "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
+ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/cache": {
+ "version": "11.14.0",
+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz",
+ "integrity": "sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==",
+ "license": "MIT",
+ "dependencies": {
+ "@emotion/memoize": "^0.9.0",
+ "@emotion/sheet": "^1.4.0",
+ "@emotion/utils": "^1.4.2",
+ "@emotion/weak-memoize": "^0.4.0",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/is-prop-valid": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.1.tgz",
+ "integrity": "sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw==",
+ "license": "MIT",
+ "dependencies": {
+ "@emotion/memoize": "^0.9.0"
+ }
+ },
+ "node_modules/@emotion/memoize": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz",
+ "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/react": {
+ "version": "11.14.0",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz",
+ "integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.13.5",
+ "@emotion/cache": "^11.14.0",
+ "@emotion/serialize": "^1.3.3",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0",
+ "@emotion/utils": "^1.4.2",
+ "@emotion/weak-memoize": "^0.4.0",
+ "hoist-non-react-statics": "^3.3.1"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/serialize": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz",
+ "integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==",
+ "license": "MIT",
+ "dependencies": {
+ "@emotion/hash": "^0.9.2",
+ "@emotion/memoize": "^0.9.0",
+ "@emotion/unitless": "^0.10.0",
+ "@emotion/utils": "^1.4.2",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@emotion/serialize/node_modules/@emotion/hash": {
+ "version": "0.9.2",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz",
+ "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/serialize/node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/sheet": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz",
+ "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/styled": {
+ "version": "11.14.0",
+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.0.tgz",
+ "integrity": "sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.13.5",
+ "@emotion/is-prop-valid": "^1.3.0",
+ "@emotion/serialize": "^1.3.3",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0",
+ "@emotion/utils": "^1.4.2"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.0.0-rc.0",
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/unitless": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz",
+ "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz",
+ "integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
+ "node_modules/@emotion/utils": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz",
+ "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz",
+ "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==",
"license": "MIT"
},
"node_modules/@esbuild/aix-ppc64": {
@@ -1164,7 +1314,6 @@
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
"integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/set-array": "^1.2.1",
@@ -1179,7 +1328,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -1189,7 +1337,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
"integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -1199,14 +1346,12 @@
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
"integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
"version": "0.3.25",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
@@ -1254,37 +1399,208 @@
"lodash": "^4.17.10"
}
},
- "node_modules/@material-ui/core": {
- "version": "4.12.4",
- "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.12.4.tgz",
- "integrity": "sha512-tr7xekNlM9LjA6pagJmL8QCgZXaubWUwkJnoYcMKd4gw/t4XiyvnTkjdGrUVicyB2BsdaAv1tvow45bPM4sSwQ==",
- "deprecated": "Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.",
+ "node_modules/@mui/core-downloads-tracker": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.17.1.tgz",
+ "integrity": "sha512-OcZj+cs6EfUD39IoPBOgN61zf1XFVY+imsGoBDwXeSq2UHJZE3N59zzBOVjclck91Ne3e9gudONOeILvHCIhUA==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ }
+ },
+ "node_modules/@mui/icons-material": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.17.1.tgz",
+ "integrity": "sha512-CN86LocjkunFGG0yPlO4bgqHkNGgaEOEc3X/jG5Bzm401qYw79/SaLrofA7yAKCCXAGdIGnLoMHohc3+ubs95A==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.4.4",
- "@material-ui/styles": "^4.11.5",
- "@material-ui/system": "^4.12.2",
- "@material-ui/types": "5.1.0",
- "@material-ui/utils": "^4.11.3",
- "@types/react-transition-group": "^4.2.0",
- "clsx": "^1.0.4",
+ "@babel/runtime": "^7.23.9"
+ },
+ "engines": {
+ "node": ">=12.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 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/material": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.17.1.tgz",
+ "integrity": "sha512-2B33kQf+GmPnrvXXweWAx+crbiUEsxCdCN979QDYnlH9ox4pd+0/IBriWLV+l6ORoBF60w39cWjFnJYGFdzXcw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/core-downloads-tracker": "^5.17.1",
+ "@mui/system": "^5.17.1",
+ "@mui/types": "~7.2.15",
+ "@mui/utils": "^5.17.1",
+ "@popperjs/core": "^2.11.8",
+ "@types/react-transition-group": "^4.4.10",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1",
+ "react-is": "^19.0.0",
+ "react-transition-group": "^4.4.5"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@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": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/material/node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@mui/material/node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
+ },
+ "node_modules/@mui/material/node_modules/react-is": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.1.0.tgz",
+ "integrity": "sha512-Oe56aUPnkHyyDxxkvqtd7KkdQP5uIUfHxd5XTb3wE9d/kRnZLmKbDB0GWk919tdQ+mxxPtG6EAs6RMT6i1qtHg==",
+ "license": "MIT"
+ },
+ "node_modules/@mui/private-theming": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.17.1.tgz",
+ "integrity": "sha512-XMxU0NTYcKqdsG8LRmSoxERPXwMbp16sIXPcLVgLGII/bVNagX0xaheWAwFv8+zDK7tI3ajllkuD3GZZE++ICQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/utils": "^5.17.1",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/styled-engine": {
+ "version": "5.16.14",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.14.tgz",
+ "integrity": "sha512-UAiMPZABZ7p8mUW4akDV6O7N3+4DatStpXMZwPlt+H/dA0lt67qawN021MNND+4QTpjaiMYxbhKZeQcyWCbuKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@emotion/cache": "^11.13.5",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/styled-engine/node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
+ },
+ "node_modules/@mui/styles": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.17.1.tgz",
+ "integrity": "sha512-GxNtcD1jXjj1i81vyuaeNxCpph/ApxSxgJ+G8A2jUY5/bMOxXSmgUdupbB0JLexsDIqmaSqTePVN0jnMZc1iZQ==",
+ "deprecated": "Deprecated, check the migration instruction in https://mui.com/material-ui/migration/migrating-from-jss/",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@emotion/hash": "^0.9.1",
+ "@mui/private-theming": "^5.17.1",
+ "@mui/types": "~7.2.15",
+ "@mui/utils": "^5.17.1",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
"hoist-non-react-statics": "^3.3.2",
- "popper.js": "1.16.1-lts",
- "prop-types": "^15.7.2",
- "react-is": "^16.8.0 || ^17.0.0",
- "react-transition-group": "^4.4.0"
+ "jss": "^10.10.0",
+ "jss-plugin-camel-case": "^10.10.0",
+ "jss-plugin-default-unit": "^10.10.0",
+ "jss-plugin-global": "^10.10.0",
+ "jss-plugin-nested": "^10.10.0",
+ "jss-plugin-props-sort": "^10.10.0",
+ "jss-plugin-rule-value-function": "^10.10.0",
+ "jss-plugin-vendor-prefixer": "^10.10.0",
+ "prop-types": "^15.8.1"
},
"engines": {
- "node": ">=8.0.0"
+ "node": ">=12.0.0"
},
"funding": {
"type": "opencollective",
- "url": "https://opencollective.com/material-ui"
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "^16.8.6 || ^17.0.0",
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.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": {
@@ -1292,93 +1608,89 @@
}
}
},
- "node_modules/@material-ui/icons": {
- "version": "4.11.2",
- "resolved": "https://registry.npmjs.org/@material-ui/icons/-/icons-4.11.2.tgz",
- "integrity": "sha512-fQNsKX2TxBmqIGJCSi3tGTO/gZ+eJgWmMJkgDiOfyNaunNaxcklJQFaFogYcFl0qFuaEz1qaXYXboa/bUXVSOQ==",
- "deprecated": "You can now upgrade to @mui/icons. See the guide: https://mui.com/guides/migration-v4/",
+ "node_modules/@mui/styles/node_modules/@emotion/hash": {
+ "version": "0.9.2",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz",
+ "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==",
+ "license": "MIT"
+ },
+ "node_modules/@mui/styles/node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
"license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.4.4"
- },
"engines": {
- "node": ">=8.0.0"
- },
- "peerDependencies": {
- "@material-ui/core": "^4.0.0",
- "@types/react": "^16.8.6 || ^17.0.0",
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node": ">=6"
}
},
- "node_modules/@material-ui/lab": {
- "version": "4.0.0-alpha.61",
- "resolved": "https://registry.npmjs.org/@material-ui/lab/-/lab-4.0.0-alpha.61.tgz",
- "integrity": "sha512-rSzm+XKiNUjKegj8bzt5+pygZeckNLOr+IjykH8sYdVk7dE9y2ZuUSofiMV2bJk3qU+JHwexmw+q0RyNZB9ugg==",
- "deprecated": "Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.4.4",
- "@material-ui/utils": "^4.11.3",
- "clsx": "^1.0.4",
- "prop-types": "^15.7.2",
- "react-is": "^16.8.0 || ^17.0.0"
- },
- "engines": {
- "node": ">=8.0.0"
- },
- "peerDependencies": {
- "@material-ui/core": "^4.12.1",
- "@types/react": "^16.8.6 || ^17.0.0",
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
+ "node_modules/@mui/styles/node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
},
- "node_modules/@material-ui/styles": {
- "version": "4.11.5",
- "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.5.tgz",
- "integrity": "sha512-o/41ot5JJiUsIETME9wVLAJrmIWL3j0R0Bj2kCOLbSfqEkKf0fmaPt+5vtblUh5eXr2S+J/8J3DaCb10+CzPGA==",
- "deprecated": "Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.",
+ "node_modules/@mui/system": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.17.1.tgz",
+ "integrity": "sha512-aJrmGfQpyF0U4D4xYwA6ueVtQcEMebET43CUmKMP7e7iFh3sMIF3sBR0l8Urb4pqx1CBjHAaWgB0ojpND4Q3Jg==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.4.4",
- "@emotion/hash": "^0.8.0",
- "@material-ui/types": "5.1.0",
- "@material-ui/utils": "^4.11.3",
- "clsx": "^1.0.4",
- "csstype": "^2.5.2",
- "hoist-non-react-statics": "^3.3.2",
- "jss": "^10.5.1",
- "jss-plugin-camel-case": "^10.5.1",
- "jss-plugin-default-unit": "^10.5.1",
- "jss-plugin-global": "^10.5.1",
- "jss-plugin-nested": "^10.5.1",
- "jss-plugin-props-sort": "^10.5.1",
- "jss-plugin-rule-value-function": "^10.5.1",
- "jss-plugin-vendor-prefixer": "^10.5.1",
- "prop-types": "^15.7.2"
+ "@babel/runtime": "^7.23.9",
+ "@mui/private-theming": "^5.17.1",
+ "@mui/styled-engine": "^5.16.14",
+ "@mui/types": "~7.2.15",
+ "@mui/utils": "^5.17.1",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
},
"engines": {
- "node": ">=8.0.0"
+ "node": ">=12.0.0"
},
"funding": {
"type": "opencollective",
- "url": "https://opencollective.com/material-ui"
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "^16.8.6 || ^17.0.0",
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.0.0"
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.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": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/system/node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@mui/system/node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
+ },
+ "node_modules/@mui/types": {
+ "version": "7.2.24",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz",
+ "integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -1386,28 +1698,29 @@
}
}
},
- "node_modules/@material-ui/system": {
- "version": "4.12.2",
- "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.12.2.tgz",
- "integrity": "sha512-6CSKu2MtmiJgcCGf6nBQpM8fLkuB9F55EKfbdTC80NND5wpTmKzwdhLYLH3zL4cLlK0gVaaltW7/wMuyTnN0Lw==",
+ "node_modules/@mui/utils": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.17.1.tgz",
+ "integrity": "sha512-jEZ8FTqInt2WzxDV8bhImWBqeQRD99c/id/fq83H0ER9tFl+sfZlaAoCdznGvbSQQ9ividMxqSV2c7cC1vBcQg==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.4.4",
- "@material-ui/utils": "^4.11.3",
- "csstype": "^2.5.2",
- "prop-types": "^15.7.2"
+ "@babel/runtime": "^7.23.9",
+ "@mui/types": "~7.2.15",
+ "@types/prop-types": "^15.7.12",
+ "clsx": "^2.1.1",
+ "prop-types": "^15.8.1",
+ "react-is": "^19.0.0"
},
"engines": {
- "node": ">=8.0.0"
+ "node": ">=12.0.0"
},
"funding": {
"type": "opencollective",
- "url": "https://opencollective.com/material-ui"
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "^16.8.6 || ^17.0.0",
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.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": {
@@ -1415,36 +1728,29 @@
}
}
},
- "node_modules/@material-ui/types": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz",
- "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==",
+ "node_modules/@mui/utils/node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
"license": "MIT",
- "peerDependencies": {
- "@types/react": "*"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@material-ui/utils": {
- "version": "4.11.3",
- "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.11.3.tgz",
- "integrity": "sha512-ZuQPV4rBK/V1j2dIkSSEcH5uT6AaHuKWFfotADHsC0wVL1NLd2WkFCm4ZZbX33iO4ydl6V0GPngKm8HZQ2oujg==",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.4.4",
- "prop-types": "^15.7.2",
- "react-is": "^16.8.0 || ^17.0.0"
- },
"engines": {
- "node": ">=8.0.0"
- },
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.0.0"
+ "node": ">=6"
+ }
+ },
+ "node_modules/@mui/utils/node_modules/react-is": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.1.0.tgz",
+ "integrity": "sha512-Oe56aUPnkHyyDxxkvqtd7KkdQP5uIUfHxd5XTb3wE9d/kRnZLmKbDB0GWk919tdQ+mxxPtG6EAs6RMT6i1qtHg==",
+ "license": "MIT"
+ },
+ "node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
}
},
"node_modules/@rollup/pluginutils": {
@@ -2234,6 +2540,12 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/parse-json": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
+ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==",
+ "license": "MIT"
+ },
"node_modules/@types/prop-types": {
"version": "15.7.14",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz",
@@ -2272,7 +2584,8 @@
"version": "0.16.8",
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz",
"integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==",
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
"node_modules/@vitejs/plugin-react-swc": {
"version": "3.8.1",
@@ -2601,35 +2914,6 @@
"node": ">=4"
}
},
- "node_modules/auto-bind": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-2.1.1.tgz",
- "integrity": "sha512-NUwV1i9D3vxxY1KnfZgSZ716d6ovY7o8LfOwLhGIPFBowIb6Ln6DBW64+jCqPzUznel2hRSkQnYQqvh7/ldw8A==",
- "license": "MIT",
- "dependencies": {
- "@types/react": "^16.8.12"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/auto-bind/node_modules/@types/react": {
- "version": "16.14.63",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.63.tgz",
- "integrity": "sha512-s83gano0fRBVEw3ejdLpjgvU83F0LIeeuXqdxfPZF/Sc2bhr60tEqCK1zZ+aLirBwRSD6V5zCtOsEjcwKow3JQ==",
- "license": "MIT",
- "dependencies": {
- "@types/prop-types": "*",
- "@types/scheduler": "^0.16",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/auto-bind/node_modules/csstype": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
- "license": "MIT"
- },
"node_modules/available-typed-arrays": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
@@ -2646,6 +2930,66 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
+ },
+ "engines": {
+ "node": ">=10",
+ "npm": ">=6"
+ }
+ },
+ "node_modules/babel-plugin-macros/node_modules/cosmiconfig": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
+ "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/babel-plugin-macros/node_modules/resolve": {
+ "version": "1.22.10",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
+ "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.16.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/babel-plugin-macros/node_modules/yaml": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
@@ -3021,7 +3365,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -3326,12 +3669,6 @@
"is-in-browser": "^1.0.2"
}
},
- "node_modules/csstype": {
- "version": "2.6.21",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz",
- "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==",
- "license": "MIT"
- },
"node_modules/d3": {
"version": "6.7.0",
"resolved": "https://registry.npmjs.org/d3/-/d3-6.7.0.tgz",
@@ -3723,7 +4060,6 @@
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
"integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.3"
@@ -3984,7 +4320,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-arrayish": "^0.2.1"
@@ -4229,7 +4564,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -4594,6 +4928,12 @@
"node": ">=8"
}
},
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
+ "license": "MIT"
+ },
"node_modules/find-up": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
@@ -4673,6 +5013,52 @@
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
"license": "0BSD"
},
+ "node_modules/framer-motion": {
+ "version": "4.1.17",
+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-4.1.17.tgz",
+ "integrity": "sha512-thx1wvKzblzbs0XaK2X0G1JuwIdARcoNOW7VVwjO8BUltzXPyONGAElLu6CiCScsOQRI7FIk/45YTFtJw5Yozw==",
+ "license": "MIT",
+ "dependencies": {
+ "framesync": "5.3.0",
+ "hey-listen": "^1.0.8",
+ "popmotion": "9.3.6",
+ "style-value-types": "4.1.4",
+ "tslib": "^2.1.0"
+ },
+ "optionalDependencies": {
+ "@emotion/is-prop-valid": "^0.8.2"
+ },
+ "peerDependencies": {
+ "react": ">=16.8 || ^17.0.0",
+ "react-dom": ">=16.8 || ^17.0.0"
+ }
+ },
+ "node_modules/framer-motion/node_modules/@emotion/is-prop-valid": {
+ "version": "0.8.8",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz",
+ "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emotion/memoize": "0.7.4"
+ }
+ },
+ "node_modules/framer-motion/node_modules/@emotion/memoize": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz",
+ "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/framesync": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz",
+ "integrity": "sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.1.0"
+ }
+ },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -4692,7 +5078,6 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -5038,7 +5423,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"function-bind": "^1.1.2"
@@ -5064,6 +5448,12 @@
"hermes-estree": "0.25.1"
}
},
+ "node_modules/hey-listen": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz",
+ "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==",
+ "license": "MIT"
+ },
"node_modules/history": {
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz",
@@ -5172,7 +5562,6 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
"integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"parent-module": "^1.0.0",
@@ -5244,7 +5633,6 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-async-function": {
@@ -5317,7 +5705,6 @@
"version": "2.16.1",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
"integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.2"
@@ -5723,7 +6110,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
"integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
- "dev": true,
"license": "MIT",
"bin": {
"jsesc": "bin/jsesc"
@@ -5743,7 +6129,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true,
"license": "MIT"
},
"node_modules/json-schema-traverse": {
@@ -6016,7 +6401,6 @@
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "dev": true,
"license": "MIT"
},
"node_modules/lint-staged": {
@@ -6349,7 +6733,6 @@
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
"license": "MIT"
},
"node_modules/nan": {
@@ -6661,7 +7044,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"callsites": "^3.0.0"
@@ -6674,7 +7056,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
@@ -6722,7 +7103,6 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true,
"license": "MIT"
},
"node_modules/path-to-regexp": {
@@ -6738,7 +7118,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -6748,7 +7127,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
- "dev": true,
"license": "ISC"
},
"node_modules/picomatch": {
@@ -6786,11 +7164,17 @@
"node": ">=0.10.0"
}
},
- "node_modules/popper.js": {
- "version": "1.16.1-lts",
- "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1-lts.tgz",
- "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==",
- "license": "MIT"
+ "node_modules/popmotion": {
+ "version": "9.3.6",
+ "resolved": "https://registry.npmjs.org/popmotion/-/popmotion-9.3.6.tgz",
+ "integrity": "sha512-ZTbXiu6zIggXzIliMi8LGxXBF5ST+wkpXGEjeTUDUOCdSQ356hij/xjeUdv0F8zCQNeqB1+PR5/BB+gC+QLAPw==",
+ "license": "MIT",
+ "dependencies": {
+ "framesync": "5.3.0",
+ "hey-listen": "^1.0.8",
+ "style-value-types": "4.1.4",
+ "tslib": "^2.1.0"
+ }
},
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
@@ -7016,12 +7400,6 @@
"integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==",
"license": "MIT"
},
- "node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "license": "MIT"
- },
"node_modules/react-lifecycles-compat": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
@@ -7029,19 +7407,26 @@
"license": "MIT"
},
"node_modules/react-material-ui-carousel": {
- "version": "2.3.11",
- "resolved": "https://registry.npmjs.org/react-material-ui-carousel/-/react-material-ui-carousel-2.3.11.tgz",
- "integrity": "sha512-rsD9D2JLDBTfinaPy1+hcb7gunfdX7jmga7xESfRCCtLXzokOrkhmx4qMd8dZmYY42zc/HbYqLqg9E/d187lbw==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/react-material-ui-carousel/-/react-material-ui-carousel-3.4.2.tgz",
+ "integrity": "sha512-jUbC5aBWqbbbUOOdUe3zTVf4kMiZFwKJqwhxzHgBfklaXQbSopis4iWAHvEOLcZtSIJk4JAGxKE0CmxDoxvUuw==",
"license": "MIT",
"dependencies": {
- "auto-bind": "^2.1.1",
- "react-swipeable": "^6.1.0"
+ "@emotion/react": "^11.7.1",
+ "@emotion/styled": "^11.6.0",
+ "@mui/icons-material": "^5.4.1",
+ "@mui/material": "^5.4.1",
+ "@mui/system": "^5.4.1",
+ "framer-motion": "^4.1.17"
},
"peerDependencies": {
- "@material-ui/core": "^4.11.3",
- "@material-ui/icons": "^4.11.2",
- "react": "^16.13.1 || ^17.0.1",
- "react-dom": "^16.13.1 || ^17.0.1"
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "@mui/icons-material": "^5.0.0",
+ "@mui/material": "^5.0.0",
+ "@mui/system": "^5.0.0",
+ "react": "^17.0.1 || ^18.0.0",
+ "react-dom": "^17.0.2 || ^18.0.0"
}
},
"node_modules/react-number-format": {
@@ -7112,15 +7497,6 @@
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
"license": "MIT"
},
- "node_modules/react-swipeable": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/react-swipeable/-/react-swipeable-6.2.2.tgz",
- "integrity": "sha512-Oz7nSFrssvq2yvy05aNL3F+yBUqSvLsK6x1mu+rQFOpMdQVnt4izKt1vyjvvTb70q6GQOaSpaB6qniROW2MAzQ==",
- "license": "MIT",
- "peerDependencies": {
- "react": "^16.8.3 || ^17 || ^18"
- }
- },
"node_modules/react-transition-group": {
"version": "4.4.5",
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",
@@ -7284,7 +7660,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -7728,6 +8103,15 @@
"tslib": "^2.0.3"
}
},
+ "node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/source-map-js": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
@@ -7921,6 +8305,22 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/style-value-types": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-4.1.4.tgz",
+ "integrity": "sha512-LCJL6tB+vPSUoxgUBt9juXIlNJHtBMy8jkXzUJSBzeHWdBu6lhzHqCvLVkXFGsFIlNa2ln1sQHya/gzaFmB2Lg==",
+ "license": "MIT",
+ "dependencies": {
+ "hey-listen": "^1.0.8",
+ "tslib": "^2.1.0"
+ }
+ },
+ "node_modules/stylis": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz",
+ "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==",
+ "license": "MIT"
+ },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -7938,7 +8338,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.4"
diff --git a/new-lamassu-admin/package.json b/new-lamassu-admin/package.json
index 0cc7f7fe..1526575e 100644
--- a/new-lamassu-admin/package.json
+++ b/new-lamassu-admin/package.json
@@ -5,10 +5,12 @@
"type": "module",
"dependencies": {
"@apollo/client": "^3.13.7",
+ "@emotion/react": "^11.14.0",
+ "@emotion/styled": "^11.14.0",
"@lamassu/coins": "v1.6.1",
- "@material-ui/core": "4.12.4",
- "@material-ui/icons": "4.11.2",
- "@material-ui/lab": "^4.0.0-alpha.61",
+ "@mui/icons-material": "^5.17.1",
+ "@mui/material": "^5.17.1",
+ "@mui/styles": "^5.17.1",
"@simplewebauthn/browser": "^3.0.0",
"apollo-upload-client": "^18.0.0",
"bignumber.js": "9.0.0",
@@ -31,7 +33,7 @@
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "17.0.2",
"react-dropzone": "^11.4.2",
- "react-material-ui-carousel": "^2.3.11",
+ "react-material-ui-carousel": "^3.4.2",
"react-number-format": "^4.4.1",
"react-otp-input": "3.1.1",
"react-router-dom": "5.1.2",
diff --git a/new-lamassu-admin/src/App.jsx b/new-lamassu-admin/src/App.jsx
index 2a442104..1fd11d2b 100644
--- a/new-lamassu-admin/src/App.jsx
+++ b/new-lamassu-admin/src/App.jsx
@@ -1,13 +1,9 @@
import { useQuery, gql } from "@apollo/client";
-import CssBaseline from '@material-ui/core/CssBaseline'
-import Grid from '@material-ui/core/Grid'
-import Slide from '@material-ui/core/Slide'
-import {
- StylesProvider,
- jssPreset,
- MuiThemeProvider,
- makeStyles
-} from '@material-ui/core/styles'
+import CssBaseline from '@mui/material/CssBaseline'
+import Grid from '@mui/material/Grid'
+import Slide from '@mui/material/Slide'
+import { StylesProvider, jssPreset, makeStyles } from '@mui/styles';
+import { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';
import { create } from 'jss'
import extendJss from 'jss-plugin-extend'
import React, { useContext, useState } from 'react'
@@ -153,15 +149,17 @@ const App = () => {
-
-
-
-
+
+
+
+
+
+
- )
+ );
}
export default App
diff --git a/new-lamassu-admin/src/components/Carousel.jsx b/new-lamassu-admin/src/components/Carousel.jsx
index a16fad95..6b610a6c 100644
--- a/new-lamassu-admin/src/components/Carousel.jsx
+++ b/new-lamassu-admin/src/components/Carousel.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { memo } from 'react'
import ReactCarousel from 'react-material-ui-carousel'
import LeftArrow from 'src/styling/icons/arrow/carousel-left-arrow.svg?react'
diff --git a/new-lamassu-admin/src/components/Chip.jsx b/new-lamassu-admin/src/components/Chip.jsx
index 2f876c40..6358047d 100644
--- a/new-lamassu-admin/src/components/Chip.jsx
+++ b/new-lamassu-admin/src/components/Chip.jsx
@@ -1,5 +1,5 @@
-import Chip from '@material-ui/core/Chip'
-import { withStyles } from '@material-ui/core/styles'
+import Chip from '@mui/material/Chip'
+import { withStyles } from '@mui/styles'
import React, { memo } from 'react'
import {
diff --git a/new-lamassu-admin/src/components/CollapsibleCard.jsx b/new-lamassu-admin/src/components/CollapsibleCard.jsx
index 574340a1..eeec8527 100644
--- a/new-lamassu-admin/src/components/CollapsibleCard.jsx
+++ b/new-lamassu-admin/src/components/CollapsibleCard.jsx
@@ -1,5 +1,5 @@
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import PropTypes from 'prop-types'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/ConfirmDialog.jsx b/new-lamassu-admin/src/components/ConfirmDialog.jsx
index 0d849ed1..487b2798 100644
--- a/new-lamassu-admin/src/components/ConfirmDialog.jsx
+++ b/new-lamassu-admin/src/components/ConfirmDialog.jsx
@@ -1,10 +1,8 @@
-import {
- Dialog,
- DialogActions,
- DialogContent,
- makeStyles,
- InputLabel
-} from '@material-ui/core'
+import Dialog from '@mui/material/Dialog'
+import DialogActions from '@mui/material/DialogActions'
+import DialogContent from '@mui/material/DialogContent'
+import InputLabel from '@mui/material/InputLabel'
+import { makeStyles } from '@mui/styles'
import React, { memo, useState } from 'react'
import { H4, P } from 'src/components/typography'
import CloseIcon from 'src/styling/icons/action/close/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/DeleteDialog.jsx b/new-lamassu-admin/src/components/DeleteDialog.jsx
index 256c0f27..a45b6f78 100644
--- a/new-lamassu-admin/src/components/DeleteDialog.jsx
+++ b/new-lamassu-admin/src/components/DeleteDialog.jsx
@@ -1,9 +1,7 @@
-import {
- Dialog,
- DialogActions,
- DialogContent,
- makeStyles
-} from '@material-ui/core'
+import Dialog from '@mui/material/Dialog'
+import DialogActions from '@mui/material/DialogActions'
+import DialogContent from '@mui/material/DialogContent'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H4, P } from 'src/components/typography'
import CloseIcon from 'src/styling/icons/action/close/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/ErrorMessage.jsx b/new-lamassu-admin/src/components/ErrorMessage.jsx
index 7433a70b..e5ff4efc 100644
--- a/new-lamassu-admin/src/components/ErrorMessage.jsx
+++ b/new-lamassu-admin/src/components/ErrorMessage.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import ErrorIcon from 'src/styling/icons/warning-icon/tomato.svg?react'
diff --git a/new-lamassu-admin/src/components/ImagePopper.jsx b/new-lamassu-admin/src/components/ImagePopper.jsx
index a9291131..8053819e 100644
--- a/new-lamassu-admin/src/components/ImagePopper.jsx
+++ b/new-lamassu-admin/src/components/ImagePopper.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, ClickAwayListener } from '@material-ui/core'
+import ClickAwayListener from '@mui/material/ClickAwayListener'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo, useState } from 'react'
import Popper from 'src/components/Popper'
diff --git a/new-lamassu-admin/src/components/InfoMessage.jsx b/new-lamassu-admin/src/components/InfoMessage.jsx
index e0baa4fa..8e59fd90 100644
--- a/new-lamassu-admin/src/components/InfoMessage.jsx
+++ b/new-lamassu-admin/src/components/InfoMessage.jsx
@@ -1,4 +1,5 @@
-import { Box, makeStyles } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { Label1 } from 'src/components/typography'
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
diff --git a/new-lamassu-admin/src/components/InformativeDialog.jsx b/new-lamassu-admin/src/components/InformativeDialog.jsx
index 47959cff..a4c0a8f8 100644
--- a/new-lamassu-admin/src/components/InformativeDialog.jsx
+++ b/new-lamassu-admin/src/components/InformativeDialog.jsx
@@ -1,4 +1,6 @@
-import { Dialog, DialogContent, makeStyles } from '@material-ui/core'
+import Dialog from '@mui/material/Dialog'
+import DialogContent from '@mui/material/DialogContent'
+import { makeStyles } from '@mui/styles'
import React, { memo } from 'react'
import { H1 } from 'src/components/typography'
import CloseIcon from 'src/styling/icons/action/close/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/LogsDownloaderPopper.jsx b/new-lamassu-admin/src/components/LogsDownloaderPopper.jsx
index 4bf5752a..ff877809 100644
--- a/new-lamassu-admin/src/components/LogsDownloaderPopper.jsx
+++ b/new-lamassu-admin/src/components/LogsDownloaderPopper.jsx
@@ -1,5 +1,6 @@
import { useLazyQuery } from "@apollo/client";
-import { makeStyles, ClickAwayListener } from '@material-ui/core'
+import ClickAwayListener from '@mui/material/ClickAwayListener'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { format, set } from 'date-fns/fp'
import FileSaver from 'file-saver'
diff --git a/new-lamassu-admin/src/components/Modal.jsx b/new-lamassu-admin/src/components/Modal.jsx
index aba40236..147a144b 100644
--- a/new-lamassu-admin/src/components/Modal.jsx
+++ b/new-lamassu-admin/src/components/Modal.jsx
@@ -1,4 +1,6 @@
-import { makeStyles, Modal as MaterialModal, Paper } from '@material-ui/core'
+import MaterialModal from '@mui/material/Modal'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import { H1, H4 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/components/NotificationCenter/NotificationCenter.jsx b/new-lamassu-admin/src/components/NotificationCenter/NotificationCenter.jsx
index 22756b3b..f0eef5d5 100644
--- a/new-lamassu-admin/src/components/NotificationCenter/NotificationCenter.jsx
+++ b/new-lamassu-admin/src/components/NotificationCenter/NotificationCenter.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState, useEffect } from 'react'
import ActionButton from 'src/components/buttons/ActionButton'
diff --git a/new-lamassu-admin/src/components/NotificationCenter/NotificationRow.jsx b/new-lamassu-admin/src/components/NotificationCenter/NotificationRow.jsx
index 96c66dec..5b5de598 100644
--- a/new-lamassu-admin/src/components/NotificationCenter/NotificationRow.jsx
+++ b/new-lamassu-admin/src/components/NotificationCenter/NotificationRow.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import prettyMs from 'pretty-ms'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/components/Popper.jsx b/new-lamassu-admin/src/components/Popper.jsx
index a933e39d..75159a0a 100644
--- a/new-lamassu-admin/src/components/Popper.jsx
+++ b/new-lamassu-admin/src/components/Popper.jsx
@@ -1,4 +1,6 @@
-import { makeStyles, Popper as MaterialPopper, Paper } from '@material-ui/core'
+import MaterialPopper from '@mui/material/Popper'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -120,34 +122,42 @@ const Popover = ({
right: ['left']
}
- const modifiers = R.mergeDeepLeft(props.modifiers, {
- flip: {
+ const modifiers = [
+ {
+ name: 'flip',
enabled: R.defaultTo(false, props.flip),
- allowedAutoPlacements: flipPlacements[props.placement],
- boundary: 'clippingParents'
+ options: {
+ allowedAutoPlacements: flipPlacements[props.placement]
+ }
},
- preventOverflow: {
- enabled: R.defaultTo(true, props.preventOverflow),
- boundariesElement: 'scrollParent'
- },
- offset: {
+ {
+ name: 'preventOverflow',
enabled: true,
- offset: '0, 10'
+ options: {
+ rootBoundary: 'scrollParent'
+ }
},
- arrow: {
+ {
+ name: 'offset',
+ enabled: true,
+ options: {
+ offset: [0, 10]
+ }
+ },
+ {
+ name: 'arrow',
enabled: R.defaultTo(true, props.showArrow),
- element: arrowRef
+ options: {
+ element: arrowRef
+ }
},
- computeStyle: {
- gpuAcceleration: false
+ {
+ name: 'computeStyles',
+ options: {
+ gpuAcceleration: false
+ }
}
- })
-
- if (props.preventOverflow === false) {
- modifiers.hide = {
- enabled: false
- }
- }
+ ]
return (
<>
diff --git a/new-lamassu-admin/src/components/SearchBox.jsx b/new-lamassu-admin/src/components/SearchBox.jsx
index 08219a96..0ef4d95e 100644
--- a/new-lamassu-admin/src/components/SearchBox.jsx
+++ b/new-lamassu-admin/src/components/SearchBox.jsx
@@ -1,7 +1,7 @@
-import InputBase from '@material-ui/core/InputBase'
-import Paper from '@material-ui/core/Paper'
-import { makeStyles } from '@material-ui/core/styles'
-import MAutocomplete from '@material-ui/lab/Autocomplete'
+import InputBase from '@mui/material/InputBase'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
+import MAutocomplete from '@mui/material/Autocomplete'
import classnames from 'classnames'
import React, { memo, useState } from 'react'
import { P } from 'src/components/typography'
@@ -39,18 +39,20 @@ const SearchBox = memo(
value={filters}
options={options}
getOptionLabel={it => it.label || it.value}
- renderOption={it => (
-
-
{it.label || it.value}
-
{it.type}
-
+ renderOption={(props, it) => (
+
+
+
{it.label || it.value}
+
{it.type}
+
+
)}
autoHighlight
disableClearable
clearOnEscape
multiple
filterSelectedOptions
- getOptionSelected={(option, value) => option.type === value.type}
+ isOptionEqualToValue={(option, value) => option.type === value.type}
PaperComponent={({ children }) => (
diff --git a/new-lamassu-admin/src/components/SearchFilter.jsx b/new-lamassu-admin/src/components/SearchFilter.jsx
index c35b4a71..3089f637 100644
--- a/new-lamassu-admin/src/components/SearchFilter.jsx
+++ b/new-lamassu-admin/src/components/SearchFilter.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import Chip from 'src/components/Chip'
import { P, Label3 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/components/Stage.jsx b/new-lamassu-admin/src/components/Stage.jsx
index 0d93080b..e691e4b4 100644
--- a/new-lamassu-admin/src/components/Stage.jsx
+++ b/new-lamassu-admin/src/components/Stage.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/Status.jsx b/new-lamassu-admin/src/components/Status.jsx
index f1d8ff59..38c02988 100644
--- a/new-lamassu-admin/src/components/Status.jsx
+++ b/new-lamassu-admin/src/components/Status.jsx
@@ -1,5 +1,5 @@
-import Chip from '@material-ui/core/Chip'
-import { makeStyles } from '@material-ui/core/styles'
+import Chip from '@mui/material/Chip'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import {
diff --git a/new-lamassu-admin/src/components/Stepper.jsx b/new-lamassu-admin/src/components/Stepper.jsx
index f827ff4b..c8590173 100644
--- a/new-lamassu-admin/src/components/Stepper.jsx
+++ b/new-lamassu-admin/src/components/Stepper.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/Subtitle.jsx b/new-lamassu-admin/src/components/Subtitle.jsx
index 89a12a6d..b22f56a0 100644
--- a/new-lamassu-admin/src/components/Subtitle.jsx
+++ b/new-lamassu-admin/src/components/Subtitle.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/TableLabel.jsx b/new-lamassu-admin/src/components/TableLabel.jsx
index a0b8815b..efddfa62 100644
--- a/new-lamassu-admin/src/components/TableLabel.jsx
+++ b/new-lamassu-admin/src/components/TableLabel.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/Title.jsx b/new-lamassu-admin/src/components/Title.jsx
index be96227b..13bf4e5f 100644
--- a/new-lamassu-admin/src/components/Title.jsx
+++ b/new-lamassu-admin/src/components/Title.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { memo } from 'react'
import { spacer } from 'src/styling/variables'
diff --git a/new-lamassu-admin/src/components/Tooltip.jsx b/new-lamassu-admin/src/components/Tooltip.jsx
index 1748c501..863dc417 100644
--- a/new-lamassu-admin/src/components/Tooltip.jsx
+++ b/new-lamassu-admin/src/components/Tooltip.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, ClickAwayListener } from '@material-ui/core'
+import ClickAwayListener from '@mui/material/ClickAwayListener'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState, memo } from 'react'
import Popper from 'src/components/Popper'
diff --git a/new-lamassu-admin/src/components/Uptime.jsx b/new-lamassu-admin/src/components/Uptime.jsx
index d91848de..ed1d4a2e 100644
--- a/new-lamassu-admin/src/components/Uptime.jsx
+++ b/new-lamassu-admin/src/components/Uptime.jsx
@@ -1,5 +1,5 @@
-import { makeStyles } from '@material-ui/core'
-import Chip from '@material-ui/core/Chip'
+import { makeStyles } from '@mui/styles'
+import Chip from '@mui/material/Chip'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx b/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx
index 132a2505..361adeb2 100644
--- a/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx
+++ b/new-lamassu-admin/src/components/booleanPropertiesTable/BooleanPropertiesTable.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { useFormikContext, Form, Formik, Field as FormikField } from 'formik'
import * as R from 'ramda'
@@ -86,7 +86,8 @@ const BooleanPropertiesTable = memo(
) : (
setEditing(true)}>
+ onClick={() => setEditing(true)}
+ size="large">
{disabled ? : }
)}
@@ -121,11 +122,11 @@ const BooleanPropertiesTable = memo(
- )
+ );
}}
- )
+ );
}
)
diff --git a/new-lamassu-admin/src/components/buttons/ActionButton.jsx b/new-lamassu-admin/src/components/buttons/ActionButton.jsx
index 02d7d107..d2fb2043 100644
--- a/new-lamassu-admin/src/components/buttons/ActionButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/ActionButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/buttons/AddButton.jsx b/new-lamassu-admin/src/components/buttons/AddButton.jsx
index 267ebaee..4a4c0a43 100644
--- a/new-lamassu-admin/src/components/buttons/AddButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/AddButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
import AddIcon from 'src/styling/icons/button/add/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/buttons/Button.jsx b/new-lamassu-admin/src/components/buttons/Button.jsx
index 5945170a..84b2d3d4 100644
--- a/new-lamassu-admin/src/components/buttons/Button.jsx
+++ b/new-lamassu-admin/src/components/buttons/Button.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/buttons/DeleteButton.jsx b/new-lamassu-admin/src/components/buttons/DeleteButton.jsx
index 4be8a651..3c2f56f6 100644
--- a/new-lamassu-admin/src/components/buttons/DeleteButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/DeleteButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
import DeleteIcon from 'src/styling/icons/button/cancel/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/buttons/FeatureButton.jsx b/new-lamassu-admin/src/components/buttons/FeatureButton.jsx
index 3fe97cd7..ad571077 100644
--- a/new-lamassu-admin/src/components/buttons/FeatureButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/FeatureButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/buttons/IDButton.jsx b/new-lamassu-admin/src/components/buttons/IDButton.jsx
index a43aeb82..122c8975 100644
--- a/new-lamassu-admin/src/components/buttons/IDButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/IDButton.jsx
@@ -1,5 +1,5 @@
-import { ClickAwayListener } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import ClickAwayListener from '@mui/material/ClickAwayListener'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState, memo } from 'react'
import Popover from 'src/components/Popper'
diff --git a/new-lamassu-admin/src/components/buttons/IconButton.jsx b/new-lamassu-admin/src/components/buttons/IconButton.jsx
index f208c25f..ee130961 100644
--- a/new-lamassu-admin/src/components/buttons/IconButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/IconButton.jsx
@@ -1,14 +1,13 @@
-import { makeStyles, IconButton as IconB } from '@material-ui/core'
+import IconB from '@mui/material/IconButton'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { comet } from 'src/styling/variables'
const styles = {
- label: ({ size }) => ({
+ root: ({ size }) => ({
width: size,
- height: size
- }),
- root: {
+ height: size,
'& svg': {
flex: 1
},
@@ -24,7 +23,7 @@ const styles = {
'&:hover path': {
stroke: comet
}
- }
+ })
}
const useStyles = makeStyles(styles)
@@ -35,7 +34,7 @@ const IconButton = ({ size, children, onClick, ...props }) => {
{children}
diff --git a/new-lamassu-admin/src/components/buttons/Link.jsx b/new-lamassu-admin/src/components/buttons/Link.jsx
index d8f7af7f..f121b69f 100644
--- a/new-lamassu-admin/src/components/buttons/Link.jsx
+++ b/new-lamassu-admin/src/components/buttons/Link.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/buttons/Link.styles.js b/new-lamassu-admin/src/components/buttons/Link.styles.js
index 0d05e9c1..a9f131a0 100644
--- a/new-lamassu-admin/src/components/buttons/Link.styles.js
+++ b/new-lamassu-admin/src/components/buttons/Link.styles.js
@@ -1,4 +1,4 @@
-import { alpha } from '@material-ui/core/styles/colorManipulator'
+import { alpha } from '@mui/material/styles'
import typographyStyles from 'src/components/typography/styles'
import {
diff --git a/new-lamassu-admin/src/components/buttons/SubpageButton.jsx b/new-lamassu-admin/src/components/buttons/SubpageButton.jsx
index f98b6d75..5f96143a 100644
--- a/new-lamassu-admin/src/components/buttons/SubpageButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/SubpageButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo, useState } from 'react'
import { H4 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/components/buttons/SupportLinkButton.jsx b/new-lamassu-admin/src/components/buttons/SupportLinkButton.jsx
index 12329fd3..54d09617 100644
--- a/new-lamassu-admin/src/components/buttons/SupportLinkButton.jsx
+++ b/new-lamassu-admin/src/components/buttons/SupportLinkButton.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import InverseLinkIcon from 'src/styling/icons/action/external link/white.svg?react'
import LinkIcon from 'src/styling/icons/action/external link/zodiac.svg?react'
diff --git a/new-lamassu-admin/src/components/date-range-picker/Calendar.jsx b/new-lamassu-admin/src/components/date-range-picker/Calendar.jsx
index 27a3a4fb..44833125 100644
--- a/new-lamassu-admin/src/components/date-range-picker/Calendar.jsx
+++ b/new-lamassu-admin/src/components/date-range-picker/Calendar.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import {
add,
differenceInMonths,
diff --git a/new-lamassu-admin/src/components/date-range-picker/DateRangePicker.jsx b/new-lamassu-admin/src/components/date-range-picker/DateRangePicker.jsx
index 75c68b9d..1c942913 100644
--- a/new-lamassu-admin/src/components/date-range-picker/DateRangePicker.jsx
+++ b/new-lamassu-admin/src/components/date-range-picker/DateRangePicker.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { compareAsc, differenceInDays, set } from 'date-fns/fp'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/components/date-range-picker/Tile.jsx b/new-lamassu-admin/src/components/date-range-picker/Tile.jsx
index 228d806f..679426cb 100644
--- a/new-lamassu-admin/src/components/date-range-picker/Tile.jsx
+++ b/new-lamassu-admin/src/components/date-range-picker/Tile.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/editableProperty/EditableProperty.jsx b/new-lamassu-admin/src/components/editableProperty/EditableProperty.jsx
index 28852792..9ff6e383 100644
--- a/new-lamassu-admin/src/components/editableProperty/EditableProperty.jsx
+++ b/new-lamassu-admin/src/components/editableProperty/EditableProperty.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { useState, memo } from 'react'
import { H4, P } from 'src/components/typography'
import EditIconDisabled from 'src/styling/icons/action/edit/disabled.svg?react'
diff --git a/new-lamassu-admin/src/components/editableTable/Header.jsx b/new-lamassu-admin/src/components/editableTable/Header.jsx
index a6ef6143..cb06ffaa 100644
--- a/new-lamassu-admin/src/components/editableTable/Header.jsx
+++ b/new-lamassu-admin/src/components/editableTable/Header.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useContext } from 'react'
diff --git a/new-lamassu-admin/src/components/editableTable/Row.jsx b/new-lamassu-admin/src/components/editableTable/Row.jsx
index 43d8dcc7..7be62e77 100644
--- a/new-lamassu-admin/src/components/editableTable/Row.jsx
+++ b/new-lamassu-admin/src/components/editableTable/Row.jsx
@@ -1,4 +1,5 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import classnames from 'classnames'
import { Field, useFormikContext } from 'formik'
import * as R from 'ramda'
@@ -13,7 +14,6 @@ import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import StripesSvg from 'src/styling/icons/stripes.svg?react'
import { Link, IconButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import TableCtx from './Context'
import styles from './Row.styles'
@@ -77,7 +77,8 @@ const ActionCol = ({ disabled, editing }) => {
onEdit && onEdit(values.id)}>
+ onClick={() => onEdit && onEdit(values.id)}
+ size="large">
{disableEdit ? : }
@@ -88,7 +89,8 @@ const ActionCol = ({ disabled, editing }) => {
disabled={disabled}
onClick={() => {
setDeleteDialog(true)
- }}>
+ }}
+ size="large">
{disabled ? : }
{
)}
>
- )
+ );
}
const ECol = ({ editing, focus, config, extraPaddingRight, extraPadding }) => {
diff --git a/new-lamassu-admin/src/components/editableTable/Table.jsx b/new-lamassu-admin/src/components/editableTable/Table.jsx
index 770b9449..f7bdefce 100644
--- a/new-lamassu-admin/src/components/editableTable/Table.jsx
+++ b/new-lamassu-admin/src/components/editableTable/Table.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import * as R from 'ramda'
import React, { useState, useEffect } from 'react'
diff --git a/new-lamassu-admin/src/components/fake-table/Table.jsx b/new-lamassu-admin/src/components/fake-table/Table.jsx
index 5b6acaa7..3c5fdef9 100644
--- a/new-lamassu-admin/src/components/fake-table/Table.jsx
+++ b/new-lamassu-admin/src/components/fake-table/Table.jsx
@@ -1,6 +1,6 @@
-import Card from '@material-ui/core/Card'
-import CardContent from '@material-ui/core/CardContent'
-import { makeStyles } from '@material-ui/core/styles'
+import Card from '@mui/material/Card'
+import CardContent from '@mui/material/CardContent'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx b/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx
index 84c4e1a1..c641c4cc 100644
--- a/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/Autocomplete.jsx
@@ -1,5 +1,5 @@
-import { Box } from '@material-ui/core'
-import MAutocomplete from '@material-ui/lab/Autocomplete'
+import Box from '@mui/material/Box'
+import MAutocomplete from '@mui/material/Autocomplete'
import sort from 'match-sorter'
import * as R from 'ramda'
import React from 'react'
@@ -84,7 +84,7 @@ const Autocomplete = ({
disableClearable
ChipProps={{ onDelete: null }}
clearOnEscape
- getOptionSelected={R.eqProps(valueProp)}
+ isOptionEqualToValue={R.eqProps(valueProp)}
{...props}
renderInput={params => {
return (
@@ -100,9 +100,9 @@ const Autocomplete = ({
/>
)
}}
- renderOption={props => {
+ renderOption={(iprops, props) => {
if (!props.warning && !props.warningMessage)
- return R.path([labelProp])(props)
+ return {R.path([labelProp])(props)}
const warningColors = {
clean: spring4,
@@ -114,23 +114,25 @@ const Autocomplete = ({
)
return (
-
- {R.path([labelProp])(props)}
-
- {props.warningMessage}
-
-
+
+
+ {R.path([labelProp])(props)}
+
+ {props.warningMessage}
+
+
+
)
}}
/>
diff --git a/new-lamassu-admin/src/components/inputs/base/Checkbox.jsx b/new-lamassu-admin/src/components/inputs/base/Checkbox.jsx
index c70cc699..cd097e1f 100644
--- a/new-lamassu-admin/src/components/inputs/base/Checkbox.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/Checkbox.jsx
@@ -1,7 +1,7 @@
-import Checkbox from '@material-ui/core/Checkbox'
-import { makeStyles } from '@material-ui/core/styles'
-import CheckBoxIcon from '@material-ui/icons/CheckBox'
-import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank'
+import Checkbox from '@mui/material/Checkbox'
+import { makeStyles } from '@mui/styles'
+import CheckBoxIcon from '@mui/icons-material/CheckBox'
+import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank'
import React from 'react'
import { Label2, Info3 } from 'src/components/typography'
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
@@ -16,7 +16,7 @@ import {
const useStyles = makeStyles({
root: {
color: secondaryColor,
- '&$checked': {
+ '&.Mui-checked': {
color: secondaryColor
}
},
diff --git a/new-lamassu-admin/src/components/inputs/base/CodeInput.jsx b/new-lamassu-admin/src/components/inputs/base/CodeInput.jsx
index b694cbe1..dd238952 100644
--- a/new-lamassu-admin/src/components/inputs/base/CodeInput.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/CodeInput.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import OtpInput from 'react-otp-input'
diff --git a/new-lamassu-admin/src/components/inputs/base/Dropdown.jsx b/new-lamassu-admin/src/components/inputs/base/Dropdown.jsx
index 3acac050..5446f2c7 100644
--- a/new-lamassu-admin/src/components/inputs/base/Dropdown.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/Dropdown.jsx
@@ -1,15 +1,16 @@
-import FormControl from '@material-ui/core/FormControl'
-import InputLabel from '@material-ui/core/InputLabel'
-import MenuItem from '@material-ui/core/MenuItem'
-import Select from '@material-ui/core/Select'
+import FormControl from '@mui/material/FormControl'
+import InputLabel from '@mui/material/InputLabel'
+import MenuItem from '@mui/material/MenuItem'
+import Select from '@mui/material/Select'
import classnames from 'classnames'
import React from 'react'
const Dropdown = ({ label, name, options, onChange, value, className }) => {
return (
-
+
{label}
{
))}
- )
+ );
}
export default Dropdown
diff --git a/new-lamassu-admin/src/components/inputs/base/RadioGroup.jsx b/new-lamassu-admin/src/components/inputs/base/RadioGroup.jsx
index 48520a68..11f1bfdd 100644
--- a/new-lamassu-admin/src/components/inputs/base/RadioGroup.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/RadioGroup.jsx
@@ -1,14 +1,12 @@
-import {
- Radio,
- RadioGroup as MRadioGroup,
- FormControlLabel,
- makeStyles
-} from '@material-ui/core'
+import Radio from '@mui/material/Radio'
+import MRadioGroup from '@mui/material/RadioGroup'
+import FormControlLabel from '@mui/material/FormControlLabel'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import { Label1 } from 'src/components/typography'
-import { offColor } from 'src/styling/variables'
+import { offColor, secondaryColor } from 'src/styling/variables'
const styles = {
label: {
height: 16,
@@ -20,6 +18,9 @@ const styles = {
marginTop: -8,
marginLeft: 32,
color: offColor
+ },
+ radio: {
+ color: secondaryColor
}
}
@@ -50,7 +51,7 @@ const RadioGroup = ({
}
+ control={ }
label={option.display}
className={classnames(labelClassName)}
/>
diff --git a/new-lamassu-admin/src/components/inputs/base/Select.jsx b/new-lamassu-admin/src/components/inputs/base/Select.jsx
index c56ad4af..c79839b3 100644
--- a/new-lamassu-admin/src/components/inputs/base/Select.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/Select.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { useSelect } from 'downshift'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/components/inputs/base/Switch.jsx b/new-lamassu-admin/src/components/inputs/base/Switch.jsx
deleted file mode 100644
index 2f2cdf0f..00000000
--- a/new-lamassu-admin/src/components/inputs/base/Switch.jsx
+++ /dev/null
@@ -1,80 +0,0 @@
-import Switch from '@material-ui/core/Switch'
-import { makeStyles } from '@material-ui/core/styles'
-import React, { memo } from 'react'
-
-import {
- secondaryColor,
- offColor,
- disabledColor,
- disabledColor2
-} from '../../../styling/variables'
-
-const useStyles = makeStyles(theme => ({
- root: {
- width: 32,
- height: 20,
- padding: 0,
- margin: theme.spacing(1)
- },
- switchBase: {
- padding: 2,
- '&$disabled': {
- color: disabledColor2,
- '& + $track': {
- backgroundColor: disabledColor,
- opacity: 1
- }
- },
- '&$checked': {
- transform: 'translateX(58%)',
- color: theme.palette.common.white,
- '&$disabled': {
- color: disabledColor2
- },
- '& + $track': {
- backgroundColor: secondaryColor,
- opacity: 1,
- border: 'none'
- }
- },
- '&$focusVisible $thumb': {
- border: '6px solid #fff',
- boxShadow: '0 0 4px 0 rgba(0,0,0,0.24)'
- }
- },
- thumb: {
- width: 16,
- height: 16
- },
- track: {
- borderRadius: 17,
- border: 'none',
- backgroundColor: offColor,
- opacity: 1,
- transition: theme.transitions.create(['background-color', 'border'])
- },
- disabled: {},
- checked: {},
- focusVisible: {}
-}))
-
-const SwitchInput = memo(({ ...props }) => {
- const classes = useStyles()
- return (
-
- )
-})
-
-export default SwitchInput
diff --git a/new-lamassu-admin/src/components/inputs/base/TextInput.jsx b/new-lamassu-admin/src/components/inputs/base/TextInput.jsx
index 9d75840a..33ba68ac 100644
--- a/new-lamassu-admin/src/components/inputs/base/TextInput.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/TextInput.jsx
@@ -1,5 +1,5 @@
-import { makeStyles } from '@material-ui/core'
-import TextField from '@material-ui/core/TextField'
+import { makeStyles } from '@mui/styles'
+import TextField from '@mui/material/TextField'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { memo } from 'react'
@@ -35,6 +35,7 @@ const TextInput = memo(
return (
- )
+ {...props} />
+ );
}
)
diff --git a/new-lamassu-admin/src/components/inputs/base/ToggleButtonGroup.jsx b/new-lamassu-admin/src/components/inputs/base/ToggleButtonGroup.jsx
index 72193ce2..e236e42f 100644
--- a/new-lamassu-admin/src/components/inputs/base/ToggleButtonGroup.jsx
+++ b/new-lamassu-admin/src/components/inputs/base/ToggleButtonGroup.jsx
@@ -1,6 +1,6 @@
-import { makeStyles } from '@material-ui/core'
-import { ToggleButtonGroup as MUIToggleButtonGroup } from '@material-ui/lab'
-import ToggleButton from '@material-ui/lab/ToggleButton'
+import { makeStyles } from '@mui/styles'
+import MUIToggleButtonGroup from '@mui/material/ToggleButtonGroup'
+import ToggleButton from '@mui/material/ToggleButton'
import React from 'react'
import { H4, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/components/inputs/base/index.js b/new-lamassu-admin/src/components/inputs/base/index.js
index 9dc6ecad..d670dcb5 100644
--- a/new-lamassu-admin/src/components/inputs/base/index.js
+++ b/new-lamassu-admin/src/components/inputs/base/index.js
@@ -5,7 +5,6 @@ import Dropdown from './Dropdown'
import NumberInput from './NumberInput'
import RadioGroup from './RadioGroup'
import SecretInput from './SecretInput'
-import Switch from './Switch'
import TextInput from './TextInput'
import ToggleButtonGroup from './ToggleButtonGroup'
export {
@@ -13,7 +12,6 @@ export {
CodeInput,
TextInput,
NumberInput,
- Switch,
SecretInput,
RadioGroup,
Autocomplete,
diff --git a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.jsx b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.jsx
index 58bb8cf6..81d90e83 100644
--- a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.jsx
+++ b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import Chip from 'src/components/Chip'
diff --git a/new-lamassu-admin/src/components/inputs/formik/CashCassetteInput.jsx b/new-lamassu-admin/src/components/inputs/formik/CashCassetteInput.jsx
index f5016e67..14f4141a 100644
--- a/new-lamassu-admin/src/components/inputs/formik/CashCassetteInput.jsx
+++ b/new-lamassu-admin/src/components/inputs/formik/CashCassetteInput.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classNames from 'classnames'
import React, { memo, useState } from 'react'
import { CashOut } from 'src/components/inputs/cashbox/Cashbox'
diff --git a/new-lamassu-admin/src/components/inputs/index.js b/new-lamassu-admin/src/components/inputs/index.js
index 00a8b1cb..32847d32 100644
--- a/new-lamassu-admin/src/components/inputs/index.js
+++ b/new-lamassu-admin/src/components/inputs/index.js
@@ -3,7 +3,6 @@ import Checkbox from './base/Checkbox'
import CodeInput from './base/CodeInput'
import RadioGroup from './base/RadioGroup'
import Select from './base/Select'
-import Switch from './base/Switch'
import TextInput from './base/TextInput'
import { CashIn, CashOut } from './cashbox/Cashbox'
@@ -12,7 +11,6 @@ export {
TextInput,
Checkbox,
CodeInput,
- Switch,
Select,
RadioGroup,
CashIn,
diff --git a/new-lamassu-admin/src/components/layout/Header.jsx b/new-lamassu-admin/src/components/layout/Header.jsx
index 99c62765..11e0643e 100644
--- a/new-lamassu-admin/src/components/layout/Header.jsx
+++ b/new-lamassu-admin/src/components/layout/Header.jsx
@@ -1,7 +1,7 @@
import { useQuery, gql } from "@apollo/client";
-import ClickAwayListener from '@material-ui/core/ClickAwayListener'
-import Popper from '@material-ui/core/Popper'
-import { makeStyles } from '@material-ui/core/styles'
+import ClickAwayListener from '@mui/material/ClickAwayListener'
+import Popper from '@mui/material/Popper'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { memo, useState, useEffect, useRef } from 'react'
@@ -175,17 +175,22 @@ const Header = memo(({ tree, user }) => {
className={classes.popper}
disablePortal={false}
placement="bottom-end"
- modifiers={{
- offset: {
+ modifiers={[
+ {
+ name: 'offset',
enabled: true,
- offset: '100vw'
+ options: {
+ offset: ['100vw', '100vw']
+ }
},
- preventOverflow: {
+ {
+ name: 'preventOverflow',
enabled: true,
- boundariesElement: 'viewport',
- padding: 0
+ options: {
+ rootBoundary: 'viewport',
+ },
}
- }}>
+ ]}>
{title}
-
+
@@ -62,7 +62,7 @@ const SingleRowTable = ({
>
- )
+ );
}
export default SingleRowTable
diff --git a/new-lamassu-admin/src/components/table/EmptyTable.jsx b/new-lamassu-admin/src/components/table/EmptyTable.jsx
index b755c746..651cccd5 100644
--- a/new-lamassu-admin/src/components/table/EmptyTable.jsx
+++ b/new-lamassu-admin/src/components/table/EmptyTable.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classNames from 'classnames'
import React, { memo } from 'react'
import { H4 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/components/table/Table.jsx b/new-lamassu-admin/src/components/table/Table.jsx
index d7e92bd5..89737113 100644
--- a/new-lamassu-admin/src/components/table/Table.jsx
+++ b/new-lamassu-admin/src/components/table/Table.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/table/TableCell.jsx b/new-lamassu-admin/src/components/table/TableCell.jsx
index d99a4f50..8d3656a3 100644
--- a/new-lamassu-admin/src/components/table/TableCell.jsx
+++ b/new-lamassu-admin/src/components/table/TableCell.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/table/TableHeader.jsx b/new-lamassu-admin/src/components/table/TableHeader.jsx
index 0318f055..f1aef29a 100644
--- a/new-lamassu-admin/src/components/table/TableHeader.jsx
+++ b/new-lamassu-admin/src/components/table/TableHeader.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/table/TableRow.jsx b/new-lamassu-admin/src/components/table/TableRow.jsx
index f5b28256..0b901e90 100644
--- a/new-lamassu-admin/src/components/table/TableRow.jsx
+++ b/new-lamassu-admin/src/components/table/TableRow.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/components/tables/DataTable.jsx b/new-lamassu-admin/src/components/tables/DataTable.jsx
index 19616a7e..6c55fd54 100644
--- a/new-lamassu-admin/src/components/tables/DataTable.jsx
+++ b/new-lamassu-admin/src/components/tables/DataTable.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState, useEffect } from 'react'
diff --git a/new-lamassu-admin/src/components/typography/index.jsx b/new-lamassu-admin/src/components/typography/index.jsx
index 2cd0a09e..fe53c529 100644
--- a/new-lamassu-admin/src/components/typography/index.jsx
+++ b/new-lamassu-admin/src/components/typography/index.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
diff --git a/new-lamassu-admin/src/components/typography/styles.js b/new-lamassu-admin/src/components/typography/styles.js
index ac06d238..35470d9d 100644
--- a/new-lamassu-admin/src/components/typography/styles.js
+++ b/new-lamassu-admin/src/components/typography/styles.js
@@ -48,7 +48,7 @@ export default {
fontWeight: 700
},
p: {
- extend: base,
+ ...base,
fontSize: fontSize4,
fontFamily: fontSecondary,
fontWeight: 500
diff --git a/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx b/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx
index ed2c20ac..03249806 100644
--- a/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx
+++ b/new-lamassu-admin/src/pages/AddMachine/AddMachine.jsx
@@ -1,6 +1,9 @@
import { useMutation, useQuery, gql } from "@apollo/client";
-import { Dialog, DialogContent, SvgIcon, IconButton } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Dialog from '@mui/material/Dialog'
+import DialogContent from '@mui/material/DialogContent'
+import SvgIcon from '@mui/material/SvgIcon'
+import IconButton from '@mui/material/IconButton'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Form, Formik, FastField } from 'formik'
import {QRCodeSVG as QRCode} from 'qrcode.react'
@@ -252,7 +255,7 @@ const AddMachine = memo(({ close, onPaired }) => {
Add Machine
-
+
@@ -279,7 +282,7 @@ const AddMachine = memo(({ close, onPaired }) => {
- )
+ );
})
export default AddMachine
diff --git a/new-lamassu-admin/src/pages/Analytics/Analytics.jsx b/new-lamassu-admin/src/pages/Analytics/Analytics.jsx
index ca52f7e1..e27f2aa6 100644
--- a/new-lamassu-admin/src/pages/Analytics/Analytics.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/Analytics.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { endOfToday } from 'date-fns'
import { subDays, format, add, startOfWeek } from 'date-fns/fp'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/LegendEntry.jsx b/new-lamassu-admin/src/pages/Analytics/components/LegendEntry.jsx
index 1222db8e..c6d2a4a4 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/LegendEntry.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/LegendEntry.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/tooltips/GraphTooltip.jsx b/new-lamassu-admin/src/pages/Analytics/components/tooltips/GraphTooltip.jsx
index cd5633ac..e48bdd87 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/tooltips/GraphTooltip.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/tooltips/GraphTooltip.jsx
@@ -1,5 +1,5 @@
-import { Paper } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo } from 'react'
import { Info2, Label3, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/wrappers/HourOfDayWrapper.jsx b/new-lamassu-admin/src/pages/Analytics/components/wrappers/HourOfDayWrapper.jsx
index 56b436cc..d118de6f 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/wrappers/HourOfDayWrapper.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/wrappers/HourOfDayWrapper.jsx
@@ -1,5 +1,5 @@
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import { getTimezoneOffset } from 'date-fns-tz'
import * as R from 'ramda'
import React, { useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/wrappers/OverTimeWrapper.jsx b/new-lamassu-admin/src/pages/Analytics/components/wrappers/OverTimeWrapper.jsx
index b14bb2fe..93ba75b7 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/wrappers/OverTimeWrapper.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/wrappers/OverTimeWrapper.jsx
@@ -1,9 +1,10 @@
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Switch from '@mui/material/Switch'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import React, { useState } from 'react'
import { H2 } from 'src/components/typography'
-import { Select, Switch } from 'src/components/inputs'
+import { Select } from 'src/components/inputs'
import { primaryColor } from 'src/styling/variables'
import styles from '../../Analytics.styles'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/wrappers/TopMachinesWrapper.jsx b/new-lamassu-admin/src/pages/Analytics/components/wrappers/TopMachinesWrapper.jsx
index 14353f77..e296c17b 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/wrappers/TopMachinesWrapper.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/wrappers/TopMachinesWrapper.jsx
@@ -1,5 +1,5 @@
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H2 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Analytics/components/wrappers/VolumeOverTimeWrapper.jsx b/new-lamassu-admin/src/pages/Analytics/components/wrappers/VolumeOverTimeWrapper.jsx
index a48e1a50..cc3fe801 100644
--- a/new-lamassu-admin/src/pages/Analytics/components/wrappers/VolumeOverTimeWrapper.jsx
+++ b/new-lamassu-admin/src/pages/Analytics/components/wrappers/VolumeOverTimeWrapper.jsx
@@ -1,9 +1,10 @@
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
import React, { useState } from 'react'
import { H2 } from 'src/components/typography'
-import { Select, Switch } from 'src/components/inputs'
+import { Select } from 'src/components/inputs'
import { neon, java } from 'src/styling/variables'
import styles from '../../Analytics.styles'
diff --git a/new-lamassu-admin/src/pages/Authentication/Input2FAState.jsx b/new-lamassu-admin/src/pages/Authentication/Input2FAState.jsx
index 8ed79809..f7fd5cce 100644
--- a/new-lamassu-admin/src/pages/Authentication/Input2FAState.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Input2FAState.jsx
@@ -1,5 +1,5 @@
import { useMutation, useLazyQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import React, { useContext, useState } from 'react'
import { useHistory } from 'react-router-dom'
diff --git a/new-lamassu-admin/src/pages/Authentication/InputFIDOState.jsx b/new-lamassu-admin/src/pages/Authentication/InputFIDOState.jsx
index 071b6534..82f73041 100644
--- a/new-lamassu-admin/src/pages/Authentication/InputFIDOState.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/InputFIDOState.jsx
@@ -1,5 +1,5 @@
import { useMutation, useLazyQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { startAssertion } from '@simplewebauthn/browser'
import { Field, Form, Formik } from 'formik'
import React, { useState, useContext } from 'react'
diff --git a/new-lamassu-admin/src/pages/Authentication/Login.jsx b/new-lamassu-admin/src/pages/Authentication/Login.jsx
index 1a98c069..ab883a64 100644
--- a/new-lamassu-admin/src/pages/Authentication/Login.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Login.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Grid } from '@material-ui/core'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import LoginCard from './LoginCard'
@@ -15,13 +16,13 @@ const Login = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
- )
+ );
}
export default Login
diff --git a/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx b/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
index 571167e4..e9c1da4c 100644
--- a/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
@@ -1,5 +1,5 @@
-import Paper from '@material-ui/core/Paper'
-import { makeStyles } from '@material-ui/core/styles'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import React, { useReducer } from 'react'
import { H5 } from 'src/components/typography'
import Logo from 'src/styling/icons/menu/logo.svg?react'
diff --git a/new-lamassu-admin/src/pages/Authentication/LoginState.jsx b/new-lamassu-admin/src/pages/Authentication/LoginState.jsx
index 4bdd6a77..f5f89055 100644
--- a/new-lamassu-admin/src/pages/Authentication/LoginState.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/LoginState.jsx
@@ -1,5 +1,5 @@
import { useMutation, useLazyQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { startAssertion } from '@simplewebauthn/browser'
import { Field, Form, Formik } from 'formik'
import React, { useContext } from 'react'
diff --git a/new-lamassu-admin/src/pages/Authentication/Register.jsx b/new-lamassu-admin/src/pages/Authentication/Register.jsx
index 46b9a2f5..cec03435 100644
--- a/new-lamassu-admin/src/pages/Authentication/Register.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Register.jsx
@@ -1,6 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Grid } from '@material-ui/core'
-import Paper from '@material-ui/core/Paper'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
+import Paper from '@mui/material/Paper'
import { Field, Form, Formik } from 'formik'
import React, { useReducer } from 'react'
import { useLocation, useHistory } from 'react-router-dom'
@@ -131,7 +132,7 @@ const Register = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -214,7 +215,7 @@ const Register = () => {
- )
+ );
}
export default Register
diff --git a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
index b9925d14..e16e1fd8 100644
--- a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
@@ -1,6 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Grid } from '@material-ui/core'
-import Paper from '@material-ui/core/Paper'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
+import Paper from '@mui/material/Paper'
import { Form, Formik } from 'formik'
import { QRCodeSVG as QRCode } from 'qrcode.react'
import React, { useReducer, useState } from 'react'
@@ -121,7 +122,7 @@ const Reset2FA = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -205,7 +206,7 @@ const Reset2FA = () => {
- )
+ );
}
export default Reset2FA
diff --git a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
index 27b82657..5c9392b6 100644
--- a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
@@ -1,6 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Grid } from '@material-ui/core'
-import Paper from '@material-ui/core/Paper'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
+import Paper from '@mui/material/Paper'
import { Field, Form, Formik } from 'formik'
import React, { useState } from 'react'
import { useLocation, useHistory } from 'react-router-dom'
@@ -96,7 +97,7 @@ const ResetPassword = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -164,7 +165,7 @@ const ResetPassword = () => {
- )
+ );
}
export default ResetPassword
diff --git a/new-lamassu-admin/src/pages/Authentication/Setup2FAState.jsx b/new-lamassu-admin/src/pages/Authentication/Setup2FAState.jsx
index 02b9f849..8ddb0594 100644
--- a/new-lamassu-admin/src/pages/Authentication/Setup2FAState.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Setup2FAState.jsx
@@ -1,5 +1,5 @@
import { useMutation, useQuery, useLazyQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import { QRCodeSVG as QRCode } from 'qrcode.react'
import React, { useContext, useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx b/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
index 052d8d12..694dd839 100644
--- a/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
@@ -1,6 +1,10 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { Box, Dialog, DialogContent, DialogActions } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import Dialog from '@mui/material/Dialog'
+import DialogContent from '@mui/material/DialogContent'
+import DialogActions from '@mui/material/DialogActions'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
@@ -11,7 +15,6 @@ import ReverseSettingsIcon from 'src/styling/icons/circle buttons/settings/white
import SettingsIcon from 'src/styling/icons/circle buttons/settings/zodiac.svg?react'
import { Link, Button, IconButton, SupportLinkButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace } from 'src/utils/config'
import styles from './Blacklist.styles'
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
index b29a3ad4..2f554905 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, Field } from 'formik'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -64,7 +64,8 @@ const BlacklistAdvanced = ({
view: it => (
setSelectedMessage(it)}>
+ onClick={() => setSelectedMessage(it)}
+ size="large">
)
@@ -81,7 +82,8 @@ const BlacklistAdvanced = ({
disabled={
!R.isNil(R.path(['allowToggle'], it)) &&
!R.path(['allowToggle'], it)
- }>
+ }
+ size="large">
{R.path(['allowToggle'], it) ? (
) : (
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistModal.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistModal.jsx
index f84ea1cc..7e5b4dd0 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistModal.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistModal.jsx
@@ -1,5 +1,5 @@
-import { Box } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import { Formik, Form, Field } from 'formik'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
index df1b64f8..877ca6a8 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { DeleteDialog } from 'src/components/DeleteDialog'
@@ -49,7 +49,8 @@ const BlacklistTable = ({
onClick={() => {
setDeleteDialog(true)
setToBeDeleted(it)
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/Cashout/Cashout.jsx b/new-lamassu-admin/src/pages/Cashout/Cashout.jsx
index c64bda38..e301c927 100644
--- a/new-lamassu-admin/src/pages/Cashout/Cashout.jsx
+++ b/new-lamassu-admin/src/pages/Cashout/Cashout.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
@@ -8,7 +9,6 @@ import { P, Label2 } from 'src/components/typography'
import { SupportLinkButton } from 'src/components/buttons'
import { NamespacedTable as EditableTable } from 'src/components/editableTable'
-import { Switch } from 'src/components/inputs'
import { EmptyTable } from 'src/components/table'
import { fromNamespace, toNamespace } from 'src/utils/config'
diff --git a/new-lamassu-admin/src/pages/Cashout/WizardSplash.jsx b/new-lamassu-admin/src/pages/Cashout/WizardSplash.jsx
index 0360ce66..a7b210c0 100644
--- a/new-lamassu-admin/src/pages/Cashout/WizardSplash.jsx
+++ b/new-lamassu-admin/src/pages/Cashout/WizardSplash.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H1, P, Info2 } from 'src/components/typography'
import TxOutIcon from 'src/styling/icons/direction/cash-out.svg?react'
diff --git a/new-lamassu-admin/src/pages/Cashout/WizardStep.jsx b/new-lamassu-admin/src/pages/Cashout/WizardStep.jsx
index b654e479..9e4a70b1 100644
--- a/new-lamassu-admin/src/pages/Cashout/WizardStep.jsx
+++ b/new-lamassu-admin/src/pages/Cashout/WizardStep.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Formik, Form, Field } from 'formik'
import React from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
diff --git a/new-lamassu-admin/src/pages/Commissions/Commissions.jsx b/new-lamassu-admin/src/pages/Commissions/Commissions.jsx
index 43934229..36b2388b 100644
--- a/new-lamassu-admin/src/pages/Commissions/Commissions.jsx
+++ b/new-lamassu-admin/src/pages/Commissions/Commissions.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
diff --git a/new-lamassu-admin/src/pages/Commissions/components/CommissionsList.jsx b/new-lamassu-admin/src/pages/Commissions/components/CommissionsList.jsx
index 7a1d77b8..0889e6dd 100644
--- a/new-lamassu-admin/src/pages/Commissions/components/CommissionsList.jsx
+++ b/new-lamassu-admin/src/pages/Commissions/components/CommissionsList.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo, useState } from 'react'
import {
diff --git a/new-lamassu-admin/src/pages/Customers/CustomerData.jsx b/new-lamassu-admin/src/pages/Customers/CustomerData.jsx
index 3213a544..e1f9a265 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomerData.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomerData.jsx
@@ -1,5 +1,5 @@
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import { useState, React } from 'react'
import ImagePopper from 'src/components/ImagePopper'
diff --git a/new-lamassu-admin/src/pages/Customers/CustomerNotes.jsx b/new-lamassu-admin/src/pages/Customers/CustomerNotes.jsx
index dd05d1e6..8e8f01b7 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomerNotes.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomerNotes.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import { React, useState } from 'react'
import { H3 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Customers/CustomerPhotos.jsx b/new-lamassu-admin/src/pages/Customers/CustomerPhotos.jsx
index ba0f0b25..7fb0b767 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomerPhotos.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomerPhotos.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Paper } from '@material-ui/core'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import { format } from 'date-fns/fp'
import * as R from 'ramda'
import { React, useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx b/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
index 173aef54..bd52274d 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
@@ -1,13 +1,12 @@
import { useQuery, useMutation, useLazyQuery, gql } from "@apollo/client";
-import {
- makeStyles,
- Breadcrumbs,
- Box,
- DialogActions,
- DialogContent,
- Dialog
-} from '@material-ui/core'
-import NavigateNextIcon from '@material-ui/icons/NavigateNext'
+import Breadcrumbs from '@mui/material/Breadcrumbs'
+import Box from '@mui/material/Box'
+import DialogActions from '@mui/material/DialogActions'
+import DialogContent from '@mui/material/DialogContent'
+import Dialog from '@mui/material/Dialog'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
+import NavigateNextIcon from '@mui/icons-material/NavigateNext'
import * as R from 'ramda'
import React, { memo, useState } from 'react'
import { useHistory, useParams } from 'react-router-dom'
@@ -22,7 +21,6 @@ import DataReversedIcon from 'src/styling/icons/button/data/white.svg?react'
import DataIcon from 'src/styling/icons/button/data/zodiac.svg?react'
import { Button, IconButton, ActionButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import {
OVERRIDE_AUTHORIZED,
OVERRIDE_REJECTED
diff --git a/new-lamassu-admin/src/pages/Customers/Customers.jsx b/new-lamassu-admin/src/pages/Customers/Customers.jsx
index 03f03b1f..7c8657c1 100644
--- a/new-lamassu-admin/src/pages/Customers/Customers.jsx
+++ b/new-lamassu-admin/src/pages/Customers/Customers.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { Box, makeStyles } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { useHistory } from 'react-router-dom'
diff --git a/new-lamassu-admin/src/pages/Customers/CustomersList.jsx b/new-lamassu-admin/src/pages/Customers/CustomersList.jsx
index a34303a6..1eefc1be 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomersList.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomersList.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { format } from 'date-fns/fp'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/Wizard.jsx b/new-lamassu-admin/src/pages/Customers/Wizard.jsx
index 0d49f2b4..3dcd91d5 100644
--- a/new-lamassu-admin/src/pages/Customers/Wizard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/Wizard.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import * as R from 'ramda'
import React, { useState, Fragment } from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/CreateCustomerModal.jsx b/new-lamassu-admin/src/pages/Customers/components/CreateCustomerModal.jsx
index 2f13948c..ba7e1484 100644
--- a/new-lamassu-admin/src/pages/Customers/components/CreateCustomerModal.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/CreateCustomerModal.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Field, Form, Formik } from 'formik'
import { parsePhoneNumberWithError } from 'libphonenumber-js'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Customers/components/CustomInfoRequestsData.jsx b/new-lamassu-admin/src/pages/Customers/components/CustomInfoRequestsData.jsx
index 77605881..037a161f 100644
--- a/new-lamassu-admin/src/pages/Customers/components/CustomInfoRequestsData.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/CustomInfoRequestsData.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/Customers/components/CustomerDetails.jsx b/new-lamassu-admin/src/pages/Customers/components/CustomerDetails.jsx
index f400e073..4dd04418 100644
--- a/new-lamassu-admin/src/pages/Customers/components/CustomerDetails.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/CustomerDetails.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo } from 'react'
import { H2, Label1, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Customers/components/CustomerSidebar.jsx b/new-lamassu-admin/src/pages/Customers/components/CustomerSidebar.jsx
index e4e90871..f35041ba 100644
--- a/new-lamassu-admin/src/pages/Customers/components/CustomerSidebar.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/CustomerSidebar.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import CustomerDataReversedIcon from 'src/styling/icons/customer-nav/data/comet.svg?react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/EditableCard.jsx b/new-lamassu-admin/src/pages/Customers/components/EditableCard.jsx
index bef6d6b0..682ad41e 100644
--- a/new-lamassu-admin/src/pages/Customers/components/EditableCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/EditableCard.jsx
@@ -1,5 +1,7 @@
-import { CardContent, Card, Grid } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import CardContent from '@mui/material/CardContent'
+import Card from '@mui/material/Card'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Form, Formik, Field as FormikField } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Customers/components/Field.jsx b/new-lamassu-admin/src/pages/Customers/components/Field.jsx
index ed15738d..7992773d 100644
--- a/new-lamassu-admin/src/pages/Customers/components/Field.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/Field.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
import { Info3, Label1 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Customers/components/FrontCameraPhoto.jsx b/new-lamassu-admin/src/pages/Customers/components/FrontCameraPhoto.jsx
index 10ee5ffa..4dcee494 100644
--- a/new-lamassu-admin/src/pages/Customers/components/FrontCameraPhoto.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/FrontCameraPhoto.jsx
@@ -1,5 +1,5 @@
-import { Paper } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import React, { memo } from 'react'
import CrossedCameraIcon from 'src/styling/icons/ID/photo/crossed-camera.svg?react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/IdCardPhotoCard.jsx b/new-lamassu-admin/src/pages/Customers/components/IdCardPhotoCard.jsx
index 44ac023f..a2b81cd7 100644
--- a/new-lamassu-admin/src/pages/Customers/components/IdCardPhotoCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/IdCardPhotoCard.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo } from 'react'
import CrossedCameraIcon from 'src/styling/icons/ID/photo/crossed-camera.svg?react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/IdDataCard.jsx b/new-lamassu-admin/src/pages/Customers/components/IdDataCard.jsx
index 12a838db..8ead9dc0 100644
--- a/new-lamassu-admin/src/pages/Customers/components/IdDataCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/IdDataCard.jsx
@@ -1,4 +1,4 @@
-import { Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
import { differenceInYears, format, parse } from 'date-fns/fp'
import * as R from 'ramda'
import React, { memo } from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/PhotosCard.jsx b/new-lamassu-admin/src/pages/Customers/components/PhotosCard.jsx
index 0c88d50d..542ebeb4 100644
--- a/new-lamassu-admin/src/pages/Customers/components/PhotosCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/PhotosCard.jsx
@@ -1,6 +1,6 @@
-import ButtonBase from '@material-ui/core/ButtonBase'
-import Paper from '@material-ui/core/Card'
-import { makeStyles } from '@material-ui/core/styles'
+import ButtonBase from '@mui/material/ButtonBase'
+import Paper from '@mui/material/Card'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo, useState } from 'react'
import { InformativeDialog } from 'src/components/InformativeDialog'
diff --git a/new-lamassu-admin/src/pages/Customers/components/PhotosCarousel.jsx b/new-lamassu-admin/src/pages/Customers/components/PhotosCarousel.jsx
index da4771c7..6b4a8337 100644
--- a/new-lamassu-admin/src/pages/Customers/components/PhotosCarousel.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/PhotosCarousel.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { memo, useState } from 'react'
import { Carousel } from 'src/components/Carousel'
diff --git a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.jsx b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.jsx
index cd592d0d..ef9fbfc9 100644
--- a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.jsx
@@ -1,5 +1,6 @@
import { toUnit } from '@lamassu/coins/lightUtils'
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import classnames from 'classnames'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Customers/components/Upload.jsx b/new-lamassu-admin/src/pages/Customers/components/Upload.jsx
index 17bce94f..e2f63e7b 100644
--- a/new-lamassu-admin/src/pages/Customers/components/Upload.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/Upload.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { useFormikContext } from 'formik'
import * as R from 'ramda'
import React, { useState, useCallback } from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteCard.jsx b/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteCard.jsx
index 65388602..9bef903a 100644
--- a/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteCard.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Paper } from '@material-ui/core'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import classNames from 'classnames'
import { React } from 'react'
import { P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteModal.jsx b/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteModal.jsx
index 5e36507e..6325bb7d 100644
--- a/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteModal.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/notes/NewNoteModal.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, Field } from 'formik'
import { React } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
diff --git a/new-lamassu-admin/src/pages/Customers/components/notes/NoteCard.jsx b/new-lamassu-admin/src/pages/Customers/components/notes/NoteCard.jsx
index 3ce56ce3..c4a4f21a 100644
--- a/new-lamassu-admin/src/pages/Customers/components/notes/NoteCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/notes/NoteCard.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Paper } from '@material-ui/core'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import { React } from 'react'
import { H3, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Customers/components/notes/NoteEdit.jsx b/new-lamassu-admin/src/pages/Customers/components/notes/NoteEdit.jsx
index 50da039c..3fac6309 100644
--- a/new-lamassu-admin/src/pages/Customers/components/notes/NoteEdit.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/notes/NoteEdit.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Paper } from '@material-ui/core'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import { formatDurationWithOptions, intervalToDuration } from 'date-fns/fp'
import { Form, Formik, Field } from 'formik'
import { React, useRef } from 'react'
diff --git a/new-lamassu-admin/src/pages/Customers/components/propertyCard/PropertyCard.jsx b/new-lamassu-admin/src/pages/Customers/components/propertyCard/PropertyCard.jsx
index 9db47b44..4aa22ab9 100644
--- a/new-lamassu-admin/src/pages/Customers/components/propertyCard/PropertyCard.jsx
+++ b/new-lamassu-admin/src/pages/Customers/components/propertyCard/PropertyCard.jsx
@@ -1,5 +1,5 @@
-import { Paper } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Paper from '@mui/material/Paper'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { memo } from 'react'
import { MainStatus } from 'src/components/Status'
diff --git a/new-lamassu-admin/src/pages/Customers/helper.jsx b/new-lamassu-admin/src/pages/Customers/helper.jsx
index 86285b94..3fa95175 100644
--- a/new-lamassu-admin/src/pages/Customers/helper.jsx
+++ b/new-lamassu-admin/src/pages/Customers/helper.jsx
@@ -1,5 +1,6 @@
import React from 'react'
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { parse, isValid, format } from 'date-fns/fp'
import { Field, useFormikContext } from 'formik'
@@ -317,7 +318,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => {
fullWidth
label={`Available requests`}
className={classes.picker}
- getOptionSelected={R.eqProps('code')}
+ isOptionEqualToValue={R.eqProps('code')}
labelProp={'display'}
options={customInfoRequirementOptions}
onChange={(evt, it) => {}}
@@ -343,7 +344,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => {
}>
)}
>
- )
+ );
}
const customElements = {
diff --git a/new-lamassu-admin/src/pages/Dashboard/Alerts/Alerts.jsx b/new-lamassu-admin/src/pages/Dashboard/Alerts/Alerts.jsx
index 46fe3c5e..17b89f2f 100644
--- a/new-lamassu-admin/src/pages/Dashboard/Alerts/Alerts.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/Alerts/Alerts.jsx
@@ -1,7 +1,7 @@
import { useQuery, gql } from "@apollo/client";
-import Button from '@material-ui/core/Button'
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Button from '@mui/material/Button'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Dashboard/Alerts/AlertsTable.jsx b/new-lamassu-admin/src/pages/Dashboard/Alerts/AlertsTable.jsx
index c0e8e70b..478b0876 100644
--- a/new-lamassu-admin/src/pages/Dashboard/Alerts/AlertsTable.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/Alerts/AlertsTable.jsx
@@ -1,6 +1,6 @@
-import { makeStyles } from '@material-ui/core'
-import List from '@material-ui/core/List'
-import ListItem from '@material-ui/core/ListItem'
+import { makeStyles } from '@mui/styles'
+import List from '@mui/material/List'
+import ListItem from '@mui/material/ListItem'
import * as R from 'ramda'
import React from 'react'
import { useHistory } from 'react-router-dom'
diff --git a/new-lamassu-admin/src/pages/Dashboard/Dashboard.jsx b/new-lamassu-admin/src/pages/Dashboard/Dashboard.jsx
index 96dd647b..e3b7eb07 100644
--- a/new-lamassu-admin/src/pages/Dashboard/Dashboard.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/Dashboard.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { useHistory } from 'react-router-dom'
diff --git a/new-lamassu-admin/src/pages/Dashboard/Footer/Footer.jsx b/new-lamassu-admin/src/pages/Dashboard/Footer/Footer.jsx
index 5c1bcf3e..ab6ab6ad 100644
--- a/new-lamassu-admin/src/pages/Dashboard/Footer/Footer.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/Footer/Footer.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
-import Grid from '@material-ui/core/Grid'
+import { makeStyles } from '@mui/styles'
+import Grid from '@mui/material/Grid'
import BigNumber from 'bignumber.js'
import classnames from 'classnames'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Dashboard/LeftSide.jsx b/new-lamassu-admin/src/pages/Dashboard/LeftSide.jsx
index 6a393082..8cda8eec 100644
--- a/new-lamassu-admin/src/pages/Dashboard/LeftSide.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/LeftSide.jsx
@@ -1,5 +1,5 @@
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import styles from './Dashboard.styles'
diff --git a/new-lamassu-admin/src/pages/Dashboard/RightSide.jsx b/new-lamassu-admin/src/pages/Dashboard/RightSide.jsx
index 6a680427..82eb332e 100644
--- a/new-lamassu-admin/src/pages/Dashboard/RightSide.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/RightSide.jsx
@@ -1,6 +1,6 @@
-import Button from '@material-ui/core/Button'
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Button from '@mui/material/Button'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState } from 'react'
import CollapsibleCard, { cardState } from 'src/components/CollapsibleCard'
diff --git a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Graphs/PercentageChart.jsx b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Graphs/PercentageChart.jsx
index a88abcf6..7a8aa683 100644
--- a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Graphs/PercentageChart.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Graphs/PercentageChart.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import { Label1 } from 'src/components/typography/index'
diff --git a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Nav.jsx b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Nav.jsx
index e7054191..e12ac98b 100644
--- a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Nav.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/Nav.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/SystemPerformance.jsx b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/SystemPerformance.jsx
index 75a36b40..cd3552b1 100644
--- a/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/SystemPerformance.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/SystemPerformance/SystemPerformance.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import classnames from 'classnames'
import { isAfter } from 'date-fns/fp'
diff --git a/new-lamassu-admin/src/pages/Dashboard/SystemStatus/MachinesTable.jsx b/new-lamassu-admin/src/pages/Dashboard/SystemStatus/MachinesTable.jsx
index e943d991..94d1c68b 100644
--- a/new-lamassu-admin/src/pages/Dashboard/SystemStatus/MachinesTable.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/SystemStatus/MachinesTable.jsx
@@ -1,11 +1,11 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles, withStyles } from '@material-ui/core'
-import Table from '@material-ui/core/Table'
-import TableBody from '@material-ui/core/TableBody'
-import TableCell from '@material-ui/core/TableCell'
-import TableContainer from '@material-ui/core/TableContainer'
-import TableHead from '@material-ui/core/TableHead'
-import TableRow from '@material-ui/core/TableRow'
+import { makeStyles, withStyles } from '@mui/styles'
+import Table from '@mui/material/Table'
+import TableBody from '@mui/material/TableBody'
+import TableCell from '@mui/material/TableCell'
+import TableContainer from '@mui/material/TableContainer'
+import TableHead from '@mui/material/TableHead'
+import TableRow from '@mui/material/TableRow'
import classnames from 'classnames'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Dashboard/SystemStatus/SystemStatus.jsx b/new-lamassu-admin/src/pages/Dashboard/SystemStatus/SystemStatus.jsx
index c172d3c6..ff01f03d 100644
--- a/new-lamassu-admin/src/pages/Dashboard/SystemStatus/SystemStatus.jsx
+++ b/new-lamassu-admin/src/pages/Dashboard/SystemStatus/SystemStatus.jsx
@@ -1,7 +1,7 @@
import { useQuery, gql } from "@apollo/client";
-import Button from '@material-ui/core/Button'
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
+import Button from '@mui/material/Button'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Funding.jsx b/new-lamassu-admin/src/pages/Funding.jsx
index d18877da..05bd61ad 100644
--- a/new-lamassu-admin/src/pages/Funding.jsx
+++ b/new-lamassu-admin/src/pages/Funding.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
import { formatCryptoAddress } from '@lamassu/coins/lightUtils'
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import classnames from 'classnames'
import { format } from 'date-fns/fp'
diff --git a/new-lamassu-admin/src/pages/Locales/Locales.jsx b/new-lamassu-admin/src/pages/Locales/Locales.jsx
index 71c5a221..fcb32433 100644
--- a/new-lamassu-admin/src/pages/Locales/Locales.jsx
+++ b/new-lamassu-admin/src/pages/Locales/Locales.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscountModal.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscountModal.jsx
index 775b54bf..6868330d 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscountModal.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscountModal.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, Field } from 'formik'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
index 8edc1f81..a79f187d 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { DeleteDialog } from 'src/components/DeleteDialog'
@@ -144,7 +145,8 @@ const IndividualDiscounts = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { discountId: t.id } })
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
index 2dbdb124..ed3ecd1b 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { DeleteDialog } from 'src/components/DeleteDialog'
@@ -120,7 +121,8 @@ const PromoCodes = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { codeId: t.id } })
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodesModal.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodesModal.jsx
index 60f44b67..25556f6e 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodesModal.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodesModal.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, Field } from 'formik'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/MachineLogs.jsx b/new-lamassu-admin/src/pages/MachineLogs.jsx
index a5bc9f31..5e33fdae 100644
--- a/new-lamassu-admin/src/pages/MachineLogs.jsx
+++ b/new-lamassu-admin/src/pages/MachineLogs.jsx
@@ -1,5 +1,5 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import LogsDowloaderPopover from 'src/components/LogsDownloaderPopper'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Cassettes/Cassettes.jsx b/new-lamassu-admin/src/pages/Machines/MachineComponents/Cassettes/Cassettes.jsx
index eda98e95..04dfb6b6 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Cassettes/Cassettes.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Cassettes/Cassettes.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import DataTable from 'src/components/tables/DataTable'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Details.jsx b/new-lamassu-admin/src/pages/Machines/MachineComponents/Details.jsx
index 1be5ef28..7b9105da 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Details.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Details.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { Label3, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Overview.jsx b/new-lamassu-admin/src/pages/Machines/MachineComponents/Overview.jsx
index b3fb1a7f..a9f42060 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Overview.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Overview.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import { formatDistance } from 'date-fns'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/DataTable.jsx b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/DataTable.jsx
index 615f1ca1..1957f2af 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/DataTable.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/DataTable.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState, useEffect } from 'react'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.jsx b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.jsx
index 3f013c7c..bca7c908 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.jsx
@@ -1,6 +1,6 @@
import { useQuery, useLazyQuery, gql } from "@apollo/client";
import { toUnit, formatCryptoAddress } from '@lamassu/coins/lightUtils'
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import * as R from 'ramda'
import React, { useEffect, useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Machines/MachineSidebar.jsx b/new-lamassu-admin/src/pages/Machines/MachineSidebar.jsx
index 6a0a2927..1181d615 100644
--- a/new-lamassu-admin/src/pages/Machines/MachineSidebar.jsx
+++ b/new-lamassu-admin/src/pages/Machines/MachineSidebar.jsx
@@ -1,7 +1,7 @@
-import List from '@material-ui/core/List'
-import ListItem from '@material-ui/core/ListItem'
-import ListItemText from '@material-ui/core/ListItemText'
-import { makeStyles } from '@material-ui/core/styles'
+import List from '@mui/material/List'
+import ListItem from '@mui/material/ListItem'
+import ListItemText from '@mui/material/ListItemText'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import styles from './Machines.styles'
diff --git a/new-lamassu-admin/src/pages/Machines/Machines.jsx b/new-lamassu-admin/src/pages/Machines/Machines.jsx
index 0dda4d10..7055151a 100644
--- a/new-lamassu-admin/src/pages/Machines/Machines.jsx
+++ b/new-lamassu-admin/src/pages/Machines/Machines.jsx
@@ -1,8 +1,8 @@
import { useQuery, gql } from "@apollo/client";
-import Breadcrumbs from '@material-ui/core/Breadcrumbs'
-import Grid from '@material-ui/core/Grid'
-import { makeStyles } from '@material-ui/core/styles'
-import NavigateNextIcon from '@material-ui/icons/NavigateNext'
+import Breadcrumbs from '@mui/material/Breadcrumbs'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
+import NavigateNextIcon from '@mui/icons-material/NavigateNext'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnitDetails.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnitDetails.jsx
index 82be3f52..1d027869 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashUnitDetails.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashUnitDetails.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React from 'react'
import Chip from 'src/components/Chip'
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
index 6f50a78d..9377e1e3 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
@@ -1,5 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { DialogActions, makeStyles, Box } from '@material-ui/core'
+import DialogActions from '@mui/material/DialogActions'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import LogsDowloaderPopover from 'src/components/LogsDownloaderPopper'
@@ -200,158 +202,155 @@ const CashCassettes = () => {
/>
)
- return (
- !dataLoading && (
- <>
-
R.path(['cashboxBatchesCsv'])(logs)}
- timezone={timezone}
- args={{ timezone }}
- />
- ) : (
- <>>
- )
- }
- ]}
- iconClassName={classes.listViewButton}
- className={classes.tableWidth}
- appendix={
-
-
- For details on configuring cash boxes and cassettes, please read
- the relevant knowledgebase article:
+ return (!dataLoading && (<>
+ R.path(['cashboxBatchesCsv'])(logs)}
+ timezone={timezone}
+ args={{ timezone }}
+ />
+ ) : (
+ <>>
+ )
+ }
+ ]}
+ iconClassName={classes.listViewButton}
+ className={classes.tableWidth}
+ appendix={
+
+
+ For details on configuring cash boxes and cassettes, please read
+ the relevant knowledgebase article:
+
+
+
+ }>
+ {!showHistory && (
+
+ Cash box resets
+
+ {cashboxReset && (
+
+ {onlyFirstToUpper(cashboxReset)}
-
-
- }>
- {!showHistory && (
-
- Cash box resets
-
- {cashboxReset && (
-
- {onlyFirstToUpper(cashboxReset)}
-
- )}
- setEditingSchema(true)}
- className={classes.button}>
-
-
-
-
- )}
-
- {!showHistory && (
- <>
-
-
- {data && R.isEmpty(machines) && (
-
)}
- >
- )}
- {showHistory && (
-
- )}
-
setEditingSchema(true)}
+ className={classes.button}
+ size="large">
+
+
+
+
+ )}
+
+ {!showHistory && (
+ <>
+
- {wizard && (
- {
- setWizard(false)
- }}
- error={error?.message}
- save={onSave}
- locale={locale}
- />
- )}
- {editingSchema && (
- setEditingSchema(null)}
- open={true}>
-
- We can automatically assume you emptied a bill validator's cash
- box when the machine detects that it has been removed.
-
-
-
- Assume the cash box is emptied whenever it's removed, creating a
- new batch on the history screen and setting its current balance to
- zero.
-
-
-
- Cash boxes won't be assumed emptied when removed, nor their counts
- modified. Instead, to update the count and create a new batch,
- you'll click the 'Edit' button on this panel.
-
-
- saveCashboxOption(selectedRadio)}>
- Confirm
-
-
-
+
+ {data && R.isEmpty(machines) && (
+
)}
>
- )
- )
+ )}
+ {showHistory && (
+
+ )}
+
+ {wizard && (
+ {
+ setWizard(false)
+ }}
+ error={error?.message}
+ save={onSave}
+ locale={locale}
+ />
+ )}
+ {editingSchema && (
+ setEditingSchema(null)}
+ open={true}>
+
+ We can automatically assume you emptied a bill validator's cash
+ box when the machine detects that it has been removed.
+
+
+
+ Assume the cash box is emptied whenever it's removed, creating a
+ new batch on the history screen and setting its current balance to
+ zero.
+
+
+
+ Cash boxes won't be assumed emptied when removed, nor their counts
+ modified. Instead, to update the count and create a new batch,
+ you'll click the 'Edit' button on this panel.
+
+
+ saveCashboxOption(selectedRadio)}>
+ Confirm
+
+
+
+ )}
+ >));
}
export default CashCassettes
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnitsFooter.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnitsFooter.jsx
index 1a6c0e88..bbbab515 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashUnitsFooter.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashUnitsFooter.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashboxHistory.jsx b/new-lamassu-admin/src/pages/Maintenance/CashboxHistory.jsx
index dad71c89..580fa0be 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashboxHistory.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashboxHistory.jsx
@@ -1,5 +1,5 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React from 'react'
// import * as Yup from 'yup'
diff --git a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.jsx b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.jsx
index 14e029d5..797f312a 100644
--- a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.jsx
@@ -1,5 +1,5 @@
-import { Grid /*, Divider */ } from '@material-ui/core'
-import { makeStyles } from '@material-ui/core/styles'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.styles.js b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.styles.js
index 5b5222e5..7ac4426f 100644
--- a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.styles.js
+++ b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.styles.js
@@ -1,4 +1,4 @@
-import { alpha } from '@material-ui/core/styles/colorManipulator'
+import { alpha } from '@mui/material/styles'
import {
detailsRowStyles,
diff --git a/new-lamassu-admin/src/pages/Maintenance/MachineStatus.jsx b/new-lamassu-admin/src/pages/Maintenance/MachineStatus.jsx
index cdff0572..3b0abdc4 100644
--- a/new-lamassu-admin/src/pages/Maintenance/MachineStatus.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/MachineStatus.jsx
@@ -1,5 +1,5 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { formatDistance } from 'date-fns'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardSplash.jsx b/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardSplash.jsx
index 549b798b..921e189b 100644
--- a/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardSplash.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardSplash.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H1, P, Info2 } from 'src/components/typography'
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
diff --git a/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardStep.jsx b/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardStep.jsx
index 3b1ccab5..42186e38 100644
--- a/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardStep.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/Wizard/WizardStep.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Formik, Form, Field } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Maintenance/helper.jsx b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
index acc6ef1e..19e21f60 100644
--- a/new-lamassu-admin/src/pages/Maintenance/helper.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
@@ -132,10 +132,11 @@ const getElements = (
onClick={() => {
!R.isNil(setMachineId) && setMachineId(m.id ?? m.deviceId)
setWizard(true)
- }}>
+ }}
+ size="large">
- )
+ );
}
}
]
diff --git a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
index 16aec872..2fca1331 100644
--- a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H4 } from 'src/components/typography'
import DisabledEditIcon from 'src/styling/icons/action/edit/disabled.svg?react'
@@ -20,7 +20,8 @@ const Header = ({ title, editing, disabled, setEditing }) => {
setEditing(true)}
className={classes.button}
- disabled={disabled}>
+ disabled={disabled}
+ size="large">
{disabled ? : }
)}
@@ -35,7 +36,7 @@ const Header = ({ title, editing, disabled, setEditing }) => {
)}
- )
+ );
}
export default Header
diff --git a/new-lamassu-admin/src/pages/Notifications/components/EditableNumber.jsx b/new-lamassu-admin/src/pages/Notifications/components/EditableNumber.jsx
index 35917013..05cf20f6 100644
--- a/new-lamassu-admin/src/pages/Notifications/components/EditableNumber.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/components/EditableNumber.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { useFormikContext, Field as FormikField } from 'formik'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/Notifications/sections/CryptoBalanceAlerts.jsx b/new-lamassu-admin/src/pages/Notifications/sections/CryptoBalanceAlerts.jsx
index 5a81bf34..10c105ba 100644
--- a/new-lamassu-admin/src/pages/Notifications/sections/CryptoBalanceAlerts.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/sections/CryptoBalanceAlerts.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React, { useContext } from 'react'
import NotificationsCtx from '../NotificationsContext'
diff --git a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.jsx b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.jsx
index b3461aab..86e40da4 100644
--- a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import * as R from 'ramda'
import React, { useContext } from 'react'
diff --git a/new-lamassu-admin/src/pages/Notifications/sections/Setup.jsx b/new-lamassu-admin/src/pages/Notifications/sections/Setup.jsx
index 67ad5c7a..130b7525 100644
--- a/new-lamassu-admin/src/pages/Notifications/sections/Setup.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/sections/Setup.jsx
@@ -1,4 +1,5 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import * as R from 'ramda'
import React, { useContext } from 'react'
import {
@@ -10,7 +11,6 @@ import {
Th
} from 'src/components/fake-table/Table'
-import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace } from 'src/utils/config'
import { sentenceCase } from 'src/utils/string'
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/CoinATMRadar.jsx b/new-lamassu-admin/src/pages/OperatorInfo/CoinATMRadar.jsx
index edb58b73..91969087 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/CoinATMRadar.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/CoinATMRadar.jsx
@@ -1,11 +1,11 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import React, { memo } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
import { H4, P, Label2 } from 'src/components/typography'
import { BooleanPropertiesTable } from 'src/components/booleanPropertiesTable'
-import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
import { SupportLinkButton } from '../../components/buttons'
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
index 33e4b487..2b26b873 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import classnames from 'classnames'
import { Form, Formik, Field as FormikField } from 'formik'
import * as R from 'ramda'
@@ -7,7 +8,6 @@ import React, { useState } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
import PromptWhenDirty from 'src/components/PromptWhenDirty'
import { HelpTooltip } from 'src/components/Tooltip'
-import Switch from 'src/components/inputs/base/Switch'
import { P, H4, Info3, Label1, Label2, Label3 } from 'src/components/typography'
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
@@ -221,7 +221,8 @@ const ContactInfo = ({ wizard }) => {
{!editing && (
setEditing(true)}>
+ onClick={() => setEditing(true)}
+ size="large">
)}
@@ -311,7 +312,7 @@ const ContactInfo = ({ wizard }) => {
)}
>
- )
+ );
}
export default ContactInfo
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/MachineScreens.jsx b/new-lamassu-admin/src/pages/OperatorInfo/MachineScreens.jsx
index fbac6725..d66ed288 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/MachineScreens.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/MachineScreens.jsx
@@ -1,10 +1,10 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import * as R from 'ramda'
import React, { memo } from 'react'
import { H4, P, Label2 } from 'src/components/typography'
-import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
import { global } from './OperatorInfo.styles'
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/ReceiptPrinting.jsx b/new-lamassu-admin/src/pages/OperatorInfo/ReceiptPrinting.jsx
index 759108b2..3d22330e 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/ReceiptPrinting.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/ReceiptPrinting.jsx
@@ -1,12 +1,12 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import * as R from 'ramda'
import React, { memo } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
import { H4, P, Label2 } from 'src/components/typography'
import { BooleanPropertiesTable } from 'src/components/booleanPropertiesTable'
-import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
import { SupportLinkButton } from '../../components/buttons'
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
index 09e00eed..0b33e062 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
@@ -1,5 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Paper } from '@material-ui/core'
+import Paper from '@mui/material/Paper'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
@@ -11,7 +13,6 @@ import ExpandIconOpen from 'src/styling/icons/action/expand/open.svg?react'
import WhiteLogo from 'src/styling/icons/menu/logo-white.svg?react'
import { IconButton, SupportLinkButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import { formatDate } from 'src/utils/timezones'
import styles from './SMSNotices.styles'
@@ -180,7 +181,8 @@ const SMSNotices = () => {
setPreviewOpen(false)
setSelectedSMS(it)
setShowModal(true)
- }}>
+ }}
+ size="large">
)
@@ -221,7 +223,8 @@ const SMSNotices = () => {
R.equals(selectedSMS, it)
? setPreviewOpen(!previewOpen)
: setPreviewOpen(true)
- }}>
+ }}
+ size="large">
{R.equals(selectedSMS, it) && previewOpen ? (
) : (
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNoticesModal.jsx b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNoticesModal.jsx
index b5faa683..745891b7 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNoticesModal.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNoticesModal.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Chip } from '@material-ui/core'
+import Chip from '@mui/material/Chip'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, Field } from 'formik'
import * as R from 'ramda'
import React from 'react'
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
index 5d9a0e0c..f5b03a3d 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
+import Switch from '@mui/material/Switch'
import classnames from 'classnames'
import { Form, Formik, Field as FormikField } from 'formik'
import * as R from 'ramda'
@@ -12,7 +13,6 @@ import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import * as Yup from 'yup'
import { Link, IconButton, SupportLinkButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import { TextInput } from 'src/components/inputs/formik'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
@@ -233,7 +233,8 @@ const TermsConditions = () => {
{!editing && (
setEditing(true)}>
+ onClick={() => setEditing(true)}
+ size="large">
)}
@@ -287,7 +288,7 @@ const TermsConditions = () => {
)}
>
- )
+ );
}
export default TermsConditions
diff --git a/new-lamassu-admin/src/pages/ServerLogs.jsx b/new-lamassu-admin/src/pages/ServerLogs.jsx
index b66f3ec6..136784b6 100644
--- a/new-lamassu-admin/src/pages/ServerLogs.jsx
+++ b/new-lamassu-admin/src/pages/ServerLogs.jsx
@@ -1,5 +1,5 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState, useRef } from 'react'
import LogsDowloaderPopover from 'src/components/LogsDownloaderPopper'
diff --git a/new-lamassu-admin/src/pages/Services/FormRenderer.jsx b/new-lamassu-admin/src/pages/Services/FormRenderer.jsx
index 80f1e4ce..599eb8e5 100644
--- a/new-lamassu-admin/src/pages/Services/FormRenderer.jsx
+++ b/new-lamassu-admin/src/pages/Services/FormRenderer.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Grid } from '@material-ui/core'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Formik, Form, FastField } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Services/Services.jsx b/new-lamassu-admin/src/pages/Services/Services.jsx
index fdbf2234..22b44c92 100644
--- a/new-lamassu-admin/src/pages/Services/Services.jsx
+++ b/new-lamassu-admin/src/pages/Services/Services.jsx
@@ -1,5 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Grid } from '@material-ui/core'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/Services/schemas/bitgo.js b/new-lamassu-admin/src/pages/Services/schemas/bitgo.js
index c440e60d..07c2705b 100644
--- a/new-lamassu-admin/src/pages/Services/schemas/bitgo.js
+++ b/new-lamassu-admin/src/pages/Services/schemas/bitgo.js
@@ -144,6 +144,6 @@ export default {
environment: Yup.string('The environment must be a string')
.matches(/(prod|test)/)
.required('The environment is required')
- })
+ });
}
}
diff --git a/new-lamassu-admin/src/pages/Services/schemas/galoy.js b/new-lamassu-admin/src/pages/Services/schemas/galoy.js
index 1ecedbfb..d98a07f4 100644
--- a/new-lamassu-admin/src/pages/Services/schemas/galoy.js
+++ b/new-lamassu-admin/src/pages/Services/schemas/galoy.js
@@ -57,6 +57,6 @@ export default {
endpoint: Yup.string('The endpoint must be a string')
.max(100, 'The endpoint is too long')
.required('The endpoint is required')
- })
+ });
}
}
diff --git a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
index 671eb3ad..a9fb8d23 100644
--- a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
+++ b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
@@ -98,7 +98,8 @@ const SessionManagement = () => {
{
deleteSession({ variables: { sid: s.sid } })
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx b/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx
index 32ccb5b5..306111f5 100644
--- a/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx
+++ b/new-lamassu-admin/src/pages/Transactions/CopyToClipboard.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState, useEffect } from 'react'
@@ -71,7 +71,7 @@ const CopyToClipboard = ({
>
)}
- )
+ );
}
export default CopyToClipboard
diff --git a/new-lamassu-admin/src/pages/Transactions/DetailsCard.jsx b/new-lamassu-admin/src/pages/Transactions/DetailsCard.jsx
index 805ca6b9..f4d87525 100644
--- a/new-lamassu-admin/src/pages/Transactions/DetailsCard.jsx
+++ b/new-lamassu-admin/src/pages/Transactions/DetailsCard.jsx
@@ -1,6 +1,7 @@
import { useLazyQuery, useMutation, gql } from "@apollo/client";
import { toUnit, formatCryptoAddress } from '@lamassu/coins/lightUtils'
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import classNames from 'classnames'
import { add, differenceInYears, format, sub, parse } from 'date-fns/fp'
diff --git a/new-lamassu-admin/src/pages/Transactions/Transactions.jsx b/new-lamassu-admin/src/pages/Transactions/Transactions.jsx
index 49bbf39e..2cec7eb3 100644
--- a/new-lamassu-admin/src/pages/Transactions/Transactions.jsx
+++ b/new-lamassu-admin/src/pages/Transactions/Transactions.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
import { toUnit, formatCryptoAddress } from '@lamassu/coins/lightUtils'
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import BigNumber from 'bignumber.js'
import * as R from 'ramda'
import React, { useEffect, useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
index c21291be..b9c224dc 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
@@ -1,5 +1,5 @@
import { useMutation, useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -178,121 +178,118 @@ const CustomInfoRequests = ({
>
)
- return (
- !configLoading && (
- <>
- {customRequests.length > 0 && (
- it.customRequest.name
- },
- {
- header: 'Data entry type',
- width: 300,
- textAlign: 'left',
- size: 'sm',
- view: it => inputTypeDisplay[it.customRequest.input.type]
- },
- {
- header: 'Constraints',
- width: 300,
- textAlign: 'left',
- size: 'sm',
- view: it =>
- constraintTypeDisplay[it.customRequest.input.constraintType]
- },
- {
- header: 'Edit',
- width: 100,
- textAlign: 'center',
- size: 'sm',
- view: it => {
- return (
- {
- setToBeEdited(it)
- return toggleWizard()
- }}>
-
-
- )
- }
- },
- {
- header: 'Delete',
- width: 100,
- textAlign: 'center',
- size: 'sm',
- view: it => {
- return (
- {
- setToBeDeleted(it.id)
- return setDeleteDialog(true)
- }}>
-
-
- )
- }
- }
- ]}
- data={customRequests}
- Details={DetailsRow}
- expandable
- rowSize="sm"
- />
- )}
- {!customRequests.length && (
-
-
- It seems you haven't added any custom information requests yet.
-
-
- Please read our{' '}
-
- Support Article
- {' '}
- on Compliance before adding new information requests.
-
-
toggleWizard()}>
- Add custom information request
-
-
- )}
- {showWizard && (
- {
- setToBeEdited(null)
- setHasError(false)
- toggleWizard()
- }}
- toBeEdited={toBeEdited}
- onSave={(...args) => handleSave(...args)}
- existingRequirements={customRequests}
- />
- )}
-
- {
- setDeleteDialog(false)
- setHasError(false)
- }}
- item={`custom information request`}
- extraMessage={detailedDeleteMsg}
- onConfirmed={() => handleDelete(toBeDeleted)}
- />
- >
- )
- )
+ return (!configLoading && (<>
+ {customRequests.length > 0 && (
+ it.customRequest.name
+ },
+ {
+ header: 'Data entry type',
+ width: 300,
+ textAlign: 'left',
+ size: 'sm',
+ view: it => inputTypeDisplay[it.customRequest.input.type]
+ },
+ {
+ header: 'Constraints',
+ width: 300,
+ textAlign: 'left',
+ size: 'sm',
+ view: it =>
+ constraintTypeDisplay[it.customRequest.input.constraintType]
+ },
+ {
+ header: 'Edit',
+ width: 100,
+ textAlign: 'center',
+ size: 'sm',
+ view: it => {
+ return (
+ {
+ setToBeEdited(it)
+ return toggleWizard()
+ }}
+ size="large">
+
+
+ );
+ }
+ },
+ {
+ header: 'Delete',
+ width: 100,
+ textAlign: 'center',
+ size: 'sm',
+ view: it => {
+ return (
+ {
+ setToBeDeleted(it.id)
+ return setDeleteDialog(true)
+ }}
+ size="large">
+
+
+ );
+ }
+ }
+ ]}
+ data={customRequests}
+ Details={DetailsRow}
+ expandable
+ rowSize="sm"
+ />
+ )}
+ {!customRequests.length && (
+
+
+ It seems you haven't added any custom information requests yet.
+
+
+ Please read our{' '}
+
+ Support Article
+ {' '}
+ on Compliance before adding new information requests.
+
+
toggleWizard()}>
+ Add custom information request
+
+
+ )}
+ {showWizard && (
+ {
+ setToBeEdited(null)
+ setHasError(false)
+ toggleWizard()
+ }}
+ toBeEdited={toBeEdited}
+ onSave={(...args) => handleSave(...args)}
+ existingRequirements={customRequests}
+ />
+ )}
+ {
+ setDeleteDialog(false)
+ setHasError(false)
+ }}
+ item={`custom information request`}
+ extraMessage={detailedDeleteMsg}
+ onConfirmed={() => handleDelete(toBeDeleted)}
+ />
+ >));
}
export default CustomInfoRequests
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/DetailsCard.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/DetailsCard.jsx
index 9d056395..2de4ac04 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/DetailsCard.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/DetailsCard.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
import { Label1, Info2 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/ChoiceList.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/ChoiceList.jsx
index 91f66b19..a171c1dd 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/ChoiceList.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/ChoiceList.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Field, useFormikContext, FieldArray } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
index 49985224..5c6c364d 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Field, useFormikContext } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/TextEntry.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/TextEntry.jsx
index f5baec02..79f2674e 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/TextEntry.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/TextEntry.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Field, useFormikContext } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Wizard.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Wizard.jsx
index e4d75857..232902b2 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Wizard.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Wizard.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import * as R from 'ramda'
import React, { useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/WizardSplash.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/WizardSplash.jsx
index 17352b54..b3d9ffa0 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/WizardSplash.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/WizardSplash.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H1, P } from 'src/components/typography'
import CustomReqLogo from 'src/styling/icons/compliance/custom-requirement.svg?react'
diff --git a/new-lamassu-admin/src/pages/Triggers/TriggerView.jsx b/new-lamassu-admin/src/pages/Triggers/TriggerView.jsx
index 1af0c181..b98396d6 100644
--- a/new-lamassu-admin/src/pages/Triggers/TriggerView.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/TriggerView.jsx
@@ -1,5 +1,6 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H2 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Triggers/Triggers.jsx b/new-lamassu-admin/src/pages/Triggers/Triggers.jsx
index 6039aa4e..1043caa1 100644
--- a/new-lamassu-admin/src/pages/Triggers/Triggers.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/Triggers.jsx
@@ -1,5 +1,7 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -14,7 +16,6 @@ import ReverseSettingsIcon from 'src/styling/icons/circle buttons/settings/white
import SettingsIcon from 'src/styling/icons/circle buttons/settings/zodiac.svg?react'
import { Link, SupportLinkButton } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import twilioSchema from 'src/pages/Services/schemas/twilio'
import { fromNamespace, toNamespace } from 'src/utils/config'
diff --git a/new-lamassu-admin/src/pages/Triggers/Wizard.jsx b/new-lamassu-admin/src/pages/Triggers/Wizard.jsx
index 4b0b0002..abf8d94a 100644
--- a/new-lamassu-admin/src/pages/Triggers/Wizard.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/Wizard.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Form, Formik, useFormikContext } from 'formik'
import * as R from 'ramda'
import React, { useState, Fragment, useEffect } from 'react'
diff --git a/new-lamassu-admin/src/pages/Triggers/components/helper.js b/new-lamassu-admin/src/pages/Triggers/components/helper.js
index f1ab47b3..70ab864f 100644
--- a/new-lamassu-admin/src/pages/Triggers/components/helper.js
+++ b/new-lamassu-admin/src/pages/Triggers/components/helper.js
@@ -63,7 +63,7 @@ const getOverridesSchema = (values, customInfoRequests) => {
.label('Automation')
.matches(/(Manual|Automatic)/)
.required()
- })
+ });
}
const getDefaultSettings = () => {
diff --git a/new-lamassu-admin/src/pages/Triggers/helper.jsx b/new-lamassu-admin/src/pages/Triggers/helper.jsx
index a0e613ee..353a7c41 100644
--- a/new-lamassu-admin/src/pages/Triggers/helper.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/helper.jsx
@@ -1,4 +1,5 @@
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Field, useFormikContext } from 'formik'
import * as R from 'ramda'
diff --git a/new-lamassu-admin/src/pages/UserManagement/UserManagement.jsx b/new-lamassu-admin/src/pages/UserManagement/UserManagement.jsx
index 0bf36870..271ccba7 100644
--- a/new-lamassu-admin/src/pages/UserManagement/UserManagement.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/UserManagement.jsx
@@ -1,5 +1,8 @@
import { useQuery, useMutation, useLazyQuery, gql } from "@apollo/client";
-import { makeStyles, Box, Chip } from '@material-ui/core'
+import Chip from '@mui/material/Chip'
+import Box from '@mui/material/Box'
+import Switch from '@mui/material/Switch'
+import { makeStyles } from '@mui/styles'
import { startAttestation } from '@simplewebauthn/browser'
import * as R from 'ramda'
import React, { useReducer, useState, useContext } from 'react'
@@ -14,7 +17,6 @@ import UserRoleIcon from 'src/styling/icons/button/user-role/zodiac.svg?react'
import AppContext from 'src/AppContext'
import { ActionButton, Link } from 'src/components/buttons'
-import { Switch } from 'src/components/inputs'
import { IP_CHECK_REGEX } from 'src/utils/constants'
import styles from './UserManagement.styles'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/ChangeRoleModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/ChangeRoleModal.jsx
index 9254b6a1..eb7b7cbe 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/ChangeRoleModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/ChangeRoleModal.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { useState } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/CreateUserModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/CreateUserModal.jsx
index 729fcb14..b3704f68 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/CreateUserModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/CreateUserModal.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Field, Form, Formik } from 'formik'
import React, { useState } from 'react'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/EnableUserModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/EnableUserModal.jsx
index b5f62c9b..0066e184 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/EnableUserModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/EnableUserModal.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { useState } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/FIDOModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/FIDOModal.jsx
index 1580abb0..8762a783 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/FIDOModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/FIDOModal.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import Modal from 'src/components/Modal'
import { Info2, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/Input2FAModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/Input2FAModal.jsx
index 112356fe..73666fa7 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/Input2FAModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/Input2FAModal.jsx
@@ -1,5 +1,5 @@
import { useLazyQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import { Form, Formik } from 'formik'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/Reset2FAModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/Reset2FAModal.jsx
index 7add5e02..ae1cfc49 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/Reset2FAModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/Reset2FAModal.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { useEffect, useState } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/UserManagement/modals/ResetPasswordModal.jsx b/new-lamassu-admin/src/pages/UserManagement/modals/ResetPasswordModal.jsx
index ae9f209a..ca53e015 100644
--- a/new-lamassu-admin/src/pages/UserManagement/modals/ResetPasswordModal.jsx
+++ b/new-lamassu-admin/src/pages/UserManagement/modals/ResetPasswordModal.jsx
@@ -1,5 +1,5 @@
import { useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core/styles'
+import { makeStyles } from '@mui/styles'
import React, { useEffect, useState } from 'react'
import ErrorMessage from 'src/components/ErrorMessage'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/Wallet/Wallet.jsx b/new-lamassu-admin/src/pages/Wallet/Wallet.jsx
index 6e3986ce..32915acc 100644
--- a/new-lamassu-admin/src/pages/Wallet/Wallet.jsx
+++ b/new-lamassu-admin/src/pages/Wallet/Wallet.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
diff --git a/new-lamassu-admin/src/pages/Wallet/WizardSplash.jsx b/new-lamassu-admin/src/pages/Wallet/WizardSplash.jsx
index cae7a4e2..ed44939b 100644
--- a/new-lamassu-admin/src/pages/Wallet/WizardSplash.jsx
+++ b/new-lamassu-admin/src/pages/Wallet/WizardSplash.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H1, P } from 'src/components/typography'
import BitcoinLogo from 'src/styling/logos/icon-bitcoin-colour.svg?react'
diff --git a/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx b/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx
index 3070b1f4..0443665a 100644
--- a/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx
+++ b/new-lamassu-admin/src/pages/Wallet/WizardStep.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import { Formik, Form, Field } from 'formik'
import * as R from 'ramda'
@@ -165,7 +165,7 @@ const WizardStep = ({
fullWidth
label={`Select ${displayName}`}
className={classes.picker}
- getOptionSelected={R.eqProps('code')}
+ isOptionEqualToValue={R.eqProps('code')}
labelProp={'display'}
options={unfilled}
onChange={(evt, it) => {
@@ -194,7 +194,7 @@ const WizardStep = ({
)}
>
- )
+ );
}
export default WizardStep
diff --git a/new-lamassu-admin/src/pages/Wizard/Wizard.jsx b/new-lamassu-admin/src/pages/Wizard/Wizard.jsx
index 00e2b954..81087696 100644
--- a/new-lamassu-admin/src/pages/Wizard/Wizard.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/Wizard.jsx
@@ -1,5 +1,7 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles, Dialog, DialogContent } from '@material-ui/core'
+import Dialog from '@mui/material/Dialog'
+import DialogContent from '@mui/material/DialogContent'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState, useContext } from 'react'
import { useHistory } from 'react-router-dom'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Commissions.jsx b/new-lamassu-admin/src/pages/Wizard/components/Commissions.jsx
index f61e8a9d..f82c4ed4 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Commissions.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Commissions.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React from 'react'
import Section from 'src/components/layout/Section'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx b/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx
index 41a88813..6a0c005c 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Footer.jsx
@@ -1,4 +1,6 @@
-import { makeStyles, Drawer, Grid } from '@material-ui/core'
+import Drawer from '@mui/material/Drawer'
+import Grid from '@mui/material/Grid'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState } from 'react'
import Modal from 'src/components/Modal'
@@ -52,13 +54,13 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) {
variant={'persistent'}
classes={{ paperAnchorDockedBottom: classes.drawer }}>
-
+
Setup Lamassu Admin
{subtitle}
@@ -69,7 +71,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) {
xs={4}
container
direction="column"
- justify="flex-start"
+ justifyContent="flex-start"
alignItems="flex-end"
spacing={5}>
@@ -83,14 +85,14 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) {
{
@@ -104,7 +106,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) {
xs={4}
container
direction="column"
- justify="flex-start"
+ justifyContent="flex-start"
alignItems="flex-end"
spacing={5}>
@@ -129,7 +131,7 @@ function Footer({ currentStep, steps, subtitle, text, exImage, open, start }) {
- )
+ );
}
export default Footer
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Locales.jsx b/new-lamassu-admin/src/pages/Wizard/components/Locales.jsx
index 37d39166..e35b83f4 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Locales.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Locales.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React from 'react'
import Section from 'src/components/layout/Section'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Mailgun.jsx b/new-lamassu-admin/src/pages/Wizard/components/Mailgun.jsx
index e26a8473..fc07996d 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Mailgun.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Mailgun.jsx
@@ -1,5 +1,5 @@
import { useMutation, useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React, { useState, useEffect } from 'react'
import { H4, Info3 } from 'src/components/typography'
import FormRenderer from 'src/pages/Services/FormRenderer'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Notifications.jsx b/new-lamassu-admin/src/pages/Wizard/components/Notifications.jsx
index 7454fd21..6506312c 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Notifications.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Notifications.jsx
@@ -1,5 +1,5 @@
-import { makeStyles } from '@material-ui/core'
-import Grid from '@material-ui/core/Grid'
+import { makeStyles } from '@mui/styles'
+import Grid from '@mui/material/Grid'
import React, { useState } from 'react'
import Sidebar from 'src/components/layout/Sidebar'
import TitleSection from 'src/components/layout/TitleSection'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/OperatorInfo.jsx b/new-lamassu-admin/src/pages/Wizard/components/OperatorInfo.jsx
index 7948bb98..9b59072b 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/OperatorInfo.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/OperatorInfo.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
// import OperatorInfo from 'src/pages/OperatorInfo'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Twilio.jsx b/new-lamassu-admin/src/pages/Wizard/components/Twilio.jsx
index 972f091f..78bef57b 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Twilio.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Twilio.jsx
@@ -1,5 +1,6 @@
import { useMutation, useQuery, gql } from "@apollo/client";
-import { makeStyles, Box } from '@material-ui/core'
+import Box from '@mui/material/Box'
+import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React, { useState } from 'react'
import InfoMessage from 'src/components/InfoMessage'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/AllSet.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/AllSet.jsx
index 9d66c75a..fd5ca065 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/AllSet.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/AllSet.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { P, H4 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/Blockcypher.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/Blockcypher.jsx
index f3247ba3..a5d2605f 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/Blockcypher.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/Blockcypher.jsx
@@ -1,5 +1,5 @@
import { useMutation, useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React, { useState } from 'react'
import { P, H4 } from 'src/components/typography'
import FormRenderer from 'src/pages/Services/FormRenderer'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseCoin.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseCoin.jsx
index 18bbd6c2..0216bed3 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseCoin.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseCoin.jsx
@@ -1,5 +1,5 @@
import { useQuery, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import { Formik, Form, Field } from 'formik'
import React, { useState } from 'react'
import PromptWhenDirty from 'src/components/PromptWhenDirty'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseExchange.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseExchange.jsx
index 8618cb28..cb117b79 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseExchange.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseExchange.jsx
@@ -1,6 +1,6 @@
import { useQuery, useMutation, gql } from "@apollo/client";
import { getEquivalentCode } from '@lamassu/coins/lightUtils'
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H4, Info3 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseTicker.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseTicker.jsx
index e9c0154a..89e9d646 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseTicker.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseTicker.jsx
@@ -1,6 +1,6 @@
import { useQuery, gql } from "@apollo/client";
import { getEquivalentCode } from '@lamassu/coins/lightUtils'
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H4 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseWallet.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseWallet.jsx
index ac0bb812..64c6d0d7 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseWallet.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/ChooseWallet.jsx
@@ -1,5 +1,5 @@
import { useQuery, useMutation, gql } from "@apollo/client";
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H4, Info3 } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/Wallet.jsx b/new-lamassu-admin/src/pages/Wizard/components/Wallet/Wallet.jsx
index b55ecf15..337bb4e7 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/Wallet.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/Wallet.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useState } from 'react'
import Sidebar, { Stepper } from 'src/components/layout/Sidebar'
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Welcome.jsx b/new-lamassu-admin/src/pages/Wizard/components/Welcome.jsx
index ebe87a41..221fe2a9 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Welcome.jsx
+++ b/new-lamassu-admin/src/pages/Wizard/components/Welcome.jsx
@@ -1,4 +1,4 @@
-import { makeStyles } from '@material-ui/core'
+import { makeStyles } from '@mui/styles'
import React from 'react'
import { H1, P } from 'src/components/typography'
diff --git a/new-lamassu-admin/src/routing/routes.jsx b/new-lamassu-admin/src/routing/routes.jsx
index 26afcbe7..47d623d6 100644
--- a/new-lamassu-admin/src/routing/routes.jsx
+++ b/new-lamassu-admin/src/routing/routes.jsx
@@ -1,6 +1,6 @@
-import Fade from '@material-ui/core/Fade'
-import Slide from '@material-ui/core/Slide'
-import { makeStyles } from '@material-ui/core/styles'
+import Fade from '@mui/material/Fade'
+import Slide from '@mui/material/Slide'
+import { makeStyles } from '@mui/styles'
import * as R from 'ramda'
import React, { useContext } from 'react'
import {
diff --git a/new-lamassu-admin/src/styling/theme.js b/new-lamassu-admin/src/styling/theme.js
index 7567131e..83346419 100644
--- a/new-lamassu-admin/src/styling/theme.js
+++ b/new-lamassu-admin/src/styling/theme.js
@@ -1,4 +1,4 @@
-import { createTheme } from '@material-ui/core/styles'
+import { createTheme } from '@mui/material/styles';
import typographyStyles from 'src/components/typography/styles'
@@ -13,18 +13,14 @@ import {
fontSize5,
zircon,
zircon2,
- primaryColor
+ primaryColor, disabledColor2, disabledColor
} from './variables'
const { p } = typographyStyles
-export default createTheme({
+let theme = createTheme({
typography: {
fontFamily: inputFontFamily,
- body1: { ...p }
- },
- MuiButtonBase: {
- disableRipple: true
},
palette: {
primary: {
@@ -41,105 +37,195 @@ export default createTheme({
default: backgroundColor
}
},
- overrides: {
- MuiRadio: {
- colorSecondary: {
- color: secondaryColor
+})
+
+theme = createTheme(theme, {
+ components: {
+ MuiTypography: {
+ styleOverrides: {
+ root: { ...p },
+ body1: { ...p },
+ }
+ },
+ MuiButtonBase: {
+ defaultProps: {
+ disableRipple: true
+ }
+ },
+ MuiSwitch: {
+ styleOverrides: {
+ root: {
+ width: 32,
+ height: 20,
+ padding: 0,
+ margin: theme.spacing(1)
+ },
+ thumb: {
+ width: 16,
+ height: 16
+ },
+ track: {
+ borderRadius: 17,
+ border: 'none',
+ backgroundColor: offColor,
+ opacity: 1,
+ transition: theme.transitions.create(['background-color', 'border'])
+ },
+ switchBase: {
+ padding: 2,
+ '&.Mui-disabled': {
+ color: disabledColor2,
+ '& + .MuiSwitch-track': {
+ backgroundColor: disabledColor,
+ opacity: 1
+ }
+ },
+ '&.Mui-checked': {
+ transform: 'translateX(58%)',
+ color: theme.palette.common.white,
+ '&.Mui-disabled': {
+ color: disabledColor2
+ },
+ '& + .MuiSwitch-track': {
+ backgroundColor: secondaryColor,
+ opacity: 1,
+ border: 'none'
+ }
+ },
+ '&.Mui-focusVisible .MuiSwitch-thumb': {
+ border: '6px solid #fff',
+ boxShadow: '0 0 4px 0 rgba(0,0,0,0.24)'
+ }
+ }
+ }
+ },
+ MuiMenuItem: {
+ styleOverrides: {
+ root: {
+ '&:hover': {
+ backgroundColor: subheaderColor
+ },
+ '&.Mui-selected': {
+ '&:hover': {
+ backgroundColor: subheaderColor
+ },
+ backgroundColor: subheaderColor
+ }
+ }
}
},
MuiAutocomplete: {
- root: {
- color: fontColor
- },
- noOptions: {
- padding: [[6, 16]]
- },
- option: {
- '&[data-focus="true"]': {
- backgroundColor: subheaderColor
- }
- },
- paper: {
- color: fontColor,
- margin: 0
- },
- listbox: {
- padding: 0
- },
- tag: {
- '&[data-tag-index="0"]': {
- marginLeft: 0
+ styleOverrides: {
+ root: {
+ color: fontColor
},
- margin: 2,
- backgroundColor: subheaderColor,
- borderRadius: 4,
- height: 18
+ noOptions: {
+ padding: `6px 16px`
+ },
+ option: {
+ '&.Mui-focused': {
+ backgroundColor: subheaderColor
+ },
+ '&[aria-selected="true"]': {
+ backgroundColor: `${subheaderColor} !important`
+ },
+ },
+ paper: {
+ color: fontColor,
+ margin: 0
+ },
+ listbox: {
+ padding: 0
+ },
+ tag: {
+ '&[data-tag-index="0"]': {
+ marginLeft: 0
+ },
+ margin: 2,
+ backgroundColor: subheaderColor,
+ borderRadius: 4,
+ height: 18
+ }
}
},
MuiChip: {
- label: {
- paddingLeft: 4,
- paddingRight: 4,
- color: fontColor,
- fontSize: fontSize5
+ styleOverrides: {
+ label: {
+ paddingLeft: 4,
+ paddingRight: 4,
+ color: fontColor,
+ fontSize: fontSize5
+ }
}
},
MuiInput: {
- root: {
- color: fontColor
- },
- underline: {
- '&:before': {
- borderBottom: [[2, 'solid', fontColor]]
+ styleOverrides: {
+ root: {
+ color: fontColor
+ },
+ underline: {
+ '&:before': {
+ borderBottom: `2px solid ${fontColor}`
+ }
}
}
},
MuiInputLabel: {
- root: {
- font: 'inherit',
- fontSize: fontSize3,
- color: offColor
- },
- shrink: {
- color: fontColor,
- transform: 'translate(0, 1.7px) scale(0.83)'
+ styleOverrides: {
+ root: {
+ font: 'inherit',
+ fontSize: fontSize3,
+ color: offColor
+ },
+ shrink: {
+ color: fontColor,
+ transform: 'translate(0, 1.7px) scale(0.83)'
+ }
}
},
MuiFormLabel: {
- root: {
- '&$focused': {
- color: fontColor
+ styleOverrides: {
+ root: {
+ '&.Mui-focused': {
+ color: fontColor
+ }
}
}
},
MuiListItem: {
- root: {
- '&:nth-of-type(odd)': {
- backgroundColor: backgroundColor
+ styleOverrides: {
+ root: {
+ '&:nth-of-type(odd)': {
+ backgroundColor: backgroundColor
+ }
}
}
},
MuiToggleButton: {
- root: {
- '&$selected': {
- backgroundColor: zircon,
- borderColor: primaryColor,
- borderTopColor: [primaryColor, '!important'],
+ styleOverrides: {
+ root: {
+ '&.Mui-selected': {
+ backgroundColor: zircon,
+ borderColor: primaryColor,
+ borderTopColor: `${primaryColor} !important`,
+ '&:hover': {
+ backgroundColor: zircon2
+ }
+ },
'&:hover': {
backgroundColor: zircon2
}
- },
- '&:hover': {
- backgroundColor: zircon2
}
}
},
MuiToggleButtonGroup: {
- groupedVertical: {
- borderRadius: 8,
- border: '1px solid',
- borderColor: zircon,
- '&:not(:first-child)': {
+ styleOverrides: {
+ vertical: {
+ borderRadius: 8,
+ border: 'none',
+ borderColor: zircon,
+ },
+ firstButton: {
borderTop: '1px solid',
borderTopColor: zircon,
borderTopRightRadius: 8,
@@ -147,15 +233,25 @@ export default createTheme({
borderBottomRightRadius: 8,
borderBottomLeftRadius: 8
},
- '&:not(:last-child)': {
+ lastButton: {
borderTop: '1px solid',
borderTopColor: zircon,
borderTopRightRadius: 8,
borderTopLeftRadius: 8,
borderBottomRightRadius: 8,
borderBottomLeftRadius: 8
- }
+ },
+ middleButton: {
+ borderTop: '1px solid',
+ borderTopColor: zircon,
+ borderTopRightRadius: 8,
+ borderTopLeftRadius: 8,
+ borderBottomRightRadius: 8,
+ borderBottomLeftRadius: 8
+ },
}
}
}
})
+
+export default theme
\ No newline at end of file