Commit Graph

16382 Commits

Author SHA1 Message Date
二货爱吃白萝卜
b2402f9140
fix: table hover missing style (#42572) 2023-05-24 17:11:57 +08:00
MadCcc
e6d86df3a9
fix: spin icon in Badge should have correct animation (#42575) 2023-05-24 16:58:59 +08:00
未觉雨声
9b4ad3da2a
fix(pagination): link icon and ellipsis disabled style (#42541)
* fix: pagination link icon and ellipsis disabled style

* style: lint
2023-05-23 18:49:05 +08:00
MadCcc
5e2732a03c Merge branch 'master' into feature-merge-master 2023-05-23 17:02:34 +08:00
MadCcc
4f9c8e2af2
fix: global token in Component Token override should be respected (#42535)
* fix: global token in Component Token override should be respected

* test: add snapshot
2023-05-23 13:39:05 +08:00
黑雨
023efaf976
feat: migrate less to token for Tag (#42053)
* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

* feat: clean up

*  feat: migrate less to token for Avatar

*  feat: migrate less to token for Tag

*  feat: migrate less to token for Tag

* 🔀  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update snap

* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

* chore: code clean

* chore: code clean

* chore: more suiltable line-height

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-23 09:45:41 +08:00
Hector Ayala
5bbd13d2c8
Fix calendar internal select source type (#42459)
* fix: pass panelMode as source type to internal select trigger

* test: add test case for triggering select source with panelMode

* test: update test to pass correct value to check

* test: fix passing value to test

* test: update test in proper select.test file

* test: update test case

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-22 18:48:28 +08:00
Dennis Chen
a96d0d0c2b
docs(Collapse): fix invalid description of demo extra (#42521)
* fix: collapse doc

* fix collapse extra demo description

* Update components/collapse/demo/extra.md

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 18:47:28 +08:00
dyecma
c1dbcae764
feat: rename sorterOrder to sortOrder (#42519) 2023-05-22 18:03:45 +08:00
二货爱吃白萝卜
7367aadc02
docs: more info about suffixIcon (#42520) 2023-05-22 17:19:13 +08:00
lijianan
ecc222e5f4
docs: add version (#42518) 2023-05-22 16:08:56 +08:00
56f9be7904
feat: add groupLabel prop in fieldNames (#42492)
* feat: add groupLabel prop in fieldNames

* fix: error

* chore: upgrade tree-select version

* chore: new docs

* Update components/select/index.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/select/index.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update optgroup.md

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-22 13:51:36 +08:00
MadCcc
5d53884919
fix: fix wrong button icon size and margin (#42516) 2023-05-22 13:37:41 +08:00
Ariunbat Ulambayar
91c16381be
fix: add missing translation in mn_MN.ts (#42512)
* Update mn_MN.ts

added OK text translation in MN

added OK text translation in MN

Revert "added OK text translation in MN"

This reverts commit 7958ac3d4ea190160fadef04ad54328d90a198ef.

* updated locale test
2023-05-22 13:34:55 +08:00
dyecma
8aca325d99
feat: implement sortIcon on Table (#42498)
* implement sortIcon on Table

* drop React.ReactNode from sortIcon

* add sortIcon test

* fix sortIcon arg type

* add sortIcon to docs

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 12:03:57 +08:00
二货爱吃白萝卜
2f9a8c7dde
fix: select check & remove icon align (#42513) 2023-05-22 11:13:38 +08:00
Zack Chang
a5069624bf
feat: less to component token for List (#42041)
* feat: less variables to component token for List

* Update migrate-less-variables.en-US.md

* feat: recover less variables

* feat: add debug demo

* chore: update snapshot

* chore: rename

* chore: rename && fix ts && recover itemPaddingLG

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-22 10:20:38 +08:00
Zack Chang
1cb1a7ae58
feat: less to component token for Timeline (#42491)
* feat: css variables to token

* chore: rename token

* feat: add color token

* feat: add debug demo

* chore: update snapshot

* chore: rename demo

* chore: rename token

* chore: recover tailWidth

* chore: rename token demo filename

* chore: update snap

* fix: CN-docs

* fix: US-docs

* chore: rename demo

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
2023-05-22 09:36:14 +08:00
github-actions[bot]
6e71faa172
chore: auto merge branches (#42509)
chore: feature merge master
2023-05-20 19:30:00 +00:00
e4f84e0e96
fix: Select scrollbar rtl direction position (#42508)
Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-21 02:59:50 +08:00
afc163
7461a216a0
demo: fix Layout demo ssr render effect (#42501)
* demo: fix Layout demo ssr render effect

close https://github.com/ant-design/ant-design/issues/42487

* test: update snapshot
2023-05-19 23:57:37 +08:00
cooljser
6195610a21
feat: DatePicker support kk:mm format (#42494)
Co-authored-by: fan.hu <fan.hu3@envision-digital.com>
2023-05-19 18:57:35 +08:00
muxin
f11c3c3a08
feat: migrate less to token for Anchor (#42141)
* feat: rename anchor token

* docs: add component-token demo

* fix: update token
2023-05-19 18:26:31 +08:00
GUAN MING
75da87d730
feat(notification): support role prop (#42484)
* fix: version error

* fix: version error

* docs: update version

* docs: add version column

* docs: fix CN docs

* docs: update default value
2023-05-19 18:21:31 +08:00
红果汁
d61c08e7df
prefer: optimize allow clear logic (#42439)
* refactor: optimize allow clear logic

* test: fix test coverage down

* refactor: use onChange type
2023-05-19 17:44:27 +08:00
muxin
ffedddb211
feat: migrate less to token for Carousel (#42157)
* feat: rename Carousel token

* docs: add component-token demo

* fix: use dotActiveWidth instead of dotWidthActive

* fix: use deprecatedTokens option
2023-05-19 14:58:40 +08:00
lijianan
c61ea98b5d
fix: code optimization (#42483)
* fix: code optimization

* refactor

* [CodeFactor] Apply fixes

* test: add cov

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2023-05-19 14:29:44 +08:00
Zack Chang
ccb7251384
feat: migrate less to token for Upload (#42042)
* feat: migrate less to token for Upload

* feat: recover less variables

* feat: add debug demo

* feat: rename token

* chore: update snapshot

* chore: update snap

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-19 11:11:31 +08:00
Zack Chang
3bfb7ac2a0
feat: less to component token for Typography (#42442)
* feat: less to component token for Typography

* feat: add titleFontWeight token

* feat: add debug demo

* chore: rename token

* chore: rename demo name

* chore: rename titleFontWeight

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-19 09:46:15 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config (#42473)
* chore: static config of theme

* chore: static all method

* test: add test case

* docs: comment

* docs: more info

* test: update snapshot

* test: fix test logic
2023-05-18 23:53:34 +08:00
kiner-tang(文辉)
c878433e9a
feat: migrate less to token for Segmented (#42136)
* feat: migrate less to token for Segmented

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: reset style

* style: reset style

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-18 22:21:53 +08:00
dingkang
da1162ffb1
feat: migrate less to token for Checkbox (#42097)
* feat: migrate less to token for Checkbox

* feat: type enhancement

* feat:migrate less to token for Checkbox

* fix: style

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 22:07:15 +08:00
kiner-tang(文辉)
65d7a5b943
feat: migrate less to token for Skeleton (#42134)
* feat: migrate less to token for Message

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* Update docs/react/migrate-less-variables.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 21:18:02 +08:00
lijianan
8f1d496972
refactor: remove rc-util/lib/Dom/addEventListener (#42464)
* docs: fix typo in docs

* remove rc-util/lib/Dom/addEventListener

* fix

* fix
2023-05-18 20:35:09 +08:00
JiaQi
dc2add0fea
style(table): Modify borderRadius in filter dropdown (#42451)
Co-authored-by: lijianan <574980606@qq.com>
2023-05-18 19:42:11 +08:00
lijianan
9caba0919b
demo: update form demo when layout === inline (#42476) 2023-05-18 19:40:35 +08:00
github-actions[bot]
cc16b931b7
chore: auto merge branches (#42469)
chore: feature merge master
2023-05-18 09:40:20 +00:00
二货爱吃白萝卜
ecc384e8b6
chore: follow up of tooltip style (#42466) 2023-05-18 16:54:57 +08:00
黑雨
90200684b2
feat: Breadcrumb Component Token (#42342)
*  feat: Breadcrumb Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update dome

*  feat: update

*  feat: update

*  feat: update dome
2023-05-18 16:32:52 +08:00
muxin
07d5e5e7bb
feat: migrate less to token for Calendar (#42194)
* feat: rename calendar token

* docs: add component-token demo
2023-05-18 16:12:41 +08:00
muxin
0ea9c88048
feat: migrate less to token for Rate (#42135)
* feat: rename rate token

* docs: add component-token demo
2023-05-18 13:53:51 +08:00
红果汁
2722850c0d
chore: sync @rc-component/color-picker@1.1.0 (#42445)
* fix: sync @rc-component/color-picker@1.1.0

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-18 13:34:06 +08:00
github-actions[bot]
cb1368f139
chore: auto merge branches (#42458)
chore: merge master into feature
2023-05-18 02:36:47 +00:00
afc163
d90c1c62c0
fix: upgrade @ant-design/icons to 5.1.0 (#42443)
* Update package.json

* Update package.json

* chore: update snapshot

* style: #1890ff => #1677ff

* style: fix Upload icon color

* style: fix Upload icon color

* revert menu v4 demo
2023-05-18 09:40:09 +08:00
二货爱吃白萝卜
71fc54e53a
feat: Calendar onSelect support info.source param (#42432)
* test: add test case

* test: add test case

* docs: update api

* docs: faq update
2023-05-17 21:18:51 +08:00
Nikhil Mishra
bb6e0f5ab9
docs: fixed some grammatical errors in index.en-US.md (#42438)
I corrected some spelling and added some articles.
2023-05-17 18:30:01 +08:00
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null (#42433)
* fix: Popconfirm margin issue when icon is null

* test: update snapshot

* demo: update snapshot

* chore: improve code

* demo: update snapshot

* refactor: remove used css

* demo: update snapshot
2023-05-17 14:49:42 +08:00
Zack Chang
4efa0b64db
feat: less to component token for Descriptions (#42038)
* feat: less to component token for List

* fix: title

* feat: add debug demo

* chore: rename

* Update index.tsx

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-17 14:22:48 +08:00
afc163
74d5718ee7
demo: update popconfirm demo (#42429)
* demo: update popconfirm demo

* demo: update snapshot
2023-05-17 12:00:49 +08:00
ZHAO Zhiwei
ad4dded3f5
fix: Menu item icon not centered when itemMarginInline is 0 (#42426) 2023-05-17 11:13:00 +08:00
kiner-tang(文辉)
291dc41850
docs: update docs (#42425) 2023-05-17 10:39:38 +08:00
lijianan
f1fda002a4
typescript: replace unknown & any with SliderRef (#42420) 2023-05-17 10:06:44 +08:00
kiner-tang(文辉)
7183eab0a9
feat(ColorPicker): close panel when click clear button (#42406)
* feat: close panel when click clear button

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-17 09:58:41 +08:00
lijianan
d7de0d846e
fix: replace hex with ColorFormat.hex (#42423) 2023-05-17 09:57:42 +08:00
github-actions[bot]
c70eb9338f
chore: auto merge branches (#42424)
chore: feature merge master
2023-05-17 01:46:55 +00:00
kiner-tang(文辉)
2274111367
feat(ColorPicker): fix coverage down issue in ColorPicker (#42409)
* chore: test

* feat: optimize code
2023-05-16 23:32:18 +08:00
二货爱吃白萝卜
4460ff4718
fix: Tag with Tooltip should not affact style (#42414) 2023-05-16 22:24:52 +08:00
二货爱吃白萝卜
a3fb7834a7
fix: Card tabList API to align with Tabs (#42413)
* chore: pass to tabs

* test: update snapshot
2023-05-16 22:24:41 +08:00
二货爱吃白萝卜
72bd724308
docs: update TreeSelect faq (#42403) 2023-05-16 17:42:59 +08:00
Alex
8d36dde9b1
refactor(avatar): simplify code (#42402) 2023-05-16 17:16:04 +08:00
yiwwhl
26590f6b35
chore: update variable name from groupSize to contextSize (#42396) 2023-05-16 16:19:14 +08:00
二货爱吃白萝卜
cd71f19d30
fix: Popconfirm onVisibleChange trigger twice (#42393)
* fix: Popconfirm onVisibleChange trigger twice

* chore: fix quota

* chore: back of pkg
2023-05-16 15:40:16 +08:00
二货爱吃白萝卜
49549ae210
fix: Use visible first (#42394) 2023-05-16 15:19:39 +08:00
kiner-tang(文辉)
75e40999cd
feat: color-picker pure panel (#42388) 2023-05-16 14:18:12 +08:00
lijianan
b6fc8604d9
docs: add controlled demo (#42383) 2023-05-16 13:49:59 +08:00
kiner-tang(文辉)
28f2e312bb
docs(color-picker): update docs (#42372)
* docs: update docs

* docs: update docs
2023-05-15 18:44:47 +08:00
kiner-tang(文辉)
70c2aff3bd
docs: update docs (#42367) 2023-05-15 17:22:19 +08:00
红果汁
aeabe74fbc
docs: replace react-color with color-picker (#42350)
* style: fix prettier problem

* docs: add presets label

* style: fix prettier problem

* style: fix prettier
2023-05-15 15:11:05 +08:00
二货爱吃白萝卜
0a81a00771
fix: Preset color block style (#42361)
* fix: Preset color block style

* chore: use token
2023-05-15 14:54:51 +08:00
红果汁
843b89bf75
fix: color-picker review issues (#42356)
* fix: color-picker review issues

* style: fix prettier problem
2023-05-15 13:56:30 +08:00
二货爱吃白萝卜
902d857807
chore: adjust color trans (#42355) 2023-05-15 13:11:21 +08:00
二货爱吃白萝卜
4c3354592c
fix: Popover transition miss (#42352) 2023-05-15 10:48:23 +08:00
lijianan
0470646a5f
refactor: optimize ColorPicker code again (#42334) 2023-05-14 11:47:01 +08:00
bqy_fe
f0c53e11a9
fix(Divider): no dashed line in vertical (#40418)
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-14 11:43:21 +08:00
lijianan
d3093c9096
style: optimize ColorPicker code (#42329)
* style: optimize ColorPicker code

* style: optimize ColorPicker code

* test
2023-05-13 23:05:26 +08:00
qmhc
828db96962
style: optimize ColorPicker code (#42326)
* chore: fix ColorPicker parameters' type

* chore: improve code

* chore: update
2023-05-13 17:34:09 +08:00
不郑
f3be5ddd0e
fix(Progress): prevent warning when size prop is not set for circle p… (#41875)
* fix(Progress): prevent warning when size prop is not set for circle progress

* fix(Progress): add test case for #41875

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-13 16:42:38 +08:00
lijianan
8200e5ccb3
docs: update tag (#42303)
* Update index.zh-CN.md to document tagRender

* fix: fix lint

* docs: update tag
2023-05-13 00:13:35 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
lijianan
f77e2881af
type: type optimization (#42312)
* fix CI

* type: type optimization
2023-05-12 22:48:22 +08:00
MadCcc
448c2b8097
docs: add new component tag (#42309)
* docs: add new component tag

* chore: update

* re-run

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-05-12 17:53:37 +08:00
George Ciobanu
eb122dfb78
docs: Update index.en-US.md to tagRender (#42262)
* Update index.en-US.md to document tagRender

tagRender is currently available but not documented, so users do not know to use it.

* Update index.zh-CN.md

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-12 17:46:13 +08:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext (#42282)
* refactor: add useSize

* fix

* fix

* fix

* fix

* fix
2023-05-12 14:53:47 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +08:00
d32e8e67de
feat(cascader): add Option item disableCheckbox (#42024)
* feat(cascader): add uncheckableItemValues props

* feat: add Option disableCheckbox

* chore: modify md

* chore: add test and lock version

* Update package.json

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2023-05-12 11:53:51 +08:00
Denys Halenok
2be6c47f1b
fix: style not applied to overflowed Menu (#42294)
* fix: style not applied to overflowed Menu

* test: update snapshot
2023-05-12 11:38:38 +08:00
muxin
7d08d71506
doc: update notification api doc (#42239)
* doc: update notification api doc

* doc: add api desc about hooks
2023-05-12 09:53:00 +08:00
二货爱吃白萝卜
31852e1b65
chore: add warning of tip with spin (#42293) 2023-05-12 09:51:44 +08:00
afc163
f3fa3f961b
docs: improve Layout demo code (#42283)
* docs: improve Layout demo code

* chore: fix css rule order
2023-05-11 20:00:00 +08:00
huiwang
da67b481b8
fix: fix Steps size small of CP (#42278)
* fix: fix Steps size small of CP

* fix: update snap
2023-05-11 19:26:04 +08:00
菠萝吹雪
1d9cab6466
feat: add onPopupClick props (#42272)
* feat: add onPopupClick props

* fix: update en-us md

---------

Co-authored-by: pineapple <zhanglongchao@shizhuang-inc.com>
2023-05-11 15:44:55 +08:00
二货爱吃白萝卜
0ead943e1e
feat: Form support validateOnly (#42273)
* feat: support validateOnly

* test: update snapshot
2023-05-11 15:43:00 +08:00
lijianan
e03639691c
feat: add useSize hook (#42252) 2023-05-11 15:24:26 +08:00
红果汁
c76d9fe4f4
feat: Space support ref (#42266) 2023-05-11 12:00:02 +08:00
lijianan
025cdeccc5
fix: master CI fail fix (#42253)
* fix: master CI fail fix

* fix
2023-05-10 17:42:07 +08:00
lijianan
026b74aa0e
fix: add active style (#42249) 2023-05-10 14:56:58 +08:00
Wesley
3a964001e9
style: fix InputNumber out of range style error (#42250)
* fix: inputNumber out of range style does not take effect

* feat: Add test cases for inputnumber
2023-05-10 14:56:46 +08:00
smallbun
c5ab19862a
type: getContainer support return ShadowRoot type (#40206) 2023-05-10 14:37:48 +08:00
huiwang
d0e29d33b7
fix: fix Descriptions size small of CP (#42244) 2023-05-10 14:09:25 +08:00
7de7a8b6e4
fix: Progress throws warning findDOMNode is deprecated in StrictMode (#42241)
* fix: Progress throws warning

* chore: update test

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-10 13:42:12 +08:00
yangyuanxx
a60d55ef10
chore: improved support for generics MenuItemType and MenuItemProps in the Menu component (#42240)
* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component

* docs: update codesandbox link (#42238)

* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component

* chore: add typing test to Menu

---------

Co-authored-by: yangyuan <yangyuan@yangyuandeMacBook-Pro.local>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-10 10:20:17 +08:00
afc163
1a44c461be
docs: update codesandbox link (#42238) 2023-05-09 21:44:05 +08:00
MadCcc
34af3ec550
feat: component token rename (#42184)
* feat: component token naming rules

* dcos: update

* feat: modal token rename

* feat: rename result token

* feat: statsitic token rename

* feat: steps token remane

* chore: update snapshot

* chore: fix lint

* feat: semantic part component

* revert: button & notification

* revert: files

* chore: code clean
2023-05-09 19:24:50 +08:00
二货爱吃白萝卜
917e41ecc5
docs: update faq (#42233) 2023-05-09 19:09:21 +08:00
二货爱吃白萝卜
5904f80a9a
feat: DatePicker support changeOnBlur (#42168)
* docs: update docs

* chore: fix lint

* chore: bump rc-picker

* docs: timepicker docs

* chore: update ignore
2023-05-09 18:00:44 +08:00
菠萝吹雪
0e94620a74
feat: Added bgColor attribute to fix the problem that the background c… (#42214)
* fix: Added bgColor attribute to fix the problem that the background color of the QR code is displayed incorrectly when downloading

* chorn: update snap

* fix: 新增版本号

* fix: update snap

* fix: 去除多余代码

* fix: update snap

---------

Co-authored-by: pineapple <zhanglongchao@shizhuang-inc.com>
2023-05-09 17:24:28 +08:00
github-actions[bot]
7a3e697c11
chore: auto merge branches (#42231)
chore: sync master into feature
2023-05-09 08:42:14 +00:00
qi gao
492dbbec38
fix: enhance tag type (#42235)
Co-authored-by: gaoqi <gaoqi@onething.net>
2023-05-09 16:01:17 +08:00
Ec-tracker
24dd5351e9
fix: Space.Compact not work with CP component size (#42199)
* test(space): add test cases

* fix(Space.Compact):  fix the size is not inherited from ConfigProvider when the componentSize is set

* test(Space.Compact): move Space.Compact test cases to the corresponding folder

* test: update snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-09 11:18:23 +08:00
52d91cec3f
fix(style): keep checkbox.group style the same as v4 (#42103)
* fix(style): keep checkbox.group style the same as v4

* fix(style): flex-wrap and colgap

* chore: change style grid same as v4

* fix: lint

* chore: add token

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-09 10:09:20 +08:00
二货机器人
023f4ddab5 test: update snapshot 2023-05-09 00:30:55 +08:00
二货机器人
4e311f0d95 test: update snapshot 2023-05-08 23:47:41 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point (#42225)
* chore: align motion follow popup point

* test: update snapshot
2023-05-08 23:28:13 +08:00
MaHui
4271ff0976
fix: Popover display empty div when title and content is null (#42217)
* fix: Popover display empty div when title and content is null

* test: Popover add test

* lint: remove useless block statement

---------

Co-authored-by: MaHui <mahuiyoung@cmbchina.com>
2023-05-08 19:33:34 +08:00
github-actions[bot]
bb496fc833
chore: auto merge branches (#42221)
chore: feature merge master
2023-05-08 11:15:52 +00:00
yoyo837
8426446e4c Merge branch 'master' into feature-merge-master 2023-05-08 18:43:14 +08:00
二货爱吃白萝卜
711c9d6754
chore: fix ts def (#42218)
* chore: fix ts def

* chore: fix ts
2023-05-08 17:37:04 +08:00
Wesley
4e05f084ab
fix: Icon styles for inputs are incorrect in Space Compact mode. (#42167)
* fix: Icon styles for inputs are incorrect in Space Compact mode.

* docs: add demo for snapshot compare

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-08 14:03:54 +08:00
二货爱吃白萝卜
8c725caa73
chore: fix Pagination size small of CP (#42206) 2023-05-08 11:21:20 +08:00
tangzixuan
9d52c5810e
feat: add form i18n about bg language (#42203) 2023-05-08 10:22:14 +08:00
huangkairan
7006b3799c
fix(card): tab size extend card size(#42176) (#42183) 2023-05-07 17:44:36 +08:00
Ylg12345
08e8e66fe6
feat: add onClick prop in Table.Summary.Row (#42175)
* feat: add onclick prop in Table.Summary.Row

* revocation summary.md and summary.tsx changes

* change the way INTERNAL_HOOKS are exported

* update rc-table version and INTERNAL_HOOKS export issue

* update renderVirtualList type in virtual-list.tsx

* reduce diff
2023-05-07 17:30:03 +08:00
Dunqing
699cec0c91
docs: use uniform naming (#42200) 2023-05-07 17:28:33 +08:00
github-actions[bot]
09f86bf0ce
chore: auto merge branches (#42193)
chore: feature merge master
2023-05-06 11:45:47 +00:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
Dunqing
8215910cf7
feat(Table): support onCell in rowSelection (#36187)
* feat: support onCell in rowSelection

* fix: add onCell test

* docs: update onCell related documentation

* fix: format

* fix: repeat import

* Update More.tsx

* fix: revert

* fix: revert again

* fix: revert again

* fix: revert again

* fix: revert again

* Update index.zh-CN.md

* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2023-05-06 15:24:22 +08:00
github-actions[bot]
8f6bf13b8c
chore: auto merge branches (#42174)
chore: feature merge master
2023-05-06 06:20:03 +00:00
ZhuoYang Wu(阿离)
1d12235989
fix(input): textarea style bug (#41469)
Co-authored-by: Ali <ali.wu@miotech.com>
2023-05-06 14:15:28 +08:00
XiaoPi
aff6314d11
fix: remove useless reexport of statistic (#42113) 2023-05-06 13:49:34 +08:00
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
cheapCoder
af0f8904b2
fix(style): keep Spin's container height the same as son element (#42162)
* fix(style): keep Spin's container height the same as the icon son element

* fix(style): update fontSize override way similar to radio group
2023-05-06 00:25:46 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
afc163
1401541813
fix: margin between menu item and submenu title (#42160)
close https://github.com/ant-design/ant-design/issues/42159
2023-05-05 19:04:08 +08:00
Christian Wallenwein
e9db1071d6
docs: Update documentation of Input and Input.TextArea (#42118) 2023-05-05 14:47:18 +08:00
Yanghc
8082985056
docs: update InputNumber documentation (#42151)
* doc: 修改文案

* Update index.zh-CN.md

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-05 13:48:34 +08:00
Wuxh
6d0acb0518
fix: Upload disable state logic (#42102)
* chore(typo): update

* test(upload): add case

* fix: Upload disable state logic

* test: remove case

* chore: remove unused
2023-05-04 17:03:04 +08:00
kiner-tang(文辉)
380f5d0adb
feat: migrate less to token for Result (#42081) 2023-05-04 16:29:50 +08:00
kiner-tang(文辉)
5e4e9970dc
feat: migrate less to token for Drawer (#42084) 2023-05-04 15:38:07 +08:00
kiner-tang(文辉)
70c76b737f
feat: migrate less to token for Statistic (#42083) 2023-05-04 15:37:10 +08:00
kiner-tang(文辉)
18b7d1be5b
feat: migrate less to token for Message (#42080) 2023-05-04 15:33:49 +08:00
kiner-tang(文辉)
629087833f
feat: migrate less to token for Notification (#42079)
* feat: migrate less to token for Notification

* feat: migrate less to token for Notification

* docs: update docs

* docs: update docs

* docs: update docs

* docs: update docs

* docs: update docs
2023-05-04 15:33:16 +08:00
MadCcc
4cf6f1b83b
feat: Button support buttonFontWeight (#42121) 2023-05-04 13:39:38 +08:00
github-actions[bot]
a83d2d7e7d
chore: auto merge branches (#42127)
chore: feature merge master
2023-05-04 03:30:50 +00:00
黑雨
8e4bbd9c92
feat: migrate less to token for Step (#42065) 2023-05-04 02:09:57 +08:00
MadCcc
e18400a554
chore: bump rc-dropdown (#42013)
* chore: update snapshot

* chore: update placement

* chore: postProps

* chore: update snapshot

* test: update table test case

* chore: update pure-panel style

* chore: update snap
2023-04-29 11:13:53 +08:00
lijianan
7b1c3990eb
chore: Migrate CJS to ESM (#42077)
* chore: Migrate CJS to ESM

* clear
2023-04-29 10:43:06 +08:00
lijianan
f580ac85cf
type: remove useless type (#42054) 2023-04-28 16:09:14 +08:00
lijianan
c9bac13bc8
chore: Migrate CJS to ESM (#41809)
* add devDependencies

* rerun ci

* rerun ci

* update

* update

* fix

* chore: update

* fix

* fix

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-28 14:32:23 +08:00
二货爱吃白萝卜
78e9d58ef1
fix: Breadcrumb itemRender not remove link even path is provided (#42049)
* refactor: out of bread item render

* refactor: fix too filled

* fix: render logic

* test: add test case

* fix: ts

* fix: test
2023-04-27 22:43:42 +08:00
lijianan
4ecac35a29
chore: use composeRef(ref, internalRef) replace ref || internalRef (#42036)
* chore: use composeRef replace ref || internalRef

* style

* revert
2023-04-27 17:31:32 +08:00
Simon He
901957cf02
perf(anchor): reduce unnecessary calculations (#42018) 2023-04-27 15:27:55 +08:00
二货爱吃白萝卜
9a6aaac0c0
fix: Transfer controlled mode warning (#42033)
* test: test driven

* fix: warning of state update

* fix: invert error
2023-04-27 11:48:57 +08:00
MadCcc
3e921d707c chore: update snapshot 2023-04-27 11:15:58 +08:00
MadCcc
9e1934248b Merge branch 'master' into feature-merge-master 2023-04-27 10:16:07 +08:00
MadCcc
f89c97b488
feat: Modal Component Token (#42000)
* feat: Modal Component Token

* chore: code clean

* docs: less to component token

* docs: update

* chore: clean

* chore: clean

* docs: add alert
2023-04-26 21:55:58 +08:00
Simon He
40a1e5e4d1
perf(affix): reduce unnecessary calculations (#42015) 2023-04-26 19:58:59 +08:00
Wuxh
f6c661ef5a
chore(typo): improve typescript declaration (#41907)
* chore(typo): improve typescript declaration

* Revert "chore(typo): improve typescript declaration"

This reverts commit d340911992.

* chore(typo): improve typescript declaration

* Update components/theme/interface/components.ts

* Update components/theme/index.ts

* Update components.ts
2023-04-26 14:53:23 +08:00
ayang
e5fad4c2d6
style: optimize button code (#42005) 2023-04-26 14:52:21 +08:00
afc163
3a5413315d
style: fix Table border and radius issues (#41985)
* style: fix Table border details

* style: fix Table border details
2023-04-25 23:17:20 +08:00
afc163
709e910fd0
style: fix Layout.Sider and Menu transition style (#41993)
close #41911
close #41987
2023-04-25 22:53:14 +08:00
sexnmaa
ab5ebb0278
demo: improve Select demo (#41986)
Co-authored-by: songzihao <zihao.szh@digital-engine.com>
2023-04-25 22:34:23 +08:00
Wuxh
4d0f399f0b
fix(NumberInput): fontSize error (#41983) 2023-04-25 18:58:52 +08:00
GUAN MING
2b98068d17
fix: Adds aria-* to TreeSelect (#41978)
* fix: Adds aria-label to TreeSelect

* test: add aria-label test for TreeSelect

* test: update aria-label test for TreeSelect

* fix: support aria-*

* fix: aria attributes type definition
2023-04-25 15:27:00 +08:00
Alexis Sniffer
b27c000d13
fix: Responsive Col don't support 'flex' prop in ColSize (#41962)
Responsive Col don't support 'flex' prop in ColSize #28961
2023-04-25 10:32:56 +08:00
GUAN MING
9db1ae1a7e
fix: Carousel GoTo is ignored if animation is in progress (#41969)
* refactor: rewrite with waitForAnimate

* docs: update Carousel docs

* test: add waitForAnimate test
2023-04-25 10:08:35 +08:00
kiner-tang(文辉)
b31bec59af
fix: validated should be reset when trigger reset event (#41976) 2023-04-25 09:58:57 +08:00
GUAN MING
2aa80491b1
docs: modify the doc of Form.Item messageVariables (#41959) 2023-04-24 10:16:19 +08:00
ayang
9c4034a164
style: optimized code (#41957) 2023-04-23 23:38:52 +08:00
JiaQi
a573dde6ed
fix(Anchor): onChange method is not updated (#41934) 2023-04-23 19:59:29 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion (#41856)
* feat: Add motion off

* chore: update motion seed

* chore: all motion disabled

* test: add test case

* chore: fix lint

* chore: fix cov

* chore: fix motion of Switch & Segemented

* test: ignore empty
2023-04-23 15:42:36 +08:00
lijianan
99f0db6ea6
docs: update demo (#41946)
* docs: update demo

* demo: delete div
2023-04-23 11:23:08 +08:00
JiaQi
3fcf9de2b6
fix(tree): Draggable tree title is not aligned when the text is wrapped (#41928) 2023-04-23 09:06:07 +08:00
Wuxh
88a9ba3893
fix: add reset style to inputNumber (#41940) 2023-04-23 09:05:11 +08:00
lijianan
6612e5c617
style: code optimization (#41935) 2023-04-22 16:58:00 +08:00
JiaQi
40fb753349
fix(Tree): Checkbox and title do not align (#41920) 2023-04-21 14:59:32 +08:00
二货爱吃白萝卜
5ea9ea8e6a
fix: DatePicker PurePanel placement (#41901)
* fix: DatePicker PurePanel placement

* chore: fix type
2023-04-19 23:07:47 +08:00
二货爱吃白萝卜
fdb1a4a837
fix: dynamic useApp CP theme (#41899)
* fix: useApp style wrapper

* fix: adjust style injection

* fix: lint
2023-04-19 22:05:58 +08:00
MadCcc
40b7aaf991
fix: arrow compatible (#41872) 2023-04-19 15:53:42 +08:00
二货爱吃白萝卜
0dc3c417ca
test: fixed generateCalendar time for snapshot stable (#41881) 2023-04-19 14:23:29 +08:00
iola1999
26555fcd12
fix: tour arrow color (#41761)
* fix: tour arrow color

* test: updte

* fix: duplicate class name

* test: update snapshot

* chore: speedup

* fix: update current step props by onChange

* chore: optimization

* fix: props.current may change

* chore: save

* test: coverage

* chore: optimization

* chore: add useMergedType

* chore: save

* chore: optimization

* chore: optimization

* chore: optimization

* chore: move file

* refactor: useMergedType hook

* chore: save

* chore: optimization

* test: ci

* chore: remove useMemo

* chore: use nullish coalescing operator

* chore: rename setInnerCurrent to updateInnerCurrent
2023-04-19 13:13:50 +08:00
dependabot[bot]
faffd45d57
chore(deps-dev): bump immer from 9.0.21 to 10.0.1 (#41857)
* chore(deps-dev): bump immer from 9.0.21 to 10.0.1

Bumps [immer](https://github.com/immerjs/immer) from 9.0.21 to 10.0.1.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v9.0.21...v10.0.1)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-04-19 12:15:21 +08:00
afc163
107a28fa94
demo: fix Deprecated usage in form demo (#41860)
* demo: fix Deprecated usage in form demo

* test: update snapshot

* test: update snapshot
2023-04-19 11:56:15 +08:00
二货机器人
9ea790d0d5 test: fix snapshot 2023-04-19 11:54:46 +08:00
二货机器人
f60e116503 Merge remote-tracking branch 'origin/master' into feature-merge-master 2023-04-19 11:22:32 +08:00
二货爱吃白萝卜
a5d420b941
chore: bump motion (#41873)
* chore: bump motion

* test: update snapshot

* test: update snapshot
2023-04-19 11:22:09 +08:00
二货机器人
fe3ff7aa8a test: update snapshot 2023-04-18 18:07:10 +08:00
二货机器人
a38e69a4f0 test: update snapshot 2023-04-18 17:49:54 +08:00
MadCcc
6bea67fb03 Merge branch 'master' into feature-merge-master 2023-04-18 11:35:41 +08:00
MadCcc
df6c82f027
test: fix typo test case (#41850)
* test: fix typo test case

* test: update snapshot
2023-04-18 11:35:07 +08:00
MadCcc
20ad2eb974 chore: update snapshot 2023-04-17 19:57:03 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
二货爱吃白萝卜
099b0fc52a
docs: adjust form diabled demo (#41839) 2023-04-17 14:33:11 +08:00
Kiyan
0bcdce0cd7
fix: FloatButton findDOMNode is deprecated in StrictMode. (#41833)
* fix: FloatButton findDOMNode is deprecated in StrictMode.

* revert basic.tsx
2023-04-17 10:37:15 +08:00
afc163
7cd9b90b94
demo: improve Layout trigger style (#41827)
* demo: improve Layout trigger style

* test: update snapshot
2023-04-16 16:13:42 +08:00
afc163
49519a37af
style: remove Layout.Sider transition (#41828) 2023-04-16 16:10:21 +08:00
Amumu
6f2a829621
chore: rc-trigger move to dev depds (#41808)
* chore: rc-trigger move to dev depds

* test: fix type

* ci: lock react-sticky-box@2.0.0
2023-04-14 16:50:07 +08:00
Amumu
e6300a56c6
docs: update docs for showArrow (#41796)
* docs: update docs for `showArrow`

* docs: update
2023-04-13 21:14:13 +08:00
aaarichter
816e250c8f
fix: typo in deDE (#41780)
Co-authored-by: Andreas Richter <andreas.richter2@qbeyond.de>
2023-04-12 22:25:07 +08:00
二货爱吃白萝卜
308f486d58
feat: DatePicker & Calendar export generate function directly (#41773)
* feat: DatePicker.gen support

* test: update snapshot

* docs: update docs
2023-04-12 17:20:08 +08:00