yarn emoji-mart-vue-fast 6.0.0

latest releases: 15.0.5, 15.0.4, 15.0.3...
6 years ago
  • #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.

Don't miss a new emoji-mart-vue-fast release

NewReleases is sending notifications on new releases.