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

81 Commits

Author SHA1 Message Date
Nathan Downs
91e9e4b068 Generate sha384 for SRI; update script tags 2019-05-29 13:07:32 -07:00
Nathan Downs
c116c26cbc Reference uglify via yarn rather than reaching in to node_modules 2019-05-29 13:07:32 -07:00
Nathan Downs
cc12da6fff Refactor create-dist script to not mix sync and async 2019-05-29 13:07:31 -07:00
Nathan Downs
cb19c3f777 Regenerate previews as a part of generation 2019-05-29 13:07:31 -07:00
Nathan Downs
cd648edac5 Add SRI hash to the preview scripts 2019-05-29 13:07:31 -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
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
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
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
80c06f9481 Remove the hardcoded regex 2019-04-03 17:37:03 -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
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
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
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
4ce90d0c57 Don't use ES6 string templates in tests 2018-06-04 17:42:09 -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
808ed63dbd Replaced strokes with fills
We had missed a few emojis when we replaced all the strokes as filled
shapes.
2018-02-28 16:35:32 -08:00
Bryan Haggerty
8b6c9d853e Twemoji 2.5 update
Visual changes to the following emojis:
* Beer Mug
* Clinking Beer Mugs
* Jack-O-Lantern
* Eyes
* Clapping Hands
* Crown
* Glasses
* Heart With Arrow
* Man Gesturing OK
* Raising Hands
* Police Car Light
* Clinking Glasses
* Ballot Box With Check
* White Heavy Check Mark
* Heavy Check Mark
* Radio Button
* Index Pointing Up
* Eagle
* Microscope
* Crystal Ball
* Speaking Head
* Waving Hand
* Leaf Fluttering in Wind

Major optimizations to all assets to reduce file size and simplify SVG
structure.
2018-02-22 22:54:19 -08:00
Bryan Haggerty
2f786b03d0 Added visual details to some emojis and revised emojis for better alignment with other major emoji sets
We've updated a number of emojis to better align with other emoji
vendor representations, added more detail to some of our earliest
emojis, and cleaned up vector paths for more streamlined SVGs.

This change also moves the Twemoji version number to 2.4.

-- New --

Woman in business suit levitating
Woman in tuxedo

-- Modified --

Angry face with horns
Exploding head
Face with monocle
Face vomiting
Face with stuck-out tongue
Face with stuck-out tongue and winking eye
Face with stuck-out tongue and tightly-closed eyes
Face with rolling eyes
Grinning face with one large and one small eye
Shushing face
Grimacing face
Thinking face
Rolling on the floor laughing
Thumbs up/Thumbs down
Folded Hands
Person gesturing OK
Person with folded hands
Person bouncing ball
Man in Business Suit Levitating
Man in Tuxedo
Man singer
Woman singer
Man office worker
Woman office worker
Families
Brain
Nose
Horse
Pancakes
Birthday cake
Woman's boot
Crossed swords
Crane
Stadium
Tent
Chains
Comet
Sparkles
Rainbow
Roller Coaster
Ferris wheel
Carousel horse
Butterfly
Fountain
Horse racing
Mountain
Snow capped mountain
Mount Fuji
Volcano
Flag in hole
Iran flag
Mauritania flag
Nepal flag
Saudi Arabia flag
Swiss flag
Vatican flag
United Nations flag
2017-12-08 10:35:12 -08:00
Bryan Haggerty
b92cb3acb7 Updates README links and corrects version numbering
Updated the links for the Unicode specs to reflect their finalized
versions. Adjusts the versioning of the project to 2.X for larger
releases and 2.3.X for smaller fixes.
2017-10-30 13:53:32 -07:00
Andrea Giammarchi
2d8c1a7e72 fixed trailing \\uFE0F on DOM parsing 2017-08-08 10:14:48 +01:00
Andrea Giammarchi
72b5e44e09 moved base test 2017-08-08 09:34:51 +01:00
Andrea Giammarchi
7cd1c79328 updated minified version after 2.4 tag 2017-07-20 10:43:27 +02:00
David Eckel
2363dd8891 Add XHTML compatibility 2017-07-19 19:14:47 -07:00
Bryan Haggerty
55443d4b39 Unicode 10.0/Emoji 5.0 additions + modifications to a subset of existing emojis
Adds new emojis based on the finalized [Emoji 5.0
spec](http://unicode.org/reports/tr51/index.html). Modifications to
some existing emojis included as well, see change list below for
specifics.

This change also moves the Twemoji version number to 2.3.

### New

* Star-Struck
* Face With Raised Eyebrow
* Exploding Head
* Crazy Face
* Face With Symbols Over Mouth
* Face Vomiting
* Shushing Face
* Face With Hand Over Mouth
* Face With Monocle
* Child
* Adult
* Older Adult
* Woman With Headscarf
* Bearded Person
* Breast-Feeding
* Mage
* Woman Mage
* Man Mage
* Fairy
* Woman Fairy
* Man Fairy
* Vampire
* Woman Vampire
* Man Vampire
* Merperson
* Mermaid
* Merman
* Elf
* Woman Elf
* Man Elf
* Genie
* Woman Genie
* Man Genie
* Zombie
* Woman Zombie
* Man Zombie
* Person in Steamy Room
* Woman in Steamy Room
* Man in Steamy Room
* Person Climbing
* Woman Climbing
* Man Climbing
* Person in Lotus Position
* Woman in Lotus Position
* Man in Lotus Position
* Love-You Gesture
* Palms Up Together
* Brain
* Orange Heart
* Scarf
* Gloves
* Coat
* Socks
* Billed Cap
* Zebra
* Giraffe
* Hedgehog
* Sauropod
* T-Rex
* Cricket
* Coconut
* Broccoli
* Pretzel
* Cut of Meat
* Sandwich
* Bowl With Spoon
* Canned Food
* Dumpling
* Fortune Cookie
* Takeout Box
* Pie
* Cup With Straw
* Chopsticks
* Flying Saucer
* Sled
* Curling Stone
* Flag for England
* Flag for Scotland
* Flag for Wales

### Modified

* Index Pointing Up
* Person Facepalming
* Man in Business Suit Levitating
* Person Getting Massage
* Hamburger
* Ogre
* Full Moon With Face
* New Moon Face
* First Quarter Moon With Face
* Last Quarter Moon With Face
* Japanese "vacancy" button
2017-05-23 14:10:35 -07:00
Bryan Haggerty
f29ad659af Adjust hand emojis to be uniformly right handed and adjust menorah emoji
Emojis which are primarily representations of hands are all now right
handed to better align with other popular emoji sets.

The menorah emoji has been updated to include the proper number of
candles.
2016-12-29 16:03:14 -08:00
Wez Pyke
232b06355e Added @return to correct file 2016-12-20 20:56:03 +00:00
Bryan Haggerty
65f4a5da05 Removes skin tone modifiers for multi-person emojis
Unicode has approved deprecating support for skin tone modifiers on
emojis which contain more than one person. More can be read about this
change at http://www.unicode.org/L2/L2016/16332-remove-multi-emb.pdf
2016-11-15 15:23:01 -08:00
Bryan Haggerty
04377eae67 Updates Pouting Cat Face to be front facing, enlarges star in Vietnam flag
All cat face emojis are now front facing to better align with other
emoji set representations. Additionally, the star in the Vietnam flag
was increased in size to better match with the official flag.
2016-10-03 16:48:01 -07:00
Bryan Haggerty
6060723491 Gender equal emojis, new emojis for professions, and tweaks to existing emojis
Includes additions to address gender equality, expanded professions,
increased skin tone support, family representations, and minor
modifications to some existing emojis.

Many of the additions included are based on the [Emoji 4.0 draft
spec](http://unicode.org/reports/tr51/proposed.html) and are subject to
change prior to ratification.

This change also moves the Twemoji version number to 2.2.

### New

* Woman with turban
* Blonde woman
* Man getting face massage
* Man getting haircut
* Man frowning
* Man pouting
* Man gesturing not ok
* Man gesturing ok
* Man tipping hand
* Man raising hand
* Woman bowing deeply
* Man facepalming
* Man shrugging
* Man doing cartwheel
* Woman juggling
* Man juggling
* Woman walking
* Woman running
* Women wrestling
* Woman playing water polo
* Man playing handball
* Men with bunny ears
* Woman rowing boat
* Woman golfing
* Woman surfing
* Woman swimming
* Man with ball
* Woman weight lifting
* Woman biking
* Woman mountain biking
* Male health worker
* Female health worker
* Male judge
* Female judge
* Male pilot
* Female pilot
* Male farmer
* Female farmer
* Male cook
* Female cook
* Male student
* Female student
* Male singer
* Female singer
* Male artist
* Female artist
* Male teacher
* Female teacher
* Male factory worker
* Female factory worker
* Male technologist
* Female technologist
* Male office worker
* Female office worker
* Male mechanic
* Female mechanic
* Male scientist
* Female scientist
* Male astronaut
* Female astronaut
* Male firefighter
* Female firefighter
* Female police officer
* Female construction worker
* Female guard
* Female sleuth
* Family (man, boy)
* Family (man, boy, boy)
* Family (man, girl)
* Family (man, girl, boy)
* Family (man, girl, girl)
* Family (woman, boy)
* Family (woman, boy, boy)
* Family (woman, girl)
* Family (woman, girl, boy)
* Family (woman, girl, girl)
* UN Flag
* Female sign
* Male sign
* Staff of aesculapius

### Modified

* Man with turban
* Person with ball
* Family
* Man and woman holding hands
* Two men holding hands
* Two women holding hands
* Women with bunny ears
* Man in business suit levitating
* Sleeping accommodation
* Skier
* Snowboarder
* Flag of Réunion
* Grinning face with smiling eyes
* Roasted sweet potato
* Bird
* Man with gua pi mao
* Railway car
* Face with rolling eyes
* Astonished face
2016-09-20 10:29:59 -07:00
Bryan Haggerty
a7431e9f8f Corrects character sequence for pirate flag 2016-07-23 14:30:46 -07:00
Bryan Haggerty
cae041df48 Adds rainbow and pirate flag support
Unicode has provided guidance on how flags such as the rainbow flag can
be implemented using exiting Unicode characters.

http://www.unicode.org/L2/L2016/16183-rainbow-flag.pdf

This update adds rendering support for the rainbow and pirate flags as
well as visual updates to the ‘back’, ‘soon’, ‘top’, ‘end’, and ’on’
emojis.
2016-07-22 14:25:03 -07:00