clean99
8129bfee8b
test: refactor autocomplete test with screen and userEvent ( #36953 )
...
* AutoComplete(test): refactor custom input autocomplete with userEvent and screen
* AutoComplete(test): refactor dataSource is object array with screen and userEvent
* AutoComplete(test): update file name to tsx and refactor with screen
* AutoComplete(test): option test refactor
* AutoComplete(test): className test refactor
* remove fireEvent
* ignore ts error
* disable no-console
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 22:42:57 +08:00
二货爱吃白萝卜
3012c77482
fix: Drawer zIndex ( #36958 )
2022-08-08 22:09:51 +08:00
Qiuhang817385
fdaa946f24
do'c's):add onChange props for useFormItemStatus description code ( #36929 )
...
* fix(docs):fix useFormItemStatus description code
* fix():修复CR意见
2022-08-08 22:08:28 +08:00
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
...
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 13:31:55 +08:00
kalykun
c8262525e0
feat(Avatar): add onClick
prop ( #36940 )
2022-08-08 13:30:49 +08:00
clean99
20a2bb3374
fix: testing act error ( #36915 )
...
* test: switch act from react-dom/test-utils to testing-library/react
* test: fix jest.runAllTimers usage with act
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-05 18:27:08 +08:00
gaokaifeis
8ee6044ee2
test: move test cases to testing lib for Progress ( #36826 )
...
Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>
2022-08-05 12:17:05 +08:00
afc163
8ed18fc239
style: reduce some css code ( #36904 )
2022-08-05 11:37:55 +08:00
afc163
30d60fc05c
style: button focus style should not stay after click ( #36902 )
...
:focus => :focus-visible
close #36896
2022-08-05 10:58:07 +08:00
他不是牛马
dce76afd93
test: Replace slider part test with testing lib ( #36888 )
2022-08-04 17:09:54 +08:00
kalykun
9e7e32b60c
fix(Table): onChange sorter
param types ( #36710 )
...
* fix(types): fixes `sorter` param types
* chore: add test case
* Update type.test.tsx
* Update type.test.tsx
2022-08-04 11:16:24 +08:00
yifanwww
8dfef70868
chore: Make data-${string}
undefinable ( #36858 )
2022-08-04 10:03:58 +08:00
Yuki Zhang
4d7ef8d5c6
test: move test cases to testing-library for Skeleton ( #36856 )
2022-08-03 11:02:45 +08:00
yanm1ng
5b45a8fa87
style(drawer): fix drawer nesting style pollution ( #36845 )
...
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
2022-08-02 14:54:13 +08:00
二货机器人
ab0b6b2c9a
chore: clean Drawer ts def ( #36823 )
2022-08-01 17:06:19 +08:00
zhengjitf
ae43c269c3
fix: upload list item flashes after being removed in react18 ( #36801 )
2022-07-31 18:04:09 +08:00
二货机器人
ffb3a4da90
fix: Form vertical with span row ( #36800 )
...
* fix: form vertical with span
* test: update snapshot
2022-07-30 21:00:00 +08:00
MadCcc
c5668a7e34
docs: Form disabled version ( #36760 )
...
* docs: Form disabled version
* test: update snapshot
2022-07-29 15:54:36 +08:00
二货机器人
51954aa470
fix: fix row in flex layout size cal ( #36770 )
2022-07-28 23:15:08 +08:00
二货机器人
ddb97b22ba
chore: collapse title text auto width ( #36761 )
...
* chore: collapse title text auto width
* test: fix mock snapshot
2022-07-28 20:30:41 +08:00
二货机器人
24be945ea8
fix: Not work in old browser ( #36748 )
...
* fix: Drawer contentWrapperStyle logic
* fix: Update style
* test: Update snapshot
* test: More test case
2022-07-27 23:44:45 +08:00
二货机器人
740d9f4111
fix: Drawer width with ptg ( #36729 )
...
* fix: Drawer width with ptg
* test:Update snapshot
2022-07-27 16:50:55 +08:00
dingkang
1ef45439d6
test: replace Cascader test case with test library ( #36475 )
...
* test: relpace test case with test library
* test: fix test case
* test: replace snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-07-26 22:27:42 +08:00
Zheeeng
7b3220fb49
chore: refine getScroll internal signature and some assertion ( #36695 )
...
* chore: refine getScroll internal signature and some assertion
* fix: for mock scenario to passing tests
2022-07-26 16:12:36 +08:00
二货机器人
84c0498d64
fix: Upload item removed should keep status className ( #36706 )
...
* fix: not blink of remove file
* test: test case of remove
2022-07-26 15:17:41 +08:00
hoho2017
f3db1f2dab
docs: fix Menu api layout ( #36697 )
...
Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>
2022-07-26 14:34:21 +08:00
Zheeeng
b89ed86698
chore: prefer using type-compatible-assigning over using type-assertion ( #36694 )
2022-07-26 11:25:45 +08:00
xrkffgg
16d2c5def3
Merge pull request #36685 from ant-design/feature
...
branch: merge feature into master
2022-07-26 00:09:16 +08:00
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
...
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2022-07-25 21:04:43 +08:00
github-actions[bot]
b5302f404a
chore: auto merge branches ( #36684 )
...
branch: merge feature into master
2022-07-25 11:59:51 +00:00
zombiej
46d146d692
chore: resolve conflict of feature merge master
2022-07-25 17:39:38 +08:00
afc163
80114d62c7
Revert "fix: Upload item removed should keep status className ( #36439 )" ( #36682 )
...
This reverts commit cebbe23393
.
2022-07-25 17:38:28 +08:00
zombiej
2b46b3e6e1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2022-07-25 17:37:47 +08:00
叶枫
00c891ac05
feat: Typography ellipsis.tooltip
could be a object ( #36099 )
...
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2022-07-25 13:09:39 +08:00
fairyland
3675ad5a3f
test: move-test-cases-to-testing-lib-for-Radio ( #36664 )
...
* test: move-test-cases-to-testing-lib-for-Radio
* update toMatchSnapshot
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-24 12:33:05 +08:00
afc163
1e88248903
docs: renew Select dropdownRender demo and FAQ ( #36665 )
...
* docs: renew Select dropdownRender FAQ and demo
* chore: update snapshot
* chore: fix Select demo tsc
* chore: fix Select demo tsc
2022-07-23 17:00:19 +08:00
Alan Deng
3920a724cc
feat: Tree/TreeSelect switcherIcon
support more parameter in argument ( #36651 )
2022-07-23 16:54:36 +08:00
Zheeeng
fd5d463213
chore: write React.ChangeEvent<E> once ( #36644 )
2022-07-23 16:37:32 +08:00
Wuxh
16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function ( #36600 )
...
* fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`
resolve: 36581
ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007
* test(confirm): 补充 modal 测试用例
* test(modal): 添加测试用例
* Revert "fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`"
This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.
* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter
closed : #36581
* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
Tianyuan Zhang
09de419253
fix(Tree): DraggableFn params type ( #36648 )
...
* fix(Tree): DraggableFn params type
* chore: add blank line
* test: add typ test for draggable Fn
* test: add typ test for draggable Fn
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
2022-07-22 20:26:52 +08:00
二货机器人
0b9f1db072
Revert "feat: Space support align stretch ( #36310 )" ( #36650 )
...
This reverts commit bfa8aaec5e
.
2022-07-22 14:14:01 +08:00
Tianyuan Zhang
1180b61131
docs: tabpane add disabled
( #36634 )
...
close #36610
2022-07-21 18:45:48 +08:00
Yuki Zhang
817773e015
test: move test cases to testing lib for Collapse ( #36227 )
...
* test: move test cases to testing lib for Collapse
* chore: remove useless file
* fix: react 18 concurrent
* chore: remove useless file
2022-07-21 11:18:14 +08:00
黑雨
8c34cb793f
feat: Replace input-number part test with testing lib ( #36080 )
...
* feat: Replace input-number part test with testing lib
* feat: update rc-input-number version
2022-07-20 20:47:09 +08:00
dashaowang
cff762cf3d
style: fix Table extra shadow and scrollbar when all columns are fixed
...
Co-authored-by: weiwang <wren@xuncetech.com>
2022-07-20 13:30:57 +08:00
afc163
2146d18045
style: fix Table tree data ellipsis style problem ( #36608 )
...
close #36583
2022-07-20 13:30:34 +08:00
二货机器人
31eef3a956
docs: menu faq ( #36604 )
...
* docs: menu faq
* docs: patch codesandbox
2022-07-20 10:58:47 +08:00
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
...
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2022-07-19 16:01:31 +08:00
二货机器人
3301b4d6fc
Merge pull request #36576 from ant-design/master
...
chore: feature merge master
2022-07-18 20:59:32 +08:00
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
...
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-18 14:21:52 +08:00