From 1e3824103180b96174c4058b6f50dabf8d00c061 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 7 Dec 2024 10:42:38 -0800 Subject: [PATCH] feat: emoji v16.0 --- README.md | 2 +- bin/versionsAndTestEmoji.js | 1 + package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 633248de..6da82a55 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A lightweight emoji picker, distributed as a web component. **Features:** -- Supports [Emoji v15.1](https://emojipedia.org/emoji-15.1/) (depending on OS) and custom emoji +- Supports [Emoji v16.0](https://emojipedia.org/unicode-16.0) (depending on OS) and custom emoji - Uses IndexedDB, so it consumes [far less memory](https://nolanlawson.com/2020/06/28/introducing-emoji-picker-element-a-memory-efficient-emoji-picker-for-the-web/) than other emoji pickers - [Small bundle size](https://bundlephobia.com/result?p=emoji-picker-element) (~12.5kB min+gz) - Renders native emoji by default, with support for custom fonts diff --git a/bin/versionsAndTestEmoji.js b/bin/versionsAndTestEmoji.js index 91c9c7b4..a29ceb0b 100644 --- a/bin/versionsAndTestEmoji.js +++ b/bin/versionsAndTestEmoji.js @@ -8,6 +8,7 @@ // "face without mouth" plus "fog".) These emoji can only be filtered using the width test, // which happens in checkZwjSupport.js. export const versionsAndTestEmoji = { + '🫩': 16, // face with bags under eyes '🫨': 15.1, // shaking head, technically from v15 but see note above '🫠': 14, '🥲': 13.1, // smiling face with tear, technically from v13 but see note above diff --git a/package.json b/package.json index b7158372..5bd982ba 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "conventional-changelog-cli": "^5.0.0", "cross-env": "^7.0.3", "csso": "^5.0.5", - "emoji-picker-element-data": "^1.6.1", + "emoji-picker-element-data": "^1.7.0", "emojibase-data": "^5.1.1", "express": "^4.21.1", "fake-indexeddb": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7713bfb2..d95f98cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: ^5.0.5 version: 5.0.5 emoji-picker-element-data: - specifier: ^1.6.1 - version: 1.6.1 + specifier: ^1.7.0 + version: 1.7.0 emojibase-data: specifier: ^5.1.1 version: 5.1.1(emojibase@15.3.0) @@ -1589,8 +1589,8 @@ packages: electron-to-chromium@1.5.36: resolution: {integrity: sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==} - emoji-picker-element-data@1.6.1: - resolution: {integrity: sha512-VYXjjqWYy12/uUA3q5X6Di0zROXp8TGwPiikXkhs97n3d3q3OaRV2sxGtUUColoSMPp5lfASZB9E4W+yN40qUg==} + emoji-picker-element-data@1.7.0: + resolution: {integrity: sha512-xHdElfOSsXrj3p6+4q9n1h+EQwWvtKZmGl19stQuyGY1tVAbk7W9J6INAUSB467jaw3BFkQ4Yj/TVHCO35SlnQ==} 'emoji-picker-element@file:': resolution: {directory: '', type: directory} @@ -5706,7 +5706,7 @@ snapshots: electron-to-chromium@1.5.36: {} - emoji-picker-element-data@1.6.1: {} + emoji-picker-element-data@1.7.0: {} 'emoji-picker-element@file:': {}