Wei Zhu
921361313a
Add explicit types for default props
Fix #8796
Close #8820
7 years ago
afc163
220d28d3e4
support keyboard for Modal.confirm, close #8818
7 years ago
Rohan Malhotra
6f3f17bb06
removed unnecessary whitespace
7 years ago
Rohan Malhotra
c6a1861887
updated rc-dialog and docs for destroyOnClose
7 years ago
Nathan Griffin
51b6e4904a
Adding missing type properties ( #8395 )
7 years ago
Benjy Cui
57dcc78989
fix: should not override default footer, close : #8379
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
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
afc163
0a3f6822f6
Fix zIndex types, ref #7624
7 years ago
afc163
ea2c113530
Fix zIndex types, ref #7624
7 years ago
afc163
11a6cd51a2
Fix zIndex types, close #7622
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
8f1dd9ccda
add missing trailing comma
7 years ago
Eden Wang
ee176347ac
fix ci compile error
7 years ago
Eden Wang
f2b987aaa9
update custom type for modal components
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
Benjy Cui
977a5a1cc7
docs: add missing API docs for Modal, close : #6239
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
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
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
邦
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
0eb5c689a3
remove type="ghost" from demo
8 years ago
Benjy Cui
d4132ac558
chore: add missing definition for Modal
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
afc163
6edac76abb
prolong delay animation click time
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
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
ddcat1115
3bdd8212ec
refactor: Ts rewrite patination notification modal menu ( #2699 )
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
90c2d7ee12
downgrade rc-util
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
71ee13a2a8
Fix Modal animation
9 years ago
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
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
80d6ae30a8
Add propTypes and prop align in Modal docs
9 years ago
afc163
95c1ead55b
fix text
9 years ago
afc163
2482140d2f
Change context locale name
9 years ago