Skip to content

Releases: signavio/react-mentions

Version 0.6.0

17 Nov 13:32
Compare
Choose a tag to compare

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

17 Aug 08:50
Compare
Choose a tag to compare

Fixes text composition with Japanese IME ( #115, props to @jmblog )

Version 0.5.0

22 Jun 15:34
Compare
Choose a tag to compare

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

26 Apr 11:28
Compare
Choose a tag to compare

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

26 Apr 07:56
Compare
Choose a tag to compare

This release adds support of a appendSpaceOnAdd prop for the Mention component. ( #95 ) Thank you, @klacointe!

Version 0.4.2

31 Mar 09:40
Compare
Choose a tag to compare

In this release we fixed some issues react-mentions had with autocorrect features on different operating systems. ( #85, #68, #41, #30 )

Version 0.4.1

31 Mar 09:40
Compare
Choose a tag to compare

This release add an index parameter to the renderSuggestions callback.

Version 0.4.0

24 Mar 10:51
Compare
Choose a tag to compare

This version improves the style API.

Breaking changes

  • textarea and input become one element called input
  • The distinction between textarea and single line input 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

24 Feb 11:03
Compare
Choose a tag to compare

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's renderSuggestion function:
(suggestion, search, highlightedDisplay) => Element

Bugfixes

  • Fixed React.findDOMNode deprecation warning ( #58 )