Commit Graph

147 Commits

Author SHA1 Message Date
afc163
318737584a tweak button design 2018-09-08 13:49:02 +08:00
Bradley Xu
f20a1e4e5d docs: update button demo doc 2018-08-22 16:22:30 +08:00
Ilan
b5ed207902 🚚 fitContainer -> block name conversion 2018-07-31 18:42:12 +08:00
Ilan
8fab1e1d1b 🐛 update fitContainer order 2018-07-31 18:42:12 +08:00
Ilan
623cf1eaff introducing fitContainer prop for button 2018-07-31 18:42:12 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
99dca86904 update button disable demo 2018-05-17 21:23:36 +08:00
Zen
d7f9270a6f fix button/demo/disabled.md (#10009)
add `ghost` property to ghost buttons
2018-04-19 11:43:22 +08:00
afc163
dc7d9de4cd revert demo code 2018-02-08 15:52:24 +08:00
afc163
70f3afeda0 Fix ButtonGroup style bug when have disabled button, close #9296 2018-02-08 15:51:53 +08:00
afc163
6577616be2 fix demo 2018-02-08 14:26:33 +08:00
afc163
875024cd1e update onRow usage 2018-02-08 14:25:49 +08:00
afc163
ac96bad478 Improve demo details and update snapshot 2017-11-06 21:14:40 +08:00
afc163
bb2c2036ba update button size demo 2017-09-11 15:29:23 +08:00
afc163
8605e84150 update button demo 2017-04-15 14:57:20 +08:00
偏右
66cafb95b0 Refactor button loading default delay (#5530)
* Remove delay loading button demo

* Button loading support like { delay: number }, close #5365

* update loading delay
2017-03-28 15:50:46 +08:00
afc163
69dff0fa2d Fix danger button ghost style 2017-03-18 16:33:55 +08:00
陆离
21a0779692 Better loading of Button (#4964)
*  Better loading of Button

 + close #4925
 + add a default delay timer (200ms)

* update snapshot

* escape
2017-02-21 14:44:08 +08:00
Wei Zhu
a69a52f8b8 docs: Rewrite Button demos to ES6 component 2017-02-19 21:03:44 +08:00
afc163
5327a49161 Fix Button[shape="circle"] loading style, close #4875 2017-02-15 11:55:08 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
偏右
f850993fda More types of Button (#4679)
* Add Button[ghost] property, close #4625

* Add danger button

close #1308

* update API doc about ghost and danger property
2017-01-23 22:24:36 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Benjy Cui
f3ffae9e54 css: fix icon size in button, close: #4023 (#4080)
* css: fix icon size in button, close: #4023

* test: update snapshot for Button demo
2016-12-02 15:06:59 +08:00
Benjy Cui
04269ecb40 docs: hide Button[shape=circle-outline], close: #4077 2016-12-01 11:13:38 +08:00
afc163
de64779546 speed up loading icon 2016-11-13 18:19:23 +08:00
ddcat1115
ad9cfe8914 Button add Multiple Buttons demo (#3660) 2016-10-31 19:31:43 +08:00
Benjy Cui
a7d335ec7a docs: update docs detail 2016-10-30 12:43:59 +08:00
kvetoslavnovak
10709251ec #1471 (#3000)
#1471
2016-09-11 00:30:08 +08:00
afc163
62e55e2080 update button demo 2016-05-18 14:40:09 +08:00
Benjy Cui
be2bac4b25 site: resolve rebase errors 2016-05-16 15:41:55 +08:00
Benjy Cui
d2a4dcf1eb docs: hide style 2016-05-16 15:41:55 +08:00
Benjy Cui
5909438ed3 docs: update translation 2016-05-16 15:41:55 +08:00
Benjy Cui
2fe4a49182 docs: translate the documentation of Button to English 2016-05-16 15:41:55 +08:00
Benjy Cui
b9a550c0fe site: i18n for demo 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
8b894f908d upgrade antd-tools and fix typo 2016-04-29 22:24:20 +08:00
afc163
c66a226004 Fix lesshint problems 2016-04-29 17:03:28 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
cc2f93a4e1 loading button should not be transparent 2016-04-15 16:21:08 +08:00
afc163
b4be06f816 improve button loading animation 2016-04-12 12:17:03 +08:00
afc163
611665fa6d button contains icon only should has smaller padding 2016-04-06 15:43:50 +08:00
afc163
5b1ccce554 fix button demo 2016-04-05 19:33:26 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
d75c0d0b24 Merge pull request #1307 from ant-design/docs-format
Update docs format
2016-03-31 15:48:38 +08:00
afc163
9f342a0568 update button group demo 2016-03-31 14:55:12 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
72db02ef04 Add icon prop for Button, close #1199 2016-03-25 18:13:51 +08:00
afc163
ed3cda06a2 update button docs 2016-03-13 13:19:43 +08:00
afc163
78d3653620 update button group demo 2016-01-28 14:23:09 +08:00
afc163
fcbd6015bd fix button-group disable button border, close #926 2016-01-25 21:06:32 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
c5df2c0fac update button demo text 2015-12-28 13:57:02 +08:00
afc163
2699f5075c update button loading 2015-12-28 13:49:58 +08:00
afc163
5e1f611863 Add dashed button, ref #413 2015-11-30 18:26:44 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
Benjy Cui
5fd6999866 feat: make Button easy to use 2015-11-03 14:25:36 +08:00
afc163
25368de60b update button demo style 2015-10-30 17:04:22 +08:00
afc163
f526703bf8 update disabled button demo 2015-10-30 17:00:06 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
7c9892a9c7 Add Button propsType 2015-10-28 15:45:31 +08:00
afc163
5a50df6b78 use ghost button to match primary button 2015-10-26 11:08:36 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
93c181677a Merge branch develop-0.10.0 2015-10-06 12:55:01 +08:00
Benjy Cui
2f771b0482 feat: button should be a component 2015-10-05 15:19:07 +08:00
elrrrrrrr
bcc4265201 chore: 迁移 button iconfont
- 手动加上 margin-right 8px
2015-10-02 15:04:28 +08:00
afc163
43c53f1d8d loading button should be unhandlable 2015-07-30 11:15:03 +08:00
afc163
b8ef693afc button loading animation effect 2015-07-29 22:23:55 +08:00
afc163
a83b90decc button 2015-07-05 17:42:56 +08:00
afc163
0110b82ad9 update 2015-07-05 17:40:52 +08:00
afc163
219675cba7 icon button 文案 2015-06-25 17:39:24 +08:00
afc163
3a3233111e update button demos 2015-06-17 21:29:58 +08:00
simaQ
5294fd6b82 update button page 2015-06-17 18:22:20 +08:00
simaQ
6ade8a5a82 tiny correction for buttons 2015-06-15 22:14:15 +08:00
simaQ
c6a2901bc3 update the style of button page 2015-06-15 19:33:39 +08:00
simaQ
b493f6f06c add angle icon 2015-06-12 15:31:41 +08:00
simaQ
b3d5e31d26 optimize button 2015-06-11 17:20:24 +08:00
simaQ
b95b3b3386 rename some icons 2015-06-11 09:17:02 +08:00
simaQ
656d0ca2e8 adjust button page style 2015-06-09 15:21:07 +08:00
simaQ
2897bedc18 update button page 2015-06-09 12:05:59 +08:00
simaQ
5e71bbf6c2 format the sample codes of button page 2015-06-08 16:15:03 +08:00
afc163
c29f0214b5 button-group style fix 2015-06-08 12:32:09 +08:00
simaQ
61b4dddae9 update buttons 2015-06-07 14:03:00 +08:00
simaQ
d6a5d43225 add the introduction of iconfont and button 2015-06-05 20:26:41 +08:00
afc163
306d106a08 import rc-style 2015-05-26 17:35:24 +08:00
afc163
14a2a433d5 update disabled button 2015-05-18 19:54:33 +08:00
afc163
456f796f86 use nico-jsx, allow code type jsx 2015-05-18 18:13:16 +08:00
afc163
9591702f14 update code box template 2015-05-18 17:45:08 +08:00
afc163
2d1187c9ac update code template 2015-05-18 17:33:42 +08:00
afc163
7e05877c13 Add another demo for example 2015-05-16 17:12:22 +08:00
afc163
706b657ceb code snipple 2015-05-15 16:00:08 +08:00