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
lijianan
73e541911b
refactor: use typescript refactor javascript ( #36907 )
...
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
* pref: add useCallback/useMemo
* refactor: use typescript refactor javascript
* fix: remove string
* fix: fix eslint
2022-08-05 13:45:46 +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
lijianan
212802bc09
pref: add useCallback/useMemo ( #36877 )
...
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
* pref: add useCallback/useMemo
2022-08-05 10:22:55 +08:00
JarvisArt
d88e9fe866
chore: upgrade rc-mentions to v1.9.1 ( #36898 )
2022-08-04 19:14:56 +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
afc163
772c251ec5
Create disscustion-open-check.yml
2022-08-04 11:00:42 +08:00
lijianan
a9f0123966
refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent ( #36876 )
...
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
2022-08-04 10:04:37 +08:00
yifanwww
8dfef70868
chore: Make data-${string}
undefinable ( #36858 )
2022-08-04 10:03:58 +08:00
lijianan
4fc00ececb
fix: strong type ( #36868 )
...
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
2022-08-03 15:42:25 +08:00
二货爱吃白萝卜
fff1130403
docs: Tech TS params usage ( #36865 )
2022-08-03 14:34:25 +08:00
lijianan
01087b2571
refactor: rewrite header and footer by FunctionComponent ( #36851 )
...
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
2022-08-03 11:19:53 +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
二货机器人
01bd2f2964
docs: Add tag info ( #36843 )
2022-08-02 13:42:04 +08:00
二货机器人
ab0b6b2c9a
chore: clean Drawer ts def ( #36823 )
2022-08-01 17:06:19 +08:00
vagusX
a09377f46d
docs: add changelog 4.22.3 ( #36812 )
2022-08-01 14:39:00 +08:00
Len
587c911cbd
Fix custom less variable being overwritten ( #36805 )
2022-08-01 09:42:13 +08:00
zhengjitf
ae43c269c3
fix: upload list item flashes after being removed in react18 ( #36801 )
2022-07-31 18:04:09 +08:00
renovate[bot]
819eec806b
chore(deps): update dependency @size-limit/file to v8 ( #36802 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 18:03:36 +08:00
renovate[bot]
f01aa3c985
chore(deps): update dependency size-limit to v8 ( #36803 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 18:03:28 +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
二货机器人
9a308bb2af
docs: 4.22.2 changelog ( #36764 )
...
* docs: 4.22.2 changelog
* docs: more changelog
2022-07-28 21:25:36 +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
二货机器人
c231e139cd
docs: 4.22.1 changelog ( #36732 )
2022-07-27 17:26:40 +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
lihao
f1aa52a6a3
ci: 添加 size-limit 的 workflows ( #36721 )
2022-07-27 11:59:11 +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
lihao
926aa0d929
chore: 替换 bundlesize 为 size-limit ( #36712 )
...
* chore: 替换 bundlesize 为 size-limit
* 恢复 bundlesize
2022-07-26 20:26:49 +08:00
xrkffgg
64a60e6eac
docs: add changelog 4.22.0 ( #36699 )
...
* docs: add changelog 4.22.0
* docs: update package
* docs: update
* Update CHANGELOG.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update CHANGELOG.en-US.md
Co-authored-by: MadCcc <1075746765@qq.com>
* docs: update
* Update CHANGELOG.en-US.md
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-07-26 19:28:28 +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
二货机器人
789a557b84
chore: Support deprecated version warning ( #36701 )
2022-07-26 14:01:08 +08:00
Zheeeng
78bc4a3537
chore: update the PULL_REQUEST_TEMPLATE ( #36700 )
2022-07-26 11:28:26 +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
github-actions[bot]
6386431c49
chore: auto merge branches ( #36683 )
...
chore: Feature merge master
2022-07-25 10:02:34 +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