Commit Graph

553 Commits

Author SHA1 Message Date
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
2020-06-19 17:46:15 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
07akioni
520fbca0f4
refactor: Reduce Button CSS size (#24996)
* refactor: reduce button css size

* refactor: remove redundant button .less code
2020-06-15 16:00:15 +08:00
xrkffgg
cb544f7feb
docs: reduce button demo (#24908) 2020-06-11 15:24:24 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
二货机器人
902141f554
fix: btn loading 2 twice (#24713) 2020-06-03 21:59:54 +08:00
二货机器人
d5fea40ab5
fix: btn loading (#24678) 2020-06-02 12:54:22 +08:00
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
2020-06-01 13:33:29 +08:00
Teng YANG
03fad9177a
fix: update wording in ghost button demo (#24624) 2020-05-31 23:02:59 +08:00
偏右
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>
2020-05-31 11:48:34 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
xrkffgg
b34b956529
docs: fix btn demo typo (#24463) 2020-05-26 09:37:26 +08:00
骗你是小猫咪
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
2020-05-25 17:40:57 +08:00
Teng YANG
b467cc5cbb
feat: #24355 support complex button backgrounds (#24372) 2020-05-21 23:45:25 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
e657fb806f
fix: Button loading animation missing (#24328)
close #24323
2020-05-20 23:32:38 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
chore: merge master into feature
2020-05-15 17:40:05 +08:00
偏右
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
2020-05-15 17:18:55 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
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>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme (#24097)
close #24089
2020-05-13 12:56:24 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
偏右
c19685e0ea
fix: Child of Button should be interactive (#24095)
close #24090
2020-05-12 22:29:10 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
chore: merge master into feature
2020-05-06 10:58:50 +08:00
偏右
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>
2020-05-06 10:15:33 +08:00
twoye
2b2a6a3d22
Update index.zh-CN.md (#23868)
* Update index.zh-CN.md

* Update index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:17:50 +08:00
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type (#23867)
* chore: Update Popconfirm & Modal okType type

* add test case

* update test case
2020-05-05 12:03:16 +08:00
xrkffgg
bd692bef71
style: optimize button loading style in rtl (#23776)
* style: optimize button loading style in rtl

* opt rtl

* reback
2020-05-02 09:00:47 +08:00
骗你是小猫咪
e34fc4a7c4
improve: Button loading smooth (#23783) 2020-04-30 17:18:24 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
偏右
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
2020-04-28 16:14:38 +08:00
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
2020-04-27 21:40:52 +08:00
hengkx
9868a4dc59 Merge branch 'feature' into mergefeature 2020-04-27 21:02:16 +08:00
偏右
5e4d8f10ac
🐛 Fix Button icon only align issue (#23671)
https://github.com/ant-design/ant-design/pull/23670#discussion_r415662549
2020-04-27 17:54:13 +08:00
诸岳
a400014efe Merge branch 'master' of github.com:ant-design/ant-design into merge-master 2020-04-26 17:12:58 +08:00
偏右
89bccf5752
🐛 Fix Button loading style of icon-only (#23614)
close #23610
2020-04-26 16:21:07 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
Tom Xu
7379cfa4c2
feat: button support ref (#23571)
* feat: button support ref

* improve

* improve button displayName
2020-04-25 20:45:28 +08:00
二货机器人
22ffa61da0
fix: Legacy button group style (#23590) 2020-04-25 18:03:35 +08:00
xrkffgg
e2dacde754
style: fix button loading rtl (#23399) 2020-04-20 16:25:43 +08:00
Tom Xu
09e69c385e
refactor(button): rewrite with hook (#23367) 2020-04-18 13:06:04 +08:00
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
2020-04-13 13:36:23 +08:00
二货机器人
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>
2020-04-10 15:39:07 +08:00
afc163
e1b567d3cf fix lint 2020-04-06 12:15:28 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot (#22947)
* Introduce customer jest match to support matchRenderedSnapshot

* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
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
2020-04-05 21:18:28 +08:00