From 2b5d587a00f0d1aae7020f4fa93971ae7de1e16a Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 12 Aug 2020 22:08:06 +0800 Subject: [PATCH] feat: space support vue3 --- antdv-demo | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 414 ++++++++++++++++++ .../__snapshots__/index.test.js.snap | 2 + components/space/__tests__/index.test.js | 10 +- components/space/index.jsx | 104 ++--- examples/App.vue | 2 +- 6 files changed, 470 insertions(+), 64 deletions(-) diff --git a/antdv-demo b/antdv-demo index 747488ec6..c0e98550d 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 747488ec6b7df7cb3f7fd2a3c15c16e4368a79ec +Subproject commit c0e98550d636c6b056ad1df07f4cdc446675d22e diff --git a/components/calendar/__tests__/__snapshots__/demo.test.js.snap b/components/calendar/__tests__/__snapshots__/demo.test.js.snap index 1f0baf35a..560ce8768 100644 --- a/components/calendar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/calendar/__tests__/__snapshots__/demo.test.js.snap @@ -612,6 +612,420 @@ exports[`renders ./antdv-demo/docs/calendar/demo/card.md correctly 1`] = ` `; +exports[`renders ./antdv-demo/docs/calendar/demo/customize-header.md correctly 1`] = ` +
Su | +Mo | +Tu | +We | +Th | +Fr | +Sa | +
---|---|---|---|---|---|---|
+
+
+ 30
+
+
+
+ |
+
+
+
+ 31
+
+
+
+ |
+
+
+
+ 01
+
+
+
+ |
+
+
+
+ 02
+
+
+
+ |
+
+
+
+ 03
+
+
+
+ |
+
+
+
+ 04
+
+
+
+ |
+
+
+
+ 05
+
+
+
+ |
+
+
+
+ 06
+
+
+
+ |
+
+
+
+ 07
+
+
+
+ |
+
+
+
+ 08
+
+
+
+ |
+
+
+
+ 09
+
+
+
+ |
+
+
+
+ 10
+
+
+
+ |
+
+
+
+ 11
+
+
+
+ |
+
+
+
+ 12
+
+
+
+ |
+
+
+
+ 13
+
+
+
+ |
+
+
+
+ 14
+
+
+
+ |
+
+
+
+ 15
+
+
+
+ |
+
+
+
+ 16
+
+
+
+ |
+
+
+
+ 17
+
+
+
+ |
+
+
+
+ 18
+
+
+
+ |
+
+
+
+ 19
+
+
+
+ |
+
+
+
+ 20
+
+
+
+ |
+
+
+
+ 21
+
+
+
+ |
+
+
+
+ 22
+
+
+
+ |
+
+
+
+ 23
+
+
+
+ |
+
+
+
+ 24
+
+
+
+ |
+
+
+
+ 25
+
+
+
+ |
+
+
+
+ 26
+
+
+
+ |
+
+
+
+ 27
+
+
+
+ |
+
+
+
+ 28
+
+
+
+ |
+
+
+
+ 29
+
+
+
+ |
+
+
+
+ 30
+
+
+
+ |
+
+
+
+ 01
+
+
+
+ |
+
+
+
+ 02
+
+
+
+ |
+
+
+
+ 03
+
+
+
+ |
+
+
+
+ 04
+
+
+
+ |
+
+
+
+ 05
+
+
+
+ |
+
+
+
+ 06
+
+
+
+ |
+
+
+
+ 07
+
+
+
+ |
+
+
+
+ 08
+
+
+
+ |
+
+
+
+ 09
+
+
+
+ |
+
+
+
+ 10
+
+
+
+ |
+