Commit Graph

16464 Commits

Author SHA1 Message Date
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