mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Merge origin/4.0-prepare into feat-dark-palette
This commit is contained in:
commit
4dc860decf
@ -1 +1,2 @@
|
||||
~*
|
||||
dist/report.html
|
@ -250,6 +250,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -330,6 +331,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -514,6 +516,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -650,6 +653,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -787,6 +791,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -179,11 +179,10 @@
|
||||
// --------------------------------------------------
|
||||
.btn() {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: inline-block;
|
||||
font-weight: @btn-font-weight;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
background-image: none;
|
||||
border: @btn-border-width @btn-border-style transparent;
|
||||
box-shadow: @btn-shadow;
|
||||
|
@ -24,6 +24,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -80,6 +81,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -975,6 +977,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1031,6 +1034,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1988,6 +1992,7 @@ exports[`renders ./components/calendar/demo/customize-header.md correctly 1`] =
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2049,6 +2054,7 @@ exports[`renders ./components/calendar/demo/customize-header.md correctly 1`] =
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2901,6 +2907,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2957,6 +2964,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -4260,6 +4268,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -4316,6 +4325,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -25,6 +25,7 @@ exports[`Calendar Calendar should support locale 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
@ -82,6 +83,7 @@ exports[`Calendar Calendar should support locale 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
|
@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import debounce from 'lodash/debounce';
|
||||
import { Settings } from 'react-slick';
|
||||
import { Settings } from '@ant-design/react-slick';
|
||||
import { ConfigConsumer, ConfigConsumerProps } from '../config-provider';
|
||||
import warning from '../_util/warning';
|
||||
|
||||
@ -8,7 +8,7 @@ import warning from '../_util/warning';
|
||||
// make sure matchMedia polyfill run before require('react-slick')
|
||||
// Fix https://github.com/ant-design/ant-design/issues/6560
|
||||
// Fix https://github.com/ant-design/ant-design/issues/3308
|
||||
const SlickCarousel = require('react-slick').default;
|
||||
const SlickCarousel = require('@ant-design/react-slick').default;
|
||||
|
||||
export type CarouselEffect = 'scrollx' | 'fade';
|
||||
export type DotPosition = 'top' | 'bottom' | 'left' | 'right';
|
||||
|
@ -367,7 +367,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
|
||||
focusable="false"
|
||||
height="1em"
|
||||
style="-ms-transform:rotate(90deg);transform:rotate(90deg)"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -415,7 +415,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -448,7 +448,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -676,6 +676,7 @@ exports[`renders ./components/collapse/demo/extra.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -1075,6 +1075,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1131,6 +1132,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2020,6 +2022,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2363,6 +2366,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2419,6 +2423,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -3308,6 +3313,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -3651,6 +3657,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -3707,6 +3714,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -4596,6 +4604,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8060,6 +8069,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8203,6 +8213,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8351,6 +8362,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8494,6 +8506,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8642,6 +8655,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -8785,6 +8799,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -10366,6 +10381,7 @@ exports[`ConfigProvider components Select configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -10484,6 +10500,7 @@ exports[`ConfigProvider components Select normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -10602,6 +10619,7 @@ exports[`ConfigProvider components Select prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="prefix-Select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -11286,7 +11304,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -11306,7 +11324,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -11622,7 +11640,7 @@ exports[`ConfigProvider components Table normal 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -11642,7 +11660,7 @@ exports[`ConfigProvider components Table normal 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -11958,7 +11976,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -11978,7 +11996,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -18124,6 +18142,7 @@ exports[`ConfigProvider components TreeSelect configProvider 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="config-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -18235,6 +18254,7 @@ exports[`ConfigProvider components TreeSelect normal 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -18346,6 +18366,7 @@ exports[`ConfigProvider components TreeSelect prefixCls 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="prefix-TreeSelect-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -117,6 +117,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -175,6 +176,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -504,6 +504,7 @@ exports[`renders ./components/form/demo/control-hooks.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="control-hooks_gender"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -657,6 +658,7 @@ exports[`renders ./components/form/demo/control-ref.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="control-ref_gender"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -788,6 +790,7 @@ exports[`renders ./components/form/demo/customized-form-controls.md correctly 1`
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2275,6 +2278,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="register_prefix"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -3007,6 +3011,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="validate_other_select"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -3088,6 +3093,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="validate_other_select-multiple"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -4679,6 +4685,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -66,7 +66,7 @@ exports[`Input.Password should change type when click 1`] = `
|
||||
onClick={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-password-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -92,7 +92,7 @@ exports[`Input.Password should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye-invisible",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -132,7 +132,7 @@ exports[`Input.Password should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye-invisible",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -158,7 +158,7 @@ exports[`Input.Password should change type when click 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</EyeInvisibleOutlined>
|
||||
</span>
|
||||
</span>
|
||||
@ -233,7 +233,7 @@ exports[`Input.Password should change type when click 2`] = `
|
||||
onClick={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-password-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -253,7 +253,7 @@ exports[`Input.Password should change type when click 2`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -287,7 +287,7 @@ exports[`Input.Password should change type when click 2`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -309,7 +309,7 @@ exports[`Input.Password should change type when click 2`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</EyeOutlined>
|
||||
</span>
|
||||
</span>
|
||||
@ -384,7 +384,7 @@ exports[`Input.Password should change type when click 3`] = `
|
||||
onClick={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-password-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -410,7 +410,7 @@ exports[`Input.Password should change type when click 3`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye-invisible",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -450,7 +450,7 @@ exports[`Input.Password should change type when click 3`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "eye-invisible",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -476,7 +476,7 @@ exports[`Input.Password should change type when click 3`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</EyeInvisibleOutlined>
|
||||
</span>
|
||||
</span>
|
||||
|
@ -59,6 +59,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -125,6 +126,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -495,6 +497,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -552,6 +555,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -609,6 +613,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1008,6 +1013,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1075,6 +1081,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1269,6 +1276,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1325,6 +1333,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1386,6 +1395,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1469,6 +1479,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1560,6 +1571,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -40,7 +40,7 @@ exports[`Input allowClear should change type when click 1`] = `
|
||||
onClick={[Function]}
|
||||
role="button"
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-clear-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -60,7 +60,7 @@ exports[`Input allowClear should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -93,7 +93,7 @@ exports[`Input allowClear should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -115,7 +115,7 @@ exports[`Input allowClear should change type when click 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</CloseCircleFilled>
|
||||
</span>
|
||||
</span>
|
||||
@ -512,7 +512,7 @@ exports[`Input.Search should support suffix 1`] = `
|
||||
key="searchIcon"
|
||||
onClick={[Function]}
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-search-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -532,7 +532,7 @@ exports[`Input.Search should support suffix 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "search",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -564,7 +564,7 @@ exports[`Input.Search should support suffix 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "search",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -586,7 +586,7 @@ exports[`Input.Search should support suffix 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</SearchOutlined>
|
||||
</span>
|
||||
</span>
|
||||
@ -643,7 +643,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
|
||||
onClick={[Function]}
|
||||
role="button"
|
||||
>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
className="ant-input-textarea-clear-icon"
|
||||
icon={
|
||||
Object {
|
||||
@ -663,7 +663,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
@ -696,7 +696,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -718,7 +718,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</CloseCircleFilled>
|
||||
</span>
|
||||
</ClearableLabeledInput>
|
||||
|
@ -212,6 +212,7 @@ exports[`List.pagination should change page size work 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
@ -351,6 +352,7 @@ exports[`List.pagination should change page size work 2`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
@ -626,6 +628,7 @@ exports[`List.pagination should default work 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -295,6 +295,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -517,6 +518,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
disabled=""
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1392,6 +1394,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -57,6 +57,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -115,6 +116,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
disabled=""
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -172,6 +174,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -229,6 +232,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -374,6 +378,7 @@ exports[`renders ./components/select/demo/big-data.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -424,6 +429,7 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -481,6 +487,7 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -542,6 +549,7 @@ exports[`renders ./components/select/demo/custom-dropdown-menu.md correctly 1`]
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -609,6 +617,7 @@ exports[`renders ./components/select/demo/debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -703,6 +712,7 @@ exports[`renders ./components/select/demo/debug.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -750,6 +760,7 @@ exports[`renders ./components/select/demo/hide-selected.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -789,6 +800,7 @@ exports[`renders ./components/select/demo/label-in-value.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -922,6 +934,7 @@ exports[`renders ./components/select/demo/multiple.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -956,6 +969,7 @@ exports[`renders ./components/select/demo/optgroup.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1053,6 +1067,7 @@ exports[`renders ./components/select/demo/option-label-prop.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1087,6 +1102,7 @@ exports[`renders ./components/select/demo/search.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1147,6 +1163,7 @@ exports[`renders ./components/select/demo/search-box.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1181,6 +1198,7 @@ exports[`renders ./components/select/demo/select-users.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1285,6 +1303,7 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1416,6 +1435,7 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1556,6 +1576,7 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1614,6 +1635,7 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
disabled=""
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -20,6 +20,7 @@ exports[`Select Select Custom Icons should support customized icons 1`] = `
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
|
@ -30,7 +30,7 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -50,7 +50,7 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -120,7 +120,7 @@ exports[`Table.sorter should support defaultOrder in Column 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -140,7 +140,7 @@ exports[`Table.sorter should support defaultOrder in Column 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
|
@ -60,7 +60,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -80,7 +80,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -7316,7 +7316,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -7336,7 +7336,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8121,7 +8121,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8192,7 +8192,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8212,7 +8212,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8257,7 +8257,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8277,7 +8277,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8868,7 +8868,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8888,7 +8888,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8927,7 +8927,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8947,7 +8947,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -8986,7 +8986,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9006,7 +9006,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9607,7 +9607,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9627,7 +9627,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9698,7 +9698,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9718,7 +9718,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9763,7 +9763,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -9783,7 +9783,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
|
@ -1788,6 +1788,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1843,6 +1844,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1898,6 +1900,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -1953,6 +1956,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -2534,6 +2538,7 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -3,6 +3,7 @@ import * as React from 'react';
|
||||
import DatePicker from '../date-picker';
|
||||
import { PickerTimeProps, RangePickerTimeProps } from '../date-picker/generatePicker';
|
||||
import warning from '../_util/warning';
|
||||
import { Omit } from '../_util/type';
|
||||
|
||||
const { TimePicker: InternalTimePicker, RangePicker: InternalRangePicker } = DatePicker;
|
||||
|
||||
@ -12,7 +13,7 @@ const RangePicker = React.forwardRef<any, TimeRangePickerProps>((props, ref) =>
|
||||
return <InternalRangePicker {...props} picker="time" mode={undefined} ref={ref} />;
|
||||
});
|
||||
|
||||
export interface TimePickerProps extends PickerTimeProps<Moment> {
|
||||
export interface TimePickerProps extends Omit<PickerTimeProps<Moment>, 'picker'> {
|
||||
addon?: () => React.ReactNode;
|
||||
}
|
||||
|
||||
|
@ -2934,7 +2934,7 @@ exports[`renders ./components/transfer/demo/tree-transfer.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
|
@ -714,7 +714,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<RightOutlined>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
icon={
|
||||
Object {
|
||||
"icon": Object {
|
||||
@ -733,7 +733,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "right",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -762,7 +762,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "right",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -784,7 +784,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</RightOutlined>
|
||||
</button>
|
||||
</Wave>
|
||||
@ -808,7 +808,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<LeftOutlined>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
icon={
|
||||
Object {
|
||||
"icon": Object {
|
||||
@ -827,7 +827,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "left",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -856,7 +856,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "left",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -878,7 +878,7 @@ exports[`Transfer should support render value and label in item 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</LeftOutlined>
|
||||
</button>
|
||||
</Wave>
|
||||
|
@ -45,7 +45,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
|
||||
className="undefined-action"
|
||||
>
|
||||
<SearchOutlined>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
icon={
|
||||
Object {
|
||||
"icon": Object {
|
||||
@ -64,7 +64,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "search",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -93,7 +93,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "search",
|
||||
"theme": "outline",
|
||||
"theme": "outlined",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -115,7 +115,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</SearchOutlined>
|
||||
</span>
|
||||
</div>
|
||||
@ -169,7 +169,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
|
||||
onClick={[Function]}
|
||||
>
|
||||
<CloseCircleFilled>
|
||||
<AntdIcon
|
||||
<ForwardRef(AntdIcon)
|
||||
icon={
|
||||
Object {
|
||||
"icon": Object {
|
||||
@ -188,7 +188,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -217,7 +217,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
|
||||
"tag": "svg",
|
||||
},
|
||||
"name": "close-circle",
|
||||
"theme": "fill",
|
||||
"theme": "filled",
|
||||
}
|
||||
}
|
||||
>
|
||||
@ -239,7 +239,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
|
||||
</svg>
|
||||
</IconReact>
|
||||
</span>
|
||||
</AntdIcon>
|
||||
</ForwardRef(AntdIcon)>
|
||||
</CloseCircleFilled>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -19,6 +19,7 @@ exports[`renders ./components/tree-select/demo/async.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -79,6 +80,7 @@ exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -176,6 +178,7 @@ exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -212,6 +215,7 @@ exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -251,6 +255,7 @@ exports[`renders ./components/tree-select/demo/suffix.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
@ -311,6 +316,7 @@ exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
|
||||
aria-owns="undefined_list"
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity:0"
|
||||
value=""
|
||||
|
@ -58,6 +58,7 @@ exports[`TreeSelect TreeSelect Custom Icons should support customized icons 1`]
|
||||
autocomplete="off"
|
||||
class="ant-select-selection-search-input"
|
||||
id="rc_select_TEST_OR_SSR"
|
||||
readonly=""
|
||||
role="combobox"
|
||||
style="opacity: 0;"
|
||||
value=""
|
||||
|
@ -39,7 +39,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -92,7 +92,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -215,7 +215,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -326,7 +326,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -379,7 +379,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -537,7 +537,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -719,7 +719,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1002,7 +1002,7 @@ exports[`renders ./components/tree/demo/directory.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1162,7 +1162,7 @@ exports[`renders ./components/tree/demo/directory.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1349,7 +1349,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1397,7 +1397,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1535,7 +1535,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1602,7 +1602,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1688,7 +1688,7 @@ exports[`renders ./components/tree/demo/dynamic.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1726,7 +1726,7 @@ exports[`renders ./components/tree/demo/dynamic.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2207,7 +2207,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2250,7 +2250,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
|
@ -39,7 +39,7 @@ exports[`Directory Tree DirectoryTree should expend all when use treeData and de
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -109,7 +109,7 @@ exports[`Directory Tree DirectoryTree should expend all when use treeData and de
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -250,7 +250,7 @@ exports[`Directory Tree defaultExpandAll 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -410,7 +410,7 @@ exports[`Directory Tree defaultExpandAll 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -597,7 +597,7 @@ exports[`Directory Tree defaultExpandParent 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -659,7 +659,7 @@ exports[`Directory Tree defaultExpandParent 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -749,7 +749,7 @@ exports[`Directory Tree expand click 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -913,7 +913,7 @@ exports[`Directory Tree expand click 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1003,7 +1003,7 @@ exports[`Directory Tree expand click 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1065,7 +1065,7 @@ exports[`Directory Tree expand click 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1155,7 +1155,7 @@ exports[`Directory Tree expand double click 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1319,7 +1319,7 @@ exports[`Directory Tree expand double click 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1409,7 +1409,7 @@ exports[`Directory Tree expand double click 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1471,7 +1471,7 @@ exports[`Directory Tree expand double click 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1561,7 +1561,7 @@ exports[`Directory Tree expand with state control click 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1704,7 +1704,7 @@ exports[`Directory Tree expand with state control doubleClick 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1847,7 +1847,7 @@ exports[`Directory Tree expandedKeys update 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -1909,7 +1909,7 @@ exports[`Directory Tree expandedKeys update 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2100,7 +2100,7 @@ exports[`Directory Tree group select 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2260,7 +2260,7 @@ exports[`Directory Tree group select 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2447,7 +2447,7 @@ exports[`Directory Tree group select 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2607,7 +2607,7 @@ exports[`Directory Tree group select 2`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2794,7 +2794,7 @@ exports[`Directory Tree selectedKeys update 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
@ -2954,7 +2954,7 @@ exports[`Directory Tree selectedKeys update 1`] = `
|
||||
fill="currentColor"
|
||||
focusable="false"
|
||||
height="1em"
|
||||
viewBox="0 0 1024 1024"
|
||||
viewBox="64 64 896 896"
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
|
10
package.json
10
package.json
@ -90,7 +90,6 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^4.0.0-alpha.14",
|
||||
"@types/react-slick": "^0.23.4",
|
||||
"array-tree-filter": "^2.1.0",
|
||||
"classnames": "~2.2.6",
|
||||
"copy-to-clipboard": "^3.2.0",
|
||||
@ -107,17 +106,17 @@
|
||||
"rc-dialog": "~7.5.2",
|
||||
"rc-drawer": "~3.0.0",
|
||||
"rc-dropdown": "~3.0.0-alpha.0",
|
||||
"rc-field-form": "^0.0.0-alpha.17",
|
||||
"rc-field-form": "^0.0.0-alpha.26",
|
||||
"rc-input-number": "~4.5.0",
|
||||
"rc-mentions": "~1.0.0-alpha.3",
|
||||
"rc-menu": "~8.0.0-alpha.7",
|
||||
"rc-notification": "~3.3.1",
|
||||
"rc-pagination": "~1.20.11",
|
||||
"rc-picker": "^0.0.1-alpha.58",
|
||||
"rc-picker": "^0.0.1-alpha.63",
|
||||
"rc-progress": "~2.5.0",
|
||||
"rc-rate": "~2.5.0",
|
||||
"rc-resize-observer": "^0.1.0",
|
||||
"rc-select": "~10.0.0-alpha.34",
|
||||
"rc-select": "~10.0.0-alpha.36",
|
||||
"rc-slider": "~9.0.0-alpha.0",
|
||||
"rc-steps": "~3.5.0",
|
||||
"rc-switch": "~1.9.0",
|
||||
@ -131,7 +130,7 @@
|
||||
"rc-upload": "~3.0.0-alpha.0",
|
||||
"rc-util": "~4.16.1",
|
||||
"rc-virtual-list": "^0.0.0-alpha.25",
|
||||
"react-slick": "~0.25.2",
|
||||
"@ant-design/react-slick": "~0.25.5",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"scroll-into-view-if-needed": "^2.2.20",
|
||||
"shallowequal": "^1.1.0",
|
||||
@ -241,6 +240,7 @@
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
||||
"stylelint-order": "^3.0.0",
|
||||
"typescript": "~3.7.2",
|
||||
"webpack-bundle-analyzer": "^3.6.0",
|
||||
"xhr-mock": "^2.4.1",
|
||||
"xhr2": "^0.2.0",
|
||||
"yaml-front-matter": "^4.0.0"
|
||||
|
@ -4,6 +4,7 @@ const getWebpackConfig = require('@ant-design/tools/lib/getWebpackConfig');
|
||||
const PacktrackerPlugin = require('@packtracker/webpack-plugin');
|
||||
const IgnoreEmitPlugin = require('ignore-emit-webpack-plugin');
|
||||
const darkVars = require('./scripts/dark-vars');
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
|
||||
const { webpack } = getWebpackConfig;
|
||||
|
||||
@ -39,6 +40,8 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
ignoreMomentLocale(config);
|
||||
externalMoment(config);
|
||||
addLocales(config);
|
||||
// Reduce non-minified dist files size
|
||||
config.optimization.usedExports = true;
|
||||
// skip codesandbox ci
|
||||
if (!process.env.CSB_REPO) {
|
||||
// https://docs.packtracker.io/uploading-your-webpack-stats/webpack-plugin
|
||||
@ -49,6 +52,10 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
fail_build: true,
|
||||
exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name),
|
||||
}),
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'static',
|
||||
openAnalyzer: false,
|
||||
}),
|
||||
);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user