Commit Graph

32 Commits

Author SHA1 Message Date
偏右
dab6f43c02 Feat search enter button (#7620)
* Add enterButton for Input.Search

close #7596

* update snapshot
2017-09-15 17:03:43 +08:00
afc163
59b11f3b48 Tweak button insert space logic 2017-08-15 20:08:00 +08:00
Zhang Zhi
30e4fa8a8d Remove Button's redundent code (#7176) 2017-08-11 15:06:35 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: #6822 2017-07-14 15:26:55 +08:00
Benjy Cui
2feb3d42e6 chore: add definition for Button[onMouseDown], close: #6054 2017-05-16 11:55:17 +08:00
afc163
5d6439f15b When there is icon, should not insert space in button children, #5977 2017-05-02 20:16:37 +08:00
bang
ae631c7190 refactor(button): enable noImplicitAny #5627 2017-04-26 23:30:51 +07:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
Kenaniah Cerny
8ec86a6b1f buttons should not blur after click 2017-04-01 02:57:01 -07: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
Sebastian Blade
041bbee2c0 Fix button render with null or undefined child. (#5473)
* Fix button render with null or undefined child.

Fix bug #5472

* Add missing semicolon

* Make if statement braced.

......
2017-03-27 10:09:38 +08:00
偏右
0308138974 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-27 10:09:38 +08:00
afc163
d4036d3cae fix button unknown prop 2017-02-27 11:18:48 +08:00
afc163
d99778b605 Fix clicked effect when switch loading state 2017-02-26 19:21:22 +08:00
afc163
00fac07d9e refactor requestAnimationFrame 2017-02-26 19:08:36 +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
偏右
f5d697988a fix: Tooltip should work with disabled button (#4865)
* Fix Tooltip won't hide at disabled button

close react-component/tooltip#18

* change button text in test case

* Add comments for display attribute

* correct test case
2017-02-16 14:03:05 +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
afc163
9b8a26ba17 upgrade code style 2016-12-26 19:46:01 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
Benjy Cui
9b99c3886d fix: spin should mask content, close: #3091 2016-09-20 14:51:43 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
afc163
730dbc72f7 Add typings 2016-07-14 18:15:59 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00