Commit Graph

1070 Commits

Author SHA1 Message Date
Egon Richárd Tőrös 0cbf951845 Merge branch 'develop' of https://github.com/jshjohnson/Choices into develop 2018-05-28 16:13:55 +02:00
Josh Johnson 39beb20245 Remove pointless comments + minor tidying 2018-05-28 14:18:44 +01:00
Josh Johnson 804a4a442b Move scrolling logic into list component 2018-05-28 14:09:11 +01:00
Josh Johnson f9455b1a25 Install prettier + resolve linting issues 2018-05-28 13:55:44 +01:00
Josh Johnson a6bfdc0993 Refactor _scrollToChoice 2018-05-27 17:34:16 +01:00
Josh Johnson 1df8d81ae4 Refactor _canAddItem 2018-05-27 17:22:58 +01:00
Josh Johnson ba67ff4a4d Remove old dependencies 2018-05-27 17:13:29 +01:00
Josh Johnson 9219552ce3 Remove cypress 2018-05-27 17:08:50 +01:00
Josh Johnson a63fae8f5b Serve bundle from memory when devving 2018-05-27 13:35:37 +01:00
Josh Johnson 9a9e7f7b25 Restructure style folders 2018-05-27 12:04:42 +01:00
Josh Johnson 257a038262 Use express for development + folder restructuring 2018-05-27 11:57:21 +01:00
Josh Johnson 9f8dfb19ec Build into public folder 2018-05-25 16:51:21 +01:00
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
Philipp Eichhorn 8ab0387857 perf: removed forced reflow ("layout thrashing") by reading testEl.offsetWidth in a separate animation frame 2018-05-22 15:19:00 +02:00
Philipp Eichhorn 92e968462c perf: removed forced reflow ("layout thrashing") by executing choiceList.scrollTo(0) in a separate animation frame 2018-05-22 13:46:24 +02:00
Josh Johnson d3a18e255b Destructure class args 2018-05-21 17:01:03 +01:00
Egon Richárd Tőrös ec061adc7c Merge branch 'develop' of https://github.com/jshjohnson/Choices into develop 2018-05-10 14:42:53 +02: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
c5254061 c2fccdc398 Fix xss vulnerability(escape html in item label) 2018-04-18 11:05:21 +03:00
c5254061 d15ab02db8 Merge branch 'develop' of https://github.com/jshjohnson/Choices into develop 2018-04-18 10:50:44 +03: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
c5254061 e46ae74209 Fix xss vulnerability(escape html in input) 2018-03-23 18:51:50 +03:00
Egon Richárd Tőrös 00ac0d879e 🔥 Typo 2018-03-19 11:48:29 +01:00
Egon Richárd Tőrös e60be87a94 🚑 Add example 2018-03-19 11:46:28 +01:00
Egon Richárd Tőrös 3019d96ad9 💄 Code formatting 2018-03-12 21:44:55 +01:00
Egon Richárd Tőrös 4f5711c7e3 💄 Build Javascript 2018-03-12 21:43:43 +01:00
Egon Richárd Tőrös 8a586fc32a Ajax - fetch properties from object 2018-03-12 21:42:13 +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