Commit Graph

17478 Commits

Author SHA1 Message Date
二货爱吃白萝卜
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