Commit Graph

17567 Commits

Author SHA1 Message Date
afc163
8ba9900c56
docs: fix Statistic.Countdown value type (#47907) 2024-03-16 17:48:34 +08:00
afc163
862f5da5ba
test: update snapshot (#47911) 2024-03-16 17:46:44 +08:00
afc163
a8fb31cbd5
style: Badge align style with text under Space (#47908) 2024-03-16 17:45:50 +08:00
Amumu
e088adf0da
feat: add Uzbek(latn) locale (#47899)
* feat: add Uzbek(latn) locale

* size-limit

* Update docs/react/i18n.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-16 09:30:36 +08:00
afc163
5574f31576
style: Upload actions should not wrap (#47898)
* style: Upload actions should not wrap

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-15 19:06:39 +08:00
二货爱吃白萝卜
31ff625d8f
fix: Typography symbol height exceed line should also support ellipsis (#47889)
* fix: Typography with ellipsis of symbol height

* test: update snapshot
2024-03-15 13:56:03 +08:00
二货爱吃白萝卜
7884eba28e
fix: DatePicker itemHeight calculation (#47874)
* chore: init

* chore: clean up

* chore: clean up
2024-03-15 10:54:54 +08:00
xliez
1491b0c624
docs(Select): Update docs for Select new API: labelRender (#47811)
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00
章鱼怪
c8635a7bc0
feat: improve Transfer key type (#47879)
* feat: add Transfer's key type

* docs: update prop

* fix: key type

* fix: cycle dependency
2024-03-14 21:14:21 +08:00
二货爱吃白萝卜
2323e95c41
fix: legacy onSelect of TimePicker (#47878)
* chore: update ts

* docs: update
2024-03-14 21:06:08 +08:00
Gogi H
5330fb61cd
docs: Add extra comment for locale implementation (#47882)
* docs(datePicker): add comment for extra info

* docs(datePicker): add simplified chinese translation
2024-03-14 21:04:29 +08:00
栗嘉男
232d22ad49 chore: merge master into feature 2024-03-14 15:03:34 +08:00
宋红凯
f9e9b8b8ed
docs(Button): change paddingBlock type def desc (#47856) 2024-03-14 11:42:14 +08:00
yexiaolong
bdc382bbe4
chore: code optimization (#47852)
* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

---------

Co-authored-by: 叶晓龙 <evermore.ye@quectel.com>
2024-03-13 11:38:40 +08:00
二货爱吃白萝卜
7f87f912b0
fix: picker multiple selection lines collpase (#47821)
* fix: DatePicker multiple padding

* docs: update demo

* chore: clean up
2024-03-11 16:57:09 +08:00
Rin
bb567f6831
docs: fix DOM typo (#47815) 2024-03-11 13:40:29 +08:00
Cuvii
387c36aa30
docs: fix more typo (#47807) 2024-03-11 13:37:38 +08:00
winches
3818c10912
fix(anchor): active anchor error (#47795) 2024-03-11 10:42:45 +08:00
winches
3fbb280d14
chore: ellipsis typo (#47804) 2024-03-11 10:33:05 +08:00
二货爱吃白萝卜
54c5721f48
chore: bump trigger to move click to mouseDown (#47775)
* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: fix logic

* fix: context tour config

* test: coverage
2024-03-08 21:31:27 +08:00
lijianan
5f1ac6c095
Merge pull request #47771 from ant-design/master
chore: merge master into feature
2024-03-08 11:38:43 +08:00
lijianan
630f4d9cfb
demo: Tag demo update (#47751)
* demo: Tag demo update

* fix: fix

* fix: fix
2024-03-08 10:51:31 +08:00
afc163
7d9bc97c9b
style: add ColorPicker clear icon hover style (#47761) 2024-03-08 10:19:23 +08:00
ChuYang
ade622e8f4
demo: a wrong word (#47746)
* fix: a wrong word

* fix: update snapshot
2024-03-08 07:17:46 +08:00
xiejiahe
998eaf1849
test: remove null check (#47759)
`querySelectorAll` always returns an array without the need for null check.

Signed-off-by: xiejiahe <xjh22222228@gmail.com>
2024-03-08 07:12:03 +08:00
Alexey Teterin
3843ac5cb2
fix: fix ru_RU locale for DatePicker (#47768)
Co-authored-by: Alexey Teterin <ateterin@naumen.ru>
2024-03-08 06:53:16 +08:00
yingjiechen
c2938c14f2
docs: change the default value 'closeable' (#47730)
Change the default value of the attribute 'closeable' from true to false

Signed-off-by: yingjiechen <53926916+jj19100@users.noreply.github.com>
2024-03-07 12:39:40 +08:00
afc163
3d7a3813ed
fix: Descriptions extra padding (#47737) 2024-03-07 10:08:06 +08:00
MadCcc
0652c32830
fix: sibling Tags should have margin (#47736)
* fix: sibling Tag should have margin

* chore: update snapshot

* chore: revert

* chore: link issue

* docs: update demo

* Revert "demo: update Grid、Table、Select demo (#47709)"

This reverts commit c01c1b505b.

* chore: update snapshot

* chore: update demo
2024-03-06 21:51:17 +08:00
叶枫
a975d48c3a
Cascader support option render (#47727)
* feat: done

* feat: doc
2024-03-06 20:04:13 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable (#47710)
* feat: Notification support aria-* in closable

* feat: optimize code
2024-03-06 11:53:05 +08:00
Olivier Louvignes
44b55c6435
demo: improve types for form basic demo (#47722) 2024-03-06 09:44:26 +08:00
lijianan
c01c1b505b
demo: update Grid、Table、Select demo (#47709)
* demo: update demo

* fix: fix test

* feat: table snap

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-05 17:23:47 +08:00
afc163
015c459975
chore: improve ru_RU locale for DatePicker (#47705)
* Update ru_RU.ts

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>

* Update components/date-picker/locale/ru_RU.ts

Signed-off-by: afc163 <afc163@gmail.com>

* chore: update snapshot

---------

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: anykobz <66529344+anykobz@users.noreply.github.com>
2024-03-05 11:58:03 +08:00
pfdgithub
536f296d11
fix: consistent with the tag component, the processing state uses colorInfo token. (#47695)
Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>
2024-03-05 10:15:13 +08:00
lijianan
a4077b6739
demo: update Select label type in demo and docs (#47694) 2024-03-04 13:55:24 +08:00
lqzhgood
9970fd3754
📃 docs(Select): add optGroups props (#47687)
https://github.com/react-component/select/pull/1020/
2024-03-03 14:42:04 +08:00
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 367267086d18571af7c0e3ee55b1884b4d69b89a.

* 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
daisy
7b86dd60b5
docs: Table colSpan render -> onCell (#47392)
* docs: Table colSpan render -> onCell

* Update components/table/demo/colspan-rowspan.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-09 14:47:39 +08:00
afc163
a49d2d5ea3
fix: Steps inline broken style (#47406) 2024-02-08 13:11:09 +08:00
二货爱吃白萝卜
52fdbb47d9
fix: datePicker arrow out of bound (#47389)
* fix: datePicker arrow out of bound

* chore: use logic prop
2024-02-07 20:29:24 +08:00
afc163
3d1c81db92
fix: Dropdown should not display when items is empty array (#47375)
* fix: Dropdown should not display when items is empty array

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-02-07 20:22:31 +08:00
afc163
39e7bc5d2f
Merge pull request #47383 from ant-design/master
chore: merge master into feature
2024-02-07 13:30:01 +08:00
lijianan
55aae1ed26
chore: bump rc-table from 7.39.0 to 7.40.0 (#47382)
* chore: bump rc-table from 7.39.0 to 7.40.0

* test: update snap
2024-02-07 11:44:04 +08:00
lijianan
9bf2b2c0d6
docs: update Tabs api description (#47356)
* docs: update Tabs description

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-02-07 11:23:57 +08:00
MadCcc
a4c4c4738d
fix: borderless tag should use defaultBg (#47372) 2024-02-07 10:20:07 +08:00
MadCcc
2f6218a0f3
fix: inherit should not affect hashed and cssVar (#47360)
* fix: inherit should not affect hashed and cssVar

* chore: update

* chore: add test case
2024-02-06 17:38:03 +08:00
Eugene
87882e1db6
fix(style): Virtual table style lead on none virtual table used as a nested table (#47333)
* fix(style): Virtual table style lead on none virtual table render used as a nested table.

* fix(test): Update test for virtual table with fix nested table inside.

---------

Co-authored-by: ykryshtal <ykryshtal@magnite.com>
Co-authored-by: Eugene <Jeka1.1@mail.ru>
2024-02-06 11:30:17 +08:00
二货爱吃白萝卜
929742d8a0
docs: back of missing demo (#47348) 2024-02-05 15:30:01 +08:00
二货爱吃白萝卜
364bb0c40b
docs: 7 is not 7 (#47342) 2024-02-05 14:10:46 +08:00
jaehoonkim-dev
a8d951f04a
chore: type in PickerPropsWithMultiple type: rename 'dates' to 'dateString' in onChange parameter. (#47343)
Co-authored-by: 김재훈 <kimjaehoon@olenjikollaui-MacBookPro.local>
2024-02-05 13:25:50 +08:00