Commit Graph

17549 Commits

Author SHA1 Message Date
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
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
叶枫
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
MadCcc
b7cb73c0ce
Merge pull request #46460 from ant-design/master
feature-merge-master
2023-12-14 20:27:37 +08:00
afc163
afa7343241
style: Dragger add vertical padding style (#46457) 2023-12-14 19:20:46 +08:00
afc163
54a4efe472
fix: Upload actions hover color (#46456)
* fix: Upload actions hover color

* revert demo change

* fix: lint error
2023-12-14 19:20:26 +08:00
叶枫
4272d0c547
docs: remove callback doc (#46452) 2023-12-14 17:23:55 +08:00
二货爱吃白萝卜
1671d279e5
fix: getValueProps should trigger update (#46445) 2023-12-14 15:55:19 +08:00
github-actions[bot]
5f9e52a5a8
chore: auto merge branches (#46446)
chore: merge master into feature
2023-12-14 07:32:07 +00:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
afc163
12db87449b
style: fix Checkbox style when customize token.lineWidth (#46431)
* style: fix Checkbox style when customize token.lineWidth

* test: update snapshot
2023-12-13 21:46:25 +08:00
github-actions[bot]
dbffde90c5
chore: auto merge branches (#46436)
chore: feature merge master
2023-12-13 13:35:31 +00:00
红果汁
b03ca50ab4
feat: ColorPicker show clear when value is not set (#45993)
* feat: color-picker show clear when value is not set

* fix: lint issue

* refactor: turn color defaultvalue to #1677ff

* test: update snap

* refactor: optimize demo type

* chore: back prettier

* chore: back prettier
2023-12-13 19:37:28 +08:00
MadCcc
b3b5df442c
fix: Select multiple padding (#46427) 2023-12-13 17:31:36 +08:00
sunsunmonkey
b777d1c0c6
docs(segment): change to Disabled name (#46421) 2023-12-13 15:34:17 +08:00
github-actions[bot]
0e1545964c
chore: auto merge branches (#46419)
chore: feature merge master
2023-12-13 06:18:31 +00:00
MadCcc
a7a3c51ee8
fix: remove useless hashId in Notice (#46415) 2023-12-13 11:04:41 +08:00
github-actions[bot]
7c21018f4f
chore: auto merge branches (#46406)
chore: merge master into feature
2023-12-12 11:28:30 +00:00
Jeongseok Kang
89712f29b1
docs: Update Breadcrumb items type (#46399) 2023-12-12 18:00:43 +08:00
lijianan
e68bdc8998
fix: Flex component don't apply extra font style (#46404) 2023-12-12 17:39:53 +08:00
Qin Zan
82777bca93
test: add Unit Testing (#46393)
* Unit Testing

Added unit tests for the DatePicker show time field and month range relative start and end selection.

* Remove duplicated test
2023-12-12 12:30:27 +08:00
MadCcc
e0c1841180
feat: InputNumber support variant (#46381) 2023-12-11 15:34:07 +08:00
MadCcc
4a07e13685
feat: Select variant (#46379)
* feat: Select variant

* chore: clean

* chore: add test

* chore: update demo
2023-12-11 14:55:58 +08:00
afc163
2d28495c9c
docs: update Layout demos (#46378)
* docs: update Layout demos

* test: update snapshot
2023-12-11 12:22:23 +08:00
afc163
0ac72622a8
docs: fix soft breaks in markdown (#46374) 2023-12-11 12:12:51 +08:00
MadCcc
c588e82a9c
feat: Input deprecate bordered for variant (#46337)
* feat: Input deprecate  for

* chore: code clean

* feat: TextArea

* chore: code clean

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-12-11 10:20:32 +08:00
阿菜 Cai
0a671878ec
feat(descriptions): support html attributes id type (#46367)
test(descriptions): add html attributes `id`  test
close #46350

Co-authored-by: lijianan <574980606@qq.com>
2023-12-11 00:05:47 +08:00
vagusX
8d7e0bc922
feat: new visual regression implements (#46127) 2023-12-09 21:49:47 +08:00
lijianan
02396c986c
site: update demo Tabs usage (#46351) 2023-12-09 19:32:10 +08:00
Abhay Aggarwal
985b7ac889
demo: fixed a grammatical error (#46343)
* Fixed a grammatical error | "start" -> "started"

Fixed the issue of tense on the button at the example in flex section of the documentation

Signed-off-by: Abhay Aggarwal <97821733+abhay-ag@users.noreply.github.com>

* added the jest snapshots

---------

Signed-off-by: Abhay Aggarwal <97821733+abhay-ag@users.noreply.github.com>
2023-12-09 18:29:30 +08:00
lijianan
b5084a3da9
test: add test case for Spin (#46347) 2023-12-09 15:03:48 +08:00