Commit Graph

3296 Commits

Author SHA1 Message Date
二货机器人
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
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
11d09f80de
docs: 4.19.5 changelog (#34851) 2022-04-02 23:33:13 +08:00
二货机器人
baade8611d
fix: Form unmount miss origin store value (#34845) 2022-04-02 18:31:14 +08:00
afc163
a73629fb85 chore: merge feature 2022-03-31 09:57:33 +08:00
二货机器人
2733977245
chore: React 18 test case (#34781)
* chore: add 18 test

* chore: update test flow

* chore: fail fast

* chore: foce ci

* chore: more if

* chore: test it

* chore: back of it

* chore: master only

* chore: fix spell

* chore: force install

* test: comment 16 tmp

* chore: use react 17

* chore: install 18

* chore: back of 16 & 17
2022-03-30 14:35:43 +08:00
MadCcc
93bc388ad5
chore: update rc-tabs version (#34757) 2022-03-28 21:39:48 +08:00
MadCcc
c5e8efb82f
feat: Dropdown support switch options with arrow keys (#34738)
* feat: dropdown support auto-focus

* chore: code clean
2022-03-28 14:43:10 +08:00
zombiej
5ec9aa2a28 chore: bump 4.19.5-alpha.0 2022-03-28 14:05:31 +08:00
MadCcc
4491592d0d
docs: changelog 4.19.4 (#34734) 2022-03-27 15:38:13 +08:00
github-actions[bot]
2f65904de2
chore: auto merge branchs (#34635)
chore: merge master into feature
2022-03-22 02:18:06 +00:00
MadCcc
c0b58aaf93
feat: Tree support rootClassName & rootStyle (#34578)
* feat: tree support rootClassName & rootStyle

* feat: Tree support rootClassName and rootStyle

* chore: update rc-cascader

* chore: update rc-tree

* chore: update cascader

* chore: update deps
2022-03-22 00:02:01 +08:00
陈帅
491178cca9
docs: add 4.19.3 changhelog (#34617)
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-03-21 17:05:26 +08:00
黑雨
4374b2c283
feat: dialog,image add rootClassName api (#34574)
* feat: dialog add rootClassName api

* feat: rc-image add rootClassName api

* feat: update doc
2022-03-19 18:44:43 +08:00
github-actions[bot]
76b1ad60d2
chore: auto merge branchs (#34585)
chore: sync master to feature
2022-03-19 09:41:29 +00:00
二货机器人
a67d39cd6c
feat: Menu support items (#34559)
* docs: Update Menu cn doc

* chore: update ts def

* chore: support convert

* docs: more demo

* docs: more demo

* docs: all menu demos

* docs: dropdown demo

* docs: dropdown all demos

* docs: update demo

* test: coverage

* docs: more demo

* docs: layout demo

* docs: all demo

* chore: fix ts lint

* docs: fix doc

* docs: all docs
2022-03-18 15:20:35 +08:00
dependabot[bot]
acceca7029
chore(deps-dev): bump @types/gtag.js from 0.0.9 to 0.0.10 (#34561)
Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.9 to 0.0.10.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 19:56:38 +08:00
dependabot[bot]
8501788138
chore(deps-dev): bump @types/gtag.js from 0.0.8 to 0.0.9 (#34540)
Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.8 to 0.0.9.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 21:38:51 +08:00
afc163
085a9e9235
chore: upgrade rc-menu to 9.3.x (#34473) 2022-03-13 18:40:27 +08:00
afc163
01dceec0c7
docs( ): changelog for 4.19.2 (#34472)
* docs: changelog for 4.19.2

* fix changelog lint
2022-03-13 17:33:25 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook (#34418) 2022-03-10 18:54:32 +08:00
MadCcc
78d2b3f063
chore: update rc-field-form version (#34411) 2022-03-10 15:53:17 +08:00
二货机器人
3d7ed0815b
fix: not warning if Form.Item unmount (#34405) 2022-03-10 15:21:10 +08:00
dependabot[bot]
0d2ee1d67f
chore(deps-dev): bump jest-axe from 5.0.1 to 6.0.0 (#34392)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/nickcolley/jest-axe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/commits/v6.0.0)

---
updated-dependencies:
- dependency-name: jest-axe
  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-03-10 10:40:44 +08:00
MadCcc
abed625380
docs: changelog 4.19.1 (#34357)
* docs: changelog 4.19.1

* docs: update
2022-03-08 15:11:00 +08:00
MadCcc
cea2663b6c
docs: changelog 4.19.1-alpha.0 (#34352)
* docs: changelog 4.19.1-alpha.0

* docs: update

* docs: update

* docs: update
2022-03-08 13:15:10 +08:00
MadCcc
ae77463db4
docs: 4.19.0 changelog (#34328)
* docs: 4.19.0 changelog

* docs: update

* docs: update

* docs: update

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md
2022-03-08 08:38:39 +08:00
MadCcc
c7f6e1f199
refactor: clearIcon in allowClear (#34340)
* refactor: Input allowClear api upadte

* test: add test
2022-03-08 01:40:24 +08:00
MadCcc
5d51e8b5b4
fix: limit input class due to rc-input won't override input class (#34294)
* fix: limit input class due to rc-input won't override input class

* fix: add feedback into affix judgement
2022-03-04 12:07:25 +08:00
github-actions[bot]
9bcd45fac2
chore: auto merge branchs (#34266)
chore: sync master into feature
2022-03-03 02:23:48 +00:00
dependabot[bot]
ee6c23c584
chore(deps-dev): bump typescript from 4.5.5 to 4.6.2 (#34249)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  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-03-01 19:50:13 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider (#34234)
* chore: Update rc-slider version

* chore: bump

* chore: update sty;e

* fix: style

* test: update snapshot

* test: all fixed

* fix lint
2022-03-01 14:48:41 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input (#34206)
* feat: introduce rc-input

* fix: export InputRef alias

* docs: fix demo

* chore: code clean

* test: fix lint

* test: test coverage

* chore: code clean

* chore: code clean

* test: update snapshot
2022-03-01 14:17:48 +08:00