This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Releases: joeattardi/picmo
Releases · joeattardi/picmo
PicMo 5.7.1
- [
@picmo/popup-picker
] Fixed incorrect scroll position when reopening popup under certain conditions.
PicMo 5.7.0
- [
@picmo/popup-picker
] Added a newonPositionLost
option to configure the behavior of the popup if the reference element is lost.
PicMo 5.6.1
- Fixed some invalid CSS properties.
- [
@picmo
] Click event propagation is stopped when selecting an emoji. This fixes an issue where the picker would close a popup when selecting an emoji from the recents category, ifhideOnEmojiSelect
is set tofalse
. - [
@picmo/popup-picker
] Fixed positioning/focus issues when opening a popup. - [
@picmo/popup-picker
] Fixed animation order to prevent an incorrectly positioned picker from appearing momentarily before "jumping" to the final location and animating. - [
@picmo/popup-picker
] Fixed type ofoptions
parameter on thetoggle
method to be optional as documented.
PicMo 5.6.0
- [
picmo
] Added ability to update certain picker options after creation. - [
picmo
] Improved layout of category tabs when picker is very narrow or very wide. - [
@picmo/popup-picker
] Added ability to specify new reference and trigger elements when opening the picker.
PicMo 5.5.2
- Fixed
process.env
appearing in build output.
PicMo 5.5.1
- Fixed issues with UMD build (however, different URL patterns are now required)
- Fixed bundling issue where core
picmo
packages was bundled with all add-on packages - [
@picmo/popup-picker
] Fixed an issue where the variant popup would not be reset when closing the picker
PicMo 5.5.0
** Note: This release has a few issues with the UMD and dependency bundling, it should be avoided; use 5.5.1 or newer instead.
- Major CSS refactoring that will allow for easier style overrides when needed. Class names are no longer scoped with random prefixes for easier customization.
- [
picmo
] Added a newauto
autofocus option that will choose a target based on available elements. - [
picmo
] Added a global configuration store with aninjectStyles
option to control automatic CSS injection. - [
picmo
] Fixed invalid scrollbar CSS properties. - [
@picmo/popup-picker
] Added type="button" to the popup close button to prevent accidental form submission. - [
@picmo/popup-picker
] Focus is returned to the trigger when closing only when pressing Escape or selecting an emoji
PicMo 5.4.2
- [
picmo
] Removed inline style from SVG icons that was causing Content-Security-Policy problems (#224)
PicMo 5.4.1
- [
picmo
] Fixed an issue where the initial category button would steal the focus on creation in an inline picker. - [
picmo
] Fixed default options processing so that aLocalStorageProvider
isn't instantiated immediately upon importing PicMo; this was causing errors in environments like Next.js wherelocalStorage
is not available. NowlocalStorage
is only referenced when callingcreatePicker
.
PIcMo 5.4.0
- [
picmo
] Added newautoFocus
option to better control autofocus behavior (or disable it entirely). - [
picmo
] Deprecated theautoFocusSearch
option in favor ofautoFocus
. - [
@picmo/popup-picker
] Upgraded to use the floating-ui library (successor to Popper.js). - [
@picmo/renderer-twemoji
] Made SVG containerdisplay: none
to fix popup positioning issues.