Releases: yairEO/tagify
Releases · yairEO/tagify
v4.19.0
- improved the
users list
demo in the main demos page f7b5164 - moved last commented change
this.state.hasFocus
to 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.log
ab10852 - when calling
addEmptyTag
method, the Tagify field should be focused dc6adf4 - in case the suggestions DropDown is placed inside the
tagify.DOM.scope
node, it should not inherit itsline-height
style fd6503c dropdown.appendTarget
setting can now be a function as well, which should return a DOM node bb40af2- fixes #1286 - calling
addEmptyTag()
withdropdown.enabled: 0
setting 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
esc
key 1e081c1 - re-expose
placeCaretAfterNode
which 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
tagTextProp
and multiple whitelists scenarios 1453040 - removed a TODO comment which was already done years ago 51bb087
- #1276 - added a new setting
autoComplete.tabKey
325df3e - added
beforeKeyDown
new hook &addTagOn
setting dfd234f - fixed incorrect path d76eaf2
- fixed code comment typo 4c474ea
- improved the
events
section in the README by mentioning theoff
method 878d413
v4.18.1
- added
Caveats
section 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:updated
event b151dbe - changed the default
--tag--max-width
CSS 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
RTL
demo 4aa96cf - Added
escapeHTML
dropdown setting which optionally allows HTML to be rendered inside the value of each suggestion item 825600b - The positioning code now takes into considerations the
RTL
dropdown setting which rendered the suggestions dropdown as if it sticks to the right side of the Tagify. 8b74bcc - Added conditional class name
tagify__dropdown--RTL
to thedropdown
wrapper 576243d - added
cx
helper function for working with complex class names f0f51e9 - Added
RTL
setting description - Added
--tagify-dd-item-pad
global CSS description ed4e650 - Replaced
margins
at several places with logical margins, for RTL support - Added
--tagify-dd-max-height
as global variable for an easier control over it - AddedRTL
support for the suggestions dropdown, but it only makes sense if themax-width
of the dropdown is set tonone
or 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
v4.17.9
- added
engines
section topackage.json
file 9ad1cf6 - improved example code to initially be disabled and quickly be enabled after initialization 748c501
- fixed so
removeTags
only happens if thedelete
key was pressed and not thebackspace
key 4438723 -
- allow DELETE key before the very first tag, if it's the first node also - added a
constants
file -fixCaretBetweenTags
helper function should not change caret position if the tagify instance is not in focus 787eb49
- allow DELETE key before the very first tag, if it's the first node also - added a
- fixes #1221 - an initially disabled field should be editable once
setDisabled(false
is called 37ba312 - fixes #1231 - moved
placeCaretAfterNode
to thehelpers
file and added 2 places where a zero-width character is injected: between tags and before the first tag, only if its the first node 1d41a69 - should allow selecting dropdown values with multiple spaces in them c8b9466
- fixes #1214 - in mix-mode, the
pattern
setting represents which pattern starts a tag, but the tags themselves do not have this pattern when being edited, and so, pattern-validaiton should not occur 4a67775 - fixes #1232 -
getTagIndexByValue
should use thevalue
property of the tag's data and not assume the tag's innerText is same as the value 5c76a58 - added
pre-wrap
to the styles of the dropdown items so multiple spaces could be rendered (fixes #1224) 0e6f3de - replaced minified regex which was supposed to collapse white space between tags but also caused a bug - it removed spaced within attributes. Came up with a better solution. (fixes #1224) 97380d9
v4.17.8
- fixes #1179 - prevent loadOriginalValues() from triggering a 'change' event ca3c92e
- fixes #1166 - focus issues in firefox, when clicking the scope twice the input gets blured 3a391dc
- fixes #1192 - in select-mode it is impossoble to have a value of "0" 22c25b1
- fixes #1192 - in select-mode it is impossoble to have a value of "0" 2d3bbf6
- [chore] fixed the "advance options" example in the demo which was missing "trim: false" due to having a "space" as a defined delimiter 6df8633
- fixes #1195 - pressing ENTER key on a focused readonly tag should not go into edit-mode. Also DELETE key should not work for readonly tags. e57595f
- Fix README typo 71b8c8e
- Updated Taiwan in index.html country list 818a107
- Updated Taiwan in country list f21f505
- Removed small typo of s from e.details.value 340a508
v4.17.7
- fixes #1166 - Focus issues in firefox e164101
- fixes #1169 - Adding tags in mix-mode always puts caret at end of input 70a6596
- added test case file 4a3d2f4
- fixes #1167 - Pasted data into empty tag created via addEmptyTag automatically disappears on blur cd218d7
- fixed typo ab16fe8
- fixes #1160 - expose the
getSetTagData
method 3b2551a - fixed typos 90f74db
v4.17.6
v4.17.5
-
changes React file from
js
tojsx
5556c33 -
fixes #1155 - should again take inco consideration the dropdown might be open when the timeout fires 7f6f787
-
fixes #1154 - "isCaretAfterTag" is sometimes "true" and not an element, so make sure it's an element before continuing 6317fc7
-
mix-mode is better initialized by default with
dropdown.position
astext
903444c -
added missing argument in function's comment 1ec88c3
-
added pnpm lock file 17e2884