afc163
|
16abf46071
|
Fix markdown eslint errors, update .eslintrc
|
9 years ago |
shelwin
|
042f016dd4
|
update modal confirm demo
|
9 years ago |
Benjy Cui
|
dba62729b0
|
refactor: set `okText` `cancel` defaultValue
|
9 years ago |
Benjy Cui
|
b110b8787b
|
docs: update demos
|
9 years ago |
Benjy Cui
|
fdd9ef7d18
|
feat: Modal should support internationalization
|
9 years ago |
afc163
|
e058e67cb4
|
fix iconfont
|
9 years ago |
yiminghe
|
dc1650486d
|
fix button
|
9 years ago |
afc163
|
753c01ae18
|
ES6 syntax for demo code
fix antd.notification
|
9 years ago |
afc163
|
e19186f783
|
confirmLoading is fully controlled by props now, fix #392
|
9 years ago |
afc163
|
5a50df6b78
|
use ghost button to match primary button
|
9 years ago |
afc163
|
cad3fdff45
|
lg => large, sm => small
|
9 years ago |
yiminghe
|
76b0f673ec
|
beta2
|
9 years ago |
afc163
|
aed7eae2bc
|
Fix confirmLoading
|
9 years ago |
afc163
|
ed7114e25e
|
update modal info
|
9 years ago |
Benjy Cui
|
5b86a4be1d
|
refactor: replace `button` tag with `Button` component
|
9 years ago |
elrrrrrrr
|
244c3a78a5
|
chore: 迁移 modal iconfont
- api 接口有变
|
9 years ago |
afc163
|
176adab763
|
update modal basic demo
|
9 years ago |
afc163
|
c5cab1d687
|
Add confirmLoading prop for Modal
You can use `confirmLoading` to cancel button loading status.
```
onOk() {
...
this.setState({
confirmLoading: false
});
}
```
Fix #322
|
9 years ago |
afc163
|
d6a4094bc4
|
Allow multiple confirm dialogs popup
|
9 years ago |
afc163
|
a1d5030174
|
rollback blur mask
|
9 years ago |
jljsj
|
9d5bc12db0
|
add modal bg blur, remove motion blur
|
9 years ago |
afc163
|
6dbb7ba8ba
|
update confirm modal button text
|
9 years ago |
afc163
|
0ac1f76553
|
Fix visible state bug in handleCancel
|
9 years ago |
afc163
|
a63e2f8c0c
|
Remove console.log
|
9 years ago |
afc163
|
75d710a1b8
|
Add some info type Modal, close #244
|
9 years ago |
afc163
|
691b0147b1
|
update eslintrc and fix code
|
9 years ago |
afc163
|
8c2c65adf4
|
update modal custom.md
|
9 years ago |
afc163
|
e6d92e37b1
|
update modal default props
|
9 years ago |
afc163
|
94c9081c83
|
default modal width change to 520px
|
9 years ago |
afc163
|
fdf19520d6
|
Add component type
|
9 years ago |
afc163
|
281dd27e96
|
short delay for detecting mousePosition
|
9 years ago |
afc163
|
c3294dfc64
|
use arrow function
|
9 years ago |
afc163
|
e95e557077
|
detect mousePosition in click event
|
9 years ago |
afc163
|
77651c0621
|
update code style
|
9 years ago |
afc163
|
192f150bc2
|
use rc-util addEventListener
|
9 years ago |
afc163
|
c0c9b4a8d5
|
remove this.onDocumentMousemove
|
9 years ago |
afc163
|
ee8335856c
|
Only listen mousemove once
初始化时监听, 共享同一个 mousePosition
|
9 years ago |
afc163
|
f4964626d9
|
open confirm from current mouse position
|
9 years ago |
afc163
|
56b06e168f
|
get mousePosition from mousemove listener for more elegant API
|
9 years ago |
afc163
|
1c5e3485e7
|
Fix cancel button can not close modal
1. 关闭取消按钮的修复
2. 优化 loading 按钮的效果
|
9 years ago |
yiminghe
|
867c4f2a85
|
support mousePosition
|
9 years ago |
afc163
|
9d5e0a2e58
|
remove unused state visible
|
9 years ago |
afc163
|
539ac64998
|
除了自定义页脚外,点击取消不需要手动设置关闭
|
9 years ago |
afc163
|
edc0f4bbc0
|
modal custom footer demo
|
9 years ago |
afc163
|
4eb849c783
|
fix boolean expression always true
|
9 years ago |
ustccjw
|
b34269a6b1
|
use es6 module import/export
convert var to const
fix bug
fix bug
fix for jshint
fix import
|
9 years ago |
ustccjw
|
41c35903a4
|
remove use strict
|
9 years ago |
afc163
|
12b26137ea
|
Add confirm button loading effect for modal
|
9 years ago |
afc163
|
ecb45c3538
|
should be large button in modal
|
9 years ago |
afc163
|
fa9914f34a
|
components order
|
9 years ago |