Commit Graph

16575 Commits

Author SHA1 Message Date
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
muxin
3efb68ce6f
refactor: rc-input-number refactored with baseInput (#42762)
* 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-13 20:55:39 +08:00
蘑菇
478a2a9086
docs(Tree): update docs (#42989)
* docs: update docs

* docs: update docs

* docs: update docs
2023-06-13 19:22:36 +08:00
kiner-tang(文辉)
827ada2da6
refactor(Alert): refactor closeIcon (#42962)
* refactor: refactor closeIcon

* feat: update test case

* feat: optimize code

* feat: remove demo about closeText

* feat: remove demo about closeText

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-06-13 14:38:18 +08:00
lijianan
1d1f4efcf4
type: update type unknown with UploadRef (#42985)
* type: update type unknown with UploadRef

* type: fix type
2023-06-13 11:48:01 +08:00
dingkang
ad8dd24cc8
dome: optimize FloatBotton demo style (#42980)
* docs: FloatBotton open 属性说明

* test: update snapshots

* demo: add controlled demo

* demo: update demo

* feat: add warning

* feat: update warning

* demo: update controlled demo

* demo: prettify demo style

* demo: update snapshots

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-13 11:05:05 +08:00
github-actions[bot]
d8f06c4779
chore: auto merge branches (#42975)
chore: merge master into feature
2023-06-12 11:21:03 +00:00
dingkang
9459cbfaf8
add FloatBotton component open api description and demo (#42835)
* docs: FloatBotton open 属性说明

* test: update snapshots

* demo: add controlled demo

* demo: update demo

* feat: add warning

* feat: update warning

* demo: update controlled demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-12 17:20:55 +08:00
kiner-tang(文辉)
7d16256d7b
refactor(Notification): notification support hidden close button when closeIcon setting to null or false (#42927)
* feat: notification support hidden close button when closeIcon setting to null or false

* feat: reset prettier format
2023-06-12 14:20:10 +08:00
kiner-tang(文辉)
f0a94139e7
fix(Button): button's children should be disabled when button is disabled (#42949)
* fix: button's children should be disabled when button is disabled

* feat: update test case

* feat: update test case
2023-06-12 10:22:32 +08:00
muxin
e3110e5458
refactor: refactor color picker circluar dependency (#42843)
* refactor: fix color-picker circluar dependency

* fix: fix import path
2023-06-12 10:11:17 +08:00
Amir M. Mohamadi
486e326a07
fix(Drawer): add max width to prevent width overflow for small screens (#42914)
* fix(Drawer): add max width to prevent width overflow for small screens

* feat(Drawer): content max width `vw` instead of percent

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-09 18:21:55 +08:00
github-actions[bot]
f066df8dc7
chore: auto merge branches (#42932)
chore: merge master into feature
2023-06-09 08:57:50 +00:00
kiner-tang(文辉)
0ac59d42d8
feat: optimize select type (#42935) 2023-06-09 16:29:52 +08:00
lijianan
5c83da5f36
test: add codecov for fix CI fail (#42909)
* test: add codecov fix CI fail

* test: add test case

* test: remove test case
2023-06-09 15:44:25 +08:00
Vetin
87ee19e698
type(menu): replace component interface with type #42907 (#42908)
Co-authored-by: Egor Miasniankin <egormyasnyankin@gmail.com>
2023-06-08 00:47:36 +08:00
linxianxi
f801318868
fix(Table): preserveSelectedRowKeys should work when checkStrictly is false (#42784)
* fix(Table): preserveSelectedRowKeys should work when checkStrictly is false

* fix: 修改

* fix: use Set instead of Map
2023-06-07 23:01:09 +08:00
47f30ee266
fix: transfer error when reset data in some cases (#42785)
* fix: transfer error when reset data in some cases

* fix: lint

* fix: error

* DX: improvement

* fix: code style

* fix: code style

* chore: update grammar

* chore: update

* chore: update

* refactor: keys sync logic

* chore: clean up

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-07 22:54:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
MadCcc
32e17ac3c6 chore: update test timeout 2023-06-07 17:33:21 +08:00
红果汁
243704330b
fix: ColorPicker presets cannot be selected (#42882)
* fix: color-picker presets not checked

* test: update test case

* fix: color-picker presets not checked

* test: update test case
2023-06-07 17:29:26 +08:00
kiner-tang(文辉)
a87427b0bd
docs: update docs (#42886) 2023-06-07 14:32:12 +08:00
kiner-tang(文辉)
fe9121ebb9
docs: update docs about getContainer (#42885) 2023-06-07 13:49:31 +08:00
github-actions[bot]
27e86a0450
chore: auto merge branches (#42870)
chore: feature merge master
2023-06-07 04:22:36 +00:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
Dunqing
5ef315ba3f
fix(collapse): the items type should be optional (#42877)
* fix(collapse): the items type should be optional

* test: add collapse panel usage
2023-06-07 10:53:40 +08:00
linxianxi
0afe8baf1e
fix(ColorPicker): should not trigger onChange when click clear after clearing (#42643) 2023-06-07 10:25:59 +08:00
kiner-tang(文辉)
5ff95e3fda
fix(Collapse): solve deprecated warning display unexpected in collapse issue (#42876)
* fix: solve deprecated warning display unexpected in collapse issue

* fix: solve deprecated warning display unexpected in collapse issue

* feat: update test case
2023-06-07 10:03:35 +08:00
MadCcc
661befa9f7
docs: update text (#42868) 2023-06-06 20:48:48 +08:00
kiner-tang(文辉)
b88ac06b8c
refactor(Theme): solve theme circular dependency issue (#42852)
* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue

* refactor: solve theme circular dependency issue
2023-06-06 17:44:30 +08:00
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
MadCcc
cdf9b4660f
refactor: menu token rename (#42848)
* refactor: menu token rename

* chore: update snapshot

* chore: UPDATE TEST CASE

* fix: fix gap as 4px

* fix: popup transform origin
2023-06-06 16:11:18 +08:00
MadCcc
da4738febf
fix: use colorTextHeading (#42839)
* fix: popconfirm title use colorTextHeading

* fix: notification and alert
2023-06-06 10:53:28 +08:00
kiner-tang(文辉)
fca21af950
refactor: solve modal circular dependency issue (#42841) 2023-06-06 09:54:14 +08:00
MadCcc
596104cc68
feat: static getDesignToken (#42723)
* feat: static getDesignToken

* chore: code clean
2023-06-05 17:45:33 +08:00
红果汁
a0d8fcb23a
fix: ColorPicker UI in Dark Mode (#42827)
* fix: fix ui in dark mode

* test: add test case
2023-06-05 16:23:03 +08:00
JiaQi
f579e695bc
feat: migrate less to token for Radio (#42050)
* feat: migrate Radio less variables

* feat: token rename

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-05 16:16:43 +08:00
kiner-tang(文辉)
f3e9b8de2f
refactor: solve space circular dependency issue (#42811) 2023-06-05 13:29:55 +08:00
ZhuoYang Wu(阿离)
7c23f844ce
docs: fix error syntax (#42824)
Co-authored-by: Ali <ali.wu@miotech.com>
2023-06-05 12:30:50 +08:00
kiner-tang(文辉)
0a05213aeb
refactor: solve statistic circular dependency issue (#42814) 2023-06-05 10:48:27 +08:00
kiner-tang(文辉)
1d24fb5679
refactor: solve modal circular dependency issue (#42808)
* refactor: solve modal circluar dependency issue

* feat: optimize code

* feat: optimize code
2023-06-05 09:57:26 +08:00
kiner-tang(文辉)
ceda8fb7c4
refactor: solve list circluar dependency issue (#42806) 2023-06-05 09:56:19 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
lijianan
71c155f043
test: add test case (#42800) 2023-06-03 18:16:28 +08:00
kiner-tang(文辉)
26ab02f38a
docs(Tabs): update docs about tabs closable prop (#42795)
* docs: update docs about tabs closable prop

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

Co-authored-by: afc163 <afc163@gmail.com>

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

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-03 13:18:12 +08:00
凤之兮原
8e8433c426
fix: fix divider component innerStyle style error (#42797)
* fix: fix style transformation

* fix: fix style transformation

* fix: eslint

* feat: compatible with str writing

* fix: lint

* refactor: orientationMargin transform

* docs: update docs

* chore:add process.env.NODE_ENV displayName
2023-06-03 12:45:26 +08:00
Yasser Mountij
52d94888ae
chore: added more details for local example (#42792) 2023-06-02 19:41:54 +08:00
GUAN MING
32cca6e5a8
feat: migrate less to token for Image (#42048)
* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: update migrate-less-variables.zh-CN.md

* docs: fix error

* docs: fix typo

* docs: remove Chinese in English docs

* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: remove Chinese in English docs

* docs: fix typo

* docs: fix docs error

* feat: add demo

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

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

* fix: remove token

* docs: Update docs/react/migrate-less-variables.en-US.md

* fix: correct token name

* fix: demo token name

* docs: update global token in docs

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 15:48:18 +08:00
红果汁
946569aacf
feat: ConfigProvider support Space classNames and styles properties (#42748)
* feat: config-provider support space classNames and styles

* fix: add className and style

* docs: update doc

* docs: update doc

* fix: fix override style
2023-06-02 15:03:29 +08:00
黑雨
6227806842
feat: migrate less to token for Transfer (#42431)
*  feat: migrate less to token for Transfer

*  feat: update

*  feat: update demo

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-06-02 11:11:37 +08:00
黑雨
63d535bdda
feat: migrate less to token for Tabs (#42186)
*  feat: migrate less to token for Tabs

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update

* feat: tabs token

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 01:27:30 +08:00
黑雨
bfbc7c2e54
feat: Card Component Token (#42061)
*  feat: update

* feat: merge feature

* feat: merge feature

*  feat: update

*  feat: update

*  feat: update snap

* chore: revert change

* feat: card token

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-01 15:16:58 +08:00
kiner-tang(文辉)
ad5de46b53 docs: update docs about color-picker 2023-06-01 14:36:58 +08:00
Dunqing
e1e5c740e0
refactor: avoid circular import (#42764) 2023-06-01 12:41:44 +08:00
Mehmet Yarar
f6dc5f39e0
enhance: Improve the a11y of the upload progress bar (#42704)
* improve the a11y of the upload progress

* add a11y test, update snapshots

* pass aria props as part of restProps

* use kebab-case instead of camelCase for aria attributes

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-31 20:36:29 +08:00
红果汁
20e09e6c31
feat: Space support classNames and styles (#42743)
* feat: add styles and classNames properties

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

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

* docs: fix prettier issue

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-05-31 13:43:38 +08:00
linxianxi
88b2b54232
demo: fix the table moves when dragging elements to the right (#42745)
* demo: fix the layout/table moves when dragging elements to the right

* fix: package json
2023-05-31 13:36:20 +08:00
黑雨
7deff2164a
feat: Mentions componet token (#42711)
*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-05-31 10:37:40 +08:00
kiner-tang(文辉)
99924dddc5
docs: update docs (#42735) 2023-05-30 22:15:23 +08:00
Wuxh
d890b59c2f
docs(auto-complete): supplement bordered document (#42714)
* docs(auto-complete): supplement `bordered` document

* test: update snapshot

* Update components/auto-complete/demo/borderless.tsx
2023-05-30 13:14:30 +08:00
红果汁
ef21b23cb3
fix: ColorPicker RTL style issues (#42716)
* fix: fix rlt style issues

* fix: add missing rtl className on popup
2023-05-30 12:50:04 +08:00
未觉雨声
51eaf402cb
fix: Anchor ink & track should use logical inset (#42706)
* fix: Anchor ink & track should use logical inset

* chore: remove skip check
2023-05-30 10:37:17 +08:00
红果汁
25883ca53a
fix: ColorPicker hover boundary issues (#42669)
* fix: fix hover boundary issues

* test: fix test case

* build: modify dependency scope

* Update package.json

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-29 16:50:12 +08:00
MadCcc
d3ff73a94f
fix: overflowed submenu should have classes with customized class (#42692) 2023-05-29 13:58:36 +08:00
yiwwhl
46acb65806
type: update any with void (#42690) 2023-05-29 01:26:23 +08:00
afc163
6e52b6f0f9
refactor: use rc-util/lib/pickAttrs and upgrade rc-rate and rc-pagination (#42688)
* refactor: use rc-util/lib/pickAttrs

* chore: upgrade rc-pagination

* chore: upgrade rc-rate

* type: fix ref type

* test: update pagination snapshot

* Update package.json
2023-05-28 21:32:45 +08:00
lijianan
5fd2ee5b65
demo: update docs & demo (#42681) 2023-05-28 15:15:28 +08:00
kiner-tang(文辉)
bb77559c45
docs: update docs (#42683) 2023-05-28 12:01:42 +08:00
二货爱吃白萝卜
755598f839
docs: clean up cacader loading demo (#42682) 2023-05-28 11:27:40 +08:00
github-actions[bot]
ae3126380b
chore: auto merge branches (#42680)
chore: merge master into feature
2023-05-27 18:41:45 +00:00
afc163
636eeeb565
feat: Rate support more html attributes (#42676)
* feat: upgrade rc-rate

* test: update snapshot

* test: update snapshot

* Update package.json

* Update package.json
2023-05-28 01:47:07 +08:00
Rin
e6a883c592
style: optimization code (#42679)
* style: optimization code

* style: use const replace themestyle init
2023-05-28 01:36:03 +08:00
kiner-tang(文辉)
4aa3a4e664
fix(Image): ImagePreviewGroup style optimize (#42675) 2023-05-27 20:50:32 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
Digital-512
a4876c6476
chore: Update Lithuanian locale (#42664)
* Update lt_LT.ts

What has been changed:
- Missing translations added
- Several translation errors corrected and minor improvements

* Update lt_LT.ts

Added missing translation rangeQuarterPlaceholder: ['Pradžios ketvirtis', 'Pabaigos ketvirtis']
2023-05-27 10:57:49 +08:00
红果汁
979b51aa16
Merge pull request #42634 from linxianxi/feat-color-picker-onclear 2023-05-27 09:54:27 +08:00
黑雨
326758097a
feat: migrate less to token for Avatar (#42063)
* 🔀  feat: rebase feature

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add groupSpace

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update demo

* Update components/avatar/demo/component-token.tsx

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-26 17:59:13 +08:00
tchen
814d15a247
fix: add visibility:hidden to selector:after (#42651)
Co-authored-by: tchen <tao.chen@yuyidata.com>
2023-05-26 17:47:57 +08:00
黑雨
ec45536ef1
feat: Pagination token (#42330)
*  feat: Pagination Component Token

*  feat: Pagination Component Token

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update style

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update

*  feat: update snap
2023-05-26 17:30:08 +08:00
MadCcc
61924699ab
fix: submenu align (#42648) 2023-05-26 17:15:03 +08:00
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider (#42623)
* feat: add style/className/styles/classNames to ConfigProvider

* chore: better code

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

Co-authored-by: lijianan <574980606@qq.com>

* Update components/config-provider/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

---------

Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-26 16:42:26 +08:00
linxianxi
cf24e3dd57 demo: remove 2023-05-26 16:32:44 +08:00
linxianxi
ae54275b25 demo: add clear-close 2023-05-26 16:31:54 +08:00
linxianxi
434ef1fd7c fix: 修改 demo 2023-05-26 16:23:21 +08:00
Goku
98e391ca93
fix: 🐛 add border-radius of the image-mask when hover Card (#42642)
* fix: 🐛 add border-radius of the image-mask when hover Card

* Apply suggestions from code review

Optimize the css code structure

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: liugenmei@yzw.cn <liugenmei@yzw.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-26 16:14:33 +08:00
linxianxi
a6617c9763 feat(ColorPicker): add onClear 2023-05-26 15:19:34 +08:00
lijianan
bedd6b4f48
docs: add Custom Trigger Event demo (#42525)
* docs: add demo

* fix
2023-05-26 11:23:48 +08:00
MadCcc
f09e9cb0c9
refactor: Menu migrate to @rc-component/trigger (#42554)
* refactor: Menu migrate to @rc-component/trigger

* chore: remove rc-trigger

* chore: bump version

* chore: bump version

* chore: update size limit

* chore: update snapshot
2023-05-26 11:04:02 +08:00
lijianan
2777f26909
type: export QRPropsSvg type (#42605) 2023-05-25 21:03:38 +08:00
MadCcc
bd36fba393
fix: fix checkbox align issue (#42590)
* fix: fix checkbox align issue

* fix: use center

* chore: comment

* fix: use align-self: center

* chore: add snapshot

* fix: tree checkbox
2023-05-25 20:46:51 +08:00
黑雨
a17c4cb581
feat: popover Component Token (#42337)
*  feat: popover Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-05-25 20:09:48 +08:00
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion (#42604)
* refactor: dependency inversion

* chore: use rc-util
2023-05-25 19:58:07 +08:00
lijianan
03a7374aa1
fix: fix tag border style (#42619)
* fix: fix tag style

* test: update snao

* test: update snap
2023-05-25 19:41:00 +08:00
afc163
8fb97df92c
feat: Pagination size change select component is searchable (#42608)
* feat: Paginaition size change select enable search

close https://github.com/ant-design/ant-design/issues/27684

* test: update snapshot

* test: update snapshot
2023-05-25 19:26:47 +08:00
二货爱吃白萝卜
e932210a52
chore: warning if use getContainer false (#42596)
* chore: warning if use getContainer false

* chore: revert tree demo
2023-05-25 14:24:29 +08:00
MadCcc
b795b091ca
fix: segmented bg color (#42601) 2023-05-25 14:22:44 +08:00
sy296565890
b534c1ecb4
feat: qrcode support render svg (#42570)
* fet: QRCode support type(renderAs)

* fet: QRCode support type(renderAs)

* fet: QRCode support type(renderAs)

* fet: QRCode support type(renderAs)

* fix: Improve type.md,  export QRProps

* Update components/qrcode/demo/type.md

Co-authored-by: lijianan <574980606@qq.com>

* Update components/qrcode/index.tsx

Co-authored-by: lijianan <574980606@qq.com>

* fix: qrCodeProps

* fix: qrcode snap

* Update components/qrcode/demo/type.md

Co-authored-by: lijianan <574980606@qq.com>

* fix: QRCode docs

* fix: QRCode demo

* Update components/qrcode/demo/download.tsx

Co-authored-by: lijianan <574980606@qq.com>

* Update components/qrcode/demo/download.tsx

Co-authored-by: lijianan <574980606@qq.com>

* fix: QRCode snap

* fix: QRCode snap

* fix: 恢复下载示例

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-25 13:32:48 +08:00
github-actions[bot]
e12e87f1f0
chore: auto merge branches (#42598)
chore: merge master into feature
2023-05-25 03:36:35 +00:00
lijianan
993b9eb4e7
test: fix CI fail (#42594) 2023-05-25 11:10:23 +08:00
kiner-tang(文辉)
94732dfb01
feat(Collapse): Collapse support configure panel content by items (#42545)
* docs: update the document about Collapse

* docs: update the document about Collapse

* feat: optimize code

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

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

* feat: optimize code

* docs: update the document about Collapse

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-25 10:19:56 +08:00
afc163
67db6e1641
style: fix InputNumber align issue (#42580)
* style: fix InputNumber align issue

* Update index.ts

* Update components/input-number/style/index.ts

* Update index.ts
2023-05-25 00:10:49 +08:00
github-actions[bot]
a0f5f4b344
chore: auto merge branches (#42584)
chore: feature merge master
2023-05-24 14:28:51 +00:00
MadCcc
88a00dbf9e
test: update test case (#42582)
* chore: update snapshot

* chore: update test case

* chore: rm watermark image test
2023-05-24 22:03:26 +08:00
二货爱吃白萝卜
b2402f9140
fix: table hover missing style (#42572) 2023-05-24 17:11:57 +08:00
MadCcc
e6d86df3a9
fix: spin icon in Badge should have correct animation (#42575) 2023-05-24 16:58:59 +08:00
未觉雨声
9b4ad3da2a
fix(pagination): link icon and ellipsis disabled style (#42541)
* fix: pagination link icon and ellipsis disabled style

* style: lint
2023-05-23 18:49:05 +08:00
MadCcc
5e2732a03c Merge branch 'master' into feature-merge-master 2023-05-23 17:02:34 +08:00
MadCcc
4f9c8e2af2
fix: global token in Component Token override should be respected (#42535)
* fix: global token in Component Token override should be respected

* test: add snapshot
2023-05-23 13:39:05 +08:00
黑雨
023efaf976
feat: migrate less to token for Tag (#42053)
* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

* feat: clean up

*  feat: migrate less to token for Avatar

*  feat: migrate less to token for Tag

*  feat: migrate less to token for Tag

* 🔀  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update snap

* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

* chore: code clean

* chore: code clean

* chore: more suiltable line-height

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-23 09:45:41 +08:00
Hector Ayala
5bbd13d2c8
Fix calendar internal select source type (#42459)
* fix: pass panelMode as source type to internal select trigger

* test: add test case for triggering select source with panelMode

* test: update test to pass correct value to check

* test: fix passing value to test

* test: update test in proper select.test file

* test: update test case

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-22 18:48:28 +08:00
Dennis Chen
a96d0d0c2b
docs(Collapse): fix invalid description of demo extra (#42521)
* fix: collapse doc

* fix collapse extra demo description

* Update components/collapse/demo/extra.md

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 18:47:28 +08:00
dyecma
c1dbcae764
feat: rename sorterOrder to sortOrder (#42519) 2023-05-22 18:03:45 +08:00
二货爱吃白萝卜
7367aadc02
docs: more info about suffixIcon (#42520) 2023-05-22 17:19:13 +08:00
lijianan
ecc222e5f4
docs: add version (#42518) 2023-05-22 16:08:56 +08:00
56f9be7904
feat: add groupLabel prop in fieldNames (#42492)
* feat: add groupLabel prop in fieldNames

* fix: error

* chore: upgrade tree-select version

* chore: new docs

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

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

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

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

* Update optgroup.md

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-22 13:51:36 +08:00
MadCcc
5d53884919
fix: fix wrong button icon size and margin (#42516) 2023-05-22 13:37:41 +08:00
Ariunbat Ulambayar
91c16381be
fix: add missing translation in mn_MN.ts (#42512)
* Update mn_MN.ts

added OK text translation in MN

added OK text translation in MN

Revert "added OK text translation in MN"

This reverts commit 7958ac3d4ea190160fadef04ad54328d90a198ef.

* updated locale test
2023-05-22 13:34:55 +08:00
dyecma
8aca325d99
feat: implement sortIcon on Table (#42498)
* implement sortIcon on Table

* drop React.ReactNode from sortIcon

* add sortIcon test

* fix sortIcon arg type

* add sortIcon to docs

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 12:03:57 +08:00
二货爱吃白萝卜
2f9a8c7dde
fix: select check & remove icon align (#42513) 2023-05-22 11:13:38 +08:00
Zack Chang
a5069624bf
feat: less to component token for List (#42041)
* feat: less variables to component token for List

* Update migrate-less-variables.en-US.md

* feat: recover less variables

* feat: add debug demo

* chore: update snapshot

* chore: rename

* chore: rename && fix ts && recover itemPaddingLG

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-22 10:20:38 +08:00
Zack Chang
1cb1a7ae58
feat: less to component token for Timeline (#42491)
* feat: css variables to token

* chore: rename token

* feat: add color token

* feat: add debug demo

* chore: update snapshot

* chore: rename demo

* chore: rename token

* chore: recover tailWidth

* chore: rename token demo filename

* chore: update snap

* fix: CN-docs

* fix: US-docs

* chore: rename demo

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
2023-05-22 09:36:14 +08:00
github-actions[bot]
6e71faa172
chore: auto merge branches (#42509)
chore: feature merge master
2023-05-20 19:30:00 +00:00
e4f84e0e96
fix: Select scrollbar rtl direction position (#42508)
Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-21 02:59:50 +08:00
afc163
7461a216a0
demo: fix Layout demo ssr render effect (#42501)
* demo: fix Layout demo ssr render effect

close https://github.com/ant-design/ant-design/issues/42487

* test: update snapshot
2023-05-19 23:57:37 +08:00
cooljser
6195610a21
feat: DatePicker support kk:mm format (#42494)
Co-authored-by: fan.hu <fan.hu3@envision-digital.com>
2023-05-19 18:57:35 +08:00
muxin
f11c3c3a08
feat: migrate less to token for Anchor (#42141)
* feat: rename anchor token

* docs: add component-token demo

* fix: update token
2023-05-19 18:26:31 +08:00
GUAN MING
75da87d730
feat(notification): support role prop (#42484)
* fix: version error

* fix: version error

* docs: update version

* docs: add version column

* docs: fix CN docs

* docs: update default value
2023-05-19 18:21:31 +08:00
红果汁
d61c08e7df
prefer: optimize allow clear logic (#42439)
* refactor: optimize allow clear logic

* test: fix test coverage down

* refactor: use onChange type
2023-05-19 17:44:27 +08:00
muxin
ffedddb211
feat: migrate less to token for Carousel (#42157)
* feat: rename Carousel token

* docs: add component-token demo

* fix: use dotActiveWidth instead of dotWidthActive

* fix: use deprecatedTokens option
2023-05-19 14:58:40 +08:00
lijianan
c61ea98b5d
fix: code optimization (#42483)
* fix: code optimization

* refactor

* [CodeFactor] Apply fixes

* test: add cov

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2023-05-19 14:29:44 +08:00
Zack Chang
ccb7251384
feat: migrate less to token for Upload (#42042)
* feat: migrate less to token for Upload

* feat: recover less variables

* feat: add debug demo

* feat: rename token

* chore: update snapshot

* chore: update snap

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-19 11:11:31 +08:00
Zack Chang
3bfb7ac2a0
feat: less to component token for Typography (#42442)
* feat: less to component token for Typography

* feat: add titleFontWeight token

* feat: add debug demo

* chore: rename token

* chore: rename demo name

* chore: rename titleFontWeight

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-19 09:46:15 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config (#42473)
* chore: static config of theme

* chore: static all method

* test: add test case

* docs: comment

* docs: more info

* test: update snapshot

* test: fix test logic
2023-05-18 23:53:34 +08:00
kiner-tang(文辉)
c878433e9a
feat: migrate less to token for Segmented (#42136)
* feat: migrate less to token for Segmented

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: reset style

* style: reset style

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-18 22:21:53 +08:00
dingkang
da1162ffb1
feat: migrate less to token for Checkbox (#42097)
* feat: migrate less to token for Checkbox

* feat: type enhancement

* feat:migrate less to token for Checkbox

* fix: style

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 22:07:15 +08:00
kiner-tang(文辉)
65d7a5b943
feat: migrate less to token for Skeleton (#42134)
* feat: migrate less to token for Message

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* Update docs/react/migrate-less-variables.en-US.md

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 21:18:02 +08:00
lijianan
8f1d496972
refactor: remove rc-util/lib/Dom/addEventListener (#42464)
* docs: fix typo in docs

* remove rc-util/lib/Dom/addEventListener

* fix

* fix
2023-05-18 20:35:09 +08:00
JiaQi
dc2add0fea
style(table): Modify borderRadius in filter dropdown (#42451)
Co-authored-by: lijianan <574980606@qq.com>
2023-05-18 19:42:11 +08:00
lijianan
9caba0919b
demo: update form demo when layout === inline (#42476) 2023-05-18 19:40:35 +08:00
github-actions[bot]
cc16b931b7
chore: auto merge branches (#42469)
chore: feature merge master
2023-05-18 09:40:20 +00:00
二货爱吃白萝卜
ecc384e8b6
chore: follow up of tooltip style (#42466) 2023-05-18 16:54:57 +08:00
黑雨
90200684b2
feat: Breadcrumb Component Token (#42342)
*  feat: Breadcrumb Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update dome

*  feat: update

*  feat: update

*  feat: update dome
2023-05-18 16:32:52 +08:00
muxin
07d5e5e7bb
feat: migrate less to token for Calendar (#42194)
* feat: rename calendar token

* docs: add component-token demo
2023-05-18 16:12:41 +08:00
muxin
0ea9c88048
feat: migrate less to token for Rate (#42135)
* feat: rename rate token

* docs: add component-token demo
2023-05-18 13:53:51 +08:00
红果汁
2722850c0d
chore: sync @rc-component/color-picker@1.1.0 (#42445)
* fix: sync @rc-component/color-picker@1.1.0

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-18 13:34:06 +08:00
github-actions[bot]
cb1368f139
chore: auto merge branches (#42458)
chore: merge master into feature
2023-05-18 02:36:47 +00:00
afc163
d90c1c62c0
fix: upgrade @ant-design/icons to 5.1.0 (#42443)
* Update package.json

* Update package.json

* chore: update snapshot

* style: #1890ff => #1677ff

* style: fix Upload icon color

* style: fix Upload icon color

* revert menu v4 demo
2023-05-18 09:40:09 +08:00
二货爱吃白萝卜
71fc54e53a
feat: Calendar onSelect support info.source param (#42432)
* test: add test case

* test: add test case

* docs: update api

* docs: faq update
2023-05-17 21:18:51 +08:00
Nikhil Mishra
bb6e0f5ab9
docs: fixed some grammatical errors in index.en-US.md (#42438)
I corrected some spelling and added some articles.
2023-05-17 18:30:01 +08:00
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null (#42433)
* fix: Popconfirm margin issue when icon is null

* test: update snapshot

* demo: update snapshot

* chore: improve code

* demo: update snapshot

* refactor: remove used css

* demo: update snapshot
2023-05-17 14:49:42 +08:00
Zack Chang
4efa0b64db
feat: less to component token for Descriptions (#42038)
* feat: less to component token for List

* fix: title

* feat: add debug demo

* chore: rename

* Update index.tsx

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-17 14:22:48 +08:00
afc163
74d5718ee7
demo: update popconfirm demo (#42429)
* demo: update popconfirm demo

* demo: update snapshot
2023-05-17 12:00:49 +08:00
ZHAO Zhiwei
ad4dded3f5
fix: Menu item icon not centered when itemMarginInline is 0 (#42426) 2023-05-17 11:13:00 +08:00
kiner-tang(文辉)
291dc41850
docs: update docs (#42425) 2023-05-17 10:39:38 +08:00
lijianan
f1fda002a4
typescript: replace unknown & any with SliderRef (#42420) 2023-05-17 10:06:44 +08:00
kiner-tang(文辉)
7183eab0a9
feat(ColorPicker): close panel when click clear button (#42406)
* feat: close panel when click clear button

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-17 09:58:41 +08:00
lijianan
d7de0d846e
fix: replace hex with ColorFormat.hex (#42423) 2023-05-17 09:57:42 +08:00
github-actions[bot]
c70eb9338f
chore: auto merge branches (#42424)
chore: feature merge master
2023-05-17 01:46:55 +00:00
kiner-tang(文辉)
2274111367
feat(ColorPicker): fix coverage down issue in ColorPicker (#42409)
* chore: test

* feat: optimize code
2023-05-16 23:32:18 +08:00
二货爱吃白萝卜
4460ff4718
fix: Tag with Tooltip should not affact style (#42414) 2023-05-16 22:24:52 +08:00
二货爱吃白萝卜
a3fb7834a7
fix: Card tabList API to align with Tabs (#42413)
* chore: pass to tabs

* test: update snapshot
2023-05-16 22:24:41 +08:00
二货爱吃白萝卜
72bd724308
docs: update TreeSelect faq (#42403) 2023-05-16 17:42:59 +08:00
Alex
8d36dde9b1
refactor(avatar): simplify code (#42402) 2023-05-16 17:16:04 +08:00
yiwwhl
26590f6b35
chore: update variable name from groupSize to contextSize (#42396) 2023-05-16 16:19:14 +08:00
二货爱吃白萝卜
cd71f19d30
fix: Popconfirm onVisibleChange trigger twice (#42393)
* fix: Popconfirm onVisibleChange trigger twice

* chore: fix quota

* chore: back of pkg
2023-05-16 15:40:16 +08:00
二货爱吃白萝卜
49549ae210
fix: Use visible first (#42394) 2023-05-16 15:19:39 +08:00
kiner-tang(文辉)
75e40999cd
feat: color-picker pure panel (#42388) 2023-05-16 14:18:12 +08:00
lijianan
b6fc8604d9
docs: add controlled demo (#42383) 2023-05-16 13:49:59 +08:00
kiner-tang(文辉)
28f2e312bb
docs(color-picker): update docs (#42372)
* docs: update docs

* docs: update docs
2023-05-15 18:44:47 +08:00
kiner-tang(文辉)
70c2aff3bd
docs: update docs (#42367) 2023-05-15 17:22:19 +08:00
红果汁
aeabe74fbc
docs: replace react-color with color-picker (#42350)
* style: fix prettier problem

* docs: add presets label

* style: fix prettier problem

* style: fix prettier
2023-05-15 15:11:05 +08:00
二货爱吃白萝卜
0a81a00771
fix: Preset color block style (#42361)
* fix: Preset color block style

* chore: use token
2023-05-15 14:54:51 +08:00
红果汁
843b89bf75
fix: color-picker review issues (#42356)
* fix: color-picker review issues

* style: fix prettier problem
2023-05-15 13:56:30 +08:00
二货爱吃白萝卜
902d857807
chore: adjust color trans (#42355) 2023-05-15 13:11:21 +08:00
二货爱吃白萝卜
4c3354592c
fix: Popover transition miss (#42352) 2023-05-15 10:48:23 +08:00
lijianan
0470646a5f
refactor: optimize ColorPicker code again (#42334) 2023-05-14 11:47:01 +08:00
bqy_fe
f0c53e11a9
fix(Divider): no dashed line in vertical (#40418)
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-14 11:43:21 +08:00
lijianan
d3093c9096
style: optimize ColorPicker code (#42329)
* style: optimize ColorPicker code

* style: optimize ColorPicker code

* test
2023-05-13 23:05:26 +08:00
qmhc
828db96962
style: optimize ColorPicker code (#42326)
* chore: fix ColorPicker parameters' type

* chore: improve code

* chore: update
2023-05-13 17:34:09 +08:00
不郑
f3be5ddd0e
fix(Progress): prevent warning when size prop is not set for circle p… (#41875)
* fix(Progress): prevent warning when size prop is not set for circle progress

* fix(Progress): add test case for #41875

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-13 16:42:38 +08:00
lijianan
8200e5ccb3
docs: update tag (#42303)
* Update index.zh-CN.md to document tagRender

* fix: fix lint

* docs: update tag
2023-05-13 00:13:35 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
lijianan
f77e2881af
type: type optimization (#42312)
* fix CI

* type: type optimization
2023-05-12 22:48:22 +08:00
MadCcc
448c2b8097
docs: add new component tag (#42309)
* docs: add new component tag

* chore: update

* re-run

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-05-12 17:53:37 +08:00
George Ciobanu
eb122dfb78
docs: Update index.en-US.md to tagRender (#42262)
* Update index.en-US.md to document tagRender

tagRender is currently available but not documented, so users do not know to use it.

* Update index.zh-CN.md

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-12 17:46:13 +08:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext (#42282)
* refactor: add useSize

* fix

* fix

* fix

* fix

* fix
2023-05-12 14:53:47 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +08:00
d32e8e67de
feat(cascader): add Option item disableCheckbox (#42024)
* feat(cascader): add uncheckableItemValues props

* feat: add Option disableCheckbox

* chore: modify md

* chore: add test and lock version

* Update package.json

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2023-05-12 11:53:51 +08:00
Denys Halenok
2be6c47f1b
fix: style not applied to overflowed Menu (#42294)
* fix: style not applied to overflowed Menu

* test: update snapshot
2023-05-12 11:38:38 +08:00
muxin
7d08d71506
doc: update notification api doc (#42239)
* doc: update notification api doc

* doc: add api desc about hooks
2023-05-12 09:53:00 +08:00
二货爱吃白萝卜
31852e1b65
chore: add warning of tip with spin (#42293) 2023-05-12 09:51:44 +08:00
afc163
f3fa3f961b
docs: improve Layout demo code (#42283)
* docs: improve Layout demo code

* chore: fix css rule order
2023-05-11 20:00:00 +08:00
huiwang
da67b481b8
fix: fix Steps size small of CP (#42278)
* fix: fix Steps size small of CP

* fix: update snap
2023-05-11 19:26:04 +08:00
菠萝吹雪
1d9cab6466
feat: add onPopupClick props (#42272)
* feat: add onPopupClick props

* fix: update en-us md

---------

Co-authored-by: pineapple <zhanglongchao@shizhuang-inc.com>
2023-05-11 15:44:55 +08:00
二货爱吃白萝卜
0ead943e1e
feat: Form support validateOnly (#42273)
* feat: support validateOnly

* test: update snapshot
2023-05-11 15:43:00 +08:00
lijianan
e03639691c
feat: add useSize hook (#42252) 2023-05-11 15:24:26 +08:00
红果汁
c76d9fe4f4
feat: Space support ref (#42266) 2023-05-11 12:00:02 +08:00
lijianan
025cdeccc5
fix: master CI fail fix (#42253)
* fix: master CI fail fix

* fix
2023-05-10 17:42:07 +08:00
lijianan
026b74aa0e
fix: add active style (#42249) 2023-05-10 14:56:58 +08:00
Wesley
3a964001e9
style: fix InputNumber out of range style error (#42250)
* fix: inputNumber out of range style does not take effect

* feat: Add test cases for inputnumber
2023-05-10 14:56:46 +08:00
smallbun
c5ab19862a
type: getContainer support return ShadowRoot type (#40206) 2023-05-10 14:37:48 +08:00
huiwang
d0e29d33b7
fix: fix Descriptions size small of CP (#42244) 2023-05-10 14:09:25 +08:00
7de7a8b6e4
fix: Progress throws warning findDOMNode is deprecated in StrictMode (#42241)
* fix: Progress throws warning

* chore: update test

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-10 13:42:12 +08:00
yangyuanxx
a60d55ef10
chore: improved support for generics MenuItemType and MenuItemProps in the Menu component (#42240)
* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component

* docs: update codesandbox link (#42238)

* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component

* chore: add typing test to Menu

---------

Co-authored-by: yangyuan <yangyuan@yangyuandeMacBook-Pro.local>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-10 10:20:17 +08:00
afc163
1a44c461be
docs: update codesandbox link (#42238) 2023-05-09 21:44:05 +08:00
MadCcc
34af3ec550
feat: component token rename (#42184)
* feat: component token naming rules

* dcos: update

* feat: modal token rename

* feat: rename result token

* feat: statsitic token rename

* feat: steps token remane

* chore: update snapshot

* chore: fix lint

* feat: semantic part component

* revert: button & notification

* revert: files

* chore: code clean
2023-05-09 19:24:50 +08:00
二货爱吃白萝卜
917e41ecc5
docs: update faq (#42233) 2023-05-09 19:09:21 +08:00
二货爱吃白萝卜
5904f80a9a
feat: DatePicker support changeOnBlur (#42168)
* docs: update docs

* chore: fix lint

* chore: bump rc-picker

* docs: timepicker docs

* chore: update ignore
2023-05-09 18:00:44 +08:00
菠萝吹雪
0e94620a74
feat: Added bgColor attribute to fix the problem that the background c… (#42214)
* fix: Added bgColor attribute to fix the problem that the background color of the QR code is displayed incorrectly when downloading

* chorn: update snap

* fix: 新增版本号

* fix: update snap

* fix: 去除多余代码

* fix: update snap

---------

Co-authored-by: pineapple <zhanglongchao@shizhuang-inc.com>
2023-05-09 17:24:28 +08:00
github-actions[bot]
7a3e697c11
chore: auto merge branches (#42231)
chore: sync master into feature
2023-05-09 08:42:14 +00:00