diff --git a/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap index ba74f2f586..d1c0a066c4 100644 --- a/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/button/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -2,69 +2,48 @@ exports[`renders components/button/demo/basic.tsx extend context correctly 1`] = `
-
- -
-
+ Primary Button + + + -
-
+ Default Button + + + -
-
+ Dashed Button + + + -
-
+ Text Button + + + -
+ + Link Button + +
`; @@ -72,82 +51,58 @@ exports[`renders components/button/demo/basic.tsx extend context correctly 2`] = exports[`renders components/button/demo/block.tsx extend context correctly 1`] = `
-
- -
-
+ Primary + + + -
-
+ Default + + + -
-
+ Dashed + + + -
-
+ disabled + + + -
-
+ text + + + -
+ + Link + +
`; @@ -155,232 +110,203 @@ exports[`renders components/button/demo/block.tsx extend context correctly 2`] = exports[`renders components/button/demo/chinese-chars-loading.tsx extend context correctly 1`] = `
-
- -
-
- -
-
- -
-
- -
-
+ + -
-
+ + 部 署 + + + + -
-
+ + + -
+ + 部署 + +
`; @@ -388,100 +314,66 @@ exports[`renders components/button/demo/chinese-chars-loading.tsx extend context exports[`renders components/button/demo/component-token.tsx extend context correctly 1`] = `
-
-
- -
-
- -
-
- -
-
+ + TEXT + + + +
-
-
- -
-
- -
-
- -
-
+ + TEXT + + + +
`; @@ -490,69 +382,48 @@ exports[`renders components/button/demo/component-token.tsx extend context corre exports[`renders components/button/demo/danger.tsx extend context correctly 1`] = `
-
- -
-
+ Primary + + + -
-
+ Default + + + -
-
+ Dashed + + + -
-
+ Text + + + -
+ + Link + +
`; @@ -695,444 +566,390 @@ Array [ ,
+
+
- -
- -
-
- -
-
- -
-
-
- -
-
-
-
- -
+ + + +
+
+
+ +
+
+
+
+
- -
- -
-
- -
-
-
- -
-
-
-
- -
- -
- -
+ + +
+
+
+ +
+
+ + + + + + + + +
, ] @@ -1142,336 +959,216 @@ exports[`renders components/button/demo/debug-icon.tsx extend context correctly exports[`renders components/button/demo/disabled.tsx extend context correctly 1`] = `
-
-
- -
-
- -
-
+ + Primary + + +
-
-
- -
-
- -
-
+ + Default + + +
-
-
- -
-
- -
-
+ + Dashed + + +
-
-
- -
-
- -
-
+ + Text + + +
-
-
- -
-
- -
-
+ + Link + + +
-
-
- -
-
- -
-
+ + Danger Default + + +
-
-
- -
-
- -
-
+ + Danger Text + + +
-
-
- -
-
- -
-
+ + Danger Link + + +
-
-
- -
-
- -
-
+ + Ghost + + +
`; @@ -1480,57 +1177,40 @@ exports[`renders components/button/demo/disabled.tsx extend context correctly 2` exports[`renders components/button/demo/ghost.tsx extend context correctly 1`] = `
-
- -
-
+ Primary + + + -
-
+ Default + + + -
-
+ Dashed + + + -
+ + Danger + +
`; @@ -1538,413 +1218,363 @@ exports[`renders components/button/demo/ghost.tsx extend context correctly 2`] = exports[`renders components/button/demo/icon.tsx extend context correctly 1`] = `
+
+
- -
- -
-
- -
-
- -
-
-
- -
-
-
-
- -
+ + + +
+
+
+ +
+
+
+
+
- -
- -
-
- -
-
-
- -
-
-
-
- -
-
+ + +
+
+
+ +
+
+ + + + + + + +
`; @@ -2307,208 +1937,174 @@ exports[`renders components/button/demo/legacy-group.tsx extend context correctl exports[`renders components/button/demo/loading.tsx extend context correctly 1`] = `
-
-
- -
-
+ + + + + Loading + + + -
-
+ + + + + Loading + + + -
-
+ + + + +
-
-
+ Click me! + + + -
-
- -
-
+ + + + + Click me! + + + -
-
+ + + + +
`; @@ -2517,226 +2113,214 @@ exports[`renders components/button/demo/loading.tsx extend context correctly 2`] exports[`renders components/button/demo/multiple.tsx extend context correctly 1`] = `
+ +
-
-
-
-
-
- - +
+ +