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
afc163
d19453c4c3
fix lint
8 years ago
afc163
176b9f9083
fix typo
8 years ago
afc163
c28020708f
fix typo
8 years ago
afc163
f2d12306bd
improve demo es6 class code style
8 years ago
afc163
2da59c3679
fix mention demo
8 years ago
afc163
ce877707bd
rewrite LocaleProvider and Mention demos to es6 component, #4878
8 years ago
afc163
18e554ff46
fix lint
8 years ago
afc163
f037f12523
fix demo code language
8 years ago
陆离
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
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
陆离
e270fa87af
Mention in controlled mode suggestions bug fix ( #4718 )
* Mention in controlled mode suggestions bug fix
+ close #4716
8 years ago
caoyi
cebf3a4c9e
docs: fix Mention props API ( #4683 )
8 years ago
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
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
afc163
4654db312f
Fix some lesshint problems
8 years ago
偏右
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