Skip to content

Tags: LabCo/react-mentions

Tags

v3.3.1

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: remove carriage returns from pasted strings (signavio#367)

v3.3.0

feat: Add the possibility to mention users with accents without havin…

…g to search with the accents (signavio#359)

* Create service to get the subtring index with or without ignoring the accents

* Add ignoreAccents prop to the Mention input

* Use ignoreAccents props to have the possibility to get the substring index ignoring the accents

* Add an example ignoring the accents

v3.2.0

feat: Add optional bottom guard for rendering suggestion list (signav…

…io#339)

* adds guard for mentions suggestions list clipped by bottom of window

* add guard for suggestionlist without portals

* Add prop so that the rendering above is opt in

* Add example for bottom guard

v3.1.1

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Support experimental copy & paste in IE 11 (signavio#349)

* signavio#349 Ignore cut, copy and paste events that do not support clipboardData

* signavio#349 Added hint about missing support for IE to example

v3.1.0

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat: add custom copy/paste behaviour (signavio#333)

* add custom copy/paste behaviour

* save mentions when cutting

* add custom paste behaviour

* add EXPERIMENTAL_cutCopyPaste flag

* added example

* restrict special copy paste to mentions components

* update enzyme; adjust specs

* remove code duplication; address PR comments

* add plain text field to example

* do not leak experimental flag onto DOM

* add first specs for copy behaviour

* extended specs for cut and copy

* added specs for paste behaviour

v3.0.2

fix: loading indicator's children could not be styled (signavio#328)

v3.0.1

fix: correct license on demo page

v3.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Support multiple markup patterns (signavio#308)

BREAKING CHANGE: Moved markup, displayTransform, and regex props from MentionsInput to Mention component

BREAKING CHANGE: The __type__ placeholder is no longer supported in the markup pattern. Also, the Mention component's type prop is no longer required.

* added emojis example

* move tests next to src files

* support with multiple markup patterns

* split all utils function into own files while adjusting their APIs

* adjusted examples to new API

* upgrade substyle to fix react warnings

* don't use any experimental syntax

* update README

* use id as display fallback

* move textIteratee to the end of the parameter list, make optional

* improved signature of applyChangeToValue

v2.4.2

fix: Prevent crash from recursive calls to setState. (signavio#306)

In some instances setState calls updateSuggestionsPosition which calls
setState which calls updateSuggestionsPosition... until it crashes.

v2.4.1

fix: Element undefined in SSR (signavio#287)