Rework EmojiIndex class to be both source of data for picker components and for the search component (before there was similar NimbleEmojiIndex, but it was used only by search - so we had to go through the raw emojis data twice).
Now the EmojiIndex can also be used globally and shared between many picker instances (if there is more that one picker on the page).
The properties, related to emoji data are moved from the picker to EmojiIndex parameters: include, exclude, custom, recent, emojisToShowFiler.
Added recentLength parameter to control how many recent icons to display (before it was hard-coded to perLine * 4).
Rework EmojiIndex class to be both source of data for picker components and for the search component (before there was similar NimbleEmojiIndex, but it was used only by search - so we had to go through the raw emojis data twice).
Now the
EmojiIndex
can also be used globally and shared between many picker instances (if there is more that one picker on the page).The properties, related to emoji data are moved from the picker to EmojiIndex parameters: include, exclude, custom, recent, emojisToShowFiler.
Added recentLength parameter to control how many recent icons to display (before it was hard-coded to perLine * 4).