Commit Graph

16222 Commits

Author SHA1 Message Date
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 d34091199292c9699552e0b8adf0b222ceee5940.

* 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