From 65ccb447c9294720b46a9f0166381b07c299e3c1 Mon Sep 17 00:00:00 2001 From: selicens <1244620067@qq.com> Date: Fri, 18 Aug 2023 14:52:22 +0800 Subject: [PATCH] feat(AutoComplete): add border less and customize clear button (#6829) * feat: add border less * feat: add customize clear button --- .../__tests__/__snapshots__/demo.test.js.snap | 35 ++++++++++ components/auto-complete/demo/allow-clear.vue | 69 +++++++++++++++++++ components/auto-complete/demo/border-less.vue | 53 ++++++++++++++ components/auto-complete/demo/index.vue | 6 ++ components/auto-complete/index.en-US.md | 2 + components/auto-complete/index.tsx | 1 + components/auto-complete/index.zh-CN.md | 2 + 7 files changed, 168 insertions(+) create mode 100644 components/auto-complete/demo/allow-clear.vue create mode 100644 components/auto-complete/demo/border-less.vue diff --git a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap index 97a47020f..2d2c7da70 100644 --- a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap +++ b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap @@ -1,5 +1,28 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`renders ./components/auto-complete/demo/allow-clear.vue correctly 1`] = ` + +
+
+ +`; + exports[`renders ./components/auto-complete/demo/basic.vue correctly 1`] = ` `; +exports[`renders ./components/auto-complete/demo/border-less.vue correctly 1`] = ` + +`; + exports[`renders ./components/auto-complete/demo/certain-category.vue correctly 1`] = `