JarvisArt
4522340700
docs: fix the steps docs layout ( #38277 )
...
* docs: update dropdown wrong word
* docs: update breadcrumb wrong word
2022-10-30 17:17:47 +08:00
github-actions[bot]
55eeae5f0f
chore: auto merge branches ( #38255 )
...
chore: sync master into feature
2022-10-30 08:45:28 +00:00
afc163
59b97b98bf
Merge branch 'master' into master-merge-feature
2022-10-30 16:15:08 +08:00
afc163
9893efeb51
test: fix form test case ( #38276 )
2022-10-30 15:20:39 +08:00
afc163
8b38815283
Merge branch 'master' into master-merge-feature
2022-10-30 14:36:53 +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
Yuki Zhang
b7557751fe
chore: remove useless code for Space.Compact ( #38243 )
2022-10-28 15:06:19 +08:00
afc163
444a8e3c75
style: enlarge Carousel dots hover area ( #38257 )
2022-10-28 11:17:01 +08:00
MadCcc
5a218d0c4d
Merge branch 'master' into feature-merge-master
2022-10-27 21:57:59 +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
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2022-10-23 00:33:45 +08:00
二货机器人
94b688ff8c
chore: feature merge master
2022-10-22 22:53:41 +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
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button ( #38090 )
...
* feat: use Space.Compact for Dropdown.Button
* test: update button demo tests
* test: update config-provider demo tests
* fix: deps-lint-skip for dropdown
* fix: lint issue
2022-10-19 23:36:41 +08:00
github-actions[bot]
f71ee5384f
chore: auto merge branches ( #38111 )
...
chore: sync master to feature
2022-10-19 09:28:49 +00: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
github-actions[bot]
f8629ac588
chore: auto merge branches ( #38093 )
...
chore: sync master into feature
2022-10-18 14:32:45 +00: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
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
ee6657409b
test: update test case
2022-10-18 14:15:41 +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
MadCcc
90937a75cf
chore: code clean
2022-10-18 10:46:35 +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
MadCcc
b4fed31884
chore: udpate snapshot
2022-10-17 21:07:47 +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
MadCcc
442176627f
Merge branch 'master' into feature-merge-master
2022-10-17 17:55:50 +08:00
Zheeeng
d96ec8aa06
feat: add text config for editable ( #37761 )
2022-10-17 17:00:33 +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
kiner-tang(文辉)
2559b2fb1b
feat(grid): row's 'align' and 'justify' support reponsive value ( #37860 )
...
* feat: row's 'align' and 'justify' support reponsive value
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* docs: 更新文档
* docs: 更新文档
* docs: 更新文档
* docs: 更新文档
* feat: remove other
* Update components/grid/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update support version
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-12 23:52:29 +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
二货机器人
20404ae03c
test: Update snapshot
2022-10-11 15:44:49 +08:00
二货机器人
c376464329
fix: Upload disabled logic
2022-10-11 15:31:16 +08:00
Zheeeng
5325e19ba9
fix: remove unnecessary type assertion ( #37930 )
...
* fix: remove uncessary type assertion
* fix: remove as const
2022-10-11 15:20:37 +08:00
Zheeeng
8fc5af0d87
fix: the computed fontSize style may be empty string ( #37928 )
2022-10-11 15:20:06 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
vagusX
760cb38dbf
fix: tsc error ( #37932 )
...
* fix: tsc issue
* fix: typo
2022-10-11 14:03:17 +08:00
hms181231
1928f10b69
test: Update table test sleep -> useFakeTimers ( #37914 )
...
* feat:update table test sleep -> useFakeTimers
* test: tabel test case waitFakeTimer(500) -> waitFakeTimer()
2022-10-10 15:04:19 +08:00
lijianan
e084de38e8
refactor: CC => FC ( #37886 )
...
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* test: fix test
* fix: fix
* fix: fix
* fix: fix
* test: add test
* fix: fix test
2022-10-10 14:15:08 +08:00
binyellow
77a75c37cd
docs: add image.preview.forceRender props ( #37808 )
...
* docs: add image.preview.forceRender props
* feat: add test case
* feat: edit test case
* feat: edit test case
* feat: edit test case
2022-10-10 12:08:42 +08:00
二货爱吃白萝卜
91586f5dcd
docs: FAQ about dropdownRender ( #37906 )
2022-10-09 17:47:43 +08:00
afc163
f7d9398d0b
style: Input.Password support style={{ fontSize }} ( #37898 )
...
close #37766
2022-10-09 11:04:55 +08:00
KangXinzhi
e5c1e84a7e
docs: sync english docs ( #37892 )
2022-10-08 17:20:46 +08:00
renovate[bot]
1a0823a908
chore(deps): update dependency eslint-plugin-react to v7.31.8 ( #37887 )
...
* chore(deps): update dependency eslint-plugin-react to v7.31.8
* Update custom.md
* Apply suggestions from code review
* test: update snapshot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-08 17:04:47 +08:00
lijianan
1bea99562f
test: rename cascader test case name ( #37891 )
2022-10-08 16:51:26 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState ( #37875 )
2022-10-07 11:39:16 +08:00