emoji-toolkit
Advanced tools
Comparing version 5.0.5 to 5.5.0
{ | ||
"name": "emoji-toolkit", | ||
"version": "5.0.5", | ||
"version": "5.5.0", | ||
"main": [ | ||
@@ -5,0 +5,0 @@ "extras/css/joypixels.css", |
@@ -6,4 +6,4 @@ ### Installation | ||
``` | ||
<script src="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.0.5/lib/js/joypixels.min.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.0.5/extras/css/joypixels.min.css"/> | ||
<script src="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.5.0/lib/js/joypixels.min.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.5.0/extras/css/joypixels.min.css"/> | ||
``` | ||
@@ -10,0 +10,0 @@ |
@@ -9,3 +9,3 @@ { | ||
"text": "Hello world! π :smile:", | ||
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f604.png\\\"/>" | ||
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f604.png\\\"/>" | ||
}, | ||
@@ -15,3 +15,3 @@ { | ||
"text": ":alien: is π½ and μ is not :alien: or :alien: also :randomy: is not emoji", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> is <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> and μ is not <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> also :randomy: is not emoji" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> is <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> and μ is not <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> also :randomy: is not emoji" | ||
} | ||
@@ -86,3 +86,3 @@ ] | ||
"text": "Hello world! π :smile:", | ||
"expected": "Hello world! π <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f604.png\\\"/>" | ||
"expected": "Hello world! π <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f604.png\\\"/>" | ||
}, | ||
@@ -92,3 +92,3 @@ { | ||
"text": ":snail:'s are cool!", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f40c.png\\\"/>'s are cool!" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f40c.png\\\"/>'s are cool!" | ||
}, | ||
@@ -98,3 +98,3 @@ { | ||
"text": ":invalid:snail:", | ||
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f40c.png\\\"/>" | ||
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f40c.png\\\"/>" | ||
}, | ||
@@ -104,3 +104,3 @@ { | ||
"text": ":alien: is π½ and μ is not :alien: or :alien: also :randomy: is not emoji", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> is π½ and μ is not <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/> also :randomy: is not emoji" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> is π½ and μ is not <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/> also :randomy: is not emoji" | ||
}, | ||
@@ -110,3 +110,3 @@ { | ||
"text": ":dancer:\\n:dancer:", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f483.png\\\"/>\\n<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f483.png\\\"/>" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f483.png\\\"/>\\n<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f483.png\\\"/>" | ||
}, | ||
@@ -116,3 +116,3 @@ { | ||
"text": ":dancer::dancer::alien:", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f47d.png\\\"/>" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"π½\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f47d.png\\\"/>" | ||
} | ||
@@ -157,3 +157,3 @@ ] | ||
"text": "Hello world! π :smile:", | ||
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f604.png\\\"/>" | ||
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f604.png\\\"/>" | ||
}, | ||
@@ -163,3 +163,3 @@ { | ||
"text": ":invalid:snail:", | ||
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f40c.png\\\"/>" | ||
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f40c.png\\\"/>" | ||
}, | ||
@@ -169,3 +169,3 @@ { | ||
"text": "π", | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/unicode/64/1f40c.png\\\"/>" | ||
"expected": "<img class=\\\"joypixels\\\" alt=\\\"π\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/64/1f40c.png\\\"/>" | ||
} | ||
@@ -172,0 +172,0 @@ ] |
@@ -29,3 +29,3 @@ ## Unicode Conversion | ||
# character inside of IMG tag | ||
The <img class="joypixels" alt="π¦" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f984.png" /> was EmojiOne's official mascot. | ||
The <img class="joypixels" alt="π¦" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/32/1f984.png" /> was EmojiOne's official mascot. | ||
@@ -63,3 +63,3 @@ ``` | ||
# shortname inside of IMG tag | ||
The <img class="joypixels" alt=":unicorn:" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f984.png" /> is EmojiOne's official mascot. | ||
The <img class="joypixels" alt=":unicorn:" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.5/unicode/png/32/1f984.png" /> is EmojiOne's official mascot. | ||
@@ -93,3 +93,3 @@ ``` | ||
# smiley inside of an IMG tag (shouldn't convert anything inside of the tag) | ||
Smile <img class="joypixels" alt=":)" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f604.png" /> because it's going to be a good day. | ||
Smile <img class="joypixels" alt=":)" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/5.5/png/unicode/32/1f604.png" /> because it's going to be a good day. | ||
@@ -96,0 +96,0 @@ # typical username password fail (shouldn't convert the user:pass, but should convert the last :p) |
Package.describe({ | ||
name: 'joypixels:emoji-toolkit', | ||
summary: 'Meteor Package of the https://www.joypixels.com/ set.', | ||
version: '5.0.5', | ||
version: '5.5.0', | ||
git: 'https://github.com/joypixels/emoji-toolkit.git' | ||
@@ -6,0 +6,0 @@ }); |
{ | ||
"name": "emoji-toolkit", | ||
"version": "5.0.5", | ||
"version": "5.5.0", | ||
"description": "JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.", | ||
@@ -5,0 +5,0 @@ "author": "JoyPixels <support@joypixels.com> (https://www.joypixels.com)", |
@@ -26,3 +26,3 @@ # Migrating from joypixels/emojione to joypixels/emoji-toolkit | ||
**Emoji Assets** | ||
- the new asset repository is located at [https://www.github.com/joypixels/emoji-assets](https://www.github.com/joypixels/emoj-assets) | ||
- the new asset repository is located at [https://www.github.com/joypixels/emoji-assets](https://www.github.com/joypixels/emoji-assets) | ||
- sprite filenames have changed from `emojione-` to `joypixels-` | ||
@@ -33,3 +33,3 @@ - sprite css class names have changed from `emojione-` to `joypixels` | ||
#Upgrading to 5.0 brings additional data structure changes | ||
# Upgrading to 5.0 brings additional data structure changes | ||
The emoji.json file for 5.0 has several key changes from previous versions. | ||
@@ -47,2 +47,2 @@ | ||
* added `diversity_parent` code point attribute | ||
* added `gender_parent` code point attribute | ||
* added `gender_parent` code point attribute |
@@ -7,3 +7,3 @@ # JoyPixels Usage | ||
- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '5.0'). Not recommended for usage below 3.0.0. | ||
- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '5.5'). Not recommended for usage below 3.0.0. | ||
- `emojiSize` (str) **Default: `32`** - Used only to direct CDN path for non-sprite PNG usage. Available options are '32', '64', and '128'. | ||
@@ -10,0 +10,0 @@ - `imagePathPNG` (str) - Defaults to CDN (jsdelivr) path. Setting as alternate path overwrites `emojiSize` option. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5703942
40596