Commit Graph

3328 Commits

Author SHA1 Message Date
二货机器人
8b595e04d9
chore: fix cheerio for enzyme fix (#35666) 2022-05-21 21:35:24 +08:00
dependabot[bot]
eaefc86843
chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (#35659)
Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1)

---
updated-dependencies:
- dependency-name: react-intl
  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>
2022-05-20 20:32:12 +08:00
dependabot[bot]
f55778cf59
chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (#35658)
Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable)

---
updated-dependencies:
- dependency-name: "@types/react-resizable"
  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>
2022-05-20 19:46:46 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
二货机器人
b47acedbc7
chore: bump tools version (#35594) 2022-05-17 17:29:47 +08:00
MadCcc
2631855b4e
docs: changelog 4.20.5 (#35560) 2022-05-15 15:11:25 +08:00
TrickyPi
0a69bb5574
chore: del unused package && downgrade some packages which related webpack@5 (#35551) 2022-05-14 17:43:55 +08:00
MadCcc
fbdcbc7027
docs: changelog 4.20.4 (#35495)
* docs: changelog 4.20.4

* chore: emoji
2022-05-11 18:15:09 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 (#35334)
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
2022-05-09 23:17:26 +08:00
dependabot[bot]
6e10020474
chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (#35451)
Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.1)

---
updated-dependencies:
- dependency-name: husky
  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>
2022-05-09 19:57:44 +08:00
陈帅
be982e164a
docs: add 4.20.3 changelog (#35435)
* docs: add 4.20.3 changelog

* Update CHANGELOG.zh-CN.md

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

* fix typo

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

* fix typo

* fix typo

* fix typo

* fix typo

Co-authored-by: afc163 <afc163@gmail.com>
2022-05-09 00:08:20 +08:00
MadCcc
8b682a5662
chore: split chunks (#35222)
* chore: split chunks

* chore: update bisheng version

* chore: split @ant-design/icon

* chore: code clean

* chore: test

* chore: split moment

* chore: code clean
2022-05-08 09:48:30 +08:00
afc163
e039b10b2f Revert "chore: fix npm start error in Gitpod"
This reverts commit 978226fb13.
2022-05-05 11:27:49 +08:00
afc163
978226fb13 chore: fix npm start error in Gitpod
close #33444
2022-05-05 11:00:07 +08:00
afc163
609d576298
docs: changelog for 4.20.2 (#35338) 2022-04-30 15:14:30 +08:00
afc163
0658932fa0
Revert "feat: dropdown auto-focus (#35307)" (#35337)
This reverts commit 1ff58d23f0.
2022-04-30 15:10:04 +08:00
vagusX
409c25b7ce
feat: set proper height for Segmented (#35281) 2022-04-29 15:11:42 +08:00
MadCcc
1ff58d23f0
feat: dropdown auto-focus (#35307)
* feat: dropdown auto-focus

* chore: update rc-tabs
2022-04-28 19:50:33 +08:00
afc163
8a36abcc17
docs(): release 4.20.1 (#35250) 2022-04-26 18:03:35 +08:00
二货机器人
da85ed492d
docs: 4.20.0 changelog (#35203)
* docs: init 4.20.0 changelog

* chore: merge

* Update CHANGELOG.zh-CN.md

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

* docs: Update changelog

* chore: bump react version

* chore: revert react version

* Update CHANGELOG.zh-CN.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-04-24 14:29:42 +08:00
vagusX
1548f44ef8
feat: upgrade rc-segmented v2 (#35187)
* docs: add debug demo for segmented

* chore: update

* feat: upgrade rc-segmented v2

* Update components/segmented/__tests__/index.test.tsx

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

* Update components/segmented/demo/controlled-two.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-04-23 21:00:05 +08:00
afc163
26707f1bc9
test(🏞): batch upload snapshots to argos-ci.com (#35181) 2022-04-22 22:31:39 +08:00
二货机器人
1525ac47fb
chore: bump dropdown with inject mark (#35153) 2022-04-21 17:10:06 +08:00
二货机器人
b8eaecb898
fix: Form in React 18 StrictMode (#35096)
* test: fix with react 18

* fix: Form in StrictMode

* test: clean up

* test: clean up

* chore: bump rc-motion version

* chore: fix test case logic

* test: back of it

* test: back missing test case
2022-04-19 20:06:32 +08:00
Karott Schu
50a6a44bd0
pref: upgrade rc-menu (#35071)
* pref: upgrade rc-menu

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
2022-04-19 17:59:07 +08:00
zombiej
7f54a459f6 test: Update snapshot 2022-04-18 22:37:28 +08:00
二货机器人
640fe5df09
chore: rc-dialog id unique sync (#35072) 2022-04-18 15:12:06 +08:00
xrkffgg
805759e4ca
docs: add 4.20.0-alpha.1 changelog (#35070)
* docs: add 4.20.0-alpha.1 changelog

* docs: update
2022-04-18 13:50:28 +08:00
github-actions[bot]
4291c1d121
chore: auto merge branchs (#35049)
chore: merge master into feature
2022-04-15 08:03:26 +00:00
PCCCCCCC
7769ca1271
feat: Image PreviewGroup Support top progress rendering (#35038) 2022-04-14 23:45:16 +08:00
二货机器人
b62e409ad5
feat: Form support useWatch (#35036)
* feat: Support useWatch

* test: update test case

* chore: update snapshot
2022-04-14 20:46:57 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot warning in React 18 (#35030)
* chore: bump notification version

* test: notification test case

* test: more test case

* test: part message test

* test: rest message test

* test: notification config test
2022-04-14 18:09:19 +08:00
afc163
4c8041dc14
fix: Select and AutoComplete scroll behavior by keyboard (#35025)
fix #34898
fix #35022
2022-04-14 10:15:33 +08:00
dependabot[bot]
800ce2a5e7
chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (#35017)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.2.0...v8.0.1)

---
updated-dependencies:
- dependency-name: glob
  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>
2022-04-13 21:28:45 +08:00
Peach
1cd911c57c
docs: changelog for 4.20.0-alpha.0 (#34977)
* docs: changelog for 4.20.0

* chore: bump version to 4.20.0

* docs: update version date

* chore: update version to 4.20.0-alpha.0

* docs: remove react 18 compatible
2022-04-12 22:37:58 +08:00
afc163
3718a8e2c5 chore: use ~ instead of ^ for rc-segmented 2022-04-12 22:21:21 +08:00
dependabot[bot]
618490b846
chore(deps-dev): bump react-helmet-async from 1.2.3 to 1.3.0 (#34997)
Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.2.3 to 1.3.0.
- [Release notes](https://github.com/staylor/react-helmet-async/releases)
- [Commits](https://github.com/staylor/react-helmet-async/commits)

---
updated-dependencies:
- dependency-name: react-helmet-async
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 22:03:40 +08:00
afc163
cbe85387be
style: remove selected item style of AutoComplete (#34996)
close ant-design/ant-design#34975
2022-04-12 20:27:02 +08:00
PCCCCCCC
15453e7c7a
feat: Image preview support keyboard switch (#34992) 2022-04-12 19:17:32 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
二货机器人
688422b490
test: back of coverage (#34964)
* test: fix coverage

* chore: bump bisheng

* chore: clean up

* chore: update deps

* chore: test coverage
2022-04-11 15:32:00 +08:00
vagusX
ae4e660a05
feat: add new component Segmented (#34319)
* feat: basic implements in antd

* feat: use rc-segmented

* feat: add some demos

* feat: support dark theme

* docs: add more demos

* feat: support `icon` in segmented

* docs: format content

* test: add test cases

* docs: update docs

* chore: update

* fix: lint issues

* style: add border-radius for selected effect

* style: change border-radius-base

* chore: update gitignore

* feat: segmented support block

* chore: update gitignore

* feat: support block

* feat: add test case

* feat: support size

* docs: update demos

* chore: update

* chore: update

* test: update

* style: update colors

* style: hover and focus styles

* doc: add version mark in docs

* fix: style lint issue

* fix: some lint issues

* doc: add version in demo mds

* doc: add version mark before api details

* Revert "doc: add version in demo mds"

This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.

* test: only test for thumb appear

* style: update color vars

* style: add transition

* style: text vertial align

* test: update snapshots

* feat: add preview svg and support dark theme

* fix: update test snapshot

* docs: update docs

* fix: remove useless z-index

* build: add 1kb for bundlesize of antd.variable.min.css

Co-authored-by: taian.lta <taian.lta@antgroup.com>
2022-04-11 11:13:16 +08:00
renovate[bot]
fd1265b220
chore(deps): update dependency react-highlight-words to ^0.18.0 (#34954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 09:56:02 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
dependabot[bot]
f41b6a8a90
chore(deps-dev): bump @types/react-dom from 17.0.15 to 18.0.0 (#34943)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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>
2022-04-08 20:14:15 +08:00
二货机器人
3de8030e10
docs: site wrap with strict mode (#34895)
* docs: site wrap with strict mode

* chore: bump bisheng
2022-04-07 14:10:49 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
Michael Crenshaw
08e962db4e
chore(deps): update moment to 2.29.2 (#34867)
Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com>
2022-04-06 10:33:06 +08:00
dependabot[bot]
b47ac623b8
chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (#34861)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.1...v42.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  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>
2022-04-05 12:35:02 +08:00