Skip to content

Releases: sodenn/lexical-beautiful-mentions

lexical-beautiful-mentions@0.1.21

16 Nov 20:43
36f6d80
Compare
Choose a tag to compare

Patch Changes

  • f60adca: fix(createBeautifulMentionNode): prevent re-creating the BeautifulMentionNode class on every call

lexical-beautiful-mentions@0.1.20

12 Nov 11:17
f303efc
Compare
Choose a tag to compare

Patch Changes

  • 662e895: feat(): add null type to BeautifulMentionsItem data fields

lexical-beautiful-mentions@0.1.19

04 Nov 14:05
34ed34b
Compare
Choose a tag to compare

Patch Changes

  • 215e1ed: feat(Menu): add callback fired when the user selects a menu item
  • 7391fb0: fix(Menu): remove typeahead element from DOM after menu is closed

lexical-beautiful-mentions@0.1.18

22 Oct 14:58
3525342
Compare
Choose a tag to compare

Patch Changes

  • 50d0ae0: feat(BeautifulMentionComponentProps): data prop with generic type
  • 7e14758: feat(): drop check for slash

lexical-beautiful-mentions@0.1.17

18 Sep 16:48
db0b792
Compare
Choose a tag to compare

Patch Changes

  • 31c36f2: fix(): adjust query value after selecting an option (#177) [thanks, matusca96]
  • 9bc9674: docs(): remove animation from Menu component

lexical-beautiful-mentions@0.1.16

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

Patch Changes

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

lexical-beautiful-mentions@0.1.15

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

lexical-beautiful-mentions@0.1.14

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

lexical-beautiful-mentions@0.1.13

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

lexical-beautiful-mentions@0.1.12

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