Commit Graph

570 Commits

Author SHA1 Message Date
偏右
fc5e0a9155
test: 100% coverage (#26839)
* test: isStyleSupport

* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
40cee55141
test: add test case for switch click effect (#26815) 2020-09-18 17:53:37 +08:00
偏右
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
2020-09-18 16:53:18 +08:00
afc163
90cfb0d25f docs: 📝 remove deparecated button type 2020-09-17 23:06:59 +08:00
偏右
8bff5917dc
style: tweak button icon only align (#26785)
close #26679
2020-09-17 15:31:26 +08:00
Knut Olav Bøhmer
e09040f3af
fix: Button as component for react-router Link (#26740)
React router passes `navigate` as prop to component in <Link to={to}
component={Component}>. This is already fixed for Typography.Link.
(#26623) This fixes `<Link to={to} component={Button}` />
2020-09-14 21:31:46 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
二货机器人
0097d34d01
fix: Update rc-motion deps & fix ssr (#26542)
* chore: Update rc-motion deps

* frame wheel not prevent scroll

* update ts
2020-09-02 18:30:27 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc (#26095)
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
xrkffgg
f0568efdf3
docs: perfect website (#26079)
* docs: perfect website

* fix []
2020-08-07 15:50:53 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion with rc-motion (#26049) 2020-08-05 23:05:25 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
xrkffgg
93d8d66171
style: add @btn-line-height (#26014) 2020-08-04 19:56:10 +08:00
偏右
bf0cd1073b
style: increase @text-color contrast (#25630)
* style: increase @text-color contrast

* update UI image snapshot
2020-07-29 17:52:47 +08:00
丁文涛
f7cfc19465
docs: optimize button docs (#25712)
Co-authored-by: wynterding <dingwententao@youzan.com>
2020-07-21 10:07:38 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography (#25292) 2020-06-29 21:43:22 +08:00
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