Commit Graph

6199 Commits

Author SHA1 Message Date
陆离
49e164d09d docs: translation of Spin and Slider (#2378) 2016-07-21 09:51:04 +08:00
RaoHai
910d4ff111 version fix 2016-07-20 19:01:11 +08:00
RaoHai
1ccfad13f7 Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
 - 输入框失去焦点后,dropdown 会消失。
 - 添加受控模式示例
 - 添加 `getMentions(editorState: EditorState): Array<String>` Api,
   可以获取当前提到的人。
 - 添加了校验样式
 - 其他样式修正
2016-07-20 19:01:11 +08:00
yiminghe
12b531efb3 Merge pull request #2416 from RaoHai/improvementOfDatePicker
DatePicker 组件优化
2016-07-20 11:17:35 +08:00
yiminghe
6158b39335 Merge pull request #2259 from RaoHai/MentionComponent
Mention Component
2016-07-20 11:17:19 +08:00
afc163
ea61aa3cab upload code style 2016-07-19 20:28:56 +08:00
yiminghe
b140856836 add class 2016-07-19 19:08:59 +08:00
RaoHai
8c739abeb5 style lint 2016-07-19 16:00:19 +08:00
RaoHai
7dd4a019d5 DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
 面板上的 TimePicker
 + DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
 + RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
 + RangePicker showTime : 点击框外和确定均为确定操作。
 + RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
 + RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
 + RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
yiminghe
3342aae9f3 upgrade 2016-07-19 15:46:00 +08:00
afc163
6e673b8b44 fix spec color 2016-07-19 14:40:56 +08:00
RaoHai
3095f58be8 export toEditorState of Mention 2016-07-19 13:39:05 +08:00
RaoHai
3fe36f4584 export toString of Mention 2016-07-19 12:31:03 +08:00
afc163
e2cc2838fd Fix lesshint 2016-07-18 22:24:53 +08:00
RaoHai
23df8f7504 tslint fix 2016-07-18 17:58:55 +08:00
RaoHai
69da207f3c support value props and controllred mode 2016-07-18 16:58:52 +08:00
RaoHai
f547a97020 lesslint fix 2016-07-18 16:58:52 +08:00
RaoHai
595938f5f2 Mention Component 2016-07-18 16:58:52 +08:00
RaoHai
aea176e045 rc-editor-mention version 2016-07-18 16:58:52 +08:00
RaoHai
8e3d2b823a improvement after review 2016-07-18 16:58:52 +08:00
RaoHai
1fd4837d25 lesslint fix 2016-07-18 16:58:52 +08:00
RaoHai
01fabac77a Mention Component 2016-07-18 16:58:52 +08:00
afc163
872fc824c1 fix typo 2016-07-18 13:22:07 +08:00
afc163
3a4f464d0f update docs 2016-07-17 18:37:44 +08:00
afc163
683e0a670f fix site font 2016-07-17 18:21:19 +08:00
afc163
def3d60069 fix timeout error 2016-07-17 15:25:12 +08:00
afc163
ae3d009ff6 Fix site 2016-07-17 15:20:30 +08:00
afc163
b756a49d05 Fix toc and doc order (#1949) 2016-07-17 15:13:19 +08:00
afc163
9f008d8843 bump 1.6.5 2016-07-16 16:51:37 +08:00
afc163
765150f17d fix cascader props warning (#2258) 2016-07-16 15:50:27 +08:00
afc163
4ff4e57bd0 fix warning 2016-07-16 15:02:02 +08:00
afc163
f0995bd1e3 Merge 1.x-stable 2016-07-15 16:42:58 +08:00
afc163
43d8c0a4a2 Fix DatePicker onChange and onOk when showTime
onChange should be triggered at clicking ok button
when showTime is true. You can use onChange replace onOk
anytime.

This commit revert a05b4e6, which break the behavious above.

close #2399, also fix #2120
2016-07-15 16:26:14 +08:00
afc163
e7f6f4b869 Fix Transfer search and check all behavious, close #2396 2016-07-15 15:07:31 +08:00
afc163
138a7a9c54 fix code style 2016-07-15 14:01:51 +08:00
afc163
a535238d68 fix cascader input style 2016-07-15 12:46:49 +08:00
Infinity
1c68f17b81 为TimePicker增加定制anchor的API (#2390) 2016-07-15 12:38:42 +08:00
afc163
d7defe458b blank line 2016-07-15 12:37:53 +08:00
yiminghe
91037fa78f Merge pull request #2385 from ant-design/add-typings
Add typings
2016-07-15 11:42:30 +08:00
Infinity
5fa89f280a 为TimePicker增加定制anchor的API (#2390) 2016-07-15 11:11:55 +08:00
afc163
730dbc72f7 Add typings 2016-07-14 18:15:59 +08:00
afc163
2e4d09c68e Fix types 2016-07-13 18:04:38 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
afc163
aee2b2c5ad Merge branch '1.x-stable' 2016-07-13 16:26:27 +08:00
afc163
8c9af24d72 fix some tree style 2016-07-13 16:12:44 +08:00
afc163
2d0b56a429 update tree demo 2016-07-13 16:08:10 +08:00
afc163
1c87f36dd4 Fix chrome hash link 2016-07-13 16:06:07 +08:00
afc163
ce51768fac remove unused code 2016-07-13 14:16:15 +08:00
afc163
900b9b2f99 update package.json 2016-07-13 12:22:34 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00