Commit Graph

3452 Commits

Author SHA1 Message Date
lijianan
c1ee787c68
fix: eslint error fix (#37630)
* fix: eslint error fix

* chore: update rc-input-number
2022-09-19 16:30:44 +08:00
clean99
82a971a433
test: refactor alert tests (#36954)
* add userEvent dependence

* Alert(test): refactor closable test with userEvent and more precise expect api

* Alert(test): remove duplicate test of closable

* Alert(test): remove duplicate test of closable

* Alert(test): refactor attributes setting tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor Popconfirm tests

* Alert(test): refactor icon test

* Alert(test): refactor tooltip test

* Alert(test): remove useless descible for perventing nesting

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-09-19 13:41:00 +08:00
afc163
48dfe20b55
docs(): release 4.23.2 (#37602) 2022-09-17 15:27:33 +08:00
二货爱吃白萝卜
646b71b418
fix: Tooltip not override children className when it's not a string type (#37598)
* fix: Tooltip not override children className when it's not a string type

* chore: bump rc-select
2022-09-17 13:06:24 +08:00
MadCcc
851a61a3e3
fix: TreeNode not aligned when disabled and draggable (#37534)
* fix: hide draggable icon when disabled

* chore: code clean

* chore: bump version
2022-09-13 21:24:37 +08:00
xrkffgg
f082155c3d
docs: add changelog 4.23.1 (#37502)
* docs: add changelog 4.23.1

* Update CHANGELOG.en-US.md

* Update CHANGELOG.en-US.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-09-09 17:28:27 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
MadCcc
b8501c4ca2
docs: changelog 4.23.0 (#37395) 2022-09-04 20:03:30 +08:00
MadCcc
90ff9cfb7c Merge branch 'master' into master-merge-feature 2022-09-04 15:46:52 +08:00
MadCcc
abbc85c049
chore: lock eslint-plugin-react (#37391) 2022-09-04 15:46:32 +08:00
MadCcc
e5e2159882 Merge branch 'feature' into master-merge-feature 2022-09-04 14:46:28 +08:00
dependabot[bot]
d65d77d9e9
chore(deps-dev): bump @types/gtag.js from 0.0.10 to 0.0.11 (#37348)
Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js)

---
updated-dependencies:
- dependency-name: "@types/gtag.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 21:36:55 +08:00
tempoeric
156500c2e3
chore: bump rc-tabs to alpha 1 (#37328)
Co-authored-by: Eric Bool <eric.bool@98labs.com>
2022-09-01 10:47:42 +08:00
dependabot[bot]
5a85a0f541
chore(deps-dev): bump @types/jest from 28.1.8 to 29.0.0 (#37318)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 28.1.8 to 29.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 23:53:24 +08:00
renovate[bot]
5fad62cebe
chore(deps): update dependency remove-files-webpack-plugin to v1.5.0 (#37296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 17:51:54 +08:00
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 (#37291)
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1)

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

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

* chore: fix eslint errors in test files

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-08-30 10:57:13 +08:00
renovate[bot]
c740c9e263
chore(deps): update dependency typescript to ~4.8.0 (#37269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:16:51 +08:00
dependabot[bot]
e587dede8c
chore(deps-dev): bump jest-environment-jsdom from 28.1.3 to 29.0.1 (#37275)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 28.1.3 to 29.0.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.0.1/packages/jest-environment-jsdom)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 09:50:04 +08:00
renovate[bot]
0483d7a79b
chore(deps): update dependency pretty-format to v29 (#37273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 22:28:19 +08:00
renovate[bot]
aedb257557
chore(deps): update dependency jest-environment-node to v29 (#37272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 22:28:04 +08:00
二货机器人
1164c46f26 Merge branch 'master' into feature-merge-master 2022-08-26 11:47:08 +08:00
二货爱吃白萝卜
8ebb36a0ce
docs: 4.22.8 changelog (#37249)
* docs: 4.22.8 changelog

* chore: rm empty line
2022-08-26 11:12:40 +08:00
dependabot[bot]
0e547b530d
chore(deps-dev): bump stylelint-config-standard from 27.0.0 to 28.0.0 (#37181)
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 27.0.0 to 28.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/27.0.0...28.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 21:26:06 +08:00
dependabot[bot]
560abe9241
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.38 to 0.4.2 (#37219)
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc) from 0.3.38 to 0.4.2.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases)
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.38...v0.4.2)

---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 21:24:15 +08:00
二货机器人
cf49149ce7 chore: merge master 2022-08-23 11:53:24 +08:00
lijianan
db0344c85f
test: migrate part of ConfigProvider tests (#37142)
* test: migrate part of ConfigProvider tests

* test: migrate part of ConfigProvider tests

* test: update snap

* test: update snap

* test: migrate part of ConfigProvider tests

* fix: commented error case

* chore: update snapshot name

* test: csp test case

* test: revert test case

* test: Update snapshot

* test: Update ser logic

* test: more cov

* test: cascader snapshit

* test: update match

* test: more detact

* test: more handler

* chore: Update snapshot

* test: Table test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 22:54:38 +08:00
MadCcc
0868bff4d1
docs: changelog 4.22.7 (#37169) 2022-08-21 15:12:14 +08:00
二货机器人
bf8a7ace41 Merge remote-tracking branch 'origin/master' into feature 2022-08-18 10:57:17 +08:00
nuintun
ade858c16a
fix: Move @testing-library/user-event to devDependencies (#37098) 2022-08-17 13:20:04 +08:00
MadCcc
03dcaf740c
docs: 4.22.6 changelog (#37101)
* docs: 4.22.6

* chore: changelog version

* chore: update
2022-08-17 12:00:23 +08:00
dingkang
82ba5eac40
test: replace Menu test case with test lib (#37046)
* test: replace test case with test lib

* test: Update test case to make more sense

* chore: trigger ci

* test: rm firstChild

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-15 16:43:41 +08:00
陈帅
cbb8b28430
docs: add 4.22.5 changelog (#37049)
* add 4.22.5 changelog

* fix
2022-08-15 14:26:24 +08:00
dependabot[bot]
089c73d4ff
chore(deps-dev): bump stylelint-config-standard from 26.0.0 to 27.0.0 (#37022)
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 26.0.0 to 27.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/26.0.0...27.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 18:09:00 +08:00
afc163
9230196cf0 Merge branch 'feature' into master-merge-feature 2022-08-10 17:18:29 +08:00
二货爱吃白萝卜
dcc114e042
test: Adjust Drawer test case (#36964) 2022-08-09 14:31:53 +08:00
clean99
8129bfee8b
test: refactor autocomplete test with screen and userEvent (#36953)
* AutoComplete(test): refactor custom input autocomplete with userEvent and screen

* AutoComplete(test): refactor dataSource is object array with screen and userEvent

* AutoComplete(test): update file name to tsx and refactor with screen

* AutoComplete(test): option test refactor

* AutoComplete(test): className test refactor

* remove fireEvent

* ignore ts error

* disable no-console

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 22:42:57 +08:00
afc163
f8cb6eb05e
docs(): release 4.22.4 (#36952) 2022-08-08 20:05:42 +08:00
二货爱吃白萝卜
304b36a5bf
refactor: Replace Tabs motion (#36943)
* chore: bump rc-tabs

* refactor: use internal motion

* test: Update snapshot

* chore: clean up

* test: Update snapshot

* test: coverage

* test: resolve conflict
2022-08-08 17:01:25 +08:00
github-actions[bot]
2fc754eeaf
chore: auto merge branches (#36906)
chore: feature merge master
2022-08-05 04:52:57 +00:00
二货爱吃白萝卜
628968f460
feat: Tabs support items (#36889)
* refactor: Using items

* docs: replace with items

* docs: deprecated demo

* test: Update snapshot

* docs: simple basic demo

* test: coverage
2022-08-05 10:49:08 +08:00
JarvisArt
d88e9fe866
chore: upgrade rc-mentions to v1.9.1 (#36898) 2022-08-04 19:14:56 +08:00
github-actions[bot]
37cc36ac7e
chore: auto merge branches (#36883)
chore: feature merge master
2022-08-04 09:35:42 +00:00
JarvisArt
549a2f956f
feat: add value parameter to textarea showCount.formatter (#36793) 2022-08-01 17:39:57 +08:00
vagusX
a09377f46d
docs: add changelog 4.22.3 (#36812) 2022-08-01 14:39:00 +08:00
renovate[bot]
819eec806b
chore(deps): update dependency @size-limit/file to v8 (#36802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 18:03:36 +08:00
renovate[bot]
f01aa3c985
chore(deps): update dependency size-limit to v8 (#36803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 18:03:28 +08:00
losgif
aa648d2cd8
feat(table): add column title attribute in expandable props. (#36794)
* chore: rc-table's version up to 7.26.0

* docs(table): add column title attribute in expandable

* docs(table): add column title attribute in expandable
2022-07-30 17:13:20 +08:00
二货机器人
9a308bb2af
docs: 4.22.2 changelog (#36764)
* docs: 4.22.2 changelog

* docs: more changelog
2022-07-28 21:25:36 +08:00
二货机器人
24be945ea8
fix: Not work in old browser (#36748)
* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case
2022-07-27 23:44:45 +08:00
二货机器人
c231e139cd
docs: 4.22.1 changelog (#36732) 2022-07-27 17:26:40 +08:00