From 40893681c543a6081c6def788ed7ae8e110ac5dd Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 24 Oct 2020 21:36:05 +0800 Subject: [PATCH] test: update grid snap --- .../__tests__/__snapshots__/demo.test.js.snap | 103 +++++++++--------- .../__tests__/__snapshots__/demo.test.js.snap | 38 ++++++- .../__tests__/__snapshots__/demo.test.js.snap | 24 ++-- components/grid/style/index.less | 31 ++---- components/grid/style/mixin.less | 52 +-------- components/grid/style/rtl.less | 68 ++++++++++++ components/vc-tree-select/src/SearchInput.jsx | 1 + 7 files changed, 179 insertions(+), 138 deletions(-) create mode 100644 components/grid/style/rtl.less diff --git a/components/empty/__tests__/__snapshots__/demo.test.js.snap b/components/empty/__tests__/__snapshots__/demo.test.js.snap index c8ad0a5a7..bc83ee40e 100644 --- a/components/empty/__tests__/__snapshots__/demo.test.js.snap +++ b/components/empty/__tests__/__snapshots__/demo.test.js.snap @@ -2,17 +2,17 @@ exports[`renders ./antdv-demo/docs/empty/demo/basic.md correctly 1`] = `
-
+
- - - - - + + + + + - - + + @@ -32,20 +32,21 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =

Select

- -
- +
+ + +
+ +
+

TreeSelect

- - - + +
+ + + +

Cascader

@@ -58,13 +59,13 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =
-
-
+
+
- - + + - +
@@ -83,13 +84,13 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =
-
-
+
+
- - + + - +
@@ -133,12 +134,12 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =
-
+
- - + + - +
@@ -163,12 +164,12 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =
-
+
- - + + - +
@@ -196,17 +197,17 @@ exports[`renders ./antdv-demo/docs/empty/demo/customize.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/empty/demo/description.md correctly 1`] = `
-
+
- - - - - + + + + + - - + + @@ -218,13 +219,13 @@ exports[`renders ./antdv-demo/docs/empty/demo/description.md correctly 1`] = ` `; exports[`renders ./antdv-demo/docs/empty/demo/simple.md correctly 1`] = ` -
-
+
+
- - + + - +
diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index 3f08020f8..cdebf41de 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -14,7 +14,10 @@ exports[`renders ./antdv-demo/docs/form/demo/basic.md correctly 1`] = `
-
+
+ please select your zone +
+
@@ -72,6 +75,7 @@ exports[`renders ./antdv-demo/docs/form/demo/basic.md correctly 1`] = `
+
+
@@ -143,6 +149,7 @@ exports[`renders ./antdv-demo/docs/form/demo/dynamic-form-item.md correctly 1`]
+
@@ -221,6 +231,7 @@ exports[`renders ./antdv-demo/docs/form/demo/layout.md correctly 1`] = `
+
@@ -246,7 +257,10 @@ exports[`renders ./antdv-demo/docs/form/demo/useForm-basic.md correctly 1`] = `
-
+
+ please select your zone +
+
@@ -265,6 +279,7 @@ exports[`renders ./antdv-demo/docs/form/demo/useForm-basic.md correctly 1`] = `
+
+