Commit Graph

3484 Commits

Author SHA1 Message Date
github-actions[bot]
f8629ac588
chore: auto merge branches (#38093)
chore: sync master into feature
2022-10-18 14:32:45 +00:00
afc163
3359f535fe
test: move argos-ci from github action to circleci (#38091)
* Add .circleci/config.yml (#1)

* Add .circleci/config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update config.yml

* Update package.json

* Update config.yml

* Update argos-upload.js

* test: replace github action to circleci
2022-10-18 19:53:20 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact (#37652)
* feat: add Space.Compact

* feat: update input style

* feat: add CompactItem for context memoize

* feat: add demo

* feat: update button style

* feat: update input style

* feat: 提取 getCompactClassNames 公用方法

* feat: update button style

* feat: update picker

* feat: add block prop for Space.Compact

* feat: use Space.Compact for Input#addonBefore/After

* feat: update addon

* refactor: compact

* feat: update

* feat: update

* feat: migrate styles to compact for new Input/Input.Search

* feat: organize input demo

* feat: add more button compact demo

* feat: resolve select border collapse

* feat: fix input addon select style

* feat: add input addon demo in Space

* feat: add  useCompactItemContext hook

* feat: update compact-item style

* feat: rollback input#addon implements

* feat: rollback input#addon and input.search style

* feat: select border collapse

* feat: add Space.Compact demo

* feat: Space.Compact vertical for Button

* refactor: useCompactItemContext

* feat: update Button vertical demo

* feat: rtl for compact mixin

* feat: rtl for compact button

* feat: input rtl

* feat: add docs for Space.Compact

* test: add some tests for Space.Compact

* test: add tests

* feat: select style

* feat: handle select focus style

* feat: add useCompactItemContext for Picker and Cascader

* style: add compact-item style for cascader

* feat: support nested Space.Compact

* style: Input.Search in Space.Compact

* chore: clean

* feat: add useCompactItemContext for TreeSelect

* fix: lint issues

* fix: style lint

* docs: update demos for Space.Compact

* docs: update demo

* fix: add deps-lint-skip for space

* fix: add deps-lint-skip for space

* fix: handle edge case for useCompactItemContext

* test: add search test case

* chore: + bundlesize

* style: merge button compact style into one file

* style: improve style for nested compact

* fix: stylelint

* docs: update Space.Compact docs

* test: update demo snapshot

* test: update input debug test snapshot

* docs: update doccs for Space.Compact

* test: improve test cases for Compact

* docs: clean demos for Compact

* refactor: improve Space.Compact

* fix: add useCompactItemContext for Input.Search

* style: improve compact border-radius implementation

* refactor: use context to make nested compact works

* fix: input-number focused style

* refactor: remove useless style

* refactor: improve style for vertical compact

* test: update snapshot

* test: update snapshot for input

* refactor: improve compact-item-border-radius

* fix: search group in RTL

* style: improve style for button compact

* style: use after

* fix: stylelint

* chore: update snapshot

* style: improve button compact

* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
renovate[bot]
ca0372a359
chore(deps): update dependency antd-img-crop to v4.2.8 (#38042)
* chore(deps): update dependency antd-img-crop to v4.2.8

* Update package.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-18 10:33:29 +08:00
MadCcc
442176627f Merge branch 'master' into feature-merge-master 2022-10-17 17:55:50 +08:00
二货爱吃白萝卜
7e70766193
docs: 4.23.6 changelog (#38058)
* docs: Update changelog

* docs: add textarea update

* docs: Adjust order

* docs: add rc-picker changelog
2022-10-17 17:06:47 +08:00
afc163
14b83d97b5
Update package.json (#38050) 2022-10-17 16:17:22 +08:00
二货爱吃白萝卜
0992341f87
chore: docker update (#38053)
* chore: docker update

* chore: clean up

* fix: lock stylelint version

* Update package.json

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

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-10-17 15:45:21 +08:00
renovate[bot]
3c456c39c2
chore(deps): update dependency stylelint-config-standard to v29 (#38044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 12:01:57 +08:00
MadCcc
02b1176c43
chore: lock antd-imge-crop (#38014) 2022-10-14 10:41:53 +08:00
Zheeeng
e4568cee26
chore(deps): update typescript and eslint (#37942) 2022-10-11 16:12:12 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
44eb2505bd
fix: Tabs overflow calculation (#37937) 2022-10-11 14:35:56 +08:00
Peach
975def492b
docs: changelog for 4.23.5 (#37917)
* docs: changelog for 4.23.5

* chore: bump version to 4.23.5
2022-10-10 17:22:40 +08:00
renovate[bot]
1a0823a908
chore(deps): update dependency eslint-plugin-react to v7.31.8 (#37887)
* chore(deps): update dependency eslint-plugin-react to v7.31.8

* Update custom.md

* Apply suggestions from code review

* test: update snapshot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-08 17:04:47 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
renovate[bot]
92d6cea91c
chore(deps): update dependency react-dnd to v16 (#37840)
* chore(deps): update dependency react-dnd to v16

* Apply suggestions from code review

* Update .jest.js

* test: fix jest tranformer

* test: fix jest tranformer

* test: fix jest tranformer

* test: fix jest tranformer

* test: fix jest tranformer

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-08 15:11:41 +08:00
dependabot[bot]
b0da0ea258
chore(deps-dev): bump @types/gtag.js from 0.0.11 to 0.0.12 (#37870)
Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.11 to 0.0.12.
- [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-10-06 19:57:07 +08:00
lijianan
c2d7fe4f0d
chore: delete Enzyme (#37854)
* chore: delete Enzyme

* fix: fix
2022-10-06 13:51:02 +08:00
二货爱吃白萝卜
c436bd6f4f
fix: Textarea blink on first mount (#37847)
* fix: Textarea blink on first mount

* chore: Update ts def

* test: Update test case

* chore: bump rc-mentions

* test: Update snapshot

* test: Update test case
2022-10-04 23:31:32 +08:00
renovate[bot]
cecfd1b65c
chore(deps): update dependency eslint-plugin-unicorn to v44 (#37837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-02 16:38:16 +08:00
陈帅
51c88e9fd7
docs: add 4.23.4 changelog (#37833)
* docs: add  4.23.4 changelog

* update package.json
2022-10-02 11:56:51 +08:00
“konghai”
42ca13d7c3 fix: delete node_modules 2022-09-29 18:53:38 +08:00
二货爱吃白萝卜
f39a861c07
refactor: Use new rc-dialog (#37790)
* refactor: Use new rc-dialog

* chore: bump rc-image also

* fix: timeout order

* test: Update snapshot
2022-09-29 16:23:38 +08:00
二货爱吃白萝卜
f4859202f5
fix: Nest Drawer default open show order (#37767)
* chore: bump drawer

* docs: Drawer test demo

* test: Update snapshot

* docs: Update demo

* chore: fix nest style

* chore: trigger CI

* chore: modify bundle size
2022-09-29 00:05:37 +08:00
二货机器人
069e44bcc3 chore: merge master 2022-09-28 12:01:20 +08:00
vagusX
668aa3a862
docs: changelog for 4.23.3 (#37741) 2022-09-27 11:50:20 +08:00
Haniel Cui
1e2946ac3e
feat: bump rc-image version, Image add preview.scaleStep prop (#37340)
* feat: bump rc-image version, Image add preview.scaleStep prop

* test(image): update test demos

* fix(image): fix image demo lint error
2022-09-24 19:51:26 +08:00
杨腿_
0054ff9dfd
feat: add icon to collapsible (#37566)
* feat: add icon to collapsible in collapse

* fix: typo

* Apply suggestions from code review

* test: update snapshot of collapsible.md

* feat: edit api support version

* feat: edit api support version

* fix: reinstall modules and update snapshots

Co-authored-by: yangchen7 <yangchen7@360.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2022-09-20 19:32:18 +08:00
dependabot[bot]
04cea3cf0d
chore(deps-dev): bump inquirer from 8.2.4 to 9.1.2 (#37636)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.4 to 9.1.2.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.4...inquirer@9.1.2)

---
updated-dependencies:
- dependency-name: inquirer
  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-09-20 10:00:05 +08:00
二货机器人
cdc20027b5 chore: merge master 2022-09-19 17:09:36 +08:00
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
黑雨
65f067eb13
feat: Steps supports items (#37531)
* feat: support items

* feat: update demo

* test: update package

* test: update use type

* test: update for test

* test: update for lint

* feat: update doc

* test: update for lint

* test: update for lint

* test: update for lint

* test: add deprecated dome

* test: add deprecated dome

* doc: update doc

* feat: update package

* test: add test case
2022-09-16 15:52:14 +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