二货机器人
0097d34d01
fix: Update `rc-motion` deps & fix ssr ( #26542 )
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
4 years ago
xiao11lang
be7c8d1cc8
docs: update button component doc ( #26095 )
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
4 years ago
xrkffgg
f0568efdf3
docs: perfect website ( #26079 )
* docs: perfect website
* fix []
4 years ago
Kermit Xuan
85e28791cb
chore: replace `rc-animate/lib/CSSMotion` with `rc-motion` ( #26049 )
4 years ago
xrkffgg
93d8d66171
style: add @btn-line-height ( #26014 )
4 years ago
偏右
bf0cd1073b
style: increase @text-color contrast ( #25630 )
* style: increase @text-color contrast
* update UI image snapshot
4 years ago
丁文涛
f7cfc19465
docs: optimize button docs ( #25712 )
Co-authored-by: wynterding <dingwententao@youzan.com>
4 years ago
xrkffgg
b9cd990693
docs: format api button/icon/typography ( #25292 )
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
5 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
07akioni
520fbca0f4
refactor: Reduce Button CSS size ( #24996 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
5 years ago
xrkffgg
cb544f7feb
docs: reduce button demo ( #24908 )
5 years ago
07akioni
a0893fcd0b
refactor: reduce CSS size ( #24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
5 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
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
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
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
Teng YANG
b467cc5cbb
feat: #24355 support complex button backgrounds ( #24372 )
5 years ago
偏右
e657fb806f
fix: Button loading animation missing ( #24328 )
close #24323
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
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
偏右
f7e00f645e
style: fix Button small size align when customize theme ( #24097 )
close #24089
5 years ago
偏右
c19685e0ea
fix: Child of Button should be interactive ( #24095 )
close #24090
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
twoye
2b2a6a3d22
Update index.zh-CN.md ( #23868 )
* Update index.zh-CN.md
* Update index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type ( #23867 )
* chore: Update Popconfirm & Modal okType type
* add test case
* update test case
5 years ago
xrkffgg
bd692bef71
style: optimize button loading style in rtl ( #23776 )
* style: optimize button loading style in rtl
* opt rtl
* reback
5 years ago
骗你是小猫咪
e34fc4a7c4
improve: Button loading smooth ( #23783 )
5 years ago
偏右
c3c2c157d0
fix: correct Button `type="danger"` TypeScript definition ( #23709 )
* fix: remove Button type danger in TypeScript
close #23708
* docs: fix Table dataSource type in document
close #23697
* add warning about type="danger"
* reverse button type warning logic
5 years ago
xrkffgg
a823400b79
docs: optimize site of components 1 ( #23670 )
* docs: optimize site of components 1
* fix: lint
* fix: use space
* fix: snap
* revert: button demo
* fix snap
5 years ago
偏右
5e4d8f10ac
🐛 Fix Button icon only align issue ( #23671 )
https://github.com/ant-design/ant-design/pull/23670#discussion_r415662549
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
xrkffgg
e2dacde754
style: fix button loading rtl ( #23399 )
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
二货机器人
410de6112f
fix: Button loading switch animation ( #23102 )
* init
* motion it
* update snapshot
* adjust speed
* update snapshot
* Update index.less
* fix opacity mask
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
afc163
e1b567d3cf
✅ fix lint
5 years ago
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
5 years ago
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
* Use unreachable exception in favor of type safety
* Add tests
* add test
5 years ago
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations ( #22686 )
5 years ago
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
5 years ago