Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
Wei Zhu
f14d57dc14
Fix implicit any error for Mention
2017-11-21 20:38:30 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
转二
73000a226b
Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0
2017-09-25 23:42:47 +08:00
转二
60feaebd54
docs: Update 's document.
2017-09-25 23:42:31 +08:00
afc163
f9754c8a25
Merge branch 'master' into antd-3.0
2017-09-25 23:10:42 +08:00
afc163
ccf507b603
update mention demos
2017-09-25 22:42:07 +08:00
转二
20dae8f33e
feat: Add option for component: 'mention'
2017-09-25 21:12:43 +08:00
afc163
c9069dfdf6
Merge branch 'master' into antd-3.0
2017-09-23 16:50:14 +08:00
Sanjay Kumar
1dc4e45bce
Bugfix: Handle defaultSearchChange when suggestions contain ‘Nav’ items ( #7701 )
2017-09-22 23:51:59 -05:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
483491d0d8
treak input style for text align
2017-08-03 21:45:56 +08:00
Benjy Cui
a4a26797ec
fix: mention should support .focus
, close : #6135
2017-06-28 16:30:01 +08:00
afc163
9969a3b598
Improve doc
2017-06-16 16:56:03 +08:00
Jordan Hornblow
720a3d30b4
fix: Form and Mention TypeScript definition ( #6268 )
...
* Add source and options params to Form.ValidationRule.validator function
As per rules section of async-validation readme: https://github.com/yiminghe/async-validator#rules
* Make prefixCls optional in MentionProps interface
2017-05-26 09:16:53 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Benjy Cui
12a6060304
docs: fix code style
2017-05-15 14:37:22 +08:00
陆离
4518b02095
feat: support Mention[disabled|readOnly] and add some warning( #6004 )
...
#### FEATURES
* use `ContentState` instead of `EditorState`, selection events won't trigger
onChange anymore.
* deprecated `Mention.toEditorState`, instead of `Mention.toContentState`,
* `Mention.toEditorState` are compatibled, but have a warnning in console.
#### ISSUES
* `disabled` and `readOnly` props supported.
* fixed controlled mode bug.
* close #5788
* close #5175
* close #https://github.com/react-component/editor-mention/issues/7
2017-05-05 14:53:46 +08:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
afc163
c6efc4db27
Adjust dropdown item padding, close #5088
2017-05-02 16:07:16 +08:00
afc163
cb1815cfdf
fix api doc
2017-04-15 14:57:20 +08:00
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
afc163
240a93cee2
Fix mention active style
2017-03-19 01:29:21 +08:00
Wei Zhu
aefdfb9458
docs: use new Form[layout] prop
2017-03-06 17:51:45 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
afc163
376806dab8
Merge from "master"
2017-02-26 18:45:16 +08:00
afc163
d19453c4c3
fix lint
2017-02-20 22:21:14 +08:00
afc163
176b9f9083
fix typo
2017-02-20 22:11:39 +08:00
afc163
c28020708f
fix typo
2017-02-20 22:09:13 +08:00
afc163
f2d12306bd
improve demo es6 class code style
2017-02-20 21:47:57 +08:00
afc163
2da59c3679
fix mention demo
2017-02-20 21:40:24 +08:00
afc163
ce877707bd
rewrite LocaleProvider and Mention demos to es6 component, #4878
2017-02-20 21:39:07 +08:00
afc163
18e554ff46
fix lint
2017-02-20 13:39:01 +08:00
afc163
f037f12523
fix demo code language
2017-02-20 13:32:48 +08:00
Benjy Cui
63476d0bc0
Merge branch 'master' into feature-2.8
2017-02-14 10:56:33 +08:00
陆离
0d875432a5
feat: rc-editor-mention up to date and support multiple prefix token ( #4748 )
...
* rc-editor-mention -> 0.4.1, draft-js -> 0.10.0
transformIgnorePatterns
* multiple trigger supported
+ close #4797
* append DEMO
2017-02-13 15:50:38 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
陆离
e270fa87af
Mention in controlled mode suggestions bug fix ( #4718 )
...
* Mention in controlled mode suggestions bug fix
+ close #4716
2017-01-26 12:09:26 +08:00
caoyi
cebf3a4c9e
docs: fix Mention props API ( #4683 )
2017-01-22 19:49:08 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
afc163
4654db312f
Fix some lesshint problems
2017-01-11 21:45:09 +08:00
偏右
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
2017-01-01 22:20:06 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
陆离
5b779e8e8e
Exposing onFocus
and onBlur
callback of Mention ( #4164 )
...
* Expose `onFocus` and `onBlur` callback of Mention
+ close #4163
* add event arguments
2016-12-09 13:03:09 +08:00
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
2016-11-30 10:20:23 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
ddcat1115
34d00559fc
Merge pull request #3869 from RaoHai/mentionOnSelectData
...
[Document only] onSelect of `Mention` component pass extra data
2016-11-19 22:26:21 +08:00
RaoHai
1287f2a19f
object -> any
2016-11-18 14:31:46 +08:00
Bruce Mitchener
36508ffabd
Typo fixes.
2016-11-16 20:33:37 +07:00
RaoHai
b0bdfcb94c
onSelect of Mention
component pass extra data
...
+ close #3867
2016-11-16 17:16:32 +08:00
afc163
5b3df08ade
use @input-placeholder-color in select and mention, close #3858
2016-11-16 11:34:25 +08:00
afc163
b6455e2546
fix path
2016-11-14 13:20:00 +08:00
afc163
a7153e6e24
Fix mention style detail
2016-11-14 12:21:58 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
Meck
248f0d12ad
Fix typo
2016-11-02 15:04:42 +08:00
RaoHai
42d06e1f0e
fix getPopupDomNode
2016-10-31 15:58:15 +08:00
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