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
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
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
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
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
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
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
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
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
afc163
5f89ea4e17
fix: Cascader notFoundContent should be interactive ( #40067 )
...
close #40059
2023-01-06 16:46:49 +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
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
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
二货爱吃白萝卜
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
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
lijianan
977f4da9df
demo: update demo code ( #39982 )
...
* type: add Tab type
* add notes
* update demo code
2023-01-04 10:57:03 +08:00
Danial Soheili
a63789e3dc
Bugfix/checkbox style ( #39974 )
...
* 🎨 STYLE: fix indeterminate Checkbox style when disabled
* 📖 DOC: add indeterminate checkbox to disabled demo
* 🧪 TEST: update snapshots
* 🐞 FIX: don't change normal checkbox background
* 🐞 FIX: style selector
2023-01-04 10:19:51 +08:00
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch ( #39966 )
...
* fix: Node delay for wave pos
* test: test case update
* test: test case update
* chore: update ignore
* test: test case update
* chore: resize check for size changing
* test: coverage
* chore: save code
2023-01-03 16:08:20 +08:00
JiaQi
7f3342418f
docs(list): Example display error in English environment ( #39959 )
...
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-03 10:46:46 +08:00
lijianan
0bf4ee88b5
docs: add Space for demo ( #39961 )
2023-01-03 10:08:42 +08:00
azro352
0a7a600239
Fix demo grid ( #39963 )
...
* Fix demo grid
* Fix demo grid
2023-01-03 10:00:37 +08:00
lijianan
ccbec33585
type: remove redundant useContext ( #39955 )
...
* type: remove redundant useContext
* add type
2023-01-02 22:18:35 +08:00
lijianan
b44b4e7705
refactor: (Transfer) CC => FC ( #39944 )
...
* refactor[Transfer]: CC => FC
* add
* revert
* fix
* revret
2023-01-02 18:10:37 +08:00
二货爱吃白萝卜
9f7b129c41
fix: Button wave follow issue ( #39954 )
...
* fix: Button wave follow issue
* test: update test case
* chore: fix lint
2023-01-02 16:34:35 +08:00
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> ( #39950 )
...
* chore: use React.useContext() replace <Context.Provider />
* fix
* fix
* fix
* fix
* fix
2023-01-01 21:17:05 +08:00
Samyek
e9b5805fc2
docs: Updated the Copyright Year ( #39952 )
2023-01-01 21:13:29 +08:00