diff --git a/app/assets/javascripts/discourse/lib/emoji/groups.js.es6 b/app/assets/javascripts/discourse/lib/emoji/groups.js.es6 index fc165abfad0..6c130e6fa7d 100644 --- a/app/assets/javascripts/discourse/lib/emoji/groups.js.es6 +++ b/app/assets/javascripts/discourse/lib/emoji/groups.js.es6 @@ -7,7 +7,6 @@ const groups = [ "fullname": "People", "tabicon": "grinning", "icons": [ - "slightly_smiling_face", "grinning", "grin", "joy", @@ -16,258 +15,246 @@ const groups = [ "smile", "sweat_smile", "laughing", - "innocent", - "smiling_imp", - "imp", "wink", "blush", - "relaxed", "yum", - "relieved", - "heart_eyes", "sunglasses", - "smirk", + "heart_eyes", + "kissing_heart", + "kissing", + "kissing_smiling_eyes", + "kissing_closed_eyes", + "relaxed", + "slightly_smiling_face", + "hugs", + "thinking", "neutral_face", "expressionless", + "no_mouth", + "roll_eyes", + "smirk", + "persevere", + "disappointed_relieved", + "open_mouth", + "zipper_mouth_face", + "hushed", + "sleepy", + "tired_face", + "sleeping", + "relieved", + "stuck_out_tongue", + "stuck_out_tongue_winking_eye", + "stuck_out_tongue_closed_eyes", + "drooling_face", "unamused", "sweat", "pensive", "confused", + "upside_down_face", + "money_mouth_face", + "astonished", + "frowning_face", + "slightly_frowning_face", "confounded", - "kissing", - "kissing_heart", - "kissing_smiling_eyes", - "kissing_closed_eyes", - "stuck_out_tongue", - "stuck_out_tongue_winking_eye", - "stuck_out_tongue_closed_eyes", "disappointed", "worried", - "angry", - "rage", - "cry", - "persevere", "triumph", - "disappointed_relieved", + "cry", + "sob", "frowning", "anguished", "fearful", "weary", - "sleepy", - "tired_face", "grimacing", - "sob", - "open_mouth", - "hushed", "cold_sweat", + "scream", + "flushed", + "dizzy_face", + "rage", + "angry", + "mask", + "face_with_thermometer", + "face_with_head_bandage", "nauseated_face", "sneezing_face", - "scream", - "astonished", - "flushed", - "sleeping", - "dizzy_face", - "no_mouth", - "mask", + "innocent", + "cowboy_hat_face", + "clown_face", + "lying_face", + "nerd_face", + "smiling_imp", + "imp", + "japanese_ogre", + "japanese_goblin", + "skull", + "skull_and_crossbones", + "ghost", + "alien", + "space_invader", + "robot", + "poop", + "smiley_cat", "smile_cat", "joy_cat", - "smiley_cat", "heart_eyes_cat", "smirk_cat", "kissing_cat", - "pouting_cat", - "crying_cat_face", "scream_cat", - "footprints", - "bust_in_silhouette", - "busts_in_silhouette", + "crying_cat_face", + "pouting_cat", + "see_no_evil", + "hear_no_evil", + "speak_no_evil", "baby", "boy", "girl", "man", "woman", - "couple", - "two_men_holding_hands", - "two_women_holding_hands", - "dancing_women", - "dancing_men", - "man_dancing", - "bride_with_veil", - "blonde_woman", - "blonde_man", - "man_with_gua_pi_mao", - "woman_with_turban", - "man_with_turban", - "older_woman", "older_man", - "policewoman", - "policeman", - "female_detective", - "male_detective", - "woman_farmer", - "man_farmer", - "woman_cook", - "man_cook", - "woman_student", - "man_student", - "woman_singer", - "man_singer", - "woman_teacher", - "man_teacher", - "woman_factory_worker", - "man_factory_worker", - "woman_health_worker", + "older_woman", "man_health_worker", - "woman_pilot", - "man_pilot", - "woman_judge", + "woman_health_worker", + "man_student", + "woman_student", + "man_teacher", + "woman_teacher", "man_judge", - "woman_technologist", - "man_technologist", - "woman_office_worker", - "man_office_worker", - "woman_mechanic", + "woman_judge", + "man_farmer", + "woman_farmer", + "man_cook", + "woman_cook", "man_mechanic", - "woman_scientist", + "woman_mechanic", + "man_factory_worker", + "woman_factory_worker", + "man_office_worker", + "woman_office_worker", "man_scientist", - "woman_artist", + "woman_scientist", + "man_technologist", + "woman_technologist", + "man_singer", + "woman_singer", "man_artist", - "woman_firefighter", - "man_firefighter", - "woman_astronaut", + "woman_artist", + "man_pilot", + "woman_pilot", "man_astronaut", - "construction_worker_woman", - "construction_worker_man", - "princess", - "prince", - "guardswoman", + "woman_astronaut", + "man_firefighter", + "woman_firefighter", + "policeman", + "policewoman", + "male_detective", + "female_detective", "guardsman", - "clown_face", - "cowboy_hat_face", + "guardswoman", + "construction_worker_man", + "construction_worker_woman", + "prince", + "princess", + "man_with_turban", + "woman_with_turban", + "man_with_gua_pi_mao", + "blonde_man", + "blonde_woman", + "man_in_tuxedo", + "bride_with_veil", + "pregnant_woman", "angel", "santa", "mrs_claus", - "ghost", - "japanese_ogre", - "japanese_goblin", - "hankey", - "skull", - "alien", - "space_invader", - "bowing_woman", - "bowing_man", - "woman_facepalming", - "man_facepalming", - "woman_shrugging", - "man_shrugging", - "tipping_hand_woman", - "tipping_hand_man", + "frowning_woman", + "frowning_man", + "pouting_woman", + "pouting_man", "no_good_woman", "no_good_man", "ok_woman", "ok_man", + "tipping_hand_woman", + "tipping_hand_man", "raising_hand_woman", "raising_hand_man", - "pouting_woman", - "pouting_man", - "frowning_woman", - "frowning_man", - "massage_woman", - "massage_man", - "haircut_woman", - "haircut_man", - "couple_with_heart_woman_woman", + "bowing_man", + "bowing_woman", + "man_facepalming", + "woman_facepalming", + "man_shrugging", + "woman_shrugging", + "couple", + "two_men_holding_hands", + "two_women_holding_hands", + "couplekiss_man_woman", + "couplekiss_man_man", + "couplekiss_woman_woman", "couple_with_heart_woman_man", "couple_with_heart_man_man", - "clap", - "ear", - "eyes", - "nose", - "lips", - "kiss", - "tongue", - "nail_care", - "wave", - "thumbsup", - "thumbsdown", - "point_up", - "point_up_2", - "point_down", - "point_left", - "point_right", - "ok_hand", - "handshake", - "v", - "crossed_fingers", - "call_me_hand", - "fist", - "fist_left", - "fist_right", - "raised_hand", - "raised_back_of_hand", - "raised_hands", - "muscle", - "open_hands", - "pray", - "right_anger_bubble", - "eye", - "frowning_face", - "raised_hand_with_fingers_splayed", - "face_with_head_bandage", - "hugs", - "fu", - "money_mouth_face", - "nerd_face", - "drooling_face", - "poop", - "facepunch", - "robot", - "roll_eyes", - "skull_and_crossbones", - "slightly_frowning_face", - "speaking_head", - "spy", - "thinking", - "upside_down_face", - "lying_face", - "funeral_urn", - "vulcan_salute", - "metal", - "wind_face", - "writing_hand", - "zipper_mouth_face", - "male_couple_with_heart", - "couplekiss_man_woman", - "couplekiss_woman_woman", - "couplekiss_man_man", - "family_man_woman_girl", + "couple_with_heart_woman_woman", "family_man_woman_boy", + "family_man_woman_girl", "family_man_woman_girl_boy", - "family_man_woman_girl_girl", "family_man_woman_boy_boy", - "family_woman_woman_girl", - "family_woman_woman_boy", - "family_woman_woman_girl_boy", - "family_woman_woman_girl_girl", - "family_woman_woman_boy_boy", - "family_man_man_girl", + "family_man_woman_girl_girl", "family_man_man_boy", + "family_man_man_girl", "family_man_man_girl_boy", - "family_man_man_girl_girl", "family_man_man_boy_boy", - "family_woman_girl", - "family_woman_boy", - "family_woman_girl_boy", - "family_woman_girl_girl", - "family_woman_boy_boy", - "family_man_girl", + "family_man_man_girl_girl", + "family_woman_woman_boy", + "family_woman_woman_girl", + "family_woman_woman_girl_boy", + "family_woman_woman_boy_boy", + "family_woman_woman_girl_girl", "family_man_boy", + "family_man_boy_boy", + "family_man_girl", "family_man_girl_boy", "family_man_girl_girl", - "family_man_boy_boy", + "family_woman_boy", + "family_woman_boy_boy", + "family_woman_girl", + "family_woman_girl_boy", + "family_woman_girl_girl", "selfie", - "man_in_tuxedo", - "pregnant_woman" + "muscle", + "point_left", + "point_right", + "point_up", + "point_up_2", + "fu", + "point_down", + "v", + "crossed_fingers", + "vulcan_salute", + "metal", + "call_me_hand", + "raised_hand_with_fingers_splayed", + "raised_hand", + "ok_hand", + "thumbsup", + "thumbsdown", + "fist", + "facepunch", + "fist_left", + "fist_right", + "raised_back_of_hand", + "wave", + "writing_hand", + "clap", + "open_hands", + "raised_hands", + "pray", + "handshake", + "nail_care", + "ear", + "nose", + "footprints", + "eyes", + "eye", + "tongue", + "lips" ] }, { @@ -275,167 +262,158 @@ const groups = [ "fullname": "Nature", "tabicon": "evergreen_tree", "icons": [ + "monkey_face", + "monkey", + "gorilla", + "dog", + "dog2", + "poodle", + "wolf", + "fox_face", + "cat", + "cat2", + "lion", + "tiger", + "tiger2", + "leopard", + "horse", + "racehorse", + "unicorn", + "deer", + "cow", + "ox", + "water_buffalo", + "cow2", + "pig", + "pig2", + "boar", + "pig_nose", + "ram", + "sheep", + "goat", + "dromedary_camel", + "camel", + "elephant", + "rhinoceros", + "mouse", + "mouse2", + "rat", + "hamster", + "rabbit", + "rabbit2", + "chipmunk", + "bat", + "bear", + "koala", + "panda_face", + "paw_prints", + "turkey", + "chicken", + "rooster", + "hatching_chick", + "baby_chick", + "hatched_chick", + "bird", + "penguin", + "dove", + "eagle", + "duck", + "owl", + "frog", + "crocodile", + "turtle", + "lizard", + "snake", + "dragon_face", + "dragon", + "whale", + "whale2", + "dolphin", + "fish", + "tropical_fish", + "blowfish", + "shark", + "octopus", + "shell", + "crab", + "shrimp", + "squid", + "snail", + "butterfly", + "bug", + "ant", + "honeybee", + "beetle", + "spider", + "spider_web", + "scorpion", + "bouquet", + "cherry_blossom", + "white_flower", + "rosette", + "rose", + "wilted_flower", + "hibiscus", + "sunflower", + "blossom", + "tulip", "seedling", "evergreen_tree", "deciduous_tree", "palm_tree", "cactus", - "tulip", - "cherry_blossom", - "rose", - "hibiscus", - "sunflower", - "fleur_de_lis", - "blossom", - "bouquet", "ear_of_rice", "herb", + "shamrock", "four_leaf_clover", "maple_leaf", "fallen_leaf", "leaves", - "mushroom", - "chestnut", - "rat", - "mouse2", - "mouse", - "hamster", - "ox", - "water_buffalo", - "cow2", - "cow", - "tiger2", - "leopard", - "tiger", - "rabbit2", - "rabbit", - "cat2", - "cat", - "racehorse", - "horse", - "ram", - "sheep", - "goat", - "rooster", - "chicken", - "baby_chick", - "hatching_chick", - "hatched_chick", - "bird", - "penguin", - "elephant", - "dromedary_camel", - "camel", - "boar", - "pig2", - "pig", - "pig_nose", - "dog2", - "poodle", - "dog", - "wolf", - "bear", - "koala", - "panda_face", - "monkey_face", - "see_no_evil", - "hear_no_evil", - "speak_no_evil", - "monkey", - "dragon", - "dragon_face", - "crocodile", - "snake", - "turtle", - "frog", - "fox_face", - "lion", - "gorilla", - "duck", - "eagle", - "owl", - "bat", - "lizard", - "shark", - "deer", - "rhinoceros", - "paw_prints", - "whale2", - "whale", - "dolphin", - "octopus", - "fish", - "squid", - "shrimp", - "tropical_fish", - "blowfish", - "shell", - "snail", - "bug", - "ant", - "bee", - "beetle", - "honeybee", - "butterfly", - "feet", - "zap", - "fire", - "crescent_moon", - "sunny", - "partly_sunny", - "sun_behind_small_cloud", - "cloud", - "droplet", - "sweat_drops", - "umbrella", - "dash", - "snowflake", - "star2", - "star", - "stars", - "sunrise_over_mountains", - "sunrise", - "rainbow", - "ocean", - "volcano", - "milky_way", - "mount_fuji", - "japan", - "globe_with_meridians", - "earth_africa", - "earth_americas", - "earth_asia", "new_moon", "waxing_crescent_moon", "first_quarter_moon", + "waxing_gibbous_moon", "full_moon", "waning_gibbous_moon", - "waxing_gibbous_moon", "last_quarter_moon", "waning_crescent_moon", + "crescent_moon", "new_moon_with_face", - "full_moon_with_face", "first_quarter_moon_with_face", "last_quarter_moon_with_face", + "thermometer", + "sunny", + "full_moon_with_face", "sun_with_face", - "chipmunk", - "cloud_with_lightning", + "star", + "star2", + "stars", + "cloud", + "partly_sunny", "cloud_with_lightning_and_rain", - "cloud_with_rain", - "cloud_with_snow", - "tornado", + "sun_behind_small_cloud", "sun_behind_large_cloud", "sun_behind_rain_cloud", - "comet", - "crab", - "dove", + "cloud_with_rain", + "cloud_with_snow", + "cloud_with_lightning", + "tornado", "fog", - "lion_face", - "scorpion", - "spider", - "spider_web", - "turkey", - "unicorn" + "wind_face", + "cyclone", + "rainbow", + "closed_umbrella", + "open_umbrella", + "umbrella", + "parasol_on_ground", + "zap", + "snowflake", + "snowman_with_snow", + "snowman", + "comet", + "fire", + "droplet", + "ocean" ] }, { @@ -443,10 +421,6 @@ const groups = [ "fullname": "Food & Drink", "tabicon": "hamburger", "icons": [ - "tomato", - "eggplant", - "corn", - "sweet_potato", "grapes", "melon", "watermelon", @@ -461,69 +435,81 @@ const groups = [ "cherries", "strawberry", "kiwi_fruit", + "tomato", "avocado", - "cucumber", - "carrot", + "eggplant", "potato", - "hamburger", - "pizza", + "carrot", + "corn", + "hot_pepper", + "cucumber", + "mushroom", + "peanuts", + "chestnut", + "bread", + "croissant", + "baguette_bread", + "pancakes", + "cheese", "meat_on_bone", "poultry_leg", + "bacon", + "hamburger", + "fries", + "pizza", + "hotdog", + "taco", + "burrito", + "stuffed_flatbread", + "egg", + "fried_egg", + "shallow_pan_of_food", + "stew", + "green_salad", + "popcorn", + "bento", "rice_cracker", "rice_ball", "rice", "curry", "ramen", "spaghetti", - "bread", - "fries", - "dango", + "sweet_potato", "oden", "sushi", "fried_shrimp", "fish_cake", + "dango", "icecream", "shaved_ice", "ice_cream", "doughnut", "cookie", + "birthday", + "cake", "chocolate_bar", "candy", "lollipop", "custard", "honey_pot", - "cake", - "bento", - "stew", - "egg", - "fork_and_knife", - "tea", - "coffee", + "baby_bottle", "milk_glass", + "coffee", + "tea", "sake", + "champagne", "wine_glass", - "clinking_glasses", - "tumbler_glass", "cocktail", "tropical_drink", "beer", "beers", - "baby_bottle", - "burrito", - "champagne", - "cheese", - "hot_pepper", - "hotdog", - "taco", - "peanuts", - "croissant", - "baguette_bread", - "bacon", - "pancakes", - "fried_egg", - "stuffed_flatbread", - "green_salad", - "shallow_pan_of_food" + "clinking_glasses", + "tumbler_glass", + "plate_with_cutlery", + "fork_and_knife", + "spoon", + "hocho", + "amphora" ] }, { @@ -531,47 +517,55 @@ const groups = [ "fullname": "Celebration", "tabicon": "gift", "icons": [ - "ribbon", - "gift", - "birthday", "jack_o_lantern", "christmas_tree", - "tanabata_tree", - "bamboo", - "rice_scene", "fireworks", "sparkler", + "sparkles", + "balloon", "tada", "confetti_ball", - "balloon", - "dizzy", - "sparkles", - "boom", - "mortar_board", - "crown", + "tanabata_tree", + "bamboo", "dolls", "flags", "wind_chime", - "crossed_flags", - "izakaya_lantern", - "ring", - "heart", - "broken_heart", - "love_letter", - "two_hearts", - "revolving_hearts", - "heartbeat", - "heartpulse", - "sparkling_heart", + "rice_scene", + "ribbon", + "gift", + "reminder_ribbon", + "tickets", + "ticket", + "kiss", "cupid", - "gift_heart", - "heart_decoration", - "purple_heart", - "yellow_heart", - "green_heart", + "heart", + "heartbeat", + "broken_heart", + "two_hearts", + "sparkling_heart", + "heartpulse", "blue_heart", + "green_heart", + "yellow_heart", + "purple_heart", "black_heart", - "heavy_heart_exclamation" + "gift_heart", + "revolving_hearts", + "heart_decoration", + "heavy_heart_exclamation", + "love_letter", + "zzz", + "anger", + "bomb", + "boom", + "sweat_drops", + "dash", + "dizzy", + "speech_balloon", + "left_speech_bubble", + "right_anger_bubble", + "thought_balloon", + "hole" ] }, { @@ -579,98 +573,104 @@ const groups = [ "fullname": "Activities", "tabicon": "soccer", "icons": [ - "running_woman", - "running_man", - "walking_woman", + "massage_woman", + "massage_man", + "haircut_woman", + "haircut_man", "walking_man", + "walking_woman", + "running_man", + "running_woman", "dancer", - "rowing_woman", - "rowing_man", - "swimming_woman", - "swimming_man", - "surfing_woman", - "surfing_man", + "man_dancing", + "dancing_women", + "dancing_men", "bath", - "snowboarder", - "ski", - "snowman", - "snowman_with_snow", - "biking_woman", - "biking_man", - "mountain_biking_woman", - "mountain_biking_man", + "sleeping_bed", + "business_suit_levitating", + "speaking_head", + "bust_in_silhouette", + "busts_in_silhouette", + "person_fencing", "horse_racing", - "tent", - "fishing_pole_and_fish", + "skier", + "snowboarder", + "golfing_man", + "golfing_woman", + "surfing_man", + "surfing_woman", + "rowing_man", + "rowing_woman", + "swimming_man", + "swimming_woman", + "basketball_man", + "basketball_woman", + "weight_lifting_man", + "weight_lifting_woman", + "biking_man", + "biking_woman", + "mountain_biking_man", + "mountain_biking_woman", + "racing_car", + "motorcycle", + "man_cartwheeling", + "woman_cartwheeling", + "men_wrestling", + "women_wrestling", + "man_playing_water_polo", + "woman_playing_water_polo", + "man_playing_handball", + "woman_playing_handball", + "man_juggling", + "woman_juggling", "soccer", - "basketball", - "football", "baseball", - "tennis", + "basketball", + "volleyball", + "football", "rugby_football", - "golf", - "trophy", - "running_shirt_with_sash", - "checkered_flag", - "musical_keyboard", - "guitar", - "violin", - "saxophone", - "trumpet", - "drum", - "musical_note", - "notes", - "musical_score", - "headphones", - "microphone", - "performing_arts", - "ticket", - "tophat", - "circus_tent", - "clapper", - "art", - "dart", + "tennis", "8ball", "bowling", - "slot_machine", - "game_die", - "video_game", - "flower_playing_cards", - "black_joker", - "mahjong", - "carousel_horse", - "ferris_wheel", - "roller_coaster", - "badminton", - "ballot_box", - "basketball_woman", - "basketball_man", - "bow_and_arrow", - "crossed_swords", "cricket", - "ice_hockey", "field_hockey", - "golfing_woman", - "golfing_man", - "ice_skate", - "paintbrush", - "skier", - "stadium", - "volleyball", - "person_fencing", - "goal_net", + "ice_hockey", + "ping_pong", + "badminton", "boxing_glove", "martial_arts_uniform", - "women_wrestling", - "men_wrestling", - "woman_cartwheeling", - "man_cartwheeling", - "woman_playing_handball", - "man_playing_handball", - "woman_playing_water_polo", - "man_playing_water_polo", - "woman_juggling", - "man_juggling" + "goal_net", + "dart", + "golf", + "ice_skate", + "fishing_pole_and_fish", + "running_shirt_with_sash", + "ski", + "video_game", + "joystick", + "game_die", + "spades", + "hearts", + "diamonds", + "clubs", + "black_joker", + "mahjong", + "flower_playing_cards", + "musical_score", + "musical_note", + "notes", + "studio_microphone", + "level_slider", + "control_knobs", + "microphone", + "headphones", + "radio", + "saxophone", + "guitar", + "musical_keyboard", + "trumpet", + "violin", + "drum" ] }, { @@ -678,11 +678,72 @@ const groups = [ "fullname": "Travel & Places", "tabicon": "airplane", "icons": [ - "train", - "mountain_railway", - "railway_car", + "earth_africa", + "earth_americas", + "earth_asia", + "globe_with_meridians", + "world_map", + "japan", + "mountain_snow", + "mountain", + "volcano", + "mount_fuji", + "camping", + "beach_umbrella", + "desert", + "desert_island", + "national_park", + "stadium", + "classical_building", + "building_construction", + "houses", + "cityscape", + "derelict_house", + "house", + "house_with_garden", + "office", + "post_office", + "european_post_office", + "hospital", + "bank", + "hotel", + "love_hotel", + "convenience_store", + "school", + "department_store", + "factory", + "japanese_castle", + "european_castle", + "wedding", + "tokyo_tower", + "statue_of_liberty", + "church", + "mosque", + "synagogue", + "shinto_shrine", + "kaaba", + "fountain", + "tent", + "foggy", + "night_with_stars", + "sunrise_over_mountains", + "sunrise", + "city_sunset", + "city_sunrise", + "bridge_at_night", + "hotsprings", + "milky_way", + "carousel_horse", + "ferris_wheel", + "roller_coaster", + "barber", + "circus_tent", + "performing_arts", + "framed_picture", + "art", + "slot_machine", "steam_locomotive", - "monorail", + "railway_car", "bullettrain_side", "bullettrain_front", "train2", @@ -690,6 +751,9 @@ const groups = [ "light_rail", "station", "tram", + "monorail", + "mountain_railway", + "train", "bus", "oncoming_bus", "trolleybus", @@ -698,9 +762,9 @@ const groups = [ "fire_engine", "police_car", "oncoming_police_car", - "rotating_light", "taxi", "oncoming_taxi", + "red_car", "oncoming_automobile", "blue_car", "truck", @@ -710,349 +774,291 @@ const groups = [ "kick_scooter", "motor_scooter", "busstop", - "fuelpump", - "construction", - "vertical_traffic_light", - "traffic_light", - "rocket", - "helicopter", - "airplane", - "seat", - "anchor", - "ship", - "speedboat", - "canoe", - "aerial_tramway", - "mountain_cableway", - "suspension_railway", - "passport_control", - "customs", - "baggage_claim", - "left_luggage", - "yen", - "euro", - "pound", - "dollar", - "statue_of_liberty", - "moyai", - "foggy", - "tokyo_tower", - "fountain", - "european_castle", - "japanese_castle", - "city_sunrise", - "city_sunset", - "night_with_stars", - "bridge_at_night", - "house", - "house_with_garden", - "office", - "department_store", - "factory", - "post_office", - "european_post_office", - "hospital", - "bank", - "hotel", - "love_hotel", - "wedding", - "church", - "convenience_store", - "school", - "cn", - "de", - "es", - "fr", - "gb", - "it", - "jp", - "kr", - "ru", - "us", - "flight_arrival", - "flight_departure", - "small_airplane", - "beach", - "beach_umbrella", - "parasol_on_ground", - "camping", - "city_dusk", - "cityscape", - "classical_building", - "building_construction", - "passenger_ship", - "desert", - "ferry", - "hole", - "houses", - "derelict_house", - "desert_island", - "kaaba", - "world_map", - "mosque", - "motor_boat", - "motorcycle", "motorway", - "mountain", - "mountain_snow", - "national_park", - "place_of_worship", - "racing_car", "railway_track", - "red_car", + "fuelpump", + "rotating_light", + "traffic_light", + "vertical_traffic_light", + "construction", + "stop_sign", + "anchor", "sailboat", - "shinto_shrine", - "sleeping_accommodation", - "synagogue", - "rainbow_flag", - "white_flag", + "canoe", + "speedboat", + "passenger_ship", + "ferry", + "motor_boat", + "ship", + "airplane", + "small_airplane", + "flight_departure", + "flight_arrival", + "seat", + "helicopter", + "suspension_railway", + "mountain_cableway", + "aerial_tramway", + "artificial_satellite", + "rocket", + "bellhop_bell", + "door", + "bed", + "couch_and_lamp", + "toilet", + "shower", + "bathtub", + "checkered_flag", + "triangular_flag_on_post", + "crossed_flags", "black_flag", - "flag_cn", - "flag_de", - "flag_es", - "flag_fr", - "flag_gb", - "flag_it", - "flag_jp", - "flag_kr", - "flag_ru", - "flag_us", - "afghanistan", - "aland_islands", - "albania", - "algeria", - "american_samoa", + "white_flag", + "rainbow_flag", "andorra", - "angola", - "anguilla", - "antarctica", + "united_arab_emirates", + "afghanistan", "antigua_barbuda", - "argentina", + "anguilla", + "albania", "armenia", - "aruba", - "australia", + "angola", + "antarctica", + "argentina", + "american_samoa", "austria", + "australia", + "aruba", + "aland_islands", "azerbaijan", - "bahamas", - "bahrain", - "bangladesh", + "bosnia_herzegovina", "barbados", - "belarus", + "bangladesh", "belgium", - "belize", + "burkina_faso", + "bulgaria", + "bahrain", + "burundi", "benin", + "st_barthelemy", "bermuda", - "bhutan", + "brunei", "bolivia", "caribbean_netherlands", - "bosnia_herzegovina", - "botswana", "brazil", - "british_indian_ocean_territory", - "british_virgin_islands", - "brunei", - "bulgaria", - "burkina_faso", - "burundi", - "cape_verde", - "cambodia", - "cameroon", + "bahamas", + "bhutan", + "botswana", + "belarus", + "belize", "canada", - "canary_islands", - "cayman_islands", - "central_african_republic", - "chad", - "chile", - "christmas_island", "cocos_islands", - "colombia", - "comoros", - "congo_brazzaville", "congo_kinshasa", + "central_african_republic", + "congo_brazzaville", + "switzerland", + "cote_divoire", "cook_islands", + "chile", + "cameroon", + "cn", + "colombia", "costa_rica", - "croatia", "cuba", + "cape_verde", "curacao", + "christmas_island", "cyprus", "czech_republic", - "denmark", + "de", "djibouti", + "denmark", "dominica", "dominican_republic", + "algeria", "ecuador", - "egypt", - "el_salvador", - "equatorial_guinea", - "eritrea", "estonia", + "egypt", + "western_sahara", + "eritrea", + "es", "ethiopia", "eu", - "falkland_islands", - "faroe_islands", - "fiji", "finland", - "french_guiana", - "french_polynesia", - "french_southern_territories", + "fiji", + "falkland_islands", + "micronesia", + "faroe_islands", + "fr", "gabon", - "gambia", + "uk", + "grenada", "georgia", + "french_guiana", + "guernsey", "ghana", "gibraltar", - "greece", "greenland", - "grenada", - "guadeloupe", - "guam", - "guatemala", - "guernsey", + "gambia", "guinea", + "guadeloupe", + "equatorial_guinea", + "greece", + "south_georgia_south_sandwich_islands", + "guatemala", + "guam", "guinea_bissau", "guyana", - "haiti", - "honduras", "hong_kong", + "honduras", + "croatia", + "haiti", "hungary", - "iceland", - "india", + "canary_islands", "indonesia", - "iran", - "iraq", "ireland", - "isle_of_man", "israel", - "cote_divoire", - "jamaica", + "isle_of_man", + "india", + "british_indian_ocean_territory", + "iraq", + "iran", + "iceland", + "it", "jersey", + "jamaica", "jordan", - "kazakhstan", + "jp", "kenya", - "kiribati", - "kosovo", - "kuwait", "kyrgyzstan", + "cambodia", + "kiribati", + "comoros", + "st_kitts_nevis", + "north_korea", + "kr", + "kuwait", + "cayman_islands", + "kazakhstan", "laos", - "latvia", "lebanon", - "lesotho", - "liberia", - "libya", + "st_lucia", "liechtenstein", + "sri_lanka", + "liberia", + "lesotho", "lithuania", "luxembourg", - "macau", - "macedonia", + "latvia", + "libya", + "morocco", + "monaco", + "moldova", + "montenegro", "madagascar", - "malawi", - "malaysia", - "maldives", - "mali", - "malta", "marshall_islands", + "macedonia", + "mali", + "myanmar", + "mongolia", + "macau", + "northern_mariana_islands", "martinique", "mauritania", - "mauritius", - "mayotte", - "mexico", - "micronesia", - "moldova", - "monaco", - "mongolia", - "montenegro", "montserrat", - "morocco", + "malta", + "mauritius", + "maldives", + "malawi", + "mexico", + "malaysia", "mozambique", - "myanmar", "namibia", - "nauru", - "nepal", - "netherlands", "new_caledonia", - "new_zealand", - "nicaragua", "niger", - "nigeria", - "niue", "norfolk_island", - "northern_mariana_islands", - "north_korea", + "nigeria", + "nicaragua", + "netherlands", "norway", + "nepal", + "nauru", + "niue", + "new_zealand", "oman", - "pakistan", - "palau", - "palestinian_territories", "panama", - "papua_new_guinea", - "paraguay", "peru", + "french_polynesia", + "papua_new_guinea", "philippines", - "pitcairn_islands", + "pakistan", "poland", - "portugal", + "st_pierre_miquelon", + "pitcairn_islands", "puerto_rico", + "palestinian_territories", + "portugal", + "palau", + "paraguay", "qatar", "reunion", "romania", - "rwanda", - "st_barthelemy", - "st_helena", - "st_kitts_nevis", - "st_lucia", - "st_pierre_miquelon", - "st_vincent_grenadines", - "samoa", - "san_marino", - "sao_tome_principe", - "saudi_arabia", - "senegal", "serbia", - "seychelles", - "sierra_leone", - "singapore", - "sint_maarten", - "slovakia", - "slovenia", + "ru", + "rwanda", + "saudi_arabia", "solomon_islands", - "somalia", - "south_africa", - "south_georgia_south_sandwich_islands", - "south_sudan", - "sri_lanka", + "seychelles", "sudan", - "suriname", - "swaziland", "sweden", - "switzerland", + "singapore", + "st_helena", + "slovenia", + "slovakia", + "sierra_leone", + "san_marino", + "senegal", + "somalia", + "suriname", + "south_sudan", + "sao_tome_principe", + "el_salvador", + "sint_maarten", "syria", - "taiwan", - "tajikistan", - "tanzania", - "thailand", - "timor_leste", - "togo", - "tokelau", - "tonga", - "trinidad_tobago", - "tunisia", - "tr", - "turkmenistan", + "swaziland", "turks_caicos_islands", + "chad", + "french_southern_territories", + "togo", + "thailand", + "tajikistan", + "tokelau", + "timor_leste", + "turkmenistan", + "tunisia", + "tonga", + "tr", + "trinidad_tobago", "tuvalu", - "uganda", + "taiwan", + "tanzania", "ukraine", - "united_arab_emirates", - "uk", - "us_virgin_islands", + "uganda", + "us", "uruguay", "uzbekistan", - "vanuatu", "vatican_city", + "st_vincent_grenadines", "venezuela", + "british_virgin_islands", + "us_virgin_islands", "vietnam", + "vanuatu", "wallis_futuna", - "western_sahara", + "samoa", + "kosovo", "yemen", + "mayotte", + "south_africa", "zambia", "zimbabwe" ] @@ -1062,196 +1068,246 @@ const groups = [ "fullname": "Objects & Symbols", "tabicon": "eyeglasses", "icons": [ - "watch", + "eyeglasses", + "dark_sunglasses", + "necktie", + "tshirt", + "jeans", + "dress", + "kimono", + "bikini", + "womans_clothes", + "purse", + "handbag", + "pouch", + "shopping", + "school_satchel", + "mans_shoe", + "athletic_shoe", + "high_heel", + "sandal", + "boot", + "crown", + "womans_hat", + "tophat", + "mortar_board", + "rescue_worker_helmet", + "prayer_beads", + "lipstick", + "ring", + "gem", + "medal_military", + "trophy", + "medal_sports", + "1st_place_medal", + "2nd_place_medal", + "3rd_place_medal", + "mute", + "speaker", + "sound", + "loud_sound", + "loudspeaker", + "mega", + "postal_horn", + "bell", + "no_bell", "iphone", "calling", - "computer", - "alarm_clock", - "hourglass_flowing_sand", - "hourglass", - "camera", - "video_camera", - "movie_camera", - "tv", - "radio", - "pager", - "telephone_receiver", "phone", + "telephone_receiver", + "pager", "fax", + "battery", + "electric_plug", + "computer", + "desktop_computer", + "printer", + "keyboard", + "computer_mouse", + "trackball", "minidisc", "floppy_disk", "cd", "dvd", + "movie_camera", + "film_strip", + "film_projector", + "clapper", + "tv", + "camera", + "camera_flash", + "video_camera", "vhs", - "battery", - "electric_plug", - "bulb", - "flashlight", - "satellite", - "credit_card", - "money_with_wings", - "moneybag", - "gem", - "closed_umbrella", - "pouch", - "purse", - "handbag", - "briefcase", - "school_satchel", - "lipstick", - "eyeglasses", - "womans_hat", - "sandal", - "high_heel", - "boot", - "mans_shoe", - "athletic_shoe", - "bikini", - "dress", - "kimono", - "womans_clothes", - "tshirt", - "necktie", - "jeans", - "door", - "shower", - "bathtub", - "toilet", - "barber", - "syringe", - "pill", + "mag", + "mag_right", "microscope", "telescope", - "crystal_ball", - "wrench", - "hocho", - "nut_and_bolt", - "hammer", - "bomb", - "smoking", - "gun", - "bookmark", - "newspaper", - "key", - "email", - "envelope_with_arrow", - "incoming_envelope", - "email", - "inbox_tray", - "outbox_tray", - "package", - "postal_horn", - "postbox", - "mailbox_closed", - "mailbox", - "mailbox_with_mail", - "mailbox_with_no_mail", - "page_facing_up", - "page_with_curl", - "bookmark_tabs", - "chart_with_upwards_trend", - "chart_with_downwards_trend", - "bar_chart", - "date", - "calendar", - "low_brightness", - "high_brightness", - "scroll", - "clipboard", - "open_book", - "notebook", + "satellite", + "candle", + "bulb", + "flashlight", + "izakaya_lantern", "notebook_with_decorative_cover", - "ledger", "closed_book", + "open_book", "green_book", "blue_book", "orange_book", "books", - "card_index", - "link", - "paperclip", - "pushpin", - "scissors", - "triangular_ruler", - "round_pushpin", - "straight_ruler", - "triangular_flag_on_post", + "notebook", + "ledger", + "page_with_curl", + "scroll", + "page_facing_up", + "newspaper", + "newspaper_roll", + "bookmark_tabs", + "bookmark", + "label", + "moneybag", + "yen", + "dollar", + "euro", + "pound", + "money_with_wings", + "credit_card", + "chart", + "currency_exchange", + "heavy_dollar_sign", + "email", + "e-mail", + "incoming_envelope", + "envelope_with_arrow", + "outbox_tray", + "inbox_tray", + "package", + "mailbox", + "mailbox_closed", + "mailbox_with_mail", + "mailbox_with_no_mail", + "postbox", + "ballot_box", + "pencil2", + "black_nib", + "fountain_pen", + "pen", + "paintbrush", + "crayon", + "memo", + "briefcase", "file_folder", "open_file_folder", - "black_nib", - "pencil2", - "lock_with_ink_pen", - "closed_lock_with_key", + "card_index_dividers", + "date", + "calendar", + "spiral_notepad", + "spiral_calendar", + "card_index", + "chart_with_upwards_trend", + "chart_with_downwards_trend", + "bar_chart", + "clipboard", + "pushpin", + "round_pushpin", + "paperclip", + "paperclips", + "straight_ruler", + "triangular_ruler", + "scissors", + "card_file_box", + "file_cabinet", + "wastebasket", "lock", "unlock", - "mega", - "loudspeaker", - "sound", - "loud_sound", - "speaker", - "mute", - "zzz", - "bell", - "no_bell", - "thought_balloon", - "speech_balloon", + "lock_with_ink_pen", + "closed_lock_with_key", + "key", + "old_key", + "hammer", + "pick", + "hammer_and_pick", + "hammer_and_wrench", + "dagger", + "crossed_swords", + "gun", + "bow_and_arrow", + "shield", + "wrench", + "nut_and_bolt", + "gear", + "clamp", + "alembic", + "balance_scale", + "link", + "chains", + "syringe", + "pill", + "smoking", + "coffin", + "funeral_urn", + "moyai", + "oil_drum", + "crystal_ball", + "shopping_cart", + "atm", + "put_litter_in_its_place", + "potable_water", + "wheelchair", + "mens", + "womens", + "restroom", + "baby_symbol", + "wc", + "passport_control", + "customs", + "baggage_claim", + "left_luggage", + "warning", "children_crossing", - "mag", - "mag_right", - "no_entry_sign", "no_entry", - "stop_sign", - "name_badge", - "no_pedestrians", - "do_not_litter", + "no_entry_sign", "no_bicycles", + "no_smoking", + "do_not_litter", "non-potable_water", + "no_pedestrians", "no_mobile_phones", "underage", - "accept", - "ideograph_advantage", - "white_flower", - "wilted_flower", - "secret", - "congratulations", - "u5408", - "u6e80", - "u7981", - "u6709", - "u7121", - "u7533", - "u55b6", - "u6708", - "u5272", - "u7a7a", - "sa", - "koko", - "u6307", - "chart", - "sparkle", - "eight_spoked_asterisk", - "negative_squared_cross_mark", - "white_check_mark", - "eight_pointed_black_star", - "vibration_mode", - "mobile_phone_off", - "vs", - "a", - "b", - "ab", - "cl", - "o2", - "sos", - "parking", - "wc", - "cool", - "free", - "new", - "ng", - "ok", - "up", - "atm", - "id", + "radioactive", + "biohazard", + "arrow_up", + "arrow_upper_right", + "arrow_right", + "arrow_lower_right", + "arrow_down", + "arrow_lower_left", + "arrow_left", + "arrow_upper_left", + "arrow_up_down", + "left_right_arrow", + "leftwards_arrow_with_hook", + "arrow_right_hook", + "arrow_heading_up", + "arrow_heading_down", + "arrows_clockwise", + "arrows_counterclockwise", + "back", + "end", + "on", + "soon", + "top", + "place_of_worship", + "atom_symbol", + "om", + "star_of_david", + "wheel_of_dharma", + "yin_yang", + "latin_cross", + "orthodox_cross", + "star_and_crescent", + "peace_symbol", + "menorah", + "six_pointed_star", "aries", "taurus", "gemini", @@ -1265,51 +1321,62 @@ const groups = [ "aquarius", "pisces", "ophiuchus", - "six_pointed_star", - "atom_symbol", - "latin_cross", - "orthodox_cross", - "star_and_crescent", - "om", - "star_of_david", - "wheel_of_dharma", - "yin_yang", - "menorah", - "peace_symbol", - "restroom", - "mens", - "womens", - "baby_symbol", - "wheelchair", - "potable_water", - "no_smoking", - "put_litter_in_its_place", - "arrow_forward", - "arrow_backward", - "arrow_up_small", - "arrow_down_small", - "fast_forward", - "rewind", - "arrow_double_up", - "arrow_double_down", - "arrow_right", - "arrow_left", - "arrow_up", - "arrow_down", - "arrow_upper_right", - "arrow_lower_right", - "arrow_lower_left", - "arrow_upper_left", - "arrow_up_down", - "left_right_arrow", - "arrows_counterclockwise", - "arrow_right_hook", - "leftwards_arrow_with_hook", - "arrow_heading_up", - "arrow_heading_down", "twisted_rightwards_arrows", "repeat", "repeat_one", + "arrow_forward", + "fast_forward", + "next_track_button", + "play_or_pause_button", + "arrow_backward", + "rewind", + "previous_track_button", + "arrow_up_small", + "arrow_double_up", + "arrow_down_small", + "arrow_double_down", + "pause_button", + "stop_button", + "record_button", + "cinema", + "low_brightness", + "high_brightness", + "signal_strength", + "vibration_mode", + "mobile_phone_off", + "recycle", + "fleur_de_lis", + "trident", + "name_badge", + "beginner", + "o", + "white_check_mark", + "ballot_box_with_check", + "heavy_check_mark", + "heavy_multiplication_x", + "x", + "negative_squared_cross_mark", + "heavy_plus_sign", + "heavy_minus_sign", + "heavy_division_sign", + "curly_loop", + "loop", + "part_alternation_mark", + "eight_spoked_asterisk", + "eight_pointed_black_star", + "sparkle", + "bangbang", + "interrobang", + "question", + "grey_question", + "grey_exclamation", + "exclamation", + "wavy_dash", + "copyright", + "registered", + "tm", + "hash", + "asterisk", "zero", "one", "two", @@ -1321,189 +1388,99 @@ const groups = [ "eight", "nine", "keycap_ten", - "asterisk", - "1234", - "hash", - "abc", - "abcd", - "capital_abcd", - "information_source", - "signal_strength", - "cinema", - "symbols", - "heavy_plus_sign", - "heavy_minus_sign", - "wavy_dash", - "heavy_division_sign", - "heavy_multiplication_x", - "heavy_check_mark", - "arrows_clockwise", - "tm", - "copyright", - "registered", - "currency_exchange", - "heavy_dollar_sign", - "curly_loop", - "loop", - "part_alternation_mark", - "exclamation", - "bangbang", - "question", - "grey_exclamation", - "grey_question", - "interrobang", - "x", - "o", "100", - "end", - "back", - "on", - "top", - "soon", - "cyclone", + "capital_abcd", + "abcd", + "1234", + "symbols", + "abc", + "a", + "ab", + "b", + "cl", + "cool", + "free", + "information_source", + "id", "m", - "beginner", - "trident", - "warning", - "hotsprings", - "recycle", - "anger", - "diamond_shape_with_a_dot_inside", - "spades", - "clubs", - "hearts", - "diamonds", - "ballot_box_with_check", - "white_circle", - "black_circle", - "radio_button", - "red_circle", - "large_blue_circle", - "small_red_triangle", - "small_red_triangle_down", - "small_orange_diamond", - "small_blue_diamond", - "large_orange_diamond", - "large_blue_diamond", + "new", + "ng", + "o2", + "ok", + "parking", + "sos", + "up", + "vs", + "koko", + "sa", + "u6708", + "u6709", + "u6307", + "ideograph_advantage", + "u5272", + "u7121", + "u7981", + "accept", + "u7533", + "u5408", + "u7a7a", + "congratulations", + "secret", + "u55b6", + "u6e80", "black_small_square", "white_small_square", + "white_medium_square", + "black_medium_square", + "white_medium_small_square", + "black_medium_small_square", "black_large_square", "white_large_square", - "black_medium_square", - "white_medium_square", - "black_medium_small_square", - "white_medium_small_square", + "large_orange_diamond", + "large_blue_diamond", + "small_orange_diamond", + "small_blue_diamond", + "small_red_triangle", + "small_red_triangle_down", + "diamond_shape_with_a_dot_inside", + "radio_button", "black_square_button", "white_square_button", - "clock1", - "clock2", - "clock3", - "clock4", - "clock5", - "clock6", - "clock7", - "clock8", - "clock9", - "clock10", - "clock11", - "clock12", - "clock130", - "clock230", - "clock330", - "clock430", - "clock530", - "clock630", - "clock730", - "clock830", - "clock930", - "clock1030", - "clock1130", - "clock1230", - "alembic", - "amphora", - "biohazard", - "bed", - "sleeping_bed", - "bellhop_bell", - "spiral_calendar", - "camera_flash", - "candle", - "card_file_box", - "chains", - "mantelpiece_clock", - "coffin", - "clamp", - "control_knobs", - "couch_and_lamp", - "crayon", - "dagger", - "dark_sunglasses", - "desktop_computer", - "card_index_dividers", - "envelope", - "file_cabinet", - "film_strip", - "plate_with_cutlery", - "framed_picture", - "gear", - "hammer_and_pick", - "rescue_worker_helmet", - "joystick", - "old_key", - "keyboard", - "knife", - "spoon", - "label", - "level_slider", - "business_suit_levitating", - "weight_lifting_woman", - "weight_lifting_man", - "medal_sports", - "1st_place_medal", - "2nd_place_medal", - "3rd_place_medal", - "studio_microphone", - "medal_military", - "computer_mouse", - "newspaper_roll", - "spiral_notepad", - "oil_drum", - "paperclips", - "pause_button", - "record_button", - "stop_button", - "play_or_pause_button", - "next_track_button", - "previous_track_button", - "pen", - "fountain_pen", - "memo", - "pick", - "ping_pong", - "popcorn", - "prayer_beads", - "printer", - "film_projector", - "radioactive", - "reminder_ribbon", - "rosette", - "artificial_satellite", - "balance_scale", - "shamrock", - "shield", - "shopping", - "shopping_cart", + "white_circle", + "black_circle", + "red_circle", + "large_blue_circle", + "hourglass", + "hourglass_flowing_sand", + "watch", + "alarm_clock", "stopwatch", - "telephone", - "thermometer", - "face_with_thermometer", - "tickets", "timer_clock", - "hammer_and_wrench", - "trackball", - "open_umbrella", - "wastebasket", - "left_speech_bubble" + "mantelpiece_clock", + "clock12", + "clock1230", + "clock1", + "clock130", + "clock2", + "clock230", + "clock3", + "clock330", + "clock4", + "clock430", + "clock5", + "clock530", + "clock6", + "clock630", + "clock7", + "clock730", + "clock8", + "clock830", + "clock9", + "clock930", + "clock10", + "clock1030", + "clock11", + "clock1130" ] } ]; diff --git a/lib/tasks/emoji.rake b/lib/tasks/emoji.rake index a5047cc5b71..78bf997975a 100644 --- a/lib/tasks/emoji.rake +++ b/lib/tasks/emoji.rake @@ -19,6 +19,8 @@ EMOJI_IMAGES_PATH ||= "public/images/emoji" EMOJI_LIST_URL ||= "http://unicode.org/emoji/charts/full-emoji-list.html" +EMOJI_ORDERING_URL ||= "http://www.unicode.org/emoji/charts/emoji-ordering.html" + EMOJI_KEYWORDS_URL ||= "https://raw.githubusercontent.com/muan/emojilib/master/emojis.json" EMOJI_ALIASES ||= { @@ -217,1504 +219,127 @@ EMOJI_GROUPS ||= [ "name" => "people", "fullname" => "People", "tabicon" => "grinning", - "icons" => [ - "slightly_smiling_face", - "grinning", - "grin", - "joy", - "rofl", - "smiley", - "smile", - "sweat_smile", - "laughing", - "innocent", - "smiling_imp", - "imp", - "wink", - "blush", - "relaxed", - "yum", - "relieved", - "heart_eyes", - "sunglasses", - "smirk", - "neutral_face", - "expressionless", - "unamused", - "sweat", - "pensive", - "confused", - "confounded", - "kissing", - "kissing_heart", - "kissing_smiling_eyes", - "kissing_closed_eyes", - "stuck_out_tongue", - "stuck_out_tongue_winking_eye", - "stuck_out_tongue_closed_eyes", - "disappointed", - "worried", - "angry", - "rage", - "cry", - "persevere", - "triumph", - "disappointed_relieved", - "frowning", - "anguished", - "fearful", - "weary", - "sleepy", - "tired_face", - "grimacing", - "sob", - "open_mouth", - "hushed", - "cold_sweat", - "nauseated_face", - "sneezing_face", - "scream", - "astonished", - "flushed", - "sleeping", - "dizzy_face", - "no_mouth", - "mask", - "smile_cat", - "joy_cat", - "smiley_cat", - "heart_eyes_cat", - "smirk_cat", - "kissing_cat", - "pouting_cat", - "crying_cat_face", - "scream_cat", - "footprints", - "bust_in_silhouette", - "busts_in_silhouette", - "baby", - "boy", - "girl", - "man", - "woman", - "couple", - "two_men_holding_hands", - "two_women_holding_hands", - "dancing_women", - "dancing_men", - "man_dancing", - "bride_with_veil", - "blonde_woman", - "blonde_man", - "man_with_gua_pi_mao", - "woman_with_turban", - "man_with_turban", - "older_woman", - "older_man", - "policewoman", - "policeman", - "female_detective", - "male_detective", - "woman_farmer", - "man_farmer", - "woman_cook", - "man_cook", - "woman_student", - "man_student", - "woman_singer", - "man_singer", - "woman_teacher", - "man_teacher", - "woman_factory_worker", - "man_factory_worker", - "woman_health_worker", - "man_health_worker", - "woman_pilot", - "man_pilot", - "woman_judge", - "man_judge", - "woman_technologist", - "man_technologist", - "woman_office_worker", - "man_office_worker", - "woman_mechanic", - "man_mechanic", - "woman_scientist", - "man_scientist", - "woman_artist", - "man_artist", - "woman_firefighter", - "man_firefighter", - "woman_astronaut", - "man_astronaut", - "construction_worker_woman", - "construction_worker_man", - "princess", - "prince", - "guardswoman", - "guardsman", - "clown_face", - "cowboy_hat_face", - "angel", - "santa", - "mrs_claus", - "ghost", - "japanese_ogre", - "japanese_goblin", - "hankey", - "skull", - "alien", - "space_invader", - "bowing_woman", - "bowing_man", - "woman_facepalming", - "man_facepalming", - "woman_shrugging", - "man_shrugging", - "tipping_hand_woman", - "tipping_hand_man", - "no_good_woman", - "no_good_man", - "ok_woman", - "ok_man", - "raising_hand_woman", - "raising_hand_man", - "pouting_woman", - "pouting_man", - "frowning_woman", - "frowning_man", - "massage_woman", - "massage_man", - "haircut_woman", - "haircut_man", - "couple_with_heart_woman_woman", - "couple_with_heart_woman_man", - "couple_with_heart_man_man", - "clap", - "ear", - "eyes", - "nose", - "lips", - "kiss", - "tongue", - "nail_care", - "wave", - "thumbsup", - "thumbsdown", - "point_up", - "point_up_2", - "point_down", - "point_left", - "point_right", - "ok_hand", - "handshake", - "v", - "crossed_fingers", - "call_me_hand", - "fist", - "fist_left", - "fist_right", - "raised_hand", - "raised_back_of_hand", - "raised_hands", - "muscle", - "open_hands", - "pray", - "right_anger_bubble", - "eye", - "frowning_face", - "raised_hand_with_fingers_splayed", - "face_with_head_bandage", - "hugs", - "fu", - "money_mouth_face", - "nerd_face", - "drooling_face", - "poop", - "facepunch", - "robot", - "roll_eyes", - "skull_and_crossbones", - "slightly_frowning_face", - "speaking_head", - "spy", - "thinking", - "upside_down_face", - "lying_face", - "funeral_urn", - "vulcan_salute", - "metal", - "wind_face", - "writing_hand", - "zipper_mouth_face", - "male_couple_with_heart", - "couplekiss_man_woman", - "couplekiss_woman_woman", - "couplekiss_man_man", - "family_man_woman_girl", - "family_man_woman_boy", - "family_man_woman_girl_boy", - "family_man_woman_girl_girl", - "family_man_woman_boy_boy", - "family_woman_woman_girl", - "family_woman_woman_boy", - "family_woman_woman_girl_boy", - "family_woman_woman_girl_girl", - "family_woman_woman_boy_boy", - "family_man_man_girl", - "family_man_man_boy", - "family_man_man_girl_boy", - "family_man_man_girl_girl", - "family_man_man_boy_boy", - "family_woman_girl", - "family_woman_boy", - "family_woman_girl_boy", - "family_woman_girl_girl", - "family_woman_boy_boy", - "family_man_girl", - "family_man_boy", - "family_man_girl_boy", - "family_man_girl_girl", - "family_man_boy_boy", - "selfie", - "man_in_tuxedo", - "pregnant_woman" + "sections" => [ + "face-positive", + "face-neutral", + "face-negative", + "face-sick", + "face-role", + "face-fantasy", + "cat-face", + "monkey-face", + "skin-tone", + "person", + "person-role", + "person-fantasy", + "person-gesture", + "family", + "body" ] }, { "name" => "nature", "fullname" => "Nature", "tabicon" => "evergreen_tree", - "icons" => [ - "seedling", - "evergreen_tree", - "deciduous_tree", - "palm_tree", - "cactus", - "tulip", - "cherry_blossom", - "rose", - "hibiscus", - "sunflower", - "fleur_de_lis", - "blossom", - "bouquet", - "ear_of_rice", - "herb", - "four_leaf_clover", - "maple_leaf", - "fallen_leaf", - "leaves", - "mushroom", - "chestnut", - "rat", - "mouse2", - "mouse", - "hamster", - "ox", - "water_buffalo", - "cow2", - "cow", - "tiger2", - "leopard", - "tiger", - "rabbit2", - "rabbit", - "cat2", - "cat", - "racehorse", - "horse", - "ram", - "sheep", - "goat", - "rooster", - "chicken", - "baby_chick", - "hatching_chick", - "hatched_chick", - "bird", - "penguin", - "elephant", - "dromedary_camel", - "camel", - "boar", - "pig2", - "pig", - "pig_nose", - "dog2", - "poodle", - "dog", - "wolf", - "bear", - "koala", - "panda_face", - "monkey_face", - "see_no_evil", - "hear_no_evil", - "speak_no_evil", - "monkey", - "dragon", - "dragon_face", - "crocodile", - "snake", - "turtle", - "frog", - "fox_face", - "lion", - "gorilla", - "duck", - "eagle", - "owl", - "bat", - "lizard", - "shark", - "deer", - "rhinoceros", - "paw_prints", - "whale2", - "whale", - "dolphin", - "octopus", - "fish", - "squid", - "shrimp", - "tropical_fish", - "blowfish", - "shell", - "snail", - "bug", - "ant", - "bee", - "beetle", - "honeybee", - "butterfly", - "feet", - "zap", - "fire", - "crescent_moon", - "sunny", - "partly_sunny", - "sun_behind_small_cloud", - "cloud", - "droplet", - "sweat_drops", - "umbrella", - "dash", - "snowflake", - "star2", - "star", - "stars", - "sunrise_over_mountains", - "sunrise", - "rainbow", - "ocean", - "volcano", - "milky_way", - "mount_fuji", - "japan", - "globe_with_meridians", - "earth_africa", - "earth_americas", - "earth_asia", - "new_moon", - "waxing_crescent_moon", - "first_quarter_moon", - "full_moon", - "waning_gibbous_moon", - "waxing_gibbous_moon", - "last_quarter_moon", - "waning_crescent_moon", - "new_moon_with_face", - "full_moon_with_face", - "first_quarter_moon_with_face", - "last_quarter_moon_with_face", - "sun_with_face", - "chipmunk", - "cloud_with_lightning", - "cloud_with_lightning_and_rain", - "cloud_with_rain", - "cloud_with_snow", - "tornado", - "sun_behind_large_cloud", - "sun_behind_rain_cloud", - "comet", - "crab", - "dove", - "fog", - "lion_face", - "scorpion", - "spider", - "spider_web", - "turkey", - "unicorn", + "sections" => [ + "animal-mammal", + "animal-bird", + "animal-amphibian", + "animal-reptile", + "animal-marine", + "animal-bug", + "plant-flower", + "plant-other", + "sky_&_weather", + ] }, { "name" => "food", "fullname" => "Food & Drink", "tabicon" => "hamburger", - "icons" => [ - "tomato", - "eggplant", - "corn", - "sweet_potato", - "grapes", - "melon", - "watermelon", - "tangerine", - "lemon", - "banana", - "pineapple", - "apple", - "green_apple", - "pear", - "peach", - "cherries", - "strawberry", - "kiwi_fruit", - "avocado", - "cucumber", - "carrot", - "potato", - "hamburger", - "pizza", - "meat_on_bone", - "poultry_leg", - "rice_cracker", - "rice_ball", - "rice", - "curry", - "ramen", - "spaghetti", - "bread", - "fries", - "dango", - "oden", - "sushi", - "fried_shrimp", - "fish_cake", - "icecream", - "shaved_ice", - "ice_cream", - "doughnut", - "cookie", - "chocolate_bar", - "candy", - "lollipop", - "custard", - "honey_pot", - "cake", - "bento", - "stew", - "egg", - "fork_and_knife", - "tea", - "coffee", - "milk_glass", - "sake", - "wine_glass", - "clinking_glasses", - "tumbler_glass", - "cocktail", - "tropical_drink", - "beer", - "beers", - "baby_bottle", - "burrito", - "champagne", - "cheese", - "hot_pepper", - "hotdog", - "taco", - "peanuts", - "croissant", - "baguette_bread", - "bacon", - "pancakes", - "fried_egg", - "stuffed_flatbread", - "green_salad", - "shallow_pan_of_food", + "sections" => [ + "food-fruit", + "food-vegetable", + "food-prepared", + "food-asian", + "food-sweet", + "drink", + "dishware" ] }, { "name" => "celebration", "fullname" => "Celebration", "tabicon" => "gift", - "icons" => [ - "ribbon", - "gift", - "birthday", - "jack_o_lantern", - "christmas_tree", - "tanabata_tree", - "bamboo", - "rice_scene", - "fireworks", - "sparkler", - "tada", - "confetti_ball", - "balloon", - "dizzy", - "sparkles", - "boom", - "mortar_board", - "crown", - "dolls", - "flags", - "wind_chime", - "crossed_flags", - "izakaya_lantern", - "ring", - "heart", - "broken_heart", - "love_letter", - "two_hearts", - "revolving_hearts", - "heartbeat", - "heartpulse", - "sparkling_heart", - "cupid", - "gift_heart", - "heart_decoration", - "purple_heart", - "yellow_heart", - "green_heart", - "blue_heart", - "black_heart", - "heavy_heart_exclamation", + "sections" => [ + "event", + "emotion" ] }, { "name" => "activity", "fullname" => "Activities", "tabicon" => "soccer", - "icons" => [ - "running_woman", - "running_man", - "walking_woman", - "walking_man", - "dancer", - "rowing_woman", - "rowing_man", - "swimming_woman", - "swimming_man", - "surfing_woman", - "surfing_man", - "bath", - "snowboarder", - "ski", - "snowman", - "snowman_with_snow", - "biking_woman", - "biking_man", - "mountain_biking_woman", - "mountain_biking_man", - "horse_racing", - "tent", - "fishing_pole_and_fish", - "soccer", - "basketball", - "football", - "baseball", - "tennis", - "rugby_football", - "golf", - "trophy", - "running_shirt_with_sash", - "checkered_flag", - "musical_keyboard", - "guitar", - "violin", - "saxophone", - "trumpet", - "drum", - "musical_note", - "notes", - "musical_score", - "headphones", - "microphone", - "performing_arts", - "ticket", - "tophat", - "circus_tent", - "clapper", - "art", - "dart", - "8ball", - "bowling", - "slot_machine", - "game_die", - "video_game", - "flower_playing_cards", - "black_joker", - "mahjong", - "carousel_horse", - "ferris_wheel", - "roller_coaster", - "badminton", - "ballot_box", - "basketball_woman", - "basketball_man", - "bow_and_arrow", - "crossed_swords", - "cricket", - "ice_hockey", - "field_hockey", - "golfing_woman", - "golfing_man", - "ice_skate", - "paintbrush", - "skier", - "stadium", - "volleyball", - "person_fencing", - "goal_net", - "boxing_glove", - "martial_arts_uniform", - "women_wrestling", - "men_wrestling", - "woman_cartwheeling", - "man_cartwheeling", - "woman_playing_handball", - "man_playing_handball", - "woman_playing_water_polo", - "man_playing_water_polo", - "woman_juggling", - "man_juggling", + "sections" => [ + "person-activity", + "person-sport", + "sport", + "game", + "music", + "musical-instrument" ] }, { "name" => "travel", "fullname" => "Travel & Places", "tabicon" => "airplane", - "icons" => [ - "train", - "mountain_railway", - "railway_car", - "steam_locomotive", - "monorail", - "bullettrain_side", - "bullettrain_front", - "train2", - "metro", - "light_rail", - "station", - "tram", - "bus", - "oncoming_bus", - "trolleybus", - "minibus", - "ambulance", - "fire_engine", - "police_car", - "oncoming_police_car", - "rotating_light", - "taxi", - "oncoming_taxi", - "oncoming_automobile", - "blue_car", - "truck", - "articulated_lorry", - "tractor", - "bike", - "kick_scooter", - "motor_scooter", - "busstop", - "fuelpump", - "construction", - "vertical_traffic_light", - "traffic_light", - "rocket", - "helicopter", - "airplane", - "seat", - "anchor", - "ship", - "speedboat", - "canoe", - "aerial_tramway", - "mountain_cableway", - "suspension_railway", - "passport_control", - "customs", - "baggage_claim", - "left_luggage", - "yen", - "euro", - "pound", - "dollar", - "statue_of_liberty", - "moyai", - "foggy", - "tokyo_tower", - "fountain", - "european_castle", - "japanese_castle", - "city_sunrise", - "city_sunset", - "night_with_stars", - "bridge_at_night", - "house", - "house_with_garden", - "office", - "department_store", - "factory", - "post_office", - "european_post_office", - "hospital", - "bank", + "sections" => [ + "place-map", + "place-geographic", + "place-building", + "place-religious", + "place-other", + "transport-ground", + "transport-water", + "transport-air", "hotel", - "love_hotel", - "wedding", - "church", - "convenience_store", - "school", - "cn", - "de", - "es", - "fr", - "gb", - "it", - "jp", - "kr", - "ru", - "us", - "flight_arrival", - "flight_departure", - "small_airplane", - "beach", - "beach_umbrella", - "parasol_on_ground", - "camping", - "city_dusk", - "cityscape", - "classical_building", - "building_construction", - "passenger_ship", - "desert", - "ferry", - "hole", - "houses", - "derelict_house", - "desert_island", - "kaaba", - "world_map", - "mosque", - "motor_boat", - "motorcycle", - "motorway", - "mountain", - "mountain_snow", - "national_park", - "place_of_worship", - "racing_car", - "railway_track", - "red_car", - "sailboat", - "shinto_shrine", - "sleeping_accommodation", - "synagogue", - "rainbow_flag", - "white_flag", - "black_flag", - "flag_cn", - "flag_de", - "flag_es", - "flag_fr", - "flag_gb", - "flag_it", - "flag_jp", - "flag_kr", - "flag_ru", - "flag_us", - "afghanistan", - "aland_islands", - "albania", - "algeria", - "american_samoa", - "andorra", - "angola", - "anguilla", - "antarctica", - "antigua_barbuda", - "argentina", - "armenia", - "aruba", - "australia", - "austria", - "azerbaijan", - "bahamas", - "bahrain", - "bangladesh", - "barbados", - "belarus", - "belgium", - "belize", - "benin", - "bermuda", - "bhutan", - "bolivia", - "caribbean_netherlands", - "bosnia_herzegovina", - "botswana", - "brazil", - "british_indian_ocean_territory", - "british_virgin_islands", - "brunei", - "bulgaria", - "burkina_faso", - "burundi", - "cape_verde", - "cambodia", - "cameroon", - "canada", - "canary_islands", - "cayman_islands", - "central_african_republic", - "chad", - "chile", - "christmas_island", - "cocos_islands", - "colombia", - "comoros", - "congo_brazzaville", - "congo_kinshasa", - "cook_islands", - "costa_rica", - "croatia", - "cuba", - "curacao", - "cyprus", - "czech_republic", - "denmark", - "djibouti", - "dominica", - "dominican_republic", - "ecuador", - "egypt", - "el_salvador", - "equatorial_guinea", - "eritrea", - "estonia", - "ethiopia", - "eu", - "falkland_islands", - "faroe_islands", - "fiji", - "finland", - "french_guiana", - "french_polynesia", - "french_southern_territories", - "gabon", - "gambia", - "georgia", - "ghana", - "gibraltar", - "greece", - "greenland", - "grenada", - "guadeloupe", - "guam", - "guatemala", - "guernsey", - "guinea", - "guinea_bissau", - "guyana", - "haiti", - "honduras", - "hong_kong", - "hungary", - "iceland", - "india", - "indonesia", - "iran", - "iraq", - "ireland", - "isle_of_man", - "israel", - "cote_divoire", - "jamaica", - "jersey", - "jordan", - "kazakhstan", - "kenya", - "kiribati", - "kosovo", - "kuwait", - "kyrgyzstan", - "laos", - "latvia", - "lebanon", - "lesotho", - "liberia", - "libya", - "liechtenstein", - "lithuania", - "luxembourg", - "macau", - "macedonia", - "madagascar", - "malawi", - "malaysia", - "maldives", - "mali", - "malta", - "marshall_islands", - "martinique", - "mauritania", - "mauritius", - "mayotte", - "mexico", - "micronesia", - "moldova", - "monaco", - "mongolia", - "montenegro", - "montserrat", - "morocco", - "mozambique", - "myanmar", - "namibia", - "nauru", - "nepal", - "netherlands", - "new_caledonia", - "new_zealand", - "nicaragua", - "niger", - "nigeria", - "niue", - "norfolk_island", - "northern_mariana_islands", - "north_korea", - "norway", - "oman", - "pakistan", - "palau", - "palestinian_territories", - "panama", - "papua_new_guinea", - "paraguay", - "peru", - "philippines", - "pitcairn_islands", - "poland", - "portugal", - "puerto_rico", - "qatar", - "reunion", - "romania", - "rwanda", - "st_barthelemy", - "st_helena", - "st_kitts_nevis", - "st_lucia", - "st_pierre_miquelon", - "st_vincent_grenadines", - "samoa", - "san_marino", - "sao_tome_principe", - "saudi_arabia", - "senegal", - "serbia", - "seychelles", - "sierra_leone", - "singapore", - "sint_maarten", - "slovakia", - "slovenia", - "solomon_islands", - "somalia", - "south_africa", - "south_georgia_south_sandwich_islands", - "south_sudan", - "sri_lanka", - "sudan", - "suriname", - "swaziland", - "sweden", - "switzerland", - "syria", - "taiwan", - "tajikistan", - "tanzania", - "thailand", - "timor_leste", - "togo", - "tokelau", - "tonga", - "trinidad_tobago", - "tunisia", - "tr", - "turkmenistan", - "turks_caicos_islands", - "tuvalu", - "uganda", - "ukraine", - "united_arab_emirates", - "uk", - "us_virgin_islands", - "uruguay", - "uzbekistan", - "vanuatu", - "vatican_city", - "venezuela", - "vietnam", - "wallis_futuna", - "western_sahara", - "yemen", - "zambia", - "zimbabwe", + "flag", + "country-flag", + "subdivision-flag" ] }, { "name" => "objects", "fullname" => "Objects & Symbols", "tabicon" => "eyeglasses", - "icons" => [ - "watch", - "iphone", - "calling", - "computer", - "alarm_clock", - "hourglass_flowing_sand", - "hourglass", - "camera", - "video_camera", - "movie_camera", - "tv", - "radio", - "pager", - "telephone_receiver", - "phone", - "fax", - "minidisc", - "floppy_disk", - "cd", - "dvd", - "vhs", - "battery", - "electric_plug", - "bulb", - "flashlight", - "satellite", - "credit_card", - "money_with_wings", - "moneybag", - "gem", - "closed_umbrella", - "pouch", - "purse", - "handbag", - "briefcase", - "school_satchel", - "lipstick", - "eyeglasses", - "womans_hat", - "sandal", - "high_heel", - "boot", - "mans_shoe", - "athletic_shoe", - "bikini", - "dress", - "kimono", - "womans_clothes", - "tshirt", - "necktie", - "jeans", - "door", - "shower", - "bathtub", - "toilet", - "barber", - "syringe", - "pill", - "microscope", - "telescope", - "crystal_ball", - "wrench", - "hocho", - "nut_and_bolt", - "hammer", - "bomb", - "smoking", - "gun", - "bookmark", - "newspaper", - "key", - "email", - "envelope_with_arrow", - "incoming_envelope", - "email", - "inbox_tray", - "outbox_tray", - "package", - "postal_horn", - "postbox", - "mailbox_closed", - "mailbox", - "mailbox_with_mail", - "mailbox_with_no_mail", - "page_facing_up", - "page_with_curl", - "bookmark_tabs", - "chart_with_upwards_trend", - "chart_with_downwards_trend", - "bar_chart", - "date", - "calendar", - "low_brightness", - "high_brightness", - "scroll", - "clipboard", - "open_book", - "notebook", - "notebook_with_decorative_cover", - "ledger", - "closed_book", - "green_book", - "blue_book", - "orange_book", - "books", - "card_index", - "link", - "paperclip", - "pushpin", - "scissors", - "triangular_ruler", - "round_pushpin", - "straight_ruler", - "triangular_flag_on_post", - "file_folder", - "open_file_folder", - "black_nib", - "pencil2", - "lock_with_ink_pen", - "closed_lock_with_key", - "lock", - "unlock", - "mega", - "loudspeaker", + "sections" => [ + "clothing", + "award-medal", "sound", - "loud_sound", - "speaker", - "mute", - "zzz", - "bell", - "no_bell", - "thought_balloon", - "speech_balloon", - "children_crossing", - "mag", - "mag_right", - "no_entry_sign", - "no_entry", - "stop_sign", - "name_badge", - "no_pedestrians", - "do_not_litter", - "no_bicycles", - "non-potable_water", - "no_mobile_phones", - "underage", - "accept", - "ideograph_advantage", - "white_flower", - "wilted_flower", - "secret", - "congratulations", - "u5408", - "u6e80", - "u7981", - "u6709", - "u7121", - "u7533", - "u55b6", - "u6708", - "u5272", - "u7a7a", - "sa", - "koko", - "u6307", - "chart", - "sparkle", - "eight_spoked_asterisk", - "negative_squared_cross_mark", - "white_check_mark", - "eight_pointed_black_star", - "vibration_mode", - "mobile_phone_off", - "vs", - "a", - "b", - "ab", - "cl", - "o2", - "sos", - "parking", - "wc", - "cool", - "free", - "new", - "ng", - "ok", - "up", - "atm", - "id", - "aries", - "taurus", - "gemini", - "cancer", - "leo", - "virgo", - "libra", - "scorpius", - "sagittarius", - "capricorn", - "aquarius", - "pisces", - "ophiuchus", - "six_pointed_star", - "atom_symbol", - "latin_cross", - "orthodox_cross", - "star_and_crescent", - "om", - "star_of_david", - "wheel_of_dharma", - "yin_yang", - "menorah", - "peace_symbol", - "restroom", - "mens", - "womens", - "baby_symbol", - "wheelchair", - "potable_water", - "no_smoking", - "put_litter_in_its_place", - "arrow_forward", - "arrow_backward", - "arrow_up_small", - "arrow_down_small", - "fast_forward", - "rewind", - "arrow_double_up", - "arrow_double_down", - "arrow_right", - "arrow_left", - "arrow_up", - "arrow_down", - "arrow_upper_right", - "arrow_lower_right", - "arrow_lower_left", - "arrow_upper_left", - "arrow_up_down", - "left_right_arrow", - "arrows_counterclockwise", - "arrow_right_hook", - "leftwards_arrow_with_hook", - "arrow_heading_up", - "arrow_heading_down", - "twisted_rightwards_arrows", - "repeat", - "repeat_one", - "zero", - "one", - "two", - "three", - "four", - "five", - "six", - "seven", - "eight", - "nine", - "keycap_ten", - "asterisk", - "1234", - "hash", - "abc", - "abcd", - "capital_abcd", - "information_source", - "signal_strength", - "cinema", - "symbols", - "heavy_plus_sign", - "heavy_minus_sign", - "wavy_dash", - "heavy_division_sign", - "heavy_multiplication_x", - "heavy_check_mark", - "arrows_clockwise", - "tm", - "copyright", - "registered", - "currency_exchange", - "heavy_dollar_sign", - "curly_loop", - "loop", - "part_alternation_mark", - "exclamation", - "bangbang", - "question", - "grey_exclamation", - "grey_question", - "interrobang", - "x", - "o", - "100", - "end", - "back", - "on", - "top", - "soon", - "cyclone", - "m", - "beginner", - "trident", + "phone", + "computer", + "light_&_video", + "book-paper", + "money", + "mail", + "writing", + "office", + "lock", + "tool", + "medical", + "other-object", + "transport-sign", "warning", - "hotsprings", - "recycle", - "anger", - "diamond_shape_with_a_dot_inside", - "spades", - "clubs", - "hearts", - "diamonds", - "ballot_box_with_check", - "white_circle", - "black_circle", - "radio_button", - "red_circle", - "large_blue_circle", - "small_red_triangle", - "small_red_triangle_down", - "small_orange_diamond", - "small_blue_diamond", - "large_orange_diamond", - "large_blue_diamond", - "black_small_square", - "white_small_square", - "black_large_square", - "white_large_square", - "black_medium_square", - "white_medium_square", - "black_medium_small_square", - "white_medium_small_square", - "black_square_button", - "white_square_button", - "clock1", - "clock2", - "clock3", - "clock4", - "clock5", - "clock6", - "clock7", - "clock8", - "clock9", - "clock10", - "clock11", - "clock12", - "clock130", - "clock230", - "clock330", - "clock430", - "clock530", - "clock630", - "clock730", - "clock830", - "clock930", - "clock1030", - "clock1130", - "clock1230", - "alembic", - "amphora", - "biohazard", - "bed", - "sleeping_bed", - "bellhop_bell", - "spiral_calendar", - "camera_flash", - "candle", - "card_file_box", - "chains", - "mantelpiece_clock", - "coffin", - "clamp", - "control_knobs", - "couch_and_lamp", - "crayon", - "dagger", - "dark_sunglasses", - "desktop_computer", - "card_index_dividers", - "envelope", - "file_cabinet", - "film_strip", - "plate_with_cutlery", - "framed_picture", - "gear", - "hammer_and_pick", - "rescue_worker_helmet", - "joystick", - "old_key", - "keyboard", - "knife", - "spoon", - "label", - "level_slider", - "business_suit_levitating", - "weight_lifting_woman", - "weight_lifting_man", - "medal_sports", - "1st_place_medal", - "2nd_place_medal", - "3rd_place_medal", - "studio_microphone", - "medal_military", - "computer_mouse", - "newspaper_roll", - "spiral_notepad", - "oil_drum", - "paperclips", - "pause_button", - "record_button", - "stop_button", - "play_or_pause_button", - "next_track_button", - "previous_track_button", - "pen", - "fountain_pen", - "memo", - "pick", - "ping_pong", - "popcorn", - "prayer_beads", - "printer", - "film_projector", - "radioactive", - "reminder_ribbon", - "rosette", - "artificial_satellite", - "balance_scale", - "shamrock", - "shield", - "shopping", - "shopping_cart", - "stopwatch", - "telephone", - "thermometer", - "face_with_thermometer", - "tickets", - "timer_clock", - "hammer_and_wrench", - "trackball", - "open_umbrella", - "wastebasket", - "left_speech_bubble", + "arrow", + "religion", + "zodiac", + "av-symbol", + "other-symbol", + "keycap", + "alphanum", + "geometric", + "time" ] } ] @@ -2339,7 +964,8 @@ task "emoji:update" do emojis.each { |code, emoji| emoji[:images] = ( images[code] || {} ) } write_emojis(emojis) write_db_json(emojis) - write_groups_js_es6(emojis) + groups = generate_emoji_groups(emojis) + write_groups_js_es6(emojis, groups) puts "\r\n" $debugging_output.each { |debug| puts debug } @@ -2353,6 +979,35 @@ task "emoji:test" do Rake::Task["emoji:update"].invoke end +def generate_emoji_groups(emojis) + puts "Generating groups..." + + list = open(EMOJI_ORDERING_URL).read + doc = Nokogiri::HTML(list) + table = doc.css("table")[0] + + EMOJI_GROUPS.map do |group| + group["icons"] ||= [] + group["sections"].each do |section| + title_section = table.css("tr th a[@name='#{section}']") + emoji_list_section = title_section.first.parent.parent.next_element + emoji_list_section.css("a.plain img").each do |link| + emoji_code = link.attr("title") + .scan(/U\+(.{4,5})\b/) + .flatten + .map { |code| code.downcase.strip } + .join("_") + + if emoji = emojis[emoji_code] + group["icons"] << emoji[:name] + end + end + end + group.delete("sections") + group + end +end + def write_emojis(emojis) check_pngout @@ -2496,7 +1151,7 @@ def write_db_json(emojis) File.write(EMOJI_DB_PATH, JSON.pretty_generate(db)) end -def write_groups_js_es6(emojis) +def write_groups_js_es6(emojis, groups) puts "Writing #{EMOJI_GROUPS_PATH}..." confirm_overwrite(EMOJI_GROUPS_PATH) @@ -2507,7 +1162,7 @@ def write_groups_js_es6(emojis) // This file is generated by emoji.rake do not modify directly // note that these categories are copied from Slack -const groups = #{JSON.pretty_generate(EMOJI_GROUPS)}; +const groups = #{JSON.pretty_generate(groups)}; export default groups; TEMPLATE