Skip to content

Releases: sodenn/lexical-beautiful-mentions

[email protected]

03 Sep 11:54
3e308c9
Compare
Choose a tag to compare

Patch Changes

  • ea87bf0: fix(): close menu when editor focus is lost

[email protected]

26 Aug 08:29
b46b83d
Compare
Choose a tag to compare

Patch Changes

  • 164beac: feat(): add support for custom mention nodes
  • a8da266: feat(): add option to enable/disable that the current mentions are displayed as suggestions
  • c473eab: feat(): add 'data' field to getMentions function
  • 1d2f712: fix(): allows inserting, deleting and renaming mentions when the editor was not previously focused

[email protected]

17 Aug 18:21
7ff75a8
Compare
Choose a tag to compare

Patch Changes

  • 2ff69af: fix(): do not close combobox when editor focus is lost

  • 2ff69af: feat(Combobox): allow to add additional combobox items

  • 2ff69af: feat(Combobox): control the combobox open state

  • 4ce0123: refactor(): remove open prop from Menu component; refactor(): called onComboboxFocusChange with a BeautifulMentionsComboboxItem instead of a string

    BREAKING

    • open prop has been removed from BeautifulMentionsMenuProps
    • onComboboxFocusChange now receives a BeautifulMentionsComboboxItem instead of a string

[email protected]

11 Aug 19:34
ea364d7
Compare
Choose a tag to compare

Patch Changes

  • 5345e5a: feat(): provide the value of the MenuItem/ComboboxItem as prop
  • 9874434: fix(): conditionally useEffect on the server and useLayoutEffect in the browser

[email protected]

02 Aug 16:24
71eac50
Compare
Choose a tag to compare

Patch Changes

  • 5760567: feat(): more reliable information about the state of the menu / combobox

    BREAKING:

    • Renamed openMentionsMenu to openMentionMenu
    • Removed the isMentionsMenuOpen and isTriggersMenuOpen functions from the useBeautifulMentions hook in favor of the new onMenuOpen, onMenuClose, onComboboxOpen, onComboboxClose and onComboboxItemSelect props of the BeautifulMentionsPlugin component. This leads to a more reliable information about the state of the menu / combobox, since it is no longer determined by DOM elements.
  • ae9dd61: feat(): improve mention selection for mobile usage

[email protected]

31 Jul 16:45
5069406
Compare
Choose a tag to compare

Patch Changes

  • c5f0035: fix(): allows undo of mentions
  • 4f37da5: feat(Combobox): improve active selection handling
  • ac5679c: feat(): allow comboboxAnchor prop to be nullable

[email protected]

29 Jul 12:14
9d1ed43
Compare
Choose a tag to compare

Patch Changes

  • 63c72e5: feat(): add additional metadata to mentions
  • f425ce5: fix(Combobox): keep trigger selection when backspace key is pressed
  • 54287e9: refactor(): add prefix to convertToMentionNodes function to indicate the Lexical scope. BREAKING: rename convertToMentionNodes to $convertToMentionNodes.
  • 839502c: refactor(): combobox positioning

[email protected]

23 Jul 11:21
3aa8817
Compare
Choose a tag to compare

Patch Changes

  • 7e1eb6d: feat(): add combobox as alternative to typeahead menu. BREAKING: the showTriggers prop has been removed as the combobox shows all available triggers by default.
  • 0f55446: feat(): allow mentions with spaces to enclose with custom-defined characters
  • 0f55446: feat(): allow to define custom punctuation when looking for mentions
  • 10f2c1e: fix(): trigger menu should not re-position when typing

[email protected]

16 Jul 12:58
a76fad0
Compare
Choose a tag to compare

Patch Changes

  • c6072bf: fix(): trigger menu should not open before or after other nodes

[email protected]

16 Jul 09:37
a470e10
Compare
Choose a tag to compare

Patch Changes

  • 401421d: fix(): focused mentions should not use the CSS classes defined in "container"