From 94a3d51cb011085a65e7bf6e4b08a53e1c1175a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 11 Jul 2022 15:57:05 +0800 Subject: [PATCH] feat: Dropdown support PurePanel (#36461) * feat: Dropdown support PurePanel * chore: clean up --- .../__snapshots__/demo-extend.test.ts.snap | 286 ++++++++++++++++++ .../__tests__/__snapshots__/demo.test.js.snap | 10 + components/dropdown/demo/render-panel.md | 66 ++++ components/dropdown/dropdown.tsx | 14 + components/select/PurePanel.tsx | 6 +- 5 files changed, 381 insertions(+), 1 deletion(-) create mode 100644 components/dropdown/demo/render-panel.md diff --git a/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap index 74e30e6b48..556288baa7 100644 --- a/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -8194,6 +8194,292 @@ exports[`renders ./components/dropdown/demo/placement.md extend context correctl `; +exports[`renders ./components/dropdown/demo/render-panel.md extend context correctly 1`] = ` +
+ +
+
+ +