Commit graph

847 commits

Author SHA1 Message Date
Josh Johnson 831a79ea44 Move public assets into public foldeR 2018-05-25 14:00:27 +01:00
Josh Johnson 9eb69a03b1 Init cypress 2018-05-25 13:16:37 +01:00
Josh Johnson 8f67de4844 Make event handlers private 2018-05-25 09:22:14 +01:00
Josh Johnson b3956db628 Export components from index file 2018-05-25 09:01:55 +01:00
Josh Johnson 579138f756 Remove unused utils 2018-05-25 08:58:07 +01:00
Josh Johnson 478df0fac1 Minor tweaks 2018-05-25 08:53:58 +01:00
Josh Johnson 25309c91fc Use dep for event polyfill 2018-05-25 08:53:50 +01:00
Josh Johnson 1608d815e9 Use core js for polyfills 2018-05-25 08:44:54 +01:00
Josh Johnson 62389ff744 More private variables 2018-05-24 09:22:07 +01:00
Josh Johnson 109a232171 Minor variable name change 2018-05-23 14:43:52 +01:00
Josh Johnson a591c32a24 Break out public functions into more private methods + housekeeping 2018-05-23 13:09:45 +01:00
Josh Johnson d3a18e255b Destructure class args 2018-05-21 17:01:03 +01:00
Josh Johnson b3108835bb Use babel env config 2018-04-25 09:20:59 +01:00
Josh Johnson 18456153ff Remove redundant super calls 2018-04-25 09:16:02 +01:00
Josh Johnson 85c0a488cd
Add template tests (#387)
* Begun template tests

* Further tests

* Add further tests
2018-04-24 15:13:13 +01:00
Josh Johnson bf1eb3b8ac Seperate out element creation logic 2018-04-24 13:57:31 +01:00
Josh Johnson 54b8935aee Clearer store naming conventions 2018-04-24 13:52:13 +01:00
Josh Johnson f02abdaacf Final few store getters 2018-04-24 13:49:57 +01:00
Josh Johnson 80f4d929ac Further getters 2018-04-24 13:23:26 +01:00
Josh Johnson 152b740670 Use getters and setters appropriately 2018-04-24 12:54:45 +01:00
Andy Nutt 275295adc5 Remove inline styling (#306)
* Remove inline styling (#279)

- Remove the JS styling to prevent CSP violations.
- Add "display: none;" CSS rule for the default class "is-hidden".

* Increase the specificity of the hidden class (#279)

* Include "is-hidden" class in utils section of base style sheet (#279)

* Add top level selector for hiding Choices inputs (#279)
2018-03-27 15:02:19 +01:00
Josh Johnson 82c389bc56
Install husky (#373)
* Add prepush hook and install husky
2018-03-27 10:48:01 +01:00
c5254061 38cf04b0d8 Fix xss vulnerability(escape html in input) 2018-03-25 20:26:47 +01:00
Waltton Morais b49980d169 Replace hardcoded color for input with $choices-bg-color variable 2018-03-09 09:07:15 +00:00
Bart Langedijk 2514cbcd51 Update README.md 2018-03-08 12:33:54 +00:00
Bart Langedijk e5a3b0e308 Update of build files 2018-03-08 12:33:54 +00:00
Bart Langedijk 3cb2a897fa ESLint fix 2018-03-08 12:33:54 +00:00
Bart Langedijk 56c4888aea Add custom properties to 'addItem' event 2018-03-08 12:33:54 +00:00
= 6276d17a2a Resolving the issue 342: we can't select an empty empty string or 0 as value. EDIT 2. 2018-03-08 09:23:25 +00:00
= a2a9953b1b Resolving the issue 342: we can't select an empty empty string or 0 as value. EDIT. 2018-03-08 09:23:25 +00:00
= 1d9fd326f0 Resolving the issue 342: we can't select an empty empty string or 0 as value 2018-03-08 09:23:25 +00:00
Travis Tidwell 1e6ae4e3f9 Add ability to configure the item comparer function. 2018-02-02 10:28:44 +00: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 9c9a4c115a Add further component tests 2017-12-19 13:08:57 +00:00
Josh Johnson 905f31abf1 Merge remote-tracking branch 'origin/develop' into develop 2017-12-19 12:19:57 +00:00
Josh Johnson afd5935866 Setup rendering test 2017-12-19 12:19:54 +00:00
Josh Johnson e3aa6e723e Rename sortFilter to sortFn 2017-12-19 12:19:43 +00:00
Josh Johnson f54a81f7f4 Resolve janky scrolling 2017-12-18 12:17:35 +00:00
Josh Johnson 9777287b92 Ensure destroying instance reinstates options + tests 2017-12-18 12:06:38 +00:00
Josh Johnson beeeeb87ad Move wrapping into container class 2017-12-11 14:40:38 +00:00
Josh Johnson 6130ee00d5 Enable/disable tests 2017-12-10 18:13:13 +00:00
Josh Johnson e79699facd More coverage 2017-12-10 18:00:57 +00:00
Josh Johnson 43417510cd Various unit test improvements + focus flipping 2017-12-10 16:41:39 +00:00
Josh Johnson e9469816d5 Update example 2017-12-08 15:14:38 +00:00
Josh Johnson 053ec770d3 Remove border-radius from button 2017-12-06 16:16:00 +00:00
Josh Johnson d97857e013 Merge remote-tracking branch 'origin/develop' into develop 2017-12-06 16:13:15 +00:00
Josh Johnson a5befca2fe Resolve item rendering bug 2017-12-06 16:12:53 +00:00
Josh Johnson f3ab15a53c Merge remote-tracking branch 'origin' into develop 2017-12-06 15:43:56 +00:00
George Brook 622d658f6b Update choices.css 2017-12-05 13:55:36 +00:00