diff --git a/console/client/package-lock.json b/console/client/package-lock.json index aa6b6cdf1a..002c46a3ad 100644 --- a/console/client/package-lock.json +++ b/console/client/package-lock.json @@ -11,16 +11,9 @@ "@bufbuild/connect": "0.12.0", "@bufbuild/connect-web": "0.12.0", "@bufbuild/protobuf": "1.3.0", - "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.11.1", - "@emotion/styled": "^11.11.0", "@headlessui/react": "1.7.16", "@heroicons/react": "2.0.18", "@monaco-editor/react": "4.5.2", - "@mui/icons-material": "^5.14.8", - "@mui/lab": "^5.0.0-alpha.144", - "@mui/material": "^5.14.9", - "@mui/x-date-pickers": "^6.13.0", "@tailwindcss/forms": "^0.5.6", "@vitejs/plugin-react": "^4.0.4", "highlight.js": "^11.8.0", @@ -693,6 +686,7 @@ "version": "7.22.15", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.15.tgz", "integrity": "sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==", + "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -898,152 +892,6 @@ "node": ">=4.2.0" } }, - "node_modules/@emotion/babel-plugin": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", - "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", - "dependencies": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/runtime": "^7.18.3", - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/serialize": "^1.1.2", - "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/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==" - }, - "node_modules/@emotion/babel-plugin/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==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@emotion/cache": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", - "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", - "dependencies": { - "@emotion/memoize": "^0.8.1", - "@emotion/sheet": "^1.2.2", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "stylis": "4.2.0" - } - }, - "node_modules/@emotion/hash": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", - "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" - }, - "node_modules/@emotion/is-prop-valid": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz", - "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==", - "dependencies": { - "@emotion/memoize": "^0.8.1" - } - }, - "node_modules/@emotion/memoize": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", - "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" - }, - "node_modules/@emotion/react": { - "version": "11.11.1", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.1.tgz", - "integrity": "sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/cache": "^11.11.0", - "@emotion/serialize": "^1.1.2", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "hoist-non-react-statics": "^3.3.1" - }, - "peerDependencies": { - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/serialize": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.2.tgz", - "integrity": "sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA==", - "dependencies": { - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/unitless": "^0.8.1", - "@emotion/utils": "^1.2.1", - "csstype": "^3.0.2" - } - }, - "node_modules/@emotion/sheet": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", - "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" - }, - "node_modules/@emotion/styled": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz", - "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/is-prop-valid": "^1.2.1", - "@emotion/serialize": "^1.1.2", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1" - }, - "peerDependencies": { - "@emotion/react": "^11.0.0-rc.0", - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/unitless": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" - }, - "node_modules/@emotion/use-insertion-effect-with-fallbacks": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", - "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", - "peerDependencies": { - "react": ">=16.8.0" - } - }, - "node_modules/@emotion/utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", - "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", - "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" - }, "node_modules/@esbuild/android-arm": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", @@ -1430,40 +1278,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@floating-ui/core": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.4.2.tgz", - "integrity": "sha512-olUakR5nr9v2ueVr1yomoJnBTkHGqHzL/iK4AhforiJS/wKJgFphAYpZHZzADLv/zNUFuQwqLH3bcoUhFh2E1Q==", - "dependencies": { - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@floating-ui/dom": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.5.3.tgz", - "integrity": "sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==", - "dependencies": { - "@floating-ui/core": "^1.4.2", - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@floating-ui/react-dom": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.2.tgz", - "integrity": "sha512-5qhlDvjaLmAst/rKb3VdlCinwTF4EYMiVxuuc/HVUjs46W0zgtbMmAZ1UTsDrRTxRmUEzl92mOtWbeeXL26lSQ==", - "dependencies": { - "@floating-ui/dom": "^1.5.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@floating-ui/utils": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.3.tgz", - "integrity": "sha512-uvnFKtPgzLnpzzTRfhDlvXX0kLYi9lDRQbcDmT8iXl71Rx+uwSuaUIQl3DNC7w5OweAQ7XQMDObML+KaYDQfng==" - }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -2063,397 +1877,6 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@mui/base": { - "version": "5.0.0-beta.15", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.15.tgz", - "integrity": "sha512-Xtom3YSdi0iwYPtyVRFUEGoRwi6IHWixPwifDKaK+4PkEPtUWMU5YOIJfTsmC59ri+dFvA3oBNSiTPUGGrklZw==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@floating-ui/react-dom": "^2.0.2", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.9", - "@popperjs/core": "^2.11.8", - "clsx": "^2.0.0", - "prop-types": "^15.8.1" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/core-downloads-tracker": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.9.tgz", - "integrity": "sha512-JAU/R5hM3l2zP1Q4KnioDRhq5V3vZ4mmjEZ+TwARDb2xFhg3p59McacQuzkSu0sUHJnH9aJos36+hU5sPQBcFQ==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - } - }, - "node_modules/@mui/icons-material": { - "version": "5.14.8", - "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.14.8.tgz", - "integrity": "sha512-YXcReLydTuNWb1/PxduAH5LgnHNH6spSQBaA0JOz9HD4J+vwst0IanAQgsXy9KKCJSjCsHywE3DB8X+w/b4eeQ==", - "dependencies": { - "@babel/runtime": "^7.22.10" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/lab": { - "version": "5.0.0-alpha.144", - "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.144.tgz", - "integrity": "sha512-CS/mBxfX9eSsrvatYBNphYCSCM4tIAIb4jZ3LiX1vSZ32DjRlNi+2U56+ObnBaVTjMMYdegMsT38uxYHSVXszA==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@mui/base": "5.0.0-beta.15", - "@mui/system": "^5.14.9", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.9", - "@mui/x-tree-view": "6.0.0-alpha.1", - "clsx": "^2.0.0", - "prop-types": "^15.8.1" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.5.0", - "@emotion/styled": "^11.3.0", - "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/material": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.14.9.tgz", - "integrity": "sha512-pbBy5kc5iUGXPxgbb+t+yEPvLK5nE3bPUb8WbAafJ8iZ40ZGui0xC4xiiIyzbVexzsLmyN7MaSo4LkxLmPKqUQ==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@mui/base": "5.0.0-beta.15", - "@mui/core-downloads-tracker": "^5.14.9", - "@mui/system": "^5.14.9", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.9", - "@types/react-transition-group": "^4.4.6", - "clsx": "^2.0.0", - "csstype": "^3.1.2", - "prop-types": "^15.8.1", - "react-is": "^18.2.0", - "react-transition-group": "^4.4.5" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.5.0", - "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/material/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, - "node_modules/@mui/private-theming": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.14.9.tgz", - "integrity": "sha512-0PzoUFqFXTXiNchhR7K4b7kZunasPOjx6Qf7AagCmfZDNASHedA0x6evHVhnST918x/AHY9xykYNKfB0Z4xMBg==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@mui/utils": "^5.14.9", - "prop-types": "^15.8.1" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/styled-engine": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.14.9.tgz", - "integrity": "sha512-LEQxLrW9oWvea33pge08+oyNeTz704jb6Nhe26xEJKojXWd34Rr327Zzx3dmo70AcS4h0b99vQjEpUzm6ASqUw==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@emotion/cache": "^11.11.0", - "csstype": "^3.1.2", - "prop-types": "^15.8.1", - "react": "^18.2.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.4.1", - "@emotion/styled": "^11.3.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - } - } - }, - "node_modules/@mui/system": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.14.9.tgz", - "integrity": "sha512-Z00Wj590QXk5+SIxmxayBo7SWrao+y433LKGChneJxO4QcT/caSCeEWtyeoLs1Q8ys0zOzl2kkKee6n8TaKzhQ==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@mui/private-theming": "^5.14.9", - "@mui/styled-engine": "^5.14.9", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.9", - "clsx": "^2.0.0", - "csstype": "^3.1.2", - "prop-types": "^15.8.1" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.5.0", - "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/types": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.4.tgz", - "integrity": "sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==", - "peerDependencies": { - "@types/react": "*" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/utils": { - "version": "5.14.9", - "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.14.9.tgz", - "integrity": "sha512-9ysB5e+RwS7ofn0n3nwAg1/3c81vBTmSvauD3EuK9LmqMzhmF//BFDaC44U4yITvB/0m1kWyDqg924Ll3VHCcg==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "prop-types": "^15.8.1", - "react-is": "^18.2.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/utils/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, - "node_modules/@mui/x-date-pickers": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-6.14.0.tgz", - "integrity": "sha512-vgVEMGrm6FISD0vVTnrShwWYB6IoaXSRZogwwgF5ruKjtxwKifXNk7d6836uVo/Mv2TSKYBMk1dVwl6gand6DQ==", - "dependencies": { - "@babel/runtime": "^7.22.15", - "@mui/base": "^5.0.0-beta.14", - "@mui/utils": "^5.14.8", - "@types/react-transition-group": "^4.4.6", - "clsx": "^2.0.0", - "prop-types": "^15.8.1", - "react-transition-group": "^4.4.5" - }, - "engines": { - "node": ">=14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.9.0", - "@emotion/styled": "^11.8.1", - "@mui/material": "^5.8.6", - "@mui/system": "^5.8.0", - "date-fns": "^2.25.0", - "date-fns-jalali": "^2.13.0-0", - "dayjs": "^1.10.7", - "luxon": "^3.0.2", - "moment": "^2.29.4", - "moment-hijri": "^2.1.2", - "moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0 || ^0.10.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "date-fns": { - "optional": true - }, - "date-fns-jalali": { - "optional": true - }, - "dayjs": { - "optional": true - }, - "luxon": { - "optional": true - }, - "moment": { - "optional": true - }, - "moment-hijri": { - "optional": true - }, - "moment-jalaali": { - "optional": true - } - } - }, - "node_modules/@mui/x-tree-view": { - "version": "6.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@mui/x-tree-view/-/x-tree-view-6.0.0-alpha.1.tgz", - "integrity": "sha512-JUG3HmBrmGEALbCFg1b+i7h726e1dWYZs4db3syO1j+Q++E3nbvE4Lehp5yGTFm+8esH0Tny50tuJaa4WX6VSA==", - "dependencies": { - "@babel/runtime": "^7.22.6", - "@mui/utils": "^5.14.3", - "@types/react-transition-group": "^4.4.6", - "clsx": "^2.0.0", - "prop-types": "^15.8.1", - "react-transition-group": "^4.4.5" - }, - "engines": { - "node": ">=14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.9.0", - "@emotion/styled": "^11.8.1", - "@mui/base": "^5.0.0-alpha.87", - "@mui/material": "^5.8.6", - "@mui/system": "^5.8.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -2486,15 +1909,6 @@ "node": ">= 8" } }, - "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==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/@reactflow/background": { "version": "11.2.7", "resolved": "https://registry.npmjs.org/@reactflow/background/-/background-11.2.7.tgz", @@ -3212,17 +2626,22 @@ "node_modules/@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true, + "optional": true, + "peer": true }, "node_modules/@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "devOptional": true }, "node_modules/@types/react": { "version": "18.2.20", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz", "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==", + "devOptional": true, "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -3238,18 +2657,11 @@ "@types/react": "*" } }, - "node_modules/@types/react-transition-group": { - "version": "4.4.6", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.6.tgz", - "integrity": "sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew==", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/scheduler": { "version": "0.16.3", "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==" + "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", + "devOptional": true }, "node_modules/@types/semver": { "version": "7.5.0", @@ -4054,6 +3466,9 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "dev": true, + "optional": true, + "peer": true, "dependencies": { "@babel/runtime": "^7.12.5", "cosmiconfig": "^7.0.0", @@ -4068,6 +3483,9 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "dev": true, + "optional": true, + "peer": true, "dependencies": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -4083,6 +3501,9 @@ "version": "1.22.4", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", + "dev": true, + "optional": true, + "peer": true, "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -4099,6 +3520,9 @@ "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">= 6" } @@ -4293,6 +3717,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, "engines": { "node": ">=6" } @@ -4515,14 +3940,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/clsx": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz", - "integrity": "sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==", - "engines": { - "node": ">=6" - } - }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -4785,7 +4202,8 @@ "node_modules/csstype": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", + "devOptional": true }, "node_modules/d3-color": { "version": "3.1.0", @@ -5091,15 +4509,6 @@ "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", "dev": true }, - "node_modules/dom-helpers": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", - "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", - "dependencies": { - "@babel/runtime": "^7.8.7", - "csstype": "^3.0.2" - } - }, "node_modules/domexception": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", @@ -5163,6 +4572,7 @@ "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, "dependencies": { "is-arrayish": "^0.2.1" } @@ -5350,6 +4760,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, "engines": { "node": ">=10" }, @@ -5809,11 +5220,6 @@ "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==" - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -6256,19 +5662,6 @@ "node": ">=12.0.0" } }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "dependencies": { - "react-is": "^16.7.0" - } - }, - "node_modules/hoist-non-react-statics/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", @@ -6392,6 +5785,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -6501,7 +5895,8 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true }, "node_modules/is-async-function": { "version": "2.0.0", @@ -7958,7 +7353,8 @@ "node_modules/json-parse-even-better-errors": { "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==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "node_modules/json-schema": { "version": "0.4.0", @@ -9188,6 +8584,7 @@ "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, "dependencies": { "callsites": "^3.0.0" }, @@ -9199,6 +8596,7 @@ "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, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -9259,6 +8657,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, "engines": { "node": ">=8" } @@ -9976,6 +9375,7 @@ "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -9985,7 +9385,8 @@ "node_modules/prop-types/node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true }, "node_modules/ps-tree": { "version": "1.2.0", @@ -10117,21 +9518,6 @@ "react-dom": ">=16.8" } }, - "node_modules/react-transition-group": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", - "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", - "dependencies": { - "@babel/runtime": "^7.5.5", - "dom-helpers": "^5.0.1", - "loose-envify": "^1.4.0", - "prop-types": "^15.6.2" - }, - "peerDependencies": { - "react": ">=16.6.0", - "react-dom": ">=16.6.0" - } - }, "node_modules/reactflow": { "version": "11.8.2", "resolved": "https://registry.npmjs.org/reactflow/-/reactflow-11.8.2.tgz", @@ -10238,7 +9624,8 @@ "node_modules/regenerator-runtime": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", - "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" + "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==", + "dev": true }, "node_modules/regexp.prototype.flags": { "version": "1.5.0", @@ -10320,6 +9707,7 @@ "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, "engines": { "node": ">=4" } @@ -10963,11 +10351,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" - }, "node_modules/sucrase": { "version": "3.34.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", diff --git a/console/client/package.json b/console/client/package.json index 2f910b14a5..77d6ab4d97 100644 --- a/console/client/package.json +++ b/console/client/package.json @@ -29,16 +29,9 @@ "@bufbuild/connect": "0.12.0", "@bufbuild/connect-web": "0.12.0", "@bufbuild/protobuf": "1.3.0", - "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.11.1", - "@emotion/styled": "^11.11.0", "@headlessui/react": "1.7.16", "@heroicons/react": "2.0.18", "@monaco-editor/react": "4.5.2", - "@mui/icons-material": "^5.14.8", - "@mui/lab": "^5.0.0-alpha.144", - "@mui/material": "^5.14.9", - "@mui/x-date-pickers": "^6.13.0", "@tailwindcss/forms": "^0.5.6", "@vitejs/plugin-react": "^4.0.4", "highlight.js": "^11.8.0", diff --git a/console/client/src/components/PageHeader.tsx b/console/client/src/components/PageHeader.tsx index 62ee3ce6c8..89f7557751 100644 --- a/console/client/src/components/PageHeader.tsx +++ b/console/client/src/components/PageHeader.tsx @@ -12,7 +12,7 @@ export const PageHeader = ({ icon, title, children }: Props) => { className={`sticky top-0 z-10 ${panelColor} shadow dark:shadow-md flex justify-between items-center py-2 px-4 text-gray-70`} >
- {icon} + {icon} {title}
{children} diff --git a/console/client/src/features/graph/GraphPage.tsx b/console/client/src/features/graph/GraphPage.tsx index 563f46c184..1b2af56079 100644 --- a/console/client/src/features/graph/GraphPage.tsx +++ b/console/client/src/features/graph/GraphPage.tsx @@ -1,4 +1,4 @@ -import { Schema } from '@mui/icons-material' +import { CubeTransparentIcon } from '@heroicons/react/24/outline' import { useContext, useEffect } from 'react' import ReactFlow, { Controls, MiniMap, useEdgesState, useNodesState } from 'reactflow' import 'reactflow/dist/style.css' @@ -23,8 +23,8 @@ export const GraphPage = () => { return ( <> - } title='Graph' /> -
+ } title='Graph' /> +
{ return ( <> - - - - - - + } title='Modules' /> +
Modules
) } diff --git a/console/client/src/features/timeline/TimelineIcon.tsx b/console/client/src/features/timeline/TimelineIcon.tsx index ea64a8b174..d610d75ec9 100644 --- a/console/client/src/features/timeline/TimelineIcon.tsx +++ b/console/client/src/features/timeline/TimelineIcon.tsx @@ -1,4 +1,4 @@ -import { Call, ListAlt, ListOutlined, PhoneCallback, RocketLaunch } from '@mui/icons-material' +import { ListBulletIcon, PhoneArrowDownLeftIcon, PhoneIcon, RocketLaunchIcon } from '@heroicons/react/24/outline' import { TimelineEvent } from '../../protos/xyz/block/ftl/v1/console/console_pb' interface Props { @@ -26,20 +26,20 @@ export const TimelineIcon = ({ entry }: Props) => { } const icon = (entry: TimelineEvent) => { - const iconSize = 20 + const style = 'h4 w-4' switch (entry.entry.case) { case 'call': return entry.entry.value.sourceVerbRef ? ( - + ) : ( - + ) case 'deployment': - return + return case 'log': - return + return default: - return + return } } diff --git a/console/client/src/features/timeline/TimelinePage.tsx b/console/client/src/features/timeline/TimelinePage.tsx index 11c01ff140..f8ae7ca1cc 100644 --- a/console/client/src/features/timeline/TimelinePage.tsx +++ b/console/client/src/features/timeline/TimelinePage.tsx @@ -1,4 +1,4 @@ -import { Timeline as TimelineIcon } from '@mui/icons-material' +import { ListBulletIcon } from '@heroicons/react/24/outline' import { PageHeader } from '../../components/PageHeader' import { Timeline } from './Timeline' import { TimelineFilterPanel } from './filters/TimelineFilterPanel' @@ -7,7 +7,7 @@ import { TimelineTimeControls } from './filters/TimelineTimeControls' export const TimelinePage = () => { return ( <> - } title='Events'> + } title='Events'>
diff --git a/console/client/src/features/timeline/filters/TimelineTimeControls.tsx b/console/client/src/features/timeline/filters/TimelineTimeControls.tsx index 858c52818b..169801152e 100644 --- a/console/client/src/features/timeline/filters/TimelineTimeControls.tsx +++ b/console/client/src/features/timeline/filters/TimelineTimeControls.tsx @@ -1,6 +1,5 @@ import { Listbox, Transition } from '@headlessui/react' -import { CheckIcon, ChevronUpDownIcon } from '@heroicons/react/24/outline' -import { NavigateBefore, NavigateNext, PlayArrow } from '@mui/icons-material' +import { BackwardIcon, CheckIcon, ChevronUpDownIcon, ForwardIcon, PlayIcon } from '@heroicons/react/24/outline' import React, { Fragment } from 'react' import { bgColor, borderColor, classNames, panelColor, textColor } from '../../../utils' @@ -22,11 +21,11 @@ export const TimelineTimeControls = () => { return ( <> -
+
{({ open }) => ( <> -
+
@@ -93,19 +92,19 @@ export const TimelineTimeControls = () => { type='button' className={`relative inline-flex items-center rounded-l-md px-3 text-sm font-semibold ring-1 ring-inset ${borderColor} hover:bg-gray-50 dark:hover:bg-gray-700 focus:z-10`} > - +
diff --git a/console/client/src/layout/Navigation.tsx b/console/client/src/layout/Navigation.tsx index e96051a2b0..8559db24a5 100644 --- a/console/client/src/layout/Navigation.tsx +++ b/console/client/src/layout/Navigation.tsx @@ -1,4 +1,4 @@ -import { Schema, Timeline, ViewModuleRounded } from '@mui/icons-material' +import { CubeTransparentIcon, ListBulletIcon, Square3Stack3DIcon } from '@heroicons/react/24/outline' import { useContext } from 'react' import { Link, NavLink } from 'react-router-dom' import { DarkModeSwitch } from '../components/DarkModeSwitch' @@ -6,9 +6,9 @@ import { modulesContext } from '../providers/modules-provider' import { classNames } from '../utils' const navigation = [ - { name: 'Events', href: '/events', icon: Timeline }, - { name: 'Modules', href: '/modules', icon: ViewModuleRounded }, - { name: 'Graph', href: '/graph', icon: Schema }, + { name: 'Events', href: '/events', icon: ListBulletIcon }, + { name: 'Modules', href: '/modules', icon: Square3Stack3DIcon }, + { name: 'Graph', href: '/graph', icon: CubeTransparentIcon }, ] export const Navigation = () => { diff --git a/console/client/src/providers/AppProviders.tsx b/console/client/src/providers/AppProviders.tsx index 87909a6db0..e2ffcbe00c 100644 --- a/console/client/src/providers/AppProviders.tsx +++ b/console/client/src/providers/AppProviders.tsx @@ -1,6 +1,4 @@ -import { ThemeProvider } from '@mui/material' import { App } from '../App' -import { createTheme } from '../theme' import { DarkModeProvider } from './dark-mode-provider' import { ModulesProvider } from './modules-provider' import { NotificationsProvider } from './notifications-provider' @@ -10,24 +8,21 @@ import { SelectedTimelineEntryProvider } from './selected-timeline-entry-provide import { SidePanelProvider } from './side-panel-provider' export const AppProviders = () => { - const theme = createTheme() return ( - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + ) } diff --git a/console/client/src/theme/colors.js b/console/client/src/theme/colors.js deleted file mode 100644 index d3923bbf02..0000000000 --- a/console/client/src/theme/colors.js +++ /dev/null @@ -1,70 +0,0 @@ -import { alpha } from '@mui/material/styles' - -const withAlphas = (color) => { - return { - ...color, - alpha4: alpha(color.main, 0.04), - alpha8: alpha(color.main, 0.08), - alpha12: alpha(color.main, 0.12), - alpha30: alpha(color.main, 0.3), - alpha50: alpha(color.main, 0.5), - } -} - -export const neutral = { - 50: '#F8F9FA', - 100: '#F3F4F6', - 200: '#E5E7EB', - 300: '#D2D6DB', - 400: '#9DA4AE', - 500: '#6C737F', - 600: '#4D5761', - 700: '#2F3746', - 800: '#1C2536', - 900: '#111927', -} - -export const indigo = withAlphas({ - lightest: '#F5F7FF', - light: '#EBEEFE', - main: '#6366F1', - dark: '#4338CA', - darkest: '#312E81', - contrastText: '#FFFFFF', -}) - -export const success = withAlphas({ - lightest: '#F0FDF9', - light: '#3FC79A', - main: '#10B981', - dark: '#0B815A', - darkest: '#134E48', - contrastText: '#FFFFFF', -}) - -export const info = withAlphas({ - lightest: '#ECFDFF', - light: '#CFF9FE', - main: '#06AED4', - dark: '#0E7090', - darkest: '#164C63', - contrastText: '#FFFFFF', -}) - -export const warning = withAlphas({ - lightest: '#FFFAEB', - light: '#FEF0C7', - main: '#F79009', - dark: '#B54708', - darkest: '#7A2E0E', - contrastText: '#FFFFFF', -}) - -export const error = withAlphas({ - lightest: '#FEF3F2', - light: '#FEE4E2', - main: '#F04438', - dark: '#B42318', - darkest: '#7A271A', - contrastText: '#FFFFFF', -}) diff --git a/console/client/src/theme/create-components.js b/console/client/src/theme/create-components.js deleted file mode 100644 index bd0a6def15..0000000000 --- a/console/client/src/theme/create-components.js +++ /dev/null @@ -1,295 +0,0 @@ -import { - createTheme, - filledInputClasses, - inputLabelClasses, - outlinedInputClasses, - paperClasses, - tableCellClasses, -} from '@mui/material' - -// Used only to create transitions -const muiTheme = createTheme() - -export const createComponents = (config) => { - const { palette } = config - - return { - MuiAvatar: { - styleOverrides: { - root: { - fontSize: 14, - fontWeight: 600, - letterSpacing: 0, - }, - }, - }, - MuiButton: { - styleOverrides: { - root: { - borderRadius: '12px', - textTransform: 'none', - }, - sizeSmall: { - padding: '6px 16px', - }, - sizeMedium: { - padding: '8px 20px', - }, - sizeLarge: { - padding: '11px 24px', - }, - textSizeSmall: { - padding: '7px 12px', - }, - textSizeMedium: { - padding: '9px 16px', - }, - textSizeLarge: { - padding: '12px 16px', - }, - }, - }, - MuiCard: { - styleOverrides: { - root: { - borderRadius: 20, - [`&.${paperClasses.elevation1}`]: { - boxShadow: '0px 5px 22px rgba(0, 0, 0, 0.04), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.03)', - }, - }, - }, - }, - MuiCardContent: { - styleOverrides: { - root: { - padding: '32px 24px', - '&:last-child': { - paddingBottom: '32px', - }, - }, - }, - }, - MuiCardHeader: { - defaultProps: { - titleTypographyProps: { - variant: 'h6', - }, - subheaderTypographyProps: { - variant: 'body2', - }, - }, - styleOverrides: { - root: { - padding: '32px 24px 16px', - }, - }, - }, - MuiCssBaseline: { - styleOverrides: { - '*': { - boxSizing: 'border-box', - }, - html: { - MozOsxFontSmoothing: 'grayscale', - WebkitFontSmoothing: 'antialiased', - display: 'flex', - flexDirection: 'column', - minHeight: '100%', - width: '100%', - }, - body: { - display: 'flex', - flex: '1 1 auto', - flexDirection: 'column', - minHeight: '100%', - width: '100%', - }, - '#__next': { - display: 'flex', - flex: '1 1 auto', - flexDirection: 'column', - height: '100%', - width: '100%', - }, - '#nprogress': { - pointerEvents: 'none', - }, - '#nprogress .bar': { - backgroundColor: palette.primary.main, - height: 3, - left: 0, - position: 'fixed', - top: 0, - width: '100%', - zIndex: 2000, - }, - }, - }, - MuiInputBase: { - styleOverrides: { - input: { - '&::placeholder': { - opacity: 1, - }, - }, - }, - }, - MuiInput: { - styleOverrides: { - input: { - fontSize: 14, - fontWeight: 500, - lineHeight: '24px', - '&::placeholder': { - color: palette.text.secondary, - }, - }, - }, - }, - MuiFilledInput: { - styleOverrides: { - root: { - backgroundColor: 'transparent', - borderRadius: 8, - borderStyle: 'solid', - borderWidth: 1, - overflow: 'hidden', - borderColor: palette.neutral[200], - transition: muiTheme.transitions.create(['border-color', 'box-shadow']), - '&:hover': { - backgroundColor: palette.action.hover, - }, - '&:before': { - display: 'none', - }, - '&:after': { - display: 'none', - }, - [`&.${filledInputClasses.disabled}`]: { - backgroundColor: 'transparent', - }, - [`&.${filledInputClasses.focused}`]: { - backgroundColor: 'transparent', - borderColor: palette.primary.main, - boxShadow: `${palette.primary.main} 0 0 0 2px`, - }, - [`&.${filledInputClasses.error}`]: { - borderColor: palette.error.main, - boxShadow: `${palette.error.main} 0 0 0 2px`, - }, - }, - input: { - fontSize: 14, - fontWeight: 500, - lineHeight: '24px', - }, - }, - }, - MuiOutlinedInput: { - styleOverrides: { - root: { - '&:hover': { - backgroundColor: palette.action.hover, - [`& .${outlinedInputClasses.notchedOutline}`]: { - borderColor: palette.neutral[200], - }, - }, - [`&.${outlinedInputClasses.focused}`]: { - backgroundColor: 'transparent', - [`& .${outlinedInputClasses.notchedOutline}`]: { - borderColor: palette.primary.main, - boxShadow: `${palette.primary.main} 0 0 0 2px`, - }, - }, - [`&.${filledInputClasses.error}`]: { - [`& .${outlinedInputClasses.notchedOutline}`]: { - borderColor: palette.error.main, - boxShadow: `${palette.error.main} 0 0 0 2px`, - }, - }, - }, - input: { - fontSize: 14, - fontWeight: 500, - lineHeight: '24px', - }, - notchedOutline: { - borderColor: palette.neutral[200], - transition: muiTheme.transitions.create(['border-color', 'box-shadow']), - }, - }, - }, - MuiFormLabel: { - styleOverrides: { - root: { - fontSize: 14, - fontWeight: 500, - [`&.${inputLabelClasses.filled}`]: { - transform: 'translate(12px, 18px) scale(1)', - }, - [`&.${inputLabelClasses.shrink}`]: { - [`&.${inputLabelClasses.standard}`]: { - transform: 'translate(0, -1.5px) scale(0.85)', - }, - [`&.${inputLabelClasses.filled}`]: { - transform: 'translate(12px, 6px) scale(0.85)', - }, - [`&.${inputLabelClasses.outlined}`]: { - transform: 'translate(14px, -9px) scale(0.85)', - }, - }, - }, - }, - }, - MuiTab: { - styleOverrides: { - root: { - fontSize: 14, - fontWeight: 500, - lineHeight: 1.71, - minWidth: 'auto', - paddingLeft: 0, - paddingRight: 0, - textTransform: 'none', - '& + &': { - marginLeft: 24, - }, - }, - }, - }, - MuiTableCell: { - styleOverrides: { - root: { - borderBottomColor: palette.divider, - padding: '15px 16px', - }, - }, - }, - MuiTableHead: { - styleOverrides: { - root: { - borderBottom: 'none', - [`& .${tableCellClasses.root}`]: { - borderBottom: 'none', - backgroundColor: palette.neutral[50], - color: palette.neutral[700], - fontSize: 12, - fontWeight: 600, - lineHeight: 1, - letterSpacing: 0.5, - textTransform: 'uppercase', - }, - [`& .${tableCellClasses.paddingCheckbox}`]: { - paddingTop: 4, - paddingBottom: 4, - }, - }, - }, - }, - MuiTextField: { - defaultProps: { - variant: 'filled', - }, - }, - } -} diff --git a/console/client/src/theme/create-palette.js b/console/client/src/theme/create-palette.js deleted file mode 100644 index 09ad1f54a8..0000000000 --- a/console/client/src/theme/create-palette.js +++ /dev/null @@ -1,33 +0,0 @@ -import { common } from '@mui/material/colors' -import { alpha } from '@mui/material/styles' -import { error, indigo, info, neutral, success, warning } from './colors' - -export const createPalette = () => { - return { - action: { - active: neutral[500], - disabled: alpha(neutral[900], 0.38), - disabledBackground: alpha(neutral[900], 0.12), - focus: alpha(neutral[900], 0.16), - hover: alpha(neutral[900], 0.04), - selected: alpha(neutral[900], 0.12), - }, - background: { - default: common.white, - paper: common.white, - }, - divider: '#F2F4F7', - error, - info, - mode: 'light', - neutral, - primary: indigo, - success, - text: { - primary: neutral[900], - secondary: neutral[500], - disabled: alpha(neutral[900], 0.38), - }, - warning, - } -} diff --git a/console/client/src/theme/create-shadows.js b/console/client/src/theme/create-shadows.js deleted file mode 100644 index 345f151eb7..0000000000 --- a/console/client/src/theme/create-shadows.js +++ /dev/null @@ -1,29 +0,0 @@ -export const createShadows = () => { - return [ - 'none', - '0px 1px 2px rgba(0, 0, 0, 0.08)', - '0px 1px 5px rgba(0, 0, 0, 0.08)', - '0px 1px 8px rgba(0, 0, 0, 0.08)', - '0px 1px 10px rgba(0, 0, 0, 0.08)', - '0px 1px 14px rgba(0, 0, 0, 0.08)', - '0px 1px 18px rgba(0, 0, 0, 0.08)', - '0px 2px 16px rgba(0, 0, 0, 0.08)', - '0px 3px 14px rgba(0, 0, 0, 0.08)', - '0px 3px 16px rgba(0, 0, 0, 0.08)', - '0px 4px 18px rgba(0, 0, 0, 0.08)', - '0px 4px 20px rgba(0, 0, 0, 0.08)', - '0px 5px 22px rgba(0, 0, 0, 0.08)', - '0px 5px 24px rgba(0, 0, 0, 0.08)', - '0px 5px 26px rgba(0, 0, 0, 0.08)', - '0px 6px 28px rgba(0, 0, 0, 0.08)', - '0px 6px 30px rgba(0, 0, 0, 0.08)', - '0px 6px 32px rgba(0, 0, 0, 0.08)', - '0px 7px 34px rgba(0, 0, 0, 0.08)', - '0px 7px 36px rgba(0, 0, 0, 0.08)', - '0px 8px 38px rgba(0, 0, 0, 0.08)', - '0px 8px 40px rgba(0, 0, 0, 0.08)', - '0px 8px 42px rgba(0, 0, 0, 0.08)', - '0px 9px 44px rgba(0, 0, 0, 0.08)', - '0px 9px 46px rgba(0, 0, 0, 0.08)', - ] -} diff --git a/console/client/src/theme/create-typography.js b/console/client/src/theme/create-typography.js deleted file mode 100644 index c2eaae9147..0000000000 --- a/console/client/src/theme/create-typography.js +++ /dev/null @@ -1,77 +0,0 @@ -export const createTypography = () => { - return { - fontFamily: - '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"', - body1: { - fontSize: '1rem', - fontWeight: 400, - lineHeight: 1.5, - }, - body2: { - fontSize: '0.875rem', - fontWeight: 400, - lineHeight: 1.57, - }, - button: { - fontWeight: 600, - }, - caption: { - fontSize: '0.75rem', - fontWeight: 500, - lineHeight: 1.66, - }, - subtitle1: { - fontSize: '1rem', - fontWeight: 500, - lineHeight: 1.57, - }, - subtitle2: { - fontSize: '0.875rem', - fontWeight: 500, - lineHeight: 1.57, - }, - overline: { - fontSize: '0.75rem', - fontWeight: 600, - letterSpacing: '0.5px', - lineHeight: 2.5, - textTransform: 'uppercase', - }, - h1: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '3.5rem', - lineHeight: 1.2, - }, - h2: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '3rem', - lineHeight: 1.2, - }, - h3: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '2.25rem', - lineHeight: 1.2, - }, - h4: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '2rem', - lineHeight: 1.2, - }, - h5: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '1.5rem', - lineHeight: 1.2, - }, - h6: { - fontFamily: "'Plus Jakarta Sans', sans-serif", - fontWeight: 700, - fontSize: '1.125rem', - lineHeight: 1.2, - }, - } -} diff --git a/console/client/src/theme/index.js b/console/client/src/theme/index.js deleted file mode 100644 index 3856460dc2..0000000000 --- a/console/client/src/theme/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { createTheme as createMuiTheme } from '@mui/material' -import { createComponents } from './create-components' -import { createPalette } from './create-palette' -import { createShadows } from './create-shadows' -import { createTypography } from './create-typography' - -export const createTheme = () => { - const palette = createPalette() - const components = createComponents({ palette }) - const shadows = createShadows() - const typography = createTypography() - - return createMuiTheme({ - breakpoints: { - values: { - xs: 0, - sm: 600, - md: 900, - lg: 1200, - xl: 1440, - }, - }, - components, - palette, - shadows, - shape: { - borderRadius: 8, - }, - typography, - }) -}