lijianan
1b0e5af599
test: test: migrate part of Button tests ( #37214 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
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
2 years ago
muxin
f2a5d2f881
fix: Button has no disabled style when link type ( #35975 )
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Luobo Zhang
b29d749a71
test: migrate part of Button tests ( #35869 )
3 years ago
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic ( #35810 )
* refactor: Dependency Inversion
* test: update snapshot
* test: Update snapshot
* test: more
* fix: table dropdown logic
* fix: menu lint
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
二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix test
3 years ago
二货机器人
1525ac47fb
chore: bump dropdown with inject mark ( #35153 )
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted ( #33858 )
* fix: Clear delay loading timer after Button is unmounted
* [CodeFactor] Apply fixes to commit 16cfb89
[ci skip] [skip ci]
* Change arrow function style in test case
Co-authored-by: codefactor-io <support@codefactor.io>
3 years ago
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
close #33512
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
6b56af466f
fix: Button with icon and href align issue ( #32373 )
3 years ago
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
* chore: Not preventEvent btn loading
* test: Update snapshot
3 years ago
绯一
008242b35e
chore: add Button.shape 'default' definition ( #32004 )
* feat: add Button.shape 'default'
* fix: ignore shape when falsy value
* fix: generate className only when shape match
* fix: remove necessary .ant-btn-default and update snapshot
3 years ago
afc163
ccf14fce68
fix: ghost button style ( #31780 )
* fix: Button ghost style broken when it is danger
* update snapshot
3 years ago
afc163
0599c29f97
fix: Button icon align issue ( #31755 )
* fix: Button with only icon align issue in Chrome
close #31701
* update snapshot
3 years ago
afc163
7601f62ec0
fix: Button loading margin lost when children is fragment ( #30962 )
close #30953
4 years ago
afc163
edb59bd2e8
fix: Button with `disabled` and `type="link"` should not clickable ( #30209 )
close #30207
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
afc163
b383c14114
docs: improve button dropdown demo
4 years ago
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
* test: isStyleSupport
* test: 100% test coverage
4 years ago
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
4 years ago
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
4 years ago
二货机器人
0097d34d01
fix: Update `rc-motion` deps & fix ssr ( #26542 )
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
4 years ago
偏右
bf0cd1073b
style: increase @text-color contrast ( #25630 )
* style: increase @text-color contrast
* update UI image snapshot
4 years ago
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button ( #24953 )
* fix: remove style of ghost link & ghost text button
* feat: devWarning on link or text + ghost button
* test: update snapshot
* fix: fix devWarning valid arg
* test: test warning
* docs: update ghost button demo
* test: change resetWarned position
* chore
4 years ago
xrkffgg
cb544f7feb
docs: reduce button demo ( #24908 )
5 years ago
二货机器人
902141f554
fix: btn loading 2 twice ( #24713 )
5 years ago
二货机器人
d5fea40ab5
fix: btn loading ( #24678 )
5 years ago
Teng YANG
9f8eb99807
fix : #24614 text button style inconsistent in `danger` ( #24622 )
* fix: update button style when type="text" of danger
* update wording in danger button demo
* format code
5 years ago
Teng YANG
03fad9177a
fix: update wording in ghost button demo ( #24624 )
5 years ago
xrkffgg
b34b956529
docs: fix btn demo typo ( #24463 )
5 years ago
骗你是小猫咪
21bd9444f4
test: use azure deploy ui test report site ( #24327 )
* test: use azure deploy ui test report site
* parallel stage
* continueOnError
* fix continueOnError position
* use github comment
* failed
* fix artifact name
* add download path
* ls files
* fix path download
* Install modules
* update snapshot image
* test: docker compose run test image
* use docker
* use docker update snapshots
* remove unused dep
* improve github comment and add doc
* fix azure script
* test faild condition
* improve pass comment
5 years ago
偏右
8497e54e39
docs: 📖 keep documentation up to date ( #24184 )
* docs: remove babel-plugin-import from docs
* docs: react-scripts-rewired + customize-cra => craco
* docs: remove babel-plugin-import
* fix remark link
5 years ago
偏右
c5bcf57537
feat: 💄 Add text type Button ( #22552 )
* 🆕 Add text type Button
`<Button type="text" />`
close #15892
* Add test cases
* missing type
* missing type
* fix missing type
* Update components/button/index.zh-CN.md
Co-Authored-By: zefeng <zefengbao@outlook.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
5 years ago
偏右
89bccf5752
🐛 Fix Button loading style of icon-only ( #23614 )
close #23610
5 years ago
Tom Xu
7379cfa4c2
feat: button support ref ( #23571 )
* feat: button support ref
* improve
* improve button displayName
5 years ago
二货机器人
22ffa61da0
fix: Legacy button group style ( #23590 )
5 years ago
Tom Xu
09e69c385e
refactor(button): rewrite with hook ( #23367 )
5 years ago
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript ( #22953 )
* Refactor the button test to use typescript
* update tsconfig.json
* Change file name as a workaround
* update antd-tools
5 years ago