From a5511528501f06b1eb3bb0e876ac11e6a43e6673 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 24 Dec 2022 15:39:42 +0800 Subject: [PATCH 1/3] fix(Drawer): default props not working --- package.json | 2 +- scripts/post-script.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 61249273b7fb..6be61eb9e3e7 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "rc-checkbox": "~2.3.0", "rc-collapse": "~3.4.2", "rc-dialog": "~9.0.2", - "rc-drawer": "~6.1.0", + "rc-drawer": "~6.1.1", "rc-dropdown": "~4.0.0", "rc-field-form": "~1.27.0", "rc-image": "~5.12.0", diff --git a/scripts/post-script.js b/scripts/post-script.js index 97067c460cbf..4898af52ad50 100644 --- a/scripts/post-script.js +++ b/scripts/post-script.js @@ -25,6 +25,7 @@ const DEPRECIATED_VERSION = { '4.24.0': ['https://github.com/ant-design/ant-design/issues/38371'], '5.0.4': ['https://github.com/ant-design/ant-design/issues/39284'], '5.0.6': [], + '5.1.0': ['https://github.com/react-component/drawer/pull/370'], }; function matchDeprecated(version) { From 1470bc3128122a29100f54e870d4378f82174e01 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Mon, 26 Dec 2022 10:22:08 +0800 Subject: [PATCH 2/3] Update scripts/post-script.js --- scripts/post-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-script.js b/scripts/post-script.js index 4898af52ad50..db2cf69880a0 100644 --- a/scripts/post-script.js +++ b/scripts/post-script.js @@ -24,7 +24,7 @@ const DEPRECIATED_VERSION = { ], '4.24.0': ['https://github.com/ant-design/ant-design/issues/38371'], '5.0.4': ['https://github.com/ant-design/ant-design/issues/39284'], - '5.0.6': [], + '5.0.6': [], // Issue with @rc-components/tour v1.0.3 '5.1.0': ['https://github.com/react-component/drawer/pull/370'], }; From b9d3e9225efd80014acc7ebb405d26674a38f79f Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Mon, 26 Dec 2022 11:43:42 +0800 Subject: [PATCH 3/3] Update scripts/post-script.js --- scripts/post-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-script.js b/scripts/post-script.js index db2cf69880a0..96461bfd23b6 100644 --- a/scripts/post-script.js +++ b/scripts/post-script.js @@ -24,7 +24,7 @@ const DEPRECIATED_VERSION = { ], '4.24.0': ['https://github.com/ant-design/ant-design/issues/38371'], '5.0.4': ['https://github.com/ant-design/ant-design/issues/39284'], - '5.0.6': [], // Issue with @rc-components/tour v1.0.3 + '5.0.6': ['https://github.com/ant-design/ant-design/issues/39807'], '5.1.0': ['https://github.com/react-component/drawer/pull/370'], };