afc163
8605e84150
update button demo
2017-04-15 14:57:20 +08:00
afc163
1083f82c5d
Fix icon transtion delay problem in Chrome
2017-04-12 15:30:35 +08: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
偏右
accb6cbfeb
Merge pull request #5597 from kenaniah/accessibility
...
Improves link + button focusing
2017-04-05 14:56:33 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
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
69dff0fa2d
Fix danger button ghost style
2017-03-18 16:33:55 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
a16636cafd
Fix Button text shifts when click it
2017-03-05 20:13:54 +08:00
Benjy Cui
758559f718
test: update snapshots
2017-02-28 16:14:53 +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
afc163
14d380f0f9
use old button animation
2017-02-26 02:18:20 +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
Wei Zhu
a69a52f8b8
docs: Rewrite Button demos to ES6 component
2017-02-19 21:03:44 +08:00
afc163
8dc73f4601
Fix shake bug fo Button loading with icon, close #4913
2017-02-18 00:22:38 +08:00
afc163
49b050ccc1
Improve button and badge[status] with pulse animation
2017-02-16 17:08:15 +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
afc163
5327a49161
Fix Button[shape="circle"] loading style, close #4875
2017-02-15 11:55:08 +08:00
afc163
e18a330fbd
Fix danger button click effect
2017-02-14 18:01:36 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
afc163
5f8988a266
fix ghost primary button hover border color
2017-01-31 21:27:23 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +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
Wei Zhu
c681e8acf2
docs: Add backquote to default value
2017-01-21 22:35:42 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Rex
c8a16b10bd
fix the blue border in some scenes ( #4382 )
2016-12-30 14:27:23 +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
Wei Zhu
587b874fc8
tests: Add button tests
2016-12-14 15:44:38 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
Benjy Cui
60da9909d3
site: improve loading performance ( #4112 )
...
* site: should generate html file for both of en and cn, ref: #3934
* site: remove loading animation
* site: fix header menu highlight
* site: improve detail
* deps: update
2016-12-09 13:02:16 +08:00
afc163
0e97fae3f5
fix vertical-align of ButtonGroup
2016-12-03 17:15:06 +08:00
afc163
cf11a4f809
remove button-nested-icon font-size setting
2016-12-03 17:11:28 +08:00
Benjy Cui
f3ffae9e54
css: fix icon size in button, close : #4023 ( #4080 )
...
* css: fix icon size in button, close : #4023
* test: update snapshot for Button demo
2016-12-02 15:06:59 +08:00
Benjy Cui
04269ecb40
docs: hide Button[shape=circle-outline], close : #4077
2016-12-01 11:13:38 +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
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
Bruce Mitchener
b875a6104b
docs: Button: Add dashed
to type property description.
2016-11-15 13:30:17 +07:00
afc163
de64779546
speed up loading icon
2016-11-13 18:19:23 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
ddcat1115
ad9cfe8914
Button add Multiple Buttons
demo ( #3660 )
2016-10-31 19:31:43 +08:00
Benjy Cui
a7d335ec7a
docs: update docs detail
2016-10-30 12:43:59 +08:00
afc163
527949df04
Fix Button and Input vertical-align bug
2016-10-26 16:27:01 +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
偏右
62a53e75b8
refactor: Downsize some style code ( #3421 )
...
* remove fieldset disabled style
* improve button style mixins
2016-10-14 09:12:10 +08:00
afc163
28765d4811
Fix large and small button's border-radius less vars
2016-10-13 21:12:05 +08:00
afc163
1a9fef5d2a
reinforcement button clicked animation
2016-09-28 00:13:00 +08:00
afc163
c0c00fbcd0
Fix strange button style bug in chrome 53, close #3031
2016-09-22 15:47:19 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
9b99c3886d
fix: spin should mask content, close : #3091
2016-09-20 14:51:43 +08:00
afc163
4a756405d4
Add two less variables
2016-09-19 17:42:47 +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
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
kvetoslavnovak
10709251ec
#1471 ( #3000 )
...
#1471
2016-09-11 00:30:08 +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
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
afc163
7cb1fb02b8
color fix inside button #1882
2016-05-28 15:47:02 +08:00
afc163
4b00e05cfb
fix for button ummount
2016-05-28 15:31:39 +08:00
Benjy Cui
f22e682217
docs: update translation
2016-05-25 09:43:26 +08:00
afc163
62e55e2080
update button demo
2016-05-18 14:40:09 +08:00
afc163
8bd421efc7
fix loading button clicked effect
2016-05-18 13:15:42 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
Benjy Cui
be2bac4b25
site: resolve rebase errors
2016-05-16 15:41:55 +08:00
Benjy Cui
d2a4dcf1eb
docs: hide style
2016-05-16 15:41:55 +08:00
Benjy Cui
518495a948
docs: update translation
2016-05-16 15:41:55 +08:00
Benjy Cui
5909438ed3
docs: update translation
2016-05-16 15:41:55 +08:00
Benjy Cui
2fe4a49182
docs: translate the documentation of Button to English
2016-05-16 15:41:55 +08:00
Benjy Cui
8971074b3d
site: add i18n for common md file
2016-05-16 15:41:55 +08:00
Benjy Cui
b9a550c0fe
site: i18n for demo
2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
8b894f908d
upgrade antd-tools and fix typo
2016-04-29 22:24:20 +08:00
afc163
c66a226004
Fix lesshint problems
2016-04-29 17:03:28 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00
afc163
e071fc4aa9
Fix disabled button event bubble
...
close #1541
ref http://stackoverflow.com/a/17877723
2016-04-29 00:43:03 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
7e3b52f0fb
Merge branch master into develop-1.0.0
2016-04-20 12:18:59 +08:00
afc163
6dc187e5f4
Not focus it when click button
...
91117c0faa (diff-39f43a348016e3a62dc9c315917c402bR108)
2016-04-20 12:14:57 +08:00
afc163
07ea8ff323
Merge branch master into develop-1.0.0
2016-04-18 17:24:51 +08:00
afc163
63e110fbc6
fix #1442
2016-04-18 17:02:05 +08:00
afc163
cc2f93a4e1
loading button should not be transparent
2016-04-15 16:21:08 +08:00
Benjy Cui
047bfc2574
style: enable react/prefer-stateless-function
2016-04-13 17:38:53 +08:00
afc163
b4be06f816
improve button loading animation
2016-04-12 12:17:03 +08:00
afc163
5f0b1ef006
Fix button text span wrap
2016-04-12 11:56:14 +08:00
afc163
e4c3faeabc
fix size propTypes
2016-04-06 15:52:38 +08:00