Commit Graph

17398 Commits

Author SHA1 Message Date
二货机器人
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
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