Wei Zhu
aa580beb8b
docs: sort api table
7 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
Zheeeng
980e2b1427
Update button signature ( #10877 )
7 years ago
Zheeeng
f36c6195b8
Fix typo ( #10878 )
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [ ] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [ ] Make sure that you add at least one unit test for the bug which you had fixed.
**elif** *isNewFeature* **:**
* [ ] Update API docs for the component.
* [ ] Update/Add demo to demonstrate new feature.
* [ ] Update TypeScript definition for the component.
* [ ] Add unit tests for the feature.
7 years ago
afc163
71d3af310a
Fix missing border in Button.Group
https://gw.alipayobjects.com/zos/rmsportal/hKuBQeoCgjruYXCGnrDt.png
7 years ago
afc163
6602df16e6
Fix extra border style in Button.Group
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
afc163
cafeb8e3eb
fix button group split border color
7 years ago
afc163
99dca86904
update button disable demo
7 years ago
Christopher Deutsch
dd0d4214d1
Omit 'ref' from ButtonProps otherwise typing conflicts occur. ( #10426 )
Fixes #10405
7 years ago
afc163
dbde26e560
docs: add disabled prop doc for Button, close #10373
7 years ago
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
7 years ago
afc163
fb38e55cc0
more test about button text
7 years ago
afc163
c7471a4653
tweak insert space logic of loading button
7 years ago
afc163
649d733048
fix snapshot ci
7 years ago
Zen
d7f9270a6f
fix button/demo/disabled.md ( #10009 )
add `ghost` property to ghost buttons
7 years ago
Zheeeng
05a522c343
Update ButtonType ( #10129 )
7 years ago
afc163
4502ad8376
Fix button two-chinese-words update bug
7 years ago
afc163
caf497d08f
Fix underline of Button[href], close #9755
7 years ago
afc163
8b1d0224cb
Tweak danger button focus style
7 years ago
afc163
2fe64d429a
Fix button group align issue in chrome, close #1019
7 years ago
Ivan Kravets
86ab00fbbd
Use default background for button states ( #9411 )
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
afc163
dc7d9de4cd
revert demo code
7 years ago
afc163
70f3afeda0
Fix ButtonGroup style bug when have disabled button, close #9296
7 years ago
afc163
6577616be2
fix demo
7 years ago
afc163
875024cd1e
update onRow usage
7 years ago
George Gray
03c180ff08
Use @btn-primary-bg for primary ghost btn ( #9236 )
7 years ago
niko
f2ba99978d
upgrade snapshots ( #9127 )
7 years ago
afc163
1d9afb6510
Fix button group z-index, close #9014
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
d6d701976f
Fix button line-height broken by 455b9e4, close #8836
7 years ago
afc163
455b9e40e0
Remove unneccessary reset style of button
7 years ago
afc163
6959119573
Fix HOC in Button not inserted space bettween chinese words
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
afc163
8ba0b87dcd
Fix button align in chrome
7 years ago
偏右
250eed0fc9
Link button ( #8343 )
* support link button
* Fix type
7 years ago
afc163
c0b7bdb9f3
Tweak components style detail
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
afc163
ac96bad478
Improve demo details and update snapshot
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
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
afc163
274985d320
fix button margin inside
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago