2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/carousel/demo/autoplay.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-carousel"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-initialized slick-slider"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-list"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-track"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
|
|
|
data-index="0"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="1"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="2"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="3"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="4"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/carousel/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-carousel"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-initialized slick-slider"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-list"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-track"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
|
|
|
data-index="0"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="1"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="2"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="3"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="4"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/carousel/demo/fade.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-carousel"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-initialized slick-slider"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-list"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-track"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
|
|
|
data-index="0"
|
|
|
|
style="outline:none;position:relative;left:0;opacity:1;transition:opacity 500ms ease;-webkit-transition:opacity 500ms ease;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="1"
|
|
|
|
style="outline:none;position:relative;left:0;opacity:0;transition:opacity 500ms ease;-webkit-transition:opacity 500ms ease;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="2"
|
|
|
|
style="outline:none;position:relative;left:0;opacity:0;transition:opacity 500ms ease;-webkit-transition:opacity 500ms ease;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="3"
|
|
|
|
style="outline:none;position:relative;left:0;opacity:0;transition:opacity 500ms ease;-webkit-transition:opacity 500ms ease;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/carousel/demo/vertical.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-carousel ant-carousel-vertical"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-initialized slick-slider slick-vertical"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-list"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="slick-track"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
|
|
|
data-index="0"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="1"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="2"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="3"
|
|
|
|
style="outline:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="slick-slide slick-active slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="4"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|