Skip to content

Releases: yairEO/tagify

v4.27.0

22 Jun 17:52
Compare
Choose a tag to compare
  • added a div wrapper to prevent this bug: https://stackoverflow.com/q/34354085/104380 3fdcf3b
  • bugfix - clicking the × (clear selected tag) button in select-mode, the component should not get focused 2183e29
  • added tagify-dd-text-color to Knobs in the examples html page fedea0d
  • minor refactor eb26a2f
  • added class name this.settings.classNames.dropdownItemSelected (tagify__dropdown__item--selected) for selected dropdown items bcf2c4d
  • added new CSS variable --tagify-dd-text-color
  • fixed #1350 - added CSS for suggestion items which are currently already selected (as tags). those now have a Unicode before their dropdown suggestion's text b22d6af
tagify-selected-items-checkmark.mp4
  • fixes #1353 - input should not be: autocapitalized, autocorrected & spellchecked 09a5805
  • input should not be: autocapitalized, autocorrected & spellchecked a94f033
  • fixed #1127 - updateValueByDOMTags method should not include tags which are in-transition (animated) of being removed from the DOM. 1c8d2f4

v4.26.6...v4.27.0

v4.26.6

12 Jun 13:12
Compare
Choose a tag to compare
  • chore: added a updatePlaceholderByTagsCount funciton to the advance-options demo to showcase the tagify.setPlaceholder method e633f26
  • chore: added 2 methods to the table of available tagify methods in the README: setRangeAtStartEnd & setPlaceholder 072af00
  • bugfix: when the input is changed to a valid value via code and there are no tags, so the current state is "empty", the empty class name should be removed d6ef32b
  • bugfix: adding timeout within postProcessNewTagNode method, because the tag node is yet to be injected into the DOM at this point and firing the add event callback is should not happened prior to that fc45e44
  • in select-mode do not care about includeSelectedTags when filtering the suggestions list 4edfe0c
  • if a tagTextProp is set in the settings, but for some reason a tag was added through selecting an item from the whitelist which did not have tagTextProp property, then the value should be used instead 45ddf9e
  • fixes #1351 - if a tag should be created when the setting autoComplete.rightKey is set to true then do not proceed with keydown logic within the suggestions dropdown 09b5f7c
  • CSS fix to the placeholder. text should not horizontally overflow the container and also should not be trimmed vertically (for tall glyphs) 0d621ee
  • fixes #1348 - when whitelist consists of primitives' the getSuggestionDataByNode method failed because it expected an a list consisting of Objects with a value property 65c75ea
  • fixes #1347 - React className prop should allow changing multiple classnames together 0399c04
  • Fix broken link in README d91e897

v4.26.5...v4.26.6

v4.26.5

13 May 18:05
Compare
Choose a tag to compare
  • small CSS change regarding tags' appeared line-height 2627585
  • fixes #1344 - importing the react file from ./dist should not be mapped to ./src. 0ae33a6
  • CSS - fixed placeholder transition when input has text (non-empty) meaning the placeholder should become hidden d58d6bb

v4.26.4...v4.26.5

v4.26.4

10 May 14:13
Compare
Choose a tag to compare
  • added more tests a7bef70
  • fixes #1343 - A double tag is created if a delimiter is typed in an empty input 2a18d5d

v4.26.3...v4.26.4

v4.26.3

08 May 20:47
Compare
Choose a tag to compare
  • clicking anywhere within an instance's dropdown should not hide it 2fcd364
  • add a custom property to the dropdown node so it be linked to which tagify instance it belongs to 02f251c
  • fixes a chrome bug which i've reported (https://issues.chromium.org/issues/339458174) 549c6cb
  • fixes #1341 - onEditTagFocus should be manually invokled just below editTag is called because it is coupled to it logically and many things depend on this order such as internal events attached within editTag c2893e9
  • fixes #1342 - objects where the value was non-string where not able to be added as tags 5031a2e

v4.26.2...v4.26.3

v4.26.2

06 May 12:24
Compare
Choose a tag to compare
  • added playwright test script to package.json 20968f3
  • added playwright (basic) tests fdf455d
  • should discard tags added as objects with an empty text-prop value b817d21
  • refactored the "bindOriginaInputListener" interval so it will be restarted every time Tagify gets updated so the comparison of the original value will only happen after Tagify was updated for certain 6bfe82f
  • When the trim setting is true, tags added as objects should be trimmed as well ccc142b
  • normalizeTags() method should eliminate empty array items b0f3e9c
  • added playwright for tests usage 1cc06c3
  • [bugfix] only in select-mode, when clicking anywhere in the selected tag's text, the caret should remain at the clicked location 630ad2f
  • fixes #1340 - when dropdown is shown in select-mode, clicking outside should hide it and de-focus Tagify aff9c42
  • placeCaretAfterNode(...) should not be called with in select-mode because it makes no sense then 9e3dd31
  • [chore] replaced dragsort js & css files paths from a CDN to local relative path to eliminate any server communications for testing purposes cc3d2e2

v4.26.1...v4.26.2

v4.26.1

02 May 11:40
Compare
Choose a tag to compare

v4.26.0...v4.26.1

v4.26.0

28 Apr 20:37
Compare
Choose a tag to compare
  • [bugfix] in mix-mode, when pressing the ENTER key when typing non-tag text, there should be no tag entering edit-mode and also, entering edit-mode should should be allowed when the a11y.focusableTags setting it set to true and also the currently focusable element is a tag. (fixes #1331, fixes #1329) dbd7d77
  • fixes #1328 - setReadonly method should only blur if the current active element is that specific Tagify instance. This might not work if an external button was used to trigger this method. 69eb547
  • Added gulp-nunjucks devDependencies in order to completely refactor the index.html demos page
  • Added new Gulp task for compiling the homepage index.html containing all the examples
  • Added a new Gulp task for watching & compiling all the examples, individually, so each example could be used for testing purposes eacaa77

v4.25.1...v4.26.0

v4.25.1

25 Apr 08:46
Compare
Choose a tag to compare
  • Added files from the dist folder to the exports property in package.json. Seems like recent addition of the exports property had caused issues for some users when trying to import the CSS file which was not included in the exports and so I've added all the files, just in case fa82144
  • Added missing export for css file in package.json 58eaa24
  • Update README.md top screen captures to have links c4c2013

v4.25.0...v4.25.1

v4.25.0

24 Apr 15:00
Compare
Choose a tag to compare
  • [chore[ replaced unmaintained pkg-ok pre-check lib with package-json-validator (pjv) 0833599
  • Added a link for the RTL example in the demos page for the features section in the README file 02ff494
  • Replaced demo gif in the README with an APNG recording of another, better, Tagify example 92f6434
  • [bugfix] when editing a tag, pressing backspace key should not remove any tags b059350
  • [chore] re-instated react.tagify.js file in dist folder 1a9d1ab
  • [chore] minor change in index.html demos file afba253
  • Re-instated React pre-bundling as some users have reported their bundlers cannot handle unbundled 3rd-party modules with ES6 code imports mixed with commonjs. Output file saved in: ./dist/react.tagify.jsx 80a2af8
  • fixes #1295 - when calling removeTags method when there are no tags, there should not be an error in the console due to tagElms variable equals to[undefined] and not [] 2637510
  • [bugfix] select-mode should not re-show the dropdown once an option has been selected using the keyboard 4d3edf0
  • [bugfix] select-mode should support ENTER key for deleting current tag (when X button is in focus) and also KEYDOWN should toggle the dropdown so it's visible ff37bbf
  • Refactored wrapper HTML template by extracting the input into its own template function c52c6e3
  • [feat] added keyboard ENTER support for deleting selected tag using TAB navigation when in select-mode e0c6380
  • Fixed tagify.js file-path after recent search & replace mistake a868247
  • Replaced tagify.min.js script in index.html examples page to tagify.js c1fc042
  • [bugfix] when a suggestion is selected the suggestions dropdown should refilter itself to replenish the suggestions to reach to dropdown.maxItems setting ae8185b
  • replaced all tagify.min.js scripts in the test HTML files to tagify.js b185d7c
  • added additional exports to package.json to alias the deprecated tagify.min.js path to the new file name af08d05
  • fixes #1321 - clicking selected tags toggled the dropdown. it shouldn't affect the dropdown. 7c9a8e9
  • gulpfile main file output changed from tagify.min.js to tagify.js ed900bc
  • [chore] - README: simplified the way the React port is imported (@yaireo/tagify/react) 02a59cb
  • Added exports property in package.json for easier imports for the React port and also to eliminate errors after recent breaking-changes to the react.tagify.jsx file which is not in the dist folder d12daa6
  • [bugfix] getWhitelistItem method did not take into consideration whitelist array consisting of primitives of type number 99af32b

v4.24.0...v4.25.0