This repository was archived by the owner on Sep 26, 2023. It is now read-only.
PicMo 5.0.0- 2022-05-15 #197
joeattardi
announced in
Announcements
Replies: 1 comment
|
Congrats! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First PicMo release (previously Emoji Button).
@joeattardi/emoji-buttonpackage split into three packages:picmo- The main emoji picker package, can be used to create inline emoji pickers.@picmo/popup-picker- The popup picker package, can be used to create popup emoji pickers. Requirespicmoas a peer dependency.@picmo/renderer-twemoji- The Twemoji renderer. Requirespicmoas a peer dependency.Added
data:readyevent signals when the database is initialized and ready to use.createDatabase: Creates an emoji database ahead of time. This is not required as the picker will initialize the database if one doesn't exist.deleteDatabase: Deletes an emoji databasedeleteRecents: Deletes the recent emojis from local storagepicker:open) and closed (picker:close).Picker options
classNamefor applying custom theme styling.initialEmojifor initial emoji selection.localefor emoji data locale.messagesfor emojibase-data message data.rendererfor specifying emoji rendererPopup options
hideOnClickOutsideto control whether or not the picker should close when clicking outside of it.hideOnEscapeto control whether or not the picker should close when pressing the escape key.showCloseButtonto control whether or not the close button should be shown.triggerElementto denote the element that should trigger the popup.Changed
picmopackage only creates inline pickers. Popup pickers are created withcreatePopupfrom the@picmo/popup-pickerpackage instead ofcreatePickerfrom the main package. This function accepts the same options as the main package for the picker itself, and accepts an additional object with popup specific options.from the
emoji-datanpm package or can be downloaded from a CDN at runtime.@picmo/popup-pickerpackage.@picmo/twemojipackage.emojievent changed toemoji:select.{ data, emoji, hexcode, url, label }.hiddenevent changed to toemoji:hidein@picmo/popup-picker.svg(the default) orpng..addEventListenerinstead of.on.Picker options
showAnimationchanged toanimate.customformat changed.{ name, emoji }{ data, emoji, label, tags, url }emojiVersionis now a number or the stringauthfor automatic detection.recentsCountchanged tomaxRecents.showCategoryButtonschanged toshowCategoryTabs.rowschanged tovisibleRows.Popup options
autoHidechanged tohideOnEmojiSelect.Removed
Picker options
iconsremoved.pluginsremoved.twemojiOptionsremoved (now controlled by@picmo/renderer-twemojipackage).styleOptionsremoved (now controlled by CSS variables in CSS class specified by theclassNameoption).This discussion was created from the release PicMo 5.0.0- 2022-05-15.
All reactions