Dave
780da54c3b
fix(upload): onChange params type err ( #34161 )
...
* fix(upload): onChange params type err
* test(upload): check onChange params type
2022-02-23 18:44:26 +08:00
afc163
34a63e6892
chore: merge feature into master
2022-02-23 17:11:11 +08:00
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive ( #34122 )
...
* perf: Improve List render perfermance when grid is undefined
https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151
* chore: do not export useBreakpoint param
Co-authored-by: zombiej <smith3816@gmail.com>
2022-02-21 16:48:39 +08:00
Picsong
246f90f03e
fix: Layout component SiderProps type not exported ( #34137 )
2022-02-21 13:16:27 +08:00
TrickyPi
537f4c357b
fix: del messageInstance when configuring getContainer ( #34123 )
...
* fix: del messageInstance when configuring getContainer
* test: move the new test to the bottom of the test lists
2022-02-21 12:31:39 +08:00
Di Wu
15f4452f14
fix: Invalid memoized context value in Menu ( #34121 )
2022-02-18 18:34:21 +08:00
二货机器人
a09a3255f3
fix: not crash ConfigProvider.config on server side ( #34118 )
2022-02-18 17:07:23 +08:00
afc163
386ede9297
fix: Form layout when Select has long text ( #34117 )
...
* fix: Form layout when Select has long text
close #33773
* chore: update snapshot
2022-02-18 15:46:59 +08:00
二货机器人
e0c1e0650c
docs: Multiple displayRender support ( #34116 )
2022-02-18 15:02:26 +08:00
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
...
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
2022-02-18 14:17:32 +08:00
MadCcc
2c88f606c3
fix: remove duplicated style ( #34101 )
...
* fix: remove duplicated style
* chore: reduce bundle size limitation
* chore: raise bundle size
2022-02-18 10:31:19 +08:00
二货机器人
9f602aa710
fix: Table render twice on first mount ( #34106 )
...
* fix: Table render twice
* chore: clean up
* test: Fix test case
2022-02-17 18:11:33 +08:00
MadCcc
ca15cc9b0a
feat: transfer support status ( #34098 )
...
* feat: transfer support status
* docs: update demo
2022-02-17 16:43:33 +08:00
MadCcc
bdb297ec5f
feat: AutoComplete support status ( #34096 )
...
* feat: AutoComplete support status
* test: update snapshot
2022-02-17 16:41:24 +08:00
MadCcc
fb1955573e
feat: TreeSelect support status ( #34093 )
...
* feat: TreeSelect support status
* chore: code clean
* docs: add demo version
2022-02-17 16:41:12 +08:00
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
...
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
2022-02-17 15:08:13 +08:00
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker ( #34089 )
2022-02-17 13:38:49 +08:00
MadCcc
2258335e6c
feat: select support status ( #34084 )
...
* feat: select support status
* test: fix lint
2022-02-16 21:39:48 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
...
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
65bf6550b1
feat: mentions support status ( #34071 )
...
* test: skip form deps-lint
* perf: remove useless has-feedback classname
* test: raise test coverage
* style: recover import arrangement
2022-02-16 21:14:05 +08:00
afc163
fc60b1f656
test: skip layout demo which failed a lot in argoci
2022-02-16 19:54:58 +08:00
afc163
d38363e161
docs: fix procomponents links
2022-02-16 19:54:23 +08:00
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect ( #34034 )
...
Co-authored-by: chenxq <chenxq@neocrm.com>
2022-02-16 19:41:06 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
Filip Seman
fcd6ab67ec
chore: Update sk_SK locales ( #34061 )
...
* chore: Update sk_SK locales
* Disable eslint rule, based on defaults (EN)
2022-02-16 10:04:09 +08:00
MadCcc
186ba3a7de
chore: update snapshot
2022-02-15 14:06:17 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
zombiej
1aa2aa6868
test: Udpate test for rc-util@latest
2022-02-14 18:51:16 +08:00
MadCcc
37e042358d
feat: Input support status ( #33995 )
...
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
2022-02-14 17:09:35 +08:00
David
2843bd32dd
feat: Add ability to overwrite Menu theme at Menu.SubMenu level. ( #33971 )
...
* Add theme support to Menu.SubMenu
* Tidy up docs
* Tidy up docs
* Update components/menu/index.en-US.md
* Update components/menu/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Add Chinese lang docs
* Extend menu theme demo to additionally demonstrate Sub-menu theming
* Add submenu theme demo
* Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming"
This reverts commit 642a2b5b72
.
* Add tests
* Correct typo
* Make demo vertical so absolutely positioned popover doesn't overflow
* Make demo functional component
* Update components/menu/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/menu/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/menu/demo/submenu-theme.md
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-02-14 15:21:33 +08:00
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
...
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
2022-02-14 14:36:05 +08:00
Michał Podeszwa
813414ce1b
fix: min/max validators in pl_PL locale returning undefined ( #34024 )
...
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2022-02-14 11:42:38 +08:00
chenyizhongx
38b4a03c56
fix textarea maxlength issue ( #33910 )
...
* fix: textarea maxlength
* refactor: delete some useless code
* refactor: fix ci
* refactor and fix test case fall
* update snapshot
* add testcase
* refactor type defined
2022-02-14 11:27:52 +08:00
afc163
9eed463be3
docs: more acurrate description about Menu overflowedIndicator prop ( #34022 )
...
* docs: add info about Menu overflowedIndicator prop
close #34016
* fix doc
2022-02-12 22:01:24 +08:00
babycannotsay
a7e8f1034f
fix: cascader's onChange ts adapts to single and multiple ( #33947 )
...
* fix to: cascader's multiple determines the declaration of onChange
* fix: cascader's onChange ts adapts to single and multiple
* test: fix
2022-02-12 21:56:55 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
...
* fix: typography ellipsis check in transform
* test: Update snapshot
2022-02-11 14:06:06 +08:00
afc163
fd2ebe57f7
style: improve Menu :focus-visible style ( #34008 )
...
* style: improve Menu :focus-visible style
ref #34005
* style: darken :focus-visible style
2022-02-11 13:06:06 +08:00
afc163
92d5820457
chore: remove unused interface file ( #34011 )
2022-02-11 13:05:54 +08:00
afc163
0c422fe1b7
docs: improve Select dropdownRender demo style ( #34004 )
2022-02-11 10:39:10 +08:00
afc163
dc67fd7dbb
fix: Pagination and Rate style bug in Safari ( #34002 )
...
* fix: Pagination and Rate style bug in safari
close #33965
* fix style
2022-02-10 17:51:40 +08:00
renovate[bot]
9f30ca6b3f
chore(deps): update dependency react-dnd to v15 ( #33940 )
...
* chore(deps): update dependency react-dnd to v15
* fix: Tabs demo
* fix: demo
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-02-10 17:31:38 +08:00
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation ( #33998 )
...
* fix: Typography copyable add stopPropagation
* add test
2022-02-10 16:22:31 +08:00
Jase Owens
b53d12db65
feat: Exposes additional props for pagination component on transfer ( #33954 )
...
* Exposes additional props for pagination component on transfer
* feat: Improve transfer pagination customization
* feat: Improve transfer pagination customization
2022-02-10 13:16:45 +08:00
mic-web
4f8646f957
fix: class names of Row and Col components when using custom prefix ( #33969 )
2022-02-10 11:13:25 +08:00
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph ( #33976 )
...
* fix: Exception on enter key callback
* Move spyOn position
2022-02-09 18:07:52 +08:00
黑雨
ee17f7185d
feat: inputNumber controls support customize upIcon/downIcon ( #33914 )
...
* feat: inputNumber controls support customize upIcon/downIcon
* feat: 修改代码格式问题
* feat: 更新snapshot,修改代码开启prettier
* feat: 更新snapshot,order 属性修改
* feat: upIcon/downIcon写法调整
* feat: 更新snapshot
2022-02-09 18:06:36 +08:00
github-actions[bot]
59ced6297d
chore: auto merge branchs ( #33963 )
...
chore: merge master into feature
2022-02-08 10:07:05 +00:00
MadCcc
926a8aaf8a
feat: tooltip round arrow ( #33710 )
...
* feat: tooltip round arrow
* chore: update demo
* docs: update docs
* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker
* chore: code clean
* fix: fill gap
* chore: code clean
* chore: raise css bundle size
* fix: arrow style
* feat: use full path
* test: update snapshot
* perf: hack firefox
* perf: more magic position
* perf: RangePicker's arrow position
* chore: bump rc-picker version
* fix: arrow position
2022-02-08 09:52:33 +08:00
MadCcc
a38b1e4ca5
fix: custom color should work on antd icons ( #33951 )
2022-02-08 09:52:00 +08:00
Dawnlck
17d6a5e407
fix(popover): fix the problem that popover display when the props'content is empty ( #33835 )
...
* fix(popover): fix the problem that popover display when the props'content is empty
* refactor(popover): 更新代码判断逻辑
* test(popover): 添加popover的test
* feat(popover): 更新snapshot
* feat(popover): 更新剩余的snapshot
2022-02-07 15:28:46 +08:00
github-actions[bot]
281763f345
chore: auto merge branchs ( #33945 )
...
chore: merge master into feature
2022-02-07 04:30:42 +00:00
Amour1688
1176454437
types: export DatePickRef and RangePickerRef ( close #33417 ) ( #33901 )
2022-01-31 12:04:47 +08:00
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
...
This reverts commit 6b1a48d5ed
.
2022-01-30 15:49:24 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
...
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
2022-01-30 15:21:41 +08:00
MadCcc
40433f357d
Merge branch 'feature' into master
2022-01-30 14:46:13 +08:00
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 ( #33895 )
...
* fix: update dropdown version to 3.2.5
* test: update snapshot
2022-01-30 12:31:35 +08:00
github-actions[bot]
0d4e1b1356
chore: auto merge branchs ( #33889 )
...
chore: merge master into feature
2022-01-29 11:53:19 +00:00
MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 ( #33875 )
...
* fix: ellipsis should display tooltip if rows larger than 1
* test: add test case
2022-01-28 14:54:03 +08:00
tangjinzhou
eb45dbb4db
fix: block not work when small size ( #33878 )
...
https://github.com/vueComponent/ant-design-vue/issues/5219
2022-01-27 21:33:45 +08:00
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch ( #33860 )
...
* fix: tooltip should work with loading switch
* fix: only works for switch
* chore: code clean
2022-01-27 17:51:00 +08:00
黑雨
5a28417c58
feat: notification placement support 'top'/'bottom' ( #33871 )
2022-01-27 17:26:19 +08:00
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted ( #33858 )
...
* fix: Clear delay loading timer after Button is unmounted
* [CodeFactor] Apply fixes to commit 16cfb89
[ci skip] [skip ci]
* Change arrow function style in test case
Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-27 14:06:37 +08:00
Cole
dc019dca56
fix: upload button position flashes when it changes from hidden to displayed ( #33820 )
...
* fix: fix upload button position flashes when it changes from hidden to displayed (#33819 )
* fix: typo in upload
Co-authored-by: chenqiufan <chenqiufan@shiqiao.com>
2022-01-25 11:20:46 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs ( #33823 )
...
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2
test: fix lint
2022-01-24 11:26:26 +08:00
Eliot Sanford
a65ba8aa8a
docs: update sentence structure in the FAQ section ( #33816 )
2022-01-24 10:51:45 +08:00
Di Wu
fe23374871
fix: Invalid hook dependency array in Sider and Row ( #33804 )
2022-01-21 18:39:47 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs ( #33794 )
...
chore: merge master into feature
2022-01-21 05:32:19 +00:00
MadCcc
9cf0dca8fc
test: fix cascader test coverage ( #33802 )
2022-01-21 11:49:07 +08:00
afc163
5d2994ec12
style: Cascader loading icon ( #33799 )
2022-01-21 10:40:34 +08:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
...
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
Long Hao (龙濠)
3c76de74ce
fix: Get ref of Card component #33730 ( #33784 )
...
* fix: Get ref of Card component #33730
* add test to the card ref
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-20 18:05:36 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
...
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed ( #33753 )
2022-01-20 10:15:42 +08:00
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
...
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-01-19 19:05:25 +08:00
afc163
85c96251d3
fix: Tag color in dark theme ( #33751 )
...
* docs: update dark theme doc
* fix: dark tag theme
2022-01-19 15:38:48 +08:00
github-actions[bot]
803be5d121
chore: auto merge branchs ( #33764 )
...
chore: merge master into feature
2022-01-19 06:28:19 +00:00
afc163
62eac5c830
chore: update Cacasder demo and remove array-tree-filter ( #33754 )
...
* chore: upgrade rc-cacasder
* update snapshot
2022-01-19 11:39:39 +08:00
MadCcc
8b4abbb1f5
feat: border color with transparency ( #33506 )
...
* feat: border color with transparency
* feat: update progess remain color with rgba(0, 0, 0, 0.06)
* feat: progress remaining color
2022-01-18 18:19:42 +08:00
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
...
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
2022-01-18 14:13:41 +08:00
github-actions[bot]
5a93cc024d
chore: auto merge branchs ( #33745 )
...
chore: sync master into feature
2022-01-18 03:16:08 +00:00
VIREAK KEOSOKVIBOL
121937186b
fix: some incorrect translation for km_KH ( #33738 )
...
* Add km_KH locale to component
* Add test and docs
* Fix typo
* Add test snapshot
* Fix translation
* Add test
2022-01-17 15:13:59 +08:00
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
...
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
2022-01-15 22:08:19 +08:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage ( #33729 )
...
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider ( #33723 )
...
* fix: Invalid memoized context value in LocaleProvider
* Add button type in test case.
* fix: Invalid memoized context value in Anchor
2022-01-14 18:34:27 +08:00
MadCcc
f81e392d7e
docs: add controlled preview demo for Image ( #33727 )
...
* docs: add controlled preview demo for Image
* test: update snapshot
* test: fix lint error
2022-01-14 18:24:08 +08:00
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. ( #33726 )
2022-01-14 15:57:24 +08:00
toSayNothing
5f9e3a8415
fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical ( fix #33681 ) ( #33716 )
...
* Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681 )
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
2022-01-14 13:53:08 +08:00
github-actions[bot]
7d0806ba32
chore: auto merge branchs ( #33707 )
...
branch: merge master into feature
2022-01-14 03:53:35 +00:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue ( #33709 )
...
* fix: <Icon component={HomeOutlined} /> align issue
close #33703
* update snapshot
2022-01-13 20:32:09 +08:00
hydraZty
aecf52e4b0
fix: Input can not be hidden when prefix is set ( #33706 )
...
* fix: Input can not be hidden when prefix is set
* test: jest case for #33692
Co-authored-by: hydraZty <hydra_zty@163.com>
2022-01-13 16:23:27 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
...
close #33691
2022-01-13 13:50:18 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
...
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component ( #33686 )
2022-01-12 23:03:23 +08:00
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 ( #33631 )
2022-01-12 23:01:56 +08:00
MadCcc
29f68f9e28
fix: checkbox group support options other than string ( #33678 )
...
* fix: checkbox group support options other than string
* docs: update checkbox docs
* fix: radio group support value other than string
* fix: only support number and string
* docs: update group options type
2022-01-12 22:57:43 +08:00
afc163
7a3f7ba58c
test: improve layout demo ( #33653 )
...
* test: improve layout demo
* test: improve layout demo
* update snapshot
2022-01-12 10:40:24 +08:00
uchanlee
5fb13e9681
feat: add skeleton input block ( #33672 )
...
* feat: add skeleton input block
* update: skeleton shapshot
2022-01-11 15:12:03 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables ( #33603 )
...
* feat: resolves issue 33572 re aria-sort on tables
* fixing snapshots
* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' ( #33649 )
...
* fix: Warning: Encountered two children with the same key, 'seperator' #33183
* eslint-disable-next-line react/no-array-index-key
Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
2022-01-11 13:18:17 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
2022-01-11 12:04:50 +08:00
github-actions[bot]
44d8e382ba
chore: auto merge branchs ( #33652 )
...
branch: merge master into feature
2022-01-11 03:31:21 +00:00
qin20
fe57135e35
feat: support custom Space children key ( #33607 )
...
close #33331
Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com>
2022-01-10 18:11:06 +08:00
二货机器人
ec5b33e949
fix: Form.Item shaking when help
is empty string ( #33644 )
...
* fix: empty help takes the line
* test: test case
2022-01-10 15:58:53 +08:00
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field ( #33619 )
2022-01-10 09:41:57 +08:00
github-actions[bot]
172dfc9aeb
chore: auto merge branchs ( #33611 )
...
chore: merge master to feature
2022-01-07 08:16:31 +00:00
afc163
7d0193e945
style: remove svg reset styles ( #33579 )
...
see reason: 004d58b2f2
close #33573
2022-01-06 15:01:16 +08:00
Long Hao (龙濠)
5ba83cd2ec
fix: CardGridProps should expose Div Properties like onClick #33264 ( #33563 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-05 19:53:58 +08:00
uchanlee
8ebb4a3d23
fix: Upload types for pass generic ( #33543 )
...
* fix: Upload types for pass generic
* fix: Upload type
* refactor: Upload type
* feat: add Upload type test case
2022-01-05 19:15:28 +08:00
Jason Miller
36a5485870
fix: Avoid mutating Event properties that are supposed to be getters ( #33536 )
...
* Avoid mutating Event properties that are supposed to be getters
React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects.
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2022-01-04 22:41:12 +08:00
Wuif
cf5eac1a8c
fix: PageHeader state update error ( #33546 )
2022-01-04 22:28:09 +08:00
Peach
970dd8cc6c
docs: correct react-router usage for breadcrumb ( #33551 )
2022-01-04 21:45:05 +08:00
afc163
7caa03e2ef
docs: fix update demo
2022-01-04 21:44:08 +08:00
Ryan Lee
a29154e67a
docs: update upload-png-only demo ( #33544 )
...
[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md )]
### 🤔 这个变动的性质是?
- [ ] 新特性提交
- [ ] 日常 bug 修复
- [ ] 站点、文档改进
- [x] 演示代码改进
- [ ] 组件样式/交互改进
- [ ] TypeScript 定义更新
- [ ] 包体积优化
- [ ] 性能优化
- [ ] 功能增强
- [ ] 国际化改进
- [ ] 重构
- [ ] 代码风格优化
- [ ] 测试用例
- [ ] 分支合并
- [ ] 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
无
### 💡 需求背景和解决方案
无
### 📝 更新日志
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
### ☑️ 请求合并前的自查清单
⚠️ 请自检并全部**勾选全部选项**。⚠️
- [x] 文档已补充或无须补充
- [x] 代码演示已提供或无须提供
- [x] TypeScript 定义已补充或无须补充
- [x] Changelog 已提供或无须提供
2022-01-04 19:52:16 +08:00
afc163
a801933196
fix: Select tag margin issue when using tagRender ( #33539 )
...
close #33531
2022-01-04 15:11:04 +08:00
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
...
close #33512
2022-01-02 15:16:21 +08:00
Xi Ming
659571edae
fix missing words in commets ( #33514 )
...
Lol
2022-01-02 12:59:40 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
2021-12-31 16:56:21 +08:00
afc163
c0d2c7e8a4
chore: remove whitespace
2021-12-31 16:54:15 +08:00
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime ( #33503 )
...
* feat: merge disabledXXX into disabledTime
* chore: fix ts
2021-12-31 11:28:02 +08:00
afc163
0976e9e6a4
test: add test case for #33487 ( #33492 )
2021-12-31 10:44:16 +08:00
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
...
This reverts commit 629caccaae
.
2021-12-30 15:15:00 +08:00
afc163
fb59bd2a47
docs: improve Cascader API documentation ( #33484 )
...
close #33477
2021-12-30 11:38:48 +08:00
MadCcc
7df1d52dee
Merge pull request #33432 from MadCcc/dev
...
fix: not allow setState in Popconfirm if unmounted
2021-12-29 17:49:15 +08:00
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
2021-12-29 14:42:00 +08:00
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md ( #33464 )
...
provide correct hash link for row selection docs to selection config anchor tag
2021-12-29 11:44:59 +08:00
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
2021-12-29 11:32:49 +08:00
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
2021-12-29 11:31:50 +08:00
chen-jingjie
c6188fd388
fix(Divider): with text dashed border color error ( #33452 )
2021-12-28 19:40:33 +08:00
MadCcc
19e4b578d9
chore: revert import order change
2021-12-28 17:23:43 +08:00
MadCcc
727e394d75
feat: add useMountedRef hook
2021-12-28 17:21:00 +08:00
zombiej
a90ad063af
test: Update snapshot
2021-12-28 16:17:37 +08:00
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 ( #33442 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-28 13:48:23 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
...
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
2021-12-27 21:59:16 +08:00
dengqing
4f4e2f800a
Docs: fix fieldNames options typo ( #33241 )
...
* docs: tree-select fieldNames error
* docs: fix docs error
* fix: docs typo
* docs: fix fieldNames
2021-12-27 19:05:22 +08:00
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
2021-12-27 18:06:46 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
9c086c5328
fix: Skeleton missing style ( #33405 )
2021-12-24 14:23:32 +08:00
二货机器人
f1e0c9c1d2
chore: Internal Menu interface for ProLayout usage ( #33399 )
...
* test: Update snapshot
* chore: disable tooltip
* chore: rename
2021-12-24 10:57:35 +08:00
afc163
0edf04253e
fix: Descriptions default overflow value ( #33392 )
...
close #33316
2021-12-23 16:40:36 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
binyellow
5c3e483217
docs: fixing document issues ( #33259 )
2021-12-22 17:22:15 +08:00
guhao.zeng
f1c6d37f6a
fix: Missing Catalan (ca_ES) translation key: Form.optional #33280 ( #33377 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-22 14:51:38 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
Sami Mäkinen
fb286612d5
chore: add sorting translations for fi_FI ( #33372 )
2021-12-21 20:02:12 +08:00
Michał Podeszwa
0f8fc6f2d2
Add Capture prop to Upload Component Typescript Definition ( #33370 )
...
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2021-12-21 18:15:58 +08:00
chen-jingjie
aa64c8bf99
fix(slider): disabled rail background-color error ( #33369 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-12-21 17:32:29 +08:00
zombiej
396cfab983
test: Update snapshot
2021-12-16 10:51:32 +08:00
zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +08:00
二货机器人
d91ebe9acf
test: fix initial test case ( #33313 )
...
* test: fix initial test case
* chore: replace with exist fn
* chore: rm dep conflict
* chore: fix dev jest env
2021-12-16 00:57:03 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
...
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
2021-12-15 21:36:36 +08:00
James
34dbf5f0a2
fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug ( #31846 )
...
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* fixed lint issues.
* change: add black list for form item name
* keep the definition the same as before
* update snapshot
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* change: add black list for form item name
* keep the definition the same as before
* merege from upstream
* rebase this branch
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* fix test case that casing by rebase
2021-12-12 14:58:49 +08:00
afc163
28855c23d9
fix: Button loading style missing in Firefox ( #33199 )
2021-12-08 18:17:01 +08:00
github-actions[bot]
d7b307926a
chore: auto merge branchs ( #33206 )
...
branch: merge master into feature
2021-12-08 10:03:11 +00:00
诸岳
602726dd63
fix(locale): Add missing zh-TW translation for Transfer ( #33209 )
...
Co-authored-by: 诸岳 <fuping.dfp@antgroup.com>
2021-12-08 17:32:26 +08:00
afc163
1db4ac2040
fix: Drawer title position ( #33205 )
2021-12-08 13:53:04 +08:00
github-actions[bot]
1f22ebb9d9
chore: auto merge branchs ( #33200 )
...
chore: sync master into feature
2021-12-08 03:35:46 +00:00
tangjinzhou
ad3ba274cd
fix: radio cursor style ( #33198 )
...
* fix: radio cursor style
* [CodeFactor] Apply fixes to commit 38721bb
[ci skip] [skip ci]
Co-authored-by: codefactor-io <support@codefactor.io>
2021-12-08 10:38:06 +08:00
afc163
2df7cc6f30
fix: Upload data
type ( #33193 )
...
* fix: Upload `data` type
* fix eslint errors
2021-12-07 21:45:11 +08:00
zhichenshaw
eb3cf792cf
docs: Update index.zh-CN.md ( #33184 )
...
修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型
2021-12-07 18:27:47 +08:00
xrkffgg
499ee6c691
test: fix Alert test ( #33167 )
...
* text: fix Alert test
* test: style
* test: up snap
* test: up
2021-12-06 11:39:37 +08:00
songlinn
d4b4edf8ef
fix: fix badge animation end not trigger when parent is display:none ( #33083 )
...
Co-authored-by: songlin.chen <songlin.chen@leyantech.com>
2021-12-06 11:23:34 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
...
chore: merge master into feature
2021-12-05 15:22:48 +08:00
元凛
97fd6d5b03
Revert "test: fix test error"
...
This reverts commit 3881e5d787
.
2021-12-05 14:25:10 +08:00
xrkffgg
3881e5d787
test: fix test error
2021-12-05 11:49:08 +08:00
tangjinzhou
ea7c41b90a
fix: anchor add prefixCls ( #33085 )
...
Co-authored-by: undefined <undefined>
2021-12-04 17:13:00 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
afc163
46e700fd87
Merge branch 'accessibility-tests' of https://github.com/StefSchenkelaars/ant-design into StefSchenkelaars-accessibility-tests
2021-12-04 00:11:41 +08:00
Tom And Jerry
e0c777d5b4
refactor: replace let with const ( #33134 )
...
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const new
* Update components/affix/index.tsx
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2021-12-04 00:10:59 +08:00
afc163
ef8179e6b5
chore: remove react-virtualized from demo
2021-12-04 00:01:20 +08:00
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
...
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
2021-12-02 13:43:24 +01:00
afc163
e49a451650
fix: Select width bug when searching ( #32988 )
...
* fix: select placeholder should take place when searching
close #27688
* fix snapshot
2021-12-02 14:40:03 +08:00
hydraZty
b4b44da5d1
fix: Radio dot offset when zooming ( #33086 )
...
Co-authored-by: hydraZty <hydra_zty@163.com>
2021-12-02 11:47:13 +08:00
二货机器人
4cc055749d
refactor: Move Table rowSpan
& colSpan
demo to onCell
instead ( #33114 )
...
* docs: change doc of span demo
* docs: clear render props
2021-12-02 10:35:18 +08:00
zombiej
1698426161
test: Update snapshot
2021-12-01 22:52:49 +08:00
Frank Fang
de33041bb0
chore: refactor some code ( #33034 )
...
* Refactor some code
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
* [CodeFactor] Apply fixes
[ci skip] [skip ci]
* rename abbr to sizeClassNameMap
* refactor: Button size class name
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: codefactor-io <support@codefactor.io>
2021-12-01 17:53:05 +08:00
Qiuxu
9b46aa5133
fix: carousel type declaration ( #33109 )
...
fix: CarouselRef["autoPlay"] is a method instead of a boolean value
2021-12-01 16:52:22 +08:00
诸岳
69da0de845
fix(locale): Add missing zh-TW translation for Form.optional, fix #30361 ( #33108 )
...
Co-authored-by: 诸岳 <fuping.dfp@antgroup.com>
2021-12-01 16:33:41 +08:00
afc163
80a05f9d35
docs: clarify select option title doc
...
close https://github.com/ant-design/ant-design/issues/33105
2021-12-01 14:54:23 +08:00
afc163
aae945d2d6
docs: update demo
2021-12-01 13:25:35 +08:00
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
...
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
2021-11-30 17:26:51 +08:00
二货机器人
97ee6df47d
fix: Back of relative ( #33070 )
2021-11-29 11:32:30 +08:00
afc163
264b3514d8
fix: TextArea height bug ( #33055 )
...
* fix: TextArea height bug when has `showCount`
close #33049
* fix snapshot
* revert form demo
2021-11-27 15:35:42 +08:00
afc163
e7f23592bc
feat: support Form labelWrap ( #33048 )
...
* feat: form label can be wrap
* fix api doc
* fix ts
2021-11-26 18:15:59 +08:00
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN ( #33026 )
...
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN
* docs: Update docs
2021-11-26 17:50:41 +08:00
zombiej
78a67d6615
chore: fix lint
2021-11-26 15:59:17 +08:00
zombiej
122fd8b9b9
test: Update snapshot
2021-11-26 15:49:09 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
Gabriel Mendez Reyes
106679346e
fix: en-US#docs-fix Drawer closable description ( #33035 )
...
* Update index.en-US.md
* Update index.en-US.md
* Update index.en-US.md
2021-11-26 08:35:07 +08:00
shuchang
4dcc85edef
docs: fix Drawer onClose description ( #33031 )
...
Drawer 抽屉现在关闭按钮都在左上角了,描述不对
2021-11-26 08:33:23 +08:00
afc163
285fa6e407
fix: Modal centered not centered ( #33022 )
...
close #33021
2021-11-25 18:06:40 +08:00
GannonSun
d9ce96af3b
docs: fix Drawer closable description ( #33018 )
...
关闭按钮移至左上角了
2021-11-25 14:35:40 +08:00
afc163
c1b1d8c3c4
chore: fix eslint
2021-11-25 10:05:17 +08:00
wedeso
5f9ed372f4
fix: Updated translations in et_EE.tsx ( #33005 )
...
* Updated translations in et_EE.tsx
Added missing Estonian translations.
* Updated et_EE.tsx
Defined typeTemplate
2021-11-25 09:54:48 +08:00