From 9721ebe33116bf83dcfe3a3c61b5453af4bc5f94 Mon Sep 17 00:00:00 2001 From: Yuki Zhang Date: Wed, 19 Oct 2022 23:36:41 +0800 Subject: [PATCH] refactor: use Space.Compact for Dropdown.Button (#38090) * feat: use Space.Compact for Dropdown.Button * test: update button demo tests * test: update config-provider demo tests * fix: deps-lint-skip for dropdown * fix: lint issue --- .../__snapshots__/demo-extend.test.ts.snap | 6 +-- .../__tests__/__snapshots__/demo.test.ts.snap | 6 +-- .../__snapshots__/components.test.tsx.snap | 42 +++++++-------- .../__snapshots__/demo-extend.test.ts.snap | 54 +++++++++---------- .../__tests__/__snapshots__/demo.test.ts.snap | 54 +++++++++---------- .../dropdown-button.test.tsx.snap | 12 ++--- components/dropdown/dropdown-button.tsx | 13 +++-- components/dropdown/style/index.tsx | 1 + 8 files changed, 96 insertions(+), 92 deletions(-) diff --git a/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap index 232331a29f..2e699a6043 100644 --- a/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -1787,10 +1787,10 @@ Array [ ,
,