From d61f9a1856572138afae63091ee31051afb98999 Mon Sep 17 00:00:00 2001 From: WindSpiritSR Date: Tue, 18 Feb 2025 20:54:10 +0800 Subject: [PATCH] feat: update antd from 5.2.3 to 5.24.1 (#3593) --- web/package.json | 8 +- web/src/App.js | 2 +- web/src/App.less | 10 + web/src/BaseListPage.js | 12 +- web/src/CasbinEditor.js | 15 +- web/src/ManagementPage.js | 6 +- web/src/PermissionListPage.js | 4 +- web/src/RoleListPage.js | 4 +- web/src/UserListPage.js | 4 +- web/src/auth/ForgetPage.js | 9 +- web/src/auth/LoginPage.js | 26 +- web/src/basic/Dashboard.js | 18 +- web/src/basic/GridCards.js | 2 +- web/src/common/select/OrganizationSelect.js | 1 + web/src/pricing/PricingPage.js | 2 +- web/yarn.lock | 1438 ++++++++++--------- 16 files changed, 866 insertions(+), 695 deletions(-) diff --git a/web/package.json b/web/package.json index 54cfed16..ccf427af 100644 --- a/web/package.json +++ b/web/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "dependencies": { - "@ant-design/cssinjs": "^1.10.1", - "@ant-design/icons": "^4.7.0", + "@ant-design/cssinjs": "^1.23.0", + "@ant-design/icons": "^5.6.1", "@craco/craco": "^6.4.5", "@crowdin/cli": "^3.7.10", "@ctrl/tinycolor": "^3.5.0", @@ -23,8 +23,8 @@ "@web3-onboard/sequence": "^2.0.8", "@web3-onboard/taho": "^2.0.5", "@web3-onboard/trust": "^2.0.4", - "antd": "5.2.3", - "antd-token-previewer": "^1.1.0-22", + "antd": "5.24.1", + "antd-token-previewer": "^2.0.8", "buffer": "^6.0.3", "codemirror": "^6.0.1", "copy-to-clipboard": "^3.3.1", diff --git a/web/src/App.js b/web/src/App.js index 4c22028d..ca31bd97 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -327,7 +327,7 @@ class App extends Component { isAiAssistantOpen: false, }); }} - visible={this.state.isAiAssistantOpen} + open={this.state.isAiAssistantOpen} >