Commit Graph

17377 Commits

Author SHA1 Message Date
叶枫
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
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 c9c5f5acbe7ee05f4e20fc6d4c5d052c16acb8c7.

* 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
叶枫
81ab20be35 feat: merge master 2023-12-27 14:42:51 +08:00
lijianan
5c52512467
type: update ref type from Ref to React.RefAttributes<T> 2023-12-27 11:53:19 +08:00
daisy
dc5063428d
fix: Typography.Text should update the Tooltip when the width changes (#46613)
* fix: Typography.Text should update the Tooltip when the width changes

* test: add test case

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-12-25 23:03:44 +08:00
lijianan
e07d5214c4
type: replace object with AnyObject (#46604) 2023-12-25 15:30:08 +08:00
MadCcc
bcec44b05b
fix: optimize tree focus style (#46608) 2023-12-25 13:52:09 +08:00
Eden Wang
28aaeafbbc
feat(mentions): supports 'allowClear' option (#46396)
* feat(mentions): supports 'allowClear' option

* feat(mentions): add allowClear testcase

* feat(mentions): update package and styles

* feat(mentions): update lint and styles

* fix: fixed lint error

* test: add case for custom clearIcon

* feat: add useAllowClear hook

* feat: rename useAllowClear to getAllowClear

* feat: rename useAllowClear to getAllowClear

* feat(mentions): add demo for allowClear

* feat(mentions): update demo desc

* feat(mentions): update demo desc

* feat(mentions): style align middle

* feat: add multi line mentions demo and update icon position

* feat: fixing visual regression report

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-12-25 10:37:26 +08:00
lijianan
5152a05929
type: export ConfigProviderProps type (#46605) 2023-12-25 10:35:28 +08:00
bestlyg
0ef7923752
fix: nested trigger arrow position (#46294) 2023-12-24 20:05:44 +08:00
lijianan
7fd21c5163
test: update snap 2023-12-23 04:35:12 +08:00
lijianan
0c1a50251d
Merge branch master into master-merge-feature 2023-12-23 02:56:03 +08:00
lijianan
8f2a438c4a
Merge branch 'feature' into master-merge-feature 2023-12-23 02:54:15 +08:00
lijianan
ef3dd04731
test: update snap 2023-12-23 02:51:31 +08:00
dally_G
0647f56856
type: Checkbox.Group type infer (#46423)
* feat: CheckboxGroup type infer

fix: fix type error

fix: define type infer

chore: opti type

* Update type.test.tsx

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

* Update Group.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gushuo <gushuo@yoycol.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-12-22 17:07:34 +08:00
hzyhbk
45b8072713
fix: add tab-nav-add-btn min height (#46585) 2023-12-22 14:29:21 +08:00
ZN1996
142b4d7b4e
fix(Progress): StrokeLinecap style (#46551) 2023-12-22 10:26:23 +08:00
MadCcc
924f46fd88
feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
lijianan
a09ed506d3
chore: merge master into feature 2023-12-22 03:26:11 +08:00
MadCcc
bf7085882d
feat: DatePicker support variant (#46568)
* feat: DatePicker support variant

* chore: update snapshot

* chore: update api table

* chore: update snapshot
2023-12-21 20:43:40 +08:00
二货爱吃白萝卜
76f6ddc7e6
fix: ColorPicker not support prefixCls (#46561)
* fix: ColorPicker should support prefixCls

* test: add test case
2023-12-21 14:39:43 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
二货爱吃白萝卜
eff720837c
test: Update image snapshot logic (#46529)
* test: mix snapshot

* test: clean up

* test: fix order

* test: fix test logic

* test: fix reset

* test: refactor code

* test: clean fetch

* chore: lint

* test: clean up

* test: delay check

* chore: refactor fetch

* docs: update diff html

* test: add ssr support

* chore: part use ssr

* chore: update style

* chore: slice of it

* docs: fix cut
2023-12-21 10:30:08 +08:00
MadCcc
37fd3273af
fix: DatePicker style in cssVar mode (#46526) 2023-12-19 15:06:07 +08:00
Long Hao (龙濠)
ce28f36adb
docs: Update FormItem getValueProps desc (#46485)
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2023-12-19 13:53:36 +08:00
afc163
b3956a9ba2
docs: fix Rate demo type for strict mode (#46520)
* docs: fix Rate demo type for strict mode

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-12-19 12:38:09 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00
Eloi0424
0d1bf57aef
docs: Input.Password onVisibleChange type (#46504) 2023-12-18 15:55:28 +08:00
ce7da2ef41
refactor: color-picker panel dom logic (#46327)
* refactor: refactoring custom panel logic

* chore: update test case & update snapshot

* chore: update un-stable snap???

* docs: update demo

* chore: update snapshots

* fix: table filterDropdown should accept cssvar (#46314)

* chore: revert files

* chore: update demo

* chore: update snap

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 13:56:01 +08:00
github-actions[bot]
a8fc2ec3f3
chore: auto merge branches (#46501)
chore: merge master into feature
2023-12-18 04:31:30 +00:00
MadCcc
71dc26c595
fix: Tag style for ssr (#46500) 2023-12-18 11:06:58 +08:00
Eloi0424
8ccd23a4ca
feat: add Denish Form translate (#46493) 2023-12-17 16:10:44 +08:00
lijianan
75082ba607
chore: merge master into feature 2023-12-16 00:35:27 +08:00
635e05b7d8
docs(color-picker): improve example (#45527)
* docs: improved color-picker demo #45527

chore: improve customization panel cls

chore: update demo

chore: update snapshots

test: add case

chore: update

chore: update snapshots

chore: to simplify the complex things

chore: update snapshots

* revert files

* chore: revert change

* chore: update snapshot
2023-12-15 16:29:51 +08:00
vagusX
11fd15e89c
Merge pull request #46471 from ant-design/master 2023-12-15 14:49:06 +08:00
afc163
c009504818
Revert "fix: remove unnecessary title attributes for label in Form (#46462)" (#46472)
This reverts commit 7710e57c1a.
2023-12-15 13:53:51 +08:00
sunsunmonkey
7710e57c1a
fix: remove unnecessary title attributes for label in Form (#46462)
* fix: remove unnecessary title attributes for label in Form

* test: update snap
2023-12-15 10:02:51 +08:00
afc163
f5e0c67fea
fix: Upload disabled should not affect download icon (#46454)
* fix: Upload disabled should not affect download icon

* test: update snapshot
2023-12-15 09:57:13 +08:00