diff --git a/package-lock.json b/package-lock.json index 1e36478..f5444d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,21 +12,15 @@ "@material-ui/core": "^4.12.4", "@mdi/js": "^7.0.96", "@mdi/react": "^1.6.1", - "chart.js": "^3.9.1", "explorer": "^0.0.5", "file-loader": "^6.2.0", "firebase": "^9.11.0", "framer-motion": "^7.5.3", - "frappe-charts": "^1.6.2", "react": "^18.2.0", - "react-chartjs-2": "^4.3.1", "react-collapse": "^5.1.1", "react-dom": "^18.2.0", - "react-frappe-charts": "^4.1.0", "react-scripts": "5.0.1", - "source-map": "^0.7.4", - "uplot": "^1.6.22", - "uplot-react": "^1.1.1" + "source-map": "^0.7.4" }, "devDependencies": { "@babel/types": "^7.19.3", @@ -3798,7 +3792,8 @@ }, "node_modules/@mdi/react": { "version": "1.6.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@mdi/react/-/react-1.6.1.tgz", + "integrity": "sha512-4qZeDcluDFGFTWkHs86VOlHkm6gnKaMql13/gpIcUQ8kzxHgpj31NuCkD8abECVfbULJ3shc7Yt4HJ6Wu6SN4w==", "dependencies": { "prop-types": "^15.7.2" } @@ -6451,10 +6446,6 @@ "node": ">=10" } }, - "node_modules/chart.js": { - "version": "3.9.1", - "license": "MIT" - }, "node_modules/check-types": { "version": "11.1.2", "license": "MIT" @@ -9371,11 +9362,6 @@ "tslib": "2.4.0" } }, - "node_modules/frappe-charts": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/frappe-charts/-/frappe-charts-1.6.2.tgz", - "integrity": "sha512-9TC3/+YVUi84yYoEbxFiSqu+1FQ5If/ydUNj6i8FRpwynd08t6a7RkS+IRJozAk6NfdL8/LVTTE1DUOjjKZZxg==" - }, "node_modules/fresh": { "version": "0.5.2", "license": "MIT", @@ -15329,14 +15315,6 @@ "node": ">=14" } }, - "node_modules/react-chartjs-2": { - "version": "4.3.1", - "license": "MIT", - "peerDependencies": { - "chart.js": "^3.5.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-collapse": { "version": "5.1.1", "license": "MIT", @@ -15491,16 +15469,6 @@ "version": "6.0.11", "license": "MIT" }, - "node_modules/react-frappe-charts": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/react-frappe-charts/-/react-frappe-charts-4.1.0.tgz", - "integrity": "sha512-DeQrzy2nGawbQsMQHpNeXAXuhkK0myWzr/d75k/UCcff57JsPxsyQz15jRNtlWN9j6JcdN9Y7awyGIgXxjZq7w==", - "peerDependencies": { - "frappe-charts": ">= 1.5.2", - "react": ">= 16.8.0", - "react-dom": ">= 16.8.0" - } - }, "node_modules/react-is": { "version": "17.0.2", "license": "MIT" @@ -18000,23 +17968,6 @@ "registry-url": "3.1.0" } }, - "node_modules/uplot": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/uplot/-/uplot-1.6.22.tgz", - "integrity": "sha512-2jtSb/YHUgtmIUn0+QJjf7ggcJicb5PKe7ijBiRDTPsG/f8F/MFayZ+g6/0kATNkDyF/qQsHJDmCp6cxncg1EQ==" - }, - "node_modules/uplot-react": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/uplot-react/-/uplot-react-1.1.1.tgz", - "integrity": "sha512-zCvwyZVm4nfYDi+KjaK0FppqftGzga/x+u0h2baRWj1vXMB9/hfJ1qb9gXAdXMfp17C9Rk57HoZDE9MewNWLfg==", - "engines": { - "node": ">=8.10" - }, - "peerDependencies": { - "react": ">=16.8.6", - "uplot": "^1.6.7" - } - }, "node_modules/uri-js": { "version": "4.4.1", "license": "BSD-2-Clause", @@ -21253,6 +21204,8 @@ }, "@mdi/react": { "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@mdi/react/-/react-1.6.1.tgz", + "integrity": "sha512-4qZeDcluDFGFTWkHs86VOlHkm6gnKaMql13/gpIcUQ8kzxHgpj31NuCkD8abECVfbULJ3shc7Yt4HJ6Wu6SN4w==", "requires": { "prop-types": "^15.7.2" } @@ -22908,9 +22861,6 @@ "char-regex": { "version": "1.0.2" }, - "chart.js": { - "version": "3.9.1" - }, "check-types": { "version": "11.1.2" }, @@ -24700,11 +24650,6 @@ "tslib": "2.4.0" } }, - "frappe-charts": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/frappe-charts/-/frappe-charts-1.6.2.tgz", - "integrity": "sha512-9TC3/+YVUi84yYoEbxFiSqu+1FQ5If/ydUNj6i8FRpwynd08t6a7RkS+IRJozAk6NfdL8/LVTTE1DUOjjKZZxg==" - }, "fresh": { "version": "0.5.2" }, @@ -28277,9 +28222,6 @@ "whatwg-fetch": "^3.6.2" } }, - "react-chartjs-2": { - "version": "4.3.1" - }, "react-collapse": { "version": "5.1.1" }, @@ -28370,11 +28312,6 @@ "react-error-overlay": { "version": "6.0.11" }, - "react-frappe-charts": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/react-frappe-charts/-/react-frappe-charts-4.1.0.tgz", - "integrity": "sha512-DeQrzy2nGawbQsMQHpNeXAXuhkK0myWzr/d75k/UCcff57JsPxsyQz15jRNtlWN9j6JcdN9Y7awyGIgXxjZq7w==" - }, "react-is": { "version": "17.0.2" }, @@ -29966,16 +29903,6 @@ "registry-url": "3.1.0" } }, - "uplot": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/uplot/-/uplot-1.6.22.tgz", - "integrity": "sha512-2jtSb/YHUgtmIUn0+QJjf7ggcJicb5PKe7ijBiRDTPsG/f8F/MFayZ+g6/0kATNkDyF/qQsHJDmCp6cxncg1EQ==" - }, - "uplot-react": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/uplot-react/-/uplot-react-1.1.1.tgz", - "integrity": "sha512-zCvwyZVm4nfYDi+KjaK0FppqftGzga/x+u0h2baRWj1vXMB9/hfJ1qb9gXAdXMfp17C9Rk57HoZDE9MewNWLfg==" - }, "uri-js": { "version": "4.4.1", "requires": { diff --git a/package.json b/package.json index 91205f6..e513384 100644 --- a/package.json +++ b/package.json @@ -7,21 +7,15 @@ "@material-ui/core": "^4.12.4", "@mdi/js": "^7.0.96", "@mdi/react": "^1.6.1", - "chart.js": "^3.9.1", "explorer": "^0.0.5", "file-loader": "^6.2.0", "firebase": "^9.11.0", "framer-motion": "^7.5.3", - "frappe-charts": "^1.6.2", "react": "^18.2.0", - "react-chartjs-2": "^4.3.1", "react-collapse": "^5.1.1", "react-dom": "^18.2.0", - "react-frappe-charts": "^4.1.0", "react-scripts": "5.0.1", - "source-map": "^0.7.4", - "uplot": "^1.6.22", - "uplot-react": "^1.1.1" + "source-map": "^0.7.4" }, "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", @@ -38,10 +32,14 @@ }, "browserslist": { "production": [ - "defaults and supports es6-module" - ], + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ], "development": [ - "defaults and supports es6-module" + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" ] }, "devDependencies": { diff --git a/src/css/RealTimeData.css b/src/css/RealTimeData.css index 41184d5..e5d9d4c 100644 --- a/src/css/RealTimeData.css +++ b/src/css/RealTimeData.css @@ -20,7 +20,7 @@ display: flex; align-items: center; gap: 0.3rem; - font-size: 0.7rem; + font-size: 0.8rem; } .accumulatedRain > .RainSvg { width: 0.7rem;