Merge origin/4.0-prepare into feat-dark-palette

This commit is contained in:
ycjcl868 2019-12-25 19:32:38 +08:00
commit 4dc860decf
31 changed files with 440 additions and 127 deletions

View File

@ -1 +1,2 @@
~* ~*
dist/report.html

View File

@ -250,6 +250,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -330,6 +331,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -514,6 +516,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -650,6 +653,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -787,6 +791,7 @@ exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -179,11 +179,10 @@
// -------------------------------------------------- // --------------------------------------------------
.btn() { .btn() {
position: relative; position: relative;
display: inline-flex; display: inline-block;
align-items: center;
justify-content: center;
font-weight: @btn-font-weight; font-weight: @btn-font-weight;
white-space: nowrap; white-space: nowrap;
text-align: center;
background-image: none; background-image: none;
border: @btn-border-width @btn-border-style transparent; border: @btn-border-width @btn-border-style transparent;
box-shadow: @btn-shadow; box-shadow: @btn-shadow;

View File

@ -24,6 +24,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -80,6 +81,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -975,6 +977,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1031,6 +1034,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1988,6 +1992,7 @@ exports[`renders ./components/calendar/demo/customize-header.md correctly 1`] =
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2049,6 +2054,7 @@ exports[`renders ./components/calendar/demo/customize-header.md correctly 1`] =
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2901,6 +2907,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2957,6 +2964,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -4260,6 +4268,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -4316,6 +4325,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -25,6 +25,7 @@ exports[`Calendar Calendar should support locale 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""
@ -82,6 +83,7 @@ exports[`Calendar Calendar should support locale 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""

View File

@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import debounce from 'lodash/debounce'; import debounce from 'lodash/debounce';
import { Settings } from 'react-slick'; import { Settings } from '@ant-design/react-slick';
import { ConfigConsumer, ConfigConsumerProps } from '../config-provider'; import { ConfigConsumer, ConfigConsumerProps } from '../config-provider';
import warning from '../_util/warning'; import warning from '../_util/warning';
@ -8,7 +8,7 @@ import warning from '../_util/warning';
// make sure matchMedia polyfill run before require('react-slick') // 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/6560
// Fix https://github.com/ant-design/ant-design/issues/3308 // 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 CarouselEffect = 'scrollx' | 'fade';
export type DotPosition = 'top' | 'bottom' | 'left' | 'right'; export type DotPosition = 'top' | 'bottom' | 'left' | 'right';

View File

@ -367,7 +367,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
focusable="false" focusable="false"
height="1em" height="1em"
style="-ms-transform:rotate(90deg);transform:rotate(90deg)" style="-ms-transform:rotate(90deg);transform:rotate(90deg)"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -415,7 +415,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -448,7 +448,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -676,6 +676,7 @@ exports[`renders ./components/collapse/demo/extra.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -1075,6 +1075,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1131,6 +1132,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2020,6 +2022,7 @@ exports[`ConfigProvider components Calendar configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2363,6 +2366,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2419,6 +2423,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -3308,6 +3313,7 @@ exports[`ConfigProvider components Calendar normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -3651,6 +3657,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -3707,6 +3714,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -4596,6 +4604,7 @@ exports[`ConfigProvider components Calendar prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8060,6 +8069,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8203,6 +8213,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8351,6 +8362,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8494,6 +8506,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8642,6 +8655,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -8785,6 +8799,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -10366,6 +10381,7 @@ exports[`ConfigProvider components Select configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -10484,6 +10500,7 @@ exports[`ConfigProvider components Select normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -10602,6 +10619,7 @@ exports[`ConfigProvider components Select prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="prefix-Select-selection-search-input" class="prefix-Select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -11286,7 +11304,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -11306,7 +11324,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -11622,7 +11640,7 @@ exports[`ConfigProvider components Table normal 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -11642,7 +11660,7 @@ exports[`ConfigProvider components Table normal 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -11958,7 +11976,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -11978,7 +11996,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -18124,6 +18142,7 @@ exports[`ConfigProvider components TreeSelect configProvider 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="config-select-selection-search-input" class="config-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -18235,6 +18254,7 @@ exports[`ConfigProvider components TreeSelect normal 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -18346,6 +18366,7 @@ exports[`ConfigProvider components TreeSelect prefixCls 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="prefix-TreeSelect-selection-search-input" class="prefix-TreeSelect-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -117,6 +117,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -175,6 +176,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -504,6 +504,7 @@ exports[`renders ./components/form/demo/control-hooks.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="control-hooks_gender" id="control-hooks_gender"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -657,6 +658,7 @@ exports[`renders ./components/form/demo/control-ref.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="control-ref_gender" id="control-ref_gender"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -788,6 +790,7 @@ exports[`renders ./components/form/demo/customized-form-controls.md correctly 1`
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2275,6 +2278,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="register_prefix" id="register_prefix"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -3007,6 +3011,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="validate_other_select" id="validate_other_select"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -3088,6 +3093,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="validate_other_select-multiple" id="validate_other_select-multiple"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -4679,6 +4685,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -66,7 +66,7 @@ exports[`Input.Password should change type when click 1`] = `
onClick={[Function]} onClick={[Function]}
onMouseDown={[Function]} onMouseDown={[Function]}
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-password-icon" className="ant-input-password-icon"
icon={ icon={
Object { Object {
@ -92,7 +92,7 @@ exports[`Input.Password should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye-invisible", "name": "eye-invisible",
"theme": "outline", "theme": "outlined",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -132,7 +132,7 @@ exports[`Input.Password should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye-invisible", "name": "eye-invisible",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -158,7 +158,7 @@ exports[`Input.Password should change type when click 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</EyeInvisibleOutlined> </EyeInvisibleOutlined>
</span> </span>
</span> </span>
@ -233,7 +233,7 @@ exports[`Input.Password should change type when click 2`] = `
onClick={[Function]} onClick={[Function]}
onMouseDown={[Function]} onMouseDown={[Function]}
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-password-icon" className="ant-input-password-icon"
icon={ icon={
Object { Object {
@ -253,7 +253,7 @@ exports[`Input.Password should change type when click 2`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye", "name": "eye",
"theme": "outline", "theme": "outlined",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -287,7 +287,7 @@ exports[`Input.Password should change type when click 2`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye", "name": "eye",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -309,7 +309,7 @@ exports[`Input.Password should change type when click 2`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</EyeOutlined> </EyeOutlined>
</span> </span>
</span> </span>
@ -384,7 +384,7 @@ exports[`Input.Password should change type when click 3`] = `
onClick={[Function]} onClick={[Function]}
onMouseDown={[Function]} onMouseDown={[Function]}
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-password-icon" className="ant-input-password-icon"
icon={ icon={
Object { Object {
@ -410,7 +410,7 @@ exports[`Input.Password should change type when click 3`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye-invisible", "name": "eye-invisible",
"theme": "outline", "theme": "outlined",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -450,7 +450,7 @@ exports[`Input.Password should change type when click 3`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "eye-invisible", "name": "eye-invisible",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -476,7 +476,7 @@ exports[`Input.Password should change type when click 3`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</EyeInvisibleOutlined> </EyeInvisibleOutlined>
</span> </span>
</span> </span>

View File

@ -59,6 +59,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -125,6 +126,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -495,6 +497,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -552,6 +555,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -609,6 +613,7 @@ exports[`renders ./components/input/demo/align.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1008,6 +1013,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1075,6 +1081,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1269,6 +1276,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1325,6 +1333,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1386,6 +1395,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1469,6 +1479,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1560,6 +1571,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -40,7 +40,7 @@ exports[`Input allowClear should change type when click 1`] = `
onClick={[Function]} onClick={[Function]}
role="button" role="button"
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-clear-icon" className="ant-input-clear-icon"
icon={ icon={
Object { Object {
@ -60,7 +60,7 @@ exports[`Input allowClear should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "close-circle", "name": "close-circle",
"theme": "fill", "theme": "filled",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -93,7 +93,7 @@ exports[`Input allowClear should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "close-circle", "name": "close-circle",
"theme": "fill", "theme": "filled",
} }
} }
> >
@ -115,7 +115,7 @@ exports[`Input allowClear should change type when click 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</CloseCircleFilled> </CloseCircleFilled>
</span> </span>
</span> </span>
@ -512,7 +512,7 @@ exports[`Input.Search should support suffix 1`] = `
key="searchIcon" key="searchIcon"
onClick={[Function]} onClick={[Function]}
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-search-icon" className="ant-input-search-icon"
icon={ icon={
Object { Object {
@ -532,7 +532,7 @@ exports[`Input.Search should support suffix 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "search", "name": "search",
"theme": "outline", "theme": "outlined",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -564,7 +564,7 @@ exports[`Input.Search should support suffix 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "search", "name": "search",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -586,7 +586,7 @@ exports[`Input.Search should support suffix 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</SearchOutlined> </SearchOutlined>
</span> </span>
</span> </span>
@ -643,7 +643,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
onClick={[Function]} onClick={[Function]}
role="button" role="button"
> >
<AntdIcon <ForwardRef(AntdIcon)
className="ant-input-textarea-clear-icon" className="ant-input-textarea-clear-icon"
icon={ icon={
Object { Object {
@ -663,7 +663,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "close-circle", "name": "close-circle",
"theme": "fill", "theme": "filled",
} }
} }
onClick={[Function]} onClick={[Function]}
@ -696,7 +696,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "close-circle", "name": "close-circle",
"theme": "fill", "theme": "filled",
} }
} }
> >
@ -718,7 +718,7 @@ exports[`TextArea allowClear should change type when click 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</CloseCircleFilled> </CloseCircleFilled>
</span> </span>
</ClearableLabeledInput> </ClearableLabeledInput>

View File

@ -212,6 +212,7 @@ exports[`List.pagination should change page size work 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""
@ -351,6 +352,7 @@ exports[`List.pagination should change page size work 2`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""
@ -626,6 +628,7 @@ exports[`List.pagination should default work 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""

View File

@ -295,6 +295,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -517,6 +518,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
disabled="" disabled=""
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1392,6 +1394,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -57,6 +57,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -115,6 +116,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
disabled="" disabled=""
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -172,6 +174,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -229,6 +232,7 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -374,6 +378,7 @@ exports[`renders ./components/select/demo/big-data.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -424,6 +429,7 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -481,6 +487,7 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -542,6 +549,7 @@ exports[`renders ./components/select/demo/custom-dropdown-menu.md correctly 1`]
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -609,6 +617,7 @@ exports[`renders ./components/select/demo/debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -703,6 +712,7 @@ exports[`renders ./components/select/demo/debug.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -750,6 +760,7 @@ exports[`renders ./components/select/demo/hide-selected.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -789,6 +800,7 @@ exports[`renders ./components/select/demo/label-in-value.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -922,6 +934,7 @@ exports[`renders ./components/select/demo/multiple.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -956,6 +969,7 @@ exports[`renders ./components/select/demo/optgroup.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1053,6 +1067,7 @@ exports[`renders ./components/select/demo/option-label-prop.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1087,6 +1102,7 @@ exports[`renders ./components/select/demo/search.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1147,6 +1163,7 @@ exports[`renders ./components/select/demo/search-box.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1181,6 +1198,7 @@ exports[`renders ./components/select/demo/select-users.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1285,6 +1303,7 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1416,6 +1435,7 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1556,6 +1576,7 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1614,6 +1635,7 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
disabled="" disabled=""
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -20,6 +20,7 @@ exports[`Select Select Custom Icons should support customized icons 1`] = `
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""

View File

@ -30,7 +30,7 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -50,7 +50,7 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -120,7 +120,7 @@ exports[`Table.sorter should support defaultOrder in Column 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -140,7 +140,7 @@ exports[`Table.sorter should support defaultOrder in Column 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path

View File

@ -60,7 +60,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -80,7 +80,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -7316,7 +7316,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -7336,7 +7336,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8121,7 +8121,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8192,7 +8192,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8212,7 +8212,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8257,7 +8257,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8277,7 +8277,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8868,7 +8868,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8888,7 +8888,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8927,7 +8927,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8947,7 +8947,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -8986,7 +8986,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9006,7 +9006,7 @@ exports[`renders ./components/table/demo/multiple-sorter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9607,7 +9607,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9627,7 +9627,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9698,7 +9698,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9718,7 +9718,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9763,7 +9763,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -9783,7 +9783,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path

View File

@ -1788,6 +1788,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1843,6 +1844,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1898,6 +1900,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -1953,6 +1956,7 @@ exports[`renders ./components/tabs/demo/nest.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -2534,6 +2538,7 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -3,6 +3,7 @@ import * as React from 'react';
import DatePicker from '../date-picker'; import DatePicker from '../date-picker';
import { PickerTimeProps, RangePickerTimeProps } from '../date-picker/generatePicker'; import { PickerTimeProps, RangePickerTimeProps } from '../date-picker/generatePicker';
import warning from '../_util/warning'; import warning from '../_util/warning';
import { Omit } from '../_util/type';
const { TimePicker: InternalTimePicker, RangePicker: InternalRangePicker } = DatePicker; 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} />; 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; addon?: () => React.ReactNode;
} }

View File

@ -2934,7 +2934,7 @@ exports[`renders ./components/transfer/demo/tree-transfer.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path

View File

@ -714,7 +714,7 @@ exports[`Transfer should support render value and label in item 1`] = `
type="button" type="button"
> >
<RightOutlined> <RightOutlined>
<AntdIcon <ForwardRef(AntdIcon)
icon={ icon={
Object { Object {
"icon": Object { "icon": Object {
@ -733,7 +733,7 @@ exports[`Transfer should support render value and label in item 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "right", "name": "right",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -762,7 +762,7 @@ exports[`Transfer should support render value and label in item 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "right", "name": "right",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -784,7 +784,7 @@ exports[`Transfer should support render value and label in item 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</RightOutlined> </RightOutlined>
</button> </button>
</Wave> </Wave>
@ -808,7 +808,7 @@ exports[`Transfer should support render value and label in item 1`] = `
type="button" type="button"
> >
<LeftOutlined> <LeftOutlined>
<AntdIcon <ForwardRef(AntdIcon)
icon={ icon={
Object { Object {
"icon": Object { "icon": Object {
@ -827,7 +827,7 @@ exports[`Transfer should support render value and label in item 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "left", "name": "left",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -856,7 +856,7 @@ exports[`Transfer should support render value and label in item 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "left", "name": "left",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -878,7 +878,7 @@ exports[`Transfer should support render value and label in item 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</LeftOutlined> </LeftOutlined>
</button> </button>
</Wave> </Wave>

View File

@ -45,7 +45,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
className="undefined-action" className="undefined-action"
> >
<SearchOutlined> <SearchOutlined>
<AntdIcon <ForwardRef(AntdIcon)
icon={ icon={
Object { Object {
"icon": Object { "icon": Object {
@ -64,7 +64,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "search", "name": "search",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -93,7 +93,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "search", "name": "search",
"theme": "outline", "theme": "outlined",
} }
} }
> >
@ -115,7 +115,7 @@ exports[`Transfer.Search should show cross icon when input value exists 1`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</SearchOutlined> </SearchOutlined>
</span> </span>
</div> </div>
@ -169,7 +169,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
onClick={[Function]} onClick={[Function]}
> >
<CloseCircleFilled> <CloseCircleFilled>
<AntdIcon <ForwardRef(AntdIcon)
icon={ icon={
Object { Object {
"icon": Object { "icon": Object {
@ -188,7 +188,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
"tag": "svg", "tag": "svg",
}, },
"name": "close-circle", "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", "tag": "svg",
}, },
"name": "close-circle", "name": "close-circle",
"theme": "fill", "theme": "filled",
} }
} }
> >
@ -239,7 +239,7 @@ exports[`Transfer.Search should show cross icon when input value exists 2`] = `
</svg> </svg>
</IconReact> </IconReact>
</span> </span>
</AntdIcon> </ForwardRef(AntdIcon)>
</CloseCircleFilled> </CloseCircleFilled>
</a> </a>
</div> </div>

View File

@ -19,6 +19,7 @@ exports[`renders ./components/tree-select/demo/async.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -79,6 +80,7 @@ exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -176,6 +178,7 @@ exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -212,6 +215,7 @@ exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -251,6 +255,7 @@ exports[`renders ./components/tree-select/demo/suffix.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""
@ -311,6 +316,7 @@ exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
aria-owns="undefined_list" aria-owns="undefined_list"
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
readonly=""
role="combobox" role="combobox"
style="opacity:0" style="opacity:0"
value="" value=""

View File

@ -58,6 +58,7 @@ exports[`TreeSelect TreeSelect Custom Icons should support customized icons 1`]
autocomplete="off" autocomplete="off"
class="ant-select-selection-search-input" class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR" id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox" role="combobox"
style="opacity: 0;" style="opacity: 0;"
value="" value=""

View File

@ -39,7 +39,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -92,7 +92,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -215,7 +215,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -326,7 +326,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -379,7 +379,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -537,7 +537,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -719,7 +719,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1002,7 +1002,7 @@ exports[`renders ./components/tree/demo/directory.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1162,7 +1162,7 @@ exports[`renders ./components/tree/demo/directory.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1349,7 +1349,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1397,7 +1397,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1535,7 +1535,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1602,7 +1602,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1688,7 +1688,7 @@ exports[`renders ./components/tree/demo/dynamic.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1726,7 +1726,7 @@ exports[`renders ./components/tree/demo/dynamic.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2207,7 +2207,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2250,7 +2250,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path

View File

@ -39,7 +39,7 @@ exports[`Directory Tree DirectoryTree should expend all when use treeData and de
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -109,7 +109,7 @@ exports[`Directory Tree DirectoryTree should expend all when use treeData and de
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -250,7 +250,7 @@ exports[`Directory Tree defaultExpandAll 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -410,7 +410,7 @@ exports[`Directory Tree defaultExpandAll 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -597,7 +597,7 @@ exports[`Directory Tree defaultExpandParent 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -659,7 +659,7 @@ exports[`Directory Tree defaultExpandParent 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -749,7 +749,7 @@ exports[`Directory Tree expand click 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -913,7 +913,7 @@ exports[`Directory Tree expand click 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1003,7 +1003,7 @@ exports[`Directory Tree expand click 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1065,7 +1065,7 @@ exports[`Directory Tree expand click 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1155,7 +1155,7 @@ exports[`Directory Tree expand double click 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1319,7 +1319,7 @@ exports[`Directory Tree expand double click 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1409,7 +1409,7 @@ exports[`Directory Tree expand double click 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1471,7 +1471,7 @@ exports[`Directory Tree expand double click 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1561,7 +1561,7 @@ exports[`Directory Tree expand with state control click 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1704,7 +1704,7 @@ exports[`Directory Tree expand with state control doubleClick 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1847,7 +1847,7 @@ exports[`Directory Tree expandedKeys update 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -1909,7 +1909,7 @@ exports[`Directory Tree expandedKeys update 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2100,7 +2100,7 @@ exports[`Directory Tree group select 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2260,7 +2260,7 @@ exports[`Directory Tree group select 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2447,7 +2447,7 @@ exports[`Directory Tree group select 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2607,7 +2607,7 @@ exports[`Directory Tree group select 2`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2794,7 +2794,7 @@ exports[`Directory Tree selectedKeys update 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path
@ -2954,7 +2954,7 @@ exports[`Directory Tree selectedKeys update 1`] = `
fill="currentColor" fill="currentColor"
focusable="false" focusable="false"
height="1em" height="1em"
viewBox="0 0 1024 1024" viewBox="64 64 896 896"
width="1em" width="1em"
> >
<path <path

View File

@ -90,7 +90,6 @@
], ],
"dependencies": { "dependencies": {
"@ant-design/icons": "^4.0.0-alpha.14", "@ant-design/icons": "^4.0.0-alpha.14",
"@types/react-slick": "^0.23.4",
"array-tree-filter": "^2.1.0", "array-tree-filter": "^2.1.0",
"classnames": "~2.2.6", "classnames": "~2.2.6",
"copy-to-clipboard": "^3.2.0", "copy-to-clipboard": "^3.2.0",
@ -107,17 +106,17 @@
"rc-dialog": "~7.5.2", "rc-dialog": "~7.5.2",
"rc-drawer": "~3.0.0", "rc-drawer": "~3.0.0",
"rc-dropdown": "~3.0.0-alpha.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-input-number": "~4.5.0",
"rc-mentions": "~1.0.0-alpha.3", "rc-mentions": "~1.0.0-alpha.3",
"rc-menu": "~8.0.0-alpha.7", "rc-menu": "~8.0.0-alpha.7",
"rc-notification": "~3.3.1", "rc-notification": "~3.3.1",
"rc-pagination": "~1.20.11", "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-progress": "~2.5.0",
"rc-rate": "~2.5.0", "rc-rate": "~2.5.0",
"rc-resize-observer": "^0.1.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-slider": "~9.0.0-alpha.0",
"rc-steps": "~3.5.0", "rc-steps": "~3.5.0",
"rc-switch": "~1.9.0", "rc-switch": "~1.9.0",
@ -131,7 +130,7 @@
"rc-upload": "~3.0.0-alpha.0", "rc-upload": "~3.0.0-alpha.0",
"rc-util": "~4.16.1", "rc-util": "~4.16.1",
"rc-virtual-list": "^0.0.0-alpha.25", "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", "resize-observer-polyfill": "^1.5.1",
"scroll-into-view-if-needed": "^2.2.20", "scroll-into-view-if-needed": "^2.2.20",
"shallowequal": "^1.1.0", "shallowequal": "^1.1.0",
@ -241,6 +240,7 @@
"stylelint-declaration-block-no-ignored-properties": "^2.1.0", "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"stylelint-order": "^3.0.0", "stylelint-order": "^3.0.0",
"typescript": "~3.7.2", "typescript": "~3.7.2",
"webpack-bundle-analyzer": "^3.6.0",
"xhr-mock": "^2.4.1", "xhr-mock": "^2.4.1",
"xhr2": "^0.2.0", "xhr2": "^0.2.0",
"yaml-front-matter": "^4.0.0" "yaml-front-matter": "^4.0.0"

View File

@ -4,6 +4,7 @@ const getWebpackConfig = require('@ant-design/tools/lib/getWebpackConfig');
const PacktrackerPlugin = require('@packtracker/webpack-plugin'); const PacktrackerPlugin = require('@packtracker/webpack-plugin');
const IgnoreEmitPlugin = require('ignore-emit-webpack-plugin'); const IgnoreEmitPlugin = require('ignore-emit-webpack-plugin');
const darkVars = require('./scripts/dark-vars'); const darkVars = require('./scripts/dark-vars');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const { webpack } = getWebpackConfig; const { webpack } = getWebpackConfig;
@ -39,6 +40,8 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
ignoreMomentLocale(config); ignoreMomentLocale(config);
externalMoment(config); externalMoment(config);
addLocales(config); addLocales(config);
// Reduce non-minified dist files size
config.optimization.usedExports = true;
// skip codesandbox ci // skip codesandbox ci
if (!process.env.CSB_REPO) { if (!process.env.CSB_REPO) {
// https://docs.packtracker.io/uploading-your-webpack-stats/webpack-plugin // https://docs.packtracker.io/uploading-your-webpack-stats/webpack-plugin
@ -49,6 +52,10 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
fail_build: true, fail_build: true,
exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name), exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name),
}), }),
new BundleAnalyzerPlugin({
analyzerMode: 'static',
openAnalyzer: false,
}),
); );
} }
}); });