Commit Graph

16812 Commits

Author SHA1 Message Date
二货机器人
16f8228249 chore: merge master 2023-08-28 21:56:37 +08:00
二货爱吃白萝卜
a95662d0e1
refactor: button default not use compact style (#44475)
* refactor: button default not use compact style

* chore: clean up
2023-08-28 21:42:39 +08:00
红果汁
2d1d98790e
fix: color picker open popup when disabled (#44466) 2023-08-28 20:16:34 +08:00
二货爱吃白萝卜
97b03dc938
fix: rm useless ts def of upload (#44468) 2023-08-28 19:38:03 +08:00
二货爱吃白萝卜
6f2bddd5a1
feat: Table support virtual (#44349)
* chore: update demo

* chore: adjust fixed style

* chore: opt scroll height

* chore: clean up

* chore: update demo

* chore: bump rc-virtual-list

* chore: update deps

* chore: bump rc-table

* fix: clean up

* chore: fix demo

* test: add test case
2023-08-28 17:36:23 +08:00
红果汁
74f6040cdc
fix: carousel vertical drag issue (#44460) 2023-08-28 14:58:42 +08:00
kiner-tang(文辉)
4a896e9df3
feat: Support source in the onSearch handler of Input.Search Component when the value had changed (#44457)
* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: optimize code

* feat: optimize code
2023-08-28 14:42:36 +08:00
红果汁
e7c7601bc0
feat: Modal footer support custom render function (#44318) 2023-08-28 11:54:43 +08:00
3e171a9f4f
feat: default add resetIcon Style (#41208)
* feat: default add resetIcon Style

chore: remove

test: add case

feat(App):  icon reset style feature

Revert "feat(App):  icon reset style feature"

This reverts commit be6905553dcabbd490ad60be0c08c8328736bd62.

Revert "chore: remove"

This reverts commit 417d5f90051a342325ccc9b5cbf3d249ab0ec826.

chore: update

chore: update

* chore: update

* chore: resolve import

* chore: update code style
2023-08-28 10:49:18 +08:00
afc163
4ba36dc55e
chore: Update index.zh-CN.md (#44441)
Signed-off-by: afc163 <afc163@gmail.com>
2023-08-28 09:50:18 +08:00
lijianan
20593afaee
type: revert type import path (#44453) 2023-08-28 09:38:50 +08:00
dependabot[bot]
20d12f8ef2
chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 (#44430)
* chore(deps-dev): bump typescript from 5.1.6 to 5.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump typedoc

* type: fix type

* fix: fix

* type: fix type

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-27 23:57:23 +08:00
二货爱吃白萝卜
ca0396859b
refactor: abstract ribbon style (#44451) 2023-08-27 23:48:56 +08:00
github-actions[bot]
c07d61a2c9
chore: auto merge branches (#44448)
chore: merge master into feature
2023-08-27 07:56:32 +00:00
Stefano Magrassi
b1a57387f7
type: fix notification config typings (#44163)
* add notification.config typing

* add .node-version file

* remove .node-version

* ignore .node-version file from git

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-27 11:06:04 +08:00
LeTuongKhanh
cc2c26b263
fix : type error at align property in dropdown (#44423) 2023-08-26 23:51:07 +08:00
二货爱吃白萝卜
4e9ac02b08
fix: Tour panel token & home support dark mode (#44428)
* docs: update home page

* docs: home support dark mode

* docs: fix mobile

* docs: fix rtl

* docs: update locale
2023-08-25 19:08:52 +08:00
kiner-tang(文辉)
94339be3e9
feat: lunisolar => lunar-typescript (#44420) 2023-08-25 11:42:35 +08:00
JiaQi
d7d493eaaa
refactor(notification): reduce the configuration parameter code (#44372)
* refactor(notification): reduce the configuration parameter code

* chore: modify the return type definition

* chore: delete the initialization function
2023-08-25 09:37:32 +08:00
MadCcc
4755acaeb8
feat: support Input shadow token (#44410) 2023-08-25 09:32:39 +08:00
二货爱吃白萝卜
d373bf3d35
feat: Progress.Circle support conic (#44404)
* feat: support conic

* test: update snapshot

* docs: update doc

* chore: clean up

* docs: update doc

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-08-25 00:28:38 +08:00
二货爱吃白萝卜
34054509d5
fix: Form xs breakpoint (#44388) 2023-08-24 23:37:31 +08:00
MadCcc
68ee32268b Merge branch 'master' into feature-merge-master 2023-08-24 21:04:48 +08:00
MadCcc
9312b0059e
chore: update icon snapshot (#44414) 2023-08-24 21:01:10 +08:00
二货爱吃白萝卜
0dd651c559
docs: Fix Form provider demo (#44391)
* docs: fix provider demo

* test: update snapshot
2023-08-24 13:27:59 +08:00
xr0master
eaa86351e4
ColorPresets: fix duplicate keys (#44370)
* ColorPresets: fix duplicate keys

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

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

add lint disable

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

---------

Signed-off-by: xr0master <xr0master@gmail.com>
2023-08-24 13:26:26 +08:00
MadCcc
2096c01016
feat: Radio add component token (#44389) 2023-08-24 11:51:15 +08:00
Amumu
a3bd7a797f
fix: rm useless form inline style (#44375) 2023-08-24 10:47:02 +08:00
MadCcc
e91f927784
fix: radio should work in tree (#44380)
* fix: radio should work in tree

* chore: code clean
2023-08-24 09:47:24 +08:00
二货爱吃白萝卜
4cf3ba1b00
fix: Select popup size in transform layout (#44378) 2023-08-23 20:12:26 +08:00
MadCcc
79825c06ed
fix: Table should not crash if filterDropdown is boolean (#44357)
* fix: Table should not crash if filterDropdown is boolean

* chore: code clean

* chore: use supportNodeRef
2023-08-23 19:23:25 +08:00
yoyo837
f06d85129f Merge branch 'master' into feature-merge-master 2023-08-23 15:42:33 +08:00
5d522a374a
chore: remove duplicate styles (#44368)
genBasicInputStyle 方法中已经包括  genActiveStyle 了
2023-08-23 12:26:05 +08:00
二货爱吃白萝卜
f5fcb7010d
fix: rm useless form inline style (#44360) 2023-08-22 23:53:18 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
dingkang
d57c86d92c
feat: migrate less to token for DatePicker (#42607)
* feat: migrate less to token for time-picker

* feat: add component-token demo

* feat:update token with  API Naming rules

* feat: migrate less to token for Time-pikker

* chore: code clean

* chore: code clean

* chore: udpate

* feat: picker token

* chore: add comment

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 16:28:20 +08:00
AN
af301a9822
fix(date-picker):fix format type processing for showTime. (#44306)
* fix(date-picker):fix format type processing for showTime.

* test: Add showTime should work correctly when format is Array test
2023-08-22 13:00:42 +08:00
MadCcc
820a9213c3
feat: Spin token (#44334)
* feat: Spin token

* chore: code clean
2023-08-22 11:47:07 +08:00
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
二货机器人
beb61e6751 chore: fix lint 2023-08-21 23:22:36 +08:00
二货机器人
be80d1fb5c chore: clean up 2023-08-21 23:09:49 +08:00
二货机器人
73c5ce1294 test: update snapshot 2023-08-21 22:07:56 +08:00
二货机器人
3f8461840c chore: merge master 2023-08-21 22:03:41 +08:00
二货爱吃白萝卜
b26e3a77f9
fix: WaterMark clip logic (#44321)
* fix: cut logic

* chore: fix size

* test: update snapshot

* chore: rm useless code
2023-08-21 20:15:49 +08:00
kiner-tang(文辉)
8e7d02cf53
feat: support closeIcon (#44312)
* feat: support closeIcon

* feat: update comment

* feat: optimize code
2023-08-21 17:02:31 +08:00
thinkasany
3b5e3e84bc
docs(tabs): remove useless string in Description (#44307) 2023-08-21 10:03:48 +08:00
叶枫
65fd05c344
style: add prettier-plugin-sort-imports (#44287)
* style: sort

* style: sort

* style: sort

* style: sort

* style: 规则调整

* style: 规则调整
2023-08-21 10:03:15 +08:00
栗嘉男
f91bc7baa4 test: update snap 2023-08-21 00:26:32 +08:00
栗嘉男
7fe4d4e844 Merge branch 'master' into feature-merge-master 2023-08-20 21:07:24 +08:00
thinkasany
8afbe6939e
docs(demo): Replace backticks with single quotes (#44302) 2023-08-20 20:32:09 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
lijianan
d375cbd1b6
feat: Avatar support size from ConfigProvider (#44288)
* feat: Avatar support size from ConfigProvider

* Update components/avatar/avatar.tsx

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

* test: update snap

* Update components/avatar/AvatarContext.ts

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-18 14:54:35 +08:00
lijianan
3b913cf17b
site: add internationalization for docs (#44263)
* site: add internationalization for docs

* fix

* Update .dumi/theme/common/Color/ColorPaletteTool.tsx

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

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-18 10:41:45 +08:00
MadCcc
74d9654423
feat: tree token (#44282) 2023-08-18 10:23:57 +08:00
kouchao
ce687c50b1
fix(ColorPicker): color clear deformation (#44258) (#44273)
* fix(ColorPicker): color clear deformation (#44258)

* chore: merge styles
2023-08-18 10:04:01 +08:00
红果汁
73cfd37b77
fix: Descriptions key prop issue (#44278)
* fix: descriptions throw react key prop error in jsx mode

* chore: update test

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 21:12:10 +08:00
JiaQi
2e18b63cec
feat(list): list support using the componentSize configuration size from ConfigProvider (#44267)
* feat(list): list support using the componentSize configuration size from ConfigProvider

* chore: update snapshot
2023-08-17 17:55:46 +08:00
kiner-tang(文辉)
f1c38bf9e0
site(Calendar): add lunar calendar demo (#44166)
* feat: update demo

* feat: update demo

* feat: update demo

* feat: update demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-08-17 17:12:51 +08:00
MadCcc
030f38594c
feat: cascader token (#44261)
* feat: cascader token

* docs: en
2023-08-17 15:03:23 +08:00
@linhf2023
cdc4e50873
feat: migrate less to token for Alert (#42142)
* feat: migrate less to token for Alert

* fix: lint

* feat(alert): add component token demo

* test: add snap

* Update docs/react/migrate-less-variables.zh-CN.md

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

* feat(alert): update token name

* feat(alert): update demo

* feat: update snap

* doc: update migrate

* chore: code clean

* feat: alert token

* chore: code clean

* chore: fix lint

---------

Co-authored-by: @linhf2023 <32009993+any1024@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 15:00:04 +08:00
MadCcc
27e54c9e97
feat: Button support contentFontSize token (#44257)
* feat: Button support contentFontSize token

* fix: token
2023-08-17 13:51:39 +08:00
AN
808452e49d
fix(DataPicker):fix picker content is not centered (#44245)
* Update index.ts

fix(DataPicker):fix picker content  is not centered

Signed-off-by: AN <455454007@qq.com>

* fix(DataPicker):fix picker content is not centered 

Signed-off-by: AN <455454007@qq.com>

---------

Signed-off-by: AN <455454007@qq.com>
2023-08-17 13:15:26 +08:00
苟培烜
9ba9da244a
fix: ColorPicker HEX input cursor jump bug (#44137)
* fix(color-picker): when inputting in the HEX,if you input a lowercase letter,the cursor will jump to the tail,and me fixed it.

* test: fix ColorPicker snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-16 20:45:39 +08:00
Grant Chan
947ea38325
fix(Button): fix fontSizeSM token not working (#44217)
Co-authored-by: Grant Chan <grantchan@metaarchit.com>
2023-08-16 20:14:32 +08:00
JiaQi
b9f77fde6c
feat: migrate less to token for Switch (#42192)
* feat: migrate less to token for Switch

* chore: add demo

* chore: code clean

* chore: update demo

* docs: update docs en

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-16 19:17:12 +08:00
Konv Suu
83e3b5218a
docs(Tabs): update animated prop's description (#44227) 2023-08-15 19:24:40 +08:00
MadCcc
65989b4eff
feat: select component token (#44228)
* feat: select token

* feat: select token

* docs: add demo
2023-08-15 17:05:06 +08:00
Wing
4fb448ffac
doc: upload doc line break (#44234) 2023-08-15 15:13:04 +08:00
Kyriewen
9ec85346fd
docs(cascader): fix allowClear default value in doc (#44230)
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-08-15 15:12:45 +08:00
MadCcc
d493594ffe
docs: fix menu sider-current demo (#44222) 2023-08-15 13:42:28 +08:00
lijianan
20cb8fc49f
site: revert lost api description (#44216) 2023-08-15 09:31:49 +08:00
kiner-tang(文辉)
41cb8be608
fix(DatePicker): optimize RangePicker's range area style (#44206)
* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style
2023-08-14 20:59:34 +08:00
MadCcc
009779c21e
chore: collapse token meta (#44211) 2023-08-14 20:39:31 +08:00
1b479c4b45
feat(collapse): migrate less to token (#42938)
* feat(collapse): migrate less to token

* docs: add component token demo

* test: update snapshot

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update

* chore: update demo

* chore: style

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 19:19:32 +08:00
猫猫
e0e373f301
fix(badge): fix badge number is rtl (#43998)
* fix(badge): fix badge number is rtl

* test: fix snapshots

* feat: use dir attribute instead of bdi

* test: update snapshots

* test: back of snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-14 19:14:46 +08:00
6a6f1b741f
feat(badge): migrate less to token (#42778)
* chore: update

* docs: add component token demo

* test: update snapshot

* chore: update

* test: update snapshot

* feat: token

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update

* chore: fix lint

* fix: fontsizesm

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 17:18:42 +08:00
二货爱吃白萝卜
ee984fee0a
fix: Modal open should not block dropdown hidden (#44204)
* refactor: adjust style

* fix: not event when hovering

* chore: add comment
2023-08-14 16:31:57 +08:00
hms181231
db07a2fe0a
feat: Progress Component Token (#42757)
* feat: Progress Component Token

* feat: add defaultColor&circleTextColor  update infoTextColor -> textColor

* chore: update

* chore: add comment

* chore: update snapshot

* chore: fix lint

* chore: rm ignore file

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 15:24:01 +08:00
MadCcc
6de03aef37
feat: Tabs support token (#44201) 2023-08-14 15:00:30 +08:00
github-actions[bot]
0a4463e68a
chore: auto merge branches (#44202)
chore: feature merge master
2023-08-14 06:19:20 +00:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +08:00
Electrolux
56f2bc5072
fix: (tabs)Unexpected color change in the click area of the mobile tabs component (#44200) 2023-08-14 12:08:25 +08:00
MadCcc
a5203ebb80
feat: layout token (#44174)
* feat: layout token

* feat: layout component token
2023-08-11 19:37:44 +08:00
hms181231
1c1ebbe36d
feat: Divider Component Token (#42627)
* feat: Divider Component Token

* feat: 更改token命名规范

* feat: 增加token demo

* test: Update Test Snapshots

* feat: token

* chore: update

* fix: lint

* chore: lint

* chore: update snapshot

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-11 13:43:44 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
二货爱吃白萝卜
54081c800a
fix: Badge dot with status (#44153)
* fix: Badge with dot not processing

* test: update snapshot
2023-08-10 17:10:09 +08:00
da35a10f29
fix: update Modal defaultFooter Button disabled logic (#43055)
* test: add unit test

* fix: update disabled logic

* Revert "test: add unit test"

This reverts commit 7559a15af6.

* test: add unit case

* test: update snapshot

* chore: update logic

* Revert "chore: update logic"

This reverts commit 89e2233eda.
2023-08-10 16:48:28 +08:00
JiaQi
aa7c45fb26
fix(Descriptions): nested Descriptions are affected by the external border style (#43454)
* fix: nested Descriptions are affected by the external border style

* chore: add test case
2023-08-10 14:06:13 +08:00
MadCcc
8d1a41709f
fix: image preview operations color (#44141) 2023-08-10 13:40:34 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
二货爱吃白萝卜
1a86204053
feat: Form validateFields support recursive (#44130) 2023-08-09 16:35:19 +08:00
daisy
baa24a6ef9
fix(Upload): gif thumb url base64 type should be corrected (#44083)
* fix(Upload): gif thumb url base64 type should be corrected

* fix: add revokeObjectURL

* case: update

* case: remove comment

* fix: addEventListener -> onload

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-09 15:19:25 +08:00
daisy
a48e17717c
demo(Checkbox): adjust check-all demo (#44127)
* demo(Checkbox): adjust check-all demo

* chore: semantic
2023-08-09 14:32:54 +08:00
daisy
a67f943d39
feat(Cascader): support autoClearSearchValue (#44033)
* feat(Cascader): support autoClearSearchValue

* type: add type
2023-08-09 11:57:01 +08:00
daisy
cfdc4463ba
docs(Image): fix render originalNode ts (#44125) 2023-08-09 11:52:35 +08:00
MadCcc
5465975b1a
feat: table component token (#44118)
* feat: table component token

* chore: add typedoc
2023-08-09 10:52:39 +08:00
MadCcc
12efe328ac
docs: optimize site layout (#44111)
* docs: sticky header

* docs: adjust floatbutton zindex

* chore: code clean
2023-08-08 19:48:41 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
bb4b3f68c5
fix: FloatButtonGroup menu mode should support badge (#44109)
* fix: FloatButtonGroup menu mode should support badge

* chore: better condition

* chore: code clean
2023-08-08 18:05:16 +08:00
二货爱吃白萝卜
8a3870fc31
feat: Watermark support nest Modal & Drawer (#44104)
* docs: add demo

* refactor: init

* refactor: of it

* refactor: simple content

* chore: unique func

* chore: refactor

* chore: support modal watermark

* feat: support nest watermark

* test: add test case

* chore: fix lint

* chore: bump rc-image

* test: add test case

* refactor: use same func
2023-08-08 16:48:26 +08:00