Skip to content

Releases: yairEO/tagify

v4.37.1

19 Apr 06:23

Choose a tag to compare

  • fix(tagify): preserve dropdown.enabled; no reposition while dropdown visible 9f3c338
  • bugfix - when moving the input field to be anywhere other than at the end (after the last tag or when there aren't any tags) then hide the placeholder and minimize the width of the input element 0adad21
  • Update README with single-row tags example 3d7cfc5

v4.37.0...v4.37.1

v4.37.0

03 Apr 18:23

Choose a tag to compare

  • Added Cursor IDE "command" files 8a71f2b
  • docs(readme): document caret-between-tags, build tooling, and related API 93369d5
  • fixes #1489 - improved the "Backspace" event listener callback to consider the input element might be anywhere between tags and not only as the last element, and so the previous tag to it should be removed and not simply the last tag, as was until now 7a0ca0d
  • fixes #1489 - add support for moving the input field before/after tags to reposition it and be able to insert new tags in between existing ones 19677af
  • Added Cursor IDE "command" files 292a535
  • chore(package): require Node 22 and pnpm 10; bump dev tooling 6bfc4e1
  • Bump rollup from 2.79.2 to 2.80.0 e3ad3ad
  • changed mixumum to maximum e7d59c5
adding.tags.in-between.mp4

v4.36.0...v4.37.0

v4.36.0

17 Jan 19:13

Choose a tag to compare

  • README typos fixes 2bb3f89
  • updated basic example to showcase content HTML escaping 1d488c7
  • fixes #1411 - Fix XSS vulnerability in tag content rendering 097451e
  • Refactor code formatting in index.html to improve readability and consistency; update class attributes for syntax highlighting and escape HTML entities in JavaScript snippets. bb0a7f1
  • Update Prism.js and CSS theme versions; adjust code block formatting in section.njk to escape injected JS content so strings won't suddenly become HTML tags. this also solves #1439 611cda3
  • Add watchHomepage task to gulpfile for monitoring homepage changes b2b46bb
  • updated packages & browserlist 1de456e
  • fixes #1486 - Mix mode: allow pasted content to be converted into a tags (if exists in the whitelist) 733bb7d
  • fixes #1482 - Backspace key does not remove tag in mix-mode 679cec1
  • added .cursor files bb17daf
  • added to gitignore e2a7451
  • CSS: Correct capitalization of translateX 5a65c20
  • Update README.md f5f0006
  • Improved implementation of a11y.inputAriaLabel 9ba7fe4
  • Implemented improvements 4f468d5
  • Add new label setting for accessibility d041b5f

v4.35.6...v4.36.0

v4.35.6

15 Nov 16:37

Choose a tag to compare

  • fixes #1480 - Tab key does not change focus when there is nothing to add 43545b0
  • fixes #1478 - should not fire "remove" event on initialization c0516e4
  • Refactor injectAtCaret and appendMixTags methods da01636
  • Remove debug log from events.js 2af8763

v4.35.5...v4.35.6

v4.35.5

02 Nov 07:22

Choose a tag to compare

  • fixes #1476 - added "min-height" for the input element, which is relative to the (inherited) line-height. 05a8920
  • fixes #1475 - Pressing Tab enters tag correctly but tagify input loses focus 224be27

v4.35.4...v4.35.5

v4.35.4

28 Aug 09:47

Choose a tag to compare

  • fixes #1480 - prevent new line creation when a tag is added in the events handler b0e38e1
  • fixes #1469 - "add" event not fired in mix-mode 8a9d01c
  • fixes #1470 - removed wrongly documented function which does not exists 661b768

v4.35.3...v4.35.4

v4.35.3

21 Jul 17:07

Choose a tag to compare

  • fixes #1465 - originalInputValueObserverInterval reading should be safer using this.listeners?.main?.originalInputValueObserverInterval 6d95cd3
  • fixes #1466 - injectAtCaret should be protected against injections outside the current tagify instance abc647e

v4.35.2...v4.35.3

v4.35.2

12 Jul 13:13

Choose a tag to compare

  • fixes #1458 - fix press enter to break line before a tag in mixed mode 4a0fb41
  • minor improv 9a661c7
  • fixes #1454 - setting readonly to false (when initially was true) does not re-bind events 213853d
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified dadc927
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified 80c0cd7
  • refactor: update update method to accept a callback and added a call to tgigger the 'remove' event when removeAllTags is called ccb350f
  • moved UPDATE_DELAY to the constants file and trigger 'remove' event in removeAllTags db48a47

v4.35.1...v4.35.2

v4.35.1

08 May 10:26

Choose a tag to compare

  • Fix "TypeError: Cannot destructure property 'added' of 'compareStrings(...)' as it is undefined." bug eef4bac

v4.35.0...v4.35.1

v4.35.0

23 Apr 13:42

Choose a tag to compare

  • refactor: simplify isNodeTag function for improved readability 5f1c50d
  • fixed readonly & disabled so it is now impossible to interact with the Tagify component when these states are set. It was previously possible to edit things when tabbing "into" them 704b3b7
  • refactor: remove unnecessary data-can-editable attribute from tag template 1290dee
  • undid last change. the user should control this from the outside. fbd51e6
  • fix: if userInput is false, only set dropdown.enabled = 0 if dropdown.enabled setting was not intentionally set to false/null/undefined, which indicates the user does not want to show it no matter what 4fb2331
  • refactor: update contenteditable attributes to use data-can-editable so "setContentEditable" method could work properly regardless of the contenteditable attribute existance ced5432
  • disabled tagify with a placeholder should still show the placeholder text, but only if there are no tags c69ec4d

v4.34.0...v4.35.0