Skip to content

Releases: Julien-Marcou/Unicode-Emoji-Picker

v2.0.0-next.2

24 Nov 18:30
Compare
Choose a tag to compare

Updated to Unicode Emoji v16.0

v1.5.0

24 Nov 18:21
Compare
Choose a tag to compare

Updated to Unicode Emoji v16.0

v1.4.0

14 Jan 17:31
Compare
Choose a tag to compare
  • Updated to Unicode Emoji v15.1
  • Added new css variable to fully customize the component
    • --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

v2.0.0-next.1

19 Oct 17:24
Compare
Choose a tag to compare
v2.0.0-next.1 Pre-release
Pre-release

Updated to Unicode Emoji v15.0

v1.3.0

19 Oct 17:01
Compare
Choose a tag to compare
  • Updated to Unicode Emoji v15.0
  • Updated scrollable-component dependency to v1.2.1

v2.0.0-next.0

07 Jun 21:56
Compare
Choose a tag to compare
v2.0.0-next.0 Pre-release
Pre-release

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.

  • Updated scrollable-component dependency to v2.0.0-next.0
  • Added selectedGroup readonly property, which gives you the current group key (e.g. search, face-emotion, food-drink, ...)
  • Added clearSearch() method to clear the search input/results
  • Added focusHeader() method to focus the component's header
  • Added focusContent(skipSearchInput = false) method to focus the component's content
    • If skipSearchInput is set to false (default value), it focuses the search input when the search tab is selected, otherwise it focuses the first emoji
    • If skipSearchInput is set to true, it focuses the first emoji

v1.2.1

22 Feb 10:18
Compare
Choose a tag to compare

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: '🚩',
    },
  });
});

v1.2.0

28 Oct 02:23
Compare
Choose a tag to compare

Updated to Unicode Emoji v14.0

v1.1.4

11 Jul 00:38
Compare
Choose a tag to compare

Fix critical issue : undefined 'version' variable

v1.1.3

11 Jul 00:20
Compare
Choose a tag to compare

Updated unicode-emoji dependency to v2.2.1