Benjy Cui
5e4786440d
deps: remove object-assign
9 years ago
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
9 years ago
afc163
04f747770e
fix(docs), confirm demo & docs
9 years ago
afc163
80d6ae30a8
Add propTypes and prop align in Modal docs
9 years ago
Benjy Cui
02f507f156
fix: should copy defaultLocale instead of refer
9 years ago
afc163
95c1ead55b
fix text
9 years ago
afc163
83f96e5f19
Make LocalProvider compatible with Modal.xxx
9 years ago
afc163
2482140d2f
Change context locale name
9 years ago
afc163
99b58e67ec
Add other component for locale
9 years ago
afc163
5a9b7a295f
update docs
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
9d022ff84c
style: update code style to please lint
9 years ago
afc163
6700dbba2a
Fix Modal onCancel argument, ref #980
9 years ago
Benjy Cui
68b51e298d
style: update code style for space-before-function-paren
9 years ago
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
9 years ago
afc163
cfc141b1c7
capture mousePosition event register in document
9 years ago
afc163
24bd1f09da
fix Modal case bug
9 years ago
Benjy Cui
7ae966873a
fix: cyclic reference in Modal
9 years ago
Benjy Cui
aa5c4f9595
style: update code style to please lint
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
Benjy Cui
209170e813
style: update demo code style to please lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
Benjy Cui
a7b2c2e348
feat: expose `closable` for Modal
9 years ago
afc163
91bd7f22c0
use mountNode replace the long getElementById
9 years ago
Benjy Cui
7cd8b34015
chore: remove useless `div`
9 years ago
afc163
d1d3329674
fix boolean attribute lint errors
9 years ago
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