Commit Graph

17480 Commits

Author SHA1 Message Date
lijianan
6f68cf30ac
demo: demo code optimization (#47680) 2024-03-02 10:47:22 +08:00
afc163
7abae5e973
demo: a better Form usage inside Modal (#47574)
* demo: a better Form usage inside Modal

* chore: drop ref usage

* fix: useForm

* show values after submit

* chore: update snapshot

* chore: remove form preserve
2024-03-02 01:11:00 +08:00
米家-iOS-张文锋
08224052c8
demo: fix AutoComplete options demo (#47651)
* 修复 auto component 输入demo运行错误的问题

* Update options.tsx

Remove unused key.

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

* Update options.tsx

Remove the unused param:index

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

---------

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>
Co-authored-by: zhangwenfeng <santcool@126.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-02 01:02:55 +08:00
kiner-tang
6928fbc06d
feat: Modal support aria-* in closable (#47650)
* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* chore: bump rc-image

* feat: update snap

* feat: update snap
2024-03-01 10:58:50 +08:00
Amumu
2156ed4c07
fix: virtual list prefixCls not working (#47639)
* fix: virtual list prefixCls not working

* update test case
2024-02-29 09:45:27 +08:00
kiner-tang
183746ac3f
feat: Remove unless necessary warning in alert (#47633) 2024-02-28 17:15:20 +08:00
lijianan
9c1e63dc8d
test: rm useless async (#47628) 2024-02-28 15:28:25 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-28 14:11:15 +08:00
栗嘉男
a466d3fc8d chore: merge master into feature 2024-02-28 13:29:43 +08:00
lijianan
5276de61f7
type: optimization CP props type (#47621) 2024-02-28 11:53:01 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic (#47612) 2024-02-27 19:11:46 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis (#47597)
* chore: init

* chore: ellpsis check with native css

* docs: all the lines

* chore: move copied btn out

* chore: add dpes

* fix: logic order

* fix: ellipsis event

* test: update testcase

* chore: use native way

* chore: destructure

* chore: fix lint

* chore: fix lint

* chore: fix lint
2024-02-27 16:56:24 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
Yawen Xiao
c06dc8e960
type: styles should be optional for cardProps (#47601)
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
2024-02-27 00:08:38 +08:00
Rickvian Aldi
8eff174cc5
docs: Fix non-working code example in breadcrumb browserHistory (#47581)
* docs: Fix non-working code example in breadcrumb browserHistory

* Update components/breadcrumb/index.en-US.md

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

* Update components/breadcrumb/index.zh-CN.md

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

---------

Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>
Co-authored-by: Rickvian Aldi <rickvian.aldi@ninjavan.co>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-02-26 10:20:42 +08:00
lijianan
b28b0d883f
feat: CP support Menu expandIcon (#47561)
* feat: CP support Menu expandIcon

* fix: test case fix

* fix: test case fix

* fix: fix

* fix: fix

* chore: rename

* type: add type

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-26 09:55:08 +08:00
Maxim Kolesnikov
19888a0962
docs: fix auto complete docs not found content type (#47577)
* Update index.en-US.md

Corrected type for notFoundContent in the documentation in auto-complete index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update components/auto-complete/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-02-24 23:45:20 +08:00
栗嘉男
cb789d9d14 chore: merge master into feature 2024-02-24 15:51:51 +08:00
lijianan
9836a74086
chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
SuperYY
1b696510e5
bug fix : expand all leaf nodes in root level (#47567)
* fix table's scrollbar background color in dark mode

* docs : fix "fille" with "filled"

* expand all leaf nodes in root level

* Add type annotation

* code style format

* [CodeFactor] Apply fixes to commit 116efaf

[ci skip] [skip ci]

* simplify the code and add the corresponding testing module

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2024-02-24 12:42:21 +08:00
github-actions[bot]
2913547258
chore: auto merge branches (#47562)
chore: merge master into feature
2024-02-24 03:02:05 +00:00
二货爱吃白萝卜
08d432fa41
fix: RangePicker time column sometime not scroll (#47542)
* fix: style fixing of time scroll

* chore: bump rc-picker
2024-02-23 11:32:04 +08:00
lijianan
dccdb377b0
demo: demo update (#47551)
* demo: update demo code

* fix: fix
2024-02-23 11:01:56 +08:00
zhw
b3e6650088
fix: datePicker document (#47537) 2024-02-22 14:03:29 +08:00
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones (#47519)
* fix:废弃 api 替换成新 api

* Update demo-extend.test.ts.snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
Amumu
6c824b7dbf
Merge pull request #47521 from ant-design/master
chore: merge master into feature
2024-02-21 15:54:37 +08:00
MadCcc
6033c69e60
fix: modal mask should block pointer events when opened (#47508)
* fix: modal mask should block pointer events when opened

* chore: code clean
2024-02-21 09:58:46 +08:00
lijianan
2bb7e9edda
fix: rm Tag useless style (#47504) 2024-02-21 09:58:07 +08:00
afc163
fc1fb17ee7
fix: add destroyTooltipOnHide to Avatar.Group (#47478) 2024-02-20 18:07:07 +08:00
lijianan
e939962c55
demo: update Progress demo (#47494) 2024-02-20 15:02:22 +08:00
lijianan
cf51b5f34d
feat: CP support collapse expandIcon (#47473)
* feat: CP support Avatar icon

* fix: fix

* fix: fix

* test: fix test case

* fix: fix

* fix: fix type

* Update avatar.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update avatar.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-20 14:02:43 +08:00
lijianan
d9cee1ceac
fix: rm Progress useless style (#47493) 2024-02-20 13:30:07 +08:00
SuperYY
ac9cd5c8de
fix table's scrollbar background color in dark mode (#47487) 2024-02-20 11:10:22 +08:00
MadCcc
b96f4c8003
feat: css var prefix follow prefixCls by default (#47481)
* feat: css var prefix follow prefixCls by default

* docs: update
2024-02-20 09:47:21 +08:00
lijianan
944d8345d7
docs: remove extra whitespace (#47479) 2024-02-19 14:43:43 +08:00
lijianan
49d3201d90
Merge pull request #47477 from ant-design/master
chore: merge master into feature
2024-02-19 14:21:31 +08:00
lijianan
d9bb666a56
docs: update FAQ about findDOMNode warning (#47475)
* docs: update findDOMNode docs

* Revert "docs: update findDOMNode docs"

This reverts commit 367267086d.

* docs: update FAQ about findDOMNode warning

* fix: fix
2024-02-19 13:42:05 +08:00
kiner-tang
23cb9c5fd6
feat: Alert support aria-* in closable (#47474)
* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable
2024-02-19 13:40:19 +08:00
lijianan
ed25a45c0d
Revert "feat: Alert support aria-* in closable (#47446)" (#47471)
This reverts commit 9d3211757c.
2024-02-19 10:25:15 +08:00
lijianan
ee27f0e285
docs: update filterOnClose api docs (#47472) 2024-02-19 10:03:38 +08:00
kiner-tang
9d3211757c
feat: Alert support aria-* in closable (#47446)
* feat: support aria-* in closeable

* feat: support aria-* in closeable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-18 18:08:02 +08:00
Aelita
20cd731ba9
feat(table): add filterOnClose prop for Column (#47451)
* feat(table): add `filterOnClose` prop for `Column`

* docs(table): add `filterOnClose` into `Column`'s API
2024-02-18 12:43:11 +08:00
winches
0c18d37a7e
docs(breadcrumb): repair breadcrumbItem props (#47464) 2024-02-18 12:32:05 +08:00
希亚的西红柿
d4c811cf8c
fix: the color of Content should change in darkmode (#47441) 2024-02-18 10:24:09 +08:00
Rajasekhar Gandavarapu
5272a2e859
fix: For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect (#47463)
* fix: for For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect

* use common tokens
2024-02-18 09:58:39 +08:00
lijianan
be67895a93
chore: code optimization (#47454) 2024-02-17 19:56:41 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +08:00
lijianan
7587f12fe8
Merge pull request #47453 from ant-design/master
chore: merge master into feature
2024-02-16 11:37:35 +08:00
Carla Paiva
8c9eea3bb2
demo: typo of onChange func parameter on cascader basic example (#47427) 2024-02-12 13:34:09 +08:00