Releases: signavio/react-mentions
Version 0.6.0
Fixes a bug when used with [email protected] (react/lib/LinkedValueUtils
is no longer available).
Breaking changes
Prop valueLink
is no longer supported
Version 0.5.1
Version 0.5.0
Radium is no longer a dependency, but react-mention will detect if it is installed and use it if available ( #97 )
onBlur
prop is called with a flag isSuggestionsDropdownShowing
as second argument, so that users can detect whether a blur has been triggered as a result of a click on a suggestion item ( #108 )
Version 0.4.4
When the suggestions list is styled to be scrollable and using keyboard navigation to select a suggestion, the focused item is automatically scrolled into the view.
Version 0.4.3
This release adds support of a appendSpaceOnAdd
prop for the Mention
component. ( #95 ) Thank you, @klacointe!
Version 0.4.2
Version 0.4.1
This release add an index
parameter to the renderSuggestions
callback.
Version 0.4.0
This version improves the style API.
Breaking changes
textarea
andinput
become one element calledinput
- The distinction between
textarea
and single lineinput
is now made using the modifiers&singleLine
and&multiLine
- The spinner is styled differently. Before all elements needed to be styled on the same nesting level as suggestions. Now the nesting is:
suggestions: {
loadingIndicator: {
spinner: {
element: {} // applies to all spinner elements,
element[1-5]: {} // applies to each spinner segment
}
}
}
Version 0.3.0
Bower Support Dropped
We will no longer provide a bundled build for bower. If you cannot use react-mentions via npm, you will have to stay on v0.2.
New Features
MentionsInput
can be fully styled using inline styles- Full suggestion entry is made available to the
renderSuggestion
function ( #73 )
Breaking API Changes
- CSS class names are no longer assigned by default, but can be set by the user
- Updated signature of the
Mention
'srenderSuggestion
function:
(suggestion, search, highlightedDisplay) => Element
Bugfixes
- Fixed React.findDOMNode deprecation warning ( #58 )