Commit Graph

16575 Commits

Author SHA1 Message Date
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
thinkasany
f566e3b24b
type: supplementary React.FC type (#43410)
* type: supplementary React.FC  type

* fix: remove useless code

* revert: remove useStyle

* revert: card-top

* Update card-top.tsx
2023-07-06 23:54:03 +08:00
github-actions[bot]
bf960bed60
chore: auto merge branches (#43420)
chore: merge master into feature
2023-07-06 15:26:20 +00:00
JiaQi
005575c5cd
feat: ConfigProvider support Statistic className and style properties (#43408) 2023-07-06 21:54:54 +08:00
黄庄妮
fd8a9884f0
docs: fix Table api description (#43407) 2023-07-06 19:02:02 +08:00
二货爱吃白萝卜
9fdf12ea47
docs: add getFieldsValue faq (#43405) 2023-07-06 17:51:38 +08:00
二货爱吃白萝卜
588ee4cac2
docs: Add motion & dropdown faq (#43403)
* docs: motion usage case

* docs: faq

* docs: update
2023-07-06 16:14:11 +08:00
Wuxh
70abc90afd
fix: ConfigProvider merge form validateMessages not inheriting from parent bug (#43239)
* test(CP): add Form unit case

* fix:  `ConfigProvider ` merge form validateMessages not inheriting from parent bug
2023-07-06 15:33:33 +08:00
二货爱吃白萝卜
a7f14e7190
fix: tag position of wave (#43402) 2023-07-06 14:30:18 +08:00
thinkasany
749aea08d4
type: use React.ReactElement<any> replace any (#43397) 2023-07-06 11:01:14 +08:00
JiaQi
1662af5c51
feat: ConfigProvider support Drawer className and style properties (#43396) 2023-07-06 10:42:13 +08:00
JiaQi
36c3d36f02
feat: ConfigProvider support Timeline className and style properties (#43392) 2023-07-06 10:27:39 +08:00
JiaQi
6dad4144e7
feat: ConfigProvider support Collapse className and style properties (#43390) 2023-07-06 09:45:25 +08:00
azro352
7ba53e1a0e
docs: patch descrption missing type for column (#43388)
* Update index.en-US.md

* Update index.zh-CN.md

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>

---------

Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-06 09:44:11 +08:00
JiaQi
34ea912e22
feat: ConfigProvider support List className and style properties (#43387) 2023-07-06 09:43:03 +08:00
JiaQi
09c0840a6b
feat: ConfigProvider support Calendar className and style properties (#43385) 2023-07-06 09:38:21 +08:00
JiaQi
2d4708b3bd
feat: config-provider support transfer className and style properties (#43063) 2023-07-06 09:36:45 +08:00
JiaQi
3f785909df
feat: ConfigProvider support Alert className and style properties (#43384) 2023-07-06 09:33:54 +08:00
thinkasany
97735dd903
docs: fix desc text (#43393) 2023-07-06 01:31:17 +08:00
JiaQi
3aedb2f4e8
feat: ConfigProvider support Menu className and style properties (#43382) 2023-07-05 19:48:33 +08:00
JiaQi
74f078a3a8
feat: ConfigProvider support Progress className and style properties (#43340) 2023-07-05 19:21:56 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches (#43378)
chore: merge master into feature
2023-07-05 10:16:04 +00:00
JiaQi
f1f5fe3846
feat: config-provider support skeleton className and style properties (#43062) 2023-07-05 18:00:46 +08:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
thinkasany
a640139c03
test: add blogList test case (#43375) 2023-07-05 17:47:58 +08:00
lijianan
67900a7aad
type: optimization AnyObject type (#43366)
* type: optimization AnyObject type

* fix lint

* rerun
2023-07-05 16:54:04 +08:00
JiaQi
e053225154
chore: bump rc-picker (#43367)
* chore: bump rc-picker

* chore: update snapshot
2023-07-05 16:47:21 +08:00
栗嘉男
86e7b88ebb fix 2023-07-05 16:03:41 +08:00
栗嘉男
041e38b5e6 Merge branch master into feature-merge-master 2023-07-05 15:43:52 +08:00
栗嘉男
da232eeeea fix 2023-07-05 15:10:10 +08:00
栗嘉男
c3d5bca580 fix 2023-07-05 15:10:05 +08:00
thinkasany
893b5285c0
type(Tag): add React.ReactNode (#43357) 2023-07-05 13:07:13 +08:00
lijianan
87a4bc882e
site: add install Tabs for Icon (#43361) 2023-07-05 00:10:12 +08:00
thinkasany
656ba8de1a
type: add React.ReactNode (#43351) 2023-07-04 17:31:13 +08:00
thinkasany
9796351e72
docs: Example titles begin with uppercase (#43345) 2023-07-04 17:30:53 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
lijianan
7a59fc86f5
feat: CP support ColorPicker className and style (#43339)
* fix

* fix

* fix
2023-07-04 11:23:58 +08:00
JiaQi
1abdb9e077
feat: ConfigProvider support Tree className and style (#43060) 2023-07-03 22:42:46 +08:00
lijianan
90f464a27d
feat: CP support Message className and style (#43333)
* fix

* fix
2023-07-03 20:38:14 +08:00
lijianan
c267b38fd4
feat: CP support Notification className and style (#43328)
* feat: CP support Notification className and style

* Update components/config-provider/index.en-US.md

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

* fix

* fix

* test

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-03 20:37:11 +08:00
JiaQi
b46c2d062b
style(progress): support animation in rtl direction (#43316) 2023-07-03 17:12:13 +08:00
lijianan
62dd62f43c
feat: CP support Upload className and style (#43325)
* feat: CP support Tabs className and style

* revert

* test: update snap

* fix

* test: fix test case
2023-07-03 16:38:56 +08:00
lijianan
425b18f2d8
feat: CP support Tabs className and style (#43319) 2023-07-03 13:38:38 +08:00
lijianan
5190e6f677
feat: CP support Avatar className and style (#43315) 2023-07-03 10:27:31 +08:00
lijianan
29431a368f
feat: CP support Card className and style (#43308) 2023-07-03 10:25:55 +08:00
lijianan
e2907c8ac2
performance: add key for <i /> (#43317)
* performance: add key for <i />

* Update index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-03 09:55:42 +08:00
afc163
1d2f874150
style: Badge color should be respected (#43304)
* style: Badge color should be respected

* test: update snapshot

* style: fix Badge color
2023-07-01 01:30:19 +08:00
afc163
6ead5ae5ef
demo: update badge demo (#43307) 2023-07-01 01:29:54 +08:00
lijianan
5432c05041
feat: CP support Table className and style (#43301)
* feat: CP support Table className and style

* test: update test case
2023-06-30 20:42:43 +08:00
dong
5c0f632235
fix: fix Select clear icon position with feedback (#43302)
Co-authored-by: zhiyuandong.dzy <zhiyuandong.dzy@digital-engine.com>
2023-06-30 19:16:24 +08:00
daisy
ab036297b3
demo: fix table drag demo click event not working (#43291) 2023-06-30 17:49:25 +08:00
LHH
d9d44195a6
docs: fix dayjs updateLocale usage (#43250)
* fix:dayjs中没有updateLocale方法,直接使用local("zh-cn")

codesandbox中的示例也报错了。。找不到updateLocale方法

* Apply suggestions from code review

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

* Update index.en-US.md

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-30 17:49:00 +08:00
lijianan
80e3069a49
feat: CP support Tag className and style (#43294) 2023-06-30 17:19:27 +08:00
cb338a2c61
fix: Button disabled style with link or href case (#43091)
* fix: Button disabled style with link or href case

* chore: update

* fix: update link disable logic

* test: update snapshot

* chore: update

* chore: update code

Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>

* Update components/button/style/index.ts

Co-authored-by: Wuxh <wxh16144@qq.com>

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: wuxh <wxh1220@gmail.com>
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-06-30 14:19:06 +08:00
lijianan
99dae02d8f
feat: CP support Switch className and style (#43283) 2023-06-30 11:29:39 +08:00
Zhou Fang
78714e01c4
demo: translate chinese to english (#43234)
* Updated language in layout-can-wrap.tsx

* Updated language in draggable.tsx

* Updated language in drag-debug.tsx

* Updated language in tree/demo/draggable.tsx

* Updated jest snapshots for form

---------

Co-authored-by: Zhou Fang <zhfaxb@syntronic.com>
2023-06-29 23:57:39 +08:00
lijianan
15c3790856
feat: CP support Rate className and style (#43270) 2023-06-29 19:30:34 +08:00
Rainey
e985f8e845
fix: mergedAppConfig dependency exception (#43269)
Signed-off-by: Rainey <xuebing_orz@icloud.com>
2023-06-29 19:27:30 +08:00
lijianan
316b7b8c5d
feat: CP support Badge className / classNames and style / styles (#43197)
* feat: CP support Badge className and style

* fix

* Update basic.tsx

* fix

* fix

* fix

* Update components/config-provider/context.ts

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

* Update components/badge/index.tsx

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

* Update components/badge/index.tsx

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

* fix

* fix

* fix

* fix

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 16:43:11 +08:00