Commit Graph

22298 Commits

Author SHA1 Message Date
afc163
1e88248903
docs: renew Select dropdownRender demo and FAQ (#36665)
* docs: renew Select dropdownRender FAQ and demo

* chore: update snapshot

* chore: fix Select demo tsc

* chore: fix Select demo tsc
2022-07-23 17:00:19 +08:00
Zheeeng
fd5d463213
chore: write React.ChangeEvent<E> once (#36644) 2022-07-23 16:37:32 +08:00
Wuxh
16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function (#36600)
* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: #36581

* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
Tianyuan Zhang
09de419253
fix(Tree): DraggableFn params type (#36648)
* fix(Tree): DraggableFn params type

* chore: add blank line

* test: add typ test for draggable Fn

* test: add typ test for draggable Fn

Co-authored-by: tianyuan233 <zty.dev@outlook.com>
2022-07-22 20:26:52 +08:00
二货机器人
ad7df07680
docs: faq for internal API (#36643) 2022-07-21 19:03:59 +08:00
Tianyuan Zhang
1180b61131
docs: tabpane add disabled (#36634)
close #36610
2022-07-21 18:45:48 +08:00
Yuki Zhang
817773e015
test: move test cases to testing lib for Collapse (#36227)
* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file
2022-07-21 11:18:14 +08:00
黑雨
8c34cb793f
feat: Replace input-number part test with testing lib (#36080)
* feat: Replace input-number part test with testing lib

* feat: update rc-input-number version
2022-07-20 20:47:09 +08:00
dashaowang
cff762cf3d
style: fix Table extra shadow and scrollbar when all columns are fixed
Co-authored-by: weiwang <wren@xuncetech.com>
2022-07-20 13:30:57 +08:00
afc163
2146d18045
style: fix Table tree data ellipsis style problem (#36608)
close #36583
2022-07-20 13:30:34 +08:00
二货机器人
31eef3a956
docs: menu faq (#36604)
* docs: menu faq

* docs: patch codesandbox
2022-07-20 10:58:47 +08:00
xrkffgg
d383a87ef6
ci: fix publish (#36580) 2022-07-19 14:54:20 +08:00
Peach
10b153f65d
docs: changelog for 4.21.7 (#36572)
* docs: changelog for 4.21.7

* chore: bump version to 4.21.7

* docs: update changelog

* docs: append a new changelog
2022-07-18 15:02:57 +08:00
fairyland
8c9ad9b1b6
fix: form disabeld support Upload (#36573)
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-18 14:21:52 +08:00
renovate[bot]
912d274b0a
chore(deps): update dependency eslint-plugin-markdown to v3 (#36560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-17 18:57:36 +08:00
Neil
9989a2d751
add Modal @modal-border-radius less variable (#36527)
* add Modal @modal-border-radius less variable

* fix:  add less variable
2022-07-15 14:50:07 +08:00
MadCcc
5cd007a2ed
chore: update .gitignore (#36534) 2022-07-15 14:28:02 +08:00
zombiej
ed5f4c3626 test: update snapshot 2022-07-15 11:47:57 +08:00
二货机器人
006c055cf8
refactor: move popconfirm content out (#36530)
* refactor: move popconfirm content out

* fix: lint
2022-07-15 11:11:50 +08:00
afc163
2255dbada6 docs: update select documentation 2022-07-14 19:27:37 +08:00
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon (#36511)
fix #33708
2022-07-14 18:03:11 +08:00
Jon
92c8bdc88f
fix: SVG Upload Preview Error (#36402)
* Update utils.tsx

* style: unify img styling

Unify the styling  of img attribute setting.

* test: add previewImage test for svg file

Add previewImage test for SVG upload

* fix: remove charset

Remove charset in data url for text content.

* test: fix test

* fix: typo

* fix: correct patching for svg upload error

* fix: correct patching for svg upload error

* test: update test
2022-07-14 11:25:57 +08:00
二货机器人
e9ab30dde1
chore: bump rc-tooltip (#36501) 2022-07-13 17:14:24 +08:00
Wuxh
c86d02e03f
docs: simplified Layout component sample code (#36497)
the component example code expands to take up the entire monitor screen and is not well read
2022-07-13 16:57:18 +08:00
afc163
008681c1bf
style: Table expandIcon style when column is fixed and ellipsis (#36496)
close #36485
2022-07-13 14:40:43 +08:00
xrkffgg
c32aa462c0
ci: split notice (#36495) 2022-07-13 12:00:10 +08:00
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio (#36483)
* fix: tooltip cannot close on disabled Radio

* test: add test
2022-07-12 19:31:45 +08:00
xrkffgg
563de19aeb
ci: add conch msg (#36481)
* ci: add conch msg

* Update release-helper.yml
2022-07-12 18:01:14 +08:00
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form (#36484) 2022-07-12 18:01:05 +08:00
二货机器人
41464e7068
chore: bump mentions (#36479) 2022-07-12 16:49:44 +08:00
afc163
6497d0dfef
docs: moment version mismatched issue (#36473)
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2022-07-12 13:10:20 +08:00
bobo
7dfc80504a
docs: update index.zh-CN.md (#36471)
去掉文案描述中多的标点
2022-07-12 11:35:13 +08:00
Sg
6ada28cce2
docs: fix typo (#36457)
fix typo in useWatch.md
2022-07-11 14:40:35 +08:00
Dawnlck
1643acf0d0
feat: Add support to Skeleton, which allow deployer use custom node as prop. (#36441)
* feat: Skeleton component supports for custom node

* fix: Clear redundant code

* refactor: Remove changes in package.json

* test: Update the snapshot of Skeleton demo

* Update components/skeleton/demo/element.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-07-11 12:04:18 +08:00
二货机器人
20b3f20f5f
docs: 4.21.6 changelog (#36455) 2022-07-11 10:57:06 +08:00
afc163
91ff1dcce2
style: fix Skeleton active lost border-radius in Safari (#36445)
* style: fix Skeleton active lost border-radius in Safari

* perf: reduce skeleton css bundle size

* chore: fix bundle size limit

* chore: fix active typing
2022-07-10 12:05:35 +08:00
Leon Kattendick
46be23a5db
fix: breadcrumb seperators hidden when used in list (#36448) 2022-07-10 12:05:16 +08:00
王小王
4614d15dc4
docs: fix typo (#36450)
面包屑部分, "是"应该改为"时"
2022-07-10 08:54:52 +08:00
afc163
cebbe23393
fix: Upload item removed should keep status className (#36439)
* fix: Upload item removed should keep status className

* add test case

* test: fix act warning

* revert act test

* test: update snapshot
2022-07-08 22:41:58 +08:00
Alan Deng
1d0ae5712d
docs(Typography): fix editable.onChange parameter (#36443) 2022-07-08 22:10:24 +08:00
NinJa
4e03961b91
feat: Update Doc (#36437)
Co-authored-by: meng.jia <meng.jia@ly.com>
2022-07-08 19:12:03 +08:00
simplejason
1a8edd992c
fix: fix wrong color of date picker with status set (#35685)
* fix: fix wrong color of date picker with status set

* Update status.less

Co-authored-by: afc163 <afc163@gmail.com>
2022-07-08 11:59:32 +08:00
舜岳
47f68d0e5c
fix: fix table container z-index (#36420) 2022-07-08 10:31:53 +08:00
Alan Deng
3fc4ff2dc6
docs(Typography): translate docs from English to Chinese (#36417) 2022-07-07 18:38:23 +08:00
hsk-kr
e262ae8133
docs: fix customize calendar example (#36356)
* docs: fix customize calendar example

* test: changed calendar snapshot

Co-authored-by: lico <lico@licoui-MacBookPro.local>
2022-07-06 23:29:57 +08:00
Kirill Barsukov
2e04982882
Update index.en-US.md (#36400)
Fixed a typo
2022-07-06 23:28:27 +08:00
Chang Wei
345cbcef0d
style: fix size of close icon on Modal header (#36309)
* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-06 10:36:04 +08:00
Yunwoo Ji
e503f9d5ae
fix: correct border radius when table has title (#36384) 2022-07-05 17:27:49 +08:00
二货机器人
cff413eb6c
fix: Table hover perf (#36383) 2022-07-05 16:56:29 +08:00
MadCcc
ab19033876
docs: replace lib with es (#36367) 2022-07-04 22:09:54 +08:00