Commit Graph

16533 Commits

Author SHA1 Message Date
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
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
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
红果汁
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
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
daisy
1ef07e97ba
feat(Image): modify layout and support closeIcon、PreviewGroup fallback (#43167)
* feat(Image): modify layout and support closeIcon、PreviewGroup fallback

* docs: modify text

* style: add skip right

* chore: update snapshot

* fix: disabled hover

* fix: lint error

* style: close icon transition

* docs: # link

* demo: update demo

* demo: add comment

* demo: remove comment
2023-07-07 09:54:19 +08:00
JiaQi
86d334baee
feat: ConfigProvider support Carousel className and style properties (#43412) 2023-07-07 09:30:37 +08:00