Commit Graph

16635 Commits

Author SHA1 Message Date
daisy
86833b9768
demo(Tabs): tab size should not change when dragging (#43786)
* demo(Tabs): tab size should not change when dragging

* demo: update
2023-07-25 19:47:45 +08:00
thinkasany
f78f7bfef9
chore(form): code style optimization (#43793)
* chore(form): code style optimization

* fix: add type CSSMotionProps

* Update ErrorList.tsx

* Update FormItemLabel.tsx

* Update FormItemLabel.tsx
2023-07-25 19:47:05 +08:00
github-actions[bot]
0e08e13062
chore: auto merge branches (#43792)
chore: Feature merge master
2023-07-25 09:03:11 +00:00
二货爱吃白萝卜
fcfbb9a205
feat: pass autoAdjustOverflow to Slider tooltip (#43788)
* feat: pass autoAdjustOverflow to Slider tooltip

* test: update test case
2023-07-25 16:39:54 +08:00
二货机器人
fcce7c3fdb chore: merge master 2023-07-25 16:32:15 +08:00
二货爱吃白萝卜
8b19102b0d
feat: wave effect config (#43784)
* feat: support wave effect

* docs: more info

* test: add test case

* docs: update demo

* test: coverage
2023-07-25 16:29:47 +08:00
kiner-tang(文辉)
bc05a48cf5
feat: Cascader support customize clear button (#43776)
* feat: AutoCOmplete support customize clear button

* feat: update snapshots

* feat: update snapshots

* feat: reset prettier format

* docs: update docs

* feat: reset prettier format

* docs: update docs
2023-07-25 15:20:04 +08:00
lijianan
d34b4e1e15
feat: Transfer support custom dropdown Icon (#43773)
* feat: Transfer support custom dropdown Icon

* fix

* fix

* test: add test case

* rename
2023-07-25 14:05:52 +08:00
二货爱吃白萝卜
8523808c55
docs: update tooltip faq (#43774) 2023-07-25 11:38:38 +08:00
二货爱吃白萝卜
d855eaf2a5
fix: Select like dropdown motion (#43764)
* fix: Select like dropdown motion

* test: update snapshot

* test: update snapshot
2023-07-25 10:54:58 +08:00
kiner-tang(文辉)
b4035b09b1
feat: AutoComplete support customize clear button (#43745)
* feat: AutoCOmplete support customize clear button

* feat: update snapshots

* feat: update snapshots

* feat: reset prettier format

* feat: reset prettier format
2023-07-25 10:00:23 +08:00
afc163
1e68b89a87
chore: update Tooltip arrowPointAtCenter deprecated warning (#43761) 2023-07-24 18:28:58 +08:00
lijianan
127f56073b
fix: use theme token (#43754) 2023-07-24 16:05:40 +08:00
Khalifa Lame
5112817296
fix: Layout.Header accessibility role (#43749)
* fix: Layout.Header accessibility role

* test: update snapshots

* fix: type mismatch

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-07-24 15:38:55 +08:00
afc163
05f9677df7
site: improve a11y score in ant.design site (#43751) 2023-07-24 15:38:49 +08:00
github-actions[bot]
8b7c6834fb
chore: auto merge branches (#43746)
chore: merge master into feature
2023-07-24 06:40:39 +00:00
daisy
0c9653f5fb
fix: placement should be center when target is null (#43694)
* fix: placement should be center when target is null

* test: update snapshot
2023-07-24 11:42:18 +08:00
lijianan
1fea8dcb09
chore: code style optimization (#43723)
* chore: code style optimization

* Update progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-23 10:12:05 +08:00
Fly me to the moon
9faee0fbca
chore: code style optimization (#43722)
* code style optimization

* fix

* fix

* Update components.test.tsx.snap

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-22 19:07:57 +08:00
github-actions[bot]
8d75751dce
chore: auto merge branches (#43721)
chore: merge master into feature
2023-07-22 06:00:11 +00:00
erhu
ca75c697fc
chore: code style optimize (#43719)
* chore: private purePanel

* fix: type error

* fix: type
2023-07-22 12:18:17 +08:00
erhu
5104bf9981
type: breadcroumb use AnyObject (#43717)
* fix: breadcroumb use AnyObject

* fix: 显示声明import type

* style: 修改代码格式
2023-07-22 01:31:16 +08:00
二货爱吃白萝卜
66c686ed16
fix: btn miss type (#43716) 2023-07-21 23:36:11 +08:00
originRing
e85a0d73a6
docs(qrcode): download demo add background color (#43645) 2023-07-21 17:36:33 +08:00
MadCcc
cbf2703b02
docs: performance enhance (#43705)
* docs: performance enhance

* chore: update snapshot
2023-07-21 17:14:54 +08:00
Fly me to the moon
ab8e10d2c6
type: ref type optimization (#43703)
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-21 15:49:16 +08:00
lijianan
c8b74859ca
chore: fix eslint errors (#43693)
* fix: fix master CI fail

* fix: fix master CI fail

* test: fix test case
2023-07-21 12:33:05 +08:00
daisy
d6fe1355a9
docs: horizontal scroll FAQ for TreeSelect (#43692) 2023-07-21 11:04:11 +08:00
daisy
9bc006c125
demo: remove emotion (#43682)
* demo: remove emotion

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-20 19:27:11 +08:00
lijianan
729ce75fb7
fix: @internal Internal Component type Error (#43687) 2023-07-20 19:21:46 +08:00
afc163
b1f8fb1236
type: remove type ghost from ButtonTypes (#43675)
* type: remove type ghost from ButtonTypes

Signed-off-by: afc163 <afc163@gmail.com>

* chore: fix DropdownButtonType

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-07-20 17:59:35 +08:00
二货爱吃白萝卜
4de4367706
fix: Button default event handler (#43666)
* test: test driven

* fix: types

* chore: post script
2023-07-20 09:46:26 +08:00
github-actions[bot]
b90aac7d28
chore: auto merge branches (#43662)
chore: merge master into feature
2023-07-19 15:01:49 +00:00
MuxinFeng
084f234bc9
refactor: Select deprecated showArrow prop (#43520)
* refactor: remove showArrow prop

* fix: optimize iconUtil

* refactor: refactor tree-select&cascader

* docs: update api docs

* test: add test

* fix: update warning

* chore: update dep version

* test: update test
2023-07-19 20:27:09 +08:00
MadCcc
473130fe32
fix: menu style (#43656) 2023-07-19 18:52:07 +08:00
AKing
8a4621c72d
fix: uniformly set height and border on inputs (#43548) 2023-07-19 17:23:45 +08:00
MadCcc
5eb9f5db9b
fix: suffix icon should not use colorTextDisabled (#43646) 2023-07-19 14:44:39 +08:00
二货爱吃白萝卜
04e729d14a
fix: Steps keyboard switch (#43644) 2023-07-19 13:39:26 +08:00
afc163
2285b5e87e
docs: update changelog and add timeout for test case (#43642) 2023-07-19 11:49:57 +08:00
xliez
48becf9cb1
docs(form): update faq for scrollToFirstError (#43640)
* docs(form): update faq for scrollToFirstError

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: xliez <xliez@foxmail.com>

---------

Signed-off-by: xliez <xliez@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-19 11:23:13 +08:00
MadCcc
edd15aaa4c
type: use ValueType from rc-input-number (#43635) 2023-07-19 11:01:14 +08:00
二货爱吃白萝卜
a9bceec602
fix: Button ts (#43629) 2023-07-18 23:59:53 +08:00
二货爱吃白萝卜
ca9c7c7e30
fix: Indeterminate & checked style (#43626) 2023-07-18 21:15:58 +08:00
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +08:00
二货爱吃白萝卜
1c14a684fe
fix: label empty str line break (#43614)
* fix: label empty str line break

* chore: comment it
2023-07-18 14:41:43 +08:00
lijianan
f438c133ff
type: React.forwardRef type optimization (#43610)
* type: React.forwardRef type optimization

* fix

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint
2023-07-18 12:18:51 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
红果汁
ecb36840bf
feat: Descriptions implement items API (#43483)
* feat: descriptions implement items api

* docs: add jsx debug demo

* refactor: add useRow hook

* Update components/descriptions/index.tsx

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* fix: decrease in coverage

* refactor: enhancement code

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
2023-07-17 14:48:03 +08:00
lijianan
d178eee50a
type: replace any type with CheckboxRef (#43599) 2023-07-17 12:40:52 +08:00
kiner-tang(文辉)
9ddad8662a
feat: update demo about cell-render in date-picker (#43597) 2023-07-17 12:18:41 +08:00
Rajil Bajracharya
e825e781de
fix: notification placement via app component (#43522)
* fix: respect notification placement in App

* style: sort imports

* fix: prioritize global config

Fixes regression on global config test from previous change

* test: check if notification placement works

* lint: use consistent-type-import

* style: remove extra new lines in import block

* docs: update config demo

* chore: fix lint

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-07-17 11:30:06 +08:00
MadCcc
74c7d207c1
refactor: menu component token (#43576)
* docs: update examples link

* refacor: menu component token

* chore: update demo

* chore: update test case

* fix: token

* chore: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* chore: fix lint

* refactor: more token

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-07-17 10:13:22 +08:00
thinkasany
fc83371a00
type(button): add style type React.CSSProperties (#43588) 2023-07-16 18:30:15 +08:00
thinkasany
a7400d6e34
type: optimize type auto-complete mode (#43581) 2023-07-15 20:41:04 +08:00
kiner-tang(文辉)
99c4c381a9
docs: remove document about allowClear in slider because the api does not exist (#43580) 2023-07-15 20:31:16 +08:00
lijianan
94541eda67
fix: add NODE_ENV for Icon warning (#43574) 2023-07-15 16:03:53 +08:00
github-actions[bot]
b0d69a6878
chore: auto merge branches (#43575)
chore: merge master into feature
2023-07-15 07:15:54 +00:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/list/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/qrcode/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/steps/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/time-picker/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/transfer/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/tree-select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
二货爱吃白萝卜
4f099742b8
enhance: auto align logic (#43556)
* enhance: auto align logic

* test: update snapshot

* chore: update snapshot

* chore: fix demo
2023-07-15 10:14:58 +08:00
kiner-tang(文辉)
6b924029f1
demo: set button type in alert demo (#43567)
* fix: set button type in alert ghost button

* fix: set button type in alert ghost button

* feat: update snapshots
2023-07-14 19:36:36 +08:00
kiner-tang(文辉)
ef7b6e888b
fix: resolve ghost button lose disabled state when use type='ghost' (#43558) 2023-07-14 17:05:59 +08:00
thinkasany
c51031ae53
type: optimize type (#43545)
* type: optimize type

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-14 13:25:15 +08:00
Albert E. Hidalgo Taveras
860e58ee6f
demo: use closable prop (#43542)
* Update closable.tsx

Added `closable` prop

Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-14 13:09:54 +08:00
morning-star
677f7a79a7
chore: fix typo (#43549)
Signed-off-by: morning-star <Chenguangstart@outlook.com>
2023-07-14 13:05:01 +08:00
JiaQi
25acc479f0
fix(Tag): renders excess content when passing only the icon (#43518)
* fix: add judgment

* chore: add test case
2023-07-13 09:43:35 +08:00
thinkasany
82e5555ff3
chore: code style optimization (#43497)
* chore: code style optimization

* revert: 直接解构, 不用 props

* chore: fix classNames useless boolean

* fix: remove classname useless boolean

* fix: revert delete progress classnames boolean
2023-07-13 01:46:56 +08:00
红果汁
c377457104
feat: ColorPicker implement disabledAlpha API (#43355)
* feat: implement disabledAlpha api

* refactor: add genAlphaColor and optimization code

* chore: clean code

* refactor: add warning and optimization code

* chore: clean code

* docs: modify version number

* fix: fix prettier
2023-07-12 19:42:33 +08:00
VovkaGoodwin
c683c50bdd
type: changed import type to common import (#43501)
Co-authored-by: Vladimir Radko <volodya.radko@gmail.com>
2023-07-12 13:39:30 +08:00
炒米粉
8a7f8d0a88
docs: corrected a mistake of a demo description. (#43499) 2023-07-12 11:59:47 +08:00
github-actions[bot]
493b66b641
chore: auto merge branches (#43498)
chore: merge master into feature
2023-07-12 02:48:16 +00:00
红果汁
3e5a392f73
docs: Form add ColorPicker demo (#42880)
* docs: form add color-picker demo

* test: update snapshot

* fix: color-picker support form

* perf: optimize code logic

* refactor: optimize code

* test: update snapshot

* test: update snap

* test: update snap

* chore: fix prettier

* chore: fix prettier
2023-07-12 10:15:04 +08:00
daisy
9f509d3be9
demo: adjust image toolbarRender (#43496) 2023-07-12 09:43:51 +08:00
kang
bac7ee3fdb
docs: sync slider docs translation (#43296) 2023-07-11 23:03:40 +08:00
lijianan
2d9f7de524
chore: code style optimization (#43478)
* chore: code style optimization

* add type
2023-07-11 23:01:17 +08:00
MadCcc
36f195d411
chore: enhance PanelPresets type (#43486)
* docs: update examples link

* type: fix typescript error

* chore: code clean
2023-07-11 22:36:40 +08:00
thinkasany
bbfaa9a9bb
fix: Remove the default value of the empty string (#43481) 2023-07-11 14:57:04 +08:00
thinkasany
5ce9818401
chore: code style optimization (#43475) 2023-07-11 11:20:11 +08:00
thinkasany
a92d20e06e
type: remove useless assertion (#43474) 2023-07-11 10:44:18 +08:00
afc163
39151c612b
fix: Upload progress bar fade motion (#43471)
close #43229
2023-07-11 10:06:09 +08:00
二货爱吃白萝卜
b072d3a02c
feat: Modal hooks confirm function support await (#43470)
* docs: move demo to useModal

* docs: reorder

* chore: update ts def

* test: test case

* chore: fix compile
2023-07-11 09:58:25 +08:00
vagusX
46db582197
Merge branch 'master' into feature 2023-07-10 16:10:15 +08:00
红果汁
e72a7836f4
feat: ColorPicker Implement onChangeComplete API (#43370)
* feat: implement onChangeComplete api

* docs: add change completed demo

* perf: optimization code
2023-07-10 13:37:43 +08:00
MadCcc
5094710a2e
fix: add deprecated token warning (#43461) 2023-07-10 10:36:35 +08:00
EMpersonal
4154dafaa1
fix: some browser may not repaint when remove nodes (#43358)
Co-authored-by: sunliangmu <sunliangmu@sensorsdata.cn>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-10 10:06:52 +08:00
栗嘉男
0e47a7673e Merge branch master into master-merge-feature 2023-07-09 18:26:06 +08:00
thinkasany
efa427072a
chore: code style optimization (#43458) 2023-07-09 16:47:31 +08:00
thinkasany
b139dec663
chore: code style optimization (#43457)
* chore: Code style optimization

* style: code optimize
2023-07-09 13:34:59 +08:00
thinkasany
cea3c72a09
type: add RawPurePanelProps interface (#43453)
* type(popover): add RawPurePanelProps interface

* fix: optimize
2023-07-08 21:48:52 +08:00
thinkasany
56e6102523
type: replace unknown with TooltipRef (#43452) 2023-07-08 19:47:54 +08:00
liyunhe
2cb72a7fc0
demo: Update for Resolving deprecation of findDOMNode in StrictMode (#43451)
Resolving deprecation of findDOMNode in StrictMode

References: https://github.com/react-grid-layout/react-draggable/blob/master/CHANGELOG.md#440-may-12-2020

Signed-off-by: kookieaz <yunhe9337@gmail.com>
2023-07-08 18:55:26 +08:00
Fly me to the moon
dcb4611e25
type: replace unknown with TooltipRef (#43450)
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 17:39:59 +08:00
Fly me to the moon
a998569adb
test: optimization type in test case (#43449)
* test: optimization type in test case

* fix lint

---------

Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 15:45:28 +08:00
栗嘉男
6d547cac34 Merge branch master into feature-merge-master 2023-07-07 23:28:35 +08:00
thinkasany
9b03ce476d
type: remove unnecessary code (#43439) 2023-07-07 21:42:26 +08:00
JiaQi
e86e5e5000
feat: ConfigProvider support DatePicker & TimePicker className and style properties (#43418) 2023-07-07 19:02:55 +08:00
Jomorx
2f0c82f59d
fix: Slider tooltip text not align center (#43430)
* style: support centering text in tooltip in slider

* fix: formatting code
2023-07-07 18:58:54 +08:00
ZhuoYang Wu(阿离)
7d9429ba75
fix: TreeSelect selected item not fit dropdown width (#43413)
Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
2023-07-07 18:58:20 +08:00
daisy
266e60aa95
fix(Card): should show tab when tabList is empty (#43416)
* fix(Card): should show tab when tabList is empty

* test: add case

* test: adjust case
2023-07-07 17:29:01 +08:00
thinkasany
a4d01a5a17
type(select): supplementary mode type (#43413) 2023-07-07 15:00:15 +08:00
lijianan
890316fc35
type: replace unknown with CheckboxRef (#43424) 2023-07-07 13:34:51 +08:00