ycjcl868
fa0da1257a
fix: Modal icon
5 years ago
He Linming
7691047882
fix: Modal icon position while no title ( #19419 )
* 🐛 fix Modal icon position
close #19389
not render title when Modal title is undefined.
* ✅ (Modal): add test for modal without title
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
偏右
fb8f94714e
Update confirm-promise.md
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
Aaron Cawte
1a0bac944b
Documentation - Modal Component
6 years ago
zombiej
acefe7ba40
update modal demo
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
二哲
ad347a98e2
Update manual.md
After destroying need to clear interval
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
a27c8a2740
demo: update modal demo
6 years ago
comerc
3898c45c5d
Typo ( #12608 )
6 years ago
RyanHui
c095cb4665
modal add mask colse ( #12556 )
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
afc163
2952a8625b
site: remove old version hint of API
6 years ago
afc163
325bff5324
update modal demo button text
6 years ago
afc163
b8b9c02fb9
Add update function for Modal.method, close #11721
6 years ago
yoyo837
ef31697d26
Support centered settings
6 years ago
Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
6 years ago
afc163
0981ef06a4
fix demo lint
7 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Randy
a614a525c4
fix #10822 ( #10955 )
Add `okButtonProps` and `cancelButtonProps` props to ok button and cancel button
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
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
Meow-z
e165b8a705
fix: model ( #7675 )
add confirmLoading in async model state.
7 years ago
yociduo
528a7645ca
remove cancel text
7 years ago
Eden Wang
a5a1458148
add missing trailing commna
7 years ago
Eden Wang
f7b918add3
update confirm demo
7 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
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
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
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
afc163
f9319e244b
Add compatible css centered demo code, close #3849
8 years ago
afc163
66891a7cc0
update demo text
8 years ago
afc163
bbe6606dc3
fix demo
8 years ago
Benjy Cui
25cb3e2d30
docs: update demo to catch errors, close : #2912
8 years ago
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
8 years ago
afc163
77949bb9e3
upgrade eslint-config, close #2811
8 years ago
Benjy Cui
2ed192db52
docs: fix demo style
8 years ago
Gray Choi
5c2087311f
docs: translate modal ( #2634 )
8 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
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago