v-emoji-picker
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "v-emoji-picker", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "João Eudes Lima", |
# V-Emoji-Picker | ||
This simple package using Emojis Natives | ||
[](https://www.npmjs.com/package/v-emoji-picker) | ||
[](https://bundlephobia.com/result?p=v-emoji-picker@latest) | ||
[](https://www.npmjs.com/package/v-emoji-picker) | ||
[](https://vuejs.org/) | ||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjoaoeudes7%2FV-Emoji-Picker?ref=badge_shield) | ||
[](https://www.npmjs.com/package/v-emoji-picker) | ||
[](https://bundlephobia.com/result?p=v-emoji-picker@latest) | ||
[](https://www.npmjs.com/package/v-emoji-picker) | ||
[](https://vuejs.org/) | ||
[](https://www.codefactor.io/repository/github/joaoeudes7/v-emoji-picker) | ||
 | ||
## Table of contents | ||
--- | ||
## Contents | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Demo](#demo) | ||
- [Props](#props) | ||
- [Events](#events) | ||
- [Updates v2](#updates-version-2) | ||
- [Migrate v2](#migrate-to-version-2) | ||
- [Using SVG](#using-SVG) | ||
- [Structure emoji](#structure-emoji) | ||
---- | ||
@@ -25,3 +31,3 @@ # Installation | ||
<div id="app"> | ||
<VEmojiPicker :pack="emojisNatives" @select="selectEmoji" /> | ||
<VEmojiPicker @select="selectEmoji" /> | ||
</div> | ||
@@ -32,3 +38,2 @@ </template> | ||
import VEmojiPicker from 'v-emoji-picker'; | ||
import packEmoji from "v-emoji-picker/data/emojis.js"; | ||
@@ -40,5 +45,3 @@ export default { | ||
}, | ||
data: () => ({ | ||
emojisNatives: packEmoji | ||
}), | ||
data: () => ({}), | ||
methods: { | ||
@@ -93,3 +96,3 @@ selectEmoji(emoji) { | ||
# Using custom Emojis | ||
- Array of itens with Interface IEmoji | ||
Array of items with `Interface IEmoji` | ||
@@ -107,3 +110,3 @@ ```js | ||
# Using custom Categories | ||
- Array of itens with Interface ICategory | ||
Array of items with `Interface ICategory` | ||
@@ -119,2 +122,5 @@ ```js | ||
# Using SVG | ||
Doc coming soon... | ||
# Updates version 2 | ||
@@ -124,8 +130,12 @@ - Prop `customEmojis` | ||
- Prop `exceptCategories` | ||
- Folder /data removed | ||
- Interface Emoji updated | ||
- Support to Emojis SVG/Img/Natives (text) | ||
# Migrate to version 2 | ||
- Folder /data removed | ||
This was a one-time change to keep it clear and dynamic. | ||
- Prop `pack` removed (async auto import default emojis natives - text) | ||
- Prop `showCategory` changed to `showCategories` | ||
- Event content `event.emoji` changed to `emoji.data` | ||
@@ -132,0 +142,0 @@ # Structure Emoji |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
478898
140