Commit Graph

17738 Commits

Author SHA1 Message Date
Cooper
be1d14d4cb
docs: text optimize (#48012) 2024-03-22 11:57:58 +08:00
Cooper
ca6c932b39
feat: Popover can be closed by ESC when trigger is focus or click (#47928)
* feat:Add keydown event to handle escape

* fix

* fix:use exact same logic with popconfirm

* fix:move same logic from popconfirm to popover

* fix

* fix

* add test

* fix

* fix

* fix

* test size-limit

* fix

* fix popconfirm test

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 10:33:56 +08:00
Roxannej
d8982a6def
docs: colorpicker text optimize (#48008) 2024-03-22 08:10:56 +08:00
owenchen1004
b3728baf3c
docs: more info about valuePropName (#48003) 2024-03-21 17:47:23 +08:00
lijianan
a17b98aa69
type: export AffixRef interface (#47982) 2024-03-21 16:30:47 +08:00
二货爱吃白萝卜
bd995468aa
chore: fix GetRef for some case (#47983)
* chore: fix GetRef for some case

* test: add type test

* docs: add util doc

* fix: en

* chore: add logo
2024-03-21 15:55:40 +08:00
二货爱吃白萝卜
0b00db48bd
feat: Table support onScroll event (#47986) 2024-03-21 10:07:10 +08:00
章鱼怪
cd317fb718
fix: Radio hover style (#47972) 2024-03-20 18:17:05 +08:00
叶枫
47bd5ecccc
Typography support collapse (#47264)
* feat: typograohy support collapse

* feat: snap

* feat: test

* feat: 单测不符合预期

* feat: test

* feat: 恢复

* feat: test

* feat: test

* feat: 修改命名

* feat: 代码优化

* feat: 添加控制台提示

* feat: snap

* feat: symbol support function

* feat: snap

* fix: text

* feat: snap

* feat: api 修改

* feat: key 修改

* feat: 去掉参数

* feat: lint

* feat: snap

* feat: test

* feat: use 2

* feat: review

* feat: test

* chore: part of it

* chore: fix auto collapse logic

* feat: 修改 doc 单测

* feat: doc

* test: update testcase

* docs: add more

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-20 11:39:03 +08:00
lijianan
ec4591b64a
docs: add JSDoc to cssVar props (#47965) 2024-03-20 10:50:36 +08:00
lijianan
5fbfecd5b2
feat: CP support FloatButton.Group closeIcon (#47953) 2024-03-19 17:14:22 +08:00
David Dobryakov
ecc82589e3
docs: fix typo "fille" -> "filled" (#47950) 2024-03-18 22:52:01 +08:00
栗康
889135ea98
docs: fix react-sticky-box link (#47942) 2024-03-18 18:50:05 +08:00
Alina Andrieieva
1bd8fbc5f3
feat: support showSorterTooltip.target for Table sorters (#47409)
* Added `sorterTooltipTarget` prop for table sorters

* demo updated

* updated snapshot

* updated snapshot

* moved table tooltip target to `showSorterTooltip`

* fix

* updated docs

* empty commit

* updated version in docs

---------

Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2024-03-18 18:45:31 +08:00
二货爱吃白萝卜
de8657bf3b
fix: WaterMark blink when scale of window (#47895)
* fix: WaterMark blink when scale of window

* chore: fix mutation

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-18 15:39:06 +08:00
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
chore: sync master to feature
2024-03-18 15:36:41 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
afc163
96bade2dad
chore: update token descriptions (#47918)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 孙术 <18046567175@163.com>
2024-03-16 22:17:56 +08:00
孙术
67b890af26
chore: Modify button token annotation error (#46914)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 22:13:58 +08:00
evgmol
13ed05fa14
style: Use description color instead of disabled in Empty (#47268)
Signed-off-by: evgmol <146968816+evgmol@users.noreply.github.com>
2024-03-16 22:05:59 +08:00
renovate[bot]
bcc5d113bc
chore(deps): update dependency @types/react to v18.2.66 (#47798)
* chore(deps): update dependency @types/react to v18.2.66

* Update package.json

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

* fix: React LegacyRef

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* chore: fix lint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 21:41:25 +08:00
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 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
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
二货爱吃白萝卜
7104513a84
docs: Support semantic preview (#47332)
* docs: init

* docs: semantic block

* docs: part of demo

* docs: modal

* docs: slider

* docs: space

* docs: all sementic

* docs: clean up

* chore: fix lint

* chore: clean up

* chore: update script

* test: fix test case

* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
cfe722667a
feat: Tabs support removeIcon prop (#47334)
* feat: Tabs support removeIcon prop

* feat: Tabs support removeIcon prop

* Update components/config-provider/index.zh-CN.md

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

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-05 11:45:24 +08:00
lijianan
e197751d01
docs: update variant docs version (#47340) 2024-02-05 09:39:35 +08:00
lijianan
0c781ee18e
Merge pull request #47304 from ant-design/master-merge-feature
Master merge feature
2024-02-02 12:48:11 +08:00
未觉雨声
82b1f7705e
fix: improve inner pagination padding (#47231)
* fix: improve inner pagination padding

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

---------

Co-authored-by: vagusX <vagusxl@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-02-02 12:00:24 +08:00
期贤
03b9175c6b Merge branch 'master' into feature 2024-02-02 11:45:56 +08:00
lijianan
dc4f40380c
style: code optimization (#47300)
* chore: rm useless function

* fix: fix
2024-02-02 11:14:22 +08:00
lijianan
0e28360622
feat: CP support Transfer selectionsIcon (#47301) 2024-02-02 10:48:05 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
chore: merge master into feature
2024-02-01 23:59:16 +08:00
lijianan
e009ca9d4a
feat: CP support Tabs addIcon & moreIcon (#47274)
* feat: CP support Tabs addIcon & moreIcon

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-01 19:14:54 +08:00
lijianan
a206593d28
feat: CP support Image closeIcon (#47252)
* feat: CP support Image closeIcon

* type: update type

* type: update type

* fix: fix
2024-02-01 17:43:00 +08:00
MadCcc
53b0b2475d
fix: Input should show cursor when disabled (#47280) 2024-02-01 17:29:30 +08:00
二货爱吃白萝卜
cbf2242065
enhance: New Picker no need needConfirm when multiple (#47275)
* docs: more and more

* chore: bump rc-picker

* test: update snapshot

* chore: multiple style

* chore: fix removeIcon

* test: update snapshot

* test: update testcase

* test: update snapshot

* chore: cleanup
2024-02-01 16:26:38 +08:00
lijianan
7cc45fd6d7
docs: rm useless type (#47272) 2024-02-01 10:36:21 +08:00
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position (#47236)
* fix: remove avatar border when height less then 16

* fix: 使用 flex 完成子元素居中布局

* fix: fix avatar tests snapshot

* fix: fix avatar tests snapshot

* Update components/avatar/style/index.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* fix: changealign

* fix: update avatar snapshots

* fix:update snapshot

* fix: update snapshot

* fix: update snapshot

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
二货爱吃白萝卜
cbea5a5da9
feat: Table support stack fixed columns (#47245)
* chore: update deps

* feat: style of it

* test: update test case

* chore: adjust size limit
2024-01-31 10:25:18 +08:00
lijianan
651914c46d
feat: CP support Tag closeIcon (#47250) 2024-01-31 10:07:16 +08:00
lijianan
ebd4c15cdf
docs: update missing api (#47254) 2024-01-31 10:01:54 +08:00
lijianan
b233f27ba0
feat: CP support Notification closeIcon (#47244)
* feat: CP support Notification closeIcon

* fix: fix
2024-01-30 20:13:22 +08:00
MadCcc
b62298851b
fix: input component token should work (#47243) 2024-01-30 20:02:56 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
9473ebf380
fix: Menu submenu hover style (#47227)
* fix: Menu submenu hover style

* chore: code clean
2024-01-30 17:55:55 +08:00
二货爱吃白萝卜
fff8a9396a
docs: update maxTag demo (#47210) 2024-01-30 17:24:04 +08:00
lijianan
aa36678a29
feat: CP support Alert closeIcon (#47235) 2024-01-30 16:47:42 +08:00
zhoulixiang
6ed0254ad5
feat: Add classNames and styles prop for card (#46811)
* feat: support classNames and styles for card

* feat: add lost info

* docs: update context of card

* feat: optimize classNames and styles code of card

* test: update card test case

* feat: remove headWrapper

* test: correct test

* feat: remove redundant snapshot

* feat: update config provider for card

* feat: update classNames and styles of card

* feat: add warning for headStyle and bodyStyle of card

* test: replace bodyStyle to styles.body in demo of flex

* docs: add jsDoc about deprecated for headStyle and bodyStyle

* snap: update table counts of card from 3 to 4

* docs: update version for styles and classnames of card

---------

Signed-off-by: zhoulixiang <18366276315@163.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-01-30 15:00:25 +08:00
lijianan
a11d3b4b63
feat: CP support Modal closeIcon (#47226)
* feat: CP support Modal closeIcon

* fix: fix
2024-01-30 14:42:46 +08:00
lijianan
5031ca9032
feat: CP support Table expandIcon (#47225)
* feat: CP support Table expandIcon

* fix: fix

* type: fix type
2024-01-30 13:57:49 +08:00
MadCcc
441ba5f5d1
fix: component style without hash (#46609)
* fix: Select style without hash

* fix: common style logic

* fix: lint

* fix: menu style

* chore: update checkbox demo

* chore: fix test

* chore: rm test
2024-01-30 11:08:02 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker (#46982)
* chore: init

* chore: link picker

* chore: move files

* chore: update style

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: clesn up useless types

* chore: update types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: update style

* chore: clean up

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* fix: format

* chore: update deps

* chore: feature merge master (#46794)

* fix: Fix typo s/Notificaiton/Notification/ (#46775)

* docs: supplement form preserve field description (#46788)

close https://github.com/ant-design/ant-design/issues/46773

* docs: tweak changelog drawer width in small screen (#46791)

* docs: Update compatible-style.zh-CN.md (#46790)

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: update locale size

* chore: lock dumi

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version

* test: update snapshot

* test: update snapshot

* chore: bump version

* chore: update limit

* test: update snapshot

* docs: update 7 days sample

* chore: rm useless style

* chore: clean up style

* docs: add buddihist era demo

* refactor: interface

* chore: add multiple types

* docs: add demo

* chore: init style

* chore: init style

* chore: fill style

* chore: fill style

* chore: style

* chore: size of it

* chore: size style

* docs: add align demo

* docs: needConfirm

* chore: fix showWeek style

* test: update snapshot

* chore: fix ts

* chore: fix ts

* chore: fix ts

* chore: fix ts

* fix: week style

* docs: update dayjs note

* fix: style missing

* chore: fix footer extra style missing

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: demo update

* docs: update demo

* docs: min & max date

* test: update snapshot

* docs: add order

* chore: update deps

* test: update snapshot

* test: update snapshot

* chore: adjust style

* chore: clean up style

* test: update snapshot

* chore: fix comment

* chore: update align

* chore: bump rc-picker

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg (#47203)
* docs: optimize overview svg

* docs: update

* docs: dark
2024-01-29 14:50:36 +08:00
lijianan
395ba88fd6
type: rm useless type (#47205) 2024-01-29 11:45:56 +08:00
lijianan
095b846cad
feat: CP support Tour closeIcon (#47200)
* feat: CP support Tour closeIcon

* fix: fix
2024-01-29 11:01:30 +08:00
0xflotus
52ad8b0a4a
chore: changed word in locale (#47199)
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2024-01-28 21:47:50 +08:00
0xflotus
84fa4f59bf
chore: removed unnecessary whitespace in locale (#47198)
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2024-01-28 21:47:09 +08:00
栗嘉男
80db8eaf3b lint: fix merge branch lint error 2024-01-28 13:31:58 +08:00
栗嘉男
90b4d05a29 lint: fix merge branch lint error 2024-01-28 13:25:47 +08:00
栗嘉男
40a57b82c3 Merge branch 'master' into master-merge-feature 2024-01-28 12:02:05 +08:00
lijianan
2f141e6d25
Merge branch 'feature' into master-merge-feature 2024-01-28 11:58:38 +08:00
afc163
8eab5139ad
refactor: Drawer motion style (#47194)
* refactor: rewrite drawer motion style code

* style: improve Drawer motion

* refactor: simpify style code

* test: fix test coverage

* test: fix test coverage

* chore: remove !important

* chore: revert refactor code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* revert: move distance to 100%
2024-01-27 23:35:00 +08:00
afc163
201f1fc789
fix: Input.Search 1px smaller then Input (#47193) 2024-01-27 23:18:51 +08:00
afc163
57d8ae8fce
fix: Select and AutoComplete notFoundContent style missing (#47192) 2024-01-27 23:02:48 +08:00
afc163
c9d53f7a99
fix: Descriptions lost border style when children is falsy (#47191) 2024-01-27 23:01:44 +08:00
木木剑光
25eda833fb
fix(Table): the onFilter methods of column adds ability to filter children (#47170) 2024-01-27 22:11:54 +08:00
zhipenglin
f613db0226
fix: fix Affix placeholder height anomaly when browser zoom is 80%
Signed-off-by: zhipenglin <sunandmoon001@163.com>
2024-01-27 21:56:31 +08:00
huiliangShen
62df041f03
fix(Input): props show-count param display incorrect in space compact mode (#47112)
* fix(input):use show-count param display incorrect in space compact mode

* update compact-debug file

---------

Co-authored-by: banruo <shl@dataqin.com>
2024-01-27 20:36:50 +08:00
章鱼怪
7e4bca346d
feat: Segmented value type support generics (#47091)
* feat: Segmented value type support generics

* fix: type

* docs: update demo

* test: update snapshots

* Update components/segmented/demo/basic.tsx

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

* Revert "test: update snapshots"

This reverts commit 6f95cd674d.

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-27 20:19:10 +08:00
XiaoDong
33b1aa0a14
demo: fix the scroll area is scrolled to the bottom (#47186)
Co-authored-by: heyongqiang <heyongqiang@qtrade.com.cn>
2024-01-27 18:07:51 +08:00
栗嘉男
e32001138a chore: merge master into feature 2024-01-27 12:15:05 +08:00
KAM
63e5e13fda
fix(QRCode): Fix the issue where the background color and font color … (#47128)
* fix(QRCode): Fix the issue where the background color and font color of the QR code component do not synchronize with the theme in dark mode

* fix(QRCode): Update test snapshot

* fix(QRCode): Remove inline styles, adjust style handling, and regenerate test snapshots

* fix(QRCode): Fix the issue of unreasonable style handling
2024-01-26 23:08:47 +08:00
daisy
5bf0b8e17b
test: fix transfer test (#47137) 2024-01-26 23:08:05 +08:00
daisy
a62d7ec3db
feat(Table): support virtual components.body (#47098)
* feat(Table): support virtual components.body

* docs: update table docs

* docs: add faq

* docs: update faq

* docs: update faq
2024-01-26 16:37:27 +08:00
lijianan
5955c7e8b0
locale: rm PageHeader locale (#47163)
* chore: rm PageHeader locale

* test: fix test case
2024-01-26 16:00:58 +08:00
vagusX
2aca1fff22
feat: make statistic component support html role and data-* and aria-* attributes (#47149)
* feat: make statistic component support html attributes

* fix: types

* chore: improve

* feat: use pickAttrs for data-* and aria-* and role
2024-01-26 15:27:02 +08:00
MadCcc
4def7a2407
feat: InputNumber support changeOnWheel (#47158) 2024-01-26 14:05:04 +08:00
章鱼怪
3c477ee52d
feat: Button add tokens (#47075)
* feat: default button add tokens

* fix: var name
2024-01-26 14:00:21 +08:00
lijianan
aa137e96af
type: TS define optimal (#47153) 2024-01-26 13:53:52 +08:00
lijianan
bb6b475f22
feature: CP support Drawer closeicon (#46894)
* feat: CP support Drawer closeIcon

* fix: fix

* fix: fix

* type: update

* type: lint

* fix: fix

* fix: fix

* Update index.en-US.md

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

* Update index.zh-CN.md

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

* type: fix type

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-01-26 10:52:17 +08:00
Parsa Arvaneh
984f8554dc
docs: typo in select component (#47155) 2024-01-26 09:14:23 +08:00
Yanlin Jiang
f5cfe09f92
docs: add notification placement options (#47101) 2024-01-25 23:45:43 +08:00
Nicolò Zandarin
a7f57ea94d
fix: added missing it_IT translations for Tour component (#47148)
Co-authored-by: Nicolò Zandarin <nicolo.zandarin@atroos.com>
2024-01-25 23:05:35 +08:00
daisy
1678d71596
demo: Tabs custom-tab-bar sticky (#47111) 2024-01-25 09:15:32 +08:00
MadCcc
32d4a908cf
docs: remove InputNumber from docs (#47142) 2024-01-24 17:41:40 +08:00
二货爱吃白萝卜
7664f39d8b
feat: notification support duration (#47141)
* feat: notication support duration

* test: update test
2024-01-24 15:25:56 +08:00
MadCcc
639d189c4a
chore: rm useless 'use client' (#47123) 2024-01-24 15:00:52 +08:00
mr-chenguang
cad5af8551
feat: input-number support wheel setting(default false) (#47118) 2024-01-24 11:28:52 +08:00
daisy
079d8c92a3
fix: Transfer selectInvert should be corrected (#47125) 2024-01-24 10:54:15 +08:00
二货机器人
7d6aed50c0 feat: support flex responsive 2024-01-23 20:43:55 +08:00
MadCcc
30a4143afc
docs: add pagination design page (#47119) 2024-01-23 20:33:53 +08:00
二货机器人
4e12c3eca9 Merge remote-tracking branch 'origin/feature' into flex 2024-01-23 17:55:13 +08:00
二货机器人
8634cdf6a8 chore: add flex css var 2024-01-23 17:23:58 +08:00
叶枫
ea02766934
Fix button size style (#47074)
* fix: Button size style

* fix: Button size style

* feat: default 补充默认样式

* feat: style

* feat: style

* feat: style
2024-01-23 10:20:57 +08:00
二货爱吃白萝卜
a810c2ff54
docs: More about virtual table limitation (#47090)
* docs: add more info of table

* docs: more and more

* docs: update
2024-01-22 15:16:48 +08:00
Sébastien Béal
fe5295fe9b
fix: add missing ja table filter locale keys (#47072)
* fix: add missing ja table filter locale keys

* fix: translate filterSearchPlaceholder
2024-01-21 01:39:46 +08:00
sunsunmonkey
d25b4c1b46
fix: Modal conflicting props classNames.wrapper and centered (#47076)
* fix: conflict wrapper and centered

* test: update snap

* fix: undefined className

* refactor: use classNames for merge class
2024-01-20 23:59:54 +08:00
Aelita
87b45e6198
fix(spin): remove false positive warning with tip and fullscreen used together (#47015)
* fix(spin): remove false positive warning with `tip` and `fullscreen` used together

* fix(spin): update warning text
2024-01-19 22:20:50 +08:00
Konv Suu
e727b04fa6
fix(color-picker): clear-trigger extends cursor prop from parent (#47055) 2024-01-19 22:01:37 +08:00
MadCcc
137518c955
docs: Breadcrumb design (#47057) 2024-01-19 16:52:55 +08:00
MadCcc
5068137a1b
docs: add alert design page (#47037)
* docs: add alert design page

* chore: code clean

* fix: fallback style
2024-01-19 14:47:04 +08:00
yudong
a7cff93db7
fix: Image inline rendering not work when getContainer is false (#47034)
* fix: Image 组件 preview.getContainer=false 内联渲染不生效

* refactor: Image.preview.getContainer 空值合并逻辑

---------

Co-authored-by: 莫青 <zhengyudong.zyd@alibaba-inc.com>
2024-01-18 18:04:44 +08:00
afc163
023f3ec719
demo: xsgames.co/randomusers => dicebear.com (#47028)
* demo: xsgames.co/randomusers => dicebear.com

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot
2024-01-18 17:18:40 +08:00
MadCcc
e6e260db77
docs: add Progress design tab (#47013)
* docs: add Progress design tab

* chore: correct lint
2024-01-18 15:31:32 +08:00
lijianan
f35738fd8c
demo: update demo (#47021)
* demo: update demo

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-18 13:08:02 +08:00
叶枫
842791b2cb
fix: react 16 test (#47016) 2024-01-17 22:28:15 +08:00
二货爱吃白萝卜
be058e4794
fix: Modal static func (#47010)
* fix: Modal static func

* chore: clean up

* chore: clean up
2024-01-17 17:40:04 +08:00
lijianan
85fb745bd1
type: add config type (#47004) 2024-01-17 14:29:15 +08:00
MadCcc
23ce317ee3
chore: update snapshot (#46996) 2024-01-16 16:42:45 +08:00
Fatpandac
77b351f68f
fix: ok button of the DatePicker becomes compacted when used with Space.Compact (#46769)
* fix: ok button of the DatePicker becomes compacted when used with Space.Compact

* fix: break CSS selector

* fix: break the compact context on the panel

* chore: update test
2024-01-16 14:02:31 +08:00
afc163
14af2a77ae
style: fix Tree cursor style (#46974)
* style: fix Tree cursor style

* fix lint
2024-01-16 12:28:25 +08:00
vagusX
9490179108
ci: enable splitTheme (#46984)
* ci: enable splitTheme

* chore: remove blue border
2024-01-15 17:58:48 +08:00
叶枫
7e877dc799
test: support react 16 lint (#46963)
* feat: support react 16 lint

* feat: test

* feat: test

* feat: test

* feat: test

* feat: 不增加 package script
2024-01-14 17:15:39 +08:00
叶枫
72e498058e
type: Checkout component react16 typescript error (#46962) 2024-01-14 05:53:36 +08:00
lijianan
bd505a690c
demo: update Rate demo (#46891)
* feat: CP support Tag closeIcon

* fix: fix

* fix: fix
2024-01-13 17:07:42 +08:00
xrkffgg
ec5145cbf9
chore: merge feature into master
feat: Table supports hidden columns (#46957)
2024-01-13 15:22:27 +08:00
章鱼怪
df583dbf82
feat: Table supports hidden columns (#46957) 2024-01-13 15:20:34 +08:00
lijianan
c157a3f9ea
demo: update Watermark demo (#46899)
* feat: CP support Table expandIcon

* revert

* demo: update demo
2024-01-13 14:27:42 +08:00
Roxannej
910dc5b420
docs: improve affix doc (#46952)
* fix: 优化文字解释

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

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-12 23:32:10 +08:00
MadCcc
2c4e367543
fix: input hoverBg token (#46946) 2024-01-12 16:31:59 +08:00
MadCcc
2fe9b46bc1
feat: Button support lineHeight token (#46936)
* feat: Button support lineHeight token

* refactor: rm format

* chore: code clean

* chore: fix test
2024-01-12 15:03:03 +08:00
二货爱吃白萝卜
ec25f2230c
Merge pull request #46937 from ant-design/master
chore: feature merge master
2024-01-12 13:50:02 +08:00
二货爱吃白萝卜
8ad9f52e46
test: support trigger image (#46935) 2024-01-12 11:57:25 +08:00
章鱼怪
ada0f698cb
fix(Segmented): content is obscured when hover and active (#46925) 2024-01-11 18:33:07 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature 2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util (#46923)
* docs: init

* chore: all types

* docs: faq

* chore: fix lint
2024-01-11 15:55:58 +08:00
lijianan
1b2362a425
type: rm useless type (#46920)
* type: rm useless type"

* update size-limit
2024-01-11 15:11:55 +08:00
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
afc163
1139316ae2
fix: fix Checkbox font-size in Form (#46904) 2024-01-10 18:18:05 +08:00
MadCcc
2cff1fce48
fix: InputNumber should respect padding token (#46878)
* fix: inputnumber padding token

* chore: update

* chore: clean

* chore: update
2024-01-10 11:57:58 +08:00
MadCcc
6fadbc8e05
fix: dropdown submenu (#46888)
* fix: dropdown submenu

* chore: add visual diff
2024-01-10 11:57:38 +08:00
Peach
32052bf5d8
docs: update live demo logic with dumi 2.3 beta (#46805)
* docs: update live demo api with dumi 2.3 beta

* docs: lint fix

* refactor: update naming of demo source

* feat: optimize souce code editor style

* chore: update dumi version

* chore: restore dumi overrides

* ci: setup before lint only for ci

* chore: trigger ci re-run

* chore: bump dumi version

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-09 22:51:55 +08:00
Jason Feng
f726e61d95
fix: type comment ThemeConfig cssVar.prefix antd to ant (#46882) 2024-01-09 21:02:14 +08:00
叶枫
bea39b1db5
feat: Input support inputFontSize token (#46875)
* feat: Input support contentFontSize contentLineHeight token

* feat: rename inputFontSize
2024-01-09 15:18:44 +08:00
84b006cd6c
fix(radio): improve title attribute display (#46809)
* fix(radio): improve title attribute display

* chore: update demo

方便快照测试

* chore: update snap

* test: add unit test
2024-01-09 14:14:26 +08:00
afc163
f2b89da945
refactor: Drawer styles properties (#46858)
* refactor: Drawer styles props

* chore: add type test case

* chore: update snapshot

* test: add style jest snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add deprecated warning

* fix: scroll area of drawer

* chore: fix demo style

* chore: update snapshot

* chore: update snapshot

* refactor: remove unused style code

* test: fix test case

* test: fix Drawer PurePanel image diff

* test: fix Drawer PurePanel image diff

* chore: fix demo
2024-01-09 10:20:40 +08:00
lijianan
473199db61
type: type enhancement (#46847)
* test: TEST

* type: update type
2024-01-08 11:05:03 +08:00
lijianan
1ff5805cca
Revert "feat(InputNumber): support classNames props (#46842)" (#46849)
This reverts commit 8a078c9714.
2024-01-08 10:37:10 +08:00
lijianan
928eaf411a
Merge pull request #46830 from ant-design/master
chore: merge master into feature
2024-01-07 23:18:42 +08:00
云泥
8a078c9714
feat(InputNumber): support classNames props (#46842)
* fix(InputNumber): lose style when pass classNames props #46841

fix: some classNames item were not take effect

docs: update docs

style: update

chore: update

test: update case

docs: update version

* docs: update Semantic DOM

* docs: update components/input-number/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 云泥 <1656081615@qq.com>

* docs: format

* test: add case

---------

Signed-off-by: 云泥 <1656081615@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-07 22:34:03 +08:00
Shunze Chen
54e75516c0
docs: delete useless logic (#46833) 2024-01-05 22:59:06 +08:00
二货爱吃白萝卜
8f6f8de9b3
fix: Popconfirm text missing (#46812) 2024-01-05 15:29:18 +08:00
afc163
15324982ab
fix: Upload.Dragger not align center (#46810)
close #46795
2024-01-05 14:22:45 +08:00
lijianan
ca39a4b1ee
refactor: refactor indicator props (#46786)
* refactor: refactor indicator props

* Update components/tabs/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: update

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: add test case

* docs: update docs

* Update components/config-provider/index.en-US.md

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

* Update components/config-provider/index.zh-CN.md

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

* Update components/tabs/index.tsx

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

* Update components/tabs/index.tsx

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

* Update components/tabs/index.zh-CN.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>

* Update components/tabs/index.zh-CN.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: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-05 10:56:11 +08:00
MadCcc
9ece76b269
docs: use dumi alert (#46793)
* docs: use dumi alert

* chore: code clean
2024-01-05 10:12:22 +08:00
MadCcc
5ee391f191
refactor: Line Progress use pseudo (#46789)
* refactor: Line Progress use pseudo

* chore: code clean

* chore: update snapshot
2024-01-05 10:11:37 +08:00
二货爱吃白萝卜
1d8f4235cb
Merge pull request #46798 from ant-design/master
chore: feature merge master
2024-01-04 20:44:01 +08:00
Shunze Chen
aae661b176
docs: supplement form preserve field description (#46788)
close https://github.com/ant-design/ant-design/issues/46773
2024-01-04 13:50:45 +08:00
lijianan
5b97bcccfe
test: update Tour snap (#46787) 2024-01-04 13:39:55 +08:00
lijianan
bc5752eb6f
chore: merge master into feature 2024-01-03 08:54:15 +08:00
lijianan
0b6356d984
chore: rename file .tsx => .ts (#46759)
* chore: rename file .tsx => .ts

* fix: fix

* test: add test case
2024-01-03 08:45:11 +08:00