Commit Graph

4037 Commits

Author SHA1 Message Date
afc163
a1b0775788 chore: resolve merge conflict 2023-06-25 12:32:36 +08:00
MadCcc
2f1ef80d14
fix: Textarea should not have height: auto when window resized (#43169)
* fix: Textarea border should always with textarea element

* fix: Textarea should not resize when window resized

* chore: code clean
2023-06-25 11:40:41 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +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
kiner-tang(文辉)
18ffb0099c
refactor: refactor closeIcon (#43098) 2023-06-19 20:14:21 +08:00
二货爱吃白萝卜
c3372d6403
docs: 5.6.2 changelog (#43078)
* chore: 5.6.2 changelog

* docs: update desc
2023-06-19 10:53:41 +08:00
daisy
e9bbc588cd
fix: Radio.Button title loss (#43012) 2023-06-15 09:46:05 +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
daisy
f777da867e
fix(Picker): dynamic disabledTime should be correct (#42991)
* fix(Picker): dynamic disabledTime should be correct

* fix: version
2023-06-14 10:55:18 +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
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
MadCcc
1a65a9b5cf
docs: changelog 5.6.1 (#42899) 2023-06-07 18:05:01 +08:00
Dunqing
b4b6b5c511
chore: update vitest related dependencies (#42892)
* chore: update `vitest` related dependencies

* chore: replace c8 with v8
2023-06-07 16:57:07 +08:00
renovate[bot]
84e44d16c0
chore(deps): update dependency @vitest/coverage-c8 to ^0.32.0 (#42889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 15:35:23 +08: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
MadCcc
d36e30384b
docs: changelog 5.6.0 (#42866)
* docs: changelog 5.6.0

* Apply suggestions from code review

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

* docs: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-06 21:49:04 +08:00
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
MadCcc
596104cc68
feat: static getDesignToken (#42723)
* feat: static getDesignToken

* chore: code clean
2023-06-05 17:45:33 +08:00
dependabot[bot]
ac51334a15
chore(deps-dev): bump typescript from 5.0.4 to 5.1.3 (#42794)
* chore(deps-dev): bump typescript from 5.0.4 to 5.1.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3)

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

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

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-06-05 01:39:22 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
linxianxi
036ef07013
fix(Imaga): reset transform when switch (#42793)
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-02 21:02: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
kiner-tang(文辉)
64fa8ed962
feat: drawer panel support event listener (#42718) 2023-05-30 14:18:55 +08:00
MadCcc
b955a96d62
docs: changelog 5.5.2 (#42709)
* docs: changelog 5.5.2

* docs: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update CHANGELOG.zh-CN.md

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

* docs: update

* docs: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-30 12:50:43 +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
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
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
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
MadCcc
61924699ab
fix: submenu align (#42648) 2023-05-26 17:15:03 +08:00
二货爱吃白萝卜
1990b8e708
chore: bump rc-field-form (#42635) 2023-05-26 11:31:02 +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
dependabot[bot]
61d0d05c94
chore(deps-dev): bump jest-puppeteer from 8.0.6 to 9.0.0 (#42625)
Bumps [jest-puppeteer](https://github.com/argos-ci/jest-puppeteer/tree/HEAD/packages/jest-puppeteer) from 8.0.6 to 9.0.0.
- [Release notes](https://github.com/argos-ci/jest-puppeteer/releases)
- [Changelog](https://github.com/argos-ci/jest-puppeteer/blob/main/packages/jest-puppeteer/CHANGELOG.md)
- [Commits](https://github.com/argos-ci/jest-puppeteer/commits/v9.0.0/packages/jest-puppeteer)

---
updated-dependencies:
- dependency-name: jest-puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 21:02:58 +08:00
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion (#42604)
* refactor: dependency inversion

* chore: use rc-util
2023-05-25 19:58:07 +08:00
Dunqing
c3364cf77e
chore: specify npm as the package manager (#42611)
* chore: specify npm as the package manager

* chore: update version

* Update package.json

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-25 19:53:56 +08:00
afc163
57f477ffa1
chore: upgrade rc-util version (#42621) 2023-05-25 19:15:40 +08:00
kiner-tang(文辉)
2cb1a56b44
refactor: replace deprecated onKeyPress with onKeyDown in Collapse (#42592) 2023-05-25 11:22:55 +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
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
MadCcc
369b4cd169
docs: changelog 5.5.1 (#42522) 2023-05-22 19:09:28 +08:00
MadCcc
5d53884919
fix: fix wrong button icon size and margin (#42516) 2023-05-22 13:37:41 +08:00
e4f84e0e96
fix: Select scrollbar rtl direction position (#42508)
Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-21 02:59:50 +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
红果汁
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
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
二货爱吃白萝卜
2cfc08c9db
chore: rm rome to use prettier back (#42395) 2023-05-16 15:51:30 +08:00
二货爱吃白萝卜
49549ae210
fix: Use visible first (#42394) 2023-05-16 15:19:39 +08:00
muxin
8565d3aebb
chore: bump rc-pagination version (#42382)
* chore: bump rc-pagination version

* doc: delete space
2023-05-16 10:15:39 +08:00
xrkffgg
1a2906941f
docs: add changelog 5.5.0 (#42339)
* docs: add changelog 5.5.0

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-05-15 15:12:57 +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