Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
afc163
bb2c2036ba
update button size demo
7 years ago
Khalifa Lame
8271b5d069
docs: update Button English doc ( #7438 )
Fixed some typos. Added ghost button type.
7 years ago
Benjy Cui
1f652bfe4c
fix: event.target of Button's click event, close : #7034
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
afc163
6a17efcbf1
upgrade some devDeps and fix stylelint
7 years ago
afc163
a0026a5923
Fix dropdown button mis-align, close #7070
7 years ago
afc163
a6037d66c0
Fix button align issue, close #7001
7 years ago
newraina
aa6afd81b5
fix Button.Group type definition
7 years ago
neekey
7e522291c8
add unit `px` to all less value, make them explicit
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
ddcat1115
75e9e44a2f
new style of danger button ( #5815 )
* new style for danger button
* improve
8 years ago
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
8 years ago
afc163
fbdebd7692
Fix button loading transition
8 years ago
afc163
8605e84150
update button demo
8 years ago
afc163
1083f82c5d
Fix icon transtion delay problem in Chrome
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
Wei Zhu
1a8e738142
Set snapshotSerializers
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
69dff0fa2d
Fix danger button ghost style
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
afc163
a16636cafd
Fix Button text shifts when click it
8 years ago
Benjy Cui
758559f718
test: update snapshots
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
afc163
14d380f0f9
use old button animation
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
Wei Zhu
a69a52f8b8
docs: Rewrite Button demos to ES6 component
8 years ago
afc163
8dc73f4601
Fix shake bug fo Button loading with icon, close #4913
8 years ago
afc163
49b050ccc1
Improve button and badge[status] with pulse animation
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
afc163
5327a49161
Fix Button[shape="circle"] loading style, close #4875
8 years ago
afc163
e18a330fbd
Fix danger button click effect
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
afc163
5f8988a266
fix ghost primary button hover border color
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
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
Wei Zhu
c681e8acf2
docs: Add backquote to default value
8 years ago