zombieJ
b4025176d1
fix modal not support configProvider ( #17132 )
6 years ago
Aiham Hammami
e3638f2806
Remove okButtonDisabled/cancelButtonDisabled never used prop defs
- Also remove them from the CHANGELOG because they were never actually
implemented, the prop was renamed to okButtonProps/cancelButtonProps
within PR #10955 but these prop defs were left behind and ended up
incorrectly included in the CHANGELOG.
6 years ago
Marcel Jackwerth
56ff8728d2
Remove ancient prop types ( #16705 )
* Remove ancient Modal.propTypes.align and Progress.propTypes.size
* Remove linkRender and nameRender from Breadcrumb
6 years ago
ztplz
ab683841d5
fix: Modal's open animation ( #16144 )
* Fix Modal's open animation
* Fix incorrect event type
* test
* Update
* Update
* Update
* Update
6 years ago
kristof0425
ad363570c3
fix(Modal): rm remaining unnecessary string type
6 years ago
kristof0425
5b2a5398cf
fix(Modal): correct type in comment
6 years ago
kristof0425
0a6642e595
refactor(Modal): rm unnecessary string
6 years ago
kristof0425
e0edd82a76
fix(Modal): allow ReactNode for okText and cancelText props
6 years ago
Yangzhedi
0e1564f499
fix(modal): add forceRender interface
6 years ago
Thomas
df65240094
feat: Add transitionName and maskTransitionName for Modal.method ( #14273 )
6 years ago
诸岳
21f0419ace
feat: Add mask prop for Modal method, close #14177 ( #14197 )
6 years ago
afc163
5c266355ec
⚡ Add `icon` to Modal.confirm/info/warning/error
deperated `iconType`
close #13918
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
tom
00109a0698
change Modal.destroy to Modal.destroyAll
6 years ago
tom
d9e0b33dbe
Modal.destroy():destroy all cofirm modal dialogs
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
4abc2824e4
📝 upgrade ts comment
6 years ago
zombiej
9aa62d42c2
Modal.xxx support maskStyle
fix #12688
6 years ago
C.J. Winslow
b9a86b2ea1
Pass the ok and cancel button props in the confirm API ( #12425 )
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
*isNewFeature* **:**
* [x] Update API docs for the component.
* [x] Update/Add demo to demonstrate new feature.
* [x] Update TypeScript definition for the component.
* [x] Add unit tests for the feature.
6 years ago
Erwin Kort
2d8f9ccf63
Add button autofocus prop to confirm modal ( #11756 )
@picodoth
6 years ago
Adam Burgess
9b01ec1ed2
Modal: Add the update function type definition
6 years ago
afc163
877f9fd7d6
Add getContainer to Modal.info etc, close #11377
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
HeskeyBaozi
46cb1c8cde
resolve conflict.
6 years ago
yoyo837
eab74fa693
For #11537 , Centered style should be applied to the wrap element.
6 years ago
yoyo837
f14e207912
Boolean
6 years ago
yoyo837
45e9b2a937
fix prefixCls is missing in restProps
6 years ago
yoyo837
ef31697d26
Support centered settings
6 years ago
HeskeyBaozi
c28c30d124
use rc-dialog@3.2.0, use svg close icon in Modal component.
6 years ago
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
Pass data and aria props to the alert div.
add wrapProps to ModalProps
7 years ago
Randy
a614a525c4
fix #10822 ( #10955 )
Add `okButtonProps` and `cancelButtonProps` props to ok button and cancel button
7 years ago
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