afc163
292a91a777
Add test cases for Mention
2018-05-22 23:29:09 +08:00
afc163
77301c378f
skip mention test when test dist file
2018-05-22 23:29:09 +08:00
afc163
22d2f9eb01
update snapshot
2018-05-22 23:29:09 +08:00
afc163
3078819535
jest mock generateRandomKey for ssr test
...
facebook/draft-js#702
2018-05-22 23:29:09 +08:00
afc163
6471e5d4f0
write snapshot files
2018-05-22 23:29:09 +08:00
afc163
1e585135aa
Try test mention to see what the problem is
2018-05-22 23:29:09 +08:00
陆离
cc06f0f7a5
fix: focus editor ( #9548 )
2018-03-06 20:59:03 +08:00
Karthik K
f24e41806d
Minor punctuation correction ( #9472 )
2018-03-01 22:08:31 +08:00
Benjy Cui
44063967a1
fix: make Mention autosize height by default, close : #9068 ( #9307 )
2018-02-08 23:50:42 +08:00
Benjy Cui
2411bdb7b7
fix: placeholder of Mention should not be interactable, close : #9215 ( #9306 )
2018-02-08 22:39:43 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
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