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
|
2018-04-28 11:09:15 +08:00
|
|
|
class="slick-slider slick-initialized"
|
2018-03-19 15:40:43 +08:00
|
|
|
dir="ltr"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
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"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:900%;left:-100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="-1"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="0"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="1"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="2"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="3"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2017-08-31 12:19:42 +08:00
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="4"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="5"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="6"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="7"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
<ul
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-dots slick-dots-bottom"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="display:block"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
class="slick-active"
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
1
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
2
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
3
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
4
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-11-22 14:28:05 +08:00
|
|
|
</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
|
2018-04-28 11:09:15 +08:00
|
|
|
class="slick-slider slick-initialized"
|
2018-03-19 15:40:43 +08:00
|
|
|
dir="ltr"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
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"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:900%;left:-100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="-1"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="0"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="1"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="2"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="3"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="outline:none;width:11.11111111111111%"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2017-08-31 12:19:42 +08:00
|
|
|
class="slick-slide slick-cloned"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-index="4"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="5"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="6"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
2018-02-04 22:20:39 +08:00
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="7"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:11.11111111111111%"
|
2018-03-06 21:47:05 +08:00
|
|
|
tabindex="-1"
|
2018-02-04 22:20:39 +08:00
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
<ul
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-dots slick-dots-bottom"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="display:block"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
class="slick-active"
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
1
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
2
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
3
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
4
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-11-22 14:28:05 +08:00
|
|
|
</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
|
2018-04-28 11:09:15 +08:00
|
|
|
class="slick-slider slick-initialized"
|
2018-03-19 15:40:43 +08:00
|
|
|
dir="ltr"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
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"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="width:900%;left:-100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="0"
|
2020-05-08 13:47:51 +08:00
|
|
|
style="outline:none;width:11.11111111111111%;position:relative;left:0;opacity:1;transition:opacity 500ms ease, visibility 500ms ease"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="1"
|
2020-05-08 13:47:51 +08:00
|
|
|
style="outline:none;width:11.11111111111111%;position:relative;left:-11px;opacity:0;transition:opacity 500ms ease, visibility 500ms ease"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="2"
|
2020-05-08 13:47:51 +08:00
|
|
|
style="outline:none;width:11.11111111111111%;position:relative;left:-22px;opacity:0;transition:opacity 500ms ease, visibility 500ms ease"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2018-04-28 11:09:15 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
2016-11-22 14:28:05 +08:00
|
|
|
data-index="3"
|
2020-05-08 13:47:51 +08:00
|
|
|
style="outline:none;width:11.11111111111111%;position:relative;left:-33px;opacity:0;transition:opacity 500ms ease, visibility 500ms ease"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
2018-04-28 11:09:15 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
<ul
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-dots slick-dots-bottom"
|
2018-04-28 11:09:15 +08:00
|
|
|
style="display:block"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
class="slick-active"
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
1
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
2
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
3
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
4
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2019-05-06 12:04:39 +08:00
|
|
|
exports[`renders ./components/carousel/demo/position.md correctly 1`] = `
|
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-05-06 12:04:39 +08:00
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="top"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Top
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottom"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Bottom
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="left"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Left
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="right"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Right
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-carousel"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-slider slick-initialized"
|
|
|
|
dir="ltr"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-list"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-05-06 12:04:39 +08:00
|
|
|
class="slick-track"
|
|
|
|
style="width:900%;left:-100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="-1"
|
|
|
|
style="width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
|
|
|
data-index="0"
|
|
|
|
style="outline:none;width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
|
|
|
data-index="1"
|
|
|
|
style="outline:none;width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
|
|
|
data-index="2"
|
|
|
|
style="outline:none;width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide"
|
|
|
|
data-index="3"
|
|
|
|
style="outline:none;width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="4"
|
|
|
|
style="width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
1
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="5"
|
|
|
|
style="width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
2
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="6"
|
|
|
|
style="width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
3
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="slick-slide slick-cloned"
|
|
|
|
data-index="7"
|
|
|
|
style="width:11.11111111111111%"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width:100%;display:inline-block"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
4
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-04-28 11:09:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-04 22:20:39 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-05-06 12:04:39 +08:00
|
|
|
<ul
|
|
|
|
class="slick-dots slick-dots-top"
|
|
|
|
style="display:block"
|
2018-04-28 11:09:15 +08:00
|
|
|
>
|
2019-05-06 12:04:39 +08:00
|
|
|
<li
|
|
|
|
class="slick-active"
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
1
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
2
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
3
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<button>
|
|
|
|
4
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|