Commit Graph

24345 Commits

Author SHA1 Message Date
afc163
f9efab55a1
Revert "fix(tour): findDomNode throw warning in strict mode (#40153)" (#40159)
This reverts commit 6f9848c9be.
2023-01-11 16:51:45 +08:00
helloqian12138
eba5d49be9
chore(deps): update dependency rc-trigger to v5.3.4 (#40158) 2023-01-11 16:51:04 +08:00
lijianan
839e485a16
docs: markdown eslint error fix (#40149) 2023-01-11 16:48:09 +08:00
kiner-tang(文辉)
6f9848c9be
fix(tour): findDomNode throw warning in strict mode (#40153)
* fix: findDOMNode throw Wraning in strictMode

* feat: update domo

* feat: reset demo
2023-01-11 15:54:55 +08:00
afc163
944adac8df
Update test.yml 2023-01-11 15:21:54 +08:00
Wuxh
e70c702232
chore(deps): update dependency (#40121)
* chore(deps): update `@ant-design/colors` dependency

* test: update case

* chore(deps): update `@ant-design/icons` dependency
2023-01-11 14:22:48 +08:00
afc163
2cc98764a7
test: fix bundlesize2 cache throw error (#40151) 2023-01-11 14:05:00 +08:00
JarvisArt
e4edc3444d
demo: collapse custom demo supports dark mode (#40144)
* demo: collapse custom demo supports dark mode

* chore: remove className

* demo: update collapse custom
2023-01-11 12:10:20 +08:00
JarvisArt
6129ea1216
demo: form global-state demo supports dark mode (#40143)
* chore: form global-state demo supports dark mode

* test: update snapshot
2023-01-11 10:40:35 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button (#40077)
* fix: type updated from any, and comments removed #15930

* refactor: removed unnecessary comments, created helper for button

* fix: cleanupTimer

* fix: import fixed

* Update components/button/button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/dropdown/dropdown-button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
Wuxh
001a44ec77
fix: fix custom color displaying wrong classname & alignment overflow (#39394)
* test: add case

* fix: fix the presence of other non-preset colors in the class name

* TS Type Enhancement

* fix: fix custom icon rtl mode distance problem

* test: update snapshot
2023-01-10 22:57:09 +08:00
afc163
fec2f49bef
style: fix Badge rtl style on block element (#40125) 2023-01-10 22:10:18 +08:00
Wuxh
d30b5a28e7
dev: upgrade the developer experience (#40080)
* chore: update site

* dev: add the ability to open the demo website address in development mode
2023-01-10 21:35:01 +08:00
MESSAOUDI Oussama
dd3db2587b
fix: breadcrumb last item color does not use the breadcrumbLastItemColor token. (#40119)
* use `breadcrumbLastItemColor` token in `li:last-child`

* PR feedback

* revert change log update.
2023-01-10 19:13:42 +08:00
lijianan
7f222efff6
site: delete V5_NOTIFICATION (#40129)
* site: delete V5_NOTIFICATION

* clear code
2023-01-10 16:51:28 +08:00
Peach
51375683c7
docs: override debug prop when show all demo (#40130)
* docs: override debug prop when show all demo

* chore: add annotation
2023-01-10 15:45:23 +08:00
lijianan
0f64e1538e
chore: markdown eslint error (#40124) 2023-01-10 11:44:06 +08:00
JarvisArt
26c3c326ad
chore: Watermark uses MutateObserver (#40081)
* chore: Watermark uses MutateObserver

* chore: upgrade @rc-component/mutate-observer
2023-01-10 10:56:54 +08:00
MadCcc
52478c78d3 chore: update changelog 2023-01-09 21:51:17 +08:00
MadCcc
432a7cdac3
docs: changelog 5.1.4 (#40117)
* docs: changelog 5.1.4

* chore: code clean

* chore: umoji
2023-01-09 21:33:48 +08:00
MadCcc
ab9124ba88
fix: missing locale in pacakge (#40116)
* fix: missing locale in pacakge

* chore: add bug version
2023-01-09 21:03:08 +08:00
3hson
ea943f7e70
fix(cascader): cascader dropdown placement using isRtl (#40109)
* fix(cascader): cascader dropdown placement using isRtl

* fix(cascader): remove extra SelectCommonPlacement type assertion

Co-authored-by: Ehsan Khakian <e.khakian@liateam.net>
2023-01-09 19:35:14 +08:00
陈帅
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
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