diff --git a/antdv-demo b/antdv-demo index 1ef0721ef..5a80ab4ac 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 1ef0721ef9a98944042be3708326790615a208e7 +Subproject commit 5a80ab4acdc2142534211d2cfbc1a541dabe3943 diff --git a/components/alert/__tests__/__snapshots__/demo.test.js.snap b/components/alert/__tests__/__snapshots__/demo.test.js.snap index f626bc6e3..9240492ee 100644 --- a/components/alert/__tests__/__snapshots__/demo.test.js.snap +++ b/components/alert/__tests__/__snapshots__/demo.test.js.snap @@ -7,9 +7,9 @@ exports[`renders ./antdv-demo/docs/alert/demo/banner.md correctly 1`] = ` Warning text
Very long warning text warning text text text text text text textVery long warning text warning text text text text text text text

+
Warning text without icon

-
Warning Text Warning Text Warning TextW arning Text Warning Text Warning TextWarning Text -
Error TextError Description Error Description Error Description Error Description Error Description Error Description
+ +
`; -exports[`renders ./antdv-demo/docs/alert/demo/close-text.md correctly 1`] = `
Info TextClose Now
`; +exports[`renders ./antdv-demo/docs/alert/demo/close-text.md correctly 1`] = `
Info Text
`; exports[`renders ./antdv-demo/docs/alert/demo/custom-icon.md correctly 1`] = `
@@ -92,9 +92,9 @@ exports[`renders ./antdv-demo/docs/alert/demo/icon.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/alert/demo/smooth-closed.md correctly 1`] = `
-
Alert Message Text +
`; diff --git a/components/alert/index.jsx b/components/alert/index.jsx index f22bd54c7..d9b826ab2 100644 --- a/components/alert/index.jsx +++ b/components/alert/index.jsx @@ -125,13 +125,18 @@ const Alert = { }); const closeIcon = closable ? ( - + ) : null; const iconNode = (icon && diff --git a/components/collapse/__tests__/__snapshots__/demo.test.js.snap b/components/collapse/__tests__/__snapshots__/demo.test.js.snap index e522eb4f4..dcb4c5983 100644 --- a/components/collapse/__tests__/__snapshots__/demo.test.js.snap +++ b/components/collapse/__tests__/__snapshots__/demo.test.js.snap @@ -61,7 +61,7 @@ exports[`renders ./antdv-demo/docs/collapse/demo/borderless.md correctly 1`] = `
This is panel header 1
-
+

A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.

@@ -122,7 +122,7 @@ exports[`renders ./antdv-demo/docs/collapse/demo/extra.md correctly 1`] = `
-
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

@@ -191,7 +191,7 @@ exports[`renders ./antdv-demo/docs/collapse/demo/noarrow.md correctly 1`] = `
This is panel header with arrow icon
-
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.