2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/rate/demo/character.md correctly 1`] = `
|
2017-02-21 14:44:13 +08:00
|
|
|
<div>
|
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-heart"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<br />
|
|
|
|
<ul
|
|
|
|
class="ant-rate"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="font-size:36px"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
A
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<br />
|
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
好
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-12-15 15:30:38 +08:00
|
|
|
exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<ul
|
|
|
|
class="ant-rate"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
allowClear: true
|
|
|
|
<br />
|
|
|
|
<ul
|
|
|
|
class="ant-rate"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
allowClear: false
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate ant-rate-disabled"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="-1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/rate/demo/half.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-half ant-rate-star-active"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/rate/demo/text.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate"
|
2017-11-28 11:12:51 +08:00
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-full"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star ant-rate-star-zero"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-first"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-star-second"
|
|
|
|
>
|
2017-02-21 14:44:13 +08:00
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
class="anticon anticon-star"
|
|
|
|
/>
|
2017-02-21 14:44:13 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-rate-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3 stars
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|