二货机器人
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
xrkffgg
f2c0ea3671
style: optimization Dropdown rtl style ( #22519 )
5 years ago
偏右
154d733fa1
Update index.zh-CN.md
5 years ago
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue ( #22461 )
* chore: add .ant-tooltip-disabled-compatible-wrapper
* fix: empty button align issue
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
5 years ago
xrkffgg
a4cf8430fd
style: fix button rtl.less
5 years ago
xrkffgg
839a19af58
style: add rtl.less of button\typography\grid ( #22252 )
5 years ago
偏右
125c154ffe
💄 Avoid negative padding in less ( #22003 )
close #22003
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
GJ Wang
f78332171e
docs: fix size props ( #21724 )
5 years ago
偏右
aeb4643428
docs: 📝 optimize button doc image style ( #21704 )
* Update index.zh-CN.md
* Update index.en-US.md
5 years ago
二货机器人
06afc9cd9c
fix: Button.Group size style issue ( #21307 )
* remove useless fixing line-height
* update snapshot
5 years ago
Rick Zhou
4fa525b8a0
avoid reading innerText ( #21217 )
this resolves https://github.com/ant-design/ant-design/issues/21160
5 years ago
二货机器人
92998e67ef
refactor: Button disable `autoInsertSpaceInButton` will not calculate text length ( #21176 )
* skip check
* add test case
5 years ago
二货机器人
3fa274190e
Remove magic number of style align ( #20869 )
* fix: Adjust baseline align
* clean up
* Select style
* fix lint
5 years ago
信鑫-King
27f1835965
chore: dark site images address ( #20796 )
* fix: dark site images address
* fix: snapshot
5 years ago