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
3 years ago
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning ( #35417 )
* refactor: remove useless warning (#35291 )
* refactor: remove useless test case
* docs: remove cascader tagRender
3 years ago
dingkang
f5831f121d
docs: replace class component with hooks ( #35461 )
* 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
3 years ago
Ron Šmeral
1d3fd70dbf
fix: bad List.Item type ( #35454 ) ( #35455 )
Co-authored-by: Ron Smeral <ron.smeral@merck.com>
3 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
3 years ago
MadCcc
0f63293a21
fix: dev broken ( #35453 )
3 years ago
MadCcc
b5699cc735
chore: optimze LGTM ( #35443 )
* chore: optimze LGTM
* chore: type
3 years ago
MadCcc
01ebb6a563
test: update snapshot ( #35452 )
3 years ago
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>
3 years ago
Yanming Deng
36ded1a741
docs: fix typo ( #35439 )
* chore: fixed typo
* chore: fixed typo+1
3 years ago
MadCcc
c897728eb8
docs: update demo template ( #35440 )
3 years ago
陈帅
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>
3 years ago
Mykyta Velykanov
fcf2afd3fa
fix: add missing localizations ( #35430 )
* Add missing localizations
* Update snapshot
3 years ago
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
3 years ago
MadCcc
11e2ce6c01
docs: update mirror link ( #35424 )
* docs: update mirror link
* feat: add modal
* feat: add icon
* chore: code clean
* feat: text
* fix: cancel btn
3 years ago
afc163
9a59018580
chore: change menu icon in site
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
二货机器人
00fb82276f
Merge pull request #35396 from zpc7/test/transfer-tooltip-to-testing-library
Replace Tooltip test case with testing library
3 years ago
Tom Xu
d1f85d94e5
fix: List.Item typescript ( #35418 )
3 years ago
Tom Xu
5d2475a2a1
fix: List.Item ref ( #35321 )
* fix: list item ref
* add test
* improve
3 years ago
zpc7
bd31a6a46a
Revert "test: replace some slepp with jest.runAllTimers"
This reverts commit ad886d1f65
.
3 years ago
zpc7
ad886d1f65
test: replace some slepp with jest.runAllTimers
3 years ago
MadCcc
7873bf7f1c
fix: arrow style ( #35401 )
* fix: arrow style
* fix: raise arrow z-index
* fix: fix defualt arrow color
* fix: mix shadow
* chore: code clean
* chore: code clean
* fix: use fadeout instead
* test: fix style lint
3 years ago
parabolazz
9b56ad86fb
docs: explain Avatar fallback strategy ( #35415 )
The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version.
3 years ago
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
3 years ago
zpc7
22b89eea5a
test: foreach all placement
3 years ago
zpc7
55f9e29360
test: remove some test case
3 years ago
zpc7
8ade7ab323
test: try to fix the pr check
3 years ago
zpc7
d9ce1ad14c
ci: trigger the pr check
3 years ago
zpc7
8545647313
test: transfer tooltip test case to testing library
3 years ago
zombiej
1a788cfd40
chore: rm CODEOWNER since this block github action
3 years ago
zombiej
c75e59faf1
chore: rm useless console
3 years ago
二货机器人
7511b9e8ac
test: replace textarea some test case with testing lib ( #35398 )
* test: replace textarea some test case with testing lib
* test: full process
* test: mv input test to input scope
* test: fix lint
3 years ago
afc163
206e6dd138
docs: reverse React 18 demo
3 years ago
vagusX
ce1fc29bd7
fix: use less variables for Segmented ( #35387 )
3 years ago
Cooper Veysey
d8ab5a5771
Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property ( #35369 )
3 years ago
Yanlin Jiang
10596d9604
fix: Respect user provided space item key ( #35344 )
3 years ago
lalalazero
6c0f67e407
fix: table column filter reset is not working ( #35226 ) ( #35386 )
3 years ago
afc163
e039b10b2f
Revert "chore: fix npm start error in Gitpod"
This reverts commit 978226fb13
.
3 years ago
afc163
978226fb13
chore: fix npm start error in Gitpod
close #33444
3 years ago
haipeng
a217301cb7
fix: Carousel compatible with vertical property ( #35349 )
3 years ago
TrickyPi
50d3d99a78
test: migrate part of checkbox tests ( #35354 )
3 years ago
linqiqi077
44b9ab7e40
test: migrate part of anchor tests ( #35371 )
3 years ago
Zack Chang
85fd0640c5
test: refactor test cases of Space ( #35372 )
3 years ago
PCCCCCCC
c2741c2c4b
test: transfer part of tooltip test case to testing library ( #35362 )
3 years ago
zombiej
2290144b25
test: update test case
3 years ago
afc163
d2410282fd
Merge branch 'master' of github.com:ant-design/ant-design
3 years ago
Walid Cherhane
a21da91dcc
style: fix Select tag remove icon position ( #35336 )
The icon is pushed down a bit
3 years ago
afc163
c5ddb0098a
docs: add changelog for #35336
3 years ago
afc163
609d576298
docs: changelog for 4.20.2 ( #35338 )
3 years ago