refactor(core): remove all MUI related components and utilities (#4941)

This commit is contained in:
Cats Juice
2023-11-20 10:51:28 +08:00
committed by GitHub
parent 4ef1f4c046
commit 57d42bf491
59 changed files with 335 additions and 2520 deletions
+5 -240
View File
@@ -225,9 +225,6 @@ __metadata:
"@emotion/react": "npm:^11.11.1"
"@emotion/server": "npm:^11.11.0"
"@emotion/styled": "npm:^11.11.0"
"@mui/base": "npm:5.0.0-beta.19"
"@mui/icons-material": "npm:^5.14.14"
"@mui/material": "npm:^5.14.14"
"@popperjs/core": "npm:^2.11.8"
"@radix-ui/react-avatar": "npm:^1.0.4"
"@radix-ui/react-collapsible": "npm:^1.0.3"
@@ -344,7 +341,6 @@ __metadata:
"@emotion/server": "npm:^11.11.0"
"@emotion/styled": "npm:^11.11.0"
"@marsidev/react-turnstile": "npm:^0.3.1"
"@mui/material": "npm:^5.14.14"
"@perfsee/webpack": "npm:^1.8.4"
"@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11"
"@radix-ui/react-collapsible": "npm:^1.0.3"
@@ -821,7 +817,6 @@ __metadata:
"@blocksuite/lit": "npm:0.0.0-20231116023037-31273bb7-nightly"
"@blocksuite/store": "npm:0.0.0-20231116023037-31273bb7-nightly"
"@dnd-kit/sortable": "npm:^7.0.2"
"@mui/material": "npm:^5.14.14"
"@storybook/addon-actions": "npm:^7.4.6"
"@storybook/addon-essentials": "npm:^7.4.6"
"@storybook/addon-interactions": "npm:^7.4.6"
@@ -3455,7 +3450,7 @@ __metadata:
languageName: node
linkType: hard
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.5, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.1, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.5, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2":
version: 7.23.2
resolution: "@babel/runtime@npm:7.23.2"
dependencies:
@@ -5346,7 +5341,7 @@ __metadata:
languageName: node
linkType: hard
"@floating-ui/react-dom@npm:^2.0.0, @floating-ui/react-dom@npm:^2.0.2":
"@floating-ui/react-dom@npm:^2.0.0":
version: 2.0.2
resolution: "@floating-ui/react-dom@npm:2.0.2"
dependencies:
@@ -6799,202 +6794,6 @@ __metadata:
languageName: node
linkType: hard
"@mui/base@npm:5.0.0-beta.19":
version: 5.0.0-beta.19
resolution: "@mui/base@npm:5.0.0-beta.19"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@floating-ui/react-dom": "npm:^2.0.2"
"@mui/types": "npm:^7.2.6"
"@mui/utils": "npm:^5.14.13"
"@popperjs/core": "npm:^2.11.8"
clsx: "npm:^2.0.0"
prop-types: "npm:^15.8.1"
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
checksum: 4ed42c07aa2da31449c337da8535ab38068e1613e85fc69d4b8d60a1d3a270431c32cf0a9e753ae5d11cf4ea197221acda9fd7ad1f93992edc22c7c170a334f4
languageName: node
linkType: hard
"@mui/base@npm:5.0.0-beta.20":
version: 5.0.0-beta.20
resolution: "@mui/base@npm:5.0.0-beta.20"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@floating-ui/react-dom": "npm:^2.0.2"
"@mui/types": "npm:^7.2.6"
"@mui/utils": "npm:^5.14.13"
"@popperjs/core": "npm:^2.11.8"
clsx: "npm:^2.0.0"
prop-types: "npm:^15.8.1"
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
checksum: 5926ae342f2a95a73a8ec3cf5fd9d4d8920b3c8f1faaa396349bd1d16f95e2f6639f049a7838a536d02a1d7a6f805378c0a6c384ad18c33c6eb3c00f50011905
languageName: node
linkType: hard
"@mui/core-downloads-tracker@npm:^5.14.14":
version: 5.14.14
resolution: "@mui/core-downloads-tracker@npm:5.14.14"
checksum: 93a1f16141e3ef4ef63985079dabf6b6196b8f7581f2d71338fca5c00e5834bcecb65ee0ad6a20fc61bbdce33a55b3f02d18c37e1c9937106d65d67b6fa25acd
languageName: node
linkType: hard
"@mui/icons-material@npm:^5.14.14":
version: 5.14.14
resolution: "@mui/icons-material@npm:5.14.14"
dependencies:
"@babel/runtime": "npm:^7.23.1"
peerDependencies:
"@mui/material": ^5.0.0
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: a5ea6d8942f25f1389ac8921e9f960fd38e793b9851e8d5bf535a8b342be4c9f081f62390891636570495a0d6f4bd69fc6fea80a0b76efee7ee4b29627af16a4
languageName: node
linkType: hard
"@mui/material@npm:^5.14.14":
version: 5.14.14
resolution: "@mui/material@npm:5.14.14"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@mui/base": "npm:5.0.0-beta.20"
"@mui/core-downloads-tracker": "npm:^5.14.14"
"@mui/system": "npm:^5.14.14"
"@mui/types": "npm:^7.2.6"
"@mui/utils": "npm:^5.14.13"
"@types/react-transition-group": "npm:^4.4.7"
clsx: "npm:^2.0.0"
csstype: "npm:^3.1.2"
prop-types: "npm:^15.8.1"
react-is: "npm:^18.2.0"
react-transition-group: "npm:^4.4.5"
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
checksum: 637ad369efb4b5173ca6dc267fb865fe267b9d90c09721ac3084ce5a4b61d1f9ae658b5352b877faff335299f2a7cdbe70155c2870fd50f37209b3a0b0482550
languageName: node
linkType: hard
"@mui/private-theming@npm:^5.14.14":
version: 5.14.14
resolution: "@mui/private-theming@npm:5.14.14"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@mui/utils": "npm:^5.14.13"
prop-types: "npm:^15.8.1"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 23fc5a901ea655d60fab30b5c85ea5f8e62e6813f3d89f648f94c8da9437787554adc1a997bf0dc81890a4b706062d43652f9bdbbaddab0c23ef35d6ee07d4e9
languageName: node
linkType: hard
"@mui/styled-engine@npm:^5.14.13":
version: 5.14.13
resolution: "@mui/styled-engine@npm:5.14.13"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@emotion/cache": "npm:^11.11.0"
csstype: "npm:^3.1.2"
prop-types: "npm:^15.8.1"
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
checksum: 0ac6efb025d2e2d3d288c83e55dd152c9d42bb3521dc9c225dc78be37228f023853c19558141d650b4104b2099ba31a5680df0fc32ca9b24463c3ab4e4a83ada
languageName: node
linkType: hard
"@mui/system@npm:^5.14.14":
version: 5.14.14
resolution: "@mui/system@npm:5.14.14"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@mui/private-theming": "npm:^5.14.14"
"@mui/styled-engine": "npm:^5.14.13"
"@mui/types": "npm:^7.2.6"
"@mui/utils": "npm:^5.14.13"
clsx: "npm:^2.0.0"
csstype: "npm:^3.1.2"
prop-types: "npm:^15.8.1"
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
checksum: f748caa2572e86f97950ddd182907c1d434440c17b64aefdde935eeed7cb59dc77b42a1a8ca17e554b74cb6b87422efb2e16101bf4cdac78404c9ba5a2971cbf
languageName: node
linkType: hard
"@mui/types@npm:^7.2.6":
version: 7.2.6
resolution: "@mui/types@npm:7.2.6"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 3701cac48e14150a4dfbf6ebdcd59bf93f3b8c9b7b35aeb81737e6802cb98a41daa374596ba09a66756fc78d838fc5b4f4b748e6d0d35ebdcf86f14da952ef68
languageName: node
linkType: hard
"@mui/utils@npm:^5.14.13":
version: 5.14.13
resolution: "@mui/utils@npm:5.14.13"
dependencies:
"@babel/runtime": "npm:^7.23.1"
"@types/prop-types": "npm:^15.7.7"
prop-types: "npm:^15.8.1"
react-is: "npm:^18.2.0"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 461dd7f9a3bf9c469aca32ca95b1806cc26cd6a00c90539ebede4555e80a14209f47c7026ddc46712f135ea9139abdf1b5c91d980a463b15f3ac10a1fef85339
languageName: node
linkType: hard
"@napi-rs/cli@npm:^2.16.3":
version: 2.16.3
resolution: "@napi-rs/cli@npm:2.16.3"
@@ -13608,7 +13407,7 @@ __metadata:
languageName: node
linkType: hard
"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.7":
"@types/prop-types@npm:*":
version: 15.7.8
resolution: "@types/prop-types@npm:15.7.8"
checksum: 61dfad79da8b1081c450bab83b77935df487ae1cdd4660ec7df6be8e74725c15fa45cf486ce057addc956ca4ae78300b97091e2a25061133d1b9a1440bc896ae
@@ -13659,15 +13458,6 @@ __metadata:
languageName: node
linkType: hard
"@types/react-transition-group@npm:^4.4.7":
version: 4.4.7
resolution: "@types/react-transition-group@npm:4.4.7"
dependencies:
"@types/react": "npm:*"
checksum: 7bbd52516c79d5a0b621366115c161a625293c179c1c44f02301634f3f6aab32c0c484e8f109d0d1e20d158ed471aaaf3140b26c21dc52398c335fc0981027a0
languageName: node
linkType: hard
"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.2.28":
version: 18.2.28
resolution: "@types/react@npm:18.2.28"
@@ -18107,7 +17897,7 @@ __metadata:
languageName: node
linkType: hard
"csstype@npm:^3.0.10, csstype@npm:^3.0.2, csstype@npm:^3.0.7, csstype@npm:^3.1.1, csstype@npm:^3.1.2":
"csstype@npm:^3.0.10, csstype@npm:^3.0.2, csstype@npm:^3.0.7, csstype@npm:^3.1.1":
version: 3.1.2
resolution: "csstype@npm:3.1.2"
checksum: 1f39c541e9acd9562996d88bc9fb62d1cb234786ef11ed275567d4b2bd82e1ceacde25debc8de3d3b4871ae02c2933fa02614004c97190711caebad6347debc2
@@ -18893,16 +18683,6 @@ __metadata:
languageName: node
linkType: hard
"dom-helpers@npm:^5.0.1":
version: 5.2.1
resolution: "dom-helpers@npm:5.2.1"
dependencies:
"@babel/runtime": "npm:^7.8.7"
csstype: "npm:^3.0.2"
checksum: bed2341adf8864bf932b3289c24f35fdd99930af77df46688abf2d753ff291df49a15850c874d686d9be6ec4e1c6835673906e64dbd8b2839d227f117a11fd41
languageName: node
linkType: hard
"dom-serializer@npm:0":
version: 0.2.2
resolution: "dom-serializer@npm:0.2.2"
@@ -29997,7 +29777,7 @@ __metadata:
languageName: node
linkType: hard
"prop-types@npm:^15, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
"prop-types@npm:^15, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
@@ -30712,21 +30492,6 @@ __metadata:
languageName: node
linkType: hard
"react-transition-group@npm:^4.4.5":
version: 4.4.5
resolution: "react-transition-group@npm:4.4.5"
dependencies:
"@babel/runtime": "npm:^7.5.5"
dom-helpers: "npm:^5.0.1"
loose-envify: "npm:^1.4.0"
prop-types: "npm:^15.6.2"
peerDependencies:
react: ">=16.6.0"
react-dom: ">=16.6.0"
checksum: ca32d3fd2168c976c5d90a317f25d5f5cd723608b415fb3b9006f9d793c8965c619562d0884503a3e44e4b06efbca4fdd1520f30e58ca3e00a0890e637d55419
languageName: node
linkType: hard
"react-virtuoso@npm:^4.6.2":
version: 4.6.2
resolution: "react-virtuoso@npm:4.6.2"