Commit Graph

24425 Commits

Author SHA1 Message Date
陈帅
e23c5a4f9d
docs: add 5.1.3 changelog (#40097)
* docs: add 5.1.3 changelog

* fix review warning

* fix review warning

* chore: update snapshot

* fix review changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

* Update CHANGELOG.zh-CN.md

* update snapshot

* update snapshot

* Update CHANGELOG.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* update snapshot

* update snapshot

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-09 17:10:40 +08:00
lijianan
8a85d7a642
chore: add Suggested change (#40106)
* Suggested change

* fix
2023-01-09 17:07:39 +08:00
MadCcc
d24c55a0bb
fix: horizontal Menu style with (#40105)
* fix: horizontal Menu style with

* chore: update snapshot

* chore: code clean
2023-01-09 16:50:08 +08:00
lijianan
fadba4cb42
chore: rewrite test case Demo CC => FC (#40102)
* chore: rewrite test case demo CC => FC

* chore: rewrite test case demo CC => FC

* fix
2023-01-09 16:45:05 +08:00
Danial Soheili
59593e0476
💄 STYLE: Fix text not being displayed in circular Progress in rtl mode (#40103) 2023-01-09 15:37:39 +08:00
afc163
d0194bcdca chore: fetch tags before run changelog 2023-01-09 11:18:10 +08:00
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> (#40091)
* chore: use React.useContext replace <Context.ConfigConsumer />

* add
2023-01-09 10:04:35 +08:00
Danial Soheili
b242dde04c
fix: add direction prop to ConfigProvider of demos (#40089) 2023-01-08 23:06:45 +08:00
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
lijianan
130c22ab03
style: Code style optimization (#40083)
* style: Code style optimization

* add

* rename

* rename

* revert

* revert

* revert

* add
2023-01-08 15:36:50 +08:00
lijianan
4b4e7cb6f2
fix: Transfer checkbox disabled error (#40048)
* fix: Transfer checkbox disabled error

* add test case
2023-01-08 15:35:28 +08:00
AkaraChen
c0ce8e5455
site: site code style optimization (#40088) 2023-01-08 13:26:35 +08:00
二货爱吃白萝卜
49b9ba77d0
chore: adjust desc style (#40085) 2023-01-08 13:25:32 +08:00
github-actions[bot]
73d0a9bc30
chore: auto merge branches (#40086)
chore: feature merge master
2023-01-08 04:41:22 +00:00
renovate[bot]
6c21f53e35
chore(deps): update dependency jsdom to v21 (#40082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 12:17:43 +08:00
lijianan
b4be0d0078
chore: update contributors list (#40084) 2023-01-08 12:17:04 +08:00
Peter Gassner
25ea3a7202
fix: Allow users to handle promise rejections in ActionButton's onOk callback (#40018)
* fix: Allow users to handle promise rejections in onOk callback

Components that rely on ActionButton swallow rejected promises. This makes it impossible for userland code to handle them.

* polish: Fix linting problems

* polish: Return rejected promise instead of throwing

* refact: Remove test for unhandled promise rejection

This test breaks when run in parallel by Jest. At the moment we have no way of changing the way Jest works and it prohibits us from testing for "unhandledRejection" events.

See: https://github.com/ant-design/ant-design/pull/40018#issuecomment-1373590259

* test: hack for rejection

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-01-08 00:27:33 +08:00
lijianan
c35787696b
demo: update demo (#40079)
* demo: update demo

* rerun ci
2023-01-07 23:24:27 +08:00
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden (#40071)
* test: add case

* fix: fix the error of missing custom icon className

* test: add case

* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode

* test: update snapshot

* Revert "fix: fix the error of missing custom icon className"

This reverts commit 71c79a3f75.

* test: update case

* fix: fix the error of missing custom icon className
2023-01-07 21:50:09 +08:00
二货爱吃白萝卜
91df688efd
refactor: Table render logic opt (#40063)
* chore: basic prepare

* chore: adjust render logic

* chore: fix lint

* chore: bump table

* test: update snapshot
2023-01-07 21:21:52 +08:00
lijianan
d3764fcce3
test: refactor test case demo CC => FC (#40070)
* test: refactor test case demo CC => FC

* add type

* type
2023-01-07 21:15:59 +08:00
lijianan
80498afea6
test: refactor test case CC => FC (#40068) 2023-01-06 16:48:44 +08:00
linxianxi
398d3e6937
site: fix anchor height (#40069) 2023-01-06 16:47:40 +08:00
afc163
5f89ea4e17
fix: Cascader notFoundContent should be interactive (#40067)
close #40059
2023-01-06 16:46:49 +08:00
afc163
de2a373d5f
site: update overview search style (#40060) 2023-01-06 14:52:08 +08:00
afc163
b7abcc60ac
Update introduce.zh-CN.md 2023-01-06 14:21:28 +08:00
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
lijianan
f25fd4363f
docs: add notice (#40057) 2023-01-06 11:15:39 +08:00
Wuxh
7f189d56e5
refactor: merge preset colors (#39742)
* style: remove redundant code

* feat(style): add preset colour style generation method

(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)

* feat: uniform preset colour generation css selector method

(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)

* chore: merge preset colors

(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)

* chore: update

(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)

* chore: remove Badge preset inverse colors

* chore: remove fix

删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题

* suggestions accepted

Update components/style/presetColor.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-06 11:06:46 +08:00
lijianan
67e958fdd6
fix: find the missing code (#40047) 2023-01-06 09:46:47 +08:00
lijianan
e597fe8ec6
fix: Button block prop not work (#39992)
* fix: Button block prop not work

* fix

* remove auto

* update demo

* fix

* fix

* fix width

* fix

* update demo
2023-01-06 09:46:00 +08:00
lijianan
ae67ad20c5
fix: fix Checkbox not disabled when itemsLits is empty (#40038)
* fix: fix Checkbox not disabled when itemsLits is empty

* revert

* fix

* update snap

* fix: update snap

* update snap

* update snap

* revert
2023-01-05 20:34:31 +08:00
lijianan
e4dd7096af
site: refactor CC => FC (#40043)
* fix

* fix

* fix
2023-01-05 20:10:03 +08:00
afc163
46d733447a
style: Alert.ErrorBoundary overflow style (#40033) 2023-01-05 16:13:36 +08:00
afc163
7d77f3173d
site: improve demo card style (#40028)
* site: improve demo card style

* test: update snapshot

* test: update snapshot

* fix: demo card border

* docs: fix dark mode

* style: fix color
2023-01-05 15:30:59 +08:00
afc163
755682c317
docs: add animated number demo for Statistic (#40027)
* docs: add animated number demo for Statistic

* style: update demo

* add back countdownValueType

* type: fix demo type
2023-01-05 14:07:33 +08:00
lijianan
c5ab5971fd
refactor: (TransferBody) CC => FC (#39988)
* fix

* fix

* fix type

* rerun ci

* fix

* fix

* fix

* fix

* rename

* add useMemo

* fix

* Code style optimization

* Code style optimization

* fix

* fix

* remove useMemo
2023-01-05 10:37:35 +08:00
叶枫
81a1ffd53c
fix: 修复 Tag onClick 为 undefined 的判断方式 (#40023)
* fix: 修复 Tag onClick 为 undefined 的判断方式

* feat: function
2023-01-05 10:24:14 +08:00
JarvisArt
c74b93b2df
chore: step-next demo supports dark mode (#40014)
* chore: step-next demo supports dark mode

* test: update snapshot
2023-01-04 23:57:05 +08:00
二货爱吃白萝卜
18b91f38c5
fix: Table cell render closure (#40004)
* fix: Table cell render logic

* chore: bump rc-table
2023-01-04 22:59:07 +08:00
二货爱吃白萝卜
3539e668f7
chore: adjust tooltip for cov (#40013)
* chore: adjust tooltip for cov

* chore: update bug version
2023-01-04 22:40:35 +08:00
afc163
c8bc3ce6c6
site: fix home page rtl style and footer icons (#40003)
* docs: fix home page rtl style

* style: fix rtl style

* Update package.json

* style: fix card text align

* style: update footer icons
2023-01-04 19:37:57 +08:00
afc163
df4542e20c
site: make icon search affix (#40002)
* feature: update IconDisplay component in Icon docs template, affix icon search input box to the top of page

* style: change shadow style

Co-authored-by: Chang Wei <changwei1006@gmail.com>
2023-01-04 18:49:55 +08:00
github-actions[bot]
e847dddd9e
chore: auto merge branches (#40005)
chore: feature merge master
2023-01-04 10:26:20 +00:00
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
MadCcc
01023ef0ed
chore: update token statistic script (#40000) 2023-01-04 17:54:31 +08:00
afc163
6683c58b2d
fix: Avatar.Group item could be wrapped (#39993)
* fix: AvatarGroup item could be wrapped

* test: update snapshot

* refactor avatarGroup space

* test: update snapshot

* revert avatarGroupBorderColor
2023-01-04 17:31:31 +08:00
lijianan
dc2686d7eb
refactor: (Transfer) CC => FC (#39958)
* refactor: (Transfer) CC => FC

* add

* fix

* add

* add

* fix

* fix

* add displayName

* add useEffect

* fix

* add useMergedState

* add

* fix

* fix

* fix snap

* rerun

* rerun ci

* rename
2023-01-04 15:09:03 +08:00
afc163
a9bab97d92
chore: update style of github contributors (#39994) 2023-01-04 13:45:02 +08:00
lijianan
977f4da9df
demo: update demo code (#39982)
* type: add Tab type

* add notes

* update demo code
2023-01-04 10:57:03 +08:00