You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

332 lines
7.3 KiB

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
<div
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="10"
min="1"
value="3"
/>
</div>
</div>
`;
exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
<div
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up ant-input-number-handler-up-disabled"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down ant-input-number-handler-down-disabled"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="10"
min="0"
value=""
/>
</div>
</div>
`;
exports[`renders ./components/input-number/demo/disabled.md correctly 1`] = `
<div>
<div
class="ant-input-number ant-input-number-disabled"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
disabled=""
max="10"
min="1"
value="3"
/>
</div>
</div>
<div
style="margin-top:20px;"
>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Toggle disabled
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
<div>
<div
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="Infinity"
min="-Infinity"
value="$ 1,000"
/>
</div>
</div>
<div
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up ant-input-number-handler-up-disabled"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="100"
min="0"
value="100%"
/>
</div>
</div>
</div>
`;
exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
<div>
<div
class="ant-input-number ant-input-number-lg"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="100000"
min="1"
value="3"
/>
</div>
</div>
<div
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="100000"
min="1"
value="3"
/>
</div>
</div>
<div
class="ant-input-number ant-input-number-sm"
>
<div
class="ant-input-number-handler-wrap"
>
<span
class="ant-input-number-handler ant-input-number-handler-up "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
</span>
<span
class="ant-input-number-handler ant-input-number-handler-down "
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
</span>
</div>
<div
class="ant-input-number-input-wrap"
>
<input
autocomplete="off"
class="ant-input-number-input"
max="100000"
min="1"
value="3"
/>
</div>
</div>
</div>
`;