Josh Johnson
0e44a916e3
Fix constructor ( #693 )
...
* breaking test
* Remove ablity to pass multiple elements + tests
* Update readme
* Update README.md
* 🔖 Version 8.0.0
* Remove type definition hack
* Update coverage command
* Add some missing list tests
* Remove .only
* Update demo page to loop over elements
* Update constructor to set initialised flag if already active
* Make templates private
* Throw type error once if element is invalid
* Fix list children bug
* Re-add generic examples to index.html
* Housekeeping
* Use typeof instead of isType where applicable
* Remove isElement
* Add test for isIE11
2019-10-29 21:19:56 +00:00
Konstantin Vyatkin
e3cc6eaf1b
[MAJOR] Remove .ajax
and allow async function for .setChoices
( #701 )
...
* WIP: remove ajax
* copy #700
* remove ajax, add fetchChoices
* extend setChoices
* update README
2019-10-29 18:12:32 +00:00
Konstantin Vyatkin
b080bcda7d
rename addItemFilterFn ( #699 )
2019-10-29 17:29:31 +00:00
Tadeusz Wawszczak
2b8acc5f37
add clearChoices typings ( #717 )
2019-10-29 17:07:22 +00:00
Konstantin Vyatkin
9504cfcec5
[MAJOR] expose defaults
and original Template rendering functions ( #708 )
...
* expose original Template rendering functions
* add to types
* add moduleResolution
* use `defaults`
2019-10-29 15:13:00 +00:00
Konstantin Vyatkin
64407174e3
closes #587 ( #704 )
2019-10-28 19:33:27 +00:00
Konstantin Vyatkin
15d54c7d34
Remove classnames and use createElement
( #687 )
...
* enable restricted syntax in tests
* add Options to global
* crearte native elements
* remove unused helper
* fix/improve typings
* add JSDoc typings
* remove if/else
2019-10-25 15:43:28 +01:00
Konstantin Vyatkin
7887c05249
[MAJOR] use attribute hidden ( #691 )
...
* use attribute hidden
* commit something to re-run tests
2019-10-24 18:09:44 +01:00
Konstantin Vyatkin
a35c8b9009
Fixing typings (again 🤷🏼♂️ ) + test for them ( #682 )
...
* add index notation
* add types check
2019-10-24 12:02:34 +01:00
Konstantin Vyatkin
e83f40956b
fix typings ( #681 )
...
* fix typings
* allow array in constructor
2019-10-23 19:11:22 +01:00
Duane Cilliers
589578f420
Fix types on Templates interface function signatures ( #619 )
...
* Fix types on Templates interface method signatures
* Add missing type fixes
2019-10-02 09:08:34 +01:00
Dieter Luypaert
061219cb00
Add type info for choice, group, and item ( #609 )
...
Refs: 551
2019-07-03 10:43:57 +01:00
Josh Johnson
8540d5aabd
Api changes ( #515 )
...
* Combine regexFilter and addItemFilter + minor tweaks
* Update tests to accomodate fixed dropdown notice
* Remove broken `toggleDropdown` method
* Unskip dropdown interaction tests
* Remove reference to removed method
2019-02-12 18:35:46 +00:00
zackschuster
3e0246f2f2
Fix types ( #452 )
2018-10-30 08:36:52 +00:00
Josh Johnson
8a21c12482
Rename duplicateItems to duplicateItemsAllowed for clarity
2018-05-29 09:30:05 +01:00
Josh Johnson
a591c32a24
Break out public functions into more private methods + housekeeping
2018-05-23 13:09:45 +01:00
Josh Johnson
5048379e68
Rename rendering methods + createGroupsFragment test
2017-12-20 15:10:01 +00:00
Arthur Vasconcelos
4d5ab91a72
New interface for passedElement
2017-11-29 09:58:32 +00:00
Arthur Vasconcelos
06e18c528e
Fix typo
2017-11-29 09:58:32 +00:00
Arthur Vasconcelos
7f713ed8e5
Updating types
2017-11-29 09:58:32 +00:00