mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 22:52:08 +08:00
refactor: bump antd to 5.27.0, update Input.Password suffix (#9263)
This commit is contained in:
parent
f9056b0680
commit
ecf1f816c3
@ -164,7 +164,7 @@
|
|||||||
"@viz-js/lang-dot": "^1.0.5",
|
"@viz-js/lang-dot": "^1.0.5",
|
||||||
"@viz-js/viz": "^3.14.0",
|
"@viz-js/viz": "^3.14.0",
|
||||||
"@xyflow/react": "^12.4.4",
|
"@xyflow/react": "^12.4.4",
|
||||||
"antd": "patch:antd@npm%3A5.26.7#~/.yarn/patches/antd-npm-5.26.7-029c5c381a.patch",
|
"antd": "patch:antd@npm%3A5.27.0#~/.yarn/patches/antd-npm-5.27.0-aa91c36546.patch",
|
||||||
"archiver": "^7.0.1",
|
"archiver": "^7.0.1",
|
||||||
"async-mutex": "^0.5.0",
|
"async-mutex": "^0.5.0",
|
||||||
"axios": "^1.7.3",
|
"axios": "^1.7.3",
|
||||||
|
|||||||
@ -284,8 +284,7 @@ const ProviderSetting: FC<Props> = ({ providerId }) => {
|
|||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
autoFocus={provider.enabled && provider.apiKey === '' && !isProviderSupportAuth(provider)}
|
autoFocus={provider.enabled && provider.apiKey === '' && !isProviderSupportAuth(provider)}
|
||||||
disabled={provider.id === 'copilot'}
|
disabled={provider.id === 'copilot'}
|
||||||
// FIXME:暂时用 prefix。因为 suffix 会被覆盖,实际上不起作用。
|
suffix={renderStatusIndicator()}
|
||||||
prefix={renderStatusIndicator()}
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
type={isApiKeyConnectable ? 'primary' : 'default'}
|
type={isApiKeyConnectable ? 'primary' : 'default'}
|
||||||
|
|||||||
36
yarn.lock
36
yarn.lock
@ -8537,7 +8537,7 @@ __metadata:
|
|||||||
"@viz-js/lang-dot": "npm:^1.0.5"
|
"@viz-js/lang-dot": "npm:^1.0.5"
|
||||||
"@viz-js/viz": "npm:^3.14.0"
|
"@viz-js/viz": "npm:^3.14.0"
|
||||||
"@xyflow/react": "npm:^12.4.4"
|
"@xyflow/react": "npm:^12.4.4"
|
||||||
antd: "patch:antd@npm%3A5.26.7#~/.yarn/patches/antd-npm-5.26.7-029c5c381a.patch"
|
antd: "patch:antd@npm%3A5.27.0#~/.yarn/patches/antd-npm-5.27.0-aa91c36546.patch"
|
||||||
archiver: "npm:^7.0.1"
|
archiver: "npm:^7.0.1"
|
||||||
async-mutex: "npm:^0.5.0"
|
async-mutex: "npm:^0.5.0"
|
||||||
axios: "npm:^1.7.3"
|
axios: "npm:^1.7.3"
|
||||||
@ -8855,9 +8855,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"antd@npm:5.26.7":
|
"antd@npm:5.27.0":
|
||||||
version: 5.26.7
|
version: 5.27.0
|
||||||
resolution: "antd@npm:5.26.7"
|
resolution: "antd@npm:5.27.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ant-design/colors": "npm:^7.2.1"
|
"@ant-design/colors": "npm:^7.2.1"
|
||||||
"@ant-design/cssinjs": "npm:^1.23.0"
|
"@ant-design/cssinjs": "npm:^1.23.0"
|
||||||
@ -8899,8 +8899,8 @@ __metadata:
|
|||||||
rc-steps: "npm:~6.0.1"
|
rc-steps: "npm:~6.0.1"
|
||||||
rc-switch: "npm:~4.1.0"
|
rc-switch: "npm:~4.1.0"
|
||||||
rc-table: "npm:~7.51.1"
|
rc-table: "npm:~7.51.1"
|
||||||
rc-tabs: "npm:~15.6.1"
|
rc-tabs: "npm:~15.7.0"
|
||||||
rc-textarea: "npm:~1.10.1"
|
rc-textarea: "npm:~1.10.2"
|
||||||
rc-tooltip: "npm:~6.4.0"
|
rc-tooltip: "npm:~6.4.0"
|
||||||
rc-tree: "npm:~5.13.1"
|
rc-tree: "npm:~5.13.1"
|
||||||
rc-tree-select: "npm:~5.27.0"
|
rc-tree-select: "npm:~5.27.0"
|
||||||
@ -8911,13 +8911,13 @@ __metadata:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ">=16.9.0"
|
react: ">=16.9.0"
|
||||||
react-dom: ">=16.9.0"
|
react-dom: ">=16.9.0"
|
||||||
checksum: 10c0/2ff4469091790986faf7ad76854c3ea9ff231df2c2ba1eed93caf93986401193a8265d3b1a4074be79a9a9705a8c823508cfbbd370c5c8db04f7dcc90895ccf5
|
checksum: 10c0/c5eee01a8c69f78c8d8cf673b94891daab2c9e5910bf29c61c3f188be5c55891ea1f58708b9681efe2da7f87dc5e32bb0f5f0baaa0a2c0f8f924c46fbf7ea46c
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"antd@patch:antd@npm%3A5.26.7#~/.yarn/patches/antd-npm-5.26.7-029c5c381a.patch":
|
"antd@patch:antd@npm%3A5.27.0#~/.yarn/patches/antd-npm-5.27.0-aa91c36546.patch":
|
||||||
version: 5.26.7
|
version: 5.27.0
|
||||||
resolution: "antd@patch:antd@npm%3A5.26.7#~/.yarn/patches/antd-npm-5.26.7-029c5c381a.patch::version=5.26.7&hash=a9067b"
|
resolution: "antd@patch:antd@npm%3A5.27.0#~/.yarn/patches/antd-npm-5.27.0-aa91c36546.patch::version=5.27.0&hash=a9067b"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ant-design/colors": "npm:^7.2.1"
|
"@ant-design/colors": "npm:^7.2.1"
|
||||||
"@ant-design/cssinjs": "npm:^1.23.0"
|
"@ant-design/cssinjs": "npm:^1.23.0"
|
||||||
@ -8959,8 +8959,8 @@ __metadata:
|
|||||||
rc-steps: "npm:~6.0.1"
|
rc-steps: "npm:~6.0.1"
|
||||||
rc-switch: "npm:~4.1.0"
|
rc-switch: "npm:~4.1.0"
|
||||||
rc-table: "npm:~7.51.1"
|
rc-table: "npm:~7.51.1"
|
||||||
rc-tabs: "npm:~15.6.1"
|
rc-tabs: "npm:~15.7.0"
|
||||||
rc-textarea: "npm:~1.10.1"
|
rc-textarea: "npm:~1.10.2"
|
||||||
rc-tooltip: "npm:~6.4.0"
|
rc-tooltip: "npm:~6.4.0"
|
||||||
rc-tree: "npm:~5.13.1"
|
rc-tree: "npm:~5.13.1"
|
||||||
rc-tree-select: "npm:~5.27.0"
|
rc-tree-select: "npm:~5.27.0"
|
||||||
@ -8971,7 +8971,7 @@ __metadata:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ">=16.9.0"
|
react: ">=16.9.0"
|
||||||
react-dom: ">=16.9.0"
|
react-dom: ">=16.9.0"
|
||||||
checksum: 10c0/5ac99ea57516c212b5da37bdb9ac6538ee0afa12adb9551be4215ef2be812ad79f46620042fd3a7cb94a2b6526072c5bfa1ae48be34946726fc3c03608f01e13
|
checksum: 10c0/47442e8dcd8155e1ee0e27597b1a93d1867ef416023eef4f948ce08c9257d9f048444a66373583e32a0e0bae067cff6773ed6ec49f673197107fc01e78ea9ebf
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -18917,9 +18917,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"rc-tabs@npm:~15.6.1":
|
"rc-tabs@npm:~15.7.0":
|
||||||
version: 15.6.1
|
version: 15.7.0
|
||||||
resolution: "rc-tabs@npm:15.6.1"
|
resolution: "rc-tabs@npm:15.7.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": "npm:^7.11.2"
|
"@babel/runtime": "npm:^7.11.2"
|
||||||
classnames: "npm:2.x"
|
classnames: "npm:2.x"
|
||||||
@ -18931,7 +18931,7 @@ __metadata:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ">=16.9.0"
|
react: ">=16.9.0"
|
||||||
react-dom: ">=16.9.0"
|
react-dom: ">=16.9.0"
|
||||||
checksum: 10c0/b982582902684eae5ec1783af4de1d31bd8c8fc7419dec3abd883abfa51d7a270db01a73bc579341fc84b0c8a92fc2cbd0e8ed272ce31b4ea2ac5979eaf5215c
|
checksum: 10c0/472561f2ec611e9f2a396ba9fec6b83138621651aa2e9fb5a1c68b4da8cb6cab01c23ca71b3940876a595f30c2b8324b8899f93486862271be8eb16a95433764
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -18951,7 +18951,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"rc-textarea@npm:~1.10.1":
|
"rc-textarea@npm:~1.10.2":
|
||||||
version: 1.10.2
|
version: 1.10.2
|
||||||
resolution: "rc-textarea@npm:1.10.2"
|
resolution: "rc-textarea@npm:1.10.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user