偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
陆离
5b779e8e8e
Exposing `onFocus` and `onBlur` callback of Mention ( #4164 )
* Expose `onFocus` and `onBlur` callback of Mention
+ close #4163
* add event arguments
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
Benjy Cui
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
RaoHai
1287f2a19f
object -> any
8 years ago
Bruce Mitchener
36508ffabd
Typo fixes.
8 years ago
RaoHai
b0bdfcb94c
onSelect of `Mention` component pass extra data
+ close #3867
8 years ago
afc163
5b3df08ade
use @input-placeholder-color in select and mention, close #3858
8 years ago
afc163
b6455e2546
fix path
8 years ago
afc163
a7153e6e24
Fix mention style detail
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
afc163
0a48c62dcb
use @text-color
8 years ago
Meck
248f0d12ad
Fix typo
8 years ago
RaoHai
42d06e1f0e
fix `getPopupDomNode`
8 years ago
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
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
陆离
05c6d09eab
docs: add controllerd sample ( #3504 )
* add controllerd sample
* lint
8 years ago
afc163
d92a24d477
Improve overlay border design
8 years ago
Shawn Sit
a932a4ac08
docs: translated controlled demo ( #3220 )
* translated controlled demo
* fixs: misspell & shorter label
8 years ago
陆离
3513cf7a1f
Mention fix ( #3240 )
* placeholder style fix
* add onSelect callback
8 years ago
Benjy Cui
92fb8f266f
docs: add docs for Mention[prefix], close : #3184
8 years ago
Benjy Cui
28d5b49f9e
site: update details
8 years ago
kvetoslavnovak
a9afd5cd17
docs: Mention Basic Use - English translation ( #3137 )
8 years ago
kvetoslavnovak
069b5963db
docs: Mention Controlled Mode - English translation ( #3136 )
8 years ago
kvetoslavnovak
2ccda65957
docs: Mention Icon Image - English translation ( #3135 )
8 years ago
kvetoslavnovak
150d4e6dbb
docs: Mention Customize Suggestion - English translation ( #3134 )
8 years ago
kvetoslavnovak
b5a0ad0a67
docs: Mention Asynchronous loading - English translation ( #3133 )
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
3f67fd3f9f
docs: update docs details
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
马斯特
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
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
Benjy Cui
cb367f3f35
site: update site details
8 years ago
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
8 years ago
Benjy Cui
33939312e9
docs: fix demos
8 years ago
Benjy Cui
34974923b8
docs: remove dead code in demo
8 years ago
afc163
77949bb9e3
upgrade eslint-config, close #2811
8 years ago
afc163
398b8ac708
typo
8 years ago
afc163
a30f0090b9
update metion doc
8 years ago
afc163
57a34d8f5d
fix metion styles
8 years ago
afc163
aa8e02326a
update metion docs
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
RaoHai
1ccfad13f7
Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
- 输入框失去焦点后,dropdown 会消失。
- 添加受控模式示例
- 添加 `getMentions(editorState: EditorState): Array<String>` Api,
可以获取当前提到的人。
- 添加了校验样式
- 其他样式修正
8 years ago
RaoHai
3095f58be8
export toEditorState of `Mention`
8 years ago
RaoHai
3fe36f4584
export `toString` of Mention
8 years ago
RaoHai
23df8f7504
tslint fix
8 years ago
RaoHai
69da207f3c
support value props and controllred mode
8 years ago
RaoHai
f547a97020
lesslint fix
9 years ago