Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

v-emoji-picker

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-emoji-picker - npm Package Compare versions

Comparing version 2.1.9-alpha.7 to 2.1.9

import { PluginObject } from 'vue';
import _VEmojiPicker from './VEmojiPicker.vue';
import { defaultCategories } from './utils/categories';
import { defaultEmojis } from './utils/emojis';
import { categoriesDefault } from './utils/categories';
import { emojisDefault } from './utils/emojis';
declare const VEmojiPicker: PluginObject<_VEmojiPicker>;
export { VEmojiPicker, defaultCategories, defaultEmojis };
export { VEmojiPicker, categoriesDefault, emojisDefault };
export default _VEmojiPicker;
//# sourceMappingURL=index.d.ts.map
import { ICategory } from '../models/Category';
export declare const defaultCategories: ICategory[];
export declare const categoriesDefault: ICategory[];
//# sourceMappingURL=categories.d.ts.map
import { IEmoji } from '../models/Emoji';
export declare const defaultEmojis: IEmoji[];
export declare const emojisDefault: IEmoji[];
//# sourceMappingURL=emojis.d.ts.map
{
"name": "v-emoji-picker",
"version": "2.1.9-alpha.7",
"version": "2.1.9",
"author": {

@@ -5,0 +5,0 @@ "name": "João Eudes Lima",

@@ -91,3 +91,2 @@ # V-Emoji-Picker

@Prop({ default: () => [] as Emoji[] }) exceptEmojis!: IEmoji[];
@Prop({}) lang!: string;
@Prop({}) i18n!: Object;

@@ -134,3 +133,3 @@ }

# i18n
set in Prop `i18n` a object with structure of you custom categories:
Set in Prop `i18n` a object with structure of you custom translation:

@@ -158,12 +157,6 @@ ```html

or
or import from `locale/lang/${youLang}`
set the prop of you language (Available: pt-BR, en-UK)
Obs: Default language is en-UK
```html
<VEmojiPicker :lang="pt-BR" />
```
obs: Default language is en-UK, defined in `index.ts`
# Updates version 2

@@ -170,0 +163,0 @@ - Prop `customEmojis`

import { PluginObject } from 'vue';
import _VEmojiPicker from './VEmojiPicker.vue';
import { defaultCategories } from './utils/categories';
import { defaultEmojis } from './utils/emojis';
import { categoriesDefault } from './utils/categories';
import { emojisDefault } from './utils/emojis';

@@ -32,6 +32,6 @@ import locale from './locale';

VEmojiPicker,
defaultCategories,
defaultEmojis
categoriesDefault,
emojisDefault
};
export default _VEmojiPicker;

@@ -63,3 +63,3 @@ import { Category, ICategory } from '../models/Category';

export const defaultCategories: ICategory[] = [
export const categoriesDefault: ICategory[] = [
new Category("Frequently", icons["frequently"]),

@@ -66,0 +66,0 @@ new Category("Peoples", icons["peoples"]),

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet