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
fa0e90f577
remove cancel type
7 years ago
yociduo
528a7645ca
remove cancel text
7 years ago
Eden Wang
a5a1458148
add missing trailing commna
7 years ago
Eden Wang
8f1dd9ccda
add missing trailing comma
7 years ago
Eden Wang
ee176347ac
fix ci compile error
7 years ago
Eden Wang
f7b918add3
update confirm demo
7 years ago
Eden Wang
c712d072eb
update okType and cancelType for api docs
7 years ago
Eden Wang
f2b987aaa9
update custom type for modal components
7 years ago
乐仪
1dd3e001c5
Update Modal doc, relevant: https://github.com/ant-design/ant-design/pull/7085
7 years ago
Ivan Radeljic
1651682020
Update modal documentation ( #7085 )
Add another way to destroy state on close modal
7 years ago
Wei Zhu
401519ec6f
Fix types
7 years ago
Randy
99e4cd6aec
add rc-util declaration to custom-typings ( #6935 )
7 years ago
LongYinan
bd5daa939a
fix: missing maskClosable property in ModalFuncProps interface
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
Benjy Cui
8c632ef2cf
fix: Modal.method should stop loading when promise throw err, close : #6183
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
Benjy Cui
977a5a1cc7
docs: add missing API docs for Modal, close : #6239
8 years ago
Benjy Cui
523ad8c802
docs: show demo for #6121
8 years ago
Benjy Cui
9ce3a1ea35
docs: update docs details for Modal, close : #6121
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
leadream
d783c26263
css: add background color variable for modal mask. ( #5890 )
8 years ago
afc163
b9ff7ed613
enlarge close area of Modal
8 years ago
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
8 years ago
Benjy Cui
71495e71d2
test: fix warning, close : #5628
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
Benjy Cui
ce2fe2aa45
test: add test for Modal[footer=null]
8 years ago
Benjy Cui
43b155e7f6
fix: Modal[footer] could be set to null to hide totally, close : #5462
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
901a1e6769
use @info-color over @primary-color , close #5442
8 years ago
Benjy Cui
af12ca7434
fix: Modal[footer] could be set to null to hide totally, close : #5462
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
6b2f6af85d
use @info-color over @primary-color , close #5442
8 years ago
afc163
a42a507e2b
percise modal document
8 years ago
afc163
19bebebc60
percise modal document
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
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
0b62f77630
Tweak title color
8 years ago
邦
3d32a86547
refactor: improve modal static methods type definition ( #5090 )
* refactor: improve modal static methods type definition
* chore: add exports.
* chore: remove unused import
8 years ago
ddcat1115
e07cdf5387
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] ( #5042 )
8 years ago
afc163
5e0f5e1902
rewrite Modal demos to es6 component, #4878
8 years ago
afc163
b427adec21
docs: add instrunction about footer={null}
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
Benjy Cui
eee34f1829
fix: footer button should align with cross button
8 years ago
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
8 years ago
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago