All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
This change log adheres to keepachangelog.com.
0.18.2 2020-06-10
- Check element exists before sending it an event
0.18.1 2019-12-19
- Fix error while SSR
0.18.0 2019-08-06
- Add parent property to
DropDownOptions
to enable specifying the element to append the drop down items to - Add 'auto' placement feature
- When dropdown has scrollbar applied, scroll position will follow active item
0.17.1 - 2018-03-31
- Fix placement of dropdown menu in textarea with no line-height set.
0.17.0 - 2018-03-23
- Add hide method to textcomplete to deactivate dropdown manually
- Fix dropdown going off screen
0.16.1 - 2018-02-28
- Remove circluar dependency.
0.16.0 - 2017-12-19
- Export
Textarea
andTextcomplete
from main entry file. Now it no longer exportsTextcomplete
as default.
0.15.0 - 2017-12-14
- Add option for className of DropdownItem.
0.14.5 - 2017-12-05
- Avoid
Array#find
to support IE11.
0.14.4 - 2017-11-15
- Update undate to fix infinite loop.
0.14.3 - 2017-11-10
- Fix to make SearchResult.replace work with numeric matches. (thanks for [@mikemorton])
0.14.2 - 2017-09-25
- Deactivate dropdown if null change event is fired.
- Deactivate dropdown on enter instead of hide.
0.14.1 - 2017-09-24
- Hide dropdown on enter
0.14.0 - 2017-09-24
- Change
Editor#getBeforeCuror
return type fromstring
to?string
for better selection handling. NowTextarea
emits a change event if selection type is cursor.
- Remove
Editor#getAfterCursor
since it is not necessary.
0.13.1 - 2017-07-03
- Fix bug around revoking autocompletion. (Extract the feature as yuku-t/undate)
0.13.0 - 2017-06-27
- Enable to revoke autocompletion by ctrl-z.
0.12.1 - 2017-06-12
- Remove unused parameter.
0.12.0 - 2017-06-12
- Npm package contains .flow files.
0.11.0 - 2017-06-12
- Accept a fuction that returns match data as
match
option.
0.10.0 - 2017-06-10
Textcomplete loses a lot of weight. Now it is smaller than jquery-textcomplete! Great job, @glebm!
- Dispatch an 'input' event on the textarea element. (thanks for @glebm)
- Fix "undefined" appearing in the list. (thanks for @glebm)
0.9.1 - 2017-06-10
- Fix incorrect line height computation. (thanks for @glebm)
0.9.0 - 2017-06-08
Dropdown~Offset
must have "lineHeight" property.- Drop IE9 support. (thanks for @glebm)
- Refactor a lot to be much smaller. (thanks for @glebm)
- Rename finalize to destroy. (thanks for @glebm)
0.8.0 - 2016-04-25
- Let textarea editor deactivate a dropdown on esc key.
0.7.1 - 2016-03-30
- Use input event instead of keyup event.
- Fix a bug that a typeerror occurs on every normal keydown events.
0.7.0 - 2016-03-28
- Activate hovered dropdown item.
- Add
rotate
dropdown option.
- Deactivate an active item by
DropdownItem#activate
.
- Don't trigger textcomplete by pressing shift, ctrl, alt and command keys.
0.6.0 - 2016-03-27
- Add
id
strategy parameter.
- Use line-height package to fix a minor dropdown position problem.
0.5.1 - 2016-03-20
- Update
gh-pages
automatically when actuallymaster
branch is changed. - Make demo page possible to run on Firefox.
0.5.0 - 2016-03-14
- Divide Editor#move event into Editor#move and Editor#enter events.
- Prefer underscore over hyphen as file name.
0.4.0 - 2016-03-14
- Enable to preload third party editor classes via
Textcomplete.editors
. - Enable to select dropdown by tab key.
- Use methods instead of getter properties to define
Editor
class. - Emit a custom event on Editor#change and Editor#move event.
- Fix dropdown position when window is scrolled.
0.3.0 - 2016-03-10
- Add "Getting Started", "Development" and "Events" documents.
- Add a contributing guide.
- Add
Dropdown#el
andDropdown#getActiveItem()
to its public interface. - Add
render
,select
andselected
events toTextcomplete
. - Add
preventDefault
functionality to infinitive events. - Enable to finalize
Textcomplete
.
- Don't hide dropdown on blur event by default.
- Don't activate the first dropdown item by default.
- Emit
rendered
event whenever dropdown is rendered.
- Remove
Dropdown#length
. - Remove
Dropdown#selectActiveItem()
.
0.2.0 - 2016-02-29
- Enable to select dropdown in touch devices.
- Enable to use markdown in jsdoc.
- Add
cache
,context
strategy parameters. - Add
className
,style
,maxCount
,header
andfooter
dropdown options. - Add
show
,shown
,rendered
,hide
andhidden
events toTextcomplete
. - Support "rtl" textarea.
- Exclude src/doc from Inch CI.
0.1.2 - 2016-02-22
- Add jsdoc to
gh-pages
.
- Use separated lodash npm packages instead of whole lodash code.
0.1.1 - 2016-02-22
- This CHANGELOG file.
- Update
gh-pages
automatically whenmaster
branch is changed. - Create a corresponding GitHub release whenever a new npm package is published.
- Enable to require as a npm package.
- Don't lint js files in
dist/
,lib/
andpowered-test/
.
- Initial release.