afc163
220d28d3e4
support keyboard for Modal.confirm, close #8818
7 years ago
Wei Zhu
45815d1148
Refactor confirm ( #8409 )
* Refactor confirm
* Add okCancel test
* Only test React 16
* Upgrade rc-dialog
7 years ago
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Alex Chao
3727ea2c33
feat: Modal.confirm supports zIndex prop #6722 ( #6880 )
* Modal.confirm supports zIndex prop #6722
* Fix filename
* Fix the zIndex missing in ModalFuncProps interface
7 years ago
yociduo
528a7645ca
remove cancel text
7 years ago
Eden Wang
f2b987aaa9
update custom type for modal components
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
afc163
fd625ef1a0
upgrade and fix tslint problems
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
ddcat1115
24e6fb4ba6
fix Modal.confirm error when onCancel not set ( #5294 )
* fix Modal.confirm error when onCancel not set
* add test case
8 years ago
elios
f3cc8dfe0d
+ call onCancel when pressing esc key ( #5209 )
* + call onCancel when pressing esc key
* + call onCancel when press esc corrections
8 years ago
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