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
偏右
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
8 years ago
afc163
9b8a26ba17
upgrade code style
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
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
8 years ago
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
Benjy Cui
9b99c3886d
fix: spin should mask content, close : #3091
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago