1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-06-15 03:35:16 +00:00
Commit Graph

93 Commits

Author SHA1 Message Date
Nathan Downs
b7084792d6 Update generated docs for v12.0.4 2019-05-29 17:14:01 -07:00
Nathan Downs
7471bdde37 Regenerate previews 2019-05-29 17:09:18 -07:00
Nathan Downs
e789942c00 Revert adding SRI hashes to our recommended script tags - the way we handle resources via MaxCDN cache would mean we'd break old script tags when we publish (and the local cached file is evicted) 2019-05-29 17:08:37 -07:00
Nathan Downs
523e8f703c Remove dead code 2019-05-29 16:50:28 -07:00
Nathan Downs
11966415cc Updated script references 2019-05-29 16:50:10 -07:00
Nathan Downs
c20860ff5a Regenerate previews based on current version 2019-05-29 16:41:02 -07:00
Nathan Downs
36a6083dcc Write the current version into the script tags when generating 2019-05-29 16:40:31 -07:00
Nathan Downs
a46d6f11d4 Point package module at twemoji.esm.js; remove old file 2019-05-29 13:45:23 -07:00
Nathan Downs
68306e0278 Also generate twemoji.esm.js 2019-05-29 13:43:48 -07:00
Nathan Downs
0385242be4 Stop running and remove the old tests 2019-05-29 13:27:56 -07:00
Nathan Downs
1682323089 Move testrunner.js into 2/test/ 2019-05-29 13:25:42 -07:00
Nathan Downs
e4376f9574 Regenerate built assets 2019-05-29 13:11:07 -07:00
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