fix: use input instead of textfield (#973)

This commit is contained in:
boojack 2023-01-19 09:16:22 +08:00 committed by GitHub
parent 12fda38520
commit 4ba9767b94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 22 deletions

View file

@ -9,7 +9,7 @@
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/joy": "^5.0.0-alpha.56",
"@mui/joy": "^5.0.0-alpha.63",
"@reduxjs/toolkit": "^1.8.1",
"axios": "^0.27.2",
"copy-to-clipboard": "^3.3.2",

View file

@ -1,4 +1,4 @@
import { TextField } from "@mui/joy";
import { Input } from "@mui/joy";
import React, { useEffect, useState } from "react";
import { useTagStore } from "../store/module";
import { getTagSuggestionList } from "../helpers/api";
@ -88,7 +88,7 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
</button>
</div>
<div className="dialog-content-container !w-80">
<TextField
<Input
className="mb-2"
placeholder="TAG_NAME"
value={tagName}

View file

@ -818,10 +818,10 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"
"@mui/base@5.0.0-alpha.113":
version "5.0.0-alpha.113"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.113.tgz#51ab20c3a4cf31db4a5540ecf17d7ea6f73b3001"
integrity sha512-XSjvyQWATM8uk+EJZvYna8D21kOXC42lwb3q4K70btuGieKlCIQLaHTTDV2OfD4+JfT4o3NJy3I4Td2co31RZA==
"@mui/base@5.0.0-alpha.114":
version "5.0.0-alpha.114"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.114.tgz#19125f28b7d09d1cc60550872440ecba699d8374"
integrity sha512-ZpsG2I+zTOAnVTj3Un7TxD2zKRA2OhEPGMcWs/9ylPlS6VuGQSXowPooZiqarjT7TZ0+1bOe8titk/t8dLFiGw==
dependencies:
"@babel/runtime" "^7.20.7"
"@emotion/is-prop-valid" "^1.2.0"
@ -832,20 +832,20 @@
prop-types "^15.8.1"
react-is "^18.2.0"
"@mui/core-downloads-tracker@^5.11.4":
version "5.11.4"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.11.4.tgz#def5937e21443b197fd1998fd66721bd9c49a1bb"
integrity sha512-jWVwGM3vG4O0sXcW0VcIl+njCWbGCBF5vvjRpuKJajrz51AD7D6+fP1SkInZXVk5pRHf6Bnk/Yj9Of9gXxb/hA==
"@mui/core-downloads-tracker@^5.11.5":
version "5.11.5"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.11.5.tgz#473c9b918d974f03acc07d29ce467bb91eba13c6"
integrity sha512-MIuWGjitOsugpRhp64CQY3ZEVMIu9M/L9ioql6QLSkz73+bGIlC9FEhfi670/GZ8pQIIGmtiGGwofYzlwEWjig==
"@mui/joy@^5.0.0-alpha.56":
version "5.0.0-alpha.62"
resolved "https://registry.yarnpkg.com/@mui/joy/-/joy-5.0.0-alpha.62.tgz#48b9989729b41de4154f7e7e284cc6459d4b6796"
integrity sha512-4RlANaQ6HcRdSyoWXx/A6hjyLqz8wVFKVmO/WB5l8gN70MmJD4qn8wNDW4vMY1EvOva+iug96rYh60gmvHCkag==
"@mui/joy@^5.0.0-alpha.63":
version "5.0.0-alpha.63"
resolved "https://registry.yarnpkg.com/@mui/joy/-/joy-5.0.0-alpha.63.tgz#8854838dbe178c5ecc021203e0067cc78b16cbea"
integrity sha512-f79zxWkGJzoqSx5CU3AFNVVCFnUdlS6Ei/ctu+x1D9901t0s+RRoKzszB1hGga3k/mizVIWfbMggkDom6J+1ZQ==
dependencies:
"@babel/runtime" "^7.20.7"
"@mui/base" "5.0.0-alpha.113"
"@mui/core-downloads-tracker" "^5.11.4"
"@mui/system" "^5.11.4"
"@mui/base" "5.0.0-alpha.114"
"@mui/core-downloads-tracker" "^5.11.5"
"@mui/system" "^5.11.5"
"@mui/types" "^7.2.3"
"@mui/utils" "^5.11.2"
clsx "^1.2.1"
@ -872,10 +872,10 @@
csstype "^3.1.1"
prop-types "^15.8.1"
"@mui/system@^5.11.4":
version "5.11.4"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.11.4.tgz#a097d6451e12ac442a92ca6e9717b6b8e68ecd45"
integrity sha512-fE2Ts33V5zh7ouciwXgMm/a6sLvjIj9OMeojuHNYY7BStTxparC/Fp9CNUZNJwt76U6ZJC59aYScFSRQKbW08g==
"@mui/system@^5.11.5":
version "5.11.5"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.11.5.tgz#c880199634708c866063396f88d3fdd4c1dfcb48"
integrity sha512-KNVsJ0sgRRp2XBqhh4wPS5aacteqjwxgiYTVwVnll2fgkgunZKo3DsDiGMrFlCg25ZHA3Ax58txWGE9w58zp0w==
dependencies:
"@babel/runtime" "^7.20.7"
"@mui/private-theming" "^5.11.2"