diff --git a/components/alert/__tests__/__snapshots__/demo.test.js.snap b/components/alert/__tests__/__snapshots__/demo.test.js.snap index a8a07c0fde..9024d09516 100644 --- a/components/alert/__tests__/__snapshots__/demo.test.js.snap +++ b/components/alert/__tests__/__snapshots__/demo.test.js.snap @@ -252,7 +252,6 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = ` > + + +
- + + + `; diff --git a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap index 681bc6ee2e..f12737fffb 100644 --- a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap @@ -12,9 +12,26 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` readonly="" value="" /> - + + +

@@ -28,9 +45,26 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` readonly="" value="" /> - + + +

@@ -60,9 +94,26 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` tabindex="-1" value="" /> - + + +
@@ -76,9 +127,26 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` readonly="" value="" /> - + + + @@ -96,9 +164,26 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = ` readonly="" value="" /> - + + + - + + + @@ -148,9 +250,26 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` readonly="" value="2015-06-06" /> - + + +
@@ -165,9 +284,26 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` readonly="" value="2015-06" /> - + + +
@@ -199,9 +335,26 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` tabindex="-1" value="2015-06-06" /> - + + + @@ -219,9 +372,26 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] = readonly="" value="" /> - + + +
@@ -235,9 +405,26 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] = readonly="" value="" /> - + + +
@@ -268,9 +455,26 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] = tabindex="-1" value="" /> - + + + @@ -288,9 +492,26 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = ` readonly="" value="" /> - + + + - + + + - + + + - + + + - + + + @@ -404,9 +693,26 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = ` - + + +
@@ -423,9 +729,26 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = ` - + + +
@@ -458,9 +781,26 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = ` - + + +
@@ -478,9 +818,26 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = ` readonly="" value="" /> - + + +
@@ -510,9 +867,26 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = ` tabindex="-1" value="" /> - + + +
@@ -546,9 +920,26 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] tabindex="-1" value="" /> - + + +
@@ -579,9 +970,26 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] tabindex="-1" value="" /> - + + + @@ -663,9 +1071,26 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` readonly="" value="" /> - + + +
@@ -679,9 +1104,26 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` readonly="" value="" /> - + + +
@@ -711,9 +1153,26 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` tabindex="-1" value="" /> - + + +
@@ -727,9 +1186,26 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` readonly="" value="" /> - + + + @@ -747,9 +1223,26 @@ exports[`renders ./components/date-picker/demo/start-end.md correctly 1`] = ` readonly="" value="" /> - + + + - + + + @@ -782,9 +1292,26 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = ` readonly="" value="" /> - + + +
@@ -815,9 +1342,26 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = ` tabindex="-1" value="" /> - + + +
diff --git a/components/drawer/__tests__/__snapshots__/Drawer.test.js.snap b/components/drawer/__tests__/__snapshots__/Drawer.test.js.snap index 8f6efe4616..3e8ec2283d 100644 --- a/components/drawer/__tests__/__snapshots__/Drawer.test.js.snap +++ b/components/drawer/__tests__/__snapshots__/Drawer.test.js.snap @@ -87,7 +87,24 @@ exports[`Drawer have a title 1`] = ` > + > + + + +
+ > + + + +
+ > + + + +
- + + +
@@ -2063,9 +2079,26 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = readonly="" value="" /> - + + +
@@ -2106,9 +2139,26 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = readonly="" value="" /> - + + +
@@ -2165,9 +2215,26 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = tabindex="-1" value="" /> - + + + @@ -2225,9 +2292,26 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = tabindex="-1" value="" /> - + + + @@ -3386,6 +3470,26 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` placeholder="I'm the content is being validated" type="text" /> + + + + +
+ + + + +
@@ -3455,6 +3583,30 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` placeholder="Warning" type="text" /> + + + + + @@ -3487,6 +3639,30 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` placeholder="unavailable choice" type="text" /> + + + + +
- + + +
+ + + + + @@ -3574,6 +3791,30 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` class="ant-time-picker-icon" /> + + + + + @@ -3632,6 +3873,30 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` + + + + + @@ -3680,7 +3945,6 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` >
+ + + + +
- + + +
@@ -3798,9 +4099,26 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` readonly="" value="" /> - + + + @@ -3880,6 +4198,30 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` /> + + + + + diff --git a/components/icon/__tests__/__snapshots__/index.test.js.snap b/components/icon/__tests__/__snapshots__/index.test.js.snap index a24ea72140..8d632aaf84 100644 --- a/components/icon/__tests__/__snapshots__/index.test.js.snap +++ b/components/icon/__tests__/__snapshots__/index.test.js.snap @@ -6,7 +6,6 @@ exports[`Icon should render to a ... 1`] = ` > - + + + @@ -665,7 +682,6 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = ` > + + + - + + + @@ -362,8 +396,25 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = ` class="ant-transfer-list-search-action" > + class="anticon" + > + + @@ -386,8 +437,21 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -1510,9 +1604,26 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
- + + +
- + + +
- + + +
+ class="anticon" + > + +
@@ -5761,8 +5863,21 @@ exports[`Locale Provider should display the text as ar 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -6875,9 +7020,26 @@ exports[`Locale Provider should display the text as ar 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -10358,8 +10571,21 @@ exports[`Locale Provider should display the text as bg 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -11472,9 +11728,26 @@ exports[`Locale Provider should display the text as bg 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -14955,8 +15279,21 @@ exports[`Locale Provider should display the text as ca 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -16069,9 +16436,26 @@ exports[`Locale Provider should display the text as ca 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -19552,8 +19987,21 @@ exports[`Locale Provider should display the text as cs 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -20666,9 +21144,26 @@ exports[`Locale Provider should display the text as cs 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -24149,8 +24695,21 @@ exports[`Locale Provider should display the text as de 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -25263,9 +25852,26 @@ exports[`Locale Provider should display the text as de 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -28746,8 +29403,21 @@ exports[`Locale Provider should display the text as el 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -29860,9 +30560,26 @@ exports[`Locale Provider should display the text as el 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -33343,8 +34111,21 @@ exports[`Locale Provider should display the text as en 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -34457,9 +35268,26 @@ exports[`Locale Provider should display the text as en 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -37940,8 +38819,21 @@ exports[`Locale Provider should display the text as en-gb 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -39054,9 +39976,26 @@ exports[`Locale Provider should display the text as en-gb 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -42537,8 +43527,21 @@ exports[`Locale Provider should display the text as es 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -43651,9 +44684,26 @@ exports[`Locale Provider should display the text as es 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -47134,8 +48235,21 @@ exports[`Locale Provider should display the text as et 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -48248,9 +49392,26 @@ exports[`Locale Provider should display the text as et 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -51731,8 +52943,21 @@ exports[`Locale Provider should display the text as fa 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -52845,9 +54100,26 @@ exports[`Locale Provider should display the text as fa 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -56328,8 +57651,21 @@ exports[`Locale Provider should display the text as fi 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -57442,9 +58808,26 @@ exports[`Locale Provider should display the text as fi 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -60925,8 +62359,21 @@ exports[`Locale Provider should display the text as fr 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -62039,9 +63516,26 @@ exports[`Locale Provider should display the text as fr 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -65522,8 +67067,21 @@ exports[`Locale Provider should display the text as fr 2`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -66636,9 +68224,26 @@ exports[`Locale Provider should display the text as fr 2`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -70119,8 +71775,21 @@ exports[`Locale Provider should display the text as is 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -71233,9 +72932,26 @@ exports[`Locale Provider should display the text as is 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -74716,8 +76483,21 @@ exports[`Locale Provider should display the text as it 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -75830,9 +77640,26 @@ exports[`Locale Provider should display the text as it 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -79313,8 +81191,21 @@ exports[`Locale Provider should display the text as ja 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -80427,9 +82348,26 @@ exports[`Locale Provider should display the text as ja 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -83910,8 +85899,21 @@ exports[`Locale Provider should display the text as ko 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -85024,9 +87056,26 @@ exports[`Locale Provider should display the text as ko 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -88507,8 +90607,21 @@ exports[`Locale Provider should display the text as ku-iq 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -89621,9 +91764,26 @@ exports[`Locale Provider should display the text as ku-iq 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -93104,8 +95315,21 @@ exports[`Locale Provider should display the text as nb 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -94218,9 +96472,26 @@ exports[`Locale Provider should display the text as nb 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -97701,8 +100023,21 @@ exports[`Locale Provider should display the text as nl 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -98815,9 +101180,26 @@ exports[`Locale Provider should display the text as nl 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -102298,8 +104731,21 @@ exports[`Locale Provider should display the text as nl-be 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -103412,9 +105888,26 @@ exports[`Locale Provider should display the text as nl-be 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -106895,8 +109439,21 @@ exports[`Locale Provider should display the text as pl 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -108009,9 +110596,26 @@ exports[`Locale Provider should display the text as pl 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -111492,8 +114147,21 @@ exports[`Locale Provider should display the text as pt 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -112606,9 +115304,26 @@ exports[`Locale Provider should display the text as pt 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -116089,8 +118855,21 @@ exports[`Locale Provider should display the text as pt-br 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -117203,9 +120012,26 @@ exports[`Locale Provider should display the text as pt-br 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -120686,8 +123563,21 @@ exports[`Locale Provider should display the text as ru 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -121800,9 +124720,26 @@ exports[`Locale Provider should display the text as ru 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -125283,8 +128271,21 @@ exports[`Locale Provider should display the text as sk 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -126397,9 +129428,26 @@ exports[`Locale Provider should display the text as sk 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -129880,8 +132979,21 @@ exports[`Locale Provider should display the text as sl 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -130994,9 +134136,26 @@ exports[`Locale Provider should display the text as sl 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -134477,8 +137687,21 @@ exports[`Locale Provider should display the text as sr 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -135591,9 +138844,26 @@ exports[`Locale Provider should display the text as sr 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -139074,8 +142395,21 @@ exports[`Locale Provider should display the text as sv 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -140188,9 +143552,26 @@ exports[`Locale Provider should display the text as sv 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -143671,8 +147103,21 @@ exports[`Locale Provider should display the text as th 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -144785,9 +148260,26 @@ exports[`Locale Provider should display the text as th 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -148268,8 +151811,21 @@ exports[`Locale Provider should display the text as tr 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -149382,9 +152968,26 @@ exports[`Locale Provider should display the text as tr 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -152865,8 +156519,21 @@ exports[`Locale Provider should display the text as uk 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -153979,9 +157676,26 @@ exports[`Locale Provider should display the text as uk 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -157462,8 +161227,21 @@ exports[`Locale Provider should display the text as vi 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -158576,9 +162384,26 @@ exports[`Locale Provider should display the text as vi 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -162059,8 +165935,21 @@ exports[`Locale Provider should display the text as zh-cn 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -163173,9 +167092,26 @@ exports[`Locale Provider should display the text as zh-cn 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + - + + +
- + + +
+ class="anticon" + > + +
@@ -166656,8 +170643,21 @@ exports[`Locale Provider should display the text as zh-tw 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
@@ -167770,9 +171800,26 @@ exports[`Locale Provider should display the text as zh-tw 1`] = ` Name + class="anticon ant-dropdown-trigger" + > + + + class="anticon" + > + +
@@ -91,8 +108,21 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = ` type="button" > + class="anticon" + > + + to right @@ -103,8 +133,21 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = ` type="button" > + class="anticon" + > + + to left @@ -160,8 +203,25 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = ` class="ant-transfer-list-search-action" > + class="anticon" + > + +
@@ -308,8 +368,21 @@ exports[`renders ./components/transfer/demo/basic.md correctly 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
+ class="anticon" + > + +
+ class="anticon" + > + +
@@ -713,8 +868,21 @@ exports[`renders ./components/transfer/demo/search.md correctly 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
diff --git a/components/transfer/__tests__/__snapshots__/index.test.js.snap b/components/transfer/__tests__/__snapshots__/index.test.js.snap index fbaa3e8bb1..59431260e4 100644 --- a/components/transfer/__tests__/__snapshots__/index.test.js.snap +++ b/components/transfer/__tests__/__snapshots__/index.test.js.snap @@ -101,8 +101,21 @@ exports[`Transfer should render correctly 1`] = ` type="button" > + class="anticon" + > + +
+ class="anticon" + > + +
+ class="anticon" + > + + + class="anticon" + > + + + class="anticon" + > + + + class="anticon" + > + +