Commit Graph

16684 Commits

Author SHA1 Message Date
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
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
lijianan
00f4ed3dc9
type: params type support generic (#43211)
* type: type optimization

* test: add test case
2023-06-29 13:03:52 +08:00
红果汁
6bb18b361d
feat: ColorPicker implement panelRender API (#43134)
* feat: implement `panelRender` api and add demo

* test: add test case

* docs: update doc

* fix: styles add overlayInnerStyle

* fix: variable name

* docs: reorder api

* refactor: optimize code

* test: update snapshot

* test: update snapshots

* refactor: remove memo

* refactor: rename  overlayInnerStyle to popupOverlayInner

* fix: props error

* docs: update demo
2023-06-29 11:46:11 +08:00
thinkasany
90a381df2a
type: optimization copyIdRef type (#43257) 2023-06-29 10:47:38 +08:00
lijianan
2490d43eab
feat: Badge support classNames & styles (#43245)
* feat: Badge support classNames & styles

* update docs

* fix

* fix

* fix

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

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 10:40:56 +08:00
thinkasany
4a4d276d25
type: correct type & remove useless type (#43256) 2023-06-29 01:16:11 +08:00
JiaQi
91be823272
fix(Transfer): Dropdown is hidden & showSizeChanger not work (#41906)
* fix: Page size dropdown is hidden

* fix: SizeChange not work

* chore: add test case

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-28 19:23:00 +08:00
muxin
67e32373fb
feat: config-provider support Form className and style properties (#43230)
* feat: config-provider support Input className and style properties

* Revert "feat: config-provider support Input className and style properties"

This reverts commit 46cd51e2b7.

* feat: config-provider support Form className and style properties
2023-06-28 14:13:14 +08:00
muxin
c4d981a712
feat: config-provider support Layout className and style properties (#43241) 2023-06-28 13:51:24 +08:00
muxin
4eb6b51f34
feat: config-provider support Input className and style properties (#43227)
* feat: config-provider support Input className and style properties

* feat: config-provider support Form className and style properties

* Revert "feat: config-provider support Form className and style properties"

This reverts commit 183010d40a.

* feat: support styles & classNames

* test: optimize test
2023-06-28 11:53:26 +08:00
Lennox Omondi
41fe4ced89
docs: Fix typo in App Component english version (#43235)
Typo fix for App documentation
2023-06-28 11:37:14 +08:00
daisy
1df65eeef3
docs: update DatePicker、TimePicker cellRender (#43226) 2023-06-28 10:34:25 +08:00
JiaQi
c3225c0720
fix: error reported when the name of Form.List is 0 (#43199)
* fix: error reported when the name of Form.List is 0

* chore: add test case
2023-06-28 09:46:20 +08:00
kang
f0059cebc2
type: pass-through cascader option generic type (#43231) 2023-06-27 23:37:24 +08:00
MadCcc
5df309742e
fix: Popcomfirm should support and (#43212) 2023-06-27 20:03:43 +08:00
muxin
4214fc7502
feat: config-provider support Modal className and style properties (#43219) 2023-06-27 17:14:08 +08:00
muxin
deab4a4b71
feat: config-provider support Cascader className and style properties (#43205) 2023-06-27 17:13:27 +08:00
muxin
5f092d8cd5
feat: config-provider support Select className and style properties (#43217)
* feat: config-provider support Select className and style properties

* feat: config-provider support Modal className and style properties

* Revert "feat: config-provider support Modal className and style properties"

This reverts commit 3a39d87251.
2023-06-27 17:12:36 +08:00
github-actions[bot]
238d89ec7f
chore: auto merge branches (#43223)
chore: merge master into feature
2023-06-27 08:25:33 +00:00
二货爱吃白萝卜
cb1abcfe66
docs: add picker faq (#43208) 2023-06-27 15:34:55 +08:00
muxin
8ff8679844
feat: config-provider support Mentions className and style properties (#43192)
* feat: config-provider support Mentions className and style properties

* fix: rename contextMentions
2023-06-27 10:51:23 +08:00
二货爱吃白萝卜
1765c49cdc
fix: Upload with maxCount not trigger onChange (#43193)
* test: test driven

* fix: Upload maxCount not trigger onChange
2023-06-26 19:09:17 +08:00
muxin
32ff4eef2c
feat: config-provider support Radio className and style properties (#43067) 2023-06-26 19:07:57 +08:00
muxin
3c88323dee
feat: config-provider support empty className and style propertie (#43061) 2023-06-26 17:10:26 +08:00
muxin
a4f4808e2f
feat: config-provider support descriptions className and style properties (#43189) 2023-06-26 17:09:55 +08:00
lijianan
a9eaa00b4e
feat: CP support Pagination className and style (#43100)
* feat: CP support Pagination className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md

* fix

* update showSizeChanger

* fix
2023-06-26 15:32:18 +08:00
muxin
35bc35e4d9
feat: config-provider support descriptions className and style proper… (#43106)
* feat: config-provider support descriptions className and style properties

* Revert "feat: config-provider support descriptions className and style properties"

This reverts commit b9dd395cd3.

* feat: config-provider support descriptions className and style properties
2023-06-26 14:38:02 +08:00
muxin
58e88d23a9
feat: config-provider support checkbox className and style properties (#43107)
* feat: config-provider support checkbox className and style properties

* Revert "feat: config-provider support checkbox className and style properties"

This reverts commit 05c7678b5b.

* feat: config-provider support checkbox className and style properties
2023-06-26 11:42:46 +08:00
MadCcc
358905027a
feat: move colorLink to seedToken (#43183)
* feat: move colorLink to seedToken

* feat: follow colorInfo
2023-06-26 11:23:50 +08:00
红果汁
9757df0447
docs: ColorPicker showText property add dropDown demo (#43177) 2023-06-25 20:44:16 +08:00
lijianan
45137169be
feat: CP support Breadcrumb className and style (#43095)
* feat: CP support Breadcrumb className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md

* fix
2023-06-25 18:28:57 +08:00
lijianan
fe322f912a
feat: CP support Slider className and style (#43092)
* feat: CP support Slider className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md
2023-06-25 17:28:00 +08:00
lijianan
7d70de7d8f
feat: CP support Result className and style (#43080)
* feat: CP support Result className and style

* test: fix

* fix: remove useMemo

* update docs

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md
2023-06-25 16:20:39 +08:00
afc163
67d0462ca9
refactor: resolve Circular dependency (#42750)
* test: detect dependency cycle

* chore: open eslint import/no-cycle rule

close #42804

* chore: Upgrade react-component

* Apply suggestions from code review

* refactor: add getRoundNumber

* chore: Update package.json
2023-06-25 15:38:22 +08:00
lijianan
33eeb1eff1
feat: CP support Image className and style (#43074)
* feat: CP support Image className and style

* fix

* fix

* fix

* Update basic.tsx

* fix

* fix: remove useMemo

* update

* test: fix test case

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

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

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-25 14:46:13 +08:00
afc163
a1b0775788 chore: resolve merge conflict 2023-06-25 12:32:36 +08:00
Zack Chang
6370ca74d2
refactor: resolve circular reference of Alert (#42801)
* refactor: resolve circular reference of Alert

* Update useMenu.tsx

fix lint

* Update component-token.tsx

fix lint

* Update index.ts

fix lint

* Update list.ts

fix lint

* Update index.ts

fix lint

* Update index.zh-CN.md

fix lint

* Update component-token.tsx

fix lint

* Update index.test.tsx

fix lint
2023-06-25 12:26:42 +08:00
Zack Chang
e74661f509
refactor: resolve circular reference of Checkbox (#42803)
* refactor: resolve circular reference of Checkbox

* chore: add export
2023-06-25 12:18:34 +08:00
Zack Chang
7dc74b1da9
refactor: solve circular reference of Table (#42813)
* refactor: solve circular reference of Table

* Update index.tsx

* chore: add export
2023-06-25 12:17:44 +08:00
afc163
eba6983401 test: update snapshot 2023-06-25 12:13:12 +08:00
Zack Chang
875a221c62
refactor: solve circular reference of Description (#42812)
* refactor: solve circular reference of Description

* refactor: solve circular reference of Table

* Revert "refactor: solve circular reference of Table"

This reverts commit 7664b01645.

* chore: add export
2023-06-25 12:10:31 +08:00
afc163
4bba69af9e test: update snapshot 2023-06-25 11:48:59 +08:00
lijianan
6889af430f
feat: CP support Steps className and style (#43073)
* feat: CP support Steps className and style

* fix lint

* fix: remove useMemo

* docs: update docs

* Update index.tsx

* fix
2023-06-25 11:42:31 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +08:00
Zack Chang
f2d5dad8e0
refactor: solve circular reference of DatePicker (#42809)
* refactor: resolve circular reference of DataPicker

* Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker"

This reverts commit 852394c198, reversing
changes made to d661c7b009.

* Revert "Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker""

This reverts commit 1471235e67.

* Update SiteThemeProvider.tsx

fix lint

* Update useMenu.tsx

fix lint

* Update component-token.tsx

fix lint

* Update index.ts

fix lint

* Update index.test.tsx

fix lint

* Update list.ts

fix lint

* Update index.ts

fix lint

* Update component-token.tsx

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* fix: update getTimeProps fn
2023-06-25 10:16:02 +08:00
Zack Chang
5827f9ddef
refactor: resolve useSize circular reference (#42810) 2023-06-25 10:14:41 +08:00
lijianan
36a5392f99
feat: CP support Segmented className and style (#43072)
* feat: CP support Segmented className and style

* fix: remove useMemo

* docs: update docs

* update docs
2023-06-25 09:32:53 +08:00
Danial Soheili
84c234ac8d
style: move token color to default props (#43164) 2023-06-24 18:19:44 +08:00
Danial Soheili
e1dcfd6820
fix: qrcode fgColor for dark mode (#43162)
* 👌 IMPROVE: qrcode fgColor for dark mode

* 🧪 TEST: update snapshots
2023-06-24 17:23:37 +08:00
Starpuccino
5c350a80e2
fix: Slider disabled status in form (#43142)
* fix slider component disabled status in form

* add test case & update demo

* fix related test cases
2023-06-24 14:20:56 +08:00
kiner-tang(文辉)
5728abe94e
fix: solve form label offset not working in vertical layout issue (#43155) 2023-06-24 13:59:33 +08:00
kiner-tang(文辉)
cc4277eb55
chore(Button): spelling optimization (#43157) 2023-06-24 12:55:06 +08:00
daisy
7a7ee61fd7
fix(Breadcrumb): items dropdownProps loss (#43151)
* fix(Breadcrumb): items dropdownProps loss

* chore: revert demo

* test: add test
2023-06-23 00:45:47 +08:00
daisy
ab0103f33a
feat(Image): imageRender、toolbarRender、onTransform、items、minScale、max… (#43075)
* feat(Image): imageRender、toolbarRender、onTransform、items、minScale、maxScale

* test: update snapshots

* demo: revokeObjectURL url

* docs: update

* docs: update

* docs: update

* fix: revert style

* docs: update md
2023-06-21 19:58:28 +08:00
二货爱吃白萝卜
ec29ebf2c9
fix: Table filter throw react warning (#43139) 2023-06-21 14:26:30 +08:00
lijianan
209f062131
type: update string type with React.HTMLAttributeAnchorTarget (#43129) 2023-06-21 11:44:48 +08:00
红果汁
326de2dc05
feat: ColorPicker implement size API (#43116)
* feat: add size prop

* test: add test case

* docs: update doc

* fix: style issue

* docs: add text size demo

* test: update snapshots
2023-06-21 11:30:09 +08:00
JiaQi
8afeb6bbc0
Revert "fix(select): Fix Typography component is not centered in the Select component (#40422)" (#43097)
This reverts commit 2e9d14f282.
2023-06-21 10:02:26 +08:00
Lansana Diomande
e78e2cb385
refactor(breadcrumb): make title null and undefined causes the same behaviour (#43099) 2023-06-21 10:02:06 +08:00
JiaQi
3a67e46b60
docs(ConfigProvider): modify useConfig Api table header (#43128) 2023-06-21 09:56:46 +08:00
daisy
78d117f492
docs: table column sorter (#43130) 2023-06-21 09:46:01 +08:00
ZhuoYang Wu(阿离)
6b4afc9c3a
fix ts interface error (#43123)
Co-authored-by: Ali <ali.wu@miotech.com>
2023-06-20 22:08:25 +08:00
lijianan
b8f2b2165d
feat: CP support Spin className and style (#43071)
* feat: CP support Spin className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* fix

* fix
2023-06-20 19:34:45 +08:00
lijianan
5c32480f6f
feat: CP support Typography className and style (#43070)
* feat: CP support Typography className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* docs: update docs
2023-06-20 14:35:05 +08:00
kiner-tang(文辉)
f93d5c8ba7
refactor(Tag): refactor closeIcon (#43109)
* refactor: refactor closeIcon

* feat: optimize code

* feat: optimize code
2023-06-20 13:42:55 +08:00
二货爱吃白萝卜
5d65881984
fix: Transfer with rowKey will be unselectable (#43115)
* test: test driven

* fix: keys mapping

* chore: add bug version
2023-06-20 13:41:35 +08:00
kiner-tang(文辉)
4ad5cbff66
docs: update docs about tabs (#43110) 2023-06-20 11:13:12 +08:00
kiner-tang(文辉)
18ffb0099c
refactor: refactor closeIcon (#43098) 2023-06-19 20:14:21 +08:00
muxin
785115c580
feat: config-provider support divider className and style properties (#43042)
* feat: config-provider support divider className and style properties

* fix: simple ts definition

* fix: merge style & className

* fix: fix space className

* feat: optimize type definition

* feat: optimize type definition

* feat: add version

* test: update test

* test: update test

* fix: fix type

* fix: fix api sort

* fix: fix docs

* docs: add another api table

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:30:16 +08:00
红果汁
1fb8fc57d3
feat: ColorPicker implement showText API (#42865)
* feat: color-picker support showValue api

* Update components/color-picker/index.en-US.md

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

* docs: add version column

* test: fix test coverage

* feat: replace showValue with textRender

* Update components/color-picker/components/ColorTrigger.tsx

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

* fix: style issue

* feat: add showText prop and optimization code

* fix: lint issue

* test: fix coverage

* refactor: combine showText and textRender

* fix: lint issue

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:29:39 +08:00
lijianan
33fab22b96
type: update unknown with SliderRef (#43094) 2023-06-19 17:07:09 +08:00
daisy
feb8c569e1
refactor: Upload ListItem timeout optimization (#42915) 2023-06-19 14:36:24 +08:00
daisy
2c20dcd4cc
feat(ColorPicker): add destroyTooltipOnHide (#42645)
* feat(ColorPicker): add destroyTooltipOnHide

* fix: interface -> type
2023-06-19 14:28:11 +08:00
daisy
8a4203bec8
fix(Space): modify the priority of the component's size (#42752)
* fix(Space): modify the priority of the component's size

* chore: snapshot

* chore: snapshot
2023-06-19 14:26:48 +08:00
Danial Soheili
4af6a526e2
feat(Anchor): allow replacing in anchor (#43006)
* 📦 ADD: replace prop to Anchor

* 📖 DOC: add demo

* 🧪 TEST: snapshots

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

* 🧪 TEST: Anchor replace

* 🧪 TEST: Anchor with href

* 🗑 REMOVE: unnecessary href default value

* Update components/anchor/demo/replace.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

* Update components/anchor/demo/replace.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-18 18:55:36 +08:00
JiaQi
8cdb76bad6
fix(dropdown): Dropdown menu support transmit ref (#43002)
* fix(dropdown): Dropdown menu support transmit ref

* chore: add test case
2023-06-18 13:21:39 +08:00
afc163
446e8336dc
style: fix InputNumber prefix style in Form.Item (#43049)
* style: fix InputNumber prefix style in Form.Item

close #32924

* Update components/input/style/index.ts
2023-06-16 18:56:14 +08:00
lijianan
3b0352178d
type: update unknow with UploadListRef (#43054) 2023-06-16 18:34:25 +08:00
kiner-tang(文辉)
378b54281b
refactor(Modal): refactor closeIcon (#43017)
* refactor: refactor closeIcon

* docs: update docs

* refactor(Drawer): refactor drawer closeIcon (#42993)

* feat: optimize closeIcon

* refactor: refactor closeIcon

* docs: update docs

* feat: optimize code

* feat: update test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* docs: update docs

*  feat: migrate less to token for Slider (#42428)

*  feat: migrate less to token for Slider

*  feat: update snap

*  feat: update style

*  feat: update style

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: 删除未使用token

*  feat: update doc

*  feat: update dome

*  feat: update

*  feat: test ci

* 📝 doc: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add demo

*  feat: add demo

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

* Apply suggestions from code review

---------

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

* docs: update docs

---------

Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-16 15:36:28 +08:00
KAM
0dcd6e8c22
fix(InputNumber): Fix incorrect disable state style for input box com… (#42974)
* fix(InputNumber): Fix incorrect disable state style for input box components with front and rear label configuration

* fix(InputNumber): Add case previews for pre and post tags and prefix activation in the disabled state in InputNumber, and add corresponding test cases

* fix(InputNumber): Fix the issue of incorrect inputNumber background color caused by the original prefix icon being disabled

* fix(InputNumber): Remove the toggle disable state interaction in the addon case

* fix(InputNumber): Optimize and merge style processing

* fix(InputNumber): Adjust the addon case and remove irrelevant cases

* fix(InputNumber): Update the snapshot in the InputNumber component unit test

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display
2023-06-16 14:04:13 +08:00
stefan-ysh
0c76e3f183
docs: The description of API superNextIcon and superPrevIcon made the << and >> reversed (#43046) 2023-06-16 12:11:37 +08:00
afc163
167b2bdcf5
docs: remove Option usage from Select documentation (#43045)
* Update index.zh-CN.md

* Update index.en-US.md
2023-06-16 11:15:38 +08:00
afc163
3f92966715
docs: Update Progress segment.md description (#43033) 2023-06-16 10:05:55 +08:00
二货爱吃白萝卜
b037433d2b
fix: upload event should not trigger the file out of maxCount (#43034)
* fix: upload event should not trigger the file out of maxCount

* chore: opt match logic

* chore: refactor use some
2023-06-16 00:47:55 +08:00
afc163
d16f97fc70
docs: update App component usage (#43030) 2023-06-15 18:17:36 +08:00
afc163
37b85e06f2
docs: fix comma usage (#43029) 2023-06-15 18:09:42 +08:00
二货爱吃白萝卜
96a93260d3
refactor: split form context (#43023) 2023-06-15 10:26:56 +08:00
黑雨
4ae0d6bcf5
feat: migrate less to token for Slider (#42428)
*  feat: migrate less to token for Slider

*  feat: update snap

*  feat: update style

*  feat: update style

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: 删除未使用token

*  feat: update doc

*  feat: update dome

*  feat: update

*  feat: test ci

* 📝 doc: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add demo

*  feat: add demo

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-15 10:22:17 +08:00
daisy
e9bbc588cd
fix: Radio.Button title loss (#43012) 2023-06-15 09:46:05 +08:00
kiner-tang(文辉)
cf961b2c8c
refactor(Drawer): refactor drawer closeIcon (#42993)
* feat: optimize closeIcon

* refactor: refactor closeIcon

* docs: update docs

* feat: optimize code

* feat: update test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* docs: update docs
2023-06-14 22:37:00 +08:00
muxin
5d62e636a1
refactor: rc-input-number refactored with baseInput (#42762) (#43000)
* refactor: refactor with BaseInput

* chore: bump rc-mentions & rc-textarea

* test: update snapshots

* test: update snapshots

* chore: bump rc-input

* fix: bump rc-input

* test: update snapshot

* test: update snapshot penta

* test: update snapshot

* fix: optimize function props

* test: update test

* test: update test

* test: update test

* fix: delete useless className

* feat: let baseInput cal class

* chore: bump rc-input-number

* test: update test

* Revert "test: update test"

This reverts commit a44b35a744.

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump rc-input-number

* chore: bump rc-input-number & rc-mentions

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-14 11:28:40 +08:00
MadCcc
3eb62fad15 Revert "refactor: rc-input-number refactored with baseInput (#42762)"
This reverts commit 3efb68ce6f.
2023-06-13 21:36:40 +08:00