Commit Graph

17313 Commits

Author SHA1 Message Date
栗嘉男
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
afc163
0c97250db3
style: fix Typography copyable style and update demos (#46748)
* style: fix Typography copyable style and update demos

* chore: update jest snapshot
2024-01-02 21:36:10 +08:00
叶枫
8950642664
feat: config support holderRender (#46596)
* feat: config support container

* feat: add test

* feat: reset demo

* feat: test

* feat: test

* feat: test

* feat: test

* feat: md

* feat: limit

* fix: prefix

* feat: limit

* feat: message support app config

* feat: notification support app config

* feat: add maxCount test

* feat: icons

* feat: 增加 2 个 todo

* feat: holderRender

* feat: md

* feat: message 兼容旧逻辑

* feat: notification 兼容完成

* feat: modal 兼容完成

* feat: 优化 modal

* feat: 优化代码

* feat: 优化代码

* feat: 给 CP 添加 demo

* feat: 优先级完成/demo迁移完成

* feat: review

* feat: review

* feat: 优化 modal 代码

* feat: 支持 rtl

* feat: 修改注释

* feat: 优化单测

* feat: 优先级注释

* feat: remove getPrefixCls

* feat: demo

* feat: demo

* feat: demo

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:43:27 +08:00
lijianan
57521a01e9
feat: Select support maxCount prop (#46667)
* feat: Select support maxCount prop

* fix: fix snap

* chore: fix

* fix: fix

* fix: fix

* rename: .tsx => .ts

* docs: update docs

* Update components/select/demo/maxCount.md

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

* Revert "rename: .tsx => .ts"

This reverts commit c9c5f5acbe.

* fix: update rc-select

* Update components/select/demo/maxCount.md

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

* Update components/select/index.tsx

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

* update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:41:50 +08:00
afc163
680c5123db
style: fix Mentions item height to 32px (#46737)
Co-authored-by: lijianan <574980606@qq.com>
2024-01-02 16:29:13 +08:00
lijianan
bfda8cea90
Merge pull request #46740 from ant-design/master
chore: merge master into feature
2024-01-02 16:16:45 +08:00
二货爱吃白萝卜
6ed0cced4f
test: fix one year bug (#46738) 2024-01-02 15:37:00 +08:00
lijianan
413fb95487
chore: update year form 2023 to 2024 (#46723) 2024-01-01 08:05:25 +08:00
lijianan
235fb6576c
type: update type any => node (#46716)
* docs: update publish Date

* type: update type any => node
2023-12-31 23:51:31 +08:00
lijianan
276e66cdaa
Merge pull request #46710 from ant-design/master
chore: merge master into feature
2023-12-31 06:57:55 +08:00
afc163
8705640a19
fix: Upload accessibility experience (#46432)
* fix: Upload tab experience

* test: update snapshot

* fix lint
2023-12-30 15:21:52 +08:00
lijianan
d7f0fdc6ff
feat: QRCode support scanned status (#46704) 2023-12-30 14:52:08 +08:00
lijianan
1db0daffc1
Merge branch master into master-merge-feature 2023-12-30 02:40:22 +08:00
afc163
100c2c4afe
fix: Modal footer button gap issue (#46702)
* chore: rename to style/confirm.tsx

* fix: Modal footer button gap implementation

* fix: lint error
2023-12-29 22:20:28 +08:00
陈帅
968200d11e
feat: Menu support darkPopupBg token (#46618)
* feat: Menu support darkPopupBg token

* fix lint

* fix
2023-12-29 16:49:57 +08:00
afc163
87adc388d5
chore: change Segmented token name (#46688)
* chore: change Segmented token name

* chore: change Segmented token name
2023-12-29 16:25:01 +08:00
MadCcc
b70384add4
fix: Select should show scrollbar if scrollable (#46696)
* fix: select scrollbar

* chore: code clean
2023-12-29 16:12:17 +08:00
Yoga Lin
726e6180a0
fix: fix itemHeight of Tree (#46672)
* fix: Fix itemHeight of Tree

* fix: Fix itemHeight of Tree
2023-12-28 21:05:36 +08:00
afc163
37e615228d
feat: add controlPadding and controlBg to Segmented tokens (#46674) 2023-12-28 20:51:35 +08:00
lijianan
f7a5bbc55c
refactor: rename useBuiltinPlacements to mergedBuiltinPlacements (#46666) 2023-12-28 07:07:32 +08:00
lijianan
c0e007c0d0
chore: merge master into feature 2023-12-27 19:40:42 +08:00
anilpixel
f1b7fcc4e2
fix: Layout.Sider toggle issue during print dialog activation (#46650) 2023-12-27 19:06:25 +08:00
Evgeniy Aksyonov
f4929cbcdc
docs: Fix typo for sortDirections example in head.md (#46641)
* Fix typo for sortDirections example in head.md

It didn't work with old example with pipe instead of comma(`sortDirections: ['ascend' | 'descend']`)

Signed-off-by: Evgeniy Aksyonov <evgeniy.aksyonov@gmail.com>

* Update components/table/demo/head.md

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

---------

Signed-off-by: Evgeniy Aksyonov <evgeniy.aksyonov@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-12-27 17:51:43 +08:00
afc163
b06e6152bd
demo: xsgames.co/randomusers => dicebear.com (#46630) 2023-12-27 17:50:24 +08:00
MadCcc
b49fb85c57
perf: optimize multiple select options style (#46646) 2023-12-27 15:12:32 +08:00
Fatpandac
ae38f1e3eb
fix: the shadow of the table overflows (#46644) 2023-12-27 14:46:40 +08:00