Zheeeng
fd5d463213
chore: write React.ChangeEvent<E> once ( #36644 )
2 years ago
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
2 years ago
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>
2 years ago
Tianyuan Zhang
1180b61131
docs: tabpane add `disabled` ( #36634 )
close #36610
2 years ago
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
2 years ago
黑雨
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
2 years ago
dashaowang
cff762cf3d
style: fix Table extra shadow and scrollbar when all columns are fixed
Co-authored-by: weiwang <wren@xuncetech.com>
2 years ago
afc163
2146d18045
style: fix Table tree data ellipsis style problem ( #36608 )
close #36583
2 years ago
二货机器人
31eef3a956
docs: menu faq ( #36604 )
* docs: menu faq
* docs: patch codesandbox
2 years ago
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2 years ago
Neil
9989a2d751
add Modal @modal-border-radius less variable ( #36527 )
* add Modal @modal-border-radius less variable
* fix: add less variable
2 years ago
zombiej
ed5f4c3626
test: update snapshot
2 years ago
二货机器人
006c055cf8
refactor: move popconfirm content out ( #36530 )
* refactor: move popconfirm content out
* fix: lint
2 years ago
afc163
2255dbada6
docs: update select documentation
2 years ago
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon ( #36511 )
fix #33708
2 years ago
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
2 years ago
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
2 years ago
afc163
008681c1bf
style: Table expandIcon style when column is fixed and ellipsis ( #36496 )
close #36485
2 years ago
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio ( #36483 )
* fix: tooltip cannot close on disabled Radio
* test: add test
2 years ago
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2 years ago
二货机器人
41464e7068
chore: bump mentions ( #36479 )
2 years ago
afc163
6497d0dfef
docs: moment version mismatched issue ( #36473 )
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2 years ago
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
去掉文案描述中多的标点
2 years ago
Sg
6ada28cce2
docs: fix typo ( #36457 )
fix typo in useWatch.md
2 years ago
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>
2 years ago
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
2 years ago
Leon Kattendick
46be23a5db
fix: breadcrumb seperators hidden when used in list ( #36448 )
2 years ago
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
2 years ago
Alan Deng
1d0ae5712d
docs(Typography): fix `editable.onChange` parameter ( #36443 )
2 years ago
NinJa
4e03961b91
feat: Update Doc ( #36437 )
Co-authored-by: meng.jia <meng.jia@ly.com>
2 years ago
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>
2 years ago
舜岳
47f68d0e5c
fix: fix table container z-index ( #36420 )
2 years ago
Alan Deng
3fc4ff2dc6
docs(Typography): translate docs from English to Chinese ( #36417 )
2 years ago
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>
2 years ago
Kirill Barsukov
2e04982882
Update index.en-US.md ( #36400 )
Fixed a typo
2 years ago
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>
2 years ago
Yunwoo Ji
e503f9d5ae
fix: correct border radius when table has title ( #36384 )
2 years ago
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2 years ago
二货机器人
9bc30d1ed1
fix: ErrorList shaking ( #36358 )
* fix: ErrorList shaking
* fix: React 18 test case
2 years ago
afc163
b69f2895d9
style: Radio focus shadow should be transparency ( #36335 )
2 years ago
dingkang
40728fb4dc
test: replace layout test case with test lib ( #36323 )
* test: replace layout test case with test lib
* test: fix react 18
* test: clean up
Co-authored-by: zombiej <smith3816@gmail.com>
2 years ago
yykoypj
1d82f221b6
test: move test cases to @testing/library for Carousel ( #35926 )
* test: move test cases to @testing/library for Carousel
* fix: wait for animation
2 years ago
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form ( #36345 )
* fix: checkbox should be disabled by form
* chore: code clean
* test: update snapshot
* chore: snapshot
2 years ago
MadCcc
8ab7851870
test: update snapshot ( #36344 )
* test: update snapshot
* test: update snapshot
2 years ago
Yuki Zhang
efe6d7c8a1
test: move test cases to testing lib for Switch ( #36326 )
* add
* test: wave
* fix: type
2 years ago
Yuki Zhang
201a66793f
test: move test cases to testing lib for Spin ( #36317 )
* test: move test cases to testing lib for Spin
* fix: types
* fix: lint
2 years ago
Jamki
5f933ebd2b
fix: Fixed an error when the loading property of the Button component… ( #36288 )
* fix: Fixed an error when the loading property of the Button component was passed into null
* Update components/button/button.tsx
Obviously, this suggestion is more concise , thanks a lot
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/button/button.tsx
* Update components/button/button.tsx
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
42e030edd9
fix: arrow compatibility ( #36266 )
* fix: arrow campatibility
* chore: code clean
* chore: rm useless style
* chore: code clean
* fix: use inset
* chore: bundlesize optimization
* chore: rm useless style
* chore: rm useless style
2 years ago
afc163
33400eee8f
chore: reduce css bundle size ( #36307 )
2 years ago
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2 years ago