zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
35585a6d07
🐛 should render as normal button when href is assigned undefined
close #13337
6 years ago
afc163
087f7efd10
findDOMNode to refs, close #12843
6 years ago
snail
6b22ae3b6c
[fixed]button can also trigger the click event when loading is true in ie9 ( #12466 )
6 years ago
afc163
00aebeb975
add christmas easter egg
6 years ago
zombiej
b076b52756
fix #11967 . Add children type validate in button.tsx
6 years ago
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
6 years ago
afc163
b4d95f7e20
Refactor button click effect implementation
for better perfermance
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Ilan
b5ed207902
🚚 fitContainer -> block name conversion
6 years ago
Ilan
623cf1eaff
✨ introducing fitContainer prop for button
6 years ago
Zheeeng
980e2b1427
Update button signature ( #10877 )
7 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Wei Zhu
1ed9fed2cf
Improve Button and Tag types
7 years ago
Christopher Deutsch
dd0d4214d1
Omit 'ref' from ButtonProps otherwise typing conflicts occur. ( #10426 )
Fixes #10405
7 years ago
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
7 years ago
afc163
c7471a4653
tweak insert space logic of loading button
7 years ago
Zheeeng
05a522c343
Update ButtonType ( #10129 )
7 years ago
afc163
4502ad8376
Fix button two-chinese-words update bug
7 years ago
Christopher Deutsch
97b09b393b
onKeyPress and onKeyDown got the wrong type in #9316 ( #9365 )
7 years ago
Yury Kozyrev
1e92ff8efd
onKeyPress and onKeyDown typings ( #9316 )
* Update Checkbox.tsx
* Update button.tsx
7 years ago
Yury Kozyrev
693e734a82
Update button.tsx ( #8918 )
7 years ago
崔宏森
eac76df671
Fix the bug<Button>{0}</Button> display abnormal ( #8733 )
* 修复了<Button>{0}</Button> 显示异常的bug
* Fix the bug<Button>{0}</Button> display abnormal
* Fix the bug<Button>{0}</Button> display abnormal
* Unit test writing error
* Unit tests were added to test the rendering of {0}, 0, {false} respectively
7 years ago
afc163
6959119573
Fix HOC in Button not inserted space bettween chinese words
7 years ago
偏右
250eed0fc9
Link button ( #8343 )
* support link button
* Fix type
7 years ago
ddcat1115
0865824b61
fix buttonSize type
close #8304
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
Zhang Zhi
7bc6aad1fd
Update button code to make it more clearer ( #7929 )
* remove unnecessary default value of 'size' prop
* `clicked` should be a state
7 years ago
Wei Zhu
a3c3ec8070
Fix types and lint
7 years ago
afc163
dd22bae0fc
Fix button loading style with icon, close #7709
7 years ago
偏右
dab6f43c02
Feat search enter button ( #7620 )
* Add enterButton for Input.Search
close #7596
* update snapshot
7 years ago
afc163
59b11f3b48
Tweak button insert space logic
7 years ago
Zhang Zhi
30e4fa8a8d
Remove Button's redundent code ( #7176 )
7 years ago
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
7 years ago
Benjy Cui
2feb3d42e6
chore: add definition for Button[onMouseDown], close : #6054
8 years ago
afc163
5d6439f15b
When there is icon, should not insert space in button children, #5977
8 years ago
bang
ae631c7190
refactor(button): enable noImplicitAny #5627
8 years ago
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
8 years ago
Kenaniah Cerny
8ec86a6b1f
buttons should not blur after click
8 years ago
偏右
66cafb95b0
Refactor button loading default delay ( #5530 )
* Remove delay loading button demo
* Button loading support like { delay: number }, close #5365
* update loading delay
8 years ago
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.
......
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Sebastian Blade
83f85a371a
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.
......
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
d4036d3cae
fix button unknown prop
8 years ago
afc163
d99778b605
Fix clicked effect when switch loading state
8 years ago
afc163
00fac07d9e
refactor requestAnimationFrame
8 years ago
陆离
21a0779692
Better loading of Button ( #4964 )
* Better loading of Button
+ close #4925
+ add a default delay timer (200ms)
* update snapshot
* escape
8 years ago
偏右
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
8 years ago