Commit Graph

10 Commits

Author SHA1 Message Date
Konstantin Vyatkin 034191c78a use CSS queries (#718)
* use matchMedia

* use last-of-type

* better type check

* simplify distanceFromTopWindow

* use visibility

* update JSDoc
2019-10-30 17:28:15 +00:00
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 99f945bc03 raf is supported natively by JSDOM (#706) 2019-10-27 20:18:59 +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
Josh Johnson 9a14daedc3 Tweak version script to update to current npm version 2018-10-28 09:59:30 +00:00
Josh Johnson f286dbc653 Add util tests 2018-05-28 17:56:36 +01:00
Josh Johnson 5048379e68 Rename rendering methods + createGroupsFragment test 2017-12-20 15:10:01 +00:00
Josh Johnson a5277a49e7 Wrapped select tests + minor refactors 2017-12-20 12:38:16 +00:00
Josh Johnson 098f71172d Fix further tests 2017-09-29 13:26:47 +01:00
Josh Johnson 241c9e5dcc Begun mocha/chai setup 2017-08-29 13:04:51 +01:00