Tom Xu
9d056c1508
docs(Modal): async change to hook ( #27559 )
4 years ago
Tom Xu
0822ac618f
chore: add prettier ignore and format demo ( #27270 )
4 years ago
Arnaud Benhamdine
3a7273b5da
docs: fix behaviour of modal draggable zone ( #27077 )
The behaviour of the draggable zone in the modal was incorrect : the header was supposed to be the only draggable zone, but because of an inverted logic of state change, all the modal was draggable
4 years ago
Tanmoy Bhowmik
6d2854264a
fix: Modal width out of screen ( #25765 )
* style(modal): add max-width
* chore(modal): add custom width demo
* test(modal): add custom width snapshot
* Update modal.less
* Update modal.less
* Update width.md
* Update demo.test.js.snap
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
zhangj
0c521962e7
feat: Update rc-dialog to 8.3.0, support Modal drag and drop. ( #26507 )
* feat: 更新到rc-dialog@8.3.0 添加Modal组件对拖拽的支持。
* fix: test case
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* fix: 修复文档版本修改为4.7.0, 文档的order改为13最后一个,指针改为move
* fix: 修改API的顺序,按照字母顺序进行排列
* fix: 修复一些讨论的问题
* fix: test case
* fix: 修改Demo的Modal的Button的显示方式,进行竖着排列
* docs: 去掉多余的demo
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
Amour1688
453f7d13f3
docs: optimize modal docs ( #25724 )
* docs: optimize modal docs
* docs: remove <br />
4 years ago
afc163
77ed923fba
docs: 🎬 import Modal demo
4 years ago
xrkffgg
059b106ccf
docs: update confirm demo ( #24569 )
5 years ago
xrkffgg
01b98e79d9
docs: optimize site of components 3 ( #23779 )
* docs: optimize site of components in rtl 3
* add
5 years ago
信鑫-King
c17b40ae70
fix: dark background in different container ( #21299 )
* fix: comment and input
* fix: add @pagination-item-input-bg
* feat: add @list-customize-card-bg for dark hook component
* feat: add dark hook
* fix: checkbox color
* fix: popover-customize-border-color
* fix: table
* fix: style lint
* fix: debug
* fix: color
* fix: update colors
* fix: demo
* feat: popover container bg use mixins utils
* fix: less dark
* fix: table bg in dark
* fix: fixed table
* fix: lint
* fix: lint
* feat: add @table-expand-icon-bg
* fix: notification bg
* fix: remove dark.md
* fix: dropdown
* fix: table
* fix: data lint
* fix: style
* fix: dark less style
* fix: @steps-background
* fix: add thead dark style
* fix: unused styles
5 years ago
二货机器人
d02c486052
feat: Modal support hooks ( #20949 )
* init hooks
* portal it in
* children with 2 context demo
* Remove config since not more second demo
* Quit with same Component for logic reuse
* add rest functions
* use localeReceiver
* use localeReceiver
* update test case
* fix lint
* update docs
* update demo title
5 years ago
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