Commit Graph

17058 Commits

Author SHA1 Message Date
nanwy
a308dcfa63
docs: update Modal.method docs (#45948)
* docs: update Modal.method docs

* docs: update Modal.method US docs
2023-11-17 18:30:43 +08:00
MadCcc
6cfbace3cd
revert: menu token (#45939)
* chore: migrate to webpack@5

* Revert "feat: support popupBg and darkPopupBg (#45826)"

This reverts commit 496ac3326f.

* chore: update
2023-11-17 14:09:58 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message (#45911)
* fix: zIndex miss of message

* fix: modal static index

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix zIndex test

* test: update test case

* chore: clean up

* test: coverage
2023-11-17 10:54:19 +08:00
Peach
9078b2b211
feat: export sider context from layout (#45916)
* feat: export sider context from layout

* refactor: use internal naming
2023-11-17 10:44:56 +08:00
MadCcc
2dda417e29
fix: disabled btn with link should not be focused (#45910)
* fix: disabled btn with link should not be focused

* chore: update snapshot

* chore: update snapshot
2023-11-16 11:36:51 +08:00
yufamg
3831352c27
docs(📖): update tabs component docs (#45875)
* 📖docs: update tabs component docs

* Update components/tabs/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>

* Update components/tabs/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>

---------

Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-14 19:40:37 +08:00
kiner-tang(文辉)
2777d2c39f
fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container (#45864)
* fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/popconfirm/index.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-11-14 18:01:23 +08:00
afc163
cb8f709424
fix: QRCode style.padding should work (#45815)
* fix: QRCode style.padding should work

* refactor qrcode padding and size

* chore: fix test cases

* refactor: revert qrcode size

* refactor: remove !important

* chore: fix test case
2023-11-13 18:35:23 +08:00
陈帅
496ac3326f
feat: support popupBg and darkPopupBg (#45826)
* feat: support popupBg and darkPopupBg

* fix test
2023-11-13 10:15:07 +08:00
afc163
abd73e0fd2
style: update carousel dots radius (#45817) 2023-11-13 09:43:47 +08:00
afc163
9db3dc2a48
docs: add some commonly used props of react-slick to antd documentation (#45789) 2023-11-11 12:03:39 +08:00
Lansana Diomande
c73f56e4ea
refactor(list): improve grid gutter type (#45791) 2023-11-10 23:12:29 +08:00
4091164330
chore: addd unit case (#45781)
(cherry picked from commit b21741d7b9effea3b3cc4bff1c02c92d58f72d47)
2023-11-10 18:33:01 +08:00
二货爱吃白萝卜
f22f61db8a
test: update snapshot (#45770)
* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 21:58:16 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error (#45761)
* chore: fix zIndex logic

* chore: detect if needed

* docs: update bug version

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 19:07:22 +08:00
JarvisArt
5727ce00ef
demo: add tooltip disabled demo (#45748)
* demo: add disabled demo

* demo: Modify tooltip Disable demo Description

* demo: Modify tooltip Disable demo Description
2023-11-09 17:15:21 +08:00
afc163
c2ef52b9ba
fix: Upload should show remove icon when showRemoveIcon is true (#45752) 2023-11-09 16:44:50 +08:00
二货爱吃白萝卜
5261f1e365
fix: Description children missing key (#45757) 2023-11-09 16:37:10 +08:00
vagusX
406e4aeb6f
docs: add Upload disabled demo for debug usage (#45723) 2023-11-08 20:43:18 +08:00
Mattis Abrahamsson
39a5d2b260
docs: Fix typo in Drawer documentation (#45726)
Signed-off-by: Mattis Abrahamsson <60041024+MattisAbrahamsson@users.noreply.github.com>
2023-11-08 19:13:00 +08:00
faruxue
261ba8fe1d
docs: fix TreeSelect demo onChange log (#45722)
Co-authored-by: 伐宿 <fasu@uni-ubi.com>
2023-11-08 16:40:25 +08:00
MadCcc
c3a63a9927
fix: component token should work (#45721) 2023-11-08 16:27:50 +08:00
Kilig
b99902ab76
docs:(Tree): Parameter type repair (#45715) 2023-11-08 14:46:05 +08:00
@linhf2023
299592d9b7
fix(popConfirm): visible prop compatible (#45702)
* fix: visible compatible

* chore: add test

---------

Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-08 13:34:54 +08:00
5ac3f57b7c
feat(modal): PureRender support custom footer callback (#44985)
* demo: update debug demo

* chore: improve typo

* Revert "chore: improve typo"

This reverts commit d5163f98ececa6266d34d68d9d4bc9f83cf06095.

* chore: update

* chore: update demo

* chore: update snapshots

* chore: update
2023-11-08 11:10:35 +08:00
kiner-tang(文辉)
b3cb6b30ed
fix: update tag default background (#45711) 2023-11-08 10:43:02 +08:00
kiner-tang(文辉)
380649ee76
fix: update tag default background (#45700)
* fix: update tag default background

* feat: remove unused code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-11-07 18:28:09 +08:00
MadCcc
3b5a915ddf
fix: notification style width (#45681)
* fix: notification style width

* chore: code clean

* chore: update size-limit
2023-11-06 11:29:41 +08:00
lijianan
3f683d778c
fix: fix App error when component === false (#45671)
* fix: fix error when component === false

* fix: fix
2023-11-05 13:08:52 +08:00
Parsa Arvaneh
f693a6873a
fix(Image): using chinese language in image components API's table (#45673) 2023-11-05 10:30:29 +08:00
Jex
d1ed46938b
type: add generics to AppProps (#45669)
* type: add generics to AppProps

* type: add generics to rootProps
2023-11-04 01:35:40 +08:00
kiner-tang(文辉)
b888f69152
test: fix Slider test case in React 16 (#45664)
* docs: solve error about dropdown

* feat: update snap

* style: fix Upload border color when drag over (#45663)

* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>

* fix: test case error in React 16

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Oceansdeep7 <14208796@qq.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 21:50:49 +08:00
Oceansdeep7
38c2002144
style: fix Upload border color when drag over (#45663)
* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 19:00:11 +08:00
kiner-tang(文辉)
13ae715c7f
docs: solve error about dropdown (#45662) 2023-11-03 18:59:59 +08:00
afc163
e0a6244303 test: fix test case 2023-11-03 17:59:31 +08:00
f3c37a3be4
refactor(color-picker): rename defaultCollapsed => defaultOpen (#45655) 2023-11-03 16:49:22 +08:00
afc163
321dfd8cc9
feat: show Slider tooltip when focus handler (#45653) 2023-11-03 16:30:04 +08:00
99138cb93e
feat(color-picker): preset colors support collapsing at initialization (#45607)
* feat(color-picker): preset colors support collapsing at initialization

(cherry picked from commit d8975b407f1d5a574cdefafd8be17374a4d5e8af)

* docs: update

(cherry picked from commit 74f6d70ebd22c752f57f559d4222c383fafea63a)

* test: add unit test

(cherry picked from commit 2ef2af49228d3fe672c1b24277f142f54f9b193a)

* chore: update

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

* refactor: rename

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-03 11:47:52 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
MadCcc
95322eaad5
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
* fix: InputNumber in Form with hasFeedback should not lose focus

* chore: disable lint
2023-11-02 17:15:03 +08:00
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
KotoriK
d8fbefcd36
feat(Modal): Modal static function accept 'styles' (#45558)
* feat(Modal): modal static function should accept 'styles'

* lint

* Update components/modal/interface.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/modal/ConfirmDialog.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/modal/ConfirmDialog.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-02 10:12:41 +08:00
lijianan
b14faf04bf
feat: CP support Dropdown className and style (#45621)
* feat: CP support Dropdown className and style

* test: fix test case
2023-11-02 00:48:26 +08:00
lijianan
f02ce413da
demo: update tooltip demo (#45620)
* demo: update tooltip demo

* fix: fix
2023-11-01 22:27:37 +08:00
lijianan
99faed814a
demo: update Spin demo layout to Flex Component (#45577)
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +08:00
leixd1994
46246268ac
docs: add example for autoInsertSpaceInButton (#45608)
* 增加autoInsertSpaceInButton属性的样例代码,防止加错位置

* 格式修改

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-01 10:15:29 +08:00
afc163
c1891d8d3b
demo: update Popover demos (#45598)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-31 20:58:01 +08:00
红果汁
fc5610653e
feat: Implement optionRender API (#45529)
* feat: implement optionRender api

* chore: bump rc-cascader

* chore: bump rc-tree-select

* docs: update demo

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/index.en-US.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/index.zh-CN.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* docs: fix doc

* test: update snap

* docs: rename prop

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-31 10:26:53 +08:00
afc163
67c8e8b259
demo: simplify demos (#45585) 2023-10-30 15:02:00 +08:00