Releases: yairEO/tagify
Releases 路 yairEO/tagify
Release list
v4.21.2
- fixes #1303 - setting
skipInvalidtotrueandenforceWhitelistalso totrueshould not skip the adding logic if input is invalid and 5d58fbf - added
Tagify.logger.enabled = true;to all test files and main demos page 3bc3361 - fixes #1295 - added
Tagify.loggerstatic method to the constructor (disabled by default) and routed allconsole.warnstatements in the code to it. 8c65593
v4.21.1
v4.21.0
prepareNewTagNodemethod should return the modifiedtagDatawhich includes the__isValidproperty 80b348d- [refactor] moved suggestions-related methods outside of
dropdown.jsinto a new file:suggestions.jsfor seperation between the dropdown which is just a container and the actual suggestions and their logic code c29dbad - fixed banner issues 6021a7d
- added a README section for the bundle's output files 7a4eb91
- refactored similar user-input-to-tag preparation logic into a new method
prepareNewTagNodewhich is called byaddTags,addMixedTags&prefixedTextToTag2c12c02 - decided it's better to have the
dropdown.highlightFirstsetting set totrueby default e5ffe6d selectOptiondropdown method should notreturnon mix-mode whenthis.DOM.input.parentNodedoes not exists 57cb194- [Chore] Added javascript sourcemaps support which required replacing
rollup-plugin-bannerwithrollup-plugin-banner2which does supports sourcemaps. Also fixed the banner comment which seems to have not been correct for a long time ef50d7e
v4.20.0
- Fixed numbers-only whilelist not showing with
userInput:falsesetting 96f96ee - Added
pasteevent listener 90cc5f7 - The global
onClickAnywhereevent should be of typecaptureto guarantee it will fire before any other event so not to messstate.hasFocus(related to #1282) 7e5409c - The global
onClickAnywhereevent should be of typecaptureto guarantee it will fire before any other event so not to messstate.hasFocus(related to #1282) b2d7c1a - Fixes #1219 - Tagify within a
<label>element can't get focused as the focus it shifted to the hidden original field 859fca4 select-mode can only have one tag, so replaced blockmargin(up/down) with padding so the tag will occuy the whole space of the container and have a larger clicking area edd8378- Prevented
dblclickevent from being listened to inselectmode, since there is no need for it. - In `select mode, clicking on the icon which toggles the dropdown should toggle it when it is already open. refactored that part. 6329b43
- Remove console.log call 9369b86
v4.19.1
- fixes #1288 - when editing a tag and hitting TAB or ENTER key to apply the change, it won't do anything since the tag was never blurred. Also decreased the
EDITED_TAG_BLUR_DELAYto0for better responsiveness 7c63fec - fixes an issue where a tag is edited to have no textual value and then blured - and is expected to be removed (by default) 5d21ba2
v4.19.0
- improved the
users listdemo in the main demos page f7b5164 - moved last commented change
this.state.hasFocusto a better location in the code 2fa118c - improved README with a better "basic example" section c6abe27
- re-made how "select" mode works so instead of the input being editable, the actual tag is now visible and goes into edit-mode and the input is hidden bacaeb0
- removed a
console.logab10852 - when calling
addEmptyTagmethod, the Tagify field should be focused dc6adf4 - in case the suggestions DropDown is placed inside the
tagify.DOM.scopenode, it should not inherit itsline-heightstyle fd6503c dropdown.appendTargetsetting can now be a function as well, which should return a DOM node bb40af2- fixes #1286 - calling
addEmptyTag()withdropdown.enabled: 0setting should create an empty tag with a dropdown of suggestions c86a231
v4.18.3
- Merge branch 'master' of https://github.com/yairEO/tagify c048e48
- minor refactor to the "customLook" example code in the demos page b56b47b
- Don't hide dropdown during whitelist fetch. 9756cee
- fixes #1282 - Empty (no value) edited tag is not removed when pressing
esckey 1e081c1 - re-expose
placeCaretAfterNodewhich was left out after past refactoing. devs should have access to this method. acdb87f - Stop logging input keystrokes. 7d5bc48
- docs: fix example typo ab1c2ef
v4.18.2
- fixes #1251 - Enter key does not create tag when dropdown.position is set to "manual" 3e10b2b
- fixes #1277 - Delimiter 'spacebar'-key doesn't work correctly - tag is added only after another text input is performed af15966
- fixed an issue with
tagTextPropand multiple whitelists scenarios 1453040 - removed a TODO comment which was already done years ago 51bb087
- #1276 - added a new setting
autoComplete.tabKey325df3e - added
beforeKeyDownnew hook &addTagOnsetting dfd234f - fixed incorrect path d76eaf2
- fixed code comment typo 4c474ea
- improved the
eventssection in the README by mentioning theoffmethod 878d413
v4.18.1
- added
Caveatssection to the README d57a915 - fixes #1266 - Pasting text not showing suggestion list ef39d66
- fixed pasting content in "normal" mode, which was pasting and unable to do "setRangeAtStartEnd" as the second parameter (node) was not a node but just text d8219bc
- fixes #1268 - transformTag is not called before a tag is edited by selecting a dropdown suggestion 5f48853
- fixes #1272 - Different order of callbacks betwen desktop & mobile for
edit:updatedevent b151dbe - changed the default
--tag--max-widthCSS variable in the main demo page to100%(fromauto) a337f2c - fixes #1257 - tag with text content (without spaces so it won't break into a new line) should be truncated correctly, occupying all the available width of the Tagify field 7b195e5
v4.18.0
- Added
RTLdemo 4aa96cf - Added
escapeHTMLdropdown setting which optionally allows HTML to be rendered inside the value of each suggestion item 825600b - The positioning code now takes into considerations the
RTLdropdown setting which rendered the suggestions dropdown as if it sticks to the right side of the Tagify. 8b74bcc - Added conditional class name
tagify__dropdown--RTLto thedropdownwrapper 576243d - added
cxhelper function for working with complex class names f0f51e9 - Added
RTLsetting description - Added
--tagify-dd-item-padglobal CSS description ed4e650 - Replaced
marginsat several places with logical margins, for RTL support - Added
--tagify-dd-max-heightas global variable for an easier control over it - AddedRTLsupport for the suggestions dropdown, but it only makes sense if themax-widthof the dropdown is set tononeor any other value greater than the Tagify width f2331be - Re-instated minification for the jQuery-wrapper output file 19f3844
- Random minor CSS refactor cef19c2
- Comment rephrasing dfab68d