Commit Graph

14513 Commits

Author SHA1 Message Date
Bojack
892ef7e925
fix: The text should read "No data" (#38127) 2022-10-30 21:33:23 +08:00
afc163
9893efeb51
test: fix form test case (#38276) 2022-10-30 15:20:39 +08:00
Rex Zeng
b0fe69c18f
refactor(Anchor): rewrite CC => FC (#38265)
* fix: fix

* fix: fix

* fix: del forwardRef

* fix: add depList

* test(anchor): rewrite test to match the latest fc implementation

* fix: eslint error fix

* style: type optimization

* style: type optimization

* Update components/anchor/Anchor.tsx

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

* Update Anchor.tsx

* Update components/anchor/Anchor.tsx

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

* fix: rename

* fix: fix

* fix: fix

* Update components/anchor/style/index.less

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

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-30 14:35:45 +08:00
afc163
c73b9a738a
Update index.less (#38273) 2022-10-29 16:45:49 +08:00
afc163
444a8e3c75
style: enlarge Carousel dots hover area (#38257) 2022-10-28 11:17:01 +08:00
ZH-seven
d4a5c76d04
fix: Tabs get getPopupContainer from ConfigProvider(#25844) (#38238)
Co-authored-by: seven <zhu.hui93@iwhalecloud.com>
2022-10-27 11:23:39 +08:00
lijianan
0f63c5d6bc
fix: eslint error (#38233) 2022-10-26 23:50:13 +08:00
二货机器人
f311793e71 docs: Fix mistake of select listItemHeight. close #38228 2022-10-26 22:04:26 +08:00
MESSAOUDI Oussama
1da8ef619f
fix: Tabs active style in compact mode (#38223) 2022-10-26 16:07:05 +08:00
MadCcc
51b69283a4
test: update test case (#38217)
* test: update test case

* chore: udpate snapshot
2022-10-26 14:47:33 +08:00
行冥
3390290c26
chore: remove redundant state (#38208)
Co-authored-by: xingming <xingjiang.gxj@antgroup.com>
2022-10-25 23:24:18 +08:00
kiner-tang(文辉)
ca97b05661
fix: Remove redundant warnings (#38190)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-25 00:07:18 +08:00
zz
9d9447e54f
refactor(DirectoryTree): simplify code (#38184) 2022-10-23 18:33:47 +08:00
kiner-tang(文辉)
2a1f2836f4
fix: Transfer throw error whentitles is undefined (#38182)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 16:06:50 +08:00
zz
072fda0f15
refactor(Typography.Link): simplify code (#38181) 2022-10-23 16:05:31 +08:00
kiner-tang(文辉)
21c4bcf40a
fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160)
* fix: aria-lable should be use the first text content in element when title is ReactElement

* fix: aria-label should be use the first text content in element when title is ReactElement

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:28:26 +08:00
kiner-tang(文辉)
80ad128aeb
fix: add titles for transer in locale (#38168)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:23:16 +08:00
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