Customizable emoji picker web component, based on the Unicode Emoji specification
MIT License
Bot releases are visible (Hide)
Unicode Emoji v15.1
--outer-padding
--filter-padding
--filter-gap
--filter-size
--content-scrollbar-width
--title-bar-height
--title-bar-horizontal-padding
--title-bar-font-size
--search-input-font-size
--search-input-line-height
--emoji-gap
--emoji-size
--emoji-font-size
Published by Julien-Marcou about 2 years ago
Updated to Unicode Emoji v15.0
Published by Julien-Marcou about 2 years ago
Unicode Emoji v15.0
scrollable-component
dependency to v1.2.1Published by Julien-Marcou over 2 years ago
This is a breaking change release as scrollable-component
(the component used to have a nice custom scrollbar) now targets es2022
which may not work on old browsers. But because custom scrollbars are only supported on modern browsers anyway, you should not use this component if you target old browsers.
scrollable-component
dependency to v2.0.0-next.0selectedGroup
readonly property, which gives you the current group key (e.g. search
, face-emotion
, food-drink
, ...)clearSearch()
method to clear the search input/resultsfocusHeader()
method to focus the component's headerfocusContent(skipSearchInput = false)
method to focus the component's content
skipSearchInput
is set to false
(default value), it focuses the search input when the search tab is selected, otherwise it focuses the first emojiskipSearchInput
is set to true
, it focuses the first emojiPublished by Julien-Marcou over 2 years ago
Fix setTranslation
not working when only setting the tab emojis.
So you can now do:
const emojiPicker = document.querySelector('unicode-emoji-picker');
window.customElements.whenDefined('unicode-emoji-picker').then(() => {
emojiPicker.setTranslation({
'search': {
emoji: '🔎',
},
'face-emotion': {
emoji: '😀️',
},
'food-drink': {
emoji: '🥕️',
},
'animals-nature': {
emoji: '🦜️',
},
'activities-events': {
emoji: '♟️',
},
'person-people': {
emoji: '🧍',
},
'travel-places': {
emoji: '✈️',
},
'objects': {
emoji: '👒',
},
'symbols': {
emoji: '💬️',
},
'flags': {
emoji: '🚩',
},
});
});
Published by Julien-Marcou almost 3 years ago
Updated to Unicode Emoji v14.0
Published by Julien-Marcou over 3 years ago
Fix critical issue : undefined 'version' variable
Published by Julien-Marcou over 3 years ago
Updated unicode-emoji
dependency to v2.2.1
Published by Julien-Marcou over 3 years ago
unicode-emoji
dependency to v2.2.0scrollable-component
dependency to v1.1.2Published by Julien-Marcou over 3 years ago
<unicode-emoji-picker>
unicode-emoji
dependency to v2.1.1Published by Julien-Marcou over 3 years ago
Unicode Emoji v13.1
unicode-emoji
dependency to v2.1.0scrollable-component
dependency to v1.1.1Published by Julien-Marcou over 3 years ago
Initial release