afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
Pixy Yuan
a2bef2b87e
feat: Modal.confirm add maskClosable option ( #4488 ) ( #4490 )
* feat: Modal.confirm add maskClosable option (#4488 )
* feat: Modal.confirm add maskClosable option (#4488 )
8 years ago
Benjy Cui
4758302ad5
deps: upgrade antd-tools, close : #4208
8 years ago
afc163
3af1821bde
remove whitespaces
8 years ago
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
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
afc163
2969f9d1e5
Improve confirm Modal style detail
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
马金花儿
3d187d00a1
feat: 为Modal组件的confirm、success、error、warning、info 子组件增加快捷键,模仿原生体验。 ( #3061 )
* Add hotkey for Modal.confirm
* Optimize
* 重构快捷键逻辑
* 根据CR 进一步优化逻辑
* timeoutId 改为非强制
* Update confirm.tsx
* 使用 onCancel 回调代替 onClose,并修改 onCancel 注释。
* 修改注释
8 years ago
马斯特
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
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
afc163
36293e2ccb
fix tslint
8 years ago
ddcat1115
3bdd8212ec
refactor: Ts rewrite patination notification modal menu ( #2699 )
8 years ago
Benjy Cui
8dd31d0bb2
fix: buttons of Modal.xxx should be disabled, close : #2684 ( #2687 )
8 years ago
afc163
d7defe458b
blank line
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
陆离
0b3146dba0
modal destroy ( #2124 )
* modal destroy
* document and typo
* remove blank line
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
a3850a4df8
LocalePrivider should not dependconfirm
9 years ago
afc163
72f68fa003
support custom Modal position and add vertical middle demo
9 years ago
afc163
4c60da7316
Modal.confirm, iconClassName => iconType
9 years ago
Benjy Cui
5e4786440d
deps: remove object-assign
9 years ago
Benjy Cui
02f507f156
fix: should copy defaultLocale instead of refer
9 years ago
afc163
83f96e5f19
Make LocalProvider compatible with Modal.xxx
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
b72d18fd44
style: update code style to please the fucking lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
Benjy Cui
7cd8b34015
chore: remove useless `div`
9 years ago
afc163
d1d3329674
fix boolean attribute lint errors
9 years ago
Benjy Cui
dba62729b0
refactor: set `okText` `cancel` defaultValue
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
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
Benjy Cui
5b86a4be1d
refactor: replace `button` tag with `Button` component
9 years ago
elrrrrrrr
244c3a78a5
chore: 迁移 modal iconfont
- api 接口有变
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
75d710a1b8
Add some info type Modal, close #244
9 years ago
afc163
691b0147b1
update eslintrc and fix code
9 years ago
afc163
f4964626d9
open confirm from current mouse position
9 years ago
yiminghe
867c4f2a85
support mousePosition
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