201 lines
10 KiB
Plaintext
201 lines
10 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
</ul>
|
|
`;
|
|
|
|
exports[`renders ./components/rate/demo/character.md correctly 1`] = `
|
|
<div>
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-heart"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-heart"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-heart"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-heart"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-heart"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-heart"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-heart"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-heart"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-heart"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-heart"></i></div>
|
|
</li>
|
|
</ul> <br>
|
|
<ul tabindex="0" class="ant-rate" style="font-size: 36px;">
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">A</div>
|
|
<div class="ant-rate-star-second">A</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">A</div>
|
|
<div class="ant-rate-star-second">A</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">A</div>
|
|
<div class="ant-rate-star-second">A</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">A</div>
|
|
<div class="ant-rate-star-second">A</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">A</div>
|
|
<div class="ant-rate-star-second">A</div>
|
|
</li>
|
|
</ul> <br>
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">好</div>
|
|
<div class="ant-rate-star-second">好</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">好</div>
|
|
<div class="ant-rate-star-second">好</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">好</div>
|
|
<div class="ant-rate-star-second">好</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">好</div>
|
|
<div class="ant-rate-star-second">好</div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first">好</div>
|
|
<div class="ant-rate-star-second">好</div>
|
|
</li>
|
|
</ul> <br>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
|
|
<div>
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
</ul> allowClear: true
|
|
<br>
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
</ul> allowClear: false
|
|
<br>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
|
|
<ul tabindex="-1" class="ant-rate ant-rate-disabled">
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
</ul>
|
|
`;
|
|
|
|
exports[`renders ./components/rate/demo/half.md correctly 1`] = `
|
|
<ul tabindex="0" class="ant-rate">
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-full">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-half ant-rate-star-active">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
<li class="ant-rate-star ant-rate-star-zero">
|
|
<div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div>
|
|
<div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div>
|
|
</li>
|
|
</ul>
|
|
`;
|
|
|
|
exports[`renders ./components/rate/demo/text.md correctly 1`] = `<span><ul tabindex="0" class="ant-rate"><li class="ant-rate-star ant-rate-star-full"><div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div><div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div></li><li class="ant-rate-star ant-rate-star-full"><div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div><div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div></li><li class="ant-rate-star ant-rate-star-full"><div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div><div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div></li><li class="ant-rate-star ant-rate-star-zero"><div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div><div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div></li><li class="ant-rate-star ant-rate-star-zero"><div class="ant-rate-star-first"><i class="anticon anticon-star"></i></div><div class="ant-rate-star-second"><i class="anticon anticon-star"></i></div></li></ul> <span class="ant-rate-text">3 stars</span></span>`;
|