Commit Graph

22059 Commits

Author SHA1 Message Date
MrHadEnough
cfd25f9650
docs: fix typo of Menu items code example (#35832) 2022-05-31 21:05:53 +08:00
Yuki Zhang
b46e839a5f
test: move test cases to @testing/library for Modal (#35785)
* test: move test cases to @testing/library for Modal

* update

* fix: test

* test: add test case for mouse position

* chore: revert
2022-05-31 10:29:13 +08:00
afc163
a61671f32f
chore: upgrade to jest-image-snapshot 5.x (#35818) 2022-05-31 10:11:33 +08:00
Peach
336fef0f8a
docs: changelog for 4.20.7 (#35804)
* docs: changelog for 4.20.7

* chore: bump version to 4.20.7

* docs: update changelog
2022-05-30 15:17:44 +08:00
yykoypj
8281c064cf
test: move test cases to @testing/library for Image (#35806) 2022-05-30 13:47:13 +08:00
renovate[bot]
b535068590
chore(deps): update dependency eslint-plugin-jest to ~26.4.0 (#35801)
* chore(deps): update dependency eslint-plugin-jest to ~26.4.0

* Update package.json

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-05-30 10:50:14 +08:00
yykoypj
f64291689c
test: move test cases to @testing/library for Tabs (#35796) 2022-05-29 22:50:31 +08:00
afc163
effa5541b8
test: lock eslint-plugin-jest version for false positive
https://github.com/jest-community/eslint-plugin-jest/issues/1128
2022-05-29 20:16:01 +08:00
Gabriel Haruki
363e077298
docs: add note to custom BackTop demo (#35625)
* docs: add note to custom BackTop demo

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-05-28 15:31:13 +08:00
Long Hao (龙濠)
e7393ee97e
test: Replace card component test with testing lib (#35751)
* test: Replace card component test with testing lib

* test: update the snapshot
2022-05-28 14:47:29 +08:00
MadCcc
d797dfc0ff
docs: fix skeleton demo (#35760) 2022-05-26 23:33:46 +08:00
afc163
534abc3ad3
docs(👍): update recommendation (#35758)
* docs: update recommendation

* Update recommendation.en-US.md
2022-05-26 21:57:13 +08:00
Long Hao (龙濠)
c644371533
fix: the ts wrong of card inteface (#35753)
* fix: the ts wrong of card inteface

* fix: add export cardproprs

* feat: add card type test
2022-05-26 20:50:16 +08:00
Cong Zhang
02c0c13033
chore: move @types/qs from deps to devDeps (#35747) 2022-05-26 13:03:12 +08:00
zhao-huo-long
1fda3ece9e
docs(select): fix type (#35726)
* fix: demo ts type

* mend

* Update select-users.md
2022-05-25 21:10:07 +08:00
dependabot[bot]
1666313a14
chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (#35737)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.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-05-25 20:57:31 +08:00
社长长
990a602636
test: Replace alert part test with testing lib (#35736)
Co-authored-by: chenkan1 <chenkan1@huya.com>
2022-05-25 20:31:36 +08:00
MadCcc
6c0d45a220
fix: Popover arrow style (#35717) 2022-05-25 14:01:29 +08:00
MadCcc
a48a0497ee
chore: lock stylelint (#35725) 2022-05-25 11:45:19 +08:00
叶枫
5e5ad935a4
fix: drawer can not ref form instance when open (#35706)
* fix: drawer can not ref form instance when open

* fix: test

* feat: div ref

* feat: test

* feat: test

* feat: test

* feat: test
2022-05-25 10:50:12 +08:00
MadCcc
764069b202
docs: update demo code (#35695)
* docs: update demo code

* chore: increase bundle size

* Revert "chore: increase bundle size"

This reverts commit 1c75e5ab5a.
2022-05-24 22:53:17 +08:00
Niyaz Akhmetov
56bcd1ee9f
docs: fix mistype (#35714) 2022-05-24 22:33:22 +08:00
MadCcc
00eb63a318
chore: increase bundle size (#35709) 2022-05-24 18:43:28 +08:00
vagusX
95f56f6d20
fix: division in less for Segmented (#35701)
* fix: division in less for Segmented

* fix: update
2022-05-24 14:50:43 +08:00
MadCcc
f3a893b113
chore: update issue check mirror (#35680) 2022-05-23 18:42:05 +08:00
zombiej
919667a6d3 chore: short auto merge time 2022-05-23 16:04:32 +08:00
二货机器人
e27aaeb3d2
docs: 4.20.6 changelog (#35671)
* docs: 4.20.6 changelog

* docs: fix build
2022-05-22 16:19:12 +08:00
二货机器人
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
Zack Chang
042c718976
test: refactor test cases of Timeline with testing library (#35654)
* test: refactor test cases of TimeLine

* fix: lint errors
2022-05-20 19:47:36 +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
dingkang
8af11c6ef5
docs(mentions): fix debounce demo bug (#35653) 2022-05-20 15:34:02 +08:00
黑雨
905eada4a4
test: improve Select test case (#35633) 2022-05-20 12:18:27 +08:00
dingkang
40e3d7a053
docs: Convert part demo to ts version (#35641)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks

* docs(pagination): replace class component with hooks

* docs(popconfirm): replace class component with hooks

* docs(popover): replace class component with hooks

* docs(progress): replace class component with hooks

* docs(rate): replace class component with hooks

* docs(radio): replace class component with hooks

* docs: jsx to TS demo
2022-05-19 20:02:56 +08:00
黑雨
370960ed6d
feat: add-testing-lib (#35626) 2022-05-19 16:27:24 +08:00
yykoypj
10964f158c
fix: incorrect position of picker popup (#35620)
Co-authored-by: yangpj17 <yangpj17@chianunicom.com>

close #35590
2022-05-19 11:15:07 +08:00
vagusX
dd0b9d91ed
test: move test cases to @testing/library for Result (#35621) 2022-05-19 10:18:17 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles (#35616)
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +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
dingkang
e5b09aa879
docs: replace class component with hooks (#35613)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks
2022-05-18 19:29:01 +08:00
joson
c52f19ac46
style: anchor text is overwritten (#35612)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-18 18:21:22 +08:00
zombiej
5e910e74c1 docs: Fix DatePicker throw demo 2022-05-18 17:25:40 +08:00
afc163
c9b27cdac7
Update rebase.yml 2022-05-18 17:08:13 +08:00
周晨阳
c92e508333
docs: Update CHANGELOG.zh-CN.md (#35604) 2022-05-18 09:20:09 +08:00
afc163
f9f3a0e604
style: fix Table header border when has rowSpan (#35591)
close #35577
2022-05-17 18:19:17 +08:00
二货机器人
b47acedbc7
chore: bump tools version (#35594) 2022-05-17 17:29:47 +08:00
dingkang
196a4351e3
docs: replace class component with hooks (#35580)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue
2022-05-17 10:19:38 +08:00
joson
bcc3274260
chore: delete extra spaces (#35582)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-16 21:10:20 +08:00
MadCcc
a909fbb7e7
docs: fix 4.20.5 changelog typo (#35567) 2022-05-16 11:09:58 +08:00
叶枫
644e4bfc6a
fix: drawer close speed (#35339)
* fix: drawer close speed

* chroe: snap

* chroe: test

* chroe: test

* feat: remove file

* feat: 重新整理

* feat: forceRender

* feat: snap

* chroe: test

* chroe: test

* chroe: test

* feat: create event

* feat: diff code

* feat: forceRender

* chore: test (#35364)

* Update components/drawer/index.tsx

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

* feat: remove load state

* feat: test

* fix: destroyOnClose

* feat: add load

* fix: update snap

* fix: update snap

* feat: reset test

* feat: docs

* feat: test

* feat: test

Co-authored-by: afc163 <afc163@gmail.com>
2022-05-16 10:14:26 +08:00