|
|
@ -227,6 +227,140 @@ exports[`renders ./components/time-picker/demo/basic.md correctly 1`] = ` |
|
|
|
</div> |
|
|
|
`; |
|
|
|
|
|
|
|
exports[`renders ./components/time-picker/demo/bordered.md correctly 1`] = ` |
|
|
|
Array [ |
|
|
|
<div |
|
|
|
class="ant-picker ant-picker-borderless" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-picker-input" |
|
|
|
> |
|
|
|
<input |
|
|
|
autocomplete="off" |
|
|
|
placeholder="Select time" |
|
|
|
readonly="" |
|
|
|
size="10" |
|
|
|
title="" |
|
|
|
value="" |
|
|
|
/> |
|
|
|
<span |
|
|
|
class="ant-picker-suffix" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="clock-circle" |
|
|
|
class="anticon anticon-clock-circle" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
class="" |
|
|
|
data-icon="clock-circle" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" |
|
|
|
/> |
|
|
|
<path |
|
|
|
d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div>, |
|
|
|
<div |
|
|
|
class="ant-picker ant-picker-range ant-picker-borderless" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-picker-input ant-picker-input-active" |
|
|
|
> |
|
|
|
<input |
|
|
|
autocomplete="off" |
|
|
|
placeholder="Start time" |
|
|
|
readonly="" |
|
|
|
size="10" |
|
|
|
value="" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-picker-range-separator" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="to" |
|
|
|
class="ant-picker-separator" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="swap-right" |
|
|
|
class="anticon anticon-swap-right" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
class="" |
|
|
|
data-icon="swap-right" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="0 0 1024 1024" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-picker-input" |
|
|
|
> |
|
|
|
<input |
|
|
|
autocomplete="off" |
|
|
|
placeholder="End time" |
|
|
|
readonly="" |
|
|
|
size="10" |
|
|
|
value="" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-picker-active-bar" |
|
|
|
style="left:0;width:0;position:absolute" |
|
|
|
/> |
|
|
|
<span |
|
|
|
class="ant-picker-suffix" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="clock-circle" |
|
|
|
class="anticon anticon-clock-circle" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
class="" |
|
|
|
data-icon="clock-circle" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" |
|
|
|
/> |
|
|
|
<path |
|
|
|
d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div>, |
|
|
|
] |
|
|
|
`; |
|
|
|
|
|
|
|
exports[`renders ./components/time-picker/demo/colored-popup.md correctly 1`] = ` |
|
|
|
<div |
|
|
|
class="ant-picker" |
|
|
|