Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref(dep) Upgrade MUI (#12089)
Robert Pintilii139884fbe7af
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 05ab88992b..91722cce0d 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -21,5 +21,5 @@ jobs:- run: npm run lint- run: for file in lang/*.json; do npx --yes jsonlint -q $file || exit 1; done- env:- NODE_OPTIONS: '--max-old-space-size=4096'+ NODE_OPTIONS: '--max-old-space-size=8192'run: makediff --git a/package-lock.json b/package-lock.jsonindex 58844b711d..8ceb8ac694 100644--- a/package-lock.json+++ b/package-lock.json@@ -23,6 +23,8 @@"@atlaskit/tabs": "12.1.2","@atlaskit/theme": "11.0.2","@atlaskit/tooltip": "17.1.2",+ "@emotion/react": "11.10.0",+ "@emotion/styled": "11.10.0","@giphy/js-fetch-api": "4.1.2","@giphy/react-components": "5.6.0","@giphy/react-native-sdk": "1.7.0",@@ -31,9 +33,10 @@"@jitsi/logger": "2.0.0","@jitsi/rnnoise-wasm": "0.1.0","@jitsi/rtcstats": "9.3.0",- "@material-ui/core": "4.11.3","@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz","@microsoft/microsoft-graph-client": "3.0.1",+ "@mui/material": "5.10.2",+ "@mui/styles": "5.10.2","@react-native-async-storage/async-storage": "1.15.14","@react-native-community/clipboard": "1.5.1","@react-native-community/netinfo": "7.1.7",@@ -122,6 +125,7 @@"resemblejs": "4.0.0","seamless-scroll-polyfill": "2.1.8","styled-components": "3.4.9",+ "tss-react": "4.0.0","util": "0.12.1","uuid": "8.3.2","wasm-check": "2.0.1",@@ -696,6 +700,19 @@"react": "^16.8.0"}},+ "node_modules/@atlaskit/modal-dialog/node_modules/@emotion/styled": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz",+ "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==",+ "dependencies": {+ "@emotion/styled-base": "^10.3.0",+ "babel-plugin-emotion": "^10.0.27"+ },+ "peerDependencies": {+ "@emotion/core": "^10.0.27",+ "react": ">=16.3.0"+ }+ },"node_modules/@atlaskit/modal-dialog/node_modules/dom-helpers": {"version": "5.2.1","resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",@@ -1248,9 +1265,9 @@}},"node_modules/@babel/helper-plugin-utils": {- "version": "7.16.7",- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz",- "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==",+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz",+ "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==","engines": {"node": ">=6.9.0"}@@ -1759,11 +1776,11 @@}},"node_modules/@babel/plugin-syntax-jsx": {- "version": "7.16.7",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz",- "integrity": "sha512-Esxmk7YjA8QysKeT3VhTXvF6y77f/a91SIs4pWb4H2eWGQkCKFgQaG6hdoEVZtGsrAcb2K5BW66XsOErD4WU3Q==",+ "version": "7.18.6",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",+ "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==","dependencies": {- "@babel/helper-plugin-utils": "^7.16.7"+ "@babel/helper-plugin-utils": "^7.18.6"},"engines": {"node": ">=6.9.0"@@ -2966,6 +2983,132 @@"node": ">=0.8.0"}},+ "node_modules/@emotion/babel-plugin": {+ "version": "11.10.2",+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz",+ "integrity": "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==",+ "dependencies": {+ "@babel/helper-module-imports": "^7.16.7",+ "@babel/plugin-syntax-jsx": "^7.17.12",+ "@babel/runtime": "^7.18.3",+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/serialize": "^1.1.0",+ "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.0.13"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "dependencies": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "node_modules/@emotion/babel-plugin/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==",+ "dependencies": {+ "@babel/runtime": "^7.12.5",+ "cosmiconfig": "^7.0.0",+ "resolve": "^1.19.0"+ },+ "engines": {+ "node": ">=10",+ "npm": ">=6"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/cosmiconfig": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",+ "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",+ "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/@emotion/babel-plugin/node_modules/import-fresh": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",+ "dependencies": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "dependencies": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@emotion/babel-plugin/node_modules/stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="+ },"node_modules/@emotion/cache": {"version": "10.0.29","resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz",@@ -3008,6 +3151,110 @@"resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz","integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="},+ "node_modules/@emotion/is-prop-valid": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz",+ "integrity": "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==",+ "dependencies": {+ "@emotion/memoize": "^0.8.0"+ }+ },+ "node_modules/@emotion/memoize": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz",+ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA=="+ },+ "node_modules/@emotion/react": {+ "version": "11.10.0",+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz",+ "integrity": "sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ==",+ "dependencies": {+ "@babel/runtime": "^7.18.3",+ "@emotion/babel-plugin": "^11.10.0",+ "@emotion/cache": "^11.10.0",+ "@emotion/serialize": "^1.1.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "hoist-non-react-statics": "^3.3.1"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0",+ "react": ">=16.8.0"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ },+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@emotion/react/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@emotion/react/node_modules/@emotion/cache": {+ "version": "11.10.3",+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",+ "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",+ "dependencies": {+ "@emotion/memoize": "^0.8.0",+ "@emotion/sheet": "^1.2.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "stylis": "4.0.13"+ }+ },+ "node_modules/@emotion/react/node_modules/@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "node_modules/@emotion/react/node_modules/@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "dependencies": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/@emotion/react/node_modules/@emotion/sheet": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="+ },+ "node_modules/@emotion/react/node_modules/@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "node_modules/@emotion/react/node_modules/@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "node_modules/@emotion/react/node_modules/@emotion/weak-memoize": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="+ },+ "node_modules/@emotion/react/node_modules/stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="+ },"node_modules/@emotion/serialize": {"version": "0.11.16","resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-0.11.16.tgz",@@ -3036,16 +3283,28 @@"integrity": "sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA=="},"node_modules/@emotion/styled": {- "version": "10.3.0",- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz",- "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==",+ "version": "11.10.0",+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.0.tgz",+ "integrity": "sha512-V9oaEH6V4KePeQpgUE83i8ht+4Ri3E8Djp/ZPJ4DQlqWhSKITvgzlR3/YQE2hdfP4Jw3qVRkANJz01LLqK9/TA==","dependencies": {- "@emotion/styled-base": "^10.3.0",- "babel-plugin-emotion": "^10.0.27"+ "@babel/runtime": "^7.18.3",+ "@emotion/babel-plugin": "^11.10.0",+ "@emotion/is-prop-valid": "^1.2.0",+ "@emotion/serialize": "^1.1.0",+ "@emotion/utils": "^1.2.0"},"peerDependencies": {- "@emotion/core": "^10.0.27",- "react": ">=16.3.0"+ "@babel/core": "^7.0.0",+ "@emotion/react": "^11.0.0-rc.0",+ "react": ">=16.8.0"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ },+ "@types/react": {+ "optional": true+ }}},"node_modules/@emotion/styled-base": {@@ -3076,6 +3335,44 @@"resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz","integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw=="},+ "node_modules/@emotion/styled/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@emotion/styled/node_modules/@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "node_modules/@emotion/styled/node_modules/@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "dependencies": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/@emotion/styled/node_modules/@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "node_modules/@emotion/styled/node_modules/@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },"node_modules/@emotion/stylis": {"version": "0.8.5","resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz",@@ -3609,182 +3906,6 @@"node": ">=10"}},- "node_modules/@material-ui/core": {- "version": "4.11.3",- "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.11.3.tgz",- "integrity": "sha512-Adt40rGW6Uds+cAyk3pVgcErpzU/qxc7KBR94jFHBYretU4AtWZltYcNsbeMn9tXL86jjVL1kuGcIHsgLgFGRw==",- "deprecated": "You can now upgrade to @mui/material. See the guide: https://mui.com/guides/migration-v4/",- "dependencies": {- "@babel/runtime": "^7.4.4",- "@material-ui/styles": "^4.11.3",- "@material-ui/system": "^4.11.3",- "@material-ui/types": "^5.1.0",- "@material-ui/utils": "^4.11.2",- "@types/react-transition-group": "^4.2.0",- "clsx": "^1.0.4",- "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"- },- "engines": {- "node": ">=8.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/material-ui"- },- "peerDependencies": {- "@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/@material-ui/core/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/@material-ui/core/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=="- },- "node_modules/@material-ui/core/node_modules/react-transition-group": {- "version": "4.4.2",- "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.2.tgz",- "integrity": "sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==",- "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/@material-ui/styles": {- "version": "4.11.4",- "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.4.tgz",- "integrity": "sha512-KNTIZcnj/zprG5LW0Sao7zw+yG3O35pviHzejMdcSGCdWbiO8qzRgOYL8JAxAsWBKOKYwVZxXtHWaB5T2Kvxew==",- "deprecated": "You can now upgrade to @mui/styles. See the guide: https://mui.com/guides/migration-v4/",- "dependencies": {- "@babel/runtime": "^7.4.4",- "@emotion/hash": "^0.8.0",- "@material-ui/types": "5.1.0",- "@material-ui/utils": "^4.11.2",- "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"- },- "engines": {- "node": ">=8.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/material-ui"- },- "peerDependencies": {- "@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/@material-ui/styles/node_modules/csstype": {- "version": "2.6.19",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",- "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="- },- "node_modules/@material-ui/system": {- "version": "4.12.1",- "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.12.1.tgz",- "integrity": "sha512-lUdzs4q9kEXZGhbN7BptyiS1rLNHe6kG9o8Y307HCvF4sQxbCgpL2qi+gUk+yI8a2DNk48gISEQxoxpgph0xIw==",- "deprecated": "You can now upgrade to @mui/system. See the guide: https://mui.com/guides/migration-v4/",- "dependencies": {- "@babel/runtime": "^7.4.4",- "@material-ui/utils": "^4.11.2",- "csstype": "^2.5.2",- "prop-types": "^15.7.2"- },- "engines": {- "node": ">=8.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/material-ui"- },- "peerDependencies": {- "@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/@material-ui/system/node_modules/csstype": {- "version": "2.6.19",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",- "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="- },- "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==",- "peerDependencies": {- "@types/react": "*"- },- "peerDependenciesMeta": {- "@types/react": {- "optional": true- }- }- },- "node_modules/@material-ui/utils": {- "version": "4.11.2",- "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.11.2.tgz",- "integrity": "sha512-Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==",- "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_modules/@matrix-org/olm": {"version": "3.2.3","resolved": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz",@@ -3817,6 +3938,447 @@}}},+ "node_modules/@mui/base": {+ "version": "5.0.0-alpha.94",+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.94.tgz",+ "integrity": "sha512-IJXmgTF07H1Iv5zjDV7zJZGUmb9cN8ERzd2dgA1akh6NWZgwyIGyQx+Au9+QSDoM5vN3FqZvU/0YCU6inUwgeQ==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@emotion/is-prop-valid": "^1.2.0",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "@popperjs/core": "^2.11.6",+ "clsx": "^1.2.1",+ "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/base/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/base/node_modules/clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@mui/base/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/core-downloads-tracker": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.2.tgz",+ "integrity": "sha512-1guoGvL3QZ7VjA3y9zye9Rpm+jz18rVZIo3AauTGyW5ntDMxr/cR0M18nuc/NH2KqpMt+coh4NwPEO1uPuKM5w==",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mui"+ }+ },+ "node_modules/@mui/material": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.2.tgz",+ "integrity": "sha512-ay43fuQLXROXkxFd6tqbj394Hu8BlbmpCdEDFtAisijulla2ZLfQa24pjhdX+56HrHReB3cZsf/sRq+DSfIgiA==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@mui/base": "5.0.0-alpha.94",+ "@mui/core-downloads-tracker": "^5.10.2",+ "@mui/system": "^5.10.2",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "@types/react-transition-group": "^4.4.5",+ "clsx": "^1.2.1",+ "csstype": "^3.1.0",+ "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/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/material/node_modules/clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@mui/material/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/@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/material/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/@mui/private-theming": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.9.3.tgz",+ "integrity": "sha512-Ys3WO39WqoGciGX9k5AIi/k2zJhlydv4FzlEEwtw9OqdMaV0ydK/TdZekKzjP9sTI/JcdAP3H5DWtUaPLQJjWg==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@mui/utils": "^5.9.3",+ "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/private-theming/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/styled-engine": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.10.2.tgz",+ "integrity": "sha512-YqnptNQ2E0cWwOTmLCEvrddiiR/neUfn2AD/4TDUXZu8B2n7NfDb9d3bAUfWZV+KmulQdAedoaZDqyXBFGLdbQ==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@emotion/cache": "^11.10.1",+ "csstype": "^3.1.0",+ "prop-types": "^15.8.1"+ },+ "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/styled-engine/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/styled-engine/node_modules/@emotion/cache": {+ "version": "11.10.3",+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",+ "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",+ "dependencies": {+ "@emotion/memoize": "^0.8.0",+ "@emotion/sheet": "^1.2.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "stylis": "4.0.13"+ }+ },+ "node_modules/@mui/styled-engine/node_modules/@emotion/sheet": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="+ },+ "node_modules/@mui/styled-engine/node_modules/@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "node_modules/@mui/styled-engine/node_modules/@emotion/weak-memoize": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="+ },+ "node_modules/@mui/styled-engine/node_modules/stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="+ },+ "node_modules/@mui/styles": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.2.tgz",+ "integrity": "sha512-cXV2Z+n5Dx1AH16/MG/WAoe1Pq3KfwLN/8ACgl+vDsKW+pg0mGEvFjStGnd2igIPncMWPvrA3sv1aNTgqHdKUw==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@emotion/hash": "^0.9.0",+ "@mui/private-theming": "^5.9.3",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "clsx": "^1.2.1",+ "csstype": "^3.1.0",+ "hoist-non-react-statics": "^3.3.2",+ "jss": "^10.9.2",+ "jss-plugin-camel-case": "^10.9.2",+ "jss-plugin-default-unit": "^10.9.2",+ "jss-plugin-global": "^10.9.2",+ "jss-plugin-nested": "^10.9.2",+ "jss-plugin-props-sort": "^10.9.2",+ "jss-plugin-rule-value-function": "^10.9.2",+ "jss-plugin-vendor-prefixer": "^10.9.2",+ "prop-types": "^15.8.1"+ },+ "engines": {+ "node": ">=12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mui"+ },+ "peerDependencies": {+ "@types/react": "^17.0.0",+ "react": "^17.0.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@mui/styles/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/styles/node_modules/@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "node_modules/@mui/styles/node_modules/clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@mui/system": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.10.2.tgz",+ "integrity": "sha512-YudwJhLcEoQiwCAmzeMr9P3ISiVGNsxBIIPzFxaGwJ8+mMrx3qoPVOV2sfm0ZuNiQuABshEw4KqHa5ftNC+pOQ==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@mui/private-theming": "^5.9.3",+ "@mui/styled-engine": "^5.10.2",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "clsx": "^1.2.1",+ "csstype": "^3.1.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",+ "@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/system/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@mui/system/node_modules/clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@mui/types": {+ "version": "7.1.5",+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.1.5.tgz",+ "integrity": "sha512-HnRXrxgHJYJcT8ZDdDCQIlqk0s0skOKD7eWs9mJgBUu70hyW4iA6Kiv3yspJR474RFH8hysKR65VVSzUSzkuwA==",+ "peerDependencies": {+ "@types/react": "*"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@mui/utils": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.9.3.tgz",+ "integrity": "sha512-l0N5bcrenE9hnwZ/jPecpIRqsDFHkPXoFUcmkgysaJwVZzJ3yQkGXB47eqmXX5yyGrSc6HksbbqXEaUya+siew==",+ "dependencies": {+ "@babel/runtime": "^7.17.2",+ "@types/prop-types": "^15.7.5",+ "@types/react-is": "^16.7.1 || ^17.0.0",+ "prop-types": "^15.8.1",+ "react-is": "^18.2.0"+ },+ "engines": {+ "node": ">=12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mui"+ },+ "peerDependencies": {+ "react": "^17.0.0 || ^18.0.0"+ }+ },+ "node_modules/@mui/utils/node_modules/@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "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/@nodelib/fs.scandir": {"version": "2.1.5","resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",@@ -3859,9 +4421,9 @@"dev": true},"node_modules/@popperjs/core": {- "version": "2.6.0",- "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.6.0.tgz",- "integrity": "sha512-cPqjjzuFWNK3BSKLm0abspP0sp/IGOli4p5I5fKFAzdS8fvjdOwDCfZqAaIiXd9lPkOWi3SUUfZof3hEb7J/uw==",+ "version": "2.11.6",+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz",+ "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==","funding": {"type": "opencollective","url": "https://opencollective.com/popperjs"@@ -5474,9 +6036,9 @@"integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="},"node_modules/@types/prop-types": {- "version": "15.7.4",- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",- "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="+ "version": "15.7.5",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz",+ "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w=="},"node_modules/@types/q": {"version": "1.5.5",@@ -5505,6 +6067,14 @@"csstype": "^3.0.2"}},+ "node_modules/@types/react-is": {+ "version": "17.0.3",+ "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.3.tgz",+ "integrity": "sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==",+ "dependencies": {+ "@types/react": "*"+ }+ },"node_modules/@types/react-native": {"version": "0.68.1","resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.68.1.tgz",@@ -5527,9 +6097,9 @@}},"node_modules/@types/react-transition-group": {- "version": "4.4.4",- "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.4.tgz",- "integrity": "sha512-7gAPz7anVK5xzbeQW9wFBDg7G++aPLAFY0QaSMOou9rJZpbuI58WAuJrgu+qR92l61grlnCUe7AFX8KGahAgug==",+ "version": "4.4.5",+ "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz",+ "integrity": "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==","dependencies": {"@types/react": "*"}@@ -8272,9 +8842,9 @@}},"node_modules/csstype": {- "version": "3.0.10",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz",- "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA=="+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz",+ "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA=="},"node_modules/current-executing-script": {"version": "0.1.3",@@ -12306,9 +12876,9 @@}},"node_modules/jss": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.0.tgz",- "integrity": "sha512-YpzpreB6kUunQBbrlArlsMpXYyndt9JATbt95tajx0t4MTJJcCJdd4hdNpHmOIDiUJrF/oX5wtVFrS3uofWfGw==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.2.tgz",+ "integrity": "sha512-b8G6rWpYLR4teTUbGd4I4EsnWjg7MN0Q5bSsjKhVkJVjhQDy2KzkbD2AW3TuT0RYZVmZZHKIrXDn6kjU14qkUg==","dependencies": {"@babel/runtime": "^7.3.1","csstype": "^3.0.2",@@ -12321,70 +12891,70 @@}},"node_modules/jss-plugin-camel-case": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.0.tgz",- "integrity": "sha512-UH6uPpnDk413/r/2Olmw4+y54yEF2lRIV8XIZyuYpgPYTITLlPOsq6XB9qeqv+75SQSg3KLocq5jUBXW8qWWww==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.2.tgz",+ "integrity": "sha512-wgBPlL3WS0WDJ1lPJcgjux/SHnDuu7opmgQKSraKs4z8dCCyYMx9IDPFKBXQ8Q5dVYij1FFV0WdxyhuOOAXuTg==","dependencies": {"@babel/runtime": "^7.3.1","hyphenate-style-name": "^1.0.3",- "jss": "10.9.0"+ "jss": "10.9.2"}},"node_modules/jss-plugin-default-unit": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.0.tgz",- "integrity": "sha512-7Ju4Q9wJ/MZPsxfu4T84mzdn7pLHWeqoGd/D8O3eDNNJ93Xc8PxnLmV8s8ZPNRYkLdxZqKtm1nPQ0BM4JRlq2w==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.2.tgz",+ "integrity": "sha512-pYg0QX3bBEFtTnmeSI3l7ad1vtHU42YEEpgW7pmIh+9pkWNWb5dwS/4onSfAaI0kq+dOZHzz4dWe+8vWnanoSg==","dependencies": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"node_modules/jss-plugin-global": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.0.tgz",- "integrity": "sha512-4G8PHNJ0x6nwAFsEzcuVDiBlyMsj2y3VjmFAx/uHk/R/gzJV+yRHICjT4MKGGu1cJq2hfowFWCyrr/Gg37FbgQ==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.2.tgz",+ "integrity": "sha512-GcX0aE8Ef6AtlasVrafg1DItlL/tWHoC4cGir4r3gegbWwF5ZOBYhx04gurPvWHC8F873aEGqge7C17xpwmp2g==","dependencies": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"node_modules/jss-plugin-nested": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.0.tgz",- "integrity": "sha512-2UJnDrfCZpMYcpPYR16oZB7VAC6b/1QLsRiAutOt7wJaaqwCBvNsosLEu/fUyKNQNGdvg2PPJFDO5AX7dwxtoA==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.2.tgz",+ "integrity": "sha512-VgiOWIC6bvgDaAL97XCxGD0BxOKM0K0zeB/ECyNaVF6FqvdGB9KBBWRdy2STYAss4VVA7i5TbxFZN+WSX1kfQA==","dependencies": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0",+ "jss": "10.9.2","tiny-warning": "^1.0.2"}},"node_modules/jss-plugin-props-sort": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.9.0.tgz",- "integrity": "sha512-7A76HI8bzwqrsMOJTWKx/uD5v+U8piLnp5bvru7g/3ZEQOu1+PjHvv7bFdNO3DwNPC9oM0a//KwIJsIcDCjDzw==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.9.2.tgz",+ "integrity": "sha512-AP1AyUTbi2szylgr+O0OB7gkIxEGzySLITZ2GpsaoX72YMCGI2jYAc+WUhPfvUnZYiauF4zTnN4V4TGuvFjJlw==","dependencies": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"node_modules/jss-plugin-rule-value-function": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.9.0.tgz",- "integrity": "sha512-IHJv6YrEf8pRzkY207cPmdbBstBaE+z8pazhPShfz0tZSDtRdQua5jjg6NMz3IbTasVx9FdnmptxPqSWL5tyJg==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.9.2.tgz",+ "integrity": "sha512-vf5ms8zvLFMub6swbNxvzsurHfUZ5Shy5aJB2gIpY6WNA3uLinEcxYyraQXItRHi5ivXGqYciFDRM2ZoVoRZ4Q==","dependencies": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0",+ "jss": "10.9.2","tiny-warning": "^1.0.2"}},"node_modules/jss-plugin-vendor-prefixer": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.9.0.tgz",- "integrity": "sha512-MbvsaXP7iiVdYVSEoi+blrW+AYnTDvHTW6I6zqi7JcwXdc6I9Kbm234nEblayhF38EftoenbM+5218pidmC5gA==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.9.2.tgz",+ "integrity": "sha512-SxcEoH+Rttf9fEv6KkiPzLdXRmI6waOTcMkbbEFgdZLDYNIP9UKNHFy6thhbRKqv0XMQZdrEsbDyV464zE/dUA==","dependencies": {"@babel/runtime": "^7.3.1","css-vendor": "^2.0.8",- "jss": "10.9.0"+ "jss": "10.9.2"}},"node_modules/jssha": {@@ -18474,6 +19044,26 @@"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz","integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="},+ "node_modules/tss-react": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/tss-react/-/tss-react-4.0.0.tgz",+ "integrity": "sha512-pPkOKWiWWPbKdQFnGGeHEgRceUwkjrv0eldVCAdBll3j6Y3Ys/xwqsnlWYwWOU3SMJygVRE/S4CsIYx6KPpOkA==",+ "dependencies": {+ "@emotion/cache": "*",+ "@emotion/serialize": "*",+ "@emotion/utils": "*"+ },+ "peerDependencies": {+ "@emotion/react": "^11.4.1",+ "@emotion/server": "^11.4.0",+ "react": "^16.8.0 || ^17.0.2 || ^18.0.0"+ },+ "peerDependenciesMeta": {+ "@emotion/server": {+ "optional": true+ }+ }+ },"node_modules/tsutils": {"version": "3.21.0","resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",@@ -20418,6 +21008,15 @@"tiny-invariant": "^0.0.3"},"dependencies": {+ "@emotion/styled": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz",+ "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==",+ "requires": {+ "@emotion/styled-base": "^10.3.0",+ "babel-plugin-emotion": "^10.0.27"+ }+ },"dom-helpers": {"version": "5.2.1","resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",@@ -20843,9 +21442,9 @@}},"@babel/helper-plugin-utils": {- "version": "7.16.7",- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz",- "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA=="+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz",+ "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w=="},"@babel/helper-remap-async-to-generator": {"version": "7.16.8",@@ -21174,11 +21773,11 @@}},"@babel/plugin-syntax-jsx": {- "version": "7.16.7",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz",- "integrity": "sha512-Esxmk7YjA8QysKeT3VhTXvF6y77f/a91SIs4pWb4H2eWGQkCKFgQaG6hdoEVZtGsrAcb2K5BW66XsOErD4WU3Q==",+ "version": "7.18.6",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",+ "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==","requires": {- "@babel/helper-plugin-utils": "^7.16.7"+ "@babel/helper-plugin-utils": "^7.18.6"}},"@babel/plugin-syntax-logical-assignment-operators": {@@ -21980,6 +22579,109 @@"@types/hammerjs": "^2.0.36"}},+ "@emotion/babel-plugin": {+ "version": "11.10.2",+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz",+ "integrity": "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==",+ "requires": {+ "@babel/helper-module-imports": "^7.16.7",+ "@babel/plugin-syntax-jsx": "^7.17.12",+ "@babel/runtime": "^7.18.3",+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/serialize": "^1.1.0",+ "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.0.13"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "requires": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "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==",+ "requires": {+ "@babel/runtime": "^7.12.5",+ "cosmiconfig": "^7.0.0",+ "resolve": "^1.19.0"+ }+ },+ "cosmiconfig": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",+ "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",+ "requires": {+ "@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"+ }+ },+ "import-fresh": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",+ "requires": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ }+ },+ "parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "requires": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ }+ },+ "stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="+ }+ }+ },"@emotion/cache": {"version": "10.0.29","resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz",@@ -22019,6 +22721,97 @@"resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz","integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="},+ "@emotion/is-prop-valid": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz",+ "integrity": "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==",+ "requires": {+ "@emotion/memoize": "^0.8.0"+ }+ },+ "@emotion/memoize": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz",+ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA=="+ },+ "@emotion/react": {+ "version": "11.10.0",+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz",+ "integrity": "sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ==",+ "requires": {+ "@babel/runtime": "^7.18.3",+ "@emotion/babel-plugin": "^11.10.0",+ "@emotion/cache": "^11.10.0",+ "@emotion/serialize": "^1.1.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "hoist-non-react-statics": "^3.3.1"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@emotion/cache": {+ "version": "11.10.3",+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",+ "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",+ "requires": {+ "@emotion/memoize": "^0.8.0",+ "@emotion/sheet": "^1.2.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "stylis": "4.0.13"+ }+ },+ "@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "requires": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "@emotion/sheet": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="+ },+ "@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "@emotion/weak-memoize": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="+ },+ "stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="+ }+ }+ },"@emotion/serialize": {"version": "0.11.16","resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-0.11.16.tgz",@@ -22049,12 +22842,52 @@"integrity": "sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA=="},"@emotion/styled": {- "version": "10.3.0",- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz",- "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==",+ "version": "11.10.0",+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.0.tgz",+ "integrity": "sha512-V9oaEH6V4KePeQpgUE83i8ht+4Ri3E8Djp/ZPJ4DQlqWhSKITvgzlR3/YQE2hdfP4Jw3qVRkANJz01LLqK9/TA==","requires": {- "@emotion/styled-base": "^10.3.0",- "babel-plugin-emotion": "^10.0.27"+ "@babel/runtime": "^7.18.3",+ "@emotion/babel-plugin": "^11.10.0",+ "@emotion/is-prop-valid": "^1.2.0",+ "@emotion/serialize": "^1.1.0",+ "@emotion/utils": "^1.2.0"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "@emotion/serialize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",+ "requires": {+ "@emotion/hash": "^0.9.0",+ "@emotion/memoize": "^0.8.0",+ "@emotion/unitless": "^0.8.0",+ "@emotion/utils": "^1.2.0",+ "csstype": "^3.0.2"+ }+ },+ "@emotion/unitless": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="+ },+ "@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ }}},"@emotion/styled-base": {@@ -22526,25 +23359,91 @@}}},- "@material-ui/core": {- "version": "4.11.3",- "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.11.3.tgz",- "integrity": "sha512-Adt40rGW6Uds+cAyk3pVgcErpzU/qxc7KBR94jFHBYretU4AtWZltYcNsbeMn9tXL86jjVL1kuGcIHsgLgFGRw==",+ "@matrix-org/olm": {+ "version": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz",+ "integrity": "sha512-OhC9wwZ/ox9vputA1MR2A7QlYlvfXCV+tdbADOR7Jn7o9qoXh3HWf+AbSpXTK3daF0GIHA69Ws8XOnWqu5n53A=="+ },+ "@microsoft/microsoft-graph-client": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-client/-/microsoft-graph-client-3.0.1.tgz",+ "integrity": "sha512-sudEc1kKMsdtEI6IZfnTL8JUQ1a7pmV7D/ID2n/fsZCZH3MKi2vZ9XeKZfnFAbgaGcNT2bl55w8fcV3vBljJXA==","requires": {- "@babel/runtime": "^7.4.4",- "@material-ui/styles": "^4.11.3",- "@material-ui/system": "^4.11.3",- "@material-ui/types": "^5.1.0",- "@material-ui/utils": "^4.11.2",- "@types/react-transition-group": "^4.2.0",- "clsx": "^1.0.4",- "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"+ "@babel/runtime": "^7.12.5",+ "tslib": "^2.2.0"+ }+ },+ "@mui/base": {+ "version": "5.0.0-alpha.94",+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.94.tgz",+ "integrity": "sha512-IJXmgTF07H1Iv5zjDV7zJZGUmb9cN8ERzd2dgA1akh6NWZgwyIGyQx+Au9+QSDoM5vN3FqZvU/0YCU6inUwgeQ==",+ "requires": {+ "@babel/runtime": "^7.17.2",+ "@emotion/is-prop-valid": "^1.2.0",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "@popperjs/core": "^2.11.6",+ "clsx": "^1.2.1",+ "prop-types": "^15.8.1",+ "react-is": "^18.2.0"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="+ },+ "react-is": {+ "version": "18.2.0",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="+ }+ }+ },+ "@mui/core-downloads-tracker": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.2.tgz",+ "integrity": "sha512-1guoGvL3QZ7VjA3y9zye9Rpm+jz18rVZIo3AauTGyW5ntDMxr/cR0M18nuc/NH2KqpMt+coh4NwPEO1uPuKM5w=="+ },+ "@mui/material": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.2.tgz",+ "integrity": "sha512-ay43fuQLXROXkxFd6tqbj394Hu8BlbmpCdEDFtAisijulla2ZLfQa24pjhdX+56HrHReB3cZsf/sRq+DSfIgiA==",+ "requires": {+ "@babel/runtime": "^7.17.2",+ "@mui/base": "5.0.0-alpha.94",+ "@mui/core-downloads-tracker": "^5.10.2",+ "@mui/system": "^5.10.2",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "@types/react-transition-group": "^4.4.5",+ "clsx": "^1.2.1",+ "csstype": "^3.1.0",+ "prop-types": "^15.8.1",+ "react-is": "^18.2.0",+ "react-transition-group": "^4.4.5"},"dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="+ },"dom-helpers": {"version": "5.2.1","resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",@@ -22554,15 +23453,15 @@"csstype": "^3.0.2"}},- "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=="+ "react-is": {+ "version": "18.2.0",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="},"react-transition-group": {- "version": "4.4.2",- "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.2.tgz",- "integrity": "sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==",+ "version": "4.4.5",+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",+ "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==","requires": {"@babel/runtime": "^7.5.5","dom-helpers": "^5.0.1",@@ -22572,80 +23471,183 @@}}},- "@material-ui/styles": {- "version": "4.11.4",- "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.4.tgz",- "integrity": "sha512-KNTIZcnj/zprG5LW0Sao7zw+yG3O35pviHzejMdcSGCdWbiO8qzRgOYL8JAxAsWBKOKYwVZxXtHWaB5T2Kvxew==",+ "@mui/private-theming": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.9.3.tgz",+ "integrity": "sha512-Ys3WO39WqoGciGX9k5AIi/k2zJhlydv4FzlEEwtw9OqdMaV0ydK/TdZekKzjP9sTI/JcdAP3H5DWtUaPLQJjWg==","requires": {- "@babel/runtime": "^7.4.4",- "@emotion/hash": "^0.8.0",- "@material-ui/types": "5.1.0",- "@material-ui/utils": "^4.11.2",- "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.17.2",+ "@mui/utils": "^5.9.3",+ "prop-types": "^15.8.1"},"dependencies": {- "csstype": {- "version": "2.6.19",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",- "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }}}},- "@material-ui/system": {- "version": "4.12.1",- "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.12.1.tgz",- "integrity": "sha512-lUdzs4q9kEXZGhbN7BptyiS1rLNHe6kG9o8Y307HCvF4sQxbCgpL2qi+gUk+yI8a2DNk48gISEQxoxpgph0xIw==",+ "@mui/styled-engine": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.10.2.tgz",+ "integrity": "sha512-YqnptNQ2E0cWwOTmLCEvrddiiR/neUfn2AD/4TDUXZu8B2n7NfDb9d3bAUfWZV+KmulQdAedoaZDqyXBFGLdbQ==","requires": {- "@babel/runtime": "^7.4.4",- "@material-ui/utils": "^4.11.2",- "csstype": "^2.5.2",- "prop-types": "^15.7.2"+ "@babel/runtime": "^7.17.2",+ "@emotion/cache": "^11.10.1",+ "csstype": "^3.1.0",+ "prop-types": "^15.8.1"},"dependencies": {- "csstype": {- "version": "2.6.19",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",- "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@emotion/cache": {+ "version": "11.10.3",+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",+ "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",+ "requires": {+ "@emotion/memoize": "^0.8.0",+ "@emotion/sheet": "^1.2.0",+ "@emotion/utils": "^1.2.0",+ "@emotion/weak-memoize": "^0.3.0",+ "stylis": "4.0.13"+ }+ },+ "@emotion/sheet": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="+ },+ "@emotion/utils": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="+ },+ "@emotion/weak-memoize": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="+ },+ "stylis": {+ "version": "4.0.13",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="}}},- "@material-ui/types": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz",- "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A=="+ "@mui/styles": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.2.tgz",+ "integrity": "sha512-cXV2Z+n5Dx1AH16/MG/WAoe1Pq3KfwLN/8ACgl+vDsKW+pg0mGEvFjStGnd2igIPncMWPvrA3sv1aNTgqHdKUw==",+ "requires": {+ "@babel/runtime": "^7.17.2",+ "@emotion/hash": "^0.9.0",+ "@mui/private-theming": "^5.9.3",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "clsx": "^1.2.1",+ "csstype": "^3.1.0",+ "hoist-non-react-statics": "^3.3.2",+ "jss": "^10.9.2",+ "jss-plugin-camel-case": "^10.9.2",+ "jss-plugin-default-unit": "^10.9.2",+ "jss-plugin-global": "^10.9.2",+ "jss-plugin-nested": "^10.9.2",+ "jss-plugin-props-sort": "^10.9.2",+ "jss-plugin-rule-value-function": "^10.9.2",+ "jss-plugin-vendor-prefixer": "^10.9.2",+ "prop-types": "^15.8.1"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@emotion/hash": {+ "version": "0.9.0",+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="+ },+ "clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="+ }+ }},- "@material-ui/utils": {- "version": "4.11.2",- "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.11.2.tgz",- "integrity": "sha512-Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==",+ "@mui/system": {+ "version": "5.10.2",+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.10.2.tgz",+ "integrity": "sha512-YudwJhLcEoQiwCAmzeMr9P3ISiVGNsxBIIPzFxaGwJ8+mMrx3qoPVOV2sfm0ZuNiQuABshEw4KqHa5ftNC+pOQ==","requires": {- "@babel/runtime": "^7.4.4",- "prop-types": "^15.7.2",- "react-is": "^16.8.0 || ^17.0.0"+ "@babel/runtime": "^7.17.2",+ "@mui/private-theming": "^5.9.3",+ "@mui/styled-engine": "^5.10.2",+ "@mui/types": "^7.1.5",+ "@mui/utils": "^5.9.3",+ "clsx": "^1.2.1",+ "csstype": "^3.1.0",+ "prop-types": "^15.8.1"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "clsx": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg=="+ }}},- "@matrix-org/olm": {- "version": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz",- "integrity": "sha512-OhC9wwZ/ox9vputA1MR2A7QlYlvfXCV+tdbADOR7Jn7o9qoXh3HWf+AbSpXTK3daF0GIHA69Ws8XOnWqu5n53A=="+ "@mui/types": {+ "version": "7.1.5",+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.1.5.tgz",+ "integrity": "sha512-HnRXrxgHJYJcT8ZDdDCQIlqk0s0skOKD7eWs9mJgBUu70hyW4iA6Kiv3yspJR474RFH8hysKR65VVSzUSzkuwA=="},- "@microsoft/microsoft-graph-client": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-client/-/microsoft-graph-client-3.0.1.tgz",- "integrity": "sha512-sudEc1kKMsdtEI6IZfnTL8JUQ1a7pmV7D/ID2n/fsZCZH3MKi2vZ9XeKZfnFAbgaGcNT2bl55w8fcV3vBljJXA==",+ "@mui/utils": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.9.3.tgz",+ "integrity": "sha512-l0N5bcrenE9hnwZ/jPecpIRqsDFHkPXoFUcmkgysaJwVZzJ3yQkGXB47eqmXX5yyGrSc6HksbbqXEaUya+siew==","requires": {- "@babel/runtime": "^7.12.5",- "tslib": "^2.2.0"+ "@babel/runtime": "^7.17.2",+ "@types/prop-types": "^15.7.5",+ "@types/react-is": "^16.7.1 || ^17.0.0",+ "prop-types": "^15.8.1",+ "react-is": "^18.2.0"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.18.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "react-is": {+ "version": "18.2.0",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="+ }}},"@nodelib/fs.scandir": {@@ -22681,9 +23683,9 @@"dev": true},"@popperjs/core": {- "version": "2.6.0",- "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.6.0.tgz",- "integrity": "sha512-cPqjjzuFWNK3BSKLm0abspP0sp/IGOli4p5I5fKFAzdS8fvjdOwDCfZqAaIiXd9lPkOWi3SUUfZof3hEb7J/uw=="+ "version": "2.11.6",+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz",+ "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw=="},"@react-native-async-storage/async-storage": {"version": "1.15.14",@@ -23920,9 +24922,9 @@"integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="},"@types/prop-types": {- "version": "15.7.4",- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",- "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="+ "version": "15.7.5",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz",+ "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w=="},"@types/q": {"version": "1.5.5",@@ -23951,6 +24953,14 @@"csstype": "^3.0.2"}},+ "@types/react-is": {+ "version": "17.0.3",+ "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.3.tgz",+ "integrity": "sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==",+ "requires": {+ "@types/react": "*"+ }+ },"@types/react-native": {"version": "0.68.1","resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.68.1.tgz",@@ -23973,9 +24983,9 @@}},"@types/react-transition-group": {- "version": "4.4.4",- "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.4.tgz",- "integrity": "sha512-7gAPz7anVK5xzbeQW9wFBDg7G++aPLAFY0QaSMOou9rJZpbuI58WAuJrgu+qR92l61grlnCUe7AFX8KGahAgug==",+ "version": "4.4.5",+ "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz",+ "integrity": "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==","requires": {"@types/react": "*"}@@ -26052,9 +27062,9 @@}},"csstype": {- "version": "3.0.10",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz",- "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA=="+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz",+ "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA=="},"current-executing-script": {"version": "0.1.3",@@ -29140,9 +30150,9 @@}},"jss": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.0.tgz",- "integrity": "sha512-YpzpreB6kUunQBbrlArlsMpXYyndt9JATbt95tajx0t4MTJJcCJdd4hdNpHmOIDiUJrF/oX5wtVFrS3uofWfGw==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.2.tgz",+ "integrity": "sha512-b8G6rWpYLR4teTUbGd4I4EsnWjg7MN0Q5bSsjKhVkJVjhQDy2KzkbD2AW3TuT0RYZVmZZHKIrXDn6kjU14qkUg==","requires": {"@babel/runtime": "^7.3.1","csstype": "^3.0.2",@@ -29151,70 +30161,70 @@}},"jss-plugin-camel-case": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.0.tgz",- "integrity": "sha512-UH6uPpnDk413/r/2Olmw4+y54yEF2lRIV8XIZyuYpgPYTITLlPOsq6XB9qeqv+75SQSg3KLocq5jUBXW8qWWww==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.2.tgz",+ "integrity": "sha512-wgBPlL3WS0WDJ1lPJcgjux/SHnDuu7opmgQKSraKs4z8dCCyYMx9IDPFKBXQ8Q5dVYij1FFV0WdxyhuOOAXuTg==","requires": {"@babel/runtime": "^7.3.1","hyphenate-style-name": "^1.0.3",- "jss": "10.9.0"+ "jss": "10.9.2"}},"jss-plugin-default-unit": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.0.tgz",- "integrity": "sha512-7Ju4Q9wJ/MZPsxfu4T84mzdn7pLHWeqoGd/D8O3eDNNJ93Xc8PxnLmV8s8ZPNRYkLdxZqKtm1nPQ0BM4JRlq2w==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.2.tgz",+ "integrity": "sha512-pYg0QX3bBEFtTnmeSI3l7ad1vtHU42YEEpgW7pmIh+9pkWNWb5dwS/4onSfAaI0kq+dOZHzz4dWe+8vWnanoSg==","requires": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"jss-plugin-global": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.0.tgz",- "integrity": "sha512-4G8PHNJ0x6nwAFsEzcuVDiBlyMsj2y3VjmFAx/uHk/R/gzJV+yRHICjT4MKGGu1cJq2hfowFWCyrr/Gg37FbgQ==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.2.tgz",+ "integrity": "sha512-GcX0aE8Ef6AtlasVrafg1DItlL/tWHoC4cGir4r3gegbWwF5ZOBYhx04gurPvWHC8F873aEGqge7C17xpwmp2g==","requires": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"jss-plugin-nested": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.0.tgz",- "integrity": "sha512-2UJnDrfCZpMYcpPYR16oZB7VAC6b/1QLsRiAutOt7wJaaqwCBvNsosLEu/fUyKNQNGdvg2PPJFDO5AX7dwxtoA==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.2.tgz",+ "integrity": "sha512-VgiOWIC6bvgDaAL97XCxGD0BxOKM0K0zeB/ECyNaVF6FqvdGB9KBBWRdy2STYAss4VVA7i5TbxFZN+WSX1kfQA==","requires": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0",+ "jss": "10.9.2","tiny-warning": "^1.0.2"}},"jss-plugin-props-sort": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.9.0.tgz",- "integrity": "sha512-7A76HI8bzwqrsMOJTWKx/uD5v+U8piLnp5bvru7g/3ZEQOu1+PjHvv7bFdNO3DwNPC9oM0a//KwIJsIcDCjDzw==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.9.2.tgz",+ "integrity": "sha512-AP1AyUTbi2szylgr+O0OB7gkIxEGzySLITZ2GpsaoX72YMCGI2jYAc+WUhPfvUnZYiauF4zTnN4V4TGuvFjJlw==","requires": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0"+ "jss": "10.9.2"}},"jss-plugin-rule-value-function": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.9.0.tgz",- "integrity": "sha512-IHJv6YrEf8pRzkY207cPmdbBstBaE+z8pazhPShfz0tZSDtRdQua5jjg6NMz3IbTasVx9FdnmptxPqSWL5tyJg==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.9.2.tgz",+ "integrity": "sha512-vf5ms8zvLFMub6swbNxvzsurHfUZ5Shy5aJB2gIpY6WNA3uLinEcxYyraQXItRHi5ivXGqYciFDRM2ZoVoRZ4Q==","requires": {"@babel/runtime": "^7.3.1",- "jss": "10.9.0",+ "jss": "10.9.2","tiny-warning": "^1.0.2"}},"jss-plugin-vendor-prefixer": {- "version": "10.9.0",- "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.9.0.tgz",- "integrity": "sha512-MbvsaXP7iiVdYVSEoi+blrW+AYnTDvHTW6I6zqi7JcwXdc6I9Kbm234nEblayhF38EftoenbM+5218pidmC5gA==",+ "version": "10.9.2",+ "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.9.2.tgz",+ "integrity": "sha512-SxcEoH+Rttf9fEv6KkiPzLdXRmI6waOTcMkbbEFgdZLDYNIP9UKNHFy6thhbRKqv0XMQZdrEsbDyV464zE/dUA==","requires": {"@babel/runtime": "^7.3.1","css-vendor": "^2.0.8",- "jss": "10.9.0"+ "jss": "10.9.2"}},"jssha": {@@ -33782,6 +34792,16 @@"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz","integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="},+ "tss-react": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/tss-react/-/tss-react-4.0.0.tgz",+ "integrity": "sha512-pPkOKWiWWPbKdQFnGGeHEgRceUwkjrv0eldVCAdBll3j6Y3Ys/xwqsnlWYwWOU3SMJygVRE/S4CsIYx6KPpOkA==",+ "requires": {+ "@emotion/cache": "*",+ "@emotion/serialize": "*",+ "@emotion/utils": "*"+ }+ },"tsutils": {"version": "3.21.0","resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",diff --git a/package.json b/package.jsonindex f140aa5f1c..a1f51fed63 100644--- a/package.json+++ b/package.json@@ -28,6 +28,8 @@"@atlaskit/tabs": "12.1.2","@atlaskit/theme": "11.0.2","@atlaskit/tooltip": "17.1.2",+ "@emotion/react": "11.10.0",+ "@emotion/styled": "11.10.0","@giphy/js-fetch-api": "4.1.2","@giphy/react-components": "5.6.0","@giphy/react-native-sdk": "1.7.0",@@ -36,9 +38,10 @@"@jitsi/logger": "2.0.0","@jitsi/rnnoise-wasm": "0.1.0","@jitsi/rtcstats": "9.3.0",- "@material-ui/core": "4.11.3","@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz","@microsoft/microsoft-graph-client": "3.0.1",+ "@mui/material": "5.10.2",+ "@mui/styles": "5.10.2","@react-native-async-storage/async-storage": "1.15.14","@react-native-community/clipboard": "1.5.1","@react-native-community/netinfo": "7.1.7",@@ -127,6 +130,7 @@"resemblejs": "4.0.0","seamless-scroll-polyfill": "2.1.8","styled-components": "3.4.9",+ "tss-react": "4.0.0","util": "0.12.1","uuid": "8.3.2","wasm-check": "2.0.1",diff --git a/react/features/app/types.ts b/react/features/app/types.tsindex 9e789b5a21..a63baac3e1 100644--- a/react/features/app/types.ts+++ b/react/features/app/types.ts@@ -1,3 +1,5 @@+import { AnyAction, Dispatch } from 'redux';+import { IAnalyticsState } from '../analytics/reducer';import { IAuthenticationState } from '../authentication/reducer';import { IAVModerationState } from '../av-moderation/reducer';@@ -73,7 +75,7 @@ import { IVideoSipGW } from '../videosipgw/reducer';import { IVirtualBackground } from '../virtual-background/reducer';export interface IStore {- dispatch: Function;+ dispatch: Dispatch<AnyAction>;getState: () => IState;}diff --git a/react/features/base/avatar/components/web/StatelessAvatar.tsx b/react/features/base/avatar/components/web/StatelessAvatar.tsxindex 12eadf44c5..59f9fb9e84 100644--- a/react/features/base/avatar/components/web/StatelessAvatar.tsx+++ b/react/features/base/avatar/components/web/StatelessAvatar.tsx@@ -1,4 +1,4 @@-import { withStyles } from '@material-ui/core/styles';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React from 'react';@@ -56,8 +56,8 @@ const styles = () => {borderRadius: '50%',color: 'rgba(255, 255, 255, 1)',fontWeight: '100',- objectFit: 'cover',- textAlign: 'center',+ objectFit: 'cover' as const,+ textAlign: 'center' as const,'&.avatar-small': {height: '28px !important',@@ -80,7 +80,7 @@ const styles = () => {},badge: {- position: 'relative',+ position: 'relative' as const,'&.avatar-badge:after': {borderRadius: '50%',@@ -262,5 +262,4 @@ class StatelessAvatar extends AbstractStatelessAvatar<Props> {}}-// @ts-ignoreexport default withStyles(styles)(StatelessAvatar);diff --git a/react/features/base/buttons/CopyButton.tsx b/react/features/base/buttons/CopyButton.tsxindex c1c8b1f6fe..33271ea39d 100644--- a/react/features/base/buttons/CopyButton.tsx+++ b/react/features/base/buttons/CopyButton.tsx@@ -1,12 +1,12 @@/* eslint-disable react/jsx-no-bind */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { useEffect, useState } from 'react';import Icon from '../icons/components/Icon';import { IconCheck, IconCopy } from '../icons/svg';import { withPixelLineHeight } from '../styles/functions.web';-import { Theme } from '../ui/types';import { copyText } from '../util/helpers';const styles = (theme: Theme) => {@@ -41,7 +41,7 @@ const styles = (theme: Theme) => {content: {overflow: 'hidden',textOverflow: 'ellipsis',- whiteSpace: 'nowrap',+ whiteSpace: 'nowrap' as const,maxWidth: 292,marginRight: theme.spacing(3),@@ -214,5 +214,4 @@ CopyButton.defaultProps = {className: ''};-// @ts-ignoreexport default withStyles(styles)(CopyButton);diff --git a/react/features/base/components/context-menu/ContextMenu.tsx b/react/features/base/components/context-menu/ContextMenu.tsxindex b8a3a72d23..1d7841d375 100644--- a/react/features/base/components/context-menu/ContextMenu.tsx+++ b/react/features/base/components/context-menu/ContextMenu.tsx@@ -1,8 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';++import { Theme } from '@mui/material';import React, { ReactNode, useEffect, useLayoutEffect, useRef, useState } from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { getComputedOuterHeight } from '../../../participants-pane/functions';@@ -10,6 +11,7 @@ import { getComputedOuterHeight } from '../../../participants-pane/functions';import { Drawer, JitsiPortal } from '../../../toolbox/components/web';// @ts-ignoreimport { showOverflowDrawer } from '../../../toolbox/functions.web';+import { withPixelLineHeight } from '../../styles/functions.web';import participantsPaneTheme from '../themes/participantsPaneTheme.json';type Props = {@@ -82,15 +84,14 @@ type Props = {const MAX_HEIGHT = 400;-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {contextMenu: {backgroundColor: theme.palette.ui02,- borderRadius: `${theme.shape.borderRadius / 2}px`,+ borderRadius: `${Number(theme.shape.borderRadius) / 2}px`,boxShadow: '0px 3px 16px rgba(0, 0, 0, 0.6), 0px 0px 4px 1px rgba(0, 0, 0, 0.25)',color: theme.palette.text01,- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.bodyShortRegular),marginTop: `${(participantsPaneTheme.panePadding * 2) + theme.typography.bodyShortRegular.fontSize}px`,position: 'absolute',right: `${participantsPaneTheme.panePadding}px`,@@ -108,8 +109,7 @@ const useStyles = makeStyles((theme: any) => {drawer: {'& > div': {- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegularLarge.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge),'& svg': {fill: theme.palette.icon01@@ -140,7 +140,7 @@ const ContextMenu = ({}: Props) => {const [ isHidden, setIsHidden ] = useState(true);const containerRef = useRef<HTMLDivElement | null>(null);- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const _overflowDrawer = useSelector(showOverflowDrawer);useLayoutEffect(() => {@@ -195,7 +195,7 @@ const ContextMenu = ({</JitsiPortal>: <divaria-label = { accessibilityLabel }- className = { clsx(participantsPaneTheme.ignoredChildClassName,+ className = { cx(participantsPaneTheme.ignoredChildClassName,styles.contextMenu,isHidden && styles.contextMenuHidden,className@@ -206,8 +206,7 @@ const ContextMenu = ({onMouseLeave = { onMouseLeave }ref = { containerRef }>{children}- </div>- ;+ </div>;};export default ContextMenu;diff --git a/react/features/base/components/context-menu/ContextMenuItem.tsx b/react/features/base/components/context-menu/ContextMenuItem.tsxindex 0af21884fa..bbce8289b4 100644--- a/react/features/base/components/context-menu/ContextMenuItem.tsx+++ b/react/features/base/components/context-menu/ContextMenuItem.tsx@@ -1,7 +1,7 @@-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { ReactNode } from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { showOverflowDrawer } from '../../../toolbox/functions.web';@@ -71,7 +71,7 @@ export type Props = {textClassName?: string;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {contextMenuItem: {alignItems: 'center',@@ -82,7 +82,7 @@ const useStyles = makeStyles((theme: any) => {boxSizing: 'border-box','& > *:not(:last-child)': {- marginRight: `${theme.spacing(3)}px`+ marginRight: theme.spacing(3)},'&:hover': {@@ -119,14 +119,14 @@ const ContextMenuItem = ({testId,text,textClassName }: Props) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const _overflowDrawer: boolean = useSelector(showOverflowDrawer);return (<divaria-disabled = { disabled }aria-label = { accessibilityLabel }- className = { clsx(styles.contextMenuItem,+ className = { cx(styles.contextMenuItem,_overflowDrawer && styles.contextMenuItemDrawer,disabled && styles.contextMenuItemDisabled,classNamediff --git a/react/features/base/components/context-menu/ContextMenuItemGroup.tsx b/react/features/base/components/context-menu/ContextMenuItemGroup.tsxindex 77af70b459..fd9e43ea99 100644--- a/react/features/base/components/context-menu/ContextMenuItemGroup.tsx+++ b/react/features/base/components/context-menu/ContextMenuItemGroup.tsx@@ -1,5 +1,6 @@-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { ReactNode } from 'react';+import { makeStyles } from 'tss-react/mui';import ContextMenuItem, { Props as ItemProps } from './ContextMenuItem';@@ -17,11 +18,11 @@ type Props = {children?: ReactNode;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {contextMenuItemGroup: {'&:not(:empty)': {- padding: `${theme.spacing(2)}px 0`+ padding: `${theme.spacing(2)} 0`},'& + &:not(:empty)': {@@ -35,7 +36,7 @@ const ContextMenuItemGroup = ({actions,children}: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();return (<div className = { styles.contextMenuItemGroup }>diff --git a/react/features/base/components/participants-pane-list/ListItem.tsx b/react/features/base/components/participants-pane-list/ListItem.tsxindex 9c55a5a9b4..e16b774f6e 100644--- a/react/features/base/components/participants-pane-list/ListItem.tsx+++ b/react/features/base/components/participants-pane-list/ListItem.tsx@@ -1,9 +1,10 @@-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { ReactNode } from 'react';+import { makeStyles } from 'tss-react/mui';import { ACTION_TRIGGER } from '../../../participants-pane/constants';import { isMobileBrowser } from '../../environment/utils';+import { withPixelLineHeight } from '../../styles/functions.web';import participantsPaneTheme from '../themes/participantsPaneTheme.json';type Props = {@@ -75,14 +76,13 @@ type Props = {};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {alignItems: 'center',color: theme.palette.text01,display: 'flex',- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.bodyShortRegular),margin: `0 -${participantsPaneTheme.panePadding}px`,padding: `0 ${participantsPaneTheme.panePadding}px`,position: 'relative',@@ -104,9 +104,8 @@ const useStyles = makeStyles((theme: any) => {},[`@media(max-width: ${participantsPaneTheme.MD_BREAKPOINT})`]: {- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegularLarge.lineHeight}px`,- padding: `${theme.spacing(2)}px ${participantsPaneTheme.panePadding}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge),+ padding: `${theme.spacing(2)} ${participantsPaneTheme.panePadding}px`}},@@ -126,7 +125,7 @@ const useStyles = makeStyles((theme: any) => {name: {display: 'flex',flex: 1,- marginRight: `${theme.spacing(2)}px`,+ marginRight: theme.spacing(2),overflow: 'hidden',flexDirection: 'column',justifyContent: 'flex-start'@@ -143,7 +142,7 @@ const useStyles = makeStyles((theme: any) => {},'& > *:not(:last-child)': {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)},'& .jitsi-icon': {@@ -190,7 +189,7 @@ const ListItem = ({textChildren,trigger}: Props) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const _isMobile = isMobileBrowser();let timeoutHandler: number;@@ -228,7 +227,7 @@ const ListItem = ({return (<div- className = { clsx('list-item-container',+ className = { cx('list-item-container',styles.container,isHighlighted && styles.highlighted,className@@ -253,7 +252,7 @@ const ListItem = ({</div>{indicators && (<div- className = { clsx('indicators',+ className = { cx('indicators',styles.indicators,(isHighlighted || trigger === ACTION_TRIGGER.PERMANENT) && styles.indicatorsHidden) }>@@ -262,7 +261,7 @@ const ListItem = ({)}{!hideActions && (<div- className = { clsx('actions',+ className = { cx('actions',styles.actionsContainer,trigger === ACTION_TRIGGER.PERMANENT && styles.actionsPermanent,isHighlighted && styles.actionsVisiblediff --git a/react/features/base/dialog/components/web/ModalHeader.tsx b/react/features/base/dialog/components/web/ModalHeader.tsxindex 6841721840..824b077bb5 100644--- a/react/features/base/dialog/components/web/ModalHeader.tsx+++ b/react/features/base/dialog/components/web/ModalHeader.tsx@@ -9,7 +9,8 @@ import {TitleText// @ts-ignore} from '@atlaskit/modal-dialog/dist/es2019/styled/Content';-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React from 'react';import { WithTranslation } from 'react-i18next';@@ -52,14 +53,14 @@ interface Props extends WithTranslation {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {closeButton: {borderRadius: theme.shape.borderRadius,cursor: 'pointer',padding: 13,- [theme.breakpoints.down('480')]: {+ [theme.breakpoints.down(480)]: {background: theme.palette.action02},diff --git a/react/features/base/dialog/components/web/StatelessDialog.tsx b/react/features/base/dialog/components/web/StatelessDialog.tsxindex 5980abd995..35894ae172 100644--- a/react/features/base/dialog/components/web/StatelessDialog.tsx+++ b/react/features/base/dialog/components/web/StatelessDialog.tsx@@ -1,6 +1,7 @@/* eslint-disable lines-around-comment */import Modal, { ModalFooter } from '@atlaskit/modal-dialog';-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React, { Component, ReactElement } from 'react';import { WithTranslation } from 'react-i18next';@@ -107,7 +108,7 @@ interface Props extends DialogProps, WithTranslation {* @param {Object} theme - The theme.* @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {footer: {boxShadow: 'none'@@ -117,7 +118,7 @@ const styles = (theme: any) => {display: 'flex','& > button:first-child': {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)}}};diff --git a/react/features/base/label/components/web/Label.tsx b/react/features/base/label/components/web/Label.tsxindex a83f7399c1..b927ce1872 100644--- a/react/features/base/label/components/web/Label.tsx+++ b/react/features/base/label/components/web/Label.tsx@@ -1,4 +1,5 @@-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React from 'react';@@ -51,14 +52,13 @@ type Props = AbstractProps & {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {label: {...withPixelLineHeight(theme.typography.labelRegular),-alignItems: 'center',background: theme.palette.ui04,- borderRadius: theme.shape.borderRadius / 2,+ borderRadius: Number(theme.shape.borderRadius) / 2,color: theme.palette.text01,display: 'flex',height: 28,diff --git a/react/features/base/premeeting/components/web/ActionButton.tsx b/react/features/base/premeeting/components/web/ActionButton.tsxindex 027639cd88..a69a0ed073 100644--- a/react/features/base/premeeting/components/web/ActionButton.tsx+++ b/react/features/base/premeeting/components/web/ActionButton.tsx@@ -1,4 +1,5 @@-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { ReactNode, useCallback } from 'react';@@ -92,7 +93,7 @@ type Props = {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {actionButton: {...withPixelLineHeight(theme.typography.bodyLongBold),@@ -103,7 +104,7 @@ const styles = (theme: any) => {display: 'inline-block',marginBottom: '16px',padding: '7px 16px',- position: 'relative',+ position: 'relative' as const,textAlign: 'center',width: '100%',border: 0,@@ -147,19 +148,19 @@ const styles = (theme: any) => {},- [theme.breakpoints.down('400')]: {+ [theme.breakpoints.down(400)]: {fontSize: 16,marginBottom: 8,padding: '11px 16px'}},options: {- borderRadius: theme.shape.borderRadius / 2,+ borderRadius: Number(theme.shape.borderRadius) / 2,alignItems: 'center',display: 'flex',height: '100%',justifyContent: 'center',- position: 'absolute',+ position: 'absolute' as const,right: 0,top: 0,width: 36,@@ -253,5 +254,4 @@ function ActionButton({);}-// @ts-ignoreexport default withStyles(styles)(ActionButton);diff --git a/react/features/base/premeeting/components/web/ConnectionStatus.tsx b/react/features/base/premeeting/components/web/ConnectionStatus.tsxindex d050df2d6b..47b86db64c 100644--- a/react/features/base/premeeting/components/web/ConnectionStatus.tsx+++ b/react/features/base/premeeting/components/web/ConnectionStatus.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback, useState } from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../../app/types';import { translate } from '../../../i18n/functions';@@ -26,7 +28,7 @@ interface Props extends WithTranslation {connectionType: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {connectionStatus: {borderRadius: '6px',@@ -37,7 +39,7 @@ const useStyles = makeStyles((theme: any) => {position: 'absolute',width: '100%',- [theme.breakpoints.down('400')]: {+ [theme.breakpoints.down(400)]: {margin: 0,width: '100%'},@@ -150,7 +152,7 @@ const CONNECTION_TYPE_MAP: {* @returns {ReactElement}*/function ConnectionStatus({ connectionDetails, t, connectionType }: Props) {- const classes = useStyles();+ const { classes } = useStyles();const [ showDetails, toggleDetails ] = useState(false);const arrowClassName = showDetailsdiff --git a/react/features/base/premeeting/components/web/PreMeetingScreen.js b/react/features/base/premeeting/components/web/PreMeetingScreen.jsindex d0a40a85fb..4deade2bf4 100644--- a/react/features/base/premeeting/components/web/PreMeetingScreen.js+++ b/react/features/base/premeeting/components/web/PreMeetingScreen.js@@ -1,6 +1,6 @@// @flow-import { withStyles } from '@material-ui/styles';+import { withStyles } from '@mui/styles';import React, { PureComponent } from 'react';import { connect } from '../../../../base/redux';diff --git a/react/features/base/react/components/web/BaseIndicator.tsx b/react/features/base/react/components/web/BaseIndicator.tsxindex 8d01a533ec..300a5eef6c 100644--- a/react/features/base/react/components/web/BaseIndicator.tsx+++ b/react/features/base/react/components/web/BaseIndicator.tsx@@ -1,6 +1,6 @@-import { makeStyles } from '@material-ui/core';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../../i18n/functions';import Icon from '../../../icons/components/Icon';@@ -61,7 +61,7 @@ interface Props extends WithTranslation {tooltipPosition: string;}-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {indicator: {width: '20px',@@ -90,7 +90,7 @@ const BaseIndicator = ({tooltipKey,tooltipPosition = 'top'}: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const style: any = {};if (iconSize) {diff --git a/react/features/base/styles/functions.web.ts b/react/features/base/styles/functions.web.tsindex f4a2233b27..0695b03369 100644--- a/react/features/base/styles/functions.web.ts+++ b/react/features/base/styles/functions.web.ts@@ -32,7 +32,7 @@ export function getFixedPlatformStyle(style: StyleType): StyleType {* @param {Object} base - The base object containing the `lineHeight` property.* @returns {Object}*/-export function withPixelLineHeight(base: any): Object {+export function withPixelLineHeight(base: any) {return {...base,lineHeight: `${base.lineHeight}px`diff --git a/react/features/base/ui/components/GlobalStyles.ts b/react/features/base/ui/components/GlobalStyles.tsdeleted file mode 100644index fd52b2dd9f..0000000000--- a/react/features/base/ui/components/GlobalStyles.ts+++ /dev/null@@ -1,35 +0,0 @@-import { createStyles, makeStyles } from '@material-ui/core';--import { commonStyles, getGlobalStyles } from '../constants';-// eslint-disable-next-line lines-around-comment-// @ts-ignore-import { formatCommonClasses } from '../functions';--/**- * Creates all the global styles.- *- * @param {Object} theme - The current UI theme.- *- * @returns {Object}- */-const useStyles = makeStyles((theme: any) =>- createStyles({- '@global': {- ...formatCommonClasses(commonStyles(theme)),- ...getGlobalStyles(theme)- }- })-);--/**- * A component generating all the global styles.- *- * @returns {void}- */-function GlobalStyles() {- useStyles();-- return null;-}--export default GlobalStyles;diff --git a/react/features/base/ui/components/GlobalStyles.tsx b/react/features/base/ui/components/GlobalStyles.tsxnew file mode 100644index 0000000000..314223c6df--- /dev/null+++ b/react/features/base/ui/components/GlobalStyles.tsx@@ -0,0 +1,22 @@+import React from 'react';+import { GlobalStyles as MUIGlobalStyles } from 'tss-react';+import { useStyles } from 'tss-react/mui';++import { commonStyles, getGlobalStyles } from '../constants';++/**+ * A component generating all the global styles.+ *+ * @returns {void}+ */+function GlobalStyles() {+ const { theme } = useStyles();++ return (<MUIGlobalStyles+ styles = {{+ ...commonStyles(theme),+ ...getGlobalStyles(theme)+ }} />);+}++export default GlobalStyles;diff --git a/react/features/base/ui/components/JitsiThemeProvider.web.tsx b/react/features/base/ui/components/JitsiThemeProvider.web.tsxindex a4dcdd35ce..405ba41aa7 100644--- a/react/features/base/ui/components/JitsiThemeProvider.web.tsx+++ b/react/features/base/ui/components/JitsiThemeProvider.web.tsx@@ -1,4 +1,4 @@-import { ThemeProvider } from '@material-ui/core/styles';+import { ThemeProvider, StyledEngineProvider } from '@mui/material/styles';import * as React from 'react';import { connect } from 'react-redux';@@ -26,7 +26,11 @@ type Props = {* @returns {React.ReactNode}*/function JitsiThemeProvider(props: Props) {- return <ThemeProvider theme = { props._theme }>{ props.children }</ThemeProvider>;+ return (+ <StyledEngineProvider injectFirst = { true }>+ <ThemeProvider theme = { props._theme }>{ props.children }</ThemeProvider>+ </StyledEngineProvider>+ );}/**diff --git a/react/features/base/ui/components/web/Button.tsx b/react/features/base/ui/components/web/Button.tsxindex c68e8c85e5..72c469bdce 100644--- a/react/features/base/ui/components/web/Button.tsx+++ b/react/features/base/ui/components/web/Button.tsx@@ -1,12 +1,11 @@-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React from 'react';import { useTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import Icon from '../../../icons/components/Icon';import { withPixelLineHeight } from '../../../styles/functions.web';import { BUTTON_TYPES } from '../../constants';-import { Theme } from '../../types';import { ButtonProps } from '../types';interface IButtonProps extends ButtonProps {@@ -48,7 +47,7 @@ interface IButtonProps extends ButtonProps {testId?: string;}-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {button: {backgroundColor: theme.palette.action01,@@ -76,7 +75,7 @@ const useStyles = makeStyles((theme: Theme) => {boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`},- '& svg': {+ '& div > svg': {fill: theme.palette.icon01}},@@ -95,7 +94,7 @@ const useStyles = makeStyles((theme: Theme) => {backgroundColor: theme.palette.action02Active},- '& svg': {+ '& div > svg': {fill: theme.palette.icon04}},@@ -138,7 +137,7 @@ const useStyles = makeStyles((theme: Theme) => {color: theme.palette.text03},- '& svg': {+ '& div > svg': {fill: theme.palette.icon03}},@@ -148,7 +147,7 @@ const useStyles = makeStyles((theme: Theme) => {},textWithIcon: {- marginLeft: `${theme.spacing(2)}px`+ marginLeft: theme.spacing(2)},small: {@@ -192,13 +191,13 @@ const Button = React.forwardRef<any, any>(({testId,type = BUTTON_TYPES.PRIMARY}: IButtonProps, ref) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const { t } = useTranslation();return (<buttonaria-label = { accessibilityLabel }- className = { clsx(styles.button, styles[type],+ className = { cx(styles.button, styles[type],disabled && styles.disabled,icon && !(labelKey || label) && `${styles.iconButton} iconButton`,styles[size], fullWidth && styles.fullWidth, className) }diff --git a/react/features/base/ui/components/web/Checkbox.tsx b/react/features/base/ui/components/web/Checkbox.tsxindex 98dfb7a7ed..f50288dc38 100644--- a/react/features/base/ui/components/web/Checkbox.tsx+++ b/react/features/base/ui/components/web/Checkbox.tsx@@ -1,12 +1,11 @@-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';import { isMobileBrowser } from '../../../environment/utils';import Icon from '../../../icons/components/Icon';import { IconCheckMark } from '../../../icons/svg';import { withPixelLineHeight } from '../../../styles/functions.web';-import BaseTheme from '../BaseTheme.web';interface CheckboxProps {@@ -41,7 +40,7 @@ interface CheckboxProps {onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {formControl: {...withPixelLineHeight(theme.typography.bodyLongRegular),@@ -151,25 +150,27 @@ const Checkbox = ({name,onChange}: CheckboxProps) => {- const styles = useStyles();+ const { classes: styles, cx, theme } = useStyles();const isMobile = isMobileBrowser();- return (<div className = { clsx(styles.formControl, isMobile && 'is-mobile', className) }>- <label className = { clsx(styles.activeArea, isMobile && 'is-mobile') }>- <input- checked = { checked }- disabled = { disabled }- name = { name }- onChange = { onChange }- type = 'checkbox' />- <Icon- className = 'checkmark'- color = { disabled ? BaseTheme.palette.icon03 : BaseTheme.palette.icon01 }- size = { 18 }- src = { IconCheckMark } />- </label>- <label>{label}</label>- </div>);+ return (+ <div className = { cx(styles.formControl, isMobile && 'is-mobile', className) }>+ <label className = { cx(styles.activeArea, isMobile && 'is-mobile') }>+ <input+ checked = { checked }+ disabled = { disabled }+ name = { name }+ onChange = { onChange }+ type = 'checkbox' />+ <Icon+ className = 'checkmark'+ color = { disabled ? theme.palette.icon03 : theme.palette.icon01 }+ size = { 18 }+ src = { IconCheckMark } />+ </label>+ <label>{label}</label>+ </div>+ );};export default Checkbox;diff --git a/react/features/base/ui/components/web/ClickableIcon.tsx b/react/features/base/ui/components/web/ClickableIcon.tsxindex ba27392251..9c43a74f54 100644--- a/react/features/base/ui/components/web/ClickableIcon.tsx+++ b/react/features/base/ui/components/web/ClickableIcon.tsx@@ -1,10 +1,9 @@-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';import { isMobileBrowser } from '../../../environment/utils';import Icon from '../../../icons/components/Icon';-import { Theme } from '../../types';interface IProps {accessibilityLabel: string;@@ -12,7 +11,7 @@ interface IProps {onClick: () => void;}-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {button: {padding: '2px',@@ -37,17 +36,19 @@ const useStyles = makeStyles((theme: Theme) => {});const ClickableIcon = ({ accessibilityLabel, icon, onClick }: IProps) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const isMobile = isMobileBrowser();- return (<button- aria-label = { accessibilityLabel }- className = { clsx(styles.button, isMobile && 'is-mobile') }- onClick = { onClick }>- <Icon- size = { 24 }- src = { icon } />- </button>);+ return (+ <button+ aria-label = { accessibilityLabel }+ className = { cx(styles.button, isMobile && 'is-mobile') }+ onClick = { onClick }>+ <Icon+ size = { 24 }+ src = { icon } />+ </button>+ );};export default ClickableIcon;diff --git a/react/features/base/ui/components/web/Input.tsx b/react/features/base/ui/components/web/Input.tsxindex cbea535c73..038c7d01a0 100644--- a/react/features/base/ui/components/web/Input.tsx+++ b/react/features/base/ui/components/web/Input.tsx@@ -1,13 +1,12 @@-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import TextareaAutosize from 'react-textarea-autosize';+import { makeStyles } from 'tss-react/mui';import { isMobileBrowser } from '../../../environment/utils';import Icon from '../../../icons/components/Icon';import { IconCloseCircle } from '../../../icons/svg';import { withPixelLineHeight } from '../../../styles/functions.web';-import { Theme } from '../../../ui/types';import { InputProps } from '../types';interface IInputProps extends InputProps {@@ -26,7 +25,7 @@ interface IInputProps extends InputProps {type?: 'text' | 'email' | 'number' | 'password';}-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {inputContainer: {display: 'flex',@@ -36,7 +35,7 @@ const useStyles = makeStyles((theme: Theme) => {label: {color: theme.palette.text01,...withPixelLineHeight(theme.typography.bodyShortRegular),- marginBottom: `${theme.spacing(2)}px`,+ marginBottom: theme.spacing(2),'&.is-mobile': {...withPixelLineHeight(theme.typography.bodyShortRegularLarge)@@ -113,7 +112,7 @@ const useStyles = makeStyles((theme: Theme) => {},bottomLabel: {- marginTop: `${theme.spacing(2)}px`,+ marginTop: theme.spacing(2),...withPixelLineHeight(theme.typography.labelRegular),color: theme.palette.text02,@@ -151,7 +150,7 @@ const Input = React.forwardRef<any, IInputProps>(({type = 'text',value}: IInputProps, ref) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const isMobile = isMobileBrowser();const handleChange = useCallback((e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) =>@@ -159,61 +158,63 @@ const Input = React.forwardRef<any, IInputProps>(({const clearInput = useCallback(() => onChange(''), []);- return (<div className = { clsx(styles.inputContainer, className) }>- {label && <span className = { clsx(styles.label, isMobile && 'is-mobile') }>{label}</span>}- <div className = { styles.fieldContainer }>- {icon && <Icon- { ...(iconClick ? { tabIndex: 0 } : {}) }- className = { clsx(styles.icon, iconClick && styles.iconClickable) }- onClick = { iconClick }- size = { 20 }- src = { icon } />}- {textarea ? (- <TextareaAutosize- aria-label = { accessibilityLabel }- autoFocus = { autoFocus }- className = { clsx(styles.input, isMobile && 'is-mobile',- error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }- disabled = { disabled }- { ...(id ? { id } : {}) }- maxRows = { maxRows }- minRows = { minRows }- name = { name }- onChange = { handleChange }- onKeyPress = { onKeyPress }- placeholder = { placeholder }- ref = { ref }- value = { value } />- ) : (- <input- aria-label = { accessibilityLabel }- autoFocus = { autoFocus }- className = { clsx(styles.input, isMobile && 'is-mobile',- error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }- disabled = { disabled }- { ...(id ? { id } : {}) }- maxLength = { maxLength }- name = { name }- onChange = { handleChange }- onKeyPress = { onKeyPress }- placeholder = { placeholder }- ref = { ref }- type = { type }- value = { value } />- )}- {clearable && !disabled && value !== '' && <button className = { styles.clearButton }>- <Icon- onClick = { clearInput }+ return (+ <div className = { cx(styles.inputContainer, className) }>+ {label && <span className = { cx(styles.label, isMobile && 'is-mobile') }>{label}</span>}+ <div className = { styles.fieldContainer }>+ {icon && <Icon+ { ...(iconClick ? { tabIndex: 0 } : {}) }+ className = { cx(styles.icon, iconClick && styles.iconClickable) }+ onClick = { iconClick }size = { 20 }- src = { IconCloseCircle } />- </button>}+ src = { icon } />}+ {textarea ? (+ <TextareaAutosize+ aria-label = { accessibilityLabel }+ autoFocus = { autoFocus }+ className = { cx(styles.input, isMobile && 'is-mobile',+ error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }+ disabled = { disabled }+ { ...(id ? { id } : {}) }+ maxRows = { maxRows }+ minRows = { minRows }+ name = { name }+ onChange = { handleChange }+ onKeyPress = { onKeyPress }+ placeholder = { placeholder }+ ref = { ref }+ value = { value } />+ ) : (+ <input+ aria-label = { accessibilityLabel }+ autoFocus = { autoFocus }+ className = { cx(styles.input, isMobile && 'is-mobile',+ error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }+ disabled = { disabled }+ { ...(id ? { id } : {}) }+ maxLength = { maxLength }+ name = { name }+ onChange = { handleChange }+ onKeyPress = { onKeyPress }+ placeholder = { placeholder }+ ref = { ref }+ type = { type }+ value = { value } />+ )}+ {clearable && !disabled && value !== '' && <button className = { styles.clearButton }>+ <Icon+ onClick = { clearInput }+ size = { 20 }+ src = { IconCloseCircle } />+ </button>}+ </div>+ {bottomLabel && (+ <span className = { cx(styles.bottomLabel, isMobile && 'is-mobile', error && 'error') }>+ {bottomLabel}+ </span>+ )}</div>- {bottomLabel && (- <span className = { clsx(styles.bottomLabel, isMobile && 'is-mobile', error && 'error') }>- {bottomLabel}- </span>- )}- </div>);+ );});export default Input;diff --git a/react/features/base/ui/components/web/Switch.tsx b/react/features/base/ui/components/web/Switch.tsxindex 8262955430..1c9f5d9451 100644--- a/react/features/base/ui/components/web/Switch.tsx+++ b/react/features/base/ui/components/web/Switch.tsx@@ -1,6 +1,6 @@-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';+import { makeStyles } from 'tss-react/mui';import { isMobileBrowser } from '../../../environment/utils';import { SwitchProps } from '../types';@@ -13,7 +13,7 @@ interface Props extends SwitchProps {id?: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {position: 'relative',@@ -79,25 +79,27 @@ const useStyles = makeStyles((theme: any) => {});const Switch = ({ id, checked, disabled, onChange }: Props) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const isMobile = isMobileBrowser();const change = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {onChange(e.target.checked);}, []);- return (<label- className = { clsx('toggle-container', styles.container, checked && styles.containerOn,- isMobile && 'is-mobile', disabled && 'disabled') }>- <input- type = 'checkbox'- { ...(id ? { id } : {}) }- checked = { checked }- className = { styles.checkbox }- disabled = { disabled }- onChange = { change } />- <div className = { clsx('toggle', styles.toggle, checked && styles.toggleOn, isMobile && 'is-mobile') } />- </label>);+ return (+ <label+ className = { cx('toggle-container', styles.container, checked && styles.containerOn,+ isMobile && 'is-mobile', disabled && 'disabled') }>+ <input+ type = 'checkbox'+ { ...(id ? { id } : {}) }+ checked = { checked }+ className = { styles.checkbox }+ disabled = { disabled }+ onChange = { change } />+ <div className = { cx('toggle', styles.toggle, checked && styles.toggleOn, isMobile && 'is-mobile') } />+ </label>+ );};export default Switch;diff --git a/react/features/base/ui/constants.ts b/react/features/base/ui/constants.tsindex cf88875510..9879377876 100644--- a/react/features/base/ui/constants.ts+++ b/react/features/base/ui/constants.ts@@ -1,4 +1,4 @@-import { Theme } from './types';+import { Theme } from '@mui/material';/*** The types of the buttons.@@ -19,24 +19,6 @@ export const BUTTON_MODES: {CONTAINED: 'contained'};-/**- * An object containing all the class names for common CSS.- * Add a new name here and the styles to {@code commonStyles} object.- *- */-export const commonClassName = {- emptyList: 'empty-list',- muteDialog: 'mute-dialog',- overflowMenuItem: 'overflow-menu-item',- overflowMenuItemIcon: 'overflow-menu-item-icon',- participantAvatar: 'participant-avatar',- prejoinDialog: 'prejoin-dialog',- prejoinDialogButton: 'prejoin-dialog-btn',- toolboxIcon: 'toolbox-icon',- toolboxButton: 'toolbox-button',- toolboxContentItems: 'toolbox-content-items'-};-/*** Returns an object containing the declaration of the common, reusable CSS classes.*@@ -46,15 +28,15 @@ export const commonClassName = {*/export const commonStyles = (theme: Theme) => {return {- // '.empty-list'- [commonClassName.emptyList]: {+ '.empty-list': {listStyleType: 'none',margin: 0,padding: 0},- [commonClassName.muteDialog]: {++ '.mute-dialog': {'& .separator-line': {- margin: `${theme.spacing(4)}px 0 ${theme.spacing(4)}px -20px`,+ margin: `${theme.spacing(4)} 0 ${theme.spacing(4)} -20px`,padding: '0 20px',width: '100%',height: '1px',@@ -64,14 +46,15 @@ export const commonStyles = (theme: Theme) => {'& .control-row': {display: 'flex',justifyContent: 'space-between',- marginTop: `${theme.spacing(3)}px`,+ marginTop: theme.spacing(3),'& label': {fontSize: '14px'}}},- [commonClassName.overflowMenuItem]: {++ '.overflow-menu-item': {alignItems: 'center',color: theme.palette.text01,cursor: 'pointer',@@ -81,7 +64,7 @@ export const commonStyles = (theme: Theme) => {height: 40,lineHeight: '24px',padding: '8px 16px',- boxSizing: 'border-box',+ boxSizing: 'border-box' as const,'& > div': {display: 'flex',alignItems: 'center'@@ -113,7 +96,8 @@ export const commonStyles = (theme: Theme) => {}}},- [commonClassName.overflowMenuItemIcon]: {++ '.overflow-menu-item-icon': {marginRight: '16px','& i': {@@ -138,10 +122,12 @@ export const commonStyles = (theme: Theme) => {width: 20}},- [commonClassName.participantAvatar]: {- margin: `${theme.spacing(2)}px ${theme.spacing(3)}px ${theme.spacing(2)}px 0`++ '.participant-avatar': {+ margin: `${theme.spacing(2)} ${theme.spacing(3)} ${theme.spacing(2)} 0`},- [commonClassName.prejoinDialog]: {++ '.prejoin-dialog': {background: '#1C2025',boxShadow: '0px 2px 20px rgba(0, 0, 0, 0.5)',borderRadius: '5px',@@ -149,53 +135,53 @@ export const commonStyles = (theme: Theme) => {height: '400px',width: '375px',- [`${commonClassName.prejoinDialog}--small`]: {+ '.prejoin-dialog--small': {height: 300,width: 400},- [`${commonClassName.prejoinDialog}-label`]: {+ '.prejoin-dialog-label': {fontSize: '15px',lineHeight: '24px'},- [`${commonClassName.prejoinDialog}-label-num`]: {+ '.prejoin-dialog-label-num': {background: '#2b3b4b',border: '1px solid #A4B8D1',borderRadius: '50%',color: '#fff',display: 'inline-block',height: '24px',- marginRight: `${theme.spacing(2)}px`,+ marginRight: theme.spacing(2),width: '24px'},- [`${commonClassName.prejoinDialog}-container`]: {+ '.prejoin-dialog-container': {alignItems: 'center',background: 'rgba(0,0,0,0.6)',display: 'flex',height: '100vh',justifyContent: 'center',left: 0,- position: 'absolute',+ position: 'absolute' as const,top: 0,width: '100vw',zIndex: 3},- [`${commonClassName.prejoinDialog}-flag`]: {+ '.prejoin-dialog-flag': {display: 'inline-block',- marginRight: `${theme.spacing(2)}px}`,+ marginRight: theme.spacing(2),transform: 'scale(1.2)'},- [`${commonClassName.prejoinDialog}-title`]: {+ '.prejoin-dialog-title': {display: 'inline-block',fontSize: '24px',lineHeight: '32px'},- [`${commonClassName.prejoinDialog}-icon`]: {+ '.prejoin-dialog-icon': {cursor: 'pointer','& > svg': {@@ -203,15 +189,15 @@ export const commonStyles = (theme: Theme) => {}},- [commonClassName.prejoinDialogButton]: {+ '.prejoin-dialog-btn': {width: '309px'},- [`${commonClassName.prejoinDialog}-dialin-container`]: {- textAlign: 'center'+ '.prejoin-dialog-dialin-container': {+ textAlign: 'center' as const},- [`${commonClassName.prejoinDialog}-delimiter`]: {+ '.prejoin-dialog-delimiter': {background: '#5f6266',border: '0',height: '1px',@@ -220,37 +206,37 @@ export const commonStyles = (theme: Theme) => {width: '100%'},- [`${commonClassName.prejoinDialog}-delimiter-container`]: {- margin: `${theme.spacing(3)}px 0 ${theme.spacing(4)}px 0`,- position: 'relative'+ '.prejoin-dialog-delimiter-container': {+ margin: `${theme.spacing(3)} 0 ${theme.spacing(4)} 0`,+ position: 'relative' as const},- [`${commonClassName.prejoinDialog}-delimiter-txt-container`]: {- position: 'absolute',- textAlign: 'center',+ '.prejoin-dialog-delimiter-txt-container': {+ position: 'absolute' as const,+ textAlign: 'center' as const,top: '-8px',width: '100%'},- [`${commonClassName.prejoinDialog}-delimiter-txt`]: {+ '.prejoin-dialog-delimiter-txt': {background: '#1C2025',color: '#5f6266',fontSize: '11px',- textTransform: 'uppercase',- padding: `0 ${theme.spacing(2)}px`+ textTransform: 'uppercase' as const,+ padding: `0 ${theme.spacing(2)}`}},- [commonClassName.prejoinDialogButton]: {- [`&.primary, &${commonClassName.prejoinDialogButton}.text`]: {+ '.prejoin-dialog-btn': {+ '&.primary, &.prejoin-dialog-btn.text': {width: '310px'}},- [commonClassName.toolboxIcon]: {+ '.toolbox-icon': {display: 'flex',borderRadius: 3,- flexDirection: 'column',+ flexDirection: 'column' as const,fontSize: 24,height: 48,justifyContent: 'center',@@ -261,7 +247,7 @@ export const commonStyles = (theme: Theme) => {background: theme.palette.ui04}},- [theme.breakpoints.down('320')]: {+ [theme.breakpoints.down(320)]: {height: 36,width: 36},@@ -279,20 +265,22 @@ export const commonStyles = (theme: Theme) => {}}},- [commonClassName.toolboxButton]: {++ '.toolbox-button': {color: theme.palette.text01,cursor: 'pointer',display: 'inline-block',lineHeight: '48px',- textAlign: 'center'+ textAlign: 'center' as const},- [commonClassName.toolboxContentItems]: {++ '.toolbox-content-items': {background: theme.palette.ui01,borderRadius: 6,margin: '0 auto',padding: 6,- textAlign: 'center',- pointerEvents: 'all',+ textAlign: 'center' as const,+ pointerEvents: 'all' as const,boxShadow: '0px 2px 8px 4px rgba(0, 0, 0, 0.25), 0px 0px 0px 1px rgba(0, 0, 0, 0.15)','& > div': {diff --git a/react/features/base/ui/functions.web.ts b/react/features/base/ui/functions.web.tsindex a3af4459aa..17907c4a69 100644--- a/react/features/base/ui/functions.web.ts+++ b/react/features/base/ui/functions.web.ts@@ -1,8 +1,17 @@-import { createMuiTheme } from '@material-ui/core/styles';+import { createTheme, adaptV4Theme } from '@mui/material/styles';++import { Palette as Palette1, Typography } from '../ui/types';-import { Theme } from './types';import { createColorTokens } from './utils';+declare module '@mui/material/styles' {+ // eslint-disable-next-line @typescript-eslint/no-empty-interface+ interface Palette extends Palette1 {}++ // eslint-disable-next-line @typescript-eslint/no-empty-interface+ interface TypographyVariants extends Typography {}+}+interface ThemeProps {breakpoints: Object;colorMap: Object;@@ -19,41 +28,19 @@ interface ThemeProps {* @param {Object} arg - The ui tokens.* @returns {Object}*/-export function createWebTheme({ font, colors, colorMap, shape, spacing, typography, breakpoints }: ThemeProps): Theme {- return createMuiTheme({- props: {- // disable ripple effect on buttons globally- MuiButtonBase: {- disableRipple: true- }- },-- // use token spacing array- spacing- }, {+export function createWebTheme({ font, colors, colorMap, shape, spacing, typography, breakpoints }: ThemeProps) {+ return createTheme(adaptV4Theme({+ spacing,palette: createColorTokens(colorMap, colors),shape,++ // @ts-ignoretypography: {+ // @ts-ignorefont,...typography},breakpoints- }) as unknown as Theme;-}--/**- * Formats the common styles object to be interpreted as proper CSS.- *- * @param {Object} stylesObj - The styles object.- * @returns {Object}- */-export function formatCommonClasses(stylesObj: Object) {- const formatted: any = {};-- for (const [ key, value ] of Object.entries(stylesObj)) {- formatted[`.${key}`] = value;- }-- return formatted;+ }));}diff --git a/react/features/base/ui/types.ts b/react/features/base/ui/types.tsindex a7ea0ad57b..1d1de7f632 100644--- a/react/features/base/ui/types.ts+++ b/react/features/base/ui/types.ts@@ -5,85 +5,76 @@ interface TypographyType {lineHeight: number;}-export interface Theme {- breakpoints: {- down: (value: number | string) => string;- up: (value: number | string) => string;- };- palette: {- action01: string;- action01Active: string;- action01Hover: string;- action02: string;- action02Active: string;- action02Hover: string;- action03: string;- action03Active: string;- action03Hover: string;- actionDanger: string;- actionDangerActive: string;- actionDangerHover: string;- disabled01: string;- field01: string;- focus01: string;- icon01: string;- icon02: string;- icon03: string;- icon04: string;- iconError: string;- link01: string;- link01Active: string;- link01Hover: string;- success01: string;- success02: string;- support01: string;- support02: string;- support03: string;- support04: string;- support05: string;- support06: string;- support07: string;- support08: string;- support09: string;- text01: string;- text02: string;- text03: string;- text04: string;- textError: string;- ui01: string;- ui02: string;- ui03: string;- ui04: string;- ui05: string;- ui06: string;- ui07: string;- ui08: string;- ui09: string;- ui10: string;- uiBackground: string;- warning01: string;- warning02: string;- };- shape: {- borderRadius: number;- };- spacing: (index: number) => number;- typography: {- bodyLongBold: TypographyType;- bodyLongBoldLarge: TypographyType;- bodyLongRegular: TypographyType;- bodyLongRegularLarge: TypographyType;- bodyShortBold: TypographyType;- bodyShortBoldLarge: TypographyType;- bodyShortRegular: TypographyType;- bodyShortRegularLarge: TypographyType;- heading1: TypographyType;- heading2: TypographyType;- heading3: TypographyType;- heading4: TypographyType;- heading5: TypographyType;- heading6: TypographyType;- labelBold: TypographyType;- labelRegular: TypographyType;- };+export interface Palette {+ action01: string;+ action01Active: string;+ action01Hover: string;+ action02: string;+ action02Active: string;+ action02Hover: string;+ action03: string;+ action03Active: string;+ action03Hover: string;+ actionDanger: string;+ actionDangerActive: string;+ actionDangerHover: string;+ disabled01: string;+ field01: string;+ focus01: string;+ icon01: string;+ icon02: string;+ icon03: string;+ icon04: string;+ iconError: string;+ link01: string;+ link01Active: string;+ link01Hover: string;+ success01: string;+ success02: string;+ support01: string;+ support02: string;+ support03: string;+ support04: string;+ support05: string;+ support06: string;+ support07: string;+ support08: string;+ support09: string;+ text01: string;+ text02: string;+ text03: string;+ text04: string;+ textError: string;+ ui01: string;+ ui02: string;+ ui03: string;+ ui04: string;+ ui05: string;+ ui06: string;+ ui07: string;+ ui08: string;+ ui09: string;+ ui10: string;+ uiBackground: string;+ warning01: string;+ warning02: string;+}++export interface Typography {+ bodyLongBold: TypographyType;+ bodyLongBoldLarge: TypographyType;+ bodyLongRegular: TypographyType;+ bodyLongRegularLarge: TypographyType;+ bodyShortBold: TypographyType;+ bodyShortBoldLarge: TypographyType;+ bodyShortRegular: TypographyType;+ bodyShortRegularLarge: TypographyType;+ heading1: TypographyType;+ heading2: TypographyType;+ heading3: TypographyType;+ heading4: TypographyType;+ heading5: TypographyType;+ heading6: TypographyType;+ labelBold: TypographyType;+ labelRegular: TypographyType;}diff --git a/react/features/chat/components/web/GifMessage.tsx b/react/features/chat/components/web/GifMessage.tsxindex 457e19155c..bab8ef9ecf 100644--- a/react/features/chat/components/web/GifMessage.tsx+++ b/react/features/chat/components/web/GifMessage.tsx@@ -1,5 +1,5 @@-import { makeStyles } from '@material-ui/styles';import React from 'react';+import { makeStyles } from 'tss-react/mui';type Props = {@@ -9,7 +9,7 @@ type Props = {url: string;};-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {container: {display: 'flex',@@ -21,14 +21,14 @@ const useStyles = makeStyles(() => {maxWidth: '100%',maxHeight: '100%',objectFit: 'contain',- flexGrow: '1'+ flexGrow: 1}}};});const GifMessage = ({ url }: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();return (<div className = { styles.container }><imgdiff --git a/react/features/chat/components/web/NewMessagesButton.tsx b/react/features/chat/components/web/NewMessagesButton.tsxindex a858886617..44200a32ba 100644--- a/react/features/chat/components/web/NewMessagesButton.tsx+++ b/react/features/chat/components/web/NewMessagesButton.tsx@@ -1,6 +1,7 @@-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../../base/i18n/functions';import Icon from '../../../base/icons/components/Icon';@@ -15,7 +16,7 @@ export interface INewMessagesButtonProps extends WithTranslation {onGoToFirstUnreadMessage: () => void;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {position: 'absolute',@@ -70,7 +71,7 @@ const useStyles = makeStyles((theme: any) => {* @returns {JSX.Element}*/function NewMessagesButton({ onGoToFirstUnreadMessage, t }: INewMessagesButtonProps): JSX.Element {- const styles = useStyles();+ const { classes: styles } = useStyles();return (<divdiff --git a/react/features/chat/components/web/TouchmoveHack.tsx b/react/features/chat/components/web/TouchmoveHack.tsxindex a0480a839a..5444d88a3d 100644--- a/react/features/chat/components/web/TouchmoveHack.tsx+++ b/react/features/chat/components/web/TouchmoveHack.tsx@@ -1,6 +1,5 @@-import { makeStyles } from '@material-ui/core/styles';-import clsx from 'clsx';import React, { ReactElement, useEffect, useRef } from 'react';+import { makeStyles } from 'tss-react/mui';import { isMobileBrowser } from '../../../base/environment/utils';@@ -23,7 +22,7 @@ type Props = {};-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {flex: {display: 'flex',@@ -72,11 +71,11 @@ function TouchmoveHack({ children, isModal, flex }: Props) {}};}, []);- const classes = useStyles();+ const { classes, cx } = useStyles();return (<div- className = { clsx(classes.base, flex && classes.flex) }+ className = { cx(classes.base, flex && classes.flex) }ref = { touchMoveElementRef }>{children}</div>diff --git a/react/features/conference/components/web/RaisedHandsCountLabel.tsx b/react/features/conference/components/web/RaisedHandsCountLabel.tsxindex fb69b040aa..785bad3ad6 100644--- a/react/features/conference/components/web/RaisedHandsCountLabel.tsx+++ b/react/features/conference/components/web/RaisedHandsCountLabel.tsx@@ -1,19 +1,20 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';import { IconRaisedHand } from '../../../base/icons/svg';import Label from '../../../base/label/components/web/Label';// @ts-ignoreimport { Tooltip } from '../../../base/tooltip';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';// @ts-ignoreimport { open as openParticipantsPane } from '../../../participants-pane/actions';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {label: {backgroundColor: theme.palette.warning02,@@ -24,7 +25,7 @@ const useStyles = makeStyles((theme: any) => {});const RaisedHandsCountLabel = () => {- const styles = useStyles();+ const { classes: styles, theme } = useStyles();const dispatch = useDispatch();const raisedHandsCount = useSelector((state: IState) =>(state['features/base/participants'].raisedHandsQueue || []).length);@@ -39,7 +40,7 @@ const RaisedHandsCountLabel = () => {<LabelclassName = { styles.label }icon = { IconRaisedHand }- iconColor = { BaseTheme.palette.uiBackground }+ iconColor = { theme.palette.uiBackground }id = 'raisedHandsCountLabel'onClick = { onClick }text = { `${raisedHandsCount}` } />diff --git a/react/features/connection-indicator/components/web/ConnectionIndicator.tsx b/react/features/connection-indicator/components/web/ConnectionIndicator.tsxindex 6773f3ff09..68cf3c3e62 100644--- a/react/features/connection-indicator/components/web/ConnectionIndicator.tsx+++ b/react/features/connection-indicator/components/web/ConnectionIndicator.tsx@@ -1,5 +1,7 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React from 'react';import { WithTranslation } from 'react-i18next';@@ -116,11 +118,10 @@ type Props = AbstractProps & WithTranslation & {*/audioSsrc: number;-/*** An object containing the CSS classes.*/- classes: Object;+ classes: any;/*** The Redux dispatch function.@@ -153,7 +154,7 @@ type State = AbstractState & {popoverVisible: boolean;};-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {container: {display: 'inline-block'diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsxindex d6b9bba62b..e93c4cb435 100644--- a/react/features/connection-stats/components/ConnectionStatsTable.tsx+++ b/react/features/connection-stats/components/ConnectionStatsTable.tsx@@ -1,4 +1,5 @@-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -193,11 +194,11 @@ function onClick(event: React.MouseEvent) {event.stopPropagation();}-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {actions: {margin: '10px auto',- textAlign: 'center'+ textAlign: 'center' as const},connectionStatsTable: {'&, & > table': {@@ -221,17 +222,17 @@ const styles = (theme: any) => {}},contextMenu: {- position: 'relative',+ position: 'relative' as const,marginTop: 0,right: 'auto',- padding: `${theme.spacing(2)}px ${theme.spacing(1)}px`,- marginLeft: `${theme.spacing(1)}px`,- marginRight: `${theme.spacing(1)}px`,- marginBottom: `${theme.spacing(1)}px`+ padding: `${theme.spacing(2)} ${theme.spacing(1)}`,+ marginLeft: theme.spacing(1),+ marginRight: theme.spacing(1),+ marginBottom: theme.spacing(1)},download: {},mobile: {- margin: `${theme.spacing(3)}px`+ margin: theme.spacing(3)},status: {fontWeight: 'bold'@@ -961,5 +962,4 @@ function getStringFromArray(array: string[]) {return res;}-// @ts-ignoreexport default translate(withStyles(styles)(ConnectionStatsTable));diff --git a/react/features/display-name/components/web/DisplayName.tsx b/react/features/display-name/components/web/DisplayName.tsxindex c778134636..dfaa9df396 100644--- a/react/features/display-name/components/web/DisplayName.tsx+++ b/react/features/display-name/components/web/DisplayName.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';import { connect } from 'react-redux';@@ -13,6 +14,7 @@ import {} from '../../../base/participants/functions';// @ts-ignoreimport { updateSettings } from '../../../base/settings';+import { withPixelLineHeight } from '../../../base/styles/functions.web';// @ts-ignoreimport { Tooltip } from '../../../base/tooltip';// @ts-ignore@@ -88,11 +90,10 @@ type State = {isEditing: boolean;};-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {displayName: {- ...theme.typography.labelBold,- lineHeight: `${theme.typography.labelBold.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.labelBold),color: theme.palette.text01,overflow: 'hidden',textOverflow: 'ellipsis',@@ -105,8 +106,7 @@ const styles = (theme: any) => {background: 'none',boxShadow: 'none',padding: 0,- ...theme.typography.labelBold,- lineHeight: `${theme.typography.labelBold.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.labelBold),color: theme.palette.text01}};diff --git a/react/features/display-name/components/web/DisplayNameBadge.tsx b/react/features/display-name/components/web/DisplayNameBadge.tsxindex 5925ef8426..0962c75d97 100644--- a/react/features/display-name/components/web/DisplayNameBadge.tsx+++ b/react/features/display-name/components/web/DisplayNameBadge.tsx@@ -1,9 +1,8 @@-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';-import { Theme } from '../../../base/ui/types';--const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {const { text01 } = theme.palette;return {@@ -27,7 +26,7 @@ const useStyles = makeStyles((theme: Theme) => {* @returns {ReactElement}*/const DisplayNameBadge: React.FC<{ name: string; }> = ({ name }) => {- const classes = useStyles();+ const { classes } = useStyles();return (<div className = { classes.badge }>diff --git a/react/features/display-name/components/web/StageParticipantNameLabel.tsx b/react/features/display-name/components/web/StageParticipantNameLabel.tsxindex 4b52531035..c617f848de 100644--- a/react/features/display-name/components/web/StageParticipantNameLabel.tsx+++ b/react/features/display-name/components/web/StageParticipantNameLabel.tsx@@ -1,8 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';-import clsx from 'clsx';++import { Theme } from '@mui/material';import React from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';// @ts-ignore@@ -19,7 +20,7 @@ import { isLayoutTileView } from '../../../video-layout';import DisplayNameBadge from './DisplayNameBadge';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {badgeContainer: {...withPixelLineHeight(theme.typography.bodyShortRegularLarge),@@ -47,7 +48,7 @@ const useStyles = makeStyles((theme: any) => {* @returns {ReactElement|null}*/const StageParticipantNameLabel = () => {- const classes = useStyles();+ const { classes, cx } = useStyles();const largeVideoParticipant: Participant = useSelector(getLargeVideoParticipant);const selectedId = largeVideoParticipant?.id;const nameToDisplay = useSelector((state: IState) => getParticipantDisplayName(state, selectedId));@@ -62,7 +63,7 @@ const StageParticipantNameLabel = () => {if (showDisplayName && nameToDisplay && selectedId !== localId && !isTileView) {return (<div- className = { clsx(+ className = { cx('stage-participant-label',classes.badgeContainer,toolboxVisible && classes.containerElevateddiff --git a/react/features/dynamic-branding/functions.web.ts b/react/features/dynamic-branding/functions.web.tsindex c597b53be3..173e050d39 100644--- a/react/features/dynamic-branding/functions.web.ts+++ b/react/features/dynamic-branding/functions.web.ts@@ -1,4 +1,5 @@-import { createMuiTheme } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { createTheme, adaptV4Theme } from '@mui/material/styles';import { font, colors, colorMap, spacing, shape, typography, breakpoints } from '../base/ui/Tokens';import { createColorTokens } from '../base/ui/utils';@@ -9,7 +10,7 @@ import { createColorTokens } from '../base/ui/utils';* @param {Object} customTheme - The branded custom theme.* @returns {Object} - The MUI theme.*/-export function createMuiBrandingTheme(customTheme: any) {+export function createMuiBrandingTheme(customTheme: Theme) {const {palette: customPalette,shape: customShape,@@ -45,28 +46,23 @@ export function createMuiBrandingTheme(customTheme: any) {overwriteRecurrsive(newBreakpoints, customBreakpoints);}- let newSpacing = [ ...spacing ];+ let newSpacing: any = [ ...spacing ];if (customSpacing?.length) {newSpacing = customSpacing;}- return createMuiTheme({- props: {- // disable ripple effect on buttons globally- MuiButtonBase: {- disableRipple: true- }- },-- // use token spacing array- spacing: newSpacing- }, {+ return createTheme(adaptV4Theme({+ spacing: newSpacing,palette: newPalette,shape: newShape,++ // @ts-ignoretypography: newTypography,++ // @ts-ignorebreakpoints: newBreakpoints- });+ }));}/**diff --git a/react/features/filmstrip/components/web/Filmstrip.tsx b/react/features/filmstrip/components/web/Filmstrip.tsxindex 971f71e2fa..04c0acead0 100644--- a/react/features/filmstrip/components/web/Filmstrip.tsx+++ b/react/features/filmstrip/components/web/Filmstrip.tsx@@ -1,5 +1,5 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import _ from 'lodash';import React, { PureComponent } from 'react';diff --git a/react/features/filmstrip/components/web/PinnedIndicator.tsx b/react/features/filmstrip/components/web/PinnedIndicator.tsxindex c10e6e3d47..ed8f2cc53c 100644--- a/react/features/filmstrip/components/web/PinnedIndicator.tsx+++ b/react/features/filmstrip/components/web/PinnedIndicator.tsx@@ -1,6 +1,6 @@-import { makeStyles } from '@material-ui/styles';import React from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';import { IconPinParticipant } from '../../../base/icons/svg';@@ -32,7 +32,7 @@ type Props = {tooltipPosition: string;};-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {pinnedIndicator: {backgroundColor: 'rgba(0, 0, 0, .7)',@@ -60,7 +60,7 @@ const PinnedIndicator = ({const activePinnedParticipants: Array<{ participantId: string; pinned: boolean; }>= useSelector(getPinnedActiveParticipants);const isPinned = activePinnedParticipants.find(p => p.participantId === participantId);- const styles = useStyles();+ const { classes: styles } = useStyles();if ((stageFilmstrip && !isPinned) || (!stageFilmstrip && !pinned)) {return null;diff --git a/react/features/filmstrip/components/web/RaisedHandIndicator.tsx b/react/features/filmstrip/components/web/RaisedHandIndicator.tsxindex 13323a2f1e..b8e4cc983a 100644--- a/react/features/filmstrip/components/web/RaisedHandIndicator.tsx+++ b/react/features/filmstrip/components/web/RaisedHandIndicator.tsx@@ -1,13 +1,13 @@-import { makeStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';import React from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';import { IconRaisedHand } from '../../../base/icons/svg';import { getParticipantById, hasRaisedHand } from '../../../base/participants/functions';import { Participant } from '../../../base/participants/types';import BaseIndicator from '../../../base/react/components/web/BaseIndicator';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';/*** The type of the React {@code Component} props of {@link RaisedHandIndicator}.@@ -31,7 +31,7 @@ type Props = {tooltipPosition: string;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {raisedHandIndicator: {backgroundColor: theme.palette.warning02,@@ -57,7 +57,7 @@ const RaisedHandIndicator = ({const participant: Participant | undefined = useSelector((state: IState) =>getParticipantById(state, participantId));const _raisedHand = hasRaisedHand(participant);- const styles = useStyles();+ const { classes: styles, theme } = useStyles();if (!_raisedHand) {return null;@@ -67,7 +67,7 @@ const RaisedHandIndicator = ({<div className = { styles.raisedHandIndicator }><BaseIndicatoricon = { IconRaisedHand }- iconColor = { BaseTheme.palette.uiBackground }+ iconColor = { theme.palette.uiBackground }iconSize = { `${iconSize}px` }tooltipKey = 'raisedHand'tooltipPosition = { tooltipPosition } />diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsxindex caa590bafc..375ccf042f 100644--- a/react/features/filmstrip/components/web/Thumbnail.tsx+++ b/react/features/filmstrip/components/web/Thumbnail.tsx@@ -1,8 +1,10 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import debounce from 'lodash/debounce';import React, { Component } from 'react';+import { connect } from 'react-redux';import { createScreenSharingIssueEvent } from '../../../analytics/AnalyticsEvents';import { sendAnalytics } from '../../../analytics/functions';@@ -23,7 +25,6 @@ import {hasRaisedHand} from '../../../base/participants/functions';import { Participant } from '../../../base/participants/types';-import { connect } from '../../../base/redux/functions';import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui/constants';// @ts-ignoreimport { isTestModeEnabled } from '../../../base/testing';@@ -279,19 +280,19 @@ export type Props = {width?: number;};-const defaultStyles = (theme: any) => {+const defaultStyles = (theme: Theme) => {return {indicatorsContainer: {- position: 'absolute',- padding: `${theme.spacing(1)}px`,+ position: 'absolute' as const,+ padding: theme.spacing(1),zIndex: 10,width: '100%',- boxSizing: 'border-box',+ boxSizing: 'border-box' as const,display: 'flex',left: 0,'&.tile-view-mode': {- padding: `${theme.spacing(2)}px`+ padding: theme.spacing(2)}},@@ -326,7 +327,7 @@ const defaultStyles = (theme: any) => {},containerBackground: {- position: 'absolute',+ position: 'absolute' as const,top: 0,left: 0,height: '100%',@@ -336,7 +337,7 @@ const defaultStyles = (theme: any) => {},borderIndicator: {- position: 'absolute',+ position: 'absolute' as const,width: '100%',height: '100%',zIndex: 9,@@ -360,7 +361,7 @@ const defaultStyles = (theme: any) => {},gif: {- position: 'absolute',+ position: 'absolute' as const,width: '100%',height: '100%',zIndex: 11,@@ -1309,5 +1310,4 @@ function _mapStateToProps(state: IState, ownProps: any): Object {};}-// @ts-ignoreexport default connect(_mapStateToProps)(withStyles(defaultStyles)(Thumbnail));diff --git a/react/features/filmstrip/components/web/ThumbnailBottomIndicators.tsx b/react/features/filmstrip/components/web/ThumbnailBottomIndicators.tsxindex b72ac75c5e..6b5de5580b 100644--- a/react/features/filmstrip/components/web/ThumbnailBottomIndicators.tsx+++ b/react/features/filmstrip/components/web/ThumbnailBottomIndicators.tsx@@ -1,7 +1,8 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';+import React from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import {getMultipleVideoSupportFeatureFlag,@@ -51,7 +52,7 @@ type Props = {thumbnailType: string;};-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {nameContainer: {display: 'flex',@@ -78,7 +79,7 @@ const ThumbnailBottomIndicators = ({showStatusIndicators = true,thumbnailType}: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const _allowEditing = !useSelector(isNameReadOnly);const _defaultLocalDisplayName = interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME;const _isMultiStreamEnabled = useSelector(getMultipleVideoSupportFeatureFlag);diff --git a/react/features/filmstrip/components/web/ThumbnailTopIndicators.tsx b/react/features/filmstrip/components/web/ThumbnailTopIndicators.tsxindex 5faa0b89c2..bcd6341416 100644--- a/react/features/filmstrip/components/web/ThumbnailTopIndicators.tsx+++ b/react/features/filmstrip/components/web/ThumbnailTopIndicators.tsx@@ -1,8 +1,8 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';+import React from 'react';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';// @ts-ignore@@ -72,7 +72,7 @@ type Props = {thumbnailType: string;};-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {container: {display: 'flex',@@ -95,7 +95,7 @@ const ThumbnailTopIndicators = ({showPopover,thumbnailType}: Props) => {- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const _isMobile = isMobileBrowser();const { NORMAL = 16 } = interfaceConfig.INDICATOR_FONT_SIZES || {};@@ -124,44 +124,43 @@ const ThumbnailTopIndicators = ({const tooltipPosition = getIndicatorsTooltipPosition(thumbnailType);- return (- <>- <div className = { styles.container }>- <PinnedIndicator+ return (<>+ <div className = { styles.container }>+ <PinnedIndicator+ iconSize = { _indicatorIconSize }+ participantId = { participantId }+ tooltipPosition = { tooltipPosition } />+ {!_connectionIndicatorDisabled+ && <ConnectionIndicator+ alwaysVisible = { showConnectionIndicator }+ enableStatsDisplay = { true }iconSize = { _indicatorIconSize }participantId = { participantId }- tooltipPosition = { tooltipPosition } />- {!_connectionIndicatorDisabled- && <ConnectionIndicator- alwaysVisible = { showConnectionIndicator }- enableStatsDisplay = { true }- iconSize = { _indicatorIconSize }- participantId = { participantId }- statsPopoverPosition = { STATS_POPOVER_POSITION[thumbnailType] } />- }- <RaisedHandIndicator- iconSize = { _indicatorIconSize }- participantId = { participantId }- tooltipPosition = { tooltipPosition } />- {thumbnailType !== THUMBNAIL_TYPE.TILE && (- <div className = { clsx(indicatorsClassName, 'top-indicators') }>- <StatusIndicators- participantID = { participantId }- screenshare = { !_isMultiStreamEnabled } />- </div>- )}- </div>- <div className = { styles.container }>- <VideoMenuTriggerButton- hidePopover = { hidePopover }- local = { local }- participantId = { participantId }- popoverVisible = { popoverVisible }- showPopover = { showPopover }- thumbnailType = { thumbnailType }- visible = { isHovered } />- </div>- </>);+ statsPopoverPosition = { STATS_POPOVER_POSITION[thumbnailType] } />+ }+ <RaisedHandIndicator+ iconSize = { _indicatorIconSize }+ participantId = { participantId }+ tooltipPosition = { tooltipPosition } />+ {thumbnailType !== THUMBNAIL_TYPE.TILE && (+ <div className = { cx(indicatorsClassName, 'top-indicators') }>+ <StatusIndicators+ participantID = { participantId }+ screenshare = { !_isMultiStreamEnabled } />+ </div>+ )}+ </div>+ <div className = { styles.container }>+ <VideoMenuTriggerButton+ hidePopover = { hidePopover }+ local = { local }+ participantId = { participantId }+ popoverVisible = { popoverVisible }+ showPopover = { showPopover }+ thumbnailType = { thumbnailType }+ visible = { isHovered } />+ </div>+ </>);};export default ThumbnailTopIndicators;diff --git a/react/features/gifs/components/web/GifsMenu.tsx b/react/features/gifs/components/web/GifsMenu.tsxindex 9be656c3e5..3f6401b56b 100644--- a/react/features/gifs/components/web/GifsMenu.tsx+++ b/react/features/gifs/components/web/GifsMenu.tsx@@ -1,18 +1,18 @@/* eslint-disable lines-around-comment */import { GiphyFetch, TrendingOptions } from '@giphy/js-fetch-api';import { Grid } from '@giphy/react-components';-import { makeStyles } from '@material-ui/core';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { useCallback, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';import { batch, useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { createGifSentEvent } from '../../../analytics/AnalyticsEvents';import { sendAnalytics } from '../../../analytics/functions';import { IState } from '../../../app/types';// @ts-ignoreimport InputField from '../../../base/premeeting/components/web/InputField';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';+import { withPixelLineHeight } from '../../../base/styles/functions.web';// @ts-ignoreimport { sendMessage } from '../../../chat/actions.any';import { SCROLL_SIZE } from '../../../filmstrip/constants';@@ -28,13 +28,13 @@ import { setGifDrawerVisibility } from '../../actions';// @ts-ignoreimport { formatGifUrlMessage, getGifAPIKey, getGifUrl } from '../../functions';-const OVERFLOW_DRAWER_PADDING = BaseTheme.spacing(3);+const OVERFLOW_DRAWER_PADDING = 16;-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {gifsMenu: {width: '100%',- marginBottom: `${theme.spacing(2)}px`,+ marginBottom: theme.spacing(2),display: 'flex',flexDirection: 'column',@@ -49,12 +49,11 @@ const useStyles = makeStyles((theme: any) => {borderRadius: `${theme.shape.borderRadius}px`,border: 'none',outline: 0,- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.bodyShortRegular),color: theme.palette.text01,- padding: `${theme.spacing(2)}px ${theme.spacing(3)}px`,+ padding: `${theme.spacing(2)} ${theme.spacing(3)}`,width: '100%',- marginBottom: `${theme.spacing(3)}px`+ marginBottom: theme.spacing(3)},gifContainer: {@@ -69,11 +68,11 @@ const useStyles = makeStyles((theme: any) => {alignItems: 'center',justifyContent: 'center',color: '#fff',- marginTop: `${theme.spacing(1)}px`+ marginTop: theme.spacing(1)},overflowMenu: {- padding: `${theme.spacing(3)}px`,+ padding: theme.spacing(3),width: '100%',boxSizing: 'border-box'},@@ -98,7 +97,7 @@ function GifsMenu() {const API_KEY: string = useSelector(getGifAPIKey);const giphyFetch = new GiphyFetch(API_KEY);const [ searchKey, setSearchKey ] = useState<string>();- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const dispatch = useDispatch();const { t } = useTranslation();const overflowDrawer: boolean = useSelector(showOverflowDrawer);@@ -190,18 +189,18 @@ function GifsMenu() {const gifMenu = (<div- className = { clsx(styles.gifsMenu,+ className = { cx(styles.gifsMenu,overflowDrawer && styles.overflowMenu) }><InputFieldautoFocus = { true }- className = { clsx(styles.searchField, 'gif-input') }+ className = { cx(styles.searchField, 'gif-input') }onChange = { handleSearchKeyChange }placeHolder = { t('giphy.search') }testId = 'gifSearch.key'type = 'text' /><div- className = { clsx(styles.gifContainer,+ className = { cx(styles.gifContainer,overflowDrawer && styles.gifContainerOverflow) }><Gridcolumns = { 2 }diff --git a/react/features/keyboard-shortcuts/components/web/KeyboardShortcutsDialog.tsx b/react/features/keyboard-shortcuts/components/web/KeyboardShortcutsDialog.tsxindex 74445c4ddb..458392fb6f 100644--- a/react/features/keyboard-shortcuts/components/web/KeyboardShortcutsDialog.tsx+++ b/react/features/keyboard-shortcuts/components/web/KeyboardShortcutsDialog.tsx@@ -1,4 +1,5 @@-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -31,7 +32,7 @@ interface Props extends WithTranslation {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {list: {listStyleType: 'none',diff --git a/react/features/large-video/components/ScreenSharePlaceholder.web.tsx b/react/features/large-video/components/ScreenSharePlaceholder.web.tsxindex b132dc901e..95e63fe869 100644--- a/react/features/large-video/components/ScreenSharePlaceholder.web.tsx+++ b/react/features/large-video/components/ScreenSharePlaceholder.web.tsx@@ -1,70 +1,72 @@/* eslint-disable lines-around-comment */-import { makeStyles, createStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { WithTranslation } from 'react-i18next';import { useStore } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../base/i18n/functions';-import { Theme } from '../../base/ui/types';// @ts-ignoreimport { setSeeWhatIsBeingShared } from '../actions.web';-const useStyles = makeStyles((theme: Theme) => createStyles({- overlayContainer: {- width: '100%',- height: '100%',- backgroundColor: theme.palette.ui02,- display: 'flex',- justifyContent: 'center',- alignItems: 'center',- position: 'absolute'- },- content: {- display: 'flex',- flexDirection: 'column',- alignItems: 'center',- justifyContent: 'center'- },- laptop: {- width: '88px',- height: '56px',- boxSizing: 'border-box',- border: '3px solid',- borderColor: theme.palette.text01,- borderRadius: '6px'- },- laptopStand: {- width: '40px',- height: '4px',- backgroundColor: theme.palette.text01,- boxSizing: 'border-box',- borderRadius: '6px',- marginTop: '4px'- },- sharingMessage: {- fontStyle: 'normal',- fontWeight: 600,- fontSize: '20px',- lineHeight: '28px',- marginTop: '24px',- letterSpacing: '-0.012em',- color: theme.palette.text01- },- showSharing: {- fontStyle: 'normal',- fontWeight: 600,- fontSize: '14px',- lineHeight: '20px',- height: '20px',- marginTop: '16px',- color: theme.palette.link01,- cursor: 'pointer',+const useStyles = makeStyles()((theme: Theme) => {+ return {+ overlayContainer: {+ width: '100%',+ height: '100%',+ backgroundColor: theme.palette.ui02,+ display: 'flex',+ justifyContent: 'center',+ alignItems: 'center',+ position: 'absolute'+ },+ content: {+ display: 'flex',+ flexDirection: 'column',+ alignItems: 'center',+ justifyContent: 'center'+ },+ laptop: {+ width: '88px',+ height: '56px',+ boxSizing: 'border-box',+ border: '3px solid',+ borderColor: theme.palette.text01,+ borderRadius: '6px'+ },+ laptopStand: {+ width: '40px',+ height: '4px',+ backgroundColor: theme.palette.text01,+ boxSizing: 'border-box',+ borderRadius: '6px',+ marginTop: '4px'+ },+ sharingMessage: {+ fontStyle: 'normal',+ fontWeight: 600,+ fontSize: '20px',+ lineHeight: '28px',+ marginTop: '24px',+ letterSpacing: '-0.012em',+ color: theme.palette.text01+ },+ showSharing: {+ fontStyle: 'normal',+ fontWeight: 600,+ fontSize: '14px',+ lineHeight: '20px',+ height: '20px',+ marginTop: '16px',+ color: theme.palette.link01,+ cursor: 'pointer',- '&:hover': {- color: theme.palette.link01Hover+ '&:hover': {+ color: theme.palette.link01Hover+ }}- }-}));+ };+});/*** Component that displays a placeholder for when the screen is shared.@@ -73,10 +75,9 @@ const useStyles = makeStyles((theme: Theme) => createStyles({* @returns {ReactElement}*/const ScreenSharePlaceholder: React.FC<WithTranslation> = ({ t }) => {- const classes = useStyles();+ const { classes } = useStyles();const store = useStore();-const updateShowMeWhatImSharing = useCallback(() => {store.dispatch(setSeeWhatIsBeingShared(true));}, []);diff --git a/react/features/notifications/components/web/NotificationsContainer.tsx b/react/features/notifications/components/web/NotificationsContainer.tsxindex 380c9d0309..ac0aab4a96 100644--- a/react/features/notifications/components/web/NotificationsContainer.tsx+++ b/react/features/notifications/components/web/NotificationsContainer.tsx@@ -1,7 +1,8 @@/* eslint-disable lines-around-comment */import { FlagGroupContext } from '@atlaskit/flag/flag-group';import { AtlasKitThemeProvider } from '@atlaskit/theme';-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -55,10 +56,10 @@ interface Props extends WithTranslation {portal?: boolean;}-const useStyles = (theme: any) => {+const useStyles = (theme: Theme) => {return {container: {- position: 'absolute',+ position: 'absolute' as const,left: '16px',bottom: '90px',width: '400px',@@ -252,5 +253,4 @@ function _mapStateToProps(state: IState) {};}-// @ts-ignoreexport default translate(connect(_mapStateToProps)(withStyles(useStyles)(NotificationsContainer)));diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.tsxindex 2046b56b22..2e5b128b52 100644--- a/react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.tsx+++ b/react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.tsx@@ -1,15 +1,17 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';++import { Theme } from '@mui/material';import React, { ReactElement, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../../../app/types';import ListItem from '../../../../../base/components/participants-pane-list/ListItem';import Icon from '../../../../../base/icons/components/Icon';import { IconArrowDown, IconArrowUp } from '../../../../../base/icons/svg';import { isLocalParticipantModerator } from '../../../../../base/participants/functions';+import { withPixelLineHeight } from '../../../../../base/styles/functions.web';// @ts-ignoreimport { showOverflowDrawer } from '../../../../../toolbox/functions.web';import { ACTION_TRIGGER } from '../../../../constants';@@ -82,7 +84,7 @@ type Props = {toggleParticipantMenu: Function;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {boxShadow: 'none'@@ -91,9 +93,8 @@ const useStyles = makeStyles((theme: any) => {roomName: {overflow: 'hidden',textOverflow: 'ellipsis',- whiteSpace: 'nowrap',- ...theme.typography.labelButton,- lineHeight: `${theme.typography.labelButton.lineHeight}px`,+ whiteSpace: 'nowrap', // @ts-ignore+ ...withPixelLineHeight(theme.typography.labelButton),padding: '12px 0'},@@ -123,7 +124,7 @@ export const CollapsibleRoom = ({toggleParticipantMenu}: Props) => {const { t } = useTranslation();- const styles = useStyles();+ const { classes: styles, cx } = useStyles();const [ collapsed, setCollapsed ] = useState(false);const toggleCollapsed = useCallback(() => {setCollapsed(!collapsed);@@ -153,41 +154,39 @@ export const CollapsibleRoom = ({participantName: displayName}), [ room, moderator ]);- return (- <>- <ListItem- actions = { children }- className = { clsx(styles.container, 'breakout-room-container') }- icon = { arrow }- isHighlighted = { isHighlighted }- onClick = { toggleCollapsed }- onLongPress = { raiseMenu }- onMouseLeave = { onLeave }- testId = { room.id }- textChildren = { roomName }- trigger = { actionsTrigger } />- {!collapsed && room?.participants- && Object.values(room?.participants || {}).map(p =>- participantMatchesSearch(p, searchString) && (- <ParticipantItem- actionsTrigger = { ACTION_TRIGGER.HOVER }- displayName = { p.displayName || defaultRemoteDisplayName }- isHighlighted = { participantContextEntity?.jid === p.jid }- key = { p.jid }- local = { false }- openDrawerForParticipant = { raiseParticipantMenu }- overflowDrawer = { overflowDrawer }- participantID = { p.jid }>- {!overflowDrawer && moderator && (- <ParticipantActionEllipsis- accessibilityLabel = { t('breakoutRoom.more') }- onClick = { toggleParticipantMenu({ room,- jid: p.jid,- participantName: p.displayName }) } />- )}- </ParticipantItem>- ))- }- </>- );+ return (<>+ <ListItem+ actions = { children }+ className = { cx(styles.container, 'breakout-room-container') }+ icon = { arrow }+ isHighlighted = { isHighlighted }+ onClick = { toggleCollapsed }+ onLongPress = { raiseMenu }+ onMouseLeave = { onLeave }+ testId = { room.id }+ textChildren = { roomName }+ trigger = { actionsTrigger } />+ {!collapsed && room?.participants+ && Object.values(room?.participants || {}).map(p =>+ participantMatchesSearch(p, searchString) && (+ <ParticipantItem+ actionsTrigger = { ACTION_TRIGGER.HOVER }+ displayName = { p.displayName || defaultRemoteDisplayName }+ isHighlighted = { participantContextEntity?.jid === p.jid }+ key = { p.jid }+ local = { false }+ openDrawerForParticipant = { raiseParticipantMenu }+ overflowDrawer = { overflowDrawer }+ participantID = { p.jid }>+ {!overflowDrawer && moderator && (+ <ParticipantActionEllipsis+ accessibilityLabel = { t('breakoutRoom.more') }+ onClick = { toggleParticipantMenu({ room,+ jid: p.jid,+ participantName: p.displayName }) } />+ )}+ </ParticipantItem>+ ))+ }+ </>);};diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/JoinQuickActionButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/JoinQuickActionButton.tsxindex 88bf08ccc4..803c777eb6 100644--- a/react/features/participants-pane/components/breakout-rooms/components/web/JoinQuickActionButton.tsx+++ b/react/features/participants-pane/components/breakout-rooms/components/web/JoinQuickActionButton.tsx@@ -1,13 +1,14 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { createBreakoutRoomsEvent } from '../../../../../analytics/AnalyticsEvents';import { sendAnalytics } from '../../../../../analytics/functions';import Button from '../../../../../base/ui/components/web/Button';-import { Theme } from '../../../../../base/ui/types';// @ts-ignoreimport { moveToRoom } from '../../../../../breakout-rooms/actions';@@ -22,16 +23,16 @@ type Props = {};};-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {button: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)}};});const JoinActionButton = ({ room }: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const { t } = useTranslation();const dispatch = useDispatch();diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/RoomParticipantContextMenu.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/RoomParticipantContextMenu.tsxindex 4b780fd2af..ef706446e2 100644--- a/react/features/participants-pane/components/breakout-rooms/components/web/RoomParticipantContextMenu.tsx+++ b/react/features/participants-pane/components/breakout-rooms/components/web/RoomParticipantContextMenu.tsx@@ -1,15 +1,15 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { Avatar } from '../../../../../base/avatar';// @ts-ignoreimport { ContextMenu, ContextMenuItemGroup } from '../../../../../base/components';import { isLocalParticipantModerator } from '../../../../../base/participants/functions';-import { Theme } from '../../../../../base/ui/types';// @ts-ignoreimport { getBreakoutRooms } from '../../../../../breakout-rooms/functions';// @ts-ignore@@ -18,6 +18,7 @@ import { showOverflowDrawer } from '../../../../../toolbox/functions.web';import SendToRoomButton from '../../../../../video-menu/components/web/SendToRoomButton';import { AVATAR_SIZE } from '../../../../constants';+type Props = {/**@@ -50,7 +51,7 @@ type Props = {onSelect: Function;};-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {text: {color: theme.palette.text02,@@ -71,7 +72,7 @@ export const RoomParticipantContextMenu = ({onLeave,onSelect}: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const { t } = useTranslation();const isLocalModerator = useSelector(isLocalParticipantModerator);const lowerMenu = useCallback(() => onSelect(true), [ onSelect ]);diff --git a/react/features/participants-pane/components/web/FooterContextMenu.tsx b/react/features/participants-pane/components/web/FooterContextMenu.tsxindex f5683cae05..295f04c82f 100644--- a/react/features/participants-pane/components/web/FooterContextMenu.tsx+++ b/react/features/participants-pane/components/web/FooterContextMenu.tsx@@ -1,8 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import {requestDisableAudioModeration,@@ -41,7 +42,7 @@ import { SETTINGS_TABS } from '../../../settings/constants';// @ts-ignoreimport { MuteEveryonesVideoDialog } from '../../../video-menu/components';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {contextMenu: {bottom: 'auto',@@ -108,7 +109,7 @@ export const FooterContextMenu = ({ isOpen, onDrawerClose, onMouseLeave }: Propsconst enableVideoModeration = useCallback(() => dispatch(requestEnableVideoModeration()), [ dispatch ]);- const classes = useStyles();+ const { classes } = useStyles();const muteAllVideo = useCallback(() => dispatch(openDialog(MuteEveryonesVideoDialog)), [ dispatch ]);diff --git a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx b/react/features/participants-pane/components/web/LobbyParticipantItem.tsxindex c8148b9676..ce11324170 100644--- a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx+++ b/react/features/participants-pane/components/web/LobbyParticipantItem.tsx@@ -1,8 +1,10 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback, useState, useRef } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import ContextMenu from '../../../base/components/context-menu/ContextMenu';import ContextMenuItemGroup from '../../../base/components/context-menu/ContextMenuItemGroup';@@ -37,15 +39,15 @@ type Props = {participant: Participant;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {button: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)},moreButton: {paddingRight: '6px',paddingLeft: '6px',- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)},contextMenu: {position: 'fixed',@@ -64,7 +66,7 @@ export const LobbyParticipantItem = ({const [ admit, reject, chat ] = useLobbyActions({ participantID: id });const { t } = useTranslation();const [ isOpen, setIsOpen ] = useState(false);- const styles = useStyles();+ const { classes: styles } = useStyles();const showChat = useSelector(showLobbyChatButton(p));diff --git a/react/features/participants-pane/components/web/LobbyParticipants.tsx b/react/features/participants-pane/components/web/LobbyParticipants.tsxindex ea26bb8d6c..e6cd4e2a3d 100644--- a/react/features/participants-pane/components/web/LobbyParticipants.tsx+++ b/react/features/participants-pane/components/web/LobbyParticipants.tsx@@ -1,8 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useSelector, useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { Avatar } from '../../../base/avatar';@@ -23,7 +24,7 @@ import { useLobbyActions, useParticipantDrawer } from '../../hooks';// @ts-ignoreimport LobbyParticipantItems from './LobbyParticipantItems';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {drawerActions: {listStyleType: 'none',@@ -39,7 +40,6 @@ const useStyles = makeStyles((theme: any) => {'&:first-child': {marginTop: '15px'-},'&:hover': {@@ -56,6 +56,7 @@ const useStyles = makeStyles((theme: any) => {justifyContent: 'space-between'},heading: {+ // @ts-ignore...withPixelLineHeight(theme.typography.heading7),color: theme.palette.text02},@@ -76,7 +77,7 @@ export default function LobbyParticipants() {const lobbyEnabled = useSelector(getLobbyEnabled);const participants: Array<Object> = useSelector(getKnockingParticipants);const { t } = useTranslation();- const classes = useStyles();+ const { classes } = useStyles();const dispatch = useDispatch();const admitAll = useCallback(() => {dispatch(admitMultiple(participants));diff --git a/react/features/participants-pane/components/web/MeetingParticipants.tsx b/react/features/participants-pane/components/web/MeetingParticipants.tsxindex fb479840ce..94f486c87d 100644--- a/react/features/participants-pane/components/web/MeetingParticipants.tsx+++ b/react/features/participants-pane/components/web/MeetingParticipants.tsx@@ -1,8 +1,10 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';// @ts-ignore@@ -15,6 +17,7 @@ import { isToolbarButtonEnabled } from '../../../base/config/functions.web';import { MEDIA_TYPE } from '../../../base/media/constants';import { getParticipantById } from '../../../base/participants/functions';import { connect } from '../../../base/redux/functions';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import Input from '../../../base/ui/components/web/Input';import { normalizeAccents } from '../../../base/util/strings.web';// @ts-ignore@@ -34,17 +37,17 @@ import MeetingParticipantContextMenu from './MeetingParticipantContextMenu';// @ts-ignoreimport MeetingParticipantItems from './MeetingParticipantItems';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {heading: {color: theme.palette.text02,- ...theme.typography.labelButton,- lineHeight: `${theme.typography.labelButton.lineHeight}px`,+ // @ts-ignore+ ...withPixelLineHeight(theme.typography.labelButton),margin: `8px 0 ${participantsPaneTheme.panePadding}px`,[`@media(max-width: ${participantsPaneTheme.MD_BREAKPOINT})`]: {- ...theme.typography.labelButtonLarge,- lineHeight: `${theme.typography.labelButtonLarge.lineHeight}px`+ // @ts-ignore+ ...withPixelLineHeight(theme.typography.labelButtonLarge)}},@@ -109,7 +112,7 @@ function MeetingParticipants({const muteParticipantButtonText = t('dialog.muteParticipantButton');const isBreakoutRoom = useSelector(isInBreakoutRoom);- const styles = useStyles();+ const { classes: styles } = useStyles();return (<>diff --git a/react/features/participants-pane/components/web/ParticipantItem.tsx b/react/features/participants-pane/components/web/ParticipantItem.tsxindex c55761ffcb..1586d09df0 100644--- a/react/features/participants-pane/components/web/ParticipantItem.tsx+++ b/react/features/participants-pane/components/web/ParticipantItem.tsx@@ -1,19 +1,22 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { ReactElement, useCallback } from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { Avatar } from '../../../base/avatar';import ListItem from '../../../base/components/participants-pane-list/ListItem';import { translate } from '../../../base/i18n/functions';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import {ACTION_TRIGGER,AudioStateIcons,MEDIA_STATE,type ActionTrigger,- type MediaState,- VideoStateIcons+ VideoStateIcons,+ MediaState} from '../../constants';import { RaisedHandIndicator } from './RaisedHandIndicator';@@ -96,7 +99,7 @@ interface Props extends WithTranslation {youText?: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {nameContainer: {display: 'flex',@@ -111,8 +114,7 @@ const useStyles = makeStyles((theme: any) => {},moderatorLabel: {- ...theme.typography.labelRegular,- lineHeight: `${theme.typography.labelRegular.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.labelRegular),color: theme.palette.text03}};@@ -148,7 +150,7 @@ function ParticipantItem({displayName}), []);- const styles = useStyles();+ const { classes: styles } = useStyles();const icon = (<Avatardiff --git a/react/features/participants-pane/components/web/ParticipantQuickAction.tsx b/react/features/participants-pane/components/web/ParticipantQuickAction.tsxindex d410b406cd..b3375db4b3 100644--- a/react/features/participants-pane/components/web/ParticipantQuickAction.tsx+++ b/react/features/participants-pane/components/web/ParticipantQuickAction.tsx@@ -1,13 +1,15 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { approveParticipant } from '../../../av-moderation/actions';import Button from '../../../base/ui/components/web/Button';-import { Theme } from '../../../base/ui/types';+// @ts-ignoreimport { QUICK_ACTION_BUTTON } from '../../constants';type Props = {@@ -48,10 +50,10 @@ type Props = {participantName: string;};-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {button: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)}};});@@ -64,7 +66,7 @@ const ParticipantQuickAction = ({participantID,participantName}: Props) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const dispatch = useDispatch();const { t } = useTranslation();diff --git a/react/features/participants-pane/components/web/ParticipantsPane.tsx b/react/features/participants-pane/components/web/ParticipantsPane.tsxindex b7ca055d5a..49ebfcb7c2 100644--- a/react/features/participants-pane/components/web/ParticipantsPane.tsx+++ b/react/features/participants-pane/components/web/ParticipantsPane.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/core';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -15,7 +16,6 @@ import { connect } from '../../../base/redux/functions';import Button from '../../../base/ui/components/web/Button';import ClickableIcon from '../../../base/ui/components/web/ClickableIcon';import { BUTTON_TYPES } from '../../../base/ui/constants';-import { Theme } from '../../../base/ui/types';// @ts-ignoreimport { isAddBreakoutRoomButtonVisible } from '../../../breakout-rooms/functions';// @ts-ignore@@ -107,10 +107,10 @@ type State = {const styles = (theme: Theme) => {return {container: {- boxSizing: 'border-box',+ boxSizing: 'border-box' as const,flex: 1,- overflowY: 'auto',- position: 'relative',+ overflowY: 'auto' as const,+ position: 'relative' as const,padding: `0 ${participantsPaneTheme.panePadding}px`,[`& > * + *:not(.${participantsPaneTheme.ignoredChildClassName})`]: {@@ -131,7 +131,7 @@ const styles = (theme: Theme) => {header: {alignItems: 'center',- boxSizing: 'border-box',+ boxSizing: 'border-box' as const,display: 'flex',height: `${participantsPaneTheme.headerSize}px`,padding: '0 20px',@@ -153,15 +153,15 @@ const styles = (theme: Theme) => {footer: {display: 'flex',justifyContent: 'flex-end',- padding: `${theme.spacing(4)}px ${participantsPaneTheme.panePadding}px`,+ padding: `${theme.spacing(4)} ${participantsPaneTheme.panePadding}px`,'& > *:not(:last-child)': {- marginRight: `${theme.spacing(3)}px`+ marginRight: theme.spacing(3)}},footerMoreContainer: {- position: 'relative'+ position: 'relative' as const}};};@@ -377,5 +377,4 @@ function _mapStateToProps(state: IState) {};}-// @ts-ignoreexport default translate(connect(_mapStateToProps)(withStyles(styles)(ParticipantsPane)));diff --git a/react/features/participants-pane/components/web/RaisedHandIndicator.tsx b/react/features/participants-pane/components/web/RaisedHandIndicator.tsxindex 89113bb974..50be26e393 100644--- a/react/features/participants-pane/components/web/RaisedHandIndicator.tsx+++ b/react/features/participants-pane/components/web/RaisedHandIndicator.tsx@@ -1,15 +1,15 @@-import { makeStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';import Icon from '../../../base/icons/components/Icon';import { IconRaisedHandHollow } from '../../../base/icons/svg';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {indicator: {backgroundColor: theme.palette.warning02,- borderRadius: `${theme.shape.borderRadius / 2}px`,+ borderRadius: `${Number(theme.shape.borderRadius) / 2}px`,height: '24px',width: '24px'}@@ -17,12 +17,12 @@ const useStyles = makeStyles((theme: any) => {});export const RaisedHandIndicator = () => {- const styles = useStyles();+ const { classes: styles, theme } = useStyles();return (<div className = { styles.indicator }><Icon- color = { BaseTheme.palette.uiBackground }+ color = { theme.palette.uiBackground }size = { 16 }src = { IconRaisedHandHollow } /></div>diff --git a/react/features/polls/components/web/PollAnswer.tsx b/react/features/polls/components/web/PollAnswer.tsxindex 92d9e81356..eb77e677cf 100644--- a/react/features/polls/components/web/PollAnswer.tsx+++ b/react/features/polls/components/web/PollAnswer.tsx@@ -1,19 +1,20 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';+import Button from '../../../base/ui/components/web/Button';import Checkbox from '../../../base/ui/components/web/Checkbox';import { BUTTON_TYPES } from '../../../base/ui/constants';-import { Theme } from '../../../base/ui/types';// @ts-ignoreimport { isSubmitAnswerDisabled } from '../../functions';import AbstractPollAnswer, { AbstractProps } from '../AbstractPollAnswer';-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {buttonMargin: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)}};});@@ -29,7 +30,7 @@ const PollAnswer = ({t}: AbstractProps) => {const { changingVote } = poll;- const styles = useStyles();+ const { classes: styles } = useStyles();return (<div className = 'poll-answer'>diff --git a/react/features/polls/components/web/PollCreate.tsx b/react/features/polls/components/web/PollCreate.tsxindex ad93eae372..28a0818c1a 100644--- a/react/features/polls/components/web/PollCreate.tsx+++ b/react/features/polls/components/web/PollCreate.tsx@@ -1,6 +1,7 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { useCallback, useEffect, useRef, useState } from 'react';+import { makeStyles } from 'tss-react/mui';import Icon from '../../../base/icons/components/Icon';import { IconMenu } from '../../../base/icons/svg';@@ -8,17 +9,16 @@ import { IconMenu } from '../../../base/icons/svg';import { Tooltip } from '../../../base/tooltip';import Button from '../../../base/ui/components/web/Button';import { BUTTON_TYPES } from '../../../base/ui/constants';-import { Theme } from '../../../base/ui/types';import { ANSWERS_LIMIT, CHAR_LIMIT } from '../../constants';// @ts-ignoreimport AbstractPollCreate from '../AbstractPollCreate';// @ts-ignoreimport type { AbstractProps } from '../AbstractPollCreate';-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {buttonMargin: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)}};});@@ -36,7 +36,7 @@ const PollCreate = ({setQuestion,t}: AbstractProps) => {- const styles = useStyles();+ const { classes: styles } = useStyles();/** This ref stores the Array of answer input fields, allowing us to focus on them.diff --git a/react/features/prejoin/components/DropdownButton.tsx b/react/features/prejoin/components/DropdownButton.tsxindex a14b9e84a0..14a4798e08 100644--- a/react/features/prejoin/components/DropdownButton.tsx+++ b/react/features/prejoin/components/DropdownButton.tsx@@ -1,4 +1,5 @@-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React from 'react';import Icon from '../../base/icons/components/Icon';@@ -43,7 +44,7 @@ type Props = {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {prejoinPreviewDropdownBtn: {alignItems: 'center',@@ -53,10 +54,10 @@ const styles = (theme: any) => {height: 40,fontSize: 15,lineHeight: '24px',- padding: '0 16px',+ padding: '0 16px', // @ts-ignorebackgroundColor: theme.palette.field02,- '&:hover': {+ '&:hover': { // @ts-ignorebackgroundColor: theme.palette.field02Hover}},diff --git a/react/features/prejoin/components/dialogs/CallingDialog.tsx b/react/features/prejoin/components/dialogs/CallingDialog.tsxindex 969f962d4c..5d564bc3a9 100644--- a/react/features/prejoin/components/dialogs/CallingDialog.tsx+++ b/react/features/prejoin/components/dialogs/CallingDialog.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { Avatar } from '../../../base/avatar';@@ -34,7 +36,7 @@ interface Props extends WithTranslation {status: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {callingDialog: {padding: theme.spacing(3),@@ -46,13 +48,13 @@ const useStyles = makeStyles((theme: any) => {'& .prejoin-dialog-calling-label': {fontSize: '15px',- margin: `${theme.spacing(2)}px 0 ${theme.spacing(3)}px 0`+ margin: `${theme.spacing(2)} 0 ${theme.spacing(3)} 0`},'& .prejoin-dialog-calling-number': {fontSize: '19px',lineHeight: '28px',- margin: `${theme.spacing(3)}px 0`+ margin: `${theme.spacing(3)} 0`}}};@@ -66,7 +68,7 @@ const useStyles = makeStyles((theme: any) => {*/function CallingDialog(props: Props) {const { number, onClose, status, t } = props;- const classes = useStyles();+ const { classes } = useStyles();return (<div className = { classes.callingDialog }>diff --git a/react/features/prejoin/components/dialogs/DialInDialog.tsx b/react/features/prejoin/components/dialogs/DialInDialog.tsxindex e89712f928..83ce9b0cad 100644--- a/react/features/prejoin/components/dialogs/DialInDialog.tsx+++ b/react/features/prejoin/components/dialogs/DialInDialog.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../../base/i18n/functions';import Icon from '../../../base/icons/components/Icon';@@ -46,14 +48,14 @@ interface Props extends WithTranslation {passCode: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {dialInDialog: {textAlign: 'center','& .prejoin-dialog-dialin-header': {alignItems: 'center',- margin: `${theme.spacing(3)}px 0 ${theme.spacing(5)}px ${theme.spacing(3)}px`,+ margin: `${theme.spacing(3)} 0 ${theme.spacing(5)} ${theme.spacing(3)}`,display: 'flex'},'& .prejoin-dialog-dialin-icon': {@@ -70,7 +72,7 @@ const useStyles = makeStyles((theme: any) => {'& .prejoin-dialog-dialin-num-container': {minHeight: '48px',- margin: `${theme.spacing(2)}px 0`+ margin: `${theme.spacing(2)} 0`}},@@ -110,7 +112,7 @@ function DialinDialog(props: Props) {passCode,t} = props;- const classes = useStyles();+ const { classes } = useStyles();const flagClassName = `prejoin-dialog-flag iti-flag ${getCountryCodeFromPhone(number)}`;diff --git a/react/features/prejoin/components/dialogs/DialOutDialog.tsx b/react/features/prejoin/components/dialogs/DialOutDialog.tsxindex 761c6c0dee..5d464bdc83 100644--- a/react/features/prejoin/components/dialogs/DialOutDialog.tsx+++ b/react/features/prejoin/components/dialogs/DialOutDialog.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../../base/i18n/functions';import Icon from '../../../base/icons/components/Icon';@@ -31,18 +33,18 @@ interface Props extends WithTranslation {onTextButtonClick: Function;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {dialOutDialog: {- padding: `${theme.spacing(3)}px`+ padding: theme.spacing(3)},header: {display: 'flex',justifyContent: 'space-between',- marginBottom: `${theme.spacing(4)}px`+ marginBottom: theme.spacing(4)},picker: {- margin: `${theme.spacing(2)}px 0 ${theme.spacing(3)}px 0`+ margin: `${theme.spacing(2)} 0 ${theme.spacing(3)} 0`}};});@@ -56,7 +58,7 @@ const useStyles = makeStyles((theme: any) => {*/function DialOutDialog(props: Props) {const { onClose, onTextButtonClick, onSubmit, t } = props;- const classes = useStyles();+ const { classes } = useStyles();return (<div className = { classes.dialOutDialog }>diff --git a/react/features/prejoin/components/preview/DeviceStatus.tsx b/react/features/prejoin/components/preview/DeviceStatus.tsxindex 0f01788c52..181b7bd6de 100644--- a/react/features/prejoin/components/preview/DeviceStatus.tsx+++ b/react/features/prejoin/components/preview/DeviceStatus.tsx@@ -1,7 +1,7 @@-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';import { translate } from '../../../base/i18n/functions';@@ -29,7 +29,7 @@ export interface Props extends WithTranslation {deviceStatusType: string;}-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {deviceStatus: {alignItems: 'center',@@ -84,10 +84,10 @@ const iconMap = {* @returns {ReactElement}*/function DeviceStatus({ deviceStatusType, deviceStatusText, t }: Props) {- const classes = useStyles();+ const { classes, cx } = useStyles();const { src, className } = iconMap[deviceStatusType as keyof typeof iconMap];const hasError = deviceStatusType === 'warning';- const containerClassName = clsx(classes.deviceStatus, { 'device-status-error': hasError });+ const containerClassName = cx(classes.deviceStatus, { 'device-status-error': hasError });return (<divdiff --git a/react/features/reactions/actions.any.ts b/react/features/reactions/actions.any.tsindex 7474d38af4..25d959220f 100644--- a/react/features/reactions/actions.any.ts+++ b/react/features/reactions/actions.any.ts@@ -29,7 +29,7 @@ export function setReactionQueue(queue: Array<ReactionEmojiProps>): ReactionsAct* @param {string} uid - Id of the reaction to be removed.* @returns {Function}*/-export function removeReaction(uid: string): Function {+export function removeReaction(uid: string): any {return (dispatch: Function, getState: Function) => {const queue = getState()['features/reactions'].queue;diff --git a/react/features/reactions/components/web/ReactionsMenu.tsx b/react/features/reactions/components/web/ReactionsMenu.tsxindex dbe71c63bd..06a441505e 100644--- a/react/features/reactions/components/web/ReactionsMenu.tsx+++ b/react/features/reactions/components/web/ReactionsMenu.tsx@@ -1,8 +1,10 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { ClassNameMap, withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';+import { connect } from 'react-redux';import { bindActionCreators } from 'redux';import { createReactionMenuEvent, createToolbarEvent } from '../../../analytics/AnalyticsEvents';@@ -12,8 +14,6 @@ import { isMobileBrowser } from '../../../base/environment/utils';import { translate } from '../../../base/i18n/functions';import { raiseHand } from '../../../base/participants/actions';import { getLocalParticipant, hasRaisedHand } from '../../../base/participants/functions';-import { connect } from '../../../base/redux/functions';-import { Theme } from '../../../base/ui/types';import GifsMenu from '../../../gifs/components/web/GifsMenu';// @ts-ignoreimport GifsMenuButton from '../../../gifs/components/web/GifsMenuButton';@@ -28,10 +28,6 @@ import { REACTIONS, REACTIONS_MENU_HEIGHT } from '../../constants';// @ts-ignoreimport ReactionButton from './ReactionButton';-interface Classes {- overflow: string;-}-interface Props extends WithTranslation {/**@@ -67,7 +63,7 @@ interface Props extends WithTranslation {/*** An object containing the CSS classes.*/- classes: Classes;+ classes: ClassNameMap<string>;/*** The Redux Dispatch function.@@ -77,7 +73,7 @@ interface Props extends WithTranslation {/*** Whether or not it's displayed in the overflow menu.*/- overflowMenu: boolean;+ overflowMenu?: boolean;}const styles = (theme: Theme) => {@@ -88,8 +84,8 @@ const styles = (theme: Theme) => {backgroundColor: theme.palette.ui01,boxShadow: 'none',borderRadius: 0,- position: 'relative',- boxSizing: 'border-box',+ position: 'relative' as const,+ boxSizing: 'border-box' as const,height: `${REACTIONS_MENU_HEIGHT}px`}};@@ -265,8 +261,6 @@ function mapDispatchToProps(dispatch: IStore['dispatch']) {...bindActionCreators({_dockToolbox: dockToolbox-- // @ts-ignore}, dispatch)};}@@ -274,6 +268,4 @@ function mapDispatchToProps(dispatch: IStore['dispatch']) {export default translate(connect(mapStateToProps,mapDispatchToProps-- // @ts-ignore)(withStyles(styles)(ReactionsMenu)));diff --git a/react/features/recording/components/Recording/web/HighlightButton.tsx b/react/features/recording/components/Recording/web/HighlightButton.tsxindex eed0fd501c..d96819f437 100644--- a/react/features/recording/components/Recording/web/HighlightButton.tsx+++ b/react/features/recording/components/Recording/web/HighlightButton.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/core';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React from 'react';// @ts-ignore@@ -54,7 +55,7 @@ type State = {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {container: {position: 'relative'@@ -63,11 +64,11 @@ const styles = (theme: any) => {background: theme.palette.text02,margin: '0 4px 4px 4px'},- regular: {+ regular: { // @ts-ignorebackground: theme.palette.field02,margin: '0 4px 4px 4px'},- highlightNotification: {+ highlightNotification: { // @ts-ignorebackgroundColor: theme.palette.field02,borderRadius: '6px',boxShadow: '0px 6px 20px rgba(0, 0, 0, 0.25)',@@ -81,7 +82,7 @@ const styles = (theme: any) => {top: '32px',width: 320},- highlightNotificationButton: {+ highlightNotificationButton: { // @ts-ignorecolor: theme.palette.field01Focus,cursor: 'pointer',fontWeight: '600',diff --git a/react/features/recording/components/web/RecordingLabel.tsx b/react/features/recording/components/web/RecordingLabel.tsxindex f0393fc1fd..03586e2f40 100644--- a/react/features/recording/components/web/RecordingLabel.tsx+++ b/react/features/recording/components/web/RecordingLabel.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React from 'react';import { translate } from '../../../base/i18n/functions';@@ -18,7 +19,7 @@ import AbstractRecordingLabel, {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {[JitsiRecordingConstants.mode.STREAM]: {background: theme.palette.ui03diff --git a/react/features/salesforce/components/web/RecordItem.tsx b/react/features/salesforce/components/web/RecordItem.tsxindex 13348dd93d..6388526519 100644--- a/react/features/salesforce/components/web/RecordItem.tsx+++ b/react/features/salesforce/components/web/RecordItem.tsx@@ -1,6 +1,7 @@-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React from 'react';import { useTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { RECORD_TYPE } from '../../constants';@@ -30,7 +31,7 @@ type Props = {type: string;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {recordItem: {display: 'flex',@@ -80,8 +81,8 @@ export const RecordItem = ({type}: Props) => {const { t } = useTranslation();- const classes = useStyles();const Icon = RECORD_TYPE[type as keyof typeof RECORD_TYPE].icon;+ const { classes } = useStyles();return (<lidiff --git a/react/features/salesforce/components/web/SalesforceLinkDialog.tsx b/react/features/salesforce/components/web/SalesforceLinkDialog.tsxindex 81ecdddb8e..dc109f44fb 100644--- a/react/features/salesforce/components/web/SalesforceLinkDialog.tsx+++ b/react/features/salesforce/components/web/SalesforceLinkDialog.tsx@@ -1,9 +1,10 @@/* eslint-disable lines-around-comment */import Spinner from '@atlaskit/spinner';-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';// @ts-ignoreimport { Dialog, hideDialog } from '../../../base/dialog';@@ -11,7 +12,7 @@ import Icon from '../../../base/icons/components/Icon';import { IconSearch } from '../../../base/icons/svg';// @ts-ignoreimport { getFieldValue } from '../../../base/react';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import { NOTES_MAX_LENGTH } from '../../constants';// @ts-ignoreimport { useSalesforceLinkDialog } from '../../useSalesforceLinkDialog';@@ -19,7 +20,7 @@ import { useSalesforceLinkDialog } from '../../useSalesforceLinkDialog';import { RecordItem } from './RecordItem';// @ts-ignore-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {minHeight: '450px',@@ -54,8 +55,7 @@ const useStyles = makeStyles((theme: any) => {height: 40,'&::placeholder': {color: theme.palette.text03,- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegular)}},spinner: {@@ -106,6 +106,7 @@ const useStyles = makeStyles((theme: any) => {border: '1px solid',borderColor: theme.palette.ui05,backgroundColor: theme.palette.field01,+ // @ts-ignorecolor: theme.palette.field02,borderRadius: theme.shape.borderRadius,padding: '10px 16px'@@ -121,7 +122,7 @@ const useStyles = makeStyles((theme: any) => {*/function SalesforceLinkDialog() {const { t } = useTranslation();- const classes = useStyles();+ const { classes, theme } = useStyles();const dispatch = useDispatch();const {hasDetailsErrors,@@ -190,7 +191,7 @@ function SalesforceLinkDialog() {<div className = { classes.recordsSearchContainer }><IconclassName = { classes.searchIcon }- color = { BaseTheme.palette.icon03 }+ color = { theme.palette.icon03 }src = { IconSearch } /><inputautoComplete = 'off'diff --git a/react/features/settings/components/web/SettingsDialog.tsx b/react/features/settings/components/web/SettingsDialog.tsxindex cc069e054f..29d3aee219 100644--- a/react/features/settings/components/web/SettingsDialog.tsx+++ b/react/features/settings/components/web/SettingsDialog.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { IState } from '../../../app/types';@@ -86,7 +87,7 @@ type Props = {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {settingsDialog: {display: 'flex',@@ -97,7 +98,7 @@ const styles = (theme: any) => {},'& .auth-name': {- marginBottom: `${theme.spacing(1)}px`+ marginBottom: theme.spacing(1)},'& .calendar-tab, & .device-selection': {@@ -109,7 +110,7 @@ const styles = (theme: any) => {fontSize: '12px',fontWeight: 600,lineHeight: 1.33,- padding: `20px 0px ${theme.spacing(1)}px 0px`+ padding: `20px 0px ${theme.spacing(1)} 0px`},'& input[type="checkbox"]:checked + svg': {@@ -138,7 +139,7 @@ const styles = (theme: any) => {'& .profile-edit-field': {flex: 0.5,marginRight: '20px',- marginTop: `${theme.spacing(3)}px`+ marginTop: theme.spacing(3)},'& .settings-sub-pane': {@@ -159,7 +160,7 @@ const styles = (theme: any) => {'& .settings-checkbox': {display: 'flex',- marginBottom: `${theme.spacing(2)}px`+ marginBottom: theme.spacing(2)},'& .moderator-settings-wrapper': {diff --git a/react/features/speaker-stats/components/web/FaceExpressionsSwitch.tsx b/react/features/speaker-stats/components/web/FaceExpressionsSwitch.tsxindex 2cd462bbc7..1150d2d8ce 100644--- a/react/features/speaker-stats/components/web/FaceExpressionsSwitch.tsx+++ b/react/features/speaker-stats/components/web/FaceExpressionsSwitch.tsx@@ -1,12 +1,12 @@-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React from 'react';import { useTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import Switch from '../../../base/ui/components/web/Switch';-import { Theme } from '../../../base/ui/types';-// @ts-ignore-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {switchContainer: {display: 'flex',@@ -15,8 +15,7 @@ const useStyles = makeStyles((theme: Theme) => {switchLabel: {marginRight: 10,- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegular)}};});@@ -44,7 +43,7 @@ type Props = {* @returns {React$Element<any>}*/export default function FaceExpressionsSwitch({ onChange, showFaceExpressions }: Props) {- const classes = useStyles();+ const { classes } = useStyles();const { t } = useTranslation();return (diff --git a/react/features/speaker-stats/components/web/SpeakerStats.tsx b/react/features/speaker-stats/components/web/SpeakerStats.tsxindex c2ca60f071..6b36ad8dcb 100644--- a/react/features/speaker-stats/components/web/SpeakerStats.tsx+++ b/react/features/speaker-stats/components/web/SpeakerStats.tsx@@ -1,7 +1,8 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React, { useCallback, useEffect } from 'react';import { useSelector, useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';// @ts-ignore@@ -20,7 +21,7 @@ import SpeakerStatsLabels from './SpeakerStatsLabels';import SpeakerStatsList from './SpeakerStatsList';import SpeakerStatsSearch from './SpeakerStatsSearch';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {speakerStats: {'& .row': {@@ -96,7 +97,7 @@ const SpeakerStats = () => {const displaySwitch = faceLandmarks?.enableDisplayFaceExpressions && clientWidth > DISPLAY_SWITCH_BREAKPOINT;const displayLabels = clientWidth > MOBILE_BREAKPOINT;const dispatch = useDispatch();- const classes = useStyles();+ const { classes } = useStyles();const onToggleFaceExpressions = useCallback(() =>dispatch(toggleFaceExpressions())diff --git a/react/features/speaker-stats/components/web/SpeakerStatsLabels.tsx b/react/features/speaker-stats/components/web/SpeakerStatsLabels.tsxindex 25feb48055..cea50a1ee8 100644--- a/react/features/speaker-stats/components/web/SpeakerStatsLabels.tsx+++ b/react/features/speaker-stats/components/web/SpeakerStatsLabels.tsx@@ -1,12 +1,15 @@-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React from 'react';import { useTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';+import { withPixelLineHeight } from '../../../base/styles/functions.web';+// eslint-disable-next-line lines-around-comment// @ts-ignoreimport { Tooltip } from '../../../base/tooltip';import { FACE_EXPRESSIONS_EMOJIS } from '../../../face-landmarks/constants';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {labels: {padding: '22px 0 7px 0',@@ -14,8 +17,7 @@ const useStyles = makeStyles((theme: any) => {},emojis: {paddingLeft: 27,- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegular.lineHeightLarge}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge)}};});@@ -33,7 +35,7 @@ type Props = {const SpeakerStatsLabels = (props: Props) => {const { t } = useTranslation();- const classes = useStyles();+ const { classes } = useStyles();const nameTimeClass = `name-time${props.showFaceExpressions ? ' name-time_expressions-on' : ''}`;diff --git a/react/features/speaker-stats/components/web/SpeakerStatsList.tsx b/react/features/speaker-stats/components/web/SpeakerStatsList.tsxindex abb9ceb057..6ad5187884 100644--- a/react/features/speaker-stats/components/web/SpeakerStatsList.tsx+++ b/react/features/speaker-stats/components/web/SpeakerStatsList.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React from 'react';+import { makeStyles } from 'tss-react/mui';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import { MOBILE_BREAKPOINT } from '../../constants';// @ts-ignoreimport abstractSpeakerStatsList from '../AbstractSpeakerStatsList';@@ -9,20 +11,20 @@ import abstractSpeakerStatsList from '../AbstractSpeakerStatsList';// @ts-ignoreimport SpeakerStatsItem from './SpeakerStatsItem';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {list: {- marginTop: `${theme.spacing(3)}px`,- marginBottom: `${theme.spacing(3)}px`+ marginTop: theme.spacing(3),+ marginBottom: theme.spacing(3)},item: {- height: `${theme.spacing(7)}px`,+ height: theme.spacing(7),[theme.breakpoints.down(MOBILE_BREAKPOINT)]: {- height: `${theme.spacing(8)}px`+ height: theme.spacing(8)}},avatar: {- height: `${theme.spacing(5)}px`+ height: theme.spacing(5)},expressions: {paddingLeft: 29@@ -31,21 +33,17 @@ const useStyles = makeStyles((theme: any) => {color: theme.palette.text03},displayName: {- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.bodyShortRegular),[theme.breakpoints.down(MOBILE_BREAKPOINT)]: {- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegular.lineHeightLarge}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge)}},time: {padding: '2px 4px',borderRadius: '4px',- ...theme.typography.labelBold,- lineHeight: `${theme.typography.labelBold.lineHeight}px`,+ ...withPixelLineHeight(theme.typography.labelBold),[theme.breakpoints.down(MOBILE_BREAKPOINT)]: {- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegular.lineHeightLarge}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge)}},dominant: {@@ -60,7 +58,7 @@ const useStyles = makeStyles((theme: any) => {* @returns {React$Element<any>}*/const SpeakerStatsList = () => {- const classes = useStyles();+ const { classes } = useStyles();const items = abstractSpeakerStatsList(SpeakerStatsItem, classes);return (diff --git a/react/features/speaker-stats/components/web/SpeakerStatsSearch.tsx b/react/features/speaker-stats/components/web/SpeakerStatsSearch.tsxindex b769298d16..d0b98d0c19 100644--- a/react/features/speaker-stats/components/web/SpeakerStatsSearch.tsx+++ b/react/features/speaker-stats/components/web/SpeakerStatsSearch.tsx@@ -1,19 +1,20 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';import React, { useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import Icon from '../../../base/icons/components/Icon';import { IconSearch } from '../../../base/icons/svg';// @ts-ignoreimport { getFieldValue } from '../../../base/react';-import BaseTheme from '../../../base/ui/components/BaseTheme.web';+import { withPixelLineHeight } from '../../../base/styles/functions.web';import { MOBILE_BREAKPOINT } from '../../constants';// @ts-ignoreimport { isSpeakerStatsSearchDisabled } from '../../functions';-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {speakerStatsSearchContainer: {position: 'relative'@@ -41,15 +42,13 @@ const useStyles = makeStyles((theme: any) => {height: 40,'&::placeholder': {color: theme.palette.text03,- ...theme.typography.bodyShortRegular,- lineHeight: `${theme.typography.bodyShortRegular.lineHeight}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegular)},[theme.breakpoints.down(MOBILE_BREAKPOINT)]: {height: 48,padding: '13px 16px 13px 44px','&::placeholder': {- ...theme.typography.bodyShortRegularLarge,- lineHeight: `${theme.typography.bodyShortRegular.lineHeightLarge}px`+ ...withPixelLineHeight(theme.typography.bodyShortRegular)}}}@@ -74,7 +73,7 @@ type Props = {* @returns {React$Element<any>}*/function SpeakerStatsSearch({ onSearch }: Props) {- const classes = useStyles();+ const { classes, theme } = useStyles();const { t } = useTranslation();const disableSpeakerStatsSearch = useSelector(isSpeakerStatsSearchDisabled);const [ searchValue, setSearchValue ] = useState<string>('');@@ -105,7 +104,7 @@ function SpeakerStatsSearch({ onSearch }: Props) {<div className = { classes.speakerStatsSearchContainer }><IconclassName = { classes.searchIcon }- color = { BaseTheme.palette.icon03 }+ color = { theme.palette.icon03 }src = { IconSearch } /><inputautoComplete = 'off'diff --git a/react/features/subtitles/components/LanguageList.tsx b/react/features/subtitles/components/LanguageList.tsxindex f7816d5268..c4174e67cc 100644--- a/react/features/subtitles/components/LanguageList.tsx+++ b/react/features/subtitles/components/LanguageList.tsx@@ -1,5 +1,5 @@-import { makeStyles } from '@material-ui/styles';import React from 'react';+import { makeStyles } from 'tss-react/mui';import LanguageListItem from './LanguageListItem';@@ -10,7 +10,7 @@ interface ILanguageListProps {selectedLanguage: string;}-const useStyles = makeStyles(() => {+const useStyles = makeStyles()(() => {return {itemsContainer: {display: 'flex',@@ -35,7 +35,7 @@ const LanguageList = ({items,onLanguageSelected}: ILanguageListProps) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const listItems = items.map(item => (<LanguageListItemkey = { item.id }lang = { item.lang }diff --git a/react/features/subtitles/components/LanguageListItem.tsx b/react/features/subtitles/components/LanguageListItem.tsxindex 128b49ba73..3425b128e0 100644--- a/react/features/subtitles/components/LanguageListItem.tsx+++ b/react/features/subtitles/components/LanguageListItem.tsx@@ -1,11 +1,11 @@-import { makeStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { translate } from '../../base/i18n/functions';import Icon from '../../base/icons/components/Icon';import { IconCheck } from '../../base/icons/svg';-import { Theme } from '../../base/ui/types';interface ILanguageListItemProps extends WithTranslation {@@ -25,7 +25,7 @@ interface ILanguageListItemProps extends WithTranslation {selected?: boolean;}-const useStyles = makeStyles((theme: Theme) => {+const useStyles = makeStyles()((theme: Theme) => {return {itemContainer: {display: 'flex',@@ -56,7 +56,7 @@ const LanguageListItem = ({selected,onLanguageSelected}: ILanguageListItemProps) => {- const styles = useStyles();+ const { classes: styles } = useStyles();const onLanguageSelectedWrapper = useCallback(() => onLanguageSelected(lang), [ lang ]);return (diff --git a/react/features/toolbox/components/web/Drawer.tsx b/react/features/toolbox/components/web/Drawer.tsxindex b8de4ce1a2..a57bdc466c 100644--- a/react/features/toolbox/components/web/Drawer.tsx+++ b/react/features/toolbox/components/web/Drawer.tsx@@ -1,5 +1,6 @@-import { makeStyles } from '@material-ui/core';+import { Theme } from '@mui/material';import React, { ReactElement, useCallback } from 'react';+import { makeStyles } from 'tss-react/mui';import { DRAWER_MAX_HEIGHT } from '../../constants';@@ -27,7 +28,7 @@ type Props = {onClose: Function;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {drawer: {backgroundColor: theme.palette.ui02,@@ -47,7 +48,7 @@ function Drawer({isOpen,onClose}: Props) {- const styles = useStyles();+ const { classes: styles } = useStyles();/*** Handles clicks within the menu, preventing the propagation of the click event.diff --git a/react/features/toolbox/components/web/OverflowMenuButton.tsx b/react/features/toolbox/components/web/OverflowMenuButton.tsxindex c60242bdc1..89f48db559 100644--- a/react/features/toolbox/components/web/OverflowMenuButton.tsx+++ b/react/features/toolbox/components/web/OverflowMenuButton.tsx@@ -1,14 +1,14 @@/* eslint-disable lines-around-comment */import InlineDialog from '@atlaskit/inline-dialog';-import { withStyles } from '@material-ui/styles';+import { withStyles } from '@mui/styles';import React, { Component, ReactElement } from 'react';import { WithTranslation } from 'react-i18next';+import { connect } from 'react-redux';import { createToolbarEvent } from '../../../analytics/AnalyticsEvents';import { sendAnalytics } from '../../../analytics/functions';import { IState } from '../../../app/types';import { translate } from '../../../base/i18n/functions';-import { connect } from '../../../base/redux/functions';// @ts-ignoreimport { ReactionEmoji, ReactionsMenu } from '../../../reactions/components';import { type ReactionEmojiProps, REACTIONS_MENU_HEIGHT } from '../../../reactions/constants';@@ -71,7 +71,7 @@ interface Props extends WithTranslation {const styles = () => {return {overflowMenuDrawer: {- overflowY: 'auto',+ overflowY: 'auto' as const,height: `calc(${DRAWER_MAX_HEIGHT} - ${REACTIONS_MENU_HEIGHT}px - 16px)`}};@@ -209,5 +209,4 @@ function mapStateToProps(state: IState) {};}-// @ts-ignoreexport default withStyles(styles)(translate(connect(mapStateToProps)(OverflowMenuButton)));diff --git a/react/features/toolbox/components/web/Toolbox.tsx b/react/features/toolbox/components/web/Toolbox.tsxindex 97d9656863..99a18ec864 100644--- a/react/features/toolbox/components/web/Toolbox.tsx+++ b/react/features/toolbox/components/web/Toolbox.tsx@@ -1,5 +1,5 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/core/styles';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';import { batch } from 'react-redux';@@ -244,7 +244,6 @@ interface Props extends WithTranslation {*/_isProfileDisabled: boolean;-/*** Whether or not the current meeting belongs to a JaaS user.*/@@ -341,16 +340,17 @@ declare let APP: any;const styles = () => {return {contextMenu: {- position: 'relative',+ position: 'relative' as const,right: 'auto',maxHeight: 'inherit',margin: 0},+hangupMenu: {- position: 'relative',+ position: 'relative' as const,right: 'auto',display: 'flex',- flexDirection: 'column',+ flexDirection: 'column' as const,rowGap: '8px',margin: 0,padding: '16px'@@ -1537,5 +1537,4 @@ function _mapStateToProps(state: IState, ownProps: Partial<Props>) {};}-// @ts-ignoreexport default translate(connect(_mapStateToProps)(withStyles(styles)(Toolbox)));diff --git a/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.tsx b/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.tsxindex 6123b8106b..2a0cf85bf7 100644--- a/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.tsx+++ b/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.tsx@@ -1,8 +1,8 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';-import { batch, connect } from 'react-redux';+import { batch } from 'react-redux';import { IState } from '../../../app/types';import ContextMenu from '../../../base/components/context-menu/ContextMenu';@@ -14,6 +14,7 @@ import { IconHorizontalPoints } from '../../../base/icons/svg';import { getLocalParticipant } from '../../../base/participants/functions';// @ts-ignoreimport { Popover } from '../../../base/popover';+import { connect } from '../../../base/redux/functions';// @ts-ignoreimport { setParticipantContextMenuOpen } from '../../../base/responsive-ui/actions';// @ts-ignore@@ -125,7 +126,7 @@ const styles = () => {},contextMenu: {- position: 'relative',+ position: 'relative' as const,marginTop: 0,right: 'auto',padding: '0',@@ -308,5 +309,4 @@ function _mapStateToProps(state: IState, ownProps: Partial<Props>) {};}-// @ts-ignoreexport default translate(connect(_mapStateToProps)(withStyles(styles)(LocalVideoMenuTriggerButton)));diff --git a/react/features/video-menu/components/web/ParticipantContextMenu.tsx b/react/features/video-menu/components/web/ParticipantContextMenu.tsxindex 05a648c2d0..e6c5ed606b 100644--- a/react/features/video-menu/components/web/ParticipantContextMenu.tsx+++ b/react/features/video-menu/components/web/ParticipantContextMenu.tsx@@ -1,8 +1,10 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../../app/types';// @ts-ignore@@ -117,7 +119,7 @@ type Props = {thumbnailMenu?: boolean;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {text: {color: theme.palette.text02,@@ -146,7 +148,7 @@ const ParticipantContextMenu = ({}: Props) => {const dispatch = useDispatch();const { t } = useTranslation();- const styles = useStyles();+ const { classes: styles } = useStyles();const localParticipant = useSelector(getLocalParticipant);const _isModerator = Boolean(localParticipant?.role === PARTICIPANT_ROLE.MODERATOR);diff --git a/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.tsx b/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.tsxindex ec5b03fa64..bedca329b4 100644--- a/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.tsx+++ b/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.tsx@@ -1,8 +1,8 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { withStyles } from '@mui/styles';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';-import { batch, connect } from 'react-redux';+import { batch } from 'react-redux';import { IState } from '../../../app/types';import { isMobileBrowser } from '../../../base/environment/utils';@@ -13,6 +13,7 @@ import { getParticipantById } from '../../../base/participants/functions';import { Participant } from '../../../base/participants/types';// @ts-ignoreimport { Popover } from '../../../base/popover';+import { connect } from '../../../base/redux/functions';// @ts-ignoreimport { setParticipantContextMenuOpen } from '../../../base/responsive-ui/actions';import Button from '../../../base/ui/components/web/Button';@@ -120,7 +121,7 @@ const styles = () => {},contextMenu: {- position: 'relative',+ position: 'relative' as const,marginTop: 0,right: 'auto',padding: '0',@@ -302,13 +303,12 @@ function _mapStateToProps(state: IState, ownProps: Partial<Props>) {_disabled: remoteVideoMenu?.disabled,_menuPosition,_overflowDrawer: overflowDrawer,- _participant: participant,- _participantDisplayName,+ _participant: participant ?? { id: '' },+ _participantDisplayName: _participantDisplayName ?? '',_remoteControlState,_showConnectionInfo: showConnectionInfo};}export default translate(connect(_mapStateToProps)(- // @ts-ignorewithStyles(styles)(RemoteVideoMenuTriggerButton)));diff --git a/react/features/video-menu/components/web/VolumeSlider.tsx b/react/features/video-menu/components/web/VolumeSlider.tsxindex 11d6e69386..8b789922f0 100644--- a/react/features/video-menu/components/web/VolumeSlider.tsx+++ b/react/features/video-menu/components/web/VolumeSlider.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -44,13 +45,13 @@ type State = {volumeLevel: number;};-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {container: {minHeight: '40px',minWidth: '180px',width: '100%',- boxSizing: 'border-box',+ boxSizing: 'border-box' as const,cursor: 'pointer',display: 'flex',alignItems: 'center',@@ -64,17 +65,17 @@ const styles = (theme: any) => {icon: {minWidth: '20px',padding: '5px',- position: 'relative'+ position: 'relative' as const},sliderContainer: {- position: 'relative',+ position: 'relative' as const,width: '100%',paddingRight: '5px'},slider: {- position: 'absolute',+ position: 'absolute' as const,width: '100%',top: '50%',transform: 'translate(0, -50%)'@@ -168,5 +169,4 @@ class VolumeSlider extends Component<Props, State> {}}-// @ts-ignoreexport default translate(withStyles(styles)(VolumeSlider));diff --git a/react/features/video-quality/components/Slider.tsx b/react/features/video-quality/components/Slider.tsxindex 0d1bef536a..a986329172 100644--- a/react/features/video-quality/components/Slider.tsx+++ b/react/features/video-quality/components/Slider.tsx@@ -1,8 +1,6 @@-import { makeStyles } from '@material-ui/core/styles';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React from 'react';--import { commonClassName } from '../../base/ui/constants';+import { makeStyles } from 'tss-react/mui';type Props = {@@ -37,7 +35,7 @@ type Props = {value: number;};-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {// keep the same height for all elements:// input, input track & fake track(div)const height = 6;@@ -54,7 +52,7 @@ const useStyles = makeStyles((theme: any) => {width: 24};- const focused = {+ const focused = { // @ts-ignoreoutline: `1px solid ${theme.palette.action03Focus}`};@@ -83,7 +81,7 @@ const useStyles = makeStyles((theme: any) => {},track: {background: theme.palette.ui02,- borderRadius: theme.shape.borderRadius / 2,+ borderRadius: Number(theme.shape.borderRadius) / 2,height},slider: {@@ -141,12 +139,12 @@ const useStyles = makeStyles((theme: any) => {* @returns {ReactElement}*/function Slider({ ariaLabel, max, min, onChange, step, value }: Props) {- const classes = useStyles();+ const { classes, cx } = useStyles();const knobs = [ ...Array(Math.floor((max - min) / step) + 1) ];return (<div className = { classes.sliderContainer }>- <ul className = { clsx(commonClassName.emptyList, classes.knobContainer) }>+ <ul className = { cx('empty-list', classes.knobContainer) }>{knobs.map((_, i) => (<liclassName = { classes.knob }@@ -155,7 +153,7 @@ function Slider({ ariaLabel, max, min, onChange, step, value }: Props) {<div className = { classes.track } /><inputaria-label = { ariaLabel }- className = { clsx(classes.slider, 'custom-slider') }+ className = { cx(classes.slider, 'custom-slider') }max = { max }min = { min }onChange = { onChange }diff --git a/react/features/video-quality/components/VideoQualitySlider.web.tsx b/react/features/video-quality/components/VideoQualitySlider.web.tsxindex 2a1c84143d..487869fa29 100644--- a/react/features/video-quality/components/VideoQualitySlider.web.tsx+++ b/react/features/video-quality/components/VideoQualitySlider.web.tsx@@ -1,5 +1,6 @@/* eslint-disable lines-around-comment */-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import clsx from 'clsx';import React, { Component } from 'react';import { WithTranslation } from 'react-i18next';@@ -90,7 +91,7 @@ interface Props extends WithTranslation {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {dialog: {color: theme.palette.text01diff --git a/react/features/virtual-background/components/UploadImageButton.tsx b/react/features/virtual-background/components/UploadImageButton.tsxindex ef34337a76..a8e34eb62d 100644--- a/react/features/virtual-background/components/UploadImageButton.tsx+++ b/react/features/virtual-background/components/UploadImageButton.tsx@@ -1,7 +1,9 @@/* eslint-disable lines-around-comment */-import { makeStyles } from '@material-ui/styles';++import { Theme } from '@mui/material';import React, { useCallback, useRef } from 'react';import { WithTranslation } from 'react-i18next';+import { makeStyles } from 'tss-react/mui';import { v4 as uuidv4 } from 'uuid';import { translate } from '../../base/i18n/functions';@@ -42,10 +44,10 @@ interface Props extends WithTranslation {}// @ts-ignore-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {addBackground: {- marginRight: `${theme.spacing(2)}px`+ marginRight: theme.spacing(2)},button: {display: 'none'@@ -55,8 +57,8 @@ const useStyles = makeStyles((theme: any) => {fontWeight: '600',lineHeight: '20px',marginLeft: '-10px',- marginTop: `${theme.spacing(3)}px`,- marginBottom: `${theme.spacing(2)}px`,+ marginTop: theme.spacing(3),+ marginBottom: theme.spacing(2),color: '#669aec',display: 'inline-flex',cursor: 'pointer'@@ -78,7 +80,7 @@ function UploadImageButton({storedImages,t}: Props) {- const classes = useStyles();+ const { classes } = useStyles();const uploadImageButton = useRef<HTMLInputElement>(null);const uploadImageKeyPress = useCallback(e => {if (uploadImageButton.current && (e.key === ' ' || e.key === 'Enter')) {diff --git a/react/features/virtual-background/components/VirtualBackgroundDialog.tsx b/react/features/virtual-background/components/VirtualBackgroundDialog.tsxindex 6b67f31175..442d7e1fd6 100644--- a/react/features/virtual-background/components/VirtualBackgroundDialog.tsx+++ b/react/features/virtual-background/components/VirtualBackgroundDialog.tsx@@ -4,11 +4,11 @@ import Spinner from '@atlaskit/spinner';import Bourne from '@hapi/bourne';// @ts-ignoreimport { jitsiLocalStorage } from '@jitsi/js-utils/jitsi-local-storage';-import { makeStyles } from '@material-ui/styles';-import clsx from 'clsx';+import { Theme } from '@mui/material';import React, { useState, useEffect, useCallback } from 'react';import { WithTranslation } from 'react-i18next';import { useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';import { IState } from '../../app/types';// @ts-ignore@@ -126,7 +126,7 @@ function _mapStateToProps(state: IState): Object {const VirtualBackgroundDialog = translate(connect(_mapStateToProps)(VirtualBackground));-const useStyles = makeStyles((theme: any) => {+const useStyles = makeStyles()((theme: Theme) => {return {container: {display: 'flex',@@ -152,7 +152,7 @@ const useStyles = makeStyles((theme: any) => {border: '2px solid #99bbf3'},'& .background-option': {- marginTop: `${theme.spacing(2)}px`,+ marginTop: theme.spacing(2),borderRadius: `${theme.shape.borderRadius}px`,height: '60px',width: '107px',@@ -295,7 +295,7 @@ function VirtualBackground({initialOptions,t}: Props) {- const classes = useStyles();+ const { classes, cx } = useStyles();const [ previewIsLoaded, setPreviewIsLoaded ] = useState(false);const [ options, setOptions ] = useState<any>({ ...initialOptions });const localImages = jitsiLocalStorage.getItem('virtualBackgrounds');@@ -575,7 +575,7 @@ function VirtualBackground({showLabel = { previewIsLoaded }storedImages = { storedImages } />}<div- className = { clsx(classes.dialog, { [classes.dialogMarginTop]: previewIsLoaded }) }+ className = { cx(classes.dialog, { [classes.dialogMarginTop]: previewIsLoaded }) }role = 'radiogroup'tabIndex = { -1 }><Tooltip@@ -584,7 +584,7 @@ function VirtualBackground({<divaria-checked = { _selectedThumbnail === 'none' }aria-label = { t('virtualBackground.removeBackground') }- className = { clsx('background-option', 'virtual-background-none', {+ className = { cx('background-option', 'virtual-background-none', {'none-selected': _selectedThumbnail === 'none'}) }onClick = { removeBackground }@@ -600,7 +600,7 @@ function VirtualBackground({<divaria-checked = { _selectedThumbnail === 'slight-blur' }aria-label = { t('virtualBackground.slightBlur') }- className = { clsx('background-option', 'slight-blur', {+ className = { cx('background-option', 'slight-blur', {'slight-blur-selected': _selectedThumbnail === 'slight-blur'}) }onClick = { enableSlideBlur }@@ -616,7 +616,7 @@ function VirtualBackground({<divaria-checked = { _selectedThumbnail === 'blur' }aria-label = { t('virtualBackground.blur') }- className = { clsx('background-option', 'blur', {+ className = { cx('background-option', 'blur', {'blur-selected': _selectedThumbnail === 'blur'}) }onClick = { enableBlur }@@ -633,7 +633,7 @@ function VirtualBackground({<divaria-checked = { _selectedThumbnail === 'desktop-share' }aria-label = { t('virtualBackground.desktopShare') }- className = { clsx('background-option', 'desktop-share', {+ className = { cx('background-option', 'desktop-share', {'desktop-share-selected': _selectedThumbnail === 'desktop-share'}) }onClick = { shareDesktop }@@ -675,7 +675,7 @@ function VirtualBackground({<imgalt = { t('virtualBackground.uploadedImage', { index: index + 1 }) }aria-checked = { _selectedThumbnail === image.id }- className = { clsx('background-option', {+ className = { cx('background-option', {'thumbnail-selected': _selectedThumbnail === image.id,'thumbnail': _selectedThumbnail !== image.id}) }diff --git a/react/features/virtual-background/components/VirtualBackgroundPreview.tsx b/react/features/virtual-background/components/VirtualBackgroundPreview.tsxindex a1d715652f..a4ea289507 100644--- a/react/features/virtual-background/components/VirtualBackgroundPreview.tsx+++ b/react/features/virtual-background/components/VirtualBackgroundPreview.tsx@@ -1,6 +1,7 @@/* eslint-disable lines-around-comment */import Spinner from '@atlaskit/spinner';-import { withStyles } from '@material-ui/core/styles';+import { Theme } from '@mui/material';+import { withStyles } from '@mui/styles';import React, { PureComponent } from 'react';import { WithTranslation } from 'react-i18next';@@ -89,7 +90,7 @@ type State = {** @returns {Object}*/-const styles = (theme: any) => {+const styles = (theme: Theme) => {return {virtualBackgroundPreview: {'& .video-preview': {@@ -100,7 +101,7 @@ const styles = (theme: any) => {marginLeft: '-10px',height: '250px',width: '570px',- marginBottom: `${theme.spacing(2)}px`,+ marginBottom: theme.spacing(2),zIndex: 2,'@media (max-width: 632px)': {@@ -112,7 +113,7 @@ const styles = (theme: any) => {borderRadius: '6px',backgroundColor: 'transparent',height: '250px',- marginBottom: `${theme.spacing(2)}px`,+ marginBottom: theme.spacing(2),width: '572px',position: 'fixed',zIndex: 2,