1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-19 02:14:30 +00:00
Commit Graph

370 Commits

Author SHA1 Message Date
Noelle Leigh
d47248dd1d Added SRI to CDN link, bumped to 12.0.1 (#355)
From [MaxCDN Support](https://www.maxcdn.com/one/visual-glossary/subresource-integrity/):
> Subresource Integrity (SRI) is a security feature that instructs browsers to verify that resources fetched from third parties like CDNs have been delivered without any manipulation. SRI does this by comparing the hash values of the third-party-hosted resources to the values in the website’s HTML elements.

I used https://www.srihash.org/ to generate the SHA384 hash on https://twemoji.maxcdn.com/2/twemoji.min.js?12.0.1 on 2019-05-23 8:15 PM EST.
2019-05-28 16:26:05 -07:00
Martin Stücklschwaiger
09161204b9 Update esm.js (#354)
In aea4e3238d the other files were updated but esm.js seems to have been
forgotten.
2019-05-21 18:11:54 +02:00
Ryan P
3d94f95db9 Add “https:” to CDN link (#352)
Replace protocol-relative URL with explicit https://
2019-05-06 14:36:23 -07:00
Bryan Haggerty
6f3545b964 Twemoji 12.0.1 update
Adds the previously missing hair component assets.

1F9B0 Red hair
1F9B1 Curly hair
1F9B2 Bald
1F9B3 White hair
2019-04-15 16:17:06 -07:00
Bryan Haggerty
aff2108435 Twemoji 12.0 update
Adds support for the new emojis included in Unicode 12.0/Emoji 12.0.

Additions to Twemoji with this release include:

* Yawning Face
* Brown Heart
* White Heart
* Pinching Hand
* Mechanical Arm
* Mechanical Leg
* Ear With Hearing Aid
* Deaf Person
* Deaf Man
* Deaf Woman
* Person Standing
* Man Standing
* Woman Standing
* Person Kneeling
* Man Kneeling
* Woman Kneeling
* Man With Probing Cane
* Woman With Probing Cane
* Man in Motorized Wheelchair
* Woman in Motorized Wheelchair
* Man in Manual Wheelchair
* Woman in Manual Wheelchair
* People Holding Hands (skin tone combinations)
* Women Holding Hands (skin tone combinations)
* Woman and Man Holding Hands (skin tone combinations)
* Men Holding Hands (skin tone combinations)
* Orangutan
* Guide Dog
* Service Dog
* Sloth
* Otter
* Skunk
* Flamingo
* Garlic
* Onion
* Waffle
* Falafel
* Butter
* Oyster
* Beverage Box
* Maté
* Ice Cube
* Hindu Temple
* Manual Wheelchair
* Motorized Wheelchair
* Auto Rickshaw
* Parachute
* Ringed Planet
* Diving Mask
* Yo-Yo
* Kite
* Safety Vest
* Sari
* One-Piece Swimsuit
* Briefs
* Shorts
* Ballet Shoes
* Banjo
* Diya Lamp
* Axe
* Probing Cane
* Drop of Blood
* Adhesive Bandage
* Stethoscope
* Chair
* Razor
* Orange Circle
* Yellow Circle
* Green Circle
* Purple Circle
* Brown Circle
* Red Square
* Orange Square
* Yellow Square
* Green Square
* Blue Square
* Purple Square
* Brown Square

Plus an additional tweak to the guitar to make it actually a guitar and not a bass guitar.
2019-04-04 15:42:48 -07:00
Nathan Downs
2a5a9f927a Updated preview pages 2019-04-04 14:19:57 -07:00
Nathan Downs
6bdc575e8b Correct preview generation script to parse strings via twemoji-parser 2019-04-04 14:19:49 -07:00
Nathan Downs
77a1b7b8ef Correct docs on how to clone and install dependencies 2019-04-03 17:58:45 -07:00
Nathan Downs
6f4fd350d7 Remove a large swath of unmaintained emoji regex generation code 2019-04-03 17:53:39 -07:00
Nathan Downs
0e43130c2d Correct a reference to the old generator script 2019-04-03 17:43:06 -07:00
Nathan Downs
3ff0c27ea4 Remove a few of the old generation scripts to avoid confusion 2019-04-03 17:41:25 -07:00
Nathan Downs
aea4e3238d Check in updated generate code 2019-04-03 17:39:40 -07:00
Nathan Downs
f953ea2406 Use the regex from twemoji-parser in our generated code 2019-04-03 17:39:04 -07:00
Nathan Downs
fa2e812985 Add twemoji-parser as a dependency 2019-04-03 17:38:15 -07:00
Nathan Downs
80c06f9481 Remove the hardcoded regex 2019-04-03 17:37:03 -07:00
Nathan Downs
b6de5876fa Merge 2019-04-03 17:17:51 -07:00
Chris Aniszczyk
cdf2432b8d Initial commit 2019-04-03 17:04:58 -07:00
Nathan Downs
77f1d27ae8 Make travis install fail if yarn lock needs updating 2019-04-03 16:27:17 -07:00
Nathan Downs
af5f75d541 Add yarn.lock 2019-04-03 16:26:44 -07:00
Nathan Downs
15d31a9198 Have travis use yarn 2019-04-03 16:26:10 -07:00
Nathan Downs
ca5377799e Bump version to 11.4 2019-04-03 16:25:33 -07:00
Bryan Haggerty
7914d152d6 Twemoji 11.4 update
Updates the following emojis: Guitar, Violin, and Smiling Cat Face With Heart-Eyes.

This will be the last release in the 11.x series as we prep for Twemoji 12.0.
2019-03-28 22:26:44 -07:00
Reece Dunham
67af3ab5db Remove deprecated CI option (#336) 2019-03-06 12:02:57 -08:00
Mark Seuffert
021697602e Updated link to Yellow CMS extension repository (#335) 2019-03-04 14:06:37 -08:00
NilLlisterri
0cf62f75b2 Minor documentation spelling mistake (#331) 2019-02-11 11:39:21 -08:00
Bryan Haggerty
c7998ea091 Twemoji 11.3 update
Updates a variety of emoji designs, most notably emojis featuring people in activities. Additional detail has been added to give elements such as hands and feet more definition. Cat and cat faces, as well as other animals have been updated. The full list of updated emojis included:

* Grinning Cat Face
* Grinning Cat Face With Smiling Eyes
* Cat Face With Tears of Joy
* Smiling Cat Face With Heart-Eyes
* Cat Face With Wry Smile
* Kissing Cat Face
* Weary Cat Face
* Crying Cat Face
* Pouting Cat Face
* Waving Hand
* OK Hand
* Victory Hand
* Crossed Fingers
* Sign of the Horns
* Index Pointing Up
* Raised Fist
* Man in Tuxedo
* Merperson
* Merman
* Mermaid
* Person Walking
* Man Walking
* Woman Walking
* Person Running
* Man Running
* Woman Running
* Woman Dancing
* Man Dancing
* Man in Suit Levitating
* People With Bunny Ears
* Men With Bunny Ears
* Women With Bunny Ears
* Person in Steamy Room
* Man in Steamy Room
* Woman in Steamy Room
* Skier
* Snowboarder
* Person Surfing
* Man Surfing
* Woman Surfing
* Person Rowing Boat
* Man Rowing Boat
* Woman Rowing Boat
* Person Bouncing Ball
* Man Bouncing Ball
* Woman Bouncing Ball
* Person Lifting Weights
* Man Lifting Weights
* Woman Lifting Weights
* Person Cartwheeling
* Man Cartwheeling
* Woman Cartwheeling
* Person Playing Handball
* Man Playing Handball
* Woman Playing Handball
* Person in Lotus Position
* Man in Lotus Position
* Woman in Lotus Position
* Two Women Holding Hands
* Man and Woman Holding Hands
* Two Men Holding Hands
* Dog Face
* Dog
* Wolf Face
* Cat Face
* Cat
* Unicorn Face
* Giraffe
* Reminder Ribbon
* Military Medal
* Sports Medal
* 1st Place Medal
* 2nd Place Medal
* 3rd Place Medal
* Control Knobs
* Flag: Croatia
* Woman in Tuxedo
2019-01-29 13:12:01 -08:00
Bryan Haggerty
27fe654b2b Twemoji 11.2 update
We've adjusted many of the deep black colors used across the set to allow for better contrast when emojis are shown on dark backgrounds (e.g., in a night mode or dark theme color palette).
2018-09-24 10:40:19 -07:00
Bryan Haggerty
44dea3c25f Twemoj 11.1 update
This update includes adjustments to the following emoji artwork:

* Flag of China
* Foggy
* Waxing crescent moon symbol
* First quarter moon symbol
* Waxing gibbous moon symbol
* Full moon symbol
* Waning gibbous moon symbol
* Last quarter moon symbol
* Waning crescent moon symbol
* Crescent moon
* First quarter moon with face
* Last quarter moon with face
* Full moon with face
* Fog
* Moon viewing ceremony
* Dolphin
* Cat face
* Spouting whale
* Bust in silhouette
* Busts in silhouette
* Couple with heart (man, man)
* Kiss (man, man)
* Couple with heart
* Couple with heart (woman, woman)
* Kiss
* Kiss (woman, woman)
* Kiss mark
* Love letter
* Wedding
* Beating heart
* Broken heart
* Two hearts
* Sparkling heart
* Growing heart
* Heart with arrow
* Heart with ribbon
* Revolving hearts
* Heart decoration
* Raised hand with fingers splayed
* Speaking head in silhouette
* Smiling face with heart-shaped eyes
* Face throwing a kiss
* Disappointed face
* Smiling cat face with heart-shaped eyes
* Woman gesturing not ok
* Man gesturing not ok
* Robot face
* Raised back of hand
* Prince
* Smiling face with 3 hearts
* Raccoon
* Lobster
* Petri dish
* Heart suit
* Diamond suit
* Raised hand
* Heavy heart exclamation mark ornament
* Heavy red heart
2018-08-10 13:56:57 -07:00
Andrea Giammarchi
2e02b04e51 updated phantomjs 2018-07-19 09:24:25 +02:00
Nathan Downs
994b03aff8 Bump Node to version 8 in Travis 2018-07-18 16:16:55 -07:00
Andrea Giammarchi
3af0359450 added other fields for bundlers 2018-07-18 11:40:12 +02:00
Andrea Giammarchi
1acf40da80 Simplified ESM import.
The issue #303 was opened because twemoji library cannot be
imported through modern browsers as ECMAScript module.

This commit adds the simplest way to make any generic namespace
exported as default (esm.sh) and the raw copy of the minified library
exported as default `twemoji` module.
2018-07-17 11:37:08 +02:00
Nathan Downs
5ce900d0fc Bump version to 11.0.1 2018-07-10 11:37:56 -07:00
Nathan Downs
c9a665abb2 Add parse handling for stray/unnecessary VS16s 2018-07-10 11:29:36 -07:00
Nathan Downs
1bbd06079e Refactor helper functions out into scripts/utils.js 2018-06-27 11:28:43 -07:00
Nathan Downs
1827097fb7 Point a couple of references to utils/ to scripts/ 2018-06-27 11:01:42 -07:00
Nathan Downs
fc458b467c Rename 2/utils to 2/scripts 2018-06-27 10:57:35 -07:00
Nathan Downs
c0b9d0f803 Have the preview script add VS16s to any assets that allow it. This fixes the preview of text-default emoji like the pawn and trademark symbol 2018-06-27 10:55:27 -07:00
Nathan Downs
bc6a2c6a87 Refactor regex file to be reusable in the preview script 2018-06-27 10:52:57 -07:00
Bryan Haggerty
0dd7c46f41 Twemoj 11.0 update
Added support for new emojis included in Unicode 11.0/Emoji 11.0. We've also changed the major version numbering of the Twemoji project to align with Unicode's versioning to better communicate the level of Unicode support included in the Twemoji library.

Additions to Twemoji with this release include:
* Smiling Face With 3 Hearts
* Hot Face
* Cold Face
* Partying Face
* Woozy Face
* Pleading Face
* Superhero
* Supervillain
* Leg
* Foot
* Bone
* Tooth
* Goggles
* Lab Coat
* Hiking Boot
* Flat Shoe
* Raccoon
* Llama
* Hippopotamus
* Kangaroo
* Badger
* Swan
* Peacock
* Parrot
* Lobster
* Mosquito
* Microbe
* Mango
* Leafy Green
* Bagel
* Salt
* Moon Cake
* Cupcake
* Compass
* Brick
* Skateboard
* Luggage
* Firecracker
* Red Gift Envelope
* Softball
* Flying Disc
* Lacrosse
* Nazar Amulet
* Jigsaw
* Teddy Bear
* Abacus
* Receipt
* Toolbox
* Magnet
* Test Tube
* Petri Dish
* DNA
* Fire Extinguisher
* Lotion Bottle
* Thread
* Yarn
* Safety Pin
* Broom
* Basket
* Roll of Toilet Paper
* Soap
* Sponge
* Chess pawn
* Infinity
2018-06-05 14:00:34 -07:00
Nathan Downs
bb78af38d8 Change the terminology from blocks/tests to tests/assertions 2018-06-04 17:44:42 -07:00
Nathan Downs
4ce90d0c57 Don't use ES6 string templates in tests 2018-06-04 17:42:09 -07:00
Nathan Downs
0c5cd1a1c5 Give better error messages if there's a syntax error that prevents tests from running 2018-06-04 17:38:30 -07:00
Nathan Downs
fa3371d0a0 TM, R & C should render as text by default 2018-06-04 16:51:23 -07:00
Nathan Downs
81e67331c4 Remove trailing whitespace 2018-06-04 16:49:37 -07:00
Nathan Downs
2d61310f86 Generate twemoji JS files 2018-06-04 14:59:12 -07:00
Nathan Downs
c6611fd74c Use the generated emoji regex from Twitter internal 2018-06-04 14:58:46 -07:00
Bryan Haggerty
57423ac791 Twemoji 2.7 update
Visual changes to the following emojis:
* Monkey Face
* See-No-Evil Monkey
* Speak-No-Evil Monkey
* Hear-No-Evil Monkey
* Umbrella
* Closed Umbrella
* Umbrella With Rain Drops
* Beach With Umbrella
* Video Game
* Tent
* Camping
* House
* Houses
* House With Garden
* Derelict House
* Desert
* Desert Island
* Palm Tree
* Door
* Shrimp
* Butterfly
* Cucumber
* Man’s Shoe
* Running Shoe
* Chart Increasing
* Chart Decreasing
* Bar Chart
* Smiling Face With Halo
* Face Savoring Food
* Face Blowing a Kiss
* Sleeping Face
* Face With Thermometer
2018-05-17 16:15:56 -07:00
Bryan Haggerty
7c1d3e953d Twemoji 2.6 update
Visual changes to the following emojis:
* Eyes
* Angry Face With Horns
* Smiling Face With Horns
* Magnifying Glass Tilted Left
* Magnifying Glass Tilted Right
* Kitchen Knife
* Pistol
* Crystal Ball
* Coat
* Alembic
2018-04-11 16:14:46 -07:00
Bryan Haggerty
5d9e3dcfae Updating package version to 2.5.1 2018-02-28 16:37:49 -08:00