-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: upgrade to emoji-datasource v5 with emoji [12.1](https://emojipedia.org/emoji-12.1/) BREAKING CHANGE: uses spans instead of buttons by default BREAKING CHANGE: messenger no longer available use facebook, they have merged. BREAKING CHANGE: emojione no longer available, removed on the upstream emoji datasource BREAKING CHANGE: frequently used no longer sort on click use `enableFrequentEmojiSort` to re-enable
- Loading branch information
Showing
19 changed files
with
17,893 additions
and
15,037 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"useTabs": false | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
export interface EmojiData { | ||
name: null | string; | ||
unified: string; | ||
non_qualified: null | string; | ||
docomo: null | string; | ||
au: null | string; | ||
softbank: null | string; | ||
google: null | string; | ||
image: string; | ||
sheet_x: number; | ||
sheet_y: number; | ||
short_name: string; | ||
short_names: string[]; | ||
text: null | string; | ||
texts: string[] | null; | ||
category: Category; | ||
sort_order: number; | ||
added_in: string; | ||
has_img_apple: boolean; | ||
has_img_google: boolean; | ||
has_img_twitter: boolean; | ||
has_img_facebook: boolean; | ||
skin_variations?: { [key: string]: SkinVariation }; | ||
obsoletes?: string; | ||
obsoleted_by?: string; | ||
} | ||
|
||
export enum Category { | ||
Activities = 'Activities', | ||
AnimalsNature = 'Animals & Nature', | ||
Flags = 'Flags', | ||
FoodDrink = 'Food & Drink', | ||
Objects = 'Objects', | ||
PeopleBody = 'People & Body', | ||
SkinTones = 'Skin Tones', | ||
SmileysEmotion = 'Smileys & Emotion', | ||
Symbols = 'Symbols', | ||
TravelPlaces = 'Travel & Places' | ||
} | ||
|
||
export interface SkinVariation { | ||
unified: string; | ||
non_qualified: null | string; | ||
image: string; | ||
sheet_x: number; | ||
sheet_y: number; | ||
added_in: string; | ||
has_img_apple: boolean; | ||
has_img_google: boolean; | ||
has_img_twitter: boolean; | ||
has_img_facebook: boolean; | ||
obsoletes?: string; | ||
obsoleted_by?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"moduleResolution": "node", | ||
"lib": ["es2018"], | ||
"target": "es2018", | ||
"module": "commonjs", | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
"noImplicitAny": false, | ||
"noUnusedLocals": true, | ||
"declaration": true, | ||
"sourceMap": true, | ||
"inlineSources": true, | ||
"outDir": "dist" | ||
}, | ||
"include": ["./emoji.ts", "./build-data.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.