Commit Graph

88 Commits

Author SHA1 Message Date
RaoHai
c5a043b4c8 Mention Improvement
+ add `getSuggestionContainer` callback function, which allow users modify the
 container element of suggestions dropdown.
 + the suggestions dropdown will mount on `document.body` defaultly, instead of
 on editor.
 + close #3588
2016-10-31 15:58:15 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
陆离
05c6d09eab docs: add controllerd sample (#3504)
* add controllerd sample

* lint
2016-10-20 13:51:44 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
Shawn Sit
a932a4ac08 docs: translated controlled demo (#3220)
* translated controlled demo

* fixs: misspell &  shorter label
2016-09-30 14:56:53 +08:00
陆离
3513cf7a1f Mention fix (#3240)
* placeholder style fix

* add onSelect callback
2016-09-30 11:26:27 +08:00
Benjy Cui
92fb8f266f docs: add docs for Mention[prefix], close: #3184 2016-09-28 16:56:01 +08:00
Benjy Cui
28d5b49f9e site: update details 2016-09-23 10:14:57 +08:00
kvetoslavnovak
a9afd5cd17 docs: Mention Basic Use - English translation (#3137) 2016-09-23 09:41:04 +08:00
kvetoslavnovak
069b5963db docs: Mention Controlled Mode - English translation (#3136) 2016-09-23 09:40:47 +08:00
kvetoslavnovak
2ccda65957 docs: Mention Icon Image - English translation (#3135) 2016-09-23 09:40:32 +08:00
kvetoslavnovak
150d4e6dbb docs: Mention Customize Suggestion - English translation (#3134) 2016-09-23 09:39:56 +08:00
kvetoslavnovak
b5a0ad0a67 docs: Mention Asynchronous loading - English translation (#3133) 2016-09-23 09:39:35 +08:00
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
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
马斯特
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
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
Benjy Cui
33939312e9 docs: fix demos 2016-08-29 14:46:31 +08:00
Benjy Cui
34974923b8 docs: remove dead code in demo 2016-08-29 14:38:57 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
398b8ac708 typo 2016-07-21 15:53:33 +08:00
afc163
a30f0090b9 update metion doc 2016-07-21 15:41:40 +08:00
afc163
57a34d8f5d fix metion styles 2016-07-21 15:40:13 +08:00
afc163
aa8e02326a update metion docs 2016-07-21 15:23:04 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
RaoHai
1ccfad13f7 Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
 - 输入框失去焦点后,dropdown 会消失。
 - 添加受控模式示例
 - 添加 `getMentions(editorState: EditorState): Array<String>` Api,
   可以获取当前提到的人。
 - 添加了校验样式
 - 其他样式修正
2016-07-20 19:01:11 +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
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
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