Commit Graph

59 Commits

Author SHA1 Message Date
afc163
e6d92e37b1 update modal default props 2015-08-25 16:56:08 +08:00
afc163
94c9081c83 default modal width change to 520px 2015-08-25 16:25:08 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
281dd27e96 short delay for detecting mousePosition 2015-08-19 10:09:44 +08:00
afc163
c3294dfc64 use arrow function 2015-08-18 20:27:40 +08:00
afc163
e95e557077 detect mousePosition in click event 2015-08-18 18:36:31 +08:00
afc163
77651c0621 update code style 2015-08-18 16:24:18 +08:00
afc163
192f150bc2 use rc-util addEventListener 2015-08-18 16:21:56 +08:00
afc163
c0c9b4a8d5 remove this.onDocumentMousemove 2015-08-18 13:21:48 +08:00
afc163
ee8335856c Only listen mousemove once
初始化时监听, 共享同一个 mousePosition
2015-08-18 13:19:00 +08:00
afc163
f4964626d9 open confirm from current mouse position 2015-08-18 13:15:16 +08:00
afc163
56b06e168f get mousePosition from mousemove listener for more elegant API 2015-08-18 12:26:19 +08:00
afc163
1c5e3485e7 Fix cancel button can not close modal
1. 关闭取消按钮的修复
2. 优化 loading 按钮的效果
2015-08-18 11:46:07 +08:00
yiminghe
099999ffc1 support mousePosition 2015-08-17 23:46:09 +08:00
yiminghe
867c4f2a85 support mousePosition 2015-08-17 23:42:52 +08:00
afc163
9d5e0a2e58 remove unused state visible 2015-08-17 16:44:38 +08:00
afc163
539ac64998 除了自定义页脚外,点击取消不需要手动设置关闭 2015-08-17 16:42:33 +08:00
afc163
edc0f4bbc0 modal custom footer demo 2015-08-14 14:35:15 +08:00
afc163
4eb849c783 fix boolean expression always true 2015-07-29 15:29:29 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
12b26137ea Add confirm button loading effect for modal 2015-07-22 17:32:22 +08:00
afc163
ecb45c3538 should be large button in modal 2015-07-22 16:57:30 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
yiminghe
0a7410973e clean warning 2015-07-08 20:53:11 +08:00
yiminghe
82913b8610 support promise for modal 2015-06-25 15:35:46 +08:00
yiminghe
abcdaddcaa support promise for modal 2015-06-25 15:29:56 +08:00
afc163
74c30f4128 update modal style 2015-06-18 15:46:59 +08:00
afc163
f4b226075f Merge branch 'master' of github.com:ant-design/ant-design 2015-06-15 21:30:37 +08:00
afc163
4adae8b3ed fix modal style 2015-06-15 21:30:17 +08:00
yiminghe
e07159834e update motion 2015-06-15 21:22:40 +08:00
yiminghe
73d89f46af update motion 2015-06-15 21:18:08 +08:00
afc163
81ee5588bc tweak code style 2015-06-14 13:21:29 +08:00
afc163
22c48941e9 tweak code style 2015-06-14 13:20:35 +08:00
yiminghe
580481221f adjust onCancel 2015-06-12 23:46:04 +08:00
yiminghe
d5f760f9e7 remove ref 2015-06-12 23:31:44 +08:00
afc163
646c6853d6 move confirm into modal 2015-06-12 19:41:30 +08:00
afc163
b9b6cd33d0 components order 2015-06-12 17:49:30 +08:00
afc163
b5ae8925f2 update modal demos 2015-06-12 17:44:29 +08:00
afc163
0cbf1b9cc3 update modal demos 2015-06-12 17:37:39 +08:00
afc163
2dc587269f update modal demos 2015-06-12 17:11:32 +08:00
yiminghe
90241a7efe fix prefixCls 2015-06-12 12:01:02 +08:00
yiminghe
3690b2888d pass lint 2015-06-11 16:35:36 +08:00
yiminghe
c634b4d14c add confirm 2015-06-10 22:02:13 +08:00
afc163
55041219f2 Add eslint, close #14 2015-06-10 17:59:32 +08:00
afc163
ab6599b367 update modal demo 2015-06-10 16:43:35 +08:00
yiminghe
695c3b8ff6 upgrade rc-dialog 2015-06-09 22:24:19 +08:00
yiminghe
3a9619ed68 update modal 2015-06-05 15:16:55 +08:00
yiminghe
d3823e95d2 update modal 2015-06-05 12:05:52 +08:00
afc163
7e4fcfed27 fix instance 2015-06-05 11:41:45 +08:00