Commit Graph

14496 Commits

Author SHA1 Message Date
Marcia Sun
ba3ab898d2
fix: incorrect transform-origin of tooltips (#38159)
For tooltips with a placement value like 'topRight' or 'bottomLeft', the previous code would calculate an incorrect transform-origin, which is fixed here.
2022-10-22 19:11:31 +08:00
lijianan
a302d128e2
refactor: delete defaultprops (#38164)
* refactor: delete defaultprops

* fix: fix eslint

* fix: fix eslint

* fix: fix eslint
2022-10-22 18:43:36 +08:00
lijianan
8054769307
refactor: delete defaultprops (#38154)
* refactor: delete defaultprops

* test: add test

* fix: fix
2022-10-22 15:00:26 +08:00
hms181231
2e389d73ab
test: Update back-top test case (#38147) 2022-10-21 15:10:20 +08:00
hms181231
5159bb9084
test: Update Carousel test case (#38146) 2022-10-21 15:09:48 +08:00
hms181231
dae4b67320
test: Update Collapse test case (#38145) 2022-10-21 15:09:21 +08:00
hms181231
30d2a24898
test: Update Dropdown test case (#38144) 2022-10-21 15:07:44 +08:00
hms181231
be1a51e5fc
test: Update form test case (#38143) 2022-10-21 15:06:11 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf (#38139)
* chore: use includes instead indexOf

* fix: fix
2022-10-21 11:45:55 +08:00
lijianan
769cb3c79a
style: remove repeate method (#38133)
* style: remove repeate method

* fix: del break
2022-10-20 16:37:35 +08:00
chrismorison-wt
7503caeb18
docs: fix docs for Alert closeIcon prop. Fixes #38123 (#38124) 2022-10-20 09:52:58 +08:00
二货爱吃白萝卜
d30618ca5d
test: Update Form related test case with fake timer (#38109)
* test: Part test case

* test: Part test case

* test: More and More

* test: More and More

* test: all of index
2022-10-19 16:34:24 +08:00
Ernest Folch
09ab844a3a
feat: add missing it_IT translations (#38108)
Co-authored-by: Ernest Folch <efolch@ctaima.com>
2022-10-19 16:33:11 +08:00
afc163
379e99d42e
chore: update Carousel demo image (#38102) 2022-10-19 14:27:30 +08:00
黑雨
d9bb472487
Merge pull request #38101 from ant-design/fix/input-textarea-border
style: fix TextArea custom border style not working when allowClear is enable
2022-10-19 14:03:31 +08:00
黑雨
c6ddb0a692
Merge pull request #38100 from ant-design/style/Carousel-reset
style: fix Carousel dots reset style
2022-10-19 14:02:48 +08:00
afc163
06b0bf014f test: update snapshot 2022-10-19 12:07:40 +08:00
afc163
58fdfc0f62 style: fix TextArea custom border style not working
when allowClear is enable

close #38068
2022-10-19 12:05:24 +08:00
Zheeeng
e91d25622b
chore: signatures for tests (#37949)
* fix: signatures for tests

* fix: remove unused

* fix: test cases

* fix: test cases
2022-10-19 11:50:18 +08:00
afc163
b5299ef6e2
style: fix Carousel dots reset style 2022-10-19 11:47:45 +08:00
Simon
51662df37d
fix(mentions): align type MentionsRef with rc-mentions (#38028) 2022-10-19 00:22:39 +08:00
Zheeeng
66e932fd8f
fix(Tree): typo (#38079)
* fix: typo for tree component

* fix: restore typo less var for compatibility
2022-10-18 20:02:09 +08:00
Zheeeng
29a15e2a5d
refactor: refines types and fix to use prop direction over context direction (#37716)
* refactor: use enum instead of multiple constants and refines types

* fix: siganture and direction prop passing

* Update Editable.tsx

* refine types

* test: update snap

* style: prefer literal constants over enum

* fix: refine types for typography

* fix: restore ellipsis const

* fix: restore ellipsis const

* fix: restore textare importing
2022-10-18 11:45:43 +08:00
Ju/Smwhr
3ba31acf2e
add missing french translation + improve it (#38072) 2022-10-18 00:45:00 +08:00
二货爱吃白萝卜
67d86a2e50
test: try to fix test timer break (#38071)
* test: try to fix test timer break

* test: update more

* test: compare more

* test: compare more
2022-10-17 23:14:44 +08:00
lijianan
b3a37b7ca9
refactor: Anchor.Link with FC (#37957)
* fix: fix

* fix: fix

* fix: revert

* fix: fix

* test: fix test case

* test: fix

* test: fix

* fix: fix

* fix: fix
2022-10-17 21:36:56 +08:00
Wesley
e3abd1e77f
docs: Table Documentation interface description error (#38065)
Co-authored-by: YONGWEI PENG <yongweipeng@YONGWEIdeMacBook-Pro.local>
2022-10-17 18:06:38 +08:00
lijianan
a2de8f7b2e
chore: add isValidElement for isFragment (#38056) 2022-10-17 16:23:45 +08:00
Alan Deng
e246f00899
docs(Table): fix log value of selected row keys (#38051) 2022-10-17 13:32:00 +08:00
liuycy
5442fc2412
fix: table header shadow issue (#28096) (#38023) 2022-10-17 09:47:16 +08:00
lijianan
9cec008e1a
refactor: CC => FC (#37969)
* refactor: CC => FC

* refactor: CC => FC

* refactor: CC => FC

* test: add test

* test: remove test

* test: add test

* fix: fix

* fix: fix

* test: del

* fix: fix debounce
2022-10-14 22:07:02 +08:00
lijianan
2ef701be75
test: add test coverage (#37993)
* test: add test coverage

* fix: fix

* test: del test

* fix: fix

* fix: fix

* chore: update test

* chore: code clean

* chore: code clean

* test: update test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-10-14 15:53:29 +08:00
lijianan
82de4942d5
test: add case for coverage (#38018) 2022-10-14 14:03:01 +08:00
lijianan
71cfa31728
test: add test case (#38015) 2022-10-14 12:05:58 +08:00
lijianan
19eabb0819
fix: should support number 0 (#38006)
* fix: should support number `0`

* fix: should support number `0`

* test: add snap

* test: add snap

* test: add snap

* test: add snap
2022-10-14 11:37:48 +08:00
afc163
d667d1948f
chore: fix lint (#38005) 2022-10-13 18:22:00 +08:00
afc163
416c61f08e fix: Table ellipsis title missing
close #37977
2022-10-13 17:44:19 +08:00
linxianxi
23285382f1
fix(Input): should not have value prop on input after click toggle icon (#37900)
* fix(Input): should not have value prop on input when click toggle icon

* fix: 修改参数名

* fix: 修改传参
2022-10-13 15:07:43 +08:00
Yuki Zhang
4774497258
fix: Input.Search style in RTL (#37980) 2022-10-12 23:51:31 +08:00
hms181231
3f8962ec3e
test: Update Message test case sleep -> useFakeTimers (#37983) 2022-10-12 22:47:21 +08:00
hms181231
7709970d81
test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead (#37984)
* test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead

* test: Update util test case sleep to useFakeTimers
2022-10-12 22:46:16 +08:00
hms181231
56fe1ceeaa
test: Update Notification test case sleep -> useFakeTimers (#37985)
* test: Update Notification test case sleep -> useFakeTimers

* test: Update Notification test case sleep -> useFakeTimers
2022-10-12 22:44:28 +08:00
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement (#37971) 2022-10-12 19:28:47 +08:00
黑雨
7387b2c443
feat: fix dropdownClassName (#37974) 2022-10-12 18:02:04 +08:00
lijianan
768ab54426
fix: delete defaultprops (#37966) 2022-10-12 11:39:06 +08:00
Zack Chang
e13dd21a9a
fix: correct a wrong title in demo of Datepicker (#37964)
* Update placement.md

* Update placement.md
2022-10-12 10:13:52 +08:00
lijianan
a76d07e0b2
test: add coverage (#37958) 2022-10-12 09:49:49 +08:00
hms181231
f2a6c07a67
test:Update Affix test case sleep -> useFakeTimers (#37956) 2022-10-11 22:51:59 +08:00
lijianan
7b285ea4c1
refactor: CC => FC (#37938)
* fix: f

* refactor: CC => FC

* fix: add ignore

* fix: fix

* fix: fix

* fix: remove onChange

* fix: remove onFinish

* fix: remove onFinish

* fix: remove useCallback

* fix: eslint error
2022-10-11 22:35:50 +08:00
hms181231
c04bdd0928
test: Update Anchor test case sleep -> useFakeTimers (#37955) 2022-10-11 22:22:36 +08:00