Skip to content

Releases: serebrov/emoji-mart-vue

6.0.1

04 Sep 19:33
Compare
Choose a tag to compare
  • Fix [#55] non native sets only work with all json

6.0.0

25 Aug 11:43
Compare
Choose a tag to compare
  • #53 - do not include all.json by default, remove Emoji and Picker wrappers.

Breaking change, the usage before was like this:

import { Picker, Emoji } from 'emoji-mart-vue-fast'

...

<emoji .../>

<picker .../>

The usage now is this:

import data from '../data/all.json'
import { Picker, Emoji } from 'emoji-mart-vue-fast'
let emojiIndex = new EmojiIndex(data)

...

<emoji :data="emojiIndex" .../>

<picker :data="emojiIndex" .../>

So now the client code has to import the json file and EmojiIndex and specify the data parameter for components. A bit more work, but makes things explicit and the client code is free to use any data json file.