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
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
afc163
75abadac84
Add doc about clearing Modal old state
8 years ago
afc163
4654db312f
Fix some lesshint problems
8 years ago
afc163
af9a2cd8fb
update modal style
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
d4132ac558
chore: add missing definition for Modal
8 years ago
陆离
a0498e436f
docs: add document for `afterClose` props for Modal ( #4448 )
+ close #4445
8 years ago
Benjy Cui
4758302ad5
deps: upgrade antd-tools, close : #4208
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
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
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
Bruce Mitchener
36508ffabd
Typo fixes.
8 years ago
afc163
f9319e244b
Add compatible css centered demo code, close #3849
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
afc163
0ec4276eab
@font-size-lg ( #1752 )
8 years ago