Commit Graph

178 Commits

Author SHA1 Message Date
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
马金花儿
3d187d00a1 feat: 为Modal组件的confirm、success、error、warning、info 子组件增加快捷键,模仿原生体验。 (#3061)
* Add hotkey for Modal.confirm

* Optimize

* 重构快捷键逻辑

* 根据CR 进一步优化逻辑

* timeoutId 改为非强制

* Update confirm.tsx

* 使用 onCancel 回调代替 onClose,并修改 onCancel 注释。

* 修改注释
2016-09-20 08:58:20 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
73a6bfb055 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-14 16:29:53 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
bbe6606dc3 fix demo 2016-09-14 14:49:12 +08:00
Benjy Cui
25cb3e2d30 docs: update demo to catch errors, close: #2912 2016-09-10 18:14:23 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
e0eb9ae162 Merge branch "1.x-stable" 2016-08-29 21:02:59 +08:00
afc163
ee60b42d6d improve Modal code style 2016-08-29 20:48:47 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
afc163
36293e2ccb fix tslint 2016-08-16 18:12:56 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
ddcat1115
2c76b19a1a fix #2688 避免对已经unmount的组件进行操作 (#2720) 2016-08-15 17:49:41 +08:00
ddcat1115
3bdd8212ec refactor: Ts rewrite patination notification modal menu (#2699) 2016-08-15 12:00:05 +08:00
Benjy Cui
8dd31d0bb2 fix: buttons of Modal.xxx should be disabled, close: #2684 (#2687) 2016-08-14 15:19:47 +08:00
Benjy Cui
2ed192db52 docs: fix demo style 2016-08-11 11:47:28 +08:00
Gray Choi
5c2087311f docs: translate modal (#2634) 2016-08-11 11:41:06 +08:00
afc163
b200f8a2d8 Merge 1.x-stable 2016-08-08 14:12:02 +08:00
RaoHai
3209edddca modal 添加小屏幕适配。
+ 加入 768px 断点。当屏幕小于 768 时,宽度 auto 且 margin:10。其他不变。
2016-08-03 15:25:33 +08:00
ddcat1115
ef84f8d408 refactor: ts LocaleProvider (#2548) 2016-08-02 16:10:26 +08:00
afc163
d7defe458b blank line 2016-07-15 12:37:53 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
b5f49a5aad improve modal zoom animation 2016-06-27 16:40:11 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
陆离
0b3146dba0 modal destroy (#2124)
* modal destroy

* document and typo

* remove blank line
2016-06-21 18:50:07 +08:00
Benjy Cui
209e3c1f9d docs: remove deprecated Modal.warn 2016-06-19 09:54:36 +08:00
afc163
90c2d7ee12 downgrade rc-util 2016-06-16 22:34:54 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
yiminghe
fc55cf6919 keep .warn 2016-05-31 15:29:24 +08:00
afc163
f1817e1a9e clear style 2016-05-19 11:12:05 +08:00
afc163
884f6510b2 Fix confirm icon color, close #1753 2016-05-18 19:07:14 +08:00
afc163
a15b601e6d Fix fixed modal, close #1751 2016-05-18 18:55:50 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
6c4adf3348 Fix modal close focus style, close #1668 2016-05-12 15:36:17 +08:00
afc163
c247e6ee6a fix lint 2016-05-12 15:11:25 +08:00
afc163
a3850a4df8 LocalePrivider should not dependconfirm 2016-05-12 13:25:00 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
51693994b5 upgrade center modal demo 2016-05-09 16:46:46 +08:00
afc163
72f68fa003 support custom Modal position and add vertical middle demo 2016-05-05 16:52:36 +08:00
afc163
c45ed1365e Fix confirm missing style 2016-05-05 15:03:24 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00