Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
6 years ago
Jake Richards
b4e0c48ed5
Strengthen Mention Component typings
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
afc163
fafd83cadc
Fix mention test case in react 15
7 years ago
afc163
7e96ae1a6a
add jest.runAllTimers
7 years ago
afc163
3c381c6dd1
fix test case skip
7 years ago
afc163
292a91a777
Add test cases for Mention
7 years ago
afc163
77301c378f
skip mention test when test dist file
7 years ago
afc163
22d2f9eb01
update snapshot
7 years ago
afc163
3078819535
jest mock generateRandomKey for ssr test
facebook/draft-js#702
7 years ago
afc163
6471e5d4f0
write snapshot files
7 years ago
afc163
1e585135aa
Try test mention to see what the problem is
7 years ago
陆离
cc06f0f7a5
fix: focus editor ( #9548 )
7 years ago
Karthik K
f24e41806d
Minor punctuation correction ( #9472 )
7 years ago
Benjy Cui
44063967a1
fix: make Mention autosize height by default, close : #9068 ( #9307 )
7 years ago
Benjy Cui
2411bdb7b7
fix: placeholder of Mention should not be interactable, close : #9215 ( #9306 )
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
Wei Zhu
d2dc88c470
Add focus() and blur() document
Close #3790
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
f14d57dc14
Fix implicit any error for Mention
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
ea926fecaf
also resolve conflicted file
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
偏右
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 👻
7 years ago
转二
60feaebd54
docs: Update 's document.
7 years ago
afc163
ccf507b603
update mention demos
7 years ago
转二
20dae8f33e
feat: Add option for component: 'mention'
7 years ago
Sanjay Kumar
1dc4e45bce
Bugfix: Handle defaultSearchChange when suggestions contain ‘Nav’ items ( #7701 )
7 years ago
偏右
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
7 years ago
afc163
483491d0d8
treak input style for text align
7 years ago
Benjy Cui
a4a26797ec
fix: mention should support `.focus`, close : #6135
8 years ago
afc163
9969a3b598
Improve doc
8 years ago
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
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
陆离
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
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
afc163
c6efc4db27
Adjust dropdown item padding, close #5088
8 years ago
afc163
cb1815cfdf
fix api doc
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
afc163
240a93cee2
Fix mention active style
8 years ago
Wei Zhu
aefdfb9458
docs: use new Form[layout] prop
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago