Commit Graph

22330 Commits

Author SHA1 Message Date
dependabot[bot]
ee28570b2b
chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (#36229)
Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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-06-25 16:04:13 +08:00
Tianyuan Zhang
93400e25ec
docs: update Tabs demo code (#36217)
* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code
2022-06-24 18:08:17 +08:00
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log (#36220)
* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md
2022-06-24 16:40:48 +08:00
afc163
d733de8f14
docs: update valueStyle description (#36226)
close #36219
2022-06-24 16:39:21 +08:00
社长长
295f1ee819
docs: fix English FAQ title (#36222) 2022-06-24 15:56:43 +08:00
Alan Deng
02a0e6f160
style: Skeleton.Button square shape style (#36123)
* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation
2022-06-24 12:30:47 +08:00
afc163
326978e736
style: fix Table expand icon align issue (#36215) 2022-06-24 12:04:28 +08:00
afc163
f8a9cb3498
fix: nested Table margin style (#36209)
* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot
2022-06-24 10:49:59 +08:00
二货机器人
5e8280de88
chore: bump rc-util (#36210) 2022-06-24 01:13:16 +08:00
社长长
478bd6781e
Docs: FAQ add explanation of null in controlled components. (#36082)
* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-24 00:34:09 +08:00
afc163
7c4e6c4fd3
perf: unify regeneratorRuntime import path for bundle size (#36200)
* perf: unify regeneratorRuntime import path for bundle size

close #36198

* Update package.json
2022-06-23 16:54:20 +08:00
afc163
7357f55d52
fix: Upload listType="picture-card" select button when children is empty (#36196)
* fix: Upload listType="picture-card" select button should be hidden when children is empty

close #36183

* test: fix test case
2022-06-23 16:45:24 +08:00
Dunqing
2971e3b081
fix: Reset the last selection key (#34705)
* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-06-23 16:04:55 +08:00
Dunqing
3ea2817549
fix: type incompatibility in strict mode (#36189)
* fix: type incompatibility

* fix: type
2022-06-23 12:17:05 +08:00
afc163
88415f45e1
chore: fix Menu deprecated warning when item={undefined} (#36190) 2022-06-23 11:25:21 +08:00
Ryan Cavanaugh
726dd859a8
Fix breaks (#36186)
* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value
2022-06-23 10:39:05 +08:00
Andrew Horn
1c8415c494
Corrected grammar in comment in hooks.md (#36185) 2022-06-23 10:33:12 +08:00
lijianan
4401c74a16
refactor: performance optimization (#36177)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format
2022-06-22 21:01:00 +08:00
Amumu
ebc7527de3
fix: fix snapshot after si_LK locale is merged (#36181) 2022-06-22 20:05:11 +08:00
සයුරි | Sayuri
d692a88ed7
feat: add si_LK locale (#36149)
* දින තේරුම සකස් කිරීම

* චීන ප්‍රලේඛනය යාවත්කාල කිරීම

* ඉංග්‍රීසි ප්‍රලේඛනය යාවත්කාල කිරීම

* තවත් දත්ත ඇතුල් කිරීම

* දින දසුනට භාෂාව යෙදීම

* ප්‍රධාන දේශීයකරණ සංරචකය යෙදීම

* සැපයුම්කරු සඳහා ගොනුව යෙදීම

* කාලය තේරීමට අදාළ සංරචකය යෙදීම

* යෝජනාව ඇතුළු කෙරිණි

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

* නව ඇසුරුමට වෙනස් කළා

* ගොනුව යාවත්කාල කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-06-22 19:38:21 +08:00
dingkang
8c172a0d64
test: replace pagination test with test-library (#36178) 2022-06-22 17:12:04 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
afc163
15b8b85ce8
style: fix Button loading icon margin issue (#36168)
* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error
2022-06-22 12:58:56 +08:00
lijianan
db58f19d8c
style: Remove methed of Array push (#36157)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-22 10:06:02 +08:00
lijianan
8227a53791
style: Code style optimization (#36144)
* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-21 19:17:20 +08:00
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close (#36148)
* test: test driven

* fix: Dropdown with Menu list group
2022-06-21 15:48:29 +08:00
pfsu
092bfd7496
docs: update demo code (#36127) (#36143) 2022-06-21 14:09:31 +08:00
slotDumpling
1d8d871c4b
style: enlarge draggable area for Slider handle (#36018)
* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

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

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:52:03 +08:00
Dennis Chen
24a7da8ea8
docs(Input): add proper type for inputRef (#36135)
* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:45:49 +08:00
dependabot[bot]
b7cf4e6850
chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (#36133)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  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>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:35:17 +08:00
renovate[bot]
5120b38b46
chore(deps): update dependency inquirer to v9 (#36121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:35:00 +08:00
RainyLiao
7045aa7d7b
fix: repeat a css class in readOnly, which has been declared in rc-input-number (#36120)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:28:40 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment (#36126)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
二货机器人
0ff19bb239
fix: Table multiple dropdown not closed (#36132)
* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up
2022-06-20 23:28:46 +08:00
afc163
8d05774053
fix: Skeleton active style in dark theme (#36116)
close #36114
2022-06-19 14:22:52 +08:00
C. T. Lin
ef286d5eb4
fix: exporting UploadFile from upload (#34733) 2022-06-17 21:34:12 +08:00
afc163
4fe88a5577
docs: add locale link in Calender (#36108)
close https://github.com/ant-design/ant-design/issues/36107#issuecomment-1158630726
2022-06-17 17:41:01 +08:00
afc163
ad45f6c185
docs(): release 4.21.3 (#36105) 2022-06-17 15:44:37 +08:00
yykoypj
96ccdfedf1
test: change to fakeTimer when error happens sometimes (#36102) 2022-06-17 15:07:32 +08:00
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable (#36098)
* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow
2022-06-17 14:37:18 +08:00
Jaylan
f19cf66c88
fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (#36092)
* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>
2022-06-17 11:37:57 +08:00
C. T. Lin
89717f1b0f
fix: exporting RefSelectProps from select (#34732) 2022-06-17 09:52:56 +08:00
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form (#34735) 2022-06-17 09:51:36 +08:00
yykoypj
83eb5e5a35
test: move test cases to @testing/library for Upload (#36024)
* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-16 23:29:04 +08:00
二货机器人
34dfb808ad
feat: Form support setFieldValue (#36058) 2022-06-15 17:30:10 +08:00
Humble
0e6e1c047d
fix:when props.value is not undefined, can't reset value and focus (#34728)
* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-15 14:51:30 +08:00
Yuki Zhang
6195376bd0
test: move test cases to testing lib for Badge (#36033) 2022-06-15 10:43:56 +08:00
Yuki Zhang
88858c7888
test: improve test cases for Statistic (#36034) 2022-06-15 10:38:11 +08:00
MadCcc
25e1d1bc77
docs: 4.21.2 (#36055) 2022-06-15 01:35:02 +08:00
MadCcc
147468a69c
fix: fix incorrect form status with noStyle (#36054)
* fix: form status

* test: update test case
2022-06-15 00:09:31 +08:00